Source for file list.php
Documentation is available at list.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");
$current_title= $GLOBALS['lang']['scale']['list'];
$result= $sql_object->DBSelect($req_list2);
$link_sup= $rub_link. "&todo=sup&id=";
$link_mod= $rub_link. "&todo=mod&id=";
$link_det= $rub_link. "&todo=det&id=";
for($i= 0; $i< count($table); $i++ ) {
$current_dep= $table[$i]['scale_dependencies'];
$current_root= $table[$i]['scale_root'];
$current_id= $table[$i]['scale_id'];
$current_denomination= formatText($table[$i]['scale_denomination'], '2HTML');
$list= "<li class=\"li". $current_dep. "\">\n".
"\t<a href=\"". $link_det. $current_id. "\">". $current_denomination. "</a>\n";
//if ($table[$i]['scale_statut']=='D') $list.="<span class=\"state\">".$GLOBALS['lang']['statut']['draft']."</span>\n";
if ($root<> 0) $list.= "\t<a href=\"". $link_sup. $current_id. "\" class=\"ico_sup\" title=\"". $GLOBALS['lang']['scale']['sup']. "\"></a>\n";
$list.= "\t<a href=\"". $link_mod. $current_id. "\" class=\"ico_mod\" title=\"". $GLOBALS['lang']['scale']['mod']. "\"></a>\n";
if ($table[$i]["scale_dependencies"] == $depth && $root == $table[$i]["scale_root"]) {
display_scale($table, $depth+ 1, $table[$i]['scale_id'], $rub_link);
<a href="index.php"> <? echo $GLOBALS['lang']['way']['home']; ?></a>
<a href=" <?php echo $rub_link; ?>"> <? echo $GLOBALS['lang']['menu']['scale']; ?></a>
<span> <? echo formatnavTitle($current_title); ?></span>
include_once("quickicons.php");
<div class="contentcontainer">
<?php include_once($dir. "/menurub.php"); ?>
<h2><span class="semnone"> <? echo formatTitleh2($current_title) ;?></span></h2>
<?php include_once($dir. "/help.php"); ?>
|