Syntax Eror Help Please

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

    Syntax Eror Help Please

    Parse error: syntax error, unexpected $end in /home/nosultimate/public_html/index.php on line 4182

    I Have Attached The Index.php File

    Plese Tell Me Whats Wrong With It , And What I Must Do
    Attached Files

    #2
    for one remove the 1st " after $sid\">" in this line
    Code:
    echo "<form method=\"POST\" action=\"genproc.php?action=ustset&amp;sid=$sid\">";
    and also saw this off topic i know but im not letting this go
    FLAREZONE ONLINE COMMUNITY/WAP FORUM TRADEMARKS AND COPPYRIGHTS
    This Site Is Protected By Copyrights And TradeMarks!
    1.This Copyrights Over Write The LAVALAIR Copyrights.
    2.This Script Can Not Be Published Without The Owners Permision.
    >FlareBoy
    3.This Script Can Not Be Sold Unless Owner(FlareBoy) Sells It.
    4.If You Violate These Terms And The Owner(FlareBoy) Will Take Legal Actions.
    BY REGISTERING TO OUR COMMUNITY OR VIEWING OUR MOBILE SITE EVEN ONCE YOU AGREE TO THESE TERMS!!!
    ------------------------------------------------------------------
    These Copyrights Have Been Taken With http://www.selfservice.co.za And Will Last From 2007-2010[/b]
    care to explain? i want to see copyright documentation for proof of this ie a certificate of registration and i know this is fake as no copyright notice says they overwrite anothers copyright that on its own cancels out the copyright

    Comment


      #3
      for one remove the 1st " after $sid\">" in this line
      Code:
      echo "<form method=\"POST\" action=\"genproc.php?action=ustset&amp;sid=$sid\">";
      and also saw this off topic i know but im not letting this go

      care to explain? i want to see copyright documentation for proof of this ie a certificate of registration and i know this is fake as no copyright notice says they overwrite anothers copyright that on its own cancels out the copyright[/b]
      sssshhhhh!!!! its a secret

      Comment


        #4
        try this, maybe it works
        Attached Files

        Comment


          #5
          npoe still not working bru , it has something to do with this

          /////////////////////////////////COMPACT INDEX
          else if($action=="compact")
          {
          $showicons = mysql_fetch_array(mysql_query("SELECT showicon FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          $showtime = mysql_fetch_array(mysql_query("SELECT showtime FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          $showshout = mysql_fetch_array(mysql_query("SELECT showshout FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
          $themeimageset = mysql_fetch_array(mysql_query("SELECT themedir FROM ibwf_iconset WHERE id=&#39;".$thid[0]."&#39;"));
          if($showicons[0]=="1"){
          addvisitor();
          addonline(getuid_sid($sid),"Compact Main Page- xHTML","");
          //saveuinfo($sid);
          $pstyle = gettheme($sid);
          echo xhtmlhead("FlareZone Compact",$pstyle);
          echo "<p align=\"center\">";
          if($showtime[0]=="1"){
          echo "<a href=\"time.php?sid=$sid\">".date("D d M y - H:i",time() )."</a>
          ";
          }

          $TimeZone="0"; ////Change the TimeZone accordingly!
          $New_Time = time() + ($TimeZone * 60 * 60);

          $show_date=date("D dS F, Y",$New_Time);
          $show_time=date("H:i",$New_Time);
          $Hour=date("G",$New_Time);


          echo "<img src=\"images/logo.gif\" alt=\"FlareZone\"/>
          ";
          echo "</p>";
          $nick = getnick_sid($sid);
          if ($Hour <= 4) { echo "<h5 align=\"center\">Hello $nick you night owl!</h5>
          "; }

          else if ($Hour <= 11) { echo "<h5 align=\"center\">Good morning $nick!</h5>
          "; }

          else if ($Hour <= 12) { echo "<h5 align=\"center\">Enjoy your lunch $nick!</h5>
          "; }

          else if ($Hour <= 17) { echo "<h5 align=\"center\">Good afternoon $nick!</h5>
          "; }

          else if ($Hour <= 24) { echo "<h5 align=\"center\">Good Evening $nick!</h5>
          "; }

          echo "<p align=\"center\">";
          $fmsg = htmlspecialchars(getfmsg());
          echo "<font color=\"0000FF\">Site Announcement</font>
          ";
          echo "<font color=\"3366FF\">$fmsg</font>
          ";
          echo "<font color=\"0000FF\">+++++++++++++++++</font>
          ";
          include("popups.php");
          echo "
          <a href=\"index.php?action=main&amp;sid=$sid\">Reload</a>
          ";
          echo "
          </p>";
          echo "<div class=\"mblock1\">";
          echo "<h5 align=\"center\">Menu</h5>
          ";
          echo "";

          /////inbox data
          $new_gm = getnewgml(getuid_sid($sid));
          if($new_gm>0)
          {
          echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a>
          ";
          }

          $tmsg = getpmcount(getuid_sid($sid));
          $umsg = getunreadpm(getuid_sid($sid));


          if($umsg==1)
          {
          echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\ "><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Message)
          ";
          }
          if($umsg>1)
          {
          echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\ "><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Messages)
          ";
          }
          if($umsg==0)
          {
          echo "1. <a accesskey=\"1\" href=\"inbox.php?action=main&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox1.gif\" alt=\"*\"/>Inbox</a>($tmsg)
          ";
          }
          $uid = getuid_sid($sid);
          $mybuds = getnbuds($uid);
          $onbuds = getonbuds($uid);
          echo "2. <a accesskey=\"2\" href=\"lists.php?action=buds&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/buddies.gif\" alt=\"*\"/>Buddies</a>($onbuds|$mybuds)";
          $reqs = getnreqs($uid);
          if($reqs>0)
          {
          echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
          }
          $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
          echo "
          2. <a accesskey=\"2\" href=\"index.php?action=chat&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/chat.gif\" alt=\"*\"/>Chatrooms</a>($chs[0])
          ";
          $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs"));
          echo "3. <a accesskey=\"3\" href=\"index.php?action=clmenu&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/clubs.gif\" alt=\"*\"/>Clubs</a>($chs[0])
          ";
          echo "4. <a accesskey=\"4\" href=\"index.php?action=cpanel&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/cpanel.gif\" alt=\"*\"/>CPanel</a>
          ";
          echo "5. <a accesskey=\"5\" href=\"index.php?action=compactzone&amp;sid=$sid\" ><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
          ";
          echo "6. <a accesskey=\"6\" href=\"index.php?action=partners&amp;sid=$sid\"><i mg src=\"images/themes/$themeimageset[0]/partners.gif\" alt=\"*\"/>Partners</a>
          ";
          echo "7. <a accesskey=\"7\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
          ";

          echo "
          ";
          echo "</div>";
          if($showshout[0]=="1"){
          echo "
          ";
          echo "
          ";
          echo "<div class=\"mblock2\">";
          echo "<h5 align=\"center\">ShoutBox</h5>
          ";
          echo "";
          echo getshoutbox($sid);
          echo "
          ";
          echo "</div>";
          }
          echo "
          ";
          echo "
          ";
          echo "<div class=\"mblock2\">";
          echo "<h5 align=\"center\">Online Stats</h5>
          ";
          echo "";
          echo "Members Online:
          ";
          $memberonline = "0.Members: <a accesskey=\"0\" href=\"index.php?action=online&amp;sid=$sid\">".ge tnumonline()."
          ";
          echo "$memberonline";
          $timeout = time() - 180;
          $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
          echo "Staff Online:
          ";
          echo "*.Staff: <a accesskey=\"*\" href=\"index.php?action=stfol&amp;sid=$sid\">".$no i[0]."
          ";
          $timeout = time() - 180;
          $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE specialid>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
          echo "V.I.P&#39;s Online:
          ";
          echo "#.V.I.P&#39;s: <a accesskey=\"#\" href=\"index.php?action=vipol&amp;sid=$sid\">".$no i[0]."
          ";
          echo "
          ";
          echo "</div>";
          echo "
          ";
          echo "
          ";
          echo "

          ";
          if (isowner(getuid_sid($sid)))
          {
          echo "<div class=\"mblock2\">";
          echo "<h5 align=\"center\">Owner/Admins/Mods</h5>
          ";
          echo "<a href=\"index.php?action=ownercp&amp;sid=$sid\"><fo nt color=\"00FF00\">»Owner CP</font></a>
          ";
          }
          if (isadmin(getuid_sid($sid)))
          {
          echo "<a href=\"index.php?action=admincp&amp;sid=$sid\"><fo nt color=\"0000FF\">»Admin CP</font></a>
          ";
          }
          if(ismod($uid))
          {
          echo "<a href=\"modcp.php?action=main&amp;sid=$sid\"><font color=\"FF0000\">»Mod R/L</font></a>
          ";
          echo "<h5 align=\"center\">I Would Apreciate It If Only Staff Click These Links</h5>
          ";
          echo "</div>";
          }
          echo "
          </p>";
          echo "
          ";
          echo "
          ";
          echo "<p align=\"center\">";
          echo "<a href=\"copyrights.php\">©FlareZone 2007 - 2023</a>
          ";
          echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
          ";
          echo "<font color=\"3366FF\">Original Script By Irishblaze(lavalair.net)</font>
          ";
          echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
          ";
          echo "<font color=\"3366FF\">Script Updates By FlareBoy</font>
          ";
          echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
          ";
          echo "
          </p>";
          echo xhtmlfoot();
          }

          Comment


            #6
            Code:
            /////////////////////////////////COMPACT INDEX
            else if($action=="compact")
            {
            $showicons = mysql_fetch_array(mysql_query("SELECT showicon FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $showtime = mysql_fetch_array(mysql_query("SELECT showtime FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $showshout = mysql_fetch_array(mysql_query("SELECT showshout FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
            $themeimageset = mysql_fetch_array(mysql_query("SELECT themedir FROM ibwf_iconset WHERE id=&#39;".$thid[0]."&#39;"));
            if($showicons[0]=="1"){
            }
            addvisitor();
            addonline(getuid_sid($sid),"Compact Main Page- xHTML","");
            //saveuinfo($sid);
            $pstyle = gettheme($sid);
            echo xhtmlhead("FlareZone Compact",$pstyle);
            echo "<p align=\"center\">";
            if($showtime[0]=="1"){
            echo "[size="1"]<a href=\"time.php?sid=$sid\">".date("D d M y - H:i",time() )."</a>[/size]
            ";
            }
            
            $TimeZone="0"; ////Change the TimeZone accordingly!
            $New_Time = time() + ($TimeZone * 60 * 60);
            
            $show_date=date("D dS F, Y",$New_Time); 
            $show_time=date("H:i",$New_Time); 
            $Hour=date("G",$New_Time);
            
            
            echo "<img src=\"images/logo.gif\" alt=\"FlareZone\"/>
            ";
            echo "</p>";
            $nick = getnick_sid($sid);
            if ($Hour <= 4) { echo "<h5 align=\"center\">Hello $nick you night owl!</h5>
            "; } 
            
            else if ($Hour <= 11) { echo "<h5 align=\"center\">Good morning $nick!</h5>
            "; } 
            
            else if ($Hour <= 12) { echo "<h5 align=\"center\">Enjoy your lunch $nick!</h5>
            "; }
            
            else if ($Hour <= 17) { echo "<h5 align=\"center\">Good afternoon $nick!</h5>
            "; } 
            
            else if ($Hour <= 24) { echo "<h5 align=\"center\">Good Evening $nick!</h5>
            "; }
            
            echo "<p align=\"center\">[size="1"]";
            $fmsg = htmlspecialchars(getfmsg());
            echo "[b][u]<font color=\"0000FF\">Site Announcement</font>[/u][/b]
            ";
            echo "<font color=\"3366FF\">$fmsg</font>
            ";
            echo "<font color=\"0000FF\">+++++++++++++++++</font>
            ";
            include("popups.php");
            echo "
            <a href=\"index.php?action=main&amp;sid=$sid\">[b]Reload[/b]</a>
            ";
            echo "[/size]</p>";
            echo "<div class=\"mblock1\">";
            echo "<h5 align=\"center\">Menu</h5>
            ";
            echo "[size="1"]";
            
            /////inbox data
            $new_gm = getnewgml(getuid_sid($sid));
            if($new_gm>0)
            {
            echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a>
            ";
            } 
            
            $tmsg = getpmcount(getuid_sid($sid));
            $umsg = getunreadpm(getuid_sid($sid));
            
            
            if($umsg==1)
            {
            echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Message)
            ";
            }
            if($umsg>1)
            {
            echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Messages)
            ";
            } 
            if($umsg==0)
            {
            echo "1. <a accesskey=\"1\" href=\"inbox.php?action=main&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox1.gif\" alt=\"*\"/>Inbox</a>($tmsg)
            ";
            } 
            $uid = getuid_sid($sid);
            $mybuds = getnbuds($uid);
            $onbuds = getonbuds($uid);
            echo "2. <a accesskey=\"2\" href=\"lists.php?action=buds&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/buddies.gif\" alt=\"*\"/>Buddies</a>($onbuds|$mybuds)";
            $reqs = getnreqs($uid);
            if($reqs>0)
            {
            echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
            }
            $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
            echo "
            2. <a accesskey=\"2\" href=\"index.php?action=chat&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/chat.gif\" alt=\"*\"/>Chatrooms</a>($chs[0])
            ";
            $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs"));
            echo "3. <a accesskey=\"3\" href=\"index.php?action=clmenu&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/clubs.gif\" alt=\"*\"/>Clubs</a>($chs[0])
            ";
            echo "4. <a accesskey=\"4\" href=\"index.php?action=cpanel&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/cpanel.gif\" alt=\"*\"/>CPanel</a>
            ";
            echo "5. <a accesskey=\"5\" href=\"index.php?action=compactzone&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
            ";
            echo "6. <a accesskey=\"6\" href=\"index.php?action=partners&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/partners.gif\" alt=\"*\"/>Partners</a>
            ";
            echo "7. <a accesskey=\"7\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
            ";
            
            echo "[/size]";
            echo "</div>";
            if($showshout[0]=="1"){
            echo "
            ";
            echo "
            ";
            echo "<div class=\"mblock2\">";
            echo "<h5 align=\"center\">ShoutBox</h5>
            ";
            echo "[size="1"]";
            echo getshoutbox($sid);
            echo "[/size]";
            echo "</div>";
            }
            echo "
            ";
            echo "
            ";
            echo "<div class=\"mblock2\">";
            echo "<h5 align=\"center\">Online Stats</h5>
            ";
            echo "[size="1"]";
            echo "[i]Members Online:[/i]
            ";
            $memberonline = "0.Members: <a accesskey=\"0\" href=\"index.php?action=online&amp;sid=$sid\">".getnumonline()."
            ";
            echo "$memberonline";
            $timeout = time() - 180;
            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
            echo "[i]Staff Online:[/i]
            ";
            echo "*.Staff: <a accesskey=\"*\" href=\"index.php?action=stfol&amp;sid=$sid\">".$noi[0]."
            ";
            $timeout = time() - 180;
            $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE specialid>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
            echo "[i]V.I.P&#39;s Online:[/i]
            ";
            echo "#.V.I.P&#39;s: <a accesskey=\"#\" href=\"index.php?action=vipol&amp;sid=$sid\">".$noi[0]."
            ";
            echo "[/size]";
            echo "</div>";
            echo "
            ";
            echo "
            "; 
            echo "
            
            [size="1"]";
            if (isowner(getuid_sid($sid)))
            {
            echo "<div class=\"mblock2\">";
            echo "<h5 align=\"center\">Owner/Admins/Mods</h5>
            ";
            echo "<a href=\"index.php?action=ownercp&amp;sid=$sid\"><font color=\"00FF00\">»Owner CP</font></a>
            ";
            }
            if (isadmin(getuid_sid($sid)))
            {
            echo "<a href=\"index.php?action=admincp&amp;sid=$sid\"><font color=\"0000FF\">»Admin CP</font></a>
            ";
            }
            if(ismod($uid))
            {
            echo "<a href=\"modcp.php?action=main&amp;sid=$sid\"><font color=\"FF0000\">»Mod R/L</font></a>
            ";
            echo "<h5 align=\"center\">I Would Apreciate It If Only Staff Click These Links</h5>
            ";
            echo "</div>";
            }
            echo "[/size]</p>";
            echo "
            ";
            echo "
            ";
            echo "<p align=\"center\">[size="1"]";
            echo "<a href=\"copyrights.php\">©FlareZone 2007 - 2023</a>
            ";
            echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
            ";
            echo "<font color=\"3366FF\">Original Script By Irishblaze(lavalair.net)</font>
            ";
            echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
            ";
            echo "<font color=\"3366FF\">Script Updates By FlareBoy</font>
            ";
            echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
            ";
            echo "[/size]</p>";
            echo xhtmlfoot();
            }

            Comment


              #7
              Code:
              /////////////////////////////////COMPACT INDEX
              else if($action=="compact")
              {
              $showicons = mysql_fetch_array(mysql_query("SELECT showicon FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $showtime = mysql_fetch_array(mysql_query("SELECT showtime FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $showshout = mysql_fetch_array(mysql_query("SELECT showshout FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $thid = mysql_fetch_array(mysql_query("SELECT themeid FROM ibwf_users WHERE id=&#39;".$uid."&#39;"));
              $themeimageset = mysql_fetch_array(mysql_query("SELECT themedir FROM ibwf_iconset WHERE id=&#39;".$thid[0]."&#39;"));
              if($showicons[0]=="1"){
              }
              addvisitor();
              addonline(getuid_sid($sid),"Compact Main Page- xHTML","");
              //saveuinfo($sid);
              $pstyle = gettheme($sid);
              echo xhtmlhead("FlareZone Compact",$pstyle);
              echo "<p align=\"center\">";
              if($showtime[0]=="1"){
              echo "[size="1"]<a href=\"time.php?sid=$sid\">".date("D d M y - H:i",time() )."</a>[/size]
              ";
              }
              
              $TimeZone="0"; ////Change the TimeZone accordingly!
              $New_Time = time() + ($TimeZone * 60 * 60);
              
              $show_date=date("D dS F, Y",$New_Time); 
              $show_time=date("H:i",$New_Time); 
              $Hour=date("G",$New_Time);
              echo "<img src=\"images/logo.gif\" alt=\"FlareZone\"/>
              ";
              echo "</p>";
              $nick = getnick_sid($sid);
              if ($Hour <= 4) { echo "<h5 align=\"center\">Hello $nick you night owl!</h5>
              "; } 
              
              else if ($Hour <= 11) { echo "<h5 align=\"center\">Good morning $nick!</h5>
              "; } 
              
              else if ($Hour <= 12) { echo "<h5 align=\"center\">Enjoy your lunch $nick!</h5>
              "; }
              
              else if ($Hour <= 17) { echo "<h5 align=\"center\">Good afternoon $nick!</h5>
              "; } 
              
              else if ($Hour <= 24) { echo "<h5 align=\"center\">Good Evening $nick!</h5>
              "; }
              
              echo "<p align=\"center\">[size="1"]";
              $fmsg = htmlspecialchars(getfmsg());
              echo "[b][u]<font color=\"0000FF\">Site Announcement</font>[/u][/b]
              ";
              echo "<font color=\"3366FF\">$fmsg</font>
              ";
              echo "<font color=\"0000FF\">+++++++++++++++++</font>
              ";
              include("popups.php");
              echo "
              <a href=\"index.php?action=main&amp;sid=$sid\">[b]Reload[/b]</a>
              ";
              echo "[/size]</p>";
              echo "<div class=\"mblock1\">";
              echo "<h5 align=\"center\">Menu</h5>
              ";
              echo "[size="1"]";
              
              /////inbox data
              $new_gm = getnewgml(getuid_sid($sid));
              if($new_gm>0)
              {
              echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a>
              ";
              } 
              
              $tmsg = getpmcount(getuid_sid($sid));
              $umsg = getunreadpm(getuid_sid($sid));
              if($umsg==1)
              {
              echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Message)
              ";
              }
              if($umsg>1)
              {
              echo "1. <a accesskey=\"1\" href=\"inbox.php?action=folderunread&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox2.gif\" alt=\"*\"/>Inbox</a>($umsg New Messages)
              ";
              } 
              if($umsg==0)
              {
              echo "1. <a accesskey=\"1\" href=\"inbox.php?action=main&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/inbox1.gif\" alt=\"*\"/>Inbox</a>($tmsg)
              ";
              } 
              $uid = getuid_sid($sid);
              $mybuds = getnbuds($uid);
              $onbuds = getonbuds($uid);
              echo "2. <a accesskey=\"2\" href=\"lists.php?action=buds&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/buddies.gif\" alt=\"*\"/>Buddies</a>($onbuds|$mybuds)";
              $reqs = getnreqs($uid);
              if($reqs>0)
              {
              echo ": <a href=\"lists.php?action=reqs&amp;sid=$sid\">$reqs</a>";
              }
              $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline"));
              echo "
              2. <a accesskey=\"2\" href=\"index.php?action=chat&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/chat.gif\" alt=\"*\"/>Chatrooms</a>($chs[0])
              ";
              $chs = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_clubs"));
              echo "3. <a accesskey=\"3\" href=\"index.php?action=clmenu&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/clubs.gif\" alt=\"*\"/>Clubs</a>($chs[0])
              ";
              echo "4. <a accesskey=\"4\" href=\"index.php?action=cpanel&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/cpanel.gif\" alt=\"*\"/>CPanel</a>
              ";
              echo "5. <a accesskey=\"5\" href=\"index.php?action=compactzone&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
              ";
              echo "6. <a accesskey=\"6\" href=\"index.php?action=partners&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/partners.gif\" alt=\"*\"/>Partners</a>
              ";
              echo "7. <a accesskey=\"7\" href=\"index.php?action=stats&amp;sid=$sid\"><img src=\"images/themes/$themeimageset[0]/stats.gif\" alt=\"*\"/>Site Stats</a>
              ";
              
              echo "[/size]";
              echo "</div>";
              if($showshout[0]=="1"){
              echo "
              ";
              echo "
              ";
              echo "<div class=\"mblock2\">";
              echo "<h5 align=\"center\">ShoutBox</h5>
              ";
              echo "[size="1"]";
              echo getshoutbox($sid);
              echo "[/size]";
              echo "</div>";
              }
              echo "
              ";
              echo "
              ";
              echo "<div class=\"mblock2\">";
              echo "<h5 align=\"center\">Online Stats</h5>
              ";
              echo "[size="1"]";
              echo "[i]Members Online:[/i]
              ";
              $memberonline = "0.Members: <a accesskey=\"0\" href=\"index.php?action=online&amp;sid=$sid\">".getnumonline()."
              ";
              echo "$memberonline";
              $timeout = time() - 180;
              $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE perm>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
              echo "[i]Staff Online:[/i]
              ";
              echo "*.Staff: <a accesskey=\"*\" href=\"index.php?action=stfol&amp;sid=$sid\">".$noi[0]."
              ";
              $timeout = time() - 180;
              $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE specialid>&#39;0&#39; AND lastact>&#39;".$timeout."&#39;"));
              echo "[i]V.I.P&#39;s Online:[/i]
              ";
              echo "#.V.I.P&#39;s: <a accesskey=\"#\" href=\"index.php?action=vipol&amp;sid=$sid\">".$noi[0]."
              ";
              echo "[/size]";
              echo "</div>";
              echo "
              ";
              echo "
              "; 
              echo "
              
              [size="1"]";
              if (isowner(getuid_sid($sid)))
              {
              echo "<div class=\"mblock2\">";
              echo "<h5 align=\"center\">Owner/Admins/Mods</h5>
              ";
              echo "<a href=\"index.php?action=ownercp&amp;sid=$sid\"><font color=\"00FF00\">»Owner CP</font></a>
              ";
              }
              if (isadmin(getuid_sid($sid)))
              {
              echo "<a href=\"index.php?action=admincp&amp;sid=$sid\"><font color=\"0000FF\">»Admin CP</font></a>
              ";
              }
              if(ismod($uid))
              {
              echo "<a href=\"modcp.php?action=main&amp;sid=$sid\"><font color=\"FF0000\">»Mod R/L</font></a>
              ";
              echo "<h5 align=\"center\">I Would Apreciate It If Only Staff Click These Links</h5>
              ";
              echo "</div>";
              }
              echo "[/size]</p>";
              echo "
              ";
              echo "
              ";
              echo "<p align=\"center\">[size="1"]";
              echo "<a href=\"copyrights.php\">©FlareZone 2007 - 2023</a>
              ";
              echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
              ";
              echo "<font color=\"3366FF\">Original Script By Irishblaze(lavalair.net)</font>
              ";
              echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
              ";
              echo "<font color=\"3366FF\">Script Updates By FlareBoy</font>
              ";
              echo "<font color=\"0000FF\">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</font>
              ";
              echo "[/size]</p>";
              echo xhtmlfoot();
              }
              [/b]
              thanks bru , il let u no if it works , neway u need ne help with ur script?

              Comment


                #8
                thanks bro!!!! its working!!!! what was rong with it?

                Comment


                  #9
                  for one remove the 1st " after $sid\">" in this line
                  Code:
                  echo "<form method=\"POST\" action=\"genproc.php?action=ustset&amp;sid=$sid\">";
                  and also saw this off topic i know but im not letting this go

                  care to explain? i want to see copyright documentation for proof of this ie a certificate of registration and i know this is fake as no copyright notice says they overwrite anothers copyright that on its own cancels out the copyright[/b]
                  LOL

                  Click here!!!

                  Comment

                  Working...
                  X