Location: PHPKode > projects > Phpress > phpress/block_detail.php
<?
/*
    Copyright (C)2004-2007  Matthieu Perez - hide@address.com

    This file is part of PhPress.

    PhPress is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    PhPress is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with PhPress.  If not, see <http://www.gnu.org/licenses/>.
*/
////////////////////
//art_detail.php
require 'program/common/constantes.php' ;
require LANG_PATH . $lang ."/msg.php";
require PROG_COM_PATH .'functions_mysql.php';
require PROG_COM_PATH . 'functions_common.php';
require 'program/html/default.css';

// requête sql pour avoir les données de l'article :
require PROG_COM_PATH .'get_art_data.php';

//print 'block_detail.php<hr>';

print '
<table width="100%" cellspacing="0" cellpadding="0">
<!--<tr><td>Art. <blue>'.$article_id.'</blue></td></tr>-->';
////////////////////////////////////////////////////
//
// on va inclure les fichiers correspondant au traitement des éléments de détail de 
// l'analyse : les tables "Motive", "Event", "Thema", "End" ; les fichiers sont les 
// fichiers program/analysis/dtl_xx.php
//
/////////////////////////////
// détail de l'événement :
print '<tr><td>';
require PROG_ANA_PATH . 'dtl_event.php' ;
//
// raison de l'evenement :
print '</td></tr>
<tr><td>';
require PROG_ANA_PATH . 'dtl_motiv.php' ;
//
// la fin de l'article :
print '</td></tr>
<tr><td>';
require PROG_ANA_PATH . 'dtl_end.php' ;
//
// thematique
print '</td></tr>
<tr><td>';
require PROG_ANA_PATH . 'dtl_thema.php' ;
//
// geo
print '</td></tr>
<tr><td>';
require PROG_ANA_PATH .'dtl_geo.php';
// dossier
print '</td></tr>
<tr><td><hr></td></tr>
<tr><td>';
require PROG_ANA_PATH .'dtl_dossier.php';
print '</td></tr>
<tr><td><hr></td></tr>
<tr><td>';
require PROG_ANA_PATH .'dtl_affaire.php';
print '</td></tr>
<tr><td><hr></td></tr>
</table>';
////////////////////////////////////////////////////
//print '<hr>';
print '
<table width="100%">
<tr>   
<FORM method="POST" name="detail_form" target="_SELF" action="block_detail.php">
<INPUT type="hidden" name="article_id" value="'.$article_id.'">
<td width="50%">
<INPUT type="submit" name="detail" value="'.TXT_RELOAD.'" '.LARGE_BLACK_BOX.' >
</td>
</FORM>
<FORM method="POST" target="_SELF" action="blockplus.php">
<td width="50%">
<INPUT type="submit" name="detail" value="'.TXT_BACK.'" '.LARGE_BLACK_BOX.' >
</td>
</FORM>
</tr>
</table>'; 
// end.

?>
Return current item: Phpress