Source for file det.php
Documentation is available at det.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
//////////// Check Inclusion de pages ////////////
include_once("../lib/lib_common.php");
if(isset ($_POST['id'])) $id= $_POST['id'];
if(isset ($_GET['id'])) $id= $_GET['id'];
$result= $sql_object->DBSelect($req_det);
$current_title= $result[0]['scale_denomination'];
$root_id= $result[0]['scale_root'];
$current_dep= $result[0]['scale_dependencies'];
$display_root= formatText($result[0]['scale_denomination_root'], '2HTML');
$display_surface= $result[0]['scale_surface'];
$display_inhabitantsnumber= $result[0]['scale_inhabitantsnumber'];
$display_last_modify= $result[0]['scale_last_modify'];
$display_date_crea= $result[0]['scale_date_crea'];
$link_det= $rub_link. "&todo=det&id=";
$link_sup= $rub_link. "&todo=sup&id=";
$link_mod= $rub_link. "&todo=mod&id=";
<li><a href="index.php" class="chemin_home"> <?php echo _t('way','home') ?></a>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>"
class="chemin_rub"> <?php echo _t('menu','scale')?></a></li>
<li><span> <?php echo formatnavTitle(_t('scale','det') . ' : '. $current_title); ?></span>
include_once(THEME_ADMIN_PATH. "quickicons.php");
<div class="contentcontainer"> <?php
include_once($dir. "/menurub.php");
if ($root_id<> 0) echo "<a href=\"". $link_sup. $id. "\" title=\"". _t('scale','sup'). "\" class=\"ico_sup2\"></a>";
echo "<a href=\"". $link_mod. $id. "\" title=\"". _t('scale','mod'). "\" class=\"ico_mod2\"></a>";
<dt> <?php echo _t('scale','root'); ?> :</dt>
<dd> <?php echo "<a href=\"". $link_det. $root_id. "\">". $display_root. "</a>"; ?></dd>
<dt> <?php echo _t('scale','surface'); ?> ( <?php echo SURFACE_UNIT; ?>)
<dd> <?php echo $display_surface ?></dd>
<dt> <?php echo _t('scale','population'); ?> :</dt>
<dd> <?php echo $display_inhabitantsnumber; ?></dd>
<dt> <?php echo _t('scale','comment'); ?> :</dt>
<dd> <?php echo $display_comment;?></dd>
<dt> <?php echo _t('divers','last_modify'); ?> :</dt>
<dd> <?php echo $display_last_modify; ?></dd>
<dt> <?php echo _t('divers','date_crea'); ?> :</dt>
<dd> <?php echo $display_date_crea ; ?></dd>
<?php /*<dt><?php echo _t('divers','statut'); ?> :</dt>
<dd><?php echo $display_status;?></dd> */ ?>
<?php include_once($dir. "/help.php"); ?></div>
|