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");
//////////// Check Droits utilisateur ////////////
if (isset ($_GET['id'])) $id= $_GET['id'];
if (isset ($_POST['id'])) $id= $_POST['id'];
$result= $sql_object->DBSelect($req_det);
// formattage des données
$current_title= formatText($result[0]['theme_name'], '2HTML');
$date_crea= $result[0]['theme_date_crea_display'];
$last_modify= $result[0]['theme_last_modify_display'];
$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>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>" class="chemin_rub"> <?php echo _t('menu','theme'); ?></a></li>
<li><span> <?php echo formatNavTitle(_t('sdtheme','det'). " : " . $current_title); ?></span></li>
include_once(THEME_ADMIN_PATH. "quickicons.php");
<div class="contentcontainer"> <?php
include_once(override($dir. '/menurub.php', THEME_ADMIN_PATH));
echo "\t<a href=\"". $link_sup. 's'. $id. "\" title=\"". _t('theme','sup'). "\" class=\"ico_sup2\"><i class=\"icon-trash\"></i><span>" . _t('theme','sup') . "</span></a>\n";
echo "\t<a href=\"". $link_mod. 's'. $id. "\" title=\"". _t('theme','mod'). "\" class=\"ico_mod2\"><i class=\"icon-pencil\"></i><span>" . _t('theme','mod') . "</span></a>\n";
echo "<dl class=\"summary\">\n";
echo "<dt>". mb_ucfirst(_t('theme','description')). " :</dt>\n";
echo "<dd>". $description. "</dd>\n";
echo "<dt>". mb_ucfirst(_t('divers','last_modify')). " :</dt>\n";
echo "<dd>". $last_modify. "</dd>\n";
echo "<dt>". mb_ucfirst(_t('divers','date_crea')). " :</dt>\n";
echo "<dd>". $date_crea. "</dd>\n";
$result= $sql_object->DBSelect($req_det);
$current_title= formatText($result[0]['theme_name'],'2HTML');
// formattage des données
$date_crea= $result[0]['theme_date_crea'];
$last_modify= $result[0]['theme_last_modify'];
$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>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>" class="chemin_rub"> <?php echo _t('menu','theme');?></a></li>
<li><span> <?php echo formatNavTitle(_t('theme','det'). " : " . $current_title)?></span></li>
<!--end barre haute --> <?php
include_once(THEME_ADMIN_PATH. "quickicons.php");
<div class="contentcontainer"> <?php
include_once(override($dir. '/menurub.php', THEME_ADMIN_PATH));
echo "\t<a href=\"". $link_sup. $id. "\" title=\"". _t('theme','sup'). "\" class=\"ico_sup2\"><i class=\"icon-trash\"></i><span>" . _t('theme','sup') . "</span></a>\n";
echo "\t<a href=\"". $link_mod. $id. "\" title=\"". _t('theme','mod'). "\" class=\"ico_mod2\"><i class=\"icon-pencil\"></i><span>" . _t('theme','mod') . "</span></a>\n";
echo "<dl class=\"summary\">\n";
echo "<dd><a href=\"". $link_det. "s". $result[0]['sdtheme_id']. "\">". formatText($result[0]['sdtheme_name'],'2HTML'). "</a></dd>\n";
echo "<dd>". $desc_project. "</dd>\n";
echo "<dd>". $desc_dashboard. "</dd>\n";
echo "<dd>". $desc_publi. "</dd>\n";
echo "<dd>". $desc_workshop. "</dd>\n";
echo "<dd>". $desc_news. "</dd>\n";
echo "<dd>". $last_modify. "</dd>\n";
echo "<dd>". $date_crea. "</dd>\n";
/** PAS DE GESTION DES STATUTS
echo "<dt>".formatText(_t('divers','statut'), '2HTML') ." :</dt>\n";
echo "<dd>".display_statut($result[0]['theme_statut']). "</dd>\n";
<?php include_once(override($dir. '/help.php', THEME_ADMIN_PATH)); ?></div>
|