Source for file det.php
Documentation is available at det.php
* @package linea21.modules
* @author Simon Georget <simon@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'];
$options = array('status' => array('P', 'D', 'E'), 'given_id' => $id);
$data = $comm->get($options, $sql_object);
if ($data == 0 || count($data) != 1) exit;
// we get the current item title for displaying
$options = array('module' => $data[0]['comment_module'], 'module_id' => $data[0]['comment_module_id']);
$r = $comm->getCommentItem($options, $sql_object);
if ($data == 0 || count($data) != 1) exit;
$data[0]['item_title']= $r[0]['item_title'];
<li><a href="index.php" class="chemin_home"> <?php echo _t('way','home'); ?>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>"
class="chemin_rub"> <?php echo _t('menu','comment'); ?> </a></li>
include_once(THEME_ADMIN_PATH. "quickicons.php");
<div class="contentcontainer"> <?php
include_once($dir . "/menurub.php");
echo '<div id="comments">';
if(!empty($html_comments)) echo $html_comments;
else echo "<div class=\"info\">". _t('comment','noresult'). "</div>";
<?php include_once($dir . "/help.php");
|