[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_handlers/tiny_mce/ -> filelist.php (source)

   1  <?php
   2  require_once ("../../class2.php");
   3  require_once(e_HANDLER."file_class.php");
   4  if(!ADMIN){
   5  exit;
   6  }
   7  // $fl = new e_file;
   8  
   9  // $rejecthumb = array('$.','$..','/','CVS','thumbs.db','*._$',"thumb_", 'index');
  10  // $imagelist = $fl->get_files(e_IMAGE."newspost_images/","",$rejecthumb);
  11  
  12  $sql->db_Select("download");
  13          $c = 0;
  14          while ($row = $sql->db_Fetch()) {
  15              extract($row);
  16              $filelist['id'][$c] = $download_id;
  17              $filelist['url'][$c] = $download_url;
  18              $filelist['name'][$c] = $download_name;
  19              $c++;
  20          }
  21  
  22  echo "var tinyMCELinkList = new Array(";
  23  for ($i=0; $i<count($filelist['id']); $i++) {
  24  echo "['".$filelist['name'][$i]."', '".SITEURL."request.php?".$filelist['id'][$i]."']\n\n";
  25  echo ($i != (count($filelist['id'])-1)) ? "," : "";
  26  };
  27  
  28  echo ");";
  29  
  30  
  31  
  32  
  33  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7