Source for file tpl_yellowpages.php
Documentation is available at tpl_yellowpages.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
include_once(themePath('../yellowpages/display.php'));
$GLOBALS['filters'][U_L]['theme']['active'] = 1; // filter activation
// récupération des variables GET et POST
if (isset ($_REQUEST['id']) && !isset ($_REQUEST['filter'])) {
if (isset ($_REQUEST['filter'])) {
if ($_REQUEST['filter']== "alpha") {
$filter_id= $_REQUEST['id'];
if ($_REQUEST['filter']== $GLOBALS['filters'][U_L]['theme']['linkvalue']) {
$filter_id= $_REQUEST['id'];
$filter= $GLOBALS['filters'][U_L]['theme']['linkvalue'];
if (isset ($_REQUEST['debut'])) $debut= $_REQUEST['debut'];
if (ActiveItemKey($GLOBALS['activeitem'])== 'directory-detail' || $filter!=- 1 || ActiveItemKey($GLOBALS['activeitem'])== 'directory-add') {
$link_archive= array('rub'=> $GLOBALS['links'][U_L]['directory']['linkvalue']);
echo '<div class="switchnav">';
echo '<a class="button" href="'. HrefMaker($link_archive). '" title="'. _t('divers','goto_currentlist'). '">'. _t('divers','goto_currentlist'). '</a>'. END_LINE;
* affichage de l'annuaire
//DisplayUrlAddYellowpages();
//DisplayAlphaBeta($filter,$filter_id);
echo '<br style="clear:both" />';
echo '<div class="sub-title">'. _t('yp','h1_public_comment'). '</div>';
* affichage d'une organisation
* affichage du formulaire d'ajout
echo '<br style="clear:both" />';
echo '<h1>'. _t('yp','add_public'). '</h1>'. END_LINE;
|