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']['theme']['list'];
$result= $sql_object->DBSelect($req_list_theme);
$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($result);$i++ ){
if ($result[$i]['sdtheme_id']!= $current_sdtheme) {
$current_sdtheme= $result[$i]['sdtheme_id'];
$listing.= "<li class=\"li0\">\n";
$listing.= "\t<a href=\"". $link_det. "s". $result[$i]['sdtheme_id']. "\" title=\"". $GLOBALS['lang']['theme']['det']. "\">". formatText($result[$i]['sdtheme_name'],'2HTML'). "</a>";
$listing.= "<li class=\"li1\">\n";
$listing.= "\t<a href=\"". $link_det. $result[$i]['theme_id']. "\" title=\"". $GLOBALS['lang']['theme']['det']. "\">". formatText($result[$i]['theme_name'],'2HTML'). "</a>\n";
if ($result[$i]['theme_statut']== 'D') $listing.= "<span class=\"state\">". $GLOBALS['lang']['statut']['draft']. "</span>";
$listing.= "\t<a href=\"". $link_sup. $result[$i]['theme_id']. "\" class=\"ico_sup\" title=\"". $GLOBALS['lang']['theme']['sup']. "\"></a>\n";
$listing.= "\t<a href=\"". $link_mod. $result[$i]['theme_id']. "\" class=\"ico_mod\" title=\"". $GLOBALS['lang']['theme']['mod']. "\"></a>\n";
<a href="index.php"> <? echo $GLOBALS['lang']['way']['home']; ?></a>
<a href=" <?php echo $rub_link; ?>"> <? echo $GLOBALS['lang']['menu']['theme']; ?></a>
include_once("quickicons.php");
<div class="contentcontainer">
<?php include_once($dir. "/menurub.php"); ?>
<?php include_once($dir. "/help.php"); ?>
|