View file moduls/visual/menu.php

File size: 510B
<?php
include($cms.'moduls/visual/cgf.php');
 $dire = opendir ($vis.'base');
 while ($filee = readdir ($dire))
 {
  if (( $filee != ".") && ($filee != "..") && ($filee != 'lock') && ($filee != 'name'))
  {
   if ($_GET['namepage'] != $filee)
   echo '<div><a href="/?page=visual_page&namepage='.$filee.'">'.trim(file_get_contents($vis.'base/name/'.$filee.'')).'</a></div>';
   else
   echo '<div><b>'.trim(file_get_contents($vis.'base/name/'.$filee.'').'</b></div>');
  }
 }
 closedir ($dire);
?>