subzero
Super moderator Fellow · 3,954 posts
19 years ago
#2
hmmm.............
xhtml have you try making xhtml with
<?php
////////////////////HEAD/////////////////////////////////
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"
\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">\n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
echo "<head>\n";
echo "<title>Grim-Reapers</title>";
echo "</head>\n";
echo '
<style>
span { font-size: 11pt; font-family: arial; color: red; font-weight: bold }
p { font-size: 11pt; font-family: arial; color: red; font-weight: bold }
select { font-size: 11pt; font-family: arial; color: red; }
a { font-size: 11pt; font-family: arial; color: navy; font-weight: bold }
td { font-size: 11pt; font-family: arial; color: brown; font-weight: normal;}
</style>
<body bgcolor="black">
';
////////////////GET TIME/////////////////////////////
$New_Time = time() + (0 * 60 * 60);
$time=date("Hi",$New_Time);
//////////////MAIN PAGE/////////////////////////////
echo "\n";
echo "\n";
echo "\n";
$conf["items_per_page"] = 1;
if (!isset($page)) {$page = 0;}
$total = 0;
if(!($dp = opendir("./"))) die ("Cannot open ./");
$file_array = array();
while ($file = readdir ($dp))
{
if(substr($file,0,1) != '.' and $file != "index.php")
{
$file_array[] = $file;
}
}
$file_count = count ($file_array);
sort ($file_array);
echo "<p align=\"center\">\n";
echo "So let's have fun and enjoy it
\n";
echo "<font color=\"yellow\">[b]Welcome[/b]</font>
\n";
echo "\n";
if ($file_count > 0)
{
$first_record = $page * $conf["items_per_page"];
$last_record = $first_record + $conf["items_per_page"];
while (list($fileIndexValue, $file_name) = each ($file_array))
{
if (($fileIndexValue >= $first_record) AND ($fileIndexValue < $last_record))
{
$name = str_replace ("", "", $file_name);
echo "<a href=\"$file_name\"/>$name</a>
\n";
$total = $total + filesize($file_name);
}
}
if (($file_count > 0) AND ($page != 0))
{
// previous button
$prev_page = $page -1;
echo "[<a href=\"".$_SERVER["PHP_SELF"]."?page=$prev_page&file=$New_Time\">Prev</a>]\n";
}
if (($file_count > 0) AND ($last_record < $file_count))
{
// next button
$next_page = $page + 1;
echo " [<a href=\"".$_SERVER["PHP_SELF"]."?page=$next_page&file=$New_Time\">Next</a>]\n";
}
echo "
PAGE: [$first_record|$file_count]";
echo "
[size="1"]---[/size]
\n";
echo "<a href=\"../\">Home</a>\n";
echo "[size="1"]
---
© Grim-Reaper - mini player 2006[/size]\n";
}
echo "\n";
closedir($dp);
echo "</p>\n";
echo "</body>\n";
echo "</html>\n";
exit();
?>
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…