linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file list.php

Documentation is available at list.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage level
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. //////////// Check Inclusion de pages ////////////
  12. if (!function_exists('AuthenthificationProcess')){
  13.   include_once("../lib/lib_common.php");
  14.   ReloadIndex('admin');
  15. }
  16. ////////////
  17.  
  18. $result $sql_object->DBSelect($req_liste);
  19.  
  20. ?>
  21. <div id="chemin">
  22. <ul>
  23.     <li><a href="index.php" class="chemin_home"> <?php echo _t('way','home');?>
  24.     </a></li>
  25.     <li><a href="<?php echo $rub_link?>" id="chemin_<?php echo $rub?>"
  26.         class="chemin_rub"> <?php echo _t('menu','level')?> </a></li>
  27.     <li><span> <?php echo formatNavTitle(_t('level','list'));?> </span></li>
  28. </ul>
  29. </div>
  30. <!--end barre haute -->
  31. <?php
  32. include_once(THEME_ADMIN_PATH."quickicons.php");
  33. ?>
  34. <div class="contentcontainer"><?php
  35. include_once($dir "/menurub.php");
  36. ?>
  37. <div id="content"><?php
  38. $link_mod $rub_link "&amp;todo=mod&amp;id=";
  39. $link_det $rub_link "&amp;todo=det&amp;id=";
  40. $level_denomination '';
  41.  
  42. for ($i 0$i count($result);$i++{
  43.   $level_denomination .= "<li class=\"contextual-menu li1\">\n";
  44.   $level_denomination .= "\t<a href=\"" $link_det $result[$i]['level_id'"\">";
  45.   $level_denomination .= formatText($result[$i]['level_name']'2HTML'"</a>";
  46.   if ($result[$i]['level_statut'== 'D'$level_denomination .= "<span class=\"state\">" _t('statut','draft'"</span>";
  47.   $level_denomination .= "\t<a href=\"" $link_mod $result[$i]['level_id'"\" class=\"ico_mod\" title=\"" _t('level','mod'"\"></a>\n";
  48.   $level_denomination .= "\n</li>\n";
  49. }
  50.  
  51. echo '<div  id="tree">'.END_LINE;
  52. echo "<ul>\n<li><a href=\"#\">"._t('menu','level')."</a><ul>";
  53. echo $level_denomination;
  54. echo "</ul></li></ul>\n";
  55. echo '</div>'.END_LINE;
  56. ?></div>
  57. <?php
  58. include_once($dir "/help.php");
  59. ?></div>

Documentation generated on Thu, 03 May 2012 15:06:00 +0200 by phpDocumentor 1.4.1