Source for file quickbox.php
Documentation is available at quickbox.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");
$qbx_module = _t('menu','theme');
$result = $sql_object->DBSelect($req_quickbox_listadd);
$qbx_liste .= "<li>" . _t('divers','nodata') . "</li>";
if (count($result) >= 10) $nb = 10;
else $nb = count($result);
for($i = 0; $i < count($result); $i++ ) {
$qbx_liste .= "<li><a href=\"index.php?id=" . $result[$i]['theme_id'] . "&rub=" . $rub . "&todo=det\" title=\"" . _t('divers','date_crea') . ": " . $result[$i]['theme_date_crea_display'] . " \">" . $qbx_theme_title . "</a></li>\n";
$qbx_h1 = $nb . _t('theme','qb_titleadd');
if ($todo == 'mod' || $todo == 'list' || $todo == 'det') {
$result = $sql_object->DBSelect($req_quickbox_listmod);
$qbx_liste .= "<li>" . _t('divers','nodata') . "</li>";
if (count($result) >= 10) $nb = 10;
else $nb = count($result);
for($i = 0; $i < count($result); $i++ ) {
$qbx_liste .= "<li><a href=\"index.php?id=" . $result[$i]['theme_id'] . "&rub=" . $rub . "&todo=det\" title=\"" . _t('divers','last_modify') . " " . $result[$i]['theme_last_modify_display'] . " - (" . _t('divers','date_crea') . ": " . $result[$i]['theme_date_crea_display'] . ") \">" . $qbx_theme_title . "</a></li>\n";
$qbx_h1 = $nb . _t('theme','qb_titlemod');
$result = $sql_object->DBSelect($req_quickbox_listsup);
$qbx_liste .= "<li>" . _t('divers','nodata') . "</li>";
if (count($result) >= 10) $nb = 10;
else $nb = count($result);
for($i = 0; $i < count($result); $i++ ) {
$qbx_liste .= "<li><a href=\"#\" title=\"" . _t('divers','date_sup') . " " . $result[$i]['theme_last_modify_display'] . " - (" . _t('divers','date_crea') . ": " . $result[$i]['theme_date_crea_display'] . ") \">" . $qbx_theme_title . "</a></li>\n";
$qbx_h1 = $nb . _t('theme','qb_titlesup');
|