anyone fix this please?
<?php
header("Content-type: text/vnd.wap.wml");
include("config.inc.php");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
$time=date("H:i");
echo "<wml>";
$Connect = mysql_connect("$server","$user","$pass");
mysql_select_db("$dbname");
$result=mysql_query("select * from members where username='$username' and password='$password'");
$number_of_rows = mysql_num_rows($result);
if ($number_of_rows>0) {
include("check.inc.php"); }
if ($ok>0) {
include("online.inc.php");
$result=mysql_query("select * from buddylist where username1='$username'");
$number_of_rows = mysql_num_rows($result);
$count=0;
while ($count<$number_of_rows){
$name=(mysql_result($result,$count,"username2"));
$result2=mysql_query("select * from latest where ip='$name'");
$number_of_rows2 = mysql_num_rows($result2);
if($number_of_rows2>0){
$count1=$count1+1;
}
$count=$count+1;
}
$result5=mysql_query("select * from buddylist where username1='$username'");
$number_of_rows5 = mysql_num_rows($result5);
$time=date("H:i");
echo "<card id=\"card1\" title=\"$username@FetishLovers $time\">";
echo "<p align=\"center\">"; ?>
[img]logo.gif[/img]
<?php
$TimeZone="-2"; ////Change the TimeZone accordingly!
$New_Time = time() + ($TimeZone * 60 * 60);
$show_date=date("D dS F, Y",$New_Time);
$show_time=date("H:i",$New_Time);
$Hour=date("G",$New_Time);
echo $show_date;
echo"
";
echo $show_time;
echo"
";
$result=mysql_query("select * from members");
$mem = mysql_num_rows($result);
echo "Members: $mem";
$result=mysql_query("select * from members where validated='no'");
$memn = mysql_num_rows($result);
echo "
$memn Awaiting Validation";
echo"
";
echo"
";
$result = mysql_query("SELECT * FROM shoutbox");
$thename = mysql_result($result,0,"name");
$themessage = mysql_result($result,0,"message");
echo "Welcome to FetishLovers
$thename";
$gbvalues=mysql_result($result,0,"message"); include("smilies.inc.php");
echo "
Announcement:
$gbvalues"; ?>
[img]bar.gif[/img]
<? include ("text.php"); ?>
[img]bar.gif[/img]</br/>
<?php $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $owner=(mysql_result($sqlthing,0,"owner")); $pmname=(mysql_result($sqlthing,0,"pmname")); $buddyname=(mysql_result($sqlthing,0,"buddyname")) ; $admin=(mysql_result($sqlthing,0,"admin"));
$yesno = "no";
$result = mysql_query("SELECT * FROM privatemessage WHERE to_username = '$username' and has_it_been_read='$yesno'");
$number_of_rows = mysql_num_rows($result);
$new_pms = $number_of_rows;
if(($number_of_rows>0)){
echo "you have $new_pms new $pmname(s)";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a title=\"Enter\" href=\"pminbox.php?username=$username&limit=0& amp;password=$password\">Read! $pmname</a>
"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"pm.php?username=$username&password=$pas sword\">$pmname Menu</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"alertlists.php?username=$username&passw ord=$password\">Fun Alerts</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"forumindex.php?username=$username&passw ord=$password\">Forums</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatindex.php?username=$username&passwo rd=$password\">Chat</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"buddylist.php?username=$username&passwo rd=$password\">[$count1/$number_of_rows5] $buddyname list </a>";
if($uonline>1) {
$users="Users"; } if($uonline<2) { $users="User"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"whosonline.php?username=$username&passw ord=$password\">$uonline $users Online!</a>";
$sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'");
$yes="no";
$sql = "SELECT * FROM inbox WHERE to_who='$username' and been_read='$yes'";
$result = mysql_query($sql);
$inbox = mysql_num_rows($result); if($inbox>0) {
echo "
<img src=\"images/vib2.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&password=$ password\">$inbox New Inbox(s)</a>"; } if($inbox<1) {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&password=$ password\">Inbox Menu</a>"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"longestonline.php?username=$username&pa ssword=$password\">Top Users</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"memlist.php?username=$username&password =$password\">Full Members List</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"new.php?username=$username&password=$pa ssword\">Newest Members</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"extras.php?username=$username&password= $password\">User Extras</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatbot.php?username=$username&password =$password\">FetishBot</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"/toplist/index.php?username=$username&password=$passwor d\">Toplist Links</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"gallery.php?username=$username&password =$password\">FetishLovers Gallery</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"networksettings.php?username=$username& password=$password\">UK Network Settings</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"phoneinfo.php?username=$username&passwo rd=$password\">Your Device Info</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"smilelists.php?username=$username&passw ord=$password\">Smilies</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"adminlist.php?username=$username&passwo rd=$password\">Admin List</a>"; if($owner=="1") {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"ownertools.php?username=$username&passw ord=$password\">Owner Tools</a>"; } if($admin=="1") {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"admintools.php?username=$username&passw ord=$password\">Admin Tools</a>"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index1.php?username=$username&password= $password\">Hangman</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index.php?username=$username&password=$ password\">**LogOut**</a>";
echo "
DrugsBunny 2007
"; }
echo "</card>";
echo "</wml>";
?>
It just shows welcome.php not found
<?php
header("Content-type: text/vnd.wap.wml");
include("config.inc.php");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
$time=date("H:i");
echo "<wml>";
$Connect = mysql_connect("$server","$user","$pass");
mysql_select_db("$dbname");
$result=mysql_query("select * from members where username='$username' and password='$password'");
$number_of_rows = mysql_num_rows($result);
if ($number_of_rows>0) {
include("check.inc.php"); }
if ($ok>0) {
include("online.inc.php");
$result=mysql_query("select * from buddylist where username1='$username'");
$number_of_rows = mysql_num_rows($result);
$count=0;
while ($count<$number_of_rows){
$name=(mysql_result($result,$count,"username2"));
$result2=mysql_query("select * from latest where ip='$name'");
$number_of_rows2 = mysql_num_rows($result2);
if($number_of_rows2>0){
$count1=$count1+1;
}
$count=$count+1;
}
$result5=mysql_query("select * from buddylist where username1='$username'");
$number_of_rows5 = mysql_num_rows($result5);
$time=date("H:i");
echo "<card id=\"card1\" title=\"$username@FetishLovers $time\">";
echo "<p align=\"center\">"; ?>
[img]logo.gif[/img]
<?php
$TimeZone="-2"; ////Change the TimeZone accordingly!
$New_Time = time() + ($TimeZone * 60 * 60);
$show_date=date("D dS F, Y",$New_Time);
$show_time=date("H:i",$New_Time);
$Hour=date("G",$New_Time);
echo $show_date;
echo"
";
echo $show_time;
echo"
";
$result=mysql_query("select * from members");
$mem = mysql_num_rows($result);
echo "Members: $mem";
$result=mysql_query("select * from members where validated='no'");
$memn = mysql_num_rows($result);
echo "
$memn Awaiting Validation";
echo"
";
echo"
";
$result = mysql_query("SELECT * FROM shoutbox");
$thename = mysql_result($result,0,"name");
$themessage = mysql_result($result,0,"message");
echo "Welcome to FetishLovers
$thename";
$gbvalues=mysql_result($result,0,"message"); include("smilies.inc.php");
echo "
Announcement:
$gbvalues"; ?>
[img]bar.gif[/img]
<? include ("text.php"); ?>
[img]bar.gif[/img]</br/>
<?php $sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'"); $owner=(mysql_result($sqlthing,0,"owner")); $pmname=(mysql_result($sqlthing,0,"pmname")); $buddyname=(mysql_result($sqlthing,0,"buddyname")) ; $admin=(mysql_result($sqlthing,0,"admin"));
$yesno = "no";
$result = mysql_query("SELECT * FROM privatemessage WHERE to_username = '$username' and has_it_been_read='$yesno'");
$number_of_rows = mysql_num_rows($result);
$new_pms = $number_of_rows;
if(($number_of_rows>0)){
echo "you have $new_pms new $pmname(s)";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a title=\"Enter\" href=\"pminbox.php?username=$username&limit=0& amp;password=$password\">Read! $pmname</a>
"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"pm.php?username=$username&password=$pas sword\">$pmname Menu</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"alertlists.php?username=$username&passw ord=$password\">Fun Alerts</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"forumindex.php?username=$username&passw ord=$password\">Forums</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatindex.php?username=$username&passwo rd=$password\">Chat</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"buddylist.php?username=$username&passwo rd=$password\">[$count1/$number_of_rows5] $buddyname list </a>";
if($uonline>1) {
$users="Users"; } if($uonline<2) { $users="User"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"whosonline.php?username=$username&passw ord=$password\">$uonline $users Online!</a>";
$sqlthing = mysql_query("SELECT * FROM members WHERE username='$username'");
$yes="no";
$sql = "SELECT * FROM inbox WHERE to_who='$username' and been_read='$yes'";
$result = mysql_query($sql);
$inbox = mysql_num_rows($result); if($inbox>0) {
echo "
<img src=\"images/vib2.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&password=$ password\">$inbox New Inbox(s)</a>"; } if($inbox<1) {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&password=$ password\">Inbox Menu</a>"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"longestonline.php?username=$username&pa ssword=$password\">Top Users</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"memlist.php?username=$username&password =$password\">Full Members List</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"new.php?username=$username&password=$pa ssword\">Newest Members</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"extras.php?username=$username&password= $password\">User Extras</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatbot.php?username=$username&password =$password\">FetishBot</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"/toplist/index.php?username=$username&password=$passwor d\">Toplist Links</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"gallery.php?username=$username&password =$password\">FetishLovers Gallery</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"networksettings.php?username=$username& password=$password\">UK Network Settings</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"phoneinfo.php?username=$username&passwo rd=$password\">Your Device Info</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"smilelists.php?username=$username&passw ord=$password\">Smilies</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"adminlist.php?username=$username&passwo rd=$password\">Admin List</a>"; if($owner=="1") {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"ownertools.php?username=$username&passw ord=$password\">Owner Tools</a>"; } if($admin=="1") {
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"admintools.php?username=$username&passw ord=$password\">Admin Tools</a>"; }
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index1.php?username=$username&password= $password\">Hangman</a>";
echo "
<img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index.php?username=$username&password=$ password\">**LogOut**</a>";
echo "
DrugsBunny 2007
"; }
echo "</card>";
echo "</wml>";
?>
It just shows welcome.php not found
Comment