Fix This...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fix This...

    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=&#39;$username&#39; and password=&#39;$password&#39;");

    $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=&#39;$username&#39;");

    $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=&#39;$name&#39;");
    $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=&#39;$username&#39;");
    $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=&#39;no&#39;");
    $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=&#39;$username&#39;"); $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 = &#39;$username&#39; and has_it_been_read=&#39;$yesno&#39;");
    $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&amp;limit=0& amp;password=$password\">Read! $pmname</a>
    "; }

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"pm.php?username=$username&amp;password=$pas sword\">$pmname Menu</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"alertlists.php?username=$username&amp;passw ord=$password\">Fun Alerts</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"forumindex.php?username=$username&amp;passw ord=$password\">Forums</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatindex.php?username=$username&amp;passwo rd=$password\">Chat</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"buddylist.php?username=$username&amp;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&amp;passw ord=$password\">$uonline $users Online!</a>";

    $sqlthing = mysql_query("SELECT * FROM members WHERE username=&#39;$username&#39;");
    $yes="no";

    $sql = "SELECT * FROM inbox WHERE to_who=&#39;$username&#39; and been_read=&#39;$yes&#39;";
    $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&amp;password=$ password\">$inbox New Inbox(s)</a>"; } if($inbox<1) {

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"inbox.php?username=$username&amp;password=$ password\">Inbox Menu</a>"; }




    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"longestonline.php?username=$username&amp;pa ssword=$password\">Top Users</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"memlist.php?username=$username&amp;password =$password\">Full Members List</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"new.php?username=$username&amp;password=$pa ssword\">Newest Members</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"extras.php?username=$username&amp;password= $password\">User Extras</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"chatbot.php?username=$username&amp;password =$password\">FetishBot</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"/toplist/index.php?username=$username&amp;password=$passwor d\">Toplist Links</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"gallery.php?username=$username&amp;password =$password\">FetishLovers Gallery</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"networksettings.php?username=$username&amp; password=$password\">UK Network Settings</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"phoneinfo.php?username=$username&amp;passwo rd=$password\">Your Device Info</a>";
    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"smilelists.php?username=$username&amp;passw ord=$password\">Smilies</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"adminlist.php?username=$username&amp;passwo rd=$password\">Admin List</a>"; if($owner=="1") {


    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"ownertools.php?username=$username&amp;passw ord=$password\">Owner Tools</a>"; } if($admin=="1") {

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"admintools.php?username=$username&amp;passw ord=$password\">Admin Tools</a>"; }

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index1.php?username=$username&amp;password= $password\">Hangman</a>";

    echo "
    <img src=\"images/vib.gif\" alt=\"x\"/><a href=\"index.php?username=$username&amp;password=$ password\">**LogOut**</a>";


    echo "
    DrugsBunny 2007
    "; }

    echo "</card>";
    echo "</wml>";
    ?>



    It just shows welcome.php not found

    #2
    <?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=&#39;$username&#39; and password=&#39;$password&#39;");
    $number_of_rows = mysql_num_rows($result);
    if ($number_of_rows>0)
    {
    include("check.inc.php");
    }
    if ($ok>0)
    {
    include("online.inc.php");
    $time=date("H:i");

    echo "<card id=\"card1\" title=\"$username@PowerAngel $time\">";
    echo "<p align=\"center\">";
    ?>
    [img]woha.jpg[/img]

    <?php



    $result = mysql_query("SELECT * FROM shoutbox");
    $thename = mysql_result($result,0,"name");
    $themessage = mysql_result($result,0,"message");
    echo "Welcome To:
    $thename";
    $gbvalues=mysql_result($result,0,"message");

    include("smilies.inc.php");

    echo "
    Message:
    $gbvalues";

    ?>


    [img]images/line.gif[/img]


    <?php
    $sqlthing = mysql_query("SELECT * FROM members WHERE username=&#39;$username&#39;");
    $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 = &#39;$username&#39; and has_it_been_read=&#39;$yesno&#39;");
    $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 "
    <a title=\"Enter\" href=\"pminbox.php?username=$username&amp;limit=0& amp;password=$password\">Read $pmname</a>
    ";
    }

    $result=mysql_query("select * from members");
    $mem = mysql_num_rows($result);
    echo "Members: $mem
    ";
    echo "<a href=\"pm.php?username=$username&amp;password=$pas sword\">[$pmname Menu]</a>";
    echo "
    <a href=\"whosonline.php?username=$username&amp;passw ord=$password\">[$uonline $users Users Online]</a>";
    echo "
    <a href=\"forumindex.php?username=$username&amp;passw ord=$password\">[Forums]</a>";
    $result = mysql_query("SELECT * FROM chatusers");
    $inchat = mysql_num_rows($result);
    echo "
    <a href=\"chatindex.php?username=$username&amp;passwo rd=$password\">[ChatRoom ($inchat)]</a>";
    echo "
    <a href=\"chatbot.php?username=$username&amp;password =$password\">[DrugsBunny Bot]</a>";

    $count1=0;
    $result=mysql_query("select * from buddylist where username1=&#39;$username&#39;");
    $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=&#39;$name&#39;");
    $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=&#39;$username&#39;");
    $number_of_rows5 = mysql_num_rows($result5);
    echo "
    <a title=\"Enter\" href=\"buddylist.php?username=$username&amp;passwo rd=$password\">[Buddies $count1]</a>";





    $sqlthing = mysql_query("SELECT * FROM members WHERE username=&#39;$username&#39;");
    $yes="no";
    $sql = "SELECT * FROM inbox WHERE to_who=&#39;$username&#39; and been_read=&#39;$yes&#39;";
    $result = mysql_query($sql);
    $inbox = mysql_num_rows($result);

    if($inbox>0)
    {
    echo "
    <a href=\"inbox.php?username=$username&amp;password=$ password\">[$inbox New Inbox(s)]</a>";
    }
    if($inbox<1)
    {
    echo "
    <a href=\"inbox.php?username=$username&amp;password=$ password\">[Inbox Menu]</a>";
    }
    echo "
    <a href=\"stats.php?username=$username&amp;password=$ password\">[Site Stats]</a>";
    echo "
    <a href=\"new.php?username=$username&amp;password=$pa ssword\">[Newbies]</a>";
    echo "
    <a href=\"extras.php?username=$username&amp;password= $password\">[Extras]</a>";
    echo "
    <a href=\"adminlist.php?username=$username&amp;passwo rd=$password\">[Admin List]</a>";

    if($owner=="1")
    {
    echo "
    <a href=\"ownertools.php?username=$username&amp;passw ord=$password\">*Owner Tools*</a>";
    }
    if($admin=="1")
    {
    echo "
    <a href=\"admintools.php?username=$username&amp;passw ord=$password\">*Admin Tools*</a>";
    }
    echo "
    <a href=\"recommend.php?username=$username&amp;passwo rd=$password&amp;email=\"><img src=\"recommend.gif\" alt=\"Recommend This Site««\"/></a>";
    echo "
    <a href=\"log.php?username=$username&amp;password=$pa ssword\">[Logout]</a>";
    }

    echo "
    ".date("D d M y ")."\n";



    echo "</p>";
    echo "</card>";
    echo "</wml>";
    ?>

    this one dont work with older phones...

    Comment


      #3
      Well to say thats why i delete and made my own scripts.................
      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...
      _______
      Info & Tips
      php.net
      w3schools.com

      Comment


        #4
        From what i see the welcome.php file is included in one of the files you have included in this script like config.inc.php etc so kindly check those files.I am sure you will find welcome.php included somewhere in those files

        Comment


          #5
          it is
          <span style="font-size:36pt;line-height:100%">
          visit my new forum wapsite on your mobile phone today.
           wapfire.freehostia.com
          </span>

          Comment


            #6
            if it is then u ppl must need welcome.php file to fix this error coz till u DONT have welcome.php and u try to include it in a page u will get error as simple as that
            I hope the problem here is solved

            Comment


              #7
              lol!! this is a old post man, i sorted it now, i got my own script of this now i recoded... dont dig up old topics man

              Comment


                #8
                Err u must post that u have fixed the error so that ppl must not waste time posting on them.MODS I REQUEST YOU TO PLZ CLOSE THIS TOPIC LOL

                Comment


                  #9
                  Yep 1 new have request -lol- request for close topic must be don for the autor of this topic -lol-

                  Comment

                  Working...
                  X