Need - 2 Pages Site

Job Status:
Expired [ 2008-05-12 - 0000-00-00 ] [ ended 3160 days ago ]
Assistance: Don't bother reading this project's info, it's one of those which ended in the past - Register and browse Open projects, there are thousands of them waiting for you to bid on them.
Budget:
Not available
Job Type:
Description:


Im looking to do a site with an index page and a template page, with a php script that fetches the images from the specified image folder.

FOR EXAMPLE:::
$site_url = "www.mysite.com/"; // no http, no trailing /
$site_name = "mywebsite_name";


$cat = 'girls';
$urlpath = 'girls/';

$max2show = 6; //Amount you want to show per page

// END OF CONFIGURATION SECTION
// Do not edit below this line

$hook = opendir($cat) or die('cant open dir');
$total = 0;

if(!isset($_GET['page'])) $page = 1;
else $page = $_GET['page'];

$start = $max2show * $page - $max2show;
$end = $page * $max2show;

$ext = array("jpg", "png", "jpeg", "gif");
while (false!==($file = readdir($hook))) {
for($i=0;$i<sizeof($ext);$i++)
if (stristr($file, ".".$ext[$i])) //NOT case sensitive
{
$files[] = $file;
$total++;
}
}
closedir($hook);
natcasesort($files);
$files = array_values($files);

if ($end > $total) { $end = $tot

-------------------------------------------------------

well anyway
here are 2 images, the index i would like
and the template page

http://i76.photobucket.com/albums/j30/yanikeke/Storage/index.jpg
http://i76.photobucket.com/albums/j30/yanikeke/Storage/ad_pages.jpg



Need - 2 Pages Site is the proprietary information of Scriptlance©
[ aside of Scriptlance© excellent freelance / outsourcing resourse is GetAFreelancer© ]

O/S:
Database:
<<< Multi Media Autoresponder Ecom
Id/ Discountcard Design >>>
Custom Web Design and Programming
Freelance Projects

©2006 Computer Projects
All Rights Reserved.