Community Script like this... [Help]

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

    Community Script like this... [Help]

    I've been searching for the whole day looking for a script like AspireWap.net, unfortunately, i did'nt found anything. can anyone provide/help me to have those kind of community script?

    #2
    LoL Still lavalair modded to index can't hide the true script kids you need to code better then that ...
    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


      #3
      Originally posted by subzero View Post
      LoL Still lavalair modded to index can't hide the true script kids you need to code better then that ...
      nope.. that one aint moded from lava... ;)
      It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
      ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
      ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
      キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

      Comment


        #4
        So the holes is same as lava lol ? Nice they can't code as well 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


          #5
          Originally posted by subzero View Post
          So the holes is same as lava lol ? Nice they can't code as well lol
          i'm not 100% sure but
          i think it's moded from this script
          Attached Files
          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

          Comment


            #6
            lava modded ejatd sc

            Comment


              #7
              yes lavalair script modded as ejat(malaysian community) which has been shared already ;)
              com site: http://vampist.net
              download site: http://wapdloads.net
              fb: http://www.facebook.com/pmplx

              Comment


                #8
                @metulj i got an error with your posted script malaysiawap ---> Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\malaysia\_SRC\home.php on line 107


                what should i do to fix the error?

                Added after 35 minutes:

                <?php

                $user = new User();
                if($ref=="home"){
                addonline($u, "Home");
                $theme->MenuDiv(1);
                if(isset($_POST["status"])){
                echo $user->Status($_POST["statustext"]);
                }

                echo "wap maseh terbengkalai, gune lah inbox tu dahulu ye";
                $theme->Alert();
                /*
                $theme->Div("Item");
                echo "<big><b>Status</b></big><br/>";
                $stat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM status WHERE user='".$u."'"));
                $statlike = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE who='".$u."'"));
                $status = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE user='".$u."' ORDER BY sent DESC"));


                $stlike = mysql_fetch_array(mysql_query("SELECT * FROM statuslike WHERE refid='".$status[id]."'"));

                $statuscom = $user->CountTable("statuscomment", $status[id]);
                $statuslike = $user->CountTable("statuslike", $status[id]);
                if($stat[0]==0){
                $mes = "Whats on your mind?";
                }else{
                $timesent = remaining($status[sent], 1*60*60);
                $mes = "$status[text] $timesent";
                }


                if($do=="status"){
                echo "<form action=\"$path??a=home&amp;ref=home\" method=\"POST\">";
                echo "$mes<br/>";
                echo "<input type=\"text\" name=\"statustext\" class=\"input\" maxlength=\"255\"/><br/>";
                echo "<input type=\"submit\" name=\"status\" value=\"Update\" class=\"button\"/><a href=\"$path?a=home&amp;ref=home\">Cancel</a></form> ";
                }else{
                echo "$mes<br/>";
                echo "<a href=\"$path?a=home&amp;ref=$ref&amp;do=status\">U pdate</a><br/>";
                if($stat[0]>0){

                if($statlike[0]==0){
                $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=like\">Like</a>";
                }else{
                $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=unlike&amp;li=$stlike[0]\">Unlike </a>";
                }


                echo "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]\">$statuscom Comment</a> - $like<br/>";
                if($statuslike>0){
                echo "<a href=\"$path?a=home&amp;ref=statuslike&amp;i=$stat us[id]\">$statuslike people like this</a>";
                }
                }
                }

                $theme->Div("D", true);
                */



                $theme->Div("Item");
                echo "<b>Shoutbox</b><br/>";


                if(isset($_POST["submit"])){
                echo "<br/>";
                echo addShout($_POST["shout"], $u, $s);
                }
                echo getShout($u, $s, TRUE);
                if(level($u, 1)){
                $textmsg = "250";
                }else{
                $textmsg = "150";
                }
                echo "<form action=\"$path?a=$a&amp;s=$s\" method=\"post\">";
                echo "<input type=\"text\" name=\"shout\" class=\"input\" maxlength=\"$textmsg\"/><br/>";
                echo "<input type=\"submit\" name=\"submit\" value=\"Shouted\" class=\"submit\"/></form>";
                }


                $theme->Div("D", true);

                $theme->Div("Item");
                echo "<a href=\"$path?a=inbox\">Inbox</a>";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "<a href=\"$path?a=profile&amp;w=$u\">Profile</a>";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "<a href=\"$path?a=online\">Online</a>";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "Friends";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "Forums";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "Chats";
                $theme->Div("D", true);
                $theme->Div("Item");
                echo "Diary";
                $theme->Div("D", true);
                $theme->MenuDiv(1);

                }else if($ref=="status"){
                $theme->MenuDiv(1);

                if($i==""){
                echo "Invalid ref ID";
                }else{



                if(isset($_POST["submit"])){
                echo $user->AddComment("statuscomment", $_POST["comment"], $i);
                }else if($do=="like"){
                echo $user->AddLike("statuslike", $i);
                }else if($do=="unlike"){
                echo $user->RemoveLike("statuslike", $_GET["li"]);}


                $data = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'"));
                $theme->Div("Item");
                echo "$data[text] ".remaining($data[sent], 1*60*60)."<br/>";

                echo "<form action=\"$path??a=home&amp;ref=status&amp;i=$i\" method=\"POST\">";
                echo "<input type=\"text\" name=\"comment\" class=\"input\" maxlength=\"255\"/><br/>";
                echo "<input type=\"submit\" name=\"submit\" value=\"Comment\" class=\"button\"/></form>";
                $theme->Div("D", true);

                if($p=="" || $p<=0)$p=1;
                $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuscomment WHERE refid='".$i."'"));
                $ni = $noi[0]; //changable
                $ipp= 5;
                $np = ceil($ni/$ipp);
                $npc = ceil($ni/$ipp);
                if(($p>$np)&&$p!=1)$p= $np;
                $ls = ($p-1)*$ipp;
                $sql = "SELECT * FROM statuscomment WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls, $ipp";

                $items = mysql_query($sql);

                echo mysql_error();
                if(mysql_num_rows($items)>0){
                while ($item = mysql_fetch_array($items)){

                $timesent = remaining($item[sent], 1*60*60);
                $text = parsetext($item[text]);
                $userlink = "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $u, TRUE)."</a>";
                $out = "".avatar($item[who], 15, 15)." $userlink $text<br/>$timesent";
                $theme->Div("Item");
                echo $out;
                $theme->Div("D", true);

                }
                }else{
                echo errorSQL();
                }

                $theme->Div("Item");
                echo $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w", $p, $np, $npc, $ipp, $ls, $ni);
                $theme->Div("D", true);
                }
                $theme->MenuDiv(1);

                }else if($ref=="statuslike"){
                $theme->MenuDiv(1);

                if($i==""){
                echo "Invalid ref ID";
                }else{


                $data = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'"));
                $theme->Div("Item");
                echo "$data[text] ".remaining($data[sent], 1*60*60)."<br/>";
                $theme->Div("D", true);
                if($p=="" || $p<=0)$p=1;
                $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE refid='".$i."'"));
                $ni = $noi[0]; //changable
                $ipp= 5;
                $np = ceil($ni/$ipp);
                $npc = ceil($ni/$ipp);
                if(($p>$np)&&$p!=1)$p= $np;
                $ls = ($p-1)*$ipp;
                $sql = "SELECT * FROM statuslike WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls, $ipp";

                $items = mysql_query($sql);

                echo mysql_error();
                if(mysql_num_rows($items)>0){
                while ($item = mysql_fetch_array($items)){

                $timesent = remaining($item[sent], 1*60*60);
                $text = parsetext($item[text]);

                $userlink = "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $u, TRUE)."</a>";
                $out = "".avatar($item[who], 15, 15)." $userlink like this<br/>$timesent";
                $theme->Div("Item");
                echo $out;
                $theme->Div("D", true);

                }
                }else{
                echo errorSQL();
                }

                $theme->Div("Item");
                echo $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w", $p, $np, $npc, $ipp, $ls, $ni);
                $theme->Div("D", true);
                }
                $theme->MenuDiv(1);

                }else if($ref=="help"){
                echo "Help";
                }else if($ref=="tc"){
                echo "Terms and condition";
                }else{

                if(isset($u)){
                echo "You are already logged in!. <a href=\"$path?a=home&amp;ref=home\">Continue . .</a>";
                }else{

                if(isset($_GET["do"])){
                echo MessageCase($_GET["do"]);
                echo "<br/>";
                }

                echo "<form action=\"login.php\" method=\"POST\">";
                echo "Login ID<br/><input type=\"text\" name=\"username\" class=\"input\" maxlength=\"15\"/><br/>";
                echo "Password<br/><input type=\"password\" name=\"password\" class=\"input\" maxlength=\"15\"/><br/>";
                echo "<input type=\"submit\" name=\"submit\" value=\"Login\" class=\"button\"/></form>";

                $theme->Div("DivTitle");
                echo "No Account?: <a href=\"$path?a=register\">Join us</a>";
                $theme->Div("D");
                }
                }

                ?>

                Added after 2 minutes:

                those error highlighted by RED color..
                Last edited by chessmaster; 24.04.11, 02:16.

                Comment


                  #9
                  please help me to fix that error ( those text in red color in php codes) .. please anyone?

                  Comment


                    #10
                    showing this error Parse error: syntax error, unexpected '}' in /home/jattz/public_html/j******.com/forum/_SRC/home.php on line 107 please help...........

                    Comment


                      #11
                      Write "else if" together like "elseif".

                      There is no "else" after conditions and from "else if" just "else" is executed and triger error due to "if...".
                      Last edited by arnage; 25.04.11, 00:43.
                      <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                      Comment


                        #12
                        Originally posted by Mobilust View Post
                        showing this error Parse error: syntax error, unexpected '}' in /home/jattz/public_html/j******.com/forum/_SRC/home.php on line 107 please help...........
                        Do as error message tells you and remove } on line 107

                        Comment


                          #13
                          Exactly. The error isn't there in marked red. Try this:

                          PHP Code:
                          <?php
                          $user 
                          = new User();
                          if(
                          $ref=="home"){
                          addonline($u"Home");
                          $theme->MenuDiv(1);
                          if(isset(
                          $_POST["status"])){
                          echo 
                          $user->Status($_POST["statustext"]);
                          }

                          echo 
                          "wap maseh terbengkalai, gune lah inbox tu dahulu ye";
                          $theme->Alert();
                          /*
                          $theme->Div("Item");
                          echo "<big><b>Status</b></big><br/>";
                          $stat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM status WHERE user='".$u."'"));
                          $statlike = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE who='".$u."'"));
                          $status = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE user='".$u."' ORDER BY sent DESC"));


                          $stlike = mysql_fetch_array(mysql_query("SELECT * FROM statuslike WHERE refid='".$status[id]."'"));

                          $statuscom = $user->CountTable("statuscomment", $status[id]);
                          $statuslike = $user->CountTable("statuslike", $status[id]);
                          if($stat[0]==0){
                          $mes = "Whats on your mind?";
                          }else{
                          $timesent = remaining($status[sent], 1*60*60);
                          $mes = "$status[text] $timesent";
                          }


                          if($do=="status"){
                          echo "<form action=\"$path??a=home&amp;ref=home\" method=\"POST\">";
                          echo "$mes<br/>";
                          echo "<input type=\"text\" name=\"statustext\" class=\"input\" maxlength=\"255\"/><br/>";
                          echo "<input type=\"submit\" name=\"status\" value=\"Update\" class=\"button\"/><a href=\"$path?a=home&amp;ref=home\">Cancel</a></form> ";
                          }else{
                          echo "$mes<br/>";
                          echo "<a href=\"$path?a=home&amp;ref=$ref&amp;do=status\">U pdate</a><br/>";
                          if($stat[0]>0){

                          if($statlike[0]==0){
                          $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=like\">Like</a>";
                          }else{
                          $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=unlike&amp;li=$stlike[0]\">Unlike </a>";
                          }


                          echo "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]\">$statuscom Comment</a> - $like<br/>";
                          if($statuslike>0){
                          echo "<a href=\"$path?a=home&amp;ref=statuslike&amp;i=$stat us[id]\">$statuslike people like this</a>";
                          }
                          }
                          }

                          $theme->Div("D", true);
                          */



                          $theme->Div("Item");
                          echo 
                          "<b>Shoutbox</b><br/>";


                          if(isset(
                          $_POST["submit"])){
                          echo 
                          "<br/>";
                          echo 
                          addShout($_POST["shout"], $u$s);
                          }
                          echo 
                          getShout($u$sTRUE);
                          if(
                          level($u1)){
                          $textmsg "250";
                          }else{
                          $textmsg "150";
                          }
                          echo 
                          "<form action=\"$path?a=$a&amp;s=$s\" method=\"post\">";
                          echo 
                          "<input type=\"text\" name=\"shout\" class=\"input\" maxlength=\"$textmsg\"/><br/>";
                          echo 
                          "<input type=\"submit\" name=\"submit\" value=\"Shouted\" class=\"submit\"/></form>";
                          }


                          $theme->Div("D"true);

                          $theme->Div("Item");
                          echo 
                          "<a href=\"$path?a=inbox\">Inbox</a>";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "<a href=\"$path?a=profile&amp;w=$u\">Profile</a>";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "<a href=\"$path?a=online\">Online</a>";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "Friends";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "Forums";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "Chats";
                          $theme->Div("D"true);
                          $theme->Div("Item");
                          echo 
                          "Diary";
                          $theme->Div("D"true);
                          $theme->MenuDiv(1);

                          if(
                          $ref=="status"){
                          $theme->MenuDiv(1);

                          if(
                          $i==""){
                          echo 
                          "Invalid ref ID";
                          }else{



                          if(isset(
                          $_POST["submit"])){
                          echo 
                          $user->AddComment("statuscomment"$_POST["comment"], $i);
                          }else if(
                          $do=="like"){
                          echo 
                          $user->AddLike("statuslike"$i);
                          }else if(
                          $do=="unlike"){
                          echo 
                          $user->RemoveLike("statuslike"$_GET["li"]);}


                          $data mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'"));
                          $theme->Div("Item");
                          echo 
                          "$data[text] ".remaining($data[sent], 1*60*60)."<br/>";

                          echo 
                          "<form action=\"$path??a=home&amp;ref=status&amp;i=$i\" method=\"POST\">";
                          echo 
                          "<input type=\"text\" name=\"comment\" class=\"input\" maxlength=\"255\"/><br/>";
                          echo 
                          "<input type=\"submit\" name=\"submit\" value=\"Comment\" class=\"button\"/></form>";
                          $theme->Div("D"true);

                          if(
                          $p=="" || $p<=0)$p=1;
                          $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuscomment WHERE refid='".$i."'"));
                          $ni $noi[0]; //changable
                          $ipp5;
                          $np ceil($ni/$ipp);
                          $npc ceil($ni/$ipp);
                          if((
                          $p>$np)&&$p!=1)$p$np;
                          $ls = ($p-1)*$ipp;
                          $sql "SELECT * FROM statuscomment WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls$ipp";

                          $items mysql_query($sql);

                          echo 
                          mysql_error();
                          if(
                          mysql_num_rows($items)>0){
                          while (
                          $item mysql_fetch_array($items)){

                          $timesent remaining($item[sent], 1*60*60);
                          $text parsetext($item[text]);
                          $userlink "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $uTRUE)."</a>";
                          $out "".avatar($item[who], 1515).$userlink $text<br/>$timesent";
                          $theme->Div("Item");
                          echo 
                          $out;
                          $theme->Div("D"true);

                          }
                          }else{
                          echo 
                          errorSQL();
                          }

                          $theme->Div("Item");
                          echo 
                          $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w"$p$np$npc$ipp$ls$ni);
                          $theme->Div("D"true);
                          }
                          $theme->MenuDiv(1);

                          }else if(
                          $ref=="statuslike"){
                          $theme->MenuDiv(1);

                          if(
                          $i==""){
                          echo 
                          "Invalid ref ID";
                          }else{


                          $data mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'"));
                          $theme->Div("Item");
                          echo 
                          "$data[text] ".remaining($data[sent], 1*60*60)."<br/>";
                          $theme->Div("D"true);
                          if(
                          $p=="" || $p<=0)$p=1;
                          $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE refid='".$i."'"));
                          $ni $noi[0]; //changable
                          $ipp5;
                          $np ceil($ni/$ipp);
                          $npc ceil($ni/$ipp);
                          if((
                          $p>$np)&&$p!=1)$p$np;
                          $ls = ($p-1)*$ipp;
                          $sql "SELECT * FROM statuslike WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls$ipp";

                          $items mysql_query($sql);

                          echo 
                          mysql_error();
                          if(
                          mysql_num_rows($items)>0){
                          while (
                          $item mysql_fetch_array($items)){

                          $timesent remaining($item[sent], 1*60*60);
                          $text parsetext($item[text]);

                          $userlink "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $uTRUE)."</a>";
                          $out "".avatar($item[who], 1515).$userlink like this<br/>$timesent";
                          $theme->Div("Item");
                          echo 
                          $out;
                          $theme->Div("D"true);

                          }
                          }else{
                          echo 
                          errorSQL();
                          }

                          $theme->Div("Item");
                          echo 
                          $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w"$p$np$npc$ipp$ls$ni);
                          $theme->Div("D"true);
                          }
                          $theme->MenuDiv(1);

                          }else if(
                          $ref=="help"){
                          echo 
                          "Help";
                          }else if(
                          $ref=="tc"){
                          echo 
                          "Terms and condition";
                          }else{

                          if(isset(
                          $u)){
                          echo 
                          "You are already logged in!. <a href=\"$path?a=home&amp;ref=home\">Continue . .</a>";
                          }else{

                          if(isset(
                          $_GET["do"])){
                          echo 
                          MessageCase($_GET["do"]);
                          echo 
                          "<br/>";
                          }

                          echo 
                          "<form action=\"login.php\" method=\"POST\">";
                          echo 
                          "Login ID<br/><input type=\"text\" name=\"username\" class=\"input\" maxlength=\"15\"/><br/>";
                          echo 
                          "Password<br/><input type=\"password\" name=\"password\" class=\"input\" maxlength=\"15\"/><br/>";
                          echo 
                          "<input type=\"submit\" name=\"submit\" value=\"Login\" class=\"button\"/></form>";

                          $theme->Div("DivTitle");
                          echo 
                          "No Account?: <a href=\"$path?a=register\">Join us</a>";
                          $theme->Div("D");
                          }
                          }
                          ?>
                          Last edited by arnage; 25.04.11, 02:17.
                          <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                          Comment


                            #14
                            @arnage

                            i got new error from main menu: Fatal error: Call to undefined function getShout() in C:\xampp\htdocs\Malaysia\_SRC\home.php on line 69

                            -----> echo getShout($u, $s,TRUE);

                            Code:
                            <?php 
                            $user = new User(); 
                            if($ref=="home"){ 
                            addonline($u, "Home"); 
                            $theme->MenuDiv(1); 
                            if(isset($_POST["status"])){ 
                            echo $user->Status($_POST["statustext"]); 
                            } 
                            
                            echo "wap maseh terbengkalai, gune lah inbox tu dahulu ye"; 
                            $theme->Alert(); 
                            /* 
                            $theme->Div("Item"); 
                            echo "<big><b>Status</b></big><br/>"; 
                            $stat = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM status WHERE user='".$u."'")); 
                            $statlike = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE who='".$u."'")); 
                            $status = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE user='".$u."' ORDER BY sent DESC")); 
                            
                            
                            $stlike = mysql_fetch_array(mysql_query("SELECT * FROM statuslike WHERE refid='".$status[id]."'")); 
                            
                            $statuscom = $user->CountTable("statuscomment", $status[id]); 
                            $statuslike = $user->CountTable("statuslike", $status[id]); 
                            if($stat[0]==0){ 
                            $mes = "Whats on your mind?"; 
                            }else{ 
                            $timesent = remaining($status[sent], 1*60*60); 
                            $mes = "$status[text] $timesent"; 
                            } 
                            
                            
                            if($do=="status"){ 
                            echo "<form action=\"$path??a=home&amp;ref=home\" method=\"POST\">"; 
                            echo "$mes<br/>"; 
                            echo "<input type=\"text\" name=\"statustext\" class=\"input\" maxlength=\"255\"/><br/>"; 
                            echo "<input type=\"submit\" name=\"status\" value=\"Update\" class=\"button\"/><a href=\"$path?a=home&amp;ref=home\">Cancel</a></form> "; 
                            }else{ 
                            echo "$mes<br/>"; 
                            echo "<a href=\"$path?a=home&amp;ref=$ref&amp;do=status\">U pdate</a><br/>"; 
                            if($stat[0]>0){ 
                            
                            if($statlike[0]==0){ 
                            $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=like\">Like</a>"; 
                            }else{ 
                            $like = "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]&amp;do=unlike&amp;li=$stlike[0]\">Unlike </a>"; 
                            } 
                            
                            
                            echo "<a href=\"$path?a=home&amp;ref=status&amp;i=$status[id]\">$statuscom Comment</a> - $like<br/>"; 
                            if($statuslike>0){ 
                            echo "<a href=\"$path?a=home&amp;ref=statuslike&amp;i=$stat us[id]\">$statuslike people like this</a>"; 
                            } 
                            } 
                            } 
                            
                            $theme->Div("D", true); 
                            */ 
                            
                            
                            
                            $theme->Div("Item"); 
                            echo "<b>Shoutbox</b><br/>"; 
                            
                            
                            if(isset($_POST["submit"])){ 
                            echo "<br/>"; 
                            echo addShout($_POST["shout"], $u, $s);
                            } 
                            echo getShout($u, $s,TRUE); 
                            if(level($u, 1)){ 
                            $textmsg = "250"; 
                            }else{ 
                            $textmsg = "150"; 
                            } 
                            echo "<form action=\"$path?a=$a&amp;s=$s\" method=\"post\">"; 
                            echo "<input type=\"text\" name=\"shout\" class=\"input\" maxlength=\"$textmsg\"/><br/>"; 
                            echo "<input type=\"submit\" name=\"submit\" value=\"Shouted\" class=\"submit\"/></form>"; 
                            } 
                            
                            
                            $theme->Div("D", true); 
                            
                            $theme->Div("Item"); 
                            echo "<a href=\"$path?a=inbox\">Inbox</a>"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "<a href=\"$path?a=profile&amp;w=$u\">Profile</a>"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "<a href=\"$path?a=online\">Online</a>"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "Friends"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "Forums"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "Chats"; 
                            $theme->Div("D", true); 
                            $theme->Div("Item"); 
                            echo "Diary"; 
                            $theme->Div("D", true); 
                            $theme->MenuDiv(1); 
                            
                            if($ref=="status"){ 
                            $theme->MenuDiv(1); 
                            
                            if($i==""){ 
                            echo "Invalid ref ID"; 
                            }else{ 
                            
                            
                            
                            if(isset($_POST["submit"])){ 
                            echo $user->AddComment("statuscomment", $_POST["comment"], $i); 
                            }else if($do=="like"){ 
                            echo $user->AddLike("statuslike", $i); 
                            }else if($do=="unlike"){ 
                            echo $user->RemoveLike("statuslike", $_GET["li"]);} 
                            
                            
                            $data = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'")); 
                            $theme->Div("Item"); 
                            echo "$data[text] ".remaining($data[sent], 1*60*60)."<br/>"; 
                            
                            echo "<form action=\"$path??a=home&amp;ref=status&amp;i=$i\" method=\"POST\">"; 
                            echo "<input type=\"text\" name=\"comment\" class=\"input\" maxlength=\"255\"/><br/>"; 
                            echo "<input type=\"submit\" name=\"submit\" value=\"Comment\" class=\"button\"/></form>"; 
                            $theme->Div("D", true); 
                            
                            if($p=="" || $p<=0)$p=1; 
                            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuscomment WHERE refid='".$i."'")); 
                            $ni = $noi[0]; //changable 
                            $ipp= 5; 
                            $np = ceil($ni/$ipp); 
                            $npc = ceil($ni/$ipp); 
                            if(($p>$np)&&$p!=1)$p= $np; 
                            $ls = ($p-1)*$ipp; 
                            $sql = "SELECT * FROM statuscomment WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls, $ipp"; 
                            
                            $items = mysql_query($sql); 
                            
                            echo mysql_error(); 
                            if(mysql_num_rows($items)>0){ 
                            while ($item = mysql_fetch_array($items)){ 
                            
                            $timesent = remaining($item[sent], 1*60*60); 
                            $text = parsetext($item[text]); 
                            $userlink = "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $u, TRUE)."</a>"; 
                            $out = "".avatar($item[who], 15, 15)." $userlink $text<br/>$timesent"; 
                            $theme->Div("Item"); 
                            echo $out; 
                            $theme->Div("D", true); 
                            
                            } 
                            }else{ 
                            echo errorSQL(); 
                            } 
                            
                            $theme->Div("Item"); 
                            echo $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w", $p, $np, $npc, $ipp, $ls, $ni); 
                            $theme->Div("D", true); 
                            } 
                            $theme->MenuDiv(1); 
                            
                            }else if($ref=="statuslike"){ 
                            $theme->MenuDiv(1); 
                            
                            if($i==""){ 
                            echo "Invalid ref ID"; 
                            }else{ 
                            
                            
                            $data = mysql_fetch_array(mysql_query("SELECT * FROM status WHERE id='".$i."'")); 
                            $theme->Div("Item"); 
                            echo "$data[text] ".remaining($data[sent], 1*60*60)."<br/>"; 
                            $theme->Div("D", true); 
                            if($p=="" || $p<=0)$p=1; 
                            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM statuslike WHERE refid='".$i."'")); 
                            $ni = $noi[0]; //changable 
                            $ipp= 5; 
                            $np = ceil($ni/$ipp); 
                            $npc = ceil($ni/$ipp); 
                            if(($p>$np)&&$p!=1)$p= $np; 
                            $ls = ($p-1)*$ipp; 
                            $sql = "SELECT * FROM statuslike WHERE refid='".$i."' ORDER BY sent DESC LIMIT $ls, $ipp"; 
                            
                            $items = mysql_query($sql); 
                            
                            echo mysql_error(); 
                            if(mysql_num_rows($items)>0){ 
                            while ($item = mysql_fetch_array($items)){ 
                            
                            $timesent = remaining($item[sent], 1*60*60); 
                            $text = parsetext($item[text]); 
                            
                            $userlink = "<a href=\"$path?a=profile&amp;ref=user&amp;w=$item[who]\">".id_name($item[who], $u, TRUE)."</a>"; 
                            $out = "".avatar($item[who], 15, 15)." $userlink like this<br/>$timesent"; 
                            $theme->Div("Item"); 
                            echo $out; 
                            $theme->Div("D", true); 
                            
                            } 
                            }else{ 
                            echo errorSQL(); 
                            } 
                            
                            $theme->Div("Item"); 
                            echo $theme->Paging("$path?a=$a&amp;ref=$ref&amp;w=$w", $p, $np, $npc, $ipp, $ls, $ni); 
                            $theme->Div("D", true); 
                            } 
                            $theme->MenuDiv(1); 
                            
                            }else if($ref=="help"){ 
                            echo "Help"; 
                            }else if($ref=="tc"){ 
                            echo "Terms and condition"; 
                            }else{ 
                            
                            if(isset($u)){ 
                            echo "You are already logged in!. <a href=\"$path?a=home&amp;ref=home\">Continue . .</a>"; 
                            }else{ 
                            
                            if(isset($_GET["do"])){ 
                            echo MessageCase($_GET["do"]); 
                            echo "<br/>"; 
                            } 
                            
                            echo "<form action=\"login.php\" method=\"POST\">"; 
                            echo "Login ID<br/><input type=\"text\" name=\"username\" class=\"input\" maxlength=\"15\"/><br/>"; 
                            echo "Password<br/><input type=\"password\" name=\"password\" class=\"input\" maxlength=\"15\"/><br/>"; 
                            echo "<input type=\"submit\" name=\"submit\" value=\"Login\" class=\"button\"/></form>"; 
                            
                            $theme->Div("DivTitle"); 
                            echo "No Account?: <a href=\"$path?a=register\">Join us</a>"; 
                            $theme->Div("D"); 
                            } 
                            } 
                            ?>

                            Comment


                              #15
                              You want a script and you cant fix error?
                              have connected with http://adexchat.com ?
                              Fun up with
                              http://forum.adexchat.com

                              Comment

                              Working...
                              X