$image_number=$current_start_record + $key;
// print the table cell and image information
// maybe put this in a function that returns height and width too
echo "\t\t<td class=\"stills\" align=\"center\"><a href=\"still.php?id=$id&im=$image_number\">
<img src=\"/resize_stills.php?image=$directory$val\" height=\"100\" width=\"100\"></a><br></td>\n";
$i=1; // start the counter at one
// get a listing and put it into $file_array
exec("ls $directory",$file_array);
if($current_start_record>=1){
if(($end_record < $category_count)&&($current_page==$numberOfPages)){
$end_record = $category_count;
}if($current_start_record>=1){
if(($end_record < $category_count)&&($current_page==$numberOfPages)){
if($current_start_record>=1){
if(($end_record < $category_count)&&($current_page==$numberOfPages)){
$end_record = $category_count;
}
Littleship
•
•
Time for a revision - come back soon!