Source for file quickbox.php
Documentation is available at quickbox.php
* @package linea21.modules
* @subpackage yellowpages
* @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','yellowpages');
$resultqb= $sql_object->DBSelect($req_quickbox_list);
if ($todo == 'add' || $todo == 'list' || $todo == 'mod' || $todo == 'sup' || $todo == 'det') {
$qbx_liste.= "<li>". _t('divers','nodata'). "</li>";
if(count($resultqb)>= 10) $nb= 10; else $nb= count($resultqb);
for($i= 0; $i< count($resultqb); $i++ ) {
$qbx_yp_title= cutText($resultqb[$i]['yellowp_name'], 50);
$qbx_liste.= "<li><a href=\"index.php?id=". $resultqb[$i]['yellowp_id'] . "&rub=$rub&todo=det\" title=\"". _t('divers','last_modify'). ": ". $resultqb[$i]['yellowp_last_modify']. " (". _t('divers','date_crea'). ": ". $resultqb[$i]['yellowp_date_crea']. ") \">". $qbx_yp_title . "</a></li>\n";
$qbx_h1= $nb. ''. _t('yp','qb_title');
|