Sedang Disiapkan

222119 need - 2 pages Site

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 = "[url removed, login to view]"; // 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

[url removed, login to view]

[url removed, login to view]

Kemahiran: Semua Boleh, Memasang Skrip

Lihat lebih lanjut: index php cat, array template, ToT, die line, girls show, pages total, girls need girls com, php photobucket, php storage script, photobucket script php, need site pages, girls need girls, ext hook, start gif, need jpg index script, total pages, file storage template site, trailing, need girls , gif jpeg png, photobucket script images, show girls, need gif image, edit jpeg files, php edit png image

Tentang Majikan:
( 79 ulasan ) miami, United States

ID Projek: #1968354