Alerts/popup

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

    #31
    man ya not getting me lol do this place that code in popups.php

    include("popups.php");

    under

    echo "<p align=\"center\">";

    like include("popups.php");
    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


      #32
      man ya not getting me lol do this place that code in popups.php

      include("popups.php");

      under

      echo "<p align=\"center\">";

      like include("popups.php");[/b]
      do u mean i should place this script also in popups.php? i thought i should place this one in index.php

      Comment


        #33
        <?php
        /*
        IrisBlaze wap forum
        by Ra&#39;ed Shabana
        */
        //» »
        //« «
        include("config.php");
        include("core.php");
        //session_start();
        header("Content-type: text/vnd.wap.wml");
        header("Cache-Control: no-store, no-cache, must-revalidate");
        echo("<?xml version=\"1.0\"?>");
        echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

        ?>

        <wml>


        <?php

        $bcon = connectdb();
        if (!$bcon)
        {
        echo "<card id=\"main\" title=\"lavalair.net (ERROR!)\">";
        echo "<p align=\"center\">";
        echo "<img src=\"images/exit.gif\" alt=\"*\"/>
        ";
        echo "ERROR! cannot connect to database

        ";
        echo "This error happens usually when backing up the database, please be patient, The site will be up any minute

        ";
        echo "you can temperoray be in this site <a href=\"http://dreamworldchat.co.uk/chat\">dreamworld chat</a> while lavalair is offline
        ";
        echo "THANK YOU VERY MUCH";
        echo "</p>";
        echo "</card>";
        echo "</wml>";
        exit();
        }
        $brws = explode(" ",$HTTP_USER_AGENT);
        $ubr = $brws[0];
        $uip = getip();
        $action = $_GET["action"];
        $sid = $_GET["sid"];
        $page = $_GET["page"];
        $who = $_GET["who"];

        $uid = getuid_sid($sid);

        cleardata();
        if(isipbanned($uip,$ubr))
        {
        if(!isshield(getuid_sid($sid)))
        {
        echo "<card id=\"main\" title=\"lavalair.net\">";
        echo "<p align=\"center\">";
        echo "<img src=\"images/notok.gif\" alt=\"x\"/>
        ";
        echo "This IP address is blocked
        ";
        echo "
        ";
        echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over

        ";
        $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty=&#39;2&#39; AND ipadd=&#39;".$uip."&#39; AND browserm=&#39;".$ubr."&#39; LIMIT 1 "));
        //echo mysql_error();
        $remain = $banto[0] - time();
        $rmsg = gettimemsg($remain);
        echo " IP: $rmsg

        ";

        echo "</p>";
        echo "

        ";
        echo "UserID: <input name=\"loguid\" format=\"*x\" maxlength=\"30\"/>
        ";
        echo "Password: <input type=\"password\" name=\"logpwd\" maxlength=\"30\"/>
        ";
        echo "<anchor>LOGIN<go href=\"login.php\" method=\"get\">";
        echo "<postfield name=\"loguid\" value=\"$(loguid)\"/>";
        echo "<postfield name=\"logpwd\" value=\"$(logpwd)\"/>";
        echo "</go></anchor>";
        echo "</p>";
        echo "</card>";
        echo "</wml>";
        exit();
        }
        }
        if(($action != "") && ($action!="terms"))
        {
        $uid = getuid_sid($sid);
        if((islogged($sid)==false)||($uid==0))
        {
        echo "<card id=\"main\" title=\"lavalair.net\">";
        echo "<p align=\"center\">";
        echo "You are not logged in
        ";
        echo "Or Your session has been expired

        ";
        echo "<a href=\"index.php\">Login</a>";
        echo "</p>";
        echo "</card>";
        echo "</wml>";
        exit();
        }



        }
        //echo isbanned($uid);
        if(isbanned($uid))
        {
        echo "<card id=\"main\" title=\"lavalair.net\">";
        echo "<p align=\"center\">";
        echo "<img src=\"images/notok.gif\" alt=\"x\"/>
        ";
        echo "You are Banned
        ";
        $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
        $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

        $remain = $banto[0]- time();
        $rmsg = gettimemsg($remain);
        echo "Time to finish your penalty: $rmsg

        ";
        echo "Ban Reason: $banres[0]";
        //echo "<a href=\"index.php\">Login</a>";
        echo "</p>";
        echo "</card>";
        echo "</wml>";
        exit();
        }
        $res = mysql_query("UPDATE ibwf_users SET browserm=&#39;".$ubr."&#39;, ipadd=&#39;".$uip."&#39; WHERE id=&#39;".getuid_sid($sid)."&#39;");

        ////////////////////////////////////////MAIN PAGE
        if($action=="main")
        {
        addvisitor();
        addonline(getuid_sid($sid),"Forum Index","index.php?action=$action");
        //saveuinfo($sid);

        echo "<card id=\"main\" title=\"lavalair.net\">";
        echo "<p align=\"center\">";
        //echo "".date("D d M y-H:i:s")."
        ";
        echo "".date("D d M y - ")."\n";
        echo "<a href=\"time.php?sid=$sid\">".date("H:i")."</a>
        ";
        echo "<img src=\"images/logo.gif\" alt=\"*\"/>
        ";
        $nick = getnick_sid($sid);
        echo "Hello $nick
        ";
        echo "<a href=\"lists.php?action=faqs&amp;sid=$sid\">»F.A.Q s«</a>
        ";
        $fmsg = htmlspecialchars(getfmsg());
        echo "$fmsg

        ";
        //echo "The temporary chat site is ready, check
        <a href=\"index.php?action=viewfrm&amp;sid=$sid&amp;f id=221\">info boards&gt; Support RW</a>
        ";
        include("popups.php");
        echo "</p>

        ";

        /////inbox data
        $tmsg = getpmcount(getuid_sid($sid));
        $umsg = getunreadpm(getuid_sid($sid));
        //$new_gm = getnewgml(getuid_sid($sid));
        echo "<a href=\"inbox.php?action=main&amp;sid=$sid\">»Inbox ($umsg/$tmsg)</a>
        ";
        /*if($new_gm>0)
        {
        echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a>
        ";
        }*/
        $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
        echo "<a href=\"index.php?action=chat&amp;sid=$sid\">»Chat( $chs[0])</a>
        ";
        $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs"));
        echo "<a href=\"index.php?action=clmenu&amp;sid=$sid\">»Clu bs($chs[0])</a>
        ";
        $uid = getuid_sid($sid);
        $mybuds = getnbuds($uid);
        $onbuds = getonbuds($uid);
        echo "<a href=\"lists.php?action=buds&amp;sid=$sid\">»Buddi es($onbuds/$mybuds)</a>";
        $reqs = getnreqs($uid);
        if($reqs>0)
        {

        echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
        }
        echo "
        ";
        echo "<a href=\"index.php?action=funm&amp;sid=$sid\">»Fun Menu</a>
        ";
        echo "<a href=\"help.php?sid=$sid\">»Help Menu</a>
        ";
        echo "<a href=\"index.php?action=cpanel&amp;sid=$sid\">»CPa nel</a>
        ";
        $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_vault"));
        echo "<a href=\"lists.php?action=vault&amp;sid=$sid\">»Down loads($noi[0])</a>
        ";
        if(ismod($uid))
        {
        $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE reported=&#39;1&#39;"));
        $tot = $tnor[0];
        $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts WHERE reported=&#39;1&#39;"));
        $tot += $tnor[0];
        $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE reported=&#39;1&#39;"));
        $tot += $tnor[0];
        $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_mlog"));
        $tol = $tnol[0];
        if($tol+$tot>0)
        {
        echo "<a href=\"modcp.php?action=main&amp;sid=$sid\">»Mod R/L ($tot/$tol)</a>
        ";
        }

        }
        echo "
        </p>";
        //////
        echo "<p align=\"center\">";
        echo getshoutbox($sid);
        echo "</p>";
        echo "

        ";
        $fcats = mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id");
        $iml = "<img src=\"images/1.gif\" alt=\"*\"/>";
        while($fcat=mysql_fetch_array($fcats))
        {
        $catlink = "<a href=\"index.php?action=viewcat&amp;sid=$sid&amp;c id=$fcat[0]\">$iml$fcat[1]</a>";
        echo "
        $catlink";
        $forums = mysql_query("SELECT id, name FROM ibwf_forums WHERE cid=&#39;".$fcat[0]."&#39; AND clubid=&#39;0&#39; ORDER BY position, id, name");
        if(getfview()==0)
        {
        echo "
        <small>";
        while($forum=mysql_fetch_array($forums))
        {
        if(canaccess(getuid_sid($sid),$forum[0]))
        {

        echo "<a href=\"index.php?action=viewfrm&amp;sid=$sid&amp;f id=$forum[0]\">$forum[1]</a>, ";
        }
        }
        echo "
        ";
        }else if(getfview()==20)
        {
        echo "
        Forums: <select name=\"fid\">";
        while($forum=mysql_fetch_array($forums))
        {
        if(canaccess(getuid_sid($sid),$forum[0]))
        {
        $notp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE fid=&#39;".$forum[0]."&#39;"));
        echo "<option value=\"$forum[0]\">$forum[1]($notp[0])</option>";
        }
        }
        echo "</select>";
        echo "<anchor>[GO]";
        echo "<go href=\"index.php\" method=\"get\">";
        echo "<postfield name=\"action\" value=\"viewfrm\"/>";
        echo "<postfield name=\"sid\" value=\"$sid\"/>";
        echo "<postfield name=\"fid\" value=\"$(fid)\"/>";
        echo "</go>";
        echo "</anchor>";
        }

        }
        echo "</small></p>";
        echo "<p align=\"center\">";



        echo "";
        echo "Members Online: <a href=\"index.php?action=online&amp;sid=$sid\">".ge tnumonline()."</a>
        ";
        $timeout = 180;
        $timeon = time()-$timeout;
        $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeon."&#39;"));
        echo "Staff Online: <a href=\"index.php?action=stfol&amp;sid=$sid\">".$no i[0]."</a>
        ";
        echo "
        <a href=\"index.php?action=stats&amp;sid=$sid\">Site Stats</a>
        ";
        echo "<a href=\"index.php?action=search&amp;sid=$sid\">Sear ch</a>
        ";
        echo "<a href=\"index.php?action=terms&amp;sid=$sid\">Terms of use</a>
        ";
        echo "
        ";

        echo "lavalair 2006©
        ";
        if (isadmin(getuid_sid($sid)))
        {
        echo "<a href=\"index.php?action=admincp&amp;sid=$sid\">Adm in CP</a>";
        }
        echo "
        </p>";
        echo "</card>";
        }

        else if($action=="clmop")
        {
        $clid = $_GET["clid"];
        $who = $_GET["who"];
        addonline(getuid_sid($sid),"Moderating Club Member","");
        echo "<card id=\"main\" title=\"Moderate Member\">";
        echo "<p align=\"center\">";
        $whnick = getnick_uid($who);
        echo "$whnick";
        echo "</p>";
        echo "

        ";
        $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
        $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
        if($exs[0]>0 && $cow[0]>0)
        {
        echo "<a href=\"genproc.php?action=dcm&amp;sid=$sid&amp;who =$who&amp;clid=$clid\">»Kick $whnick out</a>
        ";
        echo "<a href=\"index.php?action=gcp&amp;sid=$sid&amp;who=$ who&amp;clid=$clid\">»$whnick&#39;s Club Points</a>
        ";
        echo "<a href=\"index.php?action=gpl&amp;sid=$sid&amp;who=$ who&amp;clid=$clid\">»Give $whnick Plusses</a>
        ";
        }else{
        echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
        }
        echo "</p>";

        echo "<p align=\"center\">";

        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
        echo "Home</a>";
        echo "</p>";
        echo "</card>";
        }

        else if($action=="gcp")
        {
        $clid = $_GET["clid"];
        $who = $_GET["who"];
        addonline(getuid_sid($sid),"Moderating Club Member","");
        echo "<card id=\"main\" title=\"Moderate Member\">";
        echo "<p align=\"center\">";
        $whnick = getnick_uid($who);
        echo "$whnick";
        echo "</p>";
        echo "

        ";
        $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
        $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
        if($exs[0]>0 && $cow[0]>0)
        {
        echo "Action: <select name=\"giv\">";
        echo "<option value=\"1\">Add</option>";
        echo "<option value=\"0\">Subtract</option>";
        echo "</select>
        ";
        echo "Points: <input name=\"pnt\" format=\"*N\" size=\"2\" maxlength=\"2\"/>
        ";
        echo "<anchor>[GO]";
        echo "<go href=\"genproc.php?action=gcp&amp;sid=$sid&amp;who =$who&amp;clid=$clid\" method=\"post\">";
        echo "<postfield name=\"giv\" value=\"$(giv)\"/>";
        echo "<postfield name=\"pnt\" value=\"$(pnt)\"/>";
        echo "</go></anchor>";
        }else{
        echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
        }
        echo "</p>";

        echo "<p align=\"center\">";

        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
        echo "Home</a>";
        echo "</p>";
        echo "</card>";
        }

        else if($action=="gpl")
        {
        $clid = $_GET["clid"];
        $who = $_GET["who"];
        addonline(getuid_sid($sid),"Moderating Club Member","");
        echo "<card id=\"main\" title=\"Moderate Member\">";
        echo "<p align=\"center\">";
        $whnick = getnick_uid($who);
        echo "$whnick";
        echo "</p>";
        echo "

        ";
        $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
        $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
        if($exs[0]>0 && $cow[0]>0)
        {
        echo "<img src=\"images/point.gif\" alt=\"!\"/>You can only give plusses, these are real plusses, you can&#39;t subtract plusses
        ";
        $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_clubs WHERE id=&#39;".$clid."&#39;"));
        echo "<img src=\"images/point.gif\" alt=\"!\"/>Your club plusses credit is $cpl[0]
        ";
        echo "<img src=\"images/point.gif\" alt=\"!\"/>Do not abuse giving of plusses to users, your club could be deleted

        ";
        echo "Plusses: <input name=\"pnt\" format=\"*N\" size=\"2\" maxlength=\"2\"/>
        ";
        echo "<anchor>[GO]";
        echo "<go href=\"genproc.php?action=gpl&amp;sid=$sid&amp;who =$who&amp;clid=$clid\" method=\"post\">";
        echo "<postfield name=\"pnt\" value=\"$(pnt)\"/>";
        echo "</go></anchor>";
        }else{
        echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
        }
        echo "</p>";

        echo "<p align=\"center\">";

        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
        echo "Home</a>";
        echo "</p>";
        echo "</card>";
        }

        </wml>

        include("popups.php"); got it now ??
        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


          #34
          <?php
          /*
          IrisBlaze wap forum
          by Ra&#39;ed Shabana
          */
          //» »
          //« «
          include("config.php");
          include("core.php");
          //session_start();
          header("Content-type: text/vnd.wap.wml");
          header("Cache-Control: no-store, no-cache, must-revalidate");
          echo("<?xml version=\"1.0\"?>");
          echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

          ?>

          <wml>
          <?php

          $bcon = connectdb();
          if (!$bcon)
          {
          echo "<card id=\"main\" title=\"lavalair.net (ERROR!)\">";
          echo "<p align=\"center\">";
          echo "<img src=\"images/exit.gif\" alt=\"*\"/>
          ";
          echo "ERROR! cannot connect to database

          ";
          echo "This error happens usually when backing up the database, please be patient, The site will be up any minute

          ";
          echo "you can temperoray be in this site <a href=\"http://dreamworldchat.co.uk/chat\">dreamworld chat</a> while lavalair is offline
          ";
          echo "THANK YOU VERY MUCH";
          echo "</p>";
          echo "</card>";
          echo "</wml>";
          exit();
          }
          $brws = explode(" ",$HTTP_USER_AGENT);
          $ubr = $brws[0];
          $uip = getip();
          $action = $_GET["action"];
          $sid = $_GET["sid"];
          $page = $_GET["page"];
          $who = $_GET["who"];

          $uid = getuid_sid($sid);

          cleardata();
          if(isipbanned($uip,$ubr))
          {
          if(!isshield(getuid_sid($sid)))
          {
          echo "<card id=\"main\" title=\"lavalair.net\">";
          echo "<p align=\"center\">";
          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
          ";
          echo "This IP address is blocked
          ";
          echo "
          ";
          echo "How ever we grant a shield against IP-Ban for our great users, you can try to see if you are shielded by trying to log-in, if you kept coming to this page that means you are not shielded, so come back when the ip-ban period is over

          ";
          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty=&#39;2&#39; AND ipadd=&#39;".$uip."&#39; AND browserm=&#39;".$ubr."&#39; LIMIT 1 "));
          //echo mysql_error();
          $remain = $banto[0] - time();
          $rmsg = gettimemsg($remain);
          echo " IP: $rmsg

          ";

          echo "</p>";
          echo "

          ";
          echo "UserID: <input name=\"loguid\" format=\"*x\" maxlength=\"30\"/>
          ";
          echo "Password: <input type=\"password\" name=\"logpwd\" maxlength=\"30\"/>
          ";
          echo "<anchor>LOGIN<go href=\"login.php\" method=\"get\">";
          echo "<postfield name=\"loguid\" value=\"$(loguid)\"/>";
          echo "<postfield name=\"logpwd\" value=\"$(logpwd)\"/>";
          echo "</go></anchor>";
          echo "</p>";
          echo "</card>";
          echo "</wml>";
          exit();
          }
          }
          if(($action != "") && ($action!="terms"))
          {
          $uid = getuid_sid($sid);
          if((islogged($sid)==false)||($uid==0))
          {
          echo "<card id=\"main\" title=\"lavalair.net\">";
          echo "<p align=\"center\">";
          echo "You are not logged in
          ";
          echo "Or Your session has been expired

          ";
          echo "<a href=\"index.php\">Login</a>";
          echo "</p>";
          echo "</card>";
          echo "</wml>";
          exit();
          }



          }
          //echo isbanned($uid);
          if(isbanned($uid))
          {
          echo "<card id=\"main\" title=\"lavalair.net\">";
          echo "<p align=\"center\">";
          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
          ";
          echo "You are Banned
          ";
          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
          $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));

          $remain = $banto[0]- time();
          $rmsg = gettimemsg($remain);
          echo "Time to finish your penalty: $rmsg

          ";
          echo "Ban Reason: $banres[0]";
          //echo "<a href=\"index.php\">Login</a>";
          echo "</p>";
          echo "</card>";
          echo "</wml>";
          exit();
          }
          $res = mysql_query("UPDATE ibwf_users SET browserm=&#39;".$ubr."&#39;, ipadd=&#39;".$uip."&#39; WHERE id=&#39;".getuid_sid($sid)."&#39;");

          ////////////////////////////////////////MAIN PAGE
          if($action=="main")
          {
          addvisitor();
          addonline(getuid_sid($sid),"Forum Index","index.php?action=$action");
          //saveuinfo($sid);

          echo "<card id=\"main\" title=\"lavalair.net\">";
          echo "<p align=\"center\">";
          //echo "".date("D d M y-H:i:s")."
          ";
          echo "".date("D d M y - ")."\n";
          echo "<a href=\"time.php?sid=$sid\">".date("H:i")."</a>
          ";
          echo "<img src=\"images/logo.gif\" alt=\"*\"/>
          ";
          $nick = getnick_sid($sid);
          echo "Hello $nick
          ";
          echo "<a href=\"lists.php?action=faqs&amp;sid=$sid\">»F.A.Q s«</a>
          ";
          $fmsg = htmlspecialchars(getfmsg());
          echo "$fmsg

          ";
          //echo "The temporary chat site is ready, check
          <a href=\"index.php?action=viewfrm&amp;sid=$sid&amp;f id=221\">info boards&gt; Support RW</a>
          ";
          include("popups.php");
          echo "</p>

          ";

          /////inbox data
          $tmsg = getpmcount(getuid_sid($sid));
          $umsg = getunreadpm(getuid_sid($sid));
          //$new_gm = getnewgml(getuid_sid($sid));
          echo "<a href=\"inbox.php?action=main&amp;sid=$sid\">»Inbox ($umsg/$tmsg)</a>
          ";
          /*if($new_gm>0)
          {
          echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a>
          ";
          }*/
          $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
          echo "<a href=\"index.php?action=chat&amp;sid=$sid\">»Chat( $chs[0])</a>
          ";
          $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs"));
          echo "<a href=\"index.php?action=clmenu&amp;sid=$sid\">»Clu bs($chs[0])</a>
          ";
          $uid = getuid_sid($sid);
          $mybuds = getnbuds($uid);
          $onbuds = getonbuds($uid);
          echo "<a href=\"lists.php?action=buds&amp;sid=$sid\">»Buddi es($onbuds/$mybuds)</a>";
          $reqs = getnreqs($uid);
          if($reqs>0)
          {

          echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
          }
          echo "
          ";
          echo "<a href=\"index.php?action=funm&amp;sid=$sid\">»Fun Menu</a>
          ";
          echo "<a href=\"help.php?sid=$sid\">»Help Menu</a>
          ";
          echo "<a href=\"index.php?action=cpanel&amp;sid=$sid\">»CPa nel</a>
          ";
          $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_vault"));
          echo "<a href=\"lists.php?action=vault&amp;sid=$sid\">»Down loads($noi[0])</a>
          ";
          if(ismod($uid))
          {
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE reported=&#39;1&#39;"));
          $tot = $tnor[0];
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts WHERE reported=&#39;1&#39;"));
          $tot += $tnor[0];
          $tnor = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE reported=&#39;1&#39;"));
          $tot += $tnor[0];
          $tnol = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_mlog"));
          $tol = $tnol[0];
          if($tol+$tot>0)
          {
          echo "<a href=\"modcp.php?action=main&amp;sid=$sid\">»Mod R/L ($tot/$tol)</a>
          ";
          }

          }
          echo "
          </p>";
          //////
          echo "<p align=\"center\">";
          echo getshoutbox($sid);
          echo "</p>";
          echo "

          ";
          $fcats = mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id");
          $iml = "<img src=\"images/1.gif\" alt=\"*\"/>";
          while($fcat=mysql_fetch_array($fcats))
          {
          $catlink = "<a href=\"index.php?action=viewcat&amp;sid=$sid&amp;c id=$fcat[0]\">$iml$fcat[1]</a>";
          echo "
          $catlink";
          $forums = mysql_query("SELECT id, name FROM ibwf_forums WHERE cid=&#39;".$fcat[0]."&#39; AND clubid=&#39;0&#39; ORDER BY position, id, name");
          if(getfview()==0)
          {
          echo "
          <small>";
          while($forum=mysql_fetch_array($forums))
          {
          if(canaccess(getuid_sid($sid),$forum[0]))
          {

          echo "<a href=\"index.php?action=viewfrm&amp;sid=$sid&amp;f id=$forum[0]\">$forum[1]</a>, ";
          }
          }
          echo "
          ";
          }else if(getfview()==20)
          {
          echo "
          Forums: <select name=\"fid\">";
          while($forum=mysql_fetch_array($forums))
          {
          if(canaccess(getuid_sid($sid),$forum[0]))
          {
          $notp = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_topics WHERE fid=&#39;".$forum[0]."&#39;"));
          echo "<option value=\"$forum[0]\">$forum[1]($notp[0])</option>";
          }
          }
          echo "</select>";
          echo "<anchor>[GO]";
          echo "<go href=\"index.php\" method=\"get\">";
          echo "<postfield name=\"action\" value=\"viewfrm\"/>";
          echo "<postfield name=\"sid\" value=\"$sid\"/>";
          echo "<postfield name=\"fid\" value=\"$(fid)\"/>";
          echo "</go>";
          echo "</anchor>";
          }

          }
          echo "</small></p>";
          echo "<p align=\"center\">";



          echo "";
          echo "Members Online: <a href=\"index.php?action=online&amp;sid=$sid\">".ge tnumonline()."</a>
          ";
          $timeout = 180;
          $timeon = time()-$timeout;
          $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeon."&#39;"));
          echo "Staff Online: <a href=\"index.php?action=stfol&amp;sid=$sid\">".$no i[0]."</a>
          ";
          echo "
          <a href=\"index.php?action=stats&amp;sid=$sid\">Site Stats</a>
          ";
          echo "<a href=\"index.php?action=search&amp;sid=$sid\">Sear ch</a>
          ";
          echo "<a href=\"index.php?action=terms&amp;sid=$sid\">Terms of use</a>
          ";
          echo "
          ";

          echo "lavalair 2006©
          ";
          if (isadmin(getuid_sid($sid)))
          {
          echo "<a href=\"index.php?action=admincp&amp;sid=$sid\">Adm in CP</a>";
          }
          echo "
          </p>";
          echo "</card>";
          }

          else if($action=="clmop")
          {
          $clid = $_GET["clid"];
          $who = $_GET["who"];
          addonline(getuid_sid($sid),"Moderating Club Member","");
          echo "<card id=\"main\" title=\"Moderate Member\">";
          echo "<p align=\"center\">";
          $whnick = getnick_uid($who);
          echo "$whnick";
          echo "</p>";
          echo "

          ";
          $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
          $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
          if($exs[0]>0 && $cow[0]>0)
          {
          echo "<a href=\"genproc.php?action=dcm&amp;sid=$sid&amp;who =$who&amp;clid=$clid\">»Kick $whnick out</a>
          ";
          echo "<a href=\"index.php?action=gcp&amp;sid=$sid&amp;who=$ who&amp;clid=$clid\">»$whnick&#39;s Club Points</a>
          ";
          echo "<a href=\"index.php?action=gpl&amp;sid=$sid&amp;who=$ who&amp;clid=$clid\">»Give $whnick Plusses</a>
          ";
          }else{
          echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
          }
          echo "</p>";

          echo "<p align=\"center\">";

          echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
          echo "</p>";
          echo "</card>";
          }

          else if($action=="gcp")
          {
          $clid = $_GET["clid"];
          $who = $_GET["who"];
          addonline(getuid_sid($sid),"Moderating Club Member","");
          echo "<card id=\"main\" title=\"Moderate Member\">";
          echo "<p align=\"center\">";
          $whnick = getnick_uid($who);
          echo "$whnick";
          echo "</p>";
          echo "

          ";
          $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
          $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
          if($exs[0]>0 && $cow[0]>0)
          {
          echo "Action: <select name=\"giv\">";
          echo "<option value=\"1\">Add</option>";
          echo "<option value=\"0\">Subtract</option>";
          echo "</select>
          ";
          echo "Points: <input name=\"pnt\" format=\"*N\" size=\"2\" maxlength=\"2\"/>
          ";
          echo "<anchor>[GO]";
          echo "<go href=\"genproc.php?action=gcp&amp;sid=$sid&amp;who =$who&amp;clid=$clid\" method=\"post\">";
          echo "<postfield name=\"giv\" value=\"$(giv)\"/>";
          echo "<postfield name=\"pnt\" value=\"$(pnt)\"/>";
          echo "</go></anchor>";
          }else{
          echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
          }
          echo "</p>";

          echo "<p align=\"center\">";

          echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
          echo "</p>";
          echo "</card>";
          }

          else if($action=="gpl")
          {
          $clid = $_GET["clid"];
          $who = $_GET["who"];
          addonline(getuid_sid($sid),"Moderating Club Member","");
          echo "<card id=\"main\" title=\"Moderate Member\">";
          echo "<p align=\"center\">";
          $whnick = getnick_uid($who);
          echo "$whnick";
          echo "</p>";
          echo "

          ";
          $exs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubmembers WHERE uid=&#39;".$who."&#39; AND clid=".$clid.""));
          $cow = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs WHERE owner=&#39;".$uid."&#39; AND id=".$clid.""));
          if($exs[0]>0 && $cow[0]>0)
          {
          echo "<img src=\"images/point.gif\" alt=\"!\"/>You can only give plusses, these are real plusses, you can&#39;t subtract plusses
          ";
          $cpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_clubs WHERE id=&#39;".$clid."&#39;"));
          echo "<img src=\"images/point.gif\" alt=\"!\"/>Your club plusses credit is $cpl[0]
          ";
          echo "<img src=\"images/point.gif\" alt=\"!\"/>Do not abuse giving of plusses to users, your club could be deleted

          ";
          echo "Plusses: <input name=\"pnt\" format=\"*N\" size=\"2\" maxlength=\"2\"/>
          ";
          echo "<anchor>[GO]";
          echo "<go href=\"genproc.php?action=gpl&amp;sid=$sid&amp;who =$who&amp;clid=$clid\" method=\"post\">";
          echo "<postfield name=\"pnt\" value=\"$(pnt)\"/>";
          echo "</go></anchor>";
          }else{
          echo "<img src=\"images/notok.gif\" alt=\"X\"/>Missing Info!";
          }
          echo "</p>";

          echo "<p align=\"center\">";

          echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
          echo "</p>";
          echo "</card>";
          }

          </wml>

          include("popups.php"); got it now ??[/b]
          but what about the code where will i put this one..
          Code:
          <?php
          $uid = getuid_sid($sid);
          $nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_pops WHERE touid=&#39;".$uid."&#39; AND unread=&#39;1&#39;"));
          if($nopop[0]>0){$sql ="SELECT * FROM fun_pops where touid=&#39;".$uid."&#39; AND unread = &#39;1&#39; ORDER BY id LIMIT  1";
          $pd = mysql_query($sql);while ($pop = mysql_fetch_array($pd))  {$id = mysql_fetch_array(mysql_query("SELECT touid FROM fun_pops WHERE touid=&#39;".$uid."&#39;"));  
          if($uid==$id[0])  {    $chread = mysql_query("UPDATE fun_pops SET unread=&#39;0&#39; WHERE id=&#39;".$pop[0]."&#39;");
            }$dtop = date("d/m/y - H:i:s",$pop[5]);
          $by = getnick_uid($pop[2]);$msg = htmlspecialchars($pop[1]);
          echo "
          [b]$by:[/b] $msg - $dtop
          ";
          echo "<a href=\"lists.php?action=sendto&amp;sid=$sid&amp;who=$pop[2]\">RELPY</a>";
          echo "
          ---";  }}?>

          Comment


            #35
            dude as i said



            popups.php


            is the file of

            Code:
            <?php
            $uid = getuid_sid($sid);
            $nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_pops WHERE touid=&#39;".$uid."&#39; AND unread=&#39;1&#39;"));
            if($nopop[0]>0){$sql ="SELECT * FROM fun_pops where touid=&#39;".$uid."&#39; AND unread = &#39;1&#39; ORDER BY id LIMIT  1";
            $pd = mysql_query($sql);while ($pop = mysql_fetch_array($pd))  {$id = mysql_fetch_array(mysql_query("SELECT touid FROM fun_pops WHERE touid=&#39;".$uid."&#39;"));  
            if($uid==$id[0])  {    $chread = mysql_query("UPDATE fun_pops SET unread=&#39;0&#39; WHERE id=&#39;".$pop[0]."&#39;");
              }$dtop = date("d/m/y - H:i:s",$pop[5]);
            $by = getnick_uid($pop[2]);$msg = htmlspecialchars($pop[1]);
            echo "
            [b]$by:[/b] $msg - $dtop
            ";
            echo "<a href=\"lists.php?action=sendto&amp;sid=$sid&amp;who=$pop[2]\">RELPY</a>";
            echo "
            ---";  }}?>
            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


              #36
              dude as i said
              popups.php
              is the file of

              Code:
              <?php
              $uid = getuid_sid($sid);
              $nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_pops WHERE touid=&#39;".$uid."&#39; AND unread=&#39;1&#39;"));
              if($nopop[0]>0){$sql ="SELECT * FROM fun_pops where touid=&#39;".$uid."&#39; AND unread = &#39;1&#39; ORDER BY id LIMIT  1";
              $pd = mysql_query($sql);while ($pop = mysql_fetch_array($pd))  {$id = mysql_fetch_array(mysql_query("SELECT touid FROM fun_pops WHERE touid=&#39;".$uid."&#39;"));  
              if($uid==$id[0])  {    $chread = mysql_query("UPDATE fun_pops SET unread=&#39;0&#39; WHERE id=&#39;".$pop[0]."&#39;");
                }$dtop = date("d/m/y - H:i:s",$pop[5]);
              $by = getnick_uid($pop[2]);$msg = htmlspecialchars($pop[1]);
              echo "
              [b]$by:[/b] $msg - $dtop
              ";
              echo "<a href=\"lists.php?action=sendto&amp;sid=$sid&amp;who=$pop[2]\">RELPY</a>";
              echo "
              ---";  }}?>
              [/b]
              should i include this in popups.php?

              Comment


                #37
                yes here the code lol
                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


                  #38
                  yes here the code lol[/b]
                  but what about this code?
                  where should i place this?
                  Code:
                  <?php
                  header("Content-type: text/vnd.wap.wml");
                  header("Cache-Control: no-store, no-cache, must-revalidate");
                  echo("<?xml version=\"1.0\"?>");
                  echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                  ?>
                  <wml>
                  <?php
                  include("config.php");
                  include("core.php");
                  connectdb();
                  $action = $_GET[&#39;action&#39;];
                  $sid = $_GET[&#39;sid&#39;];
                  $page = $_GET[&#39;page&#39;];
                  $who = $_GET[&#39;who&#39;];
                  $pmid = $_GET[&#39;pmid&#39;];
                  if(islogged($sid)==false)
                  {
                      echo "<card id=\"main\" title=\"$sitename\">";
                        echo "<p align=\"center\">";
                        echo "You are not logged in
                  ";
                        echo "Or Your session has been expired
                  
                  ";
                        echo "<a href=\"index.php\">Login</a>";
                        echo "</p>";
                        echo "</card>";
                        echo "</wml>";
                        exit();
                  }
                  $uid = getuid_sid($sid);
                  if(isbanned($uid))
                      {
                          echo "<card id=\"main\" title=\"$sitename\">";
                        echo "<p align=\"center\">";
                        echo "<img src=\"images/notok.gif\" alt=\"x\"/>
                  ";
                        echo "You are [b]Banned[/b]
                  ";
                        $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
                        $remain = $banto[0]- time();
                        $rmsg = gettimemsg($remain);
                        echo "Time to finish your penalty: $rmsg
                  
                  ";
                        //echo "<a href=\"index.php\">Login</a>";
                        echo "</p>";
                        echo "</card>";
                        echo "</wml>";
                        exit();
                      }
                  
                  
                  else if($action=="send")
                  {
                  addonline(getuid_sid($sid),"Sending pop-up MSG","");
                  echo "<card id=\"main\" title=\"sent!!\">";
                  echo "<p align=\"center\">";
                  $whonick = getnick_uid($who);
                  $byuid = getuid_sid($sid);
                  $tm = time();
                  
                  $res = mysql_query("INSERT INTO fun_pops SET text=&#39;".$msg."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
                  
                  
                  
                      echo "<img src=\"images/sent.gif\" alt=\"O\"/>
                  ";
                      echo "Popup Message Sent to $whonick!
                  ";
                  
                      
                  echo "
                  ---
                  <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                  echo "</p>";
                  echo "</card>";
                  echo "</wml>";
                  exit();
                  
                  }
                  else if($action=="sendto"){
                  
                  $who = $_get[&#39;who&#39;];
                  
                  addonline(getuid_sid($sid),"Sending pop-up MSG","");
                  echo "<card id=\"main\" title=\"popups\">";
                  echo "<p align=\"center\">";
                  echo "$getbuttons 
                  ";
                  
                  $who = $_get[&#39;who&#39;];
                  
                  
                  $whonick = getnick_uid($who);
                  $byuid = getuid_sid($sid);
                  
                  echo "<input name=\"msg\" maxlength=\"150\"/>
                  ";
                  echo "<anchor>SEND<go href=\"popus.php?action=send&amp;who=$who&amp;sid=$sid\" method=\"post\">";
                  echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
                  echo "</go></anchor>
                  ";
                  
                  
                  echo "
                  
                  -
                  
                  <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>
                  ";
                  }
                  echo "</p>";
                  echo "</card>";
                  ?>
                  </wml>

                  Comment


                    #39
                    ok change ya plans!!


                    ok use this


                    make a file [ 1.php ] !! right

                    include("1.php"); anywhere you like it to show!!

                    place this in it!!

                    Code:
                    <?php
                    $uid = getuid_sid($sid);
                    $nopop = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM fun_pops WHERE touid=&#39;".$uid."&#39; AND unread=&#39;1&#39;"));
                    if($nopop[0]>0){$sql ="SELECT * FROM fun_pops where touid=&#39;".$uid."&#39; AND unread = &#39;1&#39; ORDER BY id LIMIT  1";
                    $pd = mysql_query($sql);while ($pop = mysql_fetch_array($pd))  {$id = mysql_fetch_array(mysql_query("SELECT touid FROM fun_pops WHERE touid=&#39;".$uid."&#39;"));  
                    if($uid==$id[0])  {    $chread = mysql_query("UPDATE fun_pops SET unread=&#39;0&#39; WHERE id=&#39;".$pop[0]."&#39;");
                      }$dtop = date("d/m/y - H:i:s",$pop[5]);
                    $by = getnick_uid($pop[2]);$msg = htmlspecialchars($pop[1]);
                    echo "
                    [b]$by:[/b] $msg - $dtop
                    ";
                    echo "<a href=\"lists.php?action=sendto&amp;sid=$sid&amp;who=$pop[2]\">RELPY</a>";
                    echo "
                    ---";  }}?>
                    ============================done================== ==================
                    now make popups.php

                    place this code in it

                    Code:
                    <?php
                    header("Content-type: text/vnd.wap.wml");
                    header("Cache-Control: no-store, no-cache, must-revalidate");
                    echo("<?xml version=\"1.0\"?>");
                    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                    ?>
                    <wml>
                    <?php
                    include("config.php");
                    include("core.php");
                    connectdb();
                    $action = $_GET[&#39;action&#39;];
                    $sid = $_GET[&#39;sid&#39;];
                    $page = $_GET[&#39;page&#39;];
                    $who = $_GET[&#39;who&#39;];
                    $pmid = $_GET[&#39;pmid&#39;];
                    if(islogged($sid)==false)
                    {
                        echo "<card id=\"main\" title=\"$sitename\">";
                          echo "<p align=\"center\">";
                          echo "You are not logged in
                    ";
                          echo "Or Your session has been expired
                    
                    ";
                          echo "<a href=\"index.php\">Login</a>";
                          echo "</p>";
                          echo "</card>";
                          echo "</wml>";
                          exit();
                    }
                    $uid = getuid_sid($sid);
                    if(isbanned($uid))
                        {
                            echo "<card id=\"main\" title=\"$sitename\">";
                          echo "<p align=\"center\">";
                          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
                    ";
                          echo "You are [b]Banned[/b]
                    ";
                          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid=&#39;".$uid."&#39; AND penalty=&#39;1&#39;"));
                          $remain = $banto[0]- time();
                          $rmsg = gettimemsg($remain);
                          echo "Time to finish your penalty: $rmsg
                    
                    ";
                          //echo "<a href=\"index.php\">Login</a>";
                          echo "</p>";
                          echo "</card>";
                          echo "</wml>";
                          exit();
                        }
                    
                    
                    else if($action=="send")
                    {
                    addonline(getuid_sid($sid),"Sending pop-up MSG","");
                    echo "<card id=\"main\" title=\"sent!!\">";
                    echo "<p align=\"center\">";
                    $whonick = getnick_uid($who);
                    $byuid = getuid_sid($sid);
                    $tm = time();
                    
                    $res = mysql_query("INSERT INTO fun_pops SET text=&#39;".$msg."&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$who."&#39;, timesent=&#39;".$tm."&#39;");
                    
                    
                    
                        echo "<img src=\"images/sent.gif\" alt=\"O\"/>
                    ";
                        echo "Popup Message Sent to $whonick!
                    ";
                    
                        
                    echo "
                    ---
                    <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";
                    echo "</p>";
                    echo "</card>";
                    echo "</wml>";
                    exit();
                    
                    }
                    else if($action=="sendto"){
                    
                    $who = $_get[&#39;who&#39;];
                    
                    addonline(getuid_sid($sid),"Sending pop-up MSG","");
                    echo "<card id=\"main\" title=\"popups\">";
                    echo "<p align=\"center\">";
                    echo "$getbuttons 
                    ";
                    
                    $who = $_get[&#39;who&#39;];
                    
                    
                    $whonick = getnick_uid($who);
                    $byuid = getuid_sid($sid);
                    
                    echo "<input name=\"msg\" maxlength=\"150\"/>
                    ";
                    echo "<anchor>SEND<go href=\"popus.php?action=send&amp;who=$who&amp;sid=$sid\" method=\"post\">";
                    echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
                    echo "</go></anchor>
                    ";
                    
                    
                    echo "
                    
                    -
                    
                    <a href=\"index.php?action=main&amp;sid=$sid\">Home</a>
                    ";
                    }
                    echo "</p>";
                    echo "</card>";
                    ?>
                    </wml>
                    ====================done==============
                    try that now get the code for lists in list code ok
                    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


                      #40
                      ====================done==============
                      try that now get the code for lists in list code ok[/b]
                      tnx.. i&#39;ll try that.. tnx a lot..

                      Comment


                        #41
                        try that will work for ya im tried lol
                        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


                          #42
                          <#thank#>

                          Comment


                            #43
                            try that will work for ya im tried lol[/b]
                            tnx sub.. it works.. man u got d geez..

                            Comment


                              #44
                              try that will work for ya im tried lol[/b]
                              is it possible to enable smilies in popup msg? post the code here..

                              Comment


                                #45
                                In popups.php

                                $dtop = date("d/m/y - H:i ",$pop[5]);
                                $by = getnick_uid($pop[2]);
                                $msg = htmlspecialchars($pop[1]);


                                Change to $msg

                                $msg = parsepm($pop[1], $sid);

                                Comment

                                Working...
                                X