Location: PHPKode > scripts > Joe Images > joe_images/flash_config.php
<?php

$sortby = "timestamp";  #default is timestamp, this will sort in the order they are updated
//OPTIONS FOR THIS IS - id, name, timestamp

$orderby = "DESC";  #default is DESC, this will order them by the newest first
//OPTIONS FOR THIS IS - ASC, DESC

$parser = "^x*"; #default is ^&*, i suggest not changing this..
$splitter = "|||"; #default is |||, i suggest not changing this..



//// DO NOT EDIT BELOW THIS LINE /////

require "config_connect_functions.php";
$list = mysql_query("SELECT * FROM joe_images WHERE status = '1' ORDER by $sortby $orderby") or die("died");
while($listR = mysql_fetch_array($list)){
   
   if(file_exists($image_config[path].$listR[id].".jpg")){
      list($w, $h) = getimagesize($image_config[path].$listR[id].".jpg");
   }
   if(file_exists($image_config[path].$listR[id]."LG.jpg")){
      list($w2, $h2) = getimagesize($image_config[path].$listR[id]."LG.jpg");
   }

   
   $line .= "$listR[id]".$parser."$w".$parser."$h".$parser."$w2".$parser."$h2".$parser."$listR[name]".$parser."$listR[info]|||";

}

print "images=".$line."&parser=".$parser."&splitter=".$splitter."&thumb_w=".$image_config[thumb_w]."&large_w=".$image_config[large_w]."&image_path=".$image_config[path]."&EOF=true";


?>
Return current item: Joe Images