Forum Topic
Started on the old forum in December 2008 · view the original in the archive · old links redirect here
online pla c bro....
join and visit http://outcastwap.freehostia.com
proud to be a filipino........
or view in xhtml http://outcastwap.freehostia.com/xhtml/index.php
topic name
else if($action=="viewtpc")
{
$tid = $_GET["tid"];
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"reads topic $tnm","");..................
forum name
else if($action=="viewfrm")
{
$fid = $_GET["fid"];
$finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id='".$fid."'"));
$fnm = htmlspecialchars($finfo[0]);
addonline(getuid_sid($sid),"browsing forum $fnm","");...................
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ノ刀ノイリ!
QUOTE (metulj @ Dec 11 2008, 05:33 PM) <{POST_SNAPBACK}>
topic name
else if($action=="viewtpc") { $tid = $_GET["tid"]; $tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'")); $tnm = htmlspecialchars($tinfo[0]); addonline(getuid_sid($sid),"reads topic $tnm","");..................forum name
else if($action=="viewfrm") { $fid = $_GET["fid"]; $finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id='".$fid."'")); $fnm = htmlspecialchars($finfo[0]); addonline(getuid_sid($sid),"browsing forum $fnm","");...................
is work!!for viewtopic ..but error at view forum Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715
QUOTE (extreme @ Dec 11 2008, 06:24 PM) <{POST_SNAPBACK}>
is work!!for viewtopic ..but error at view forum Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715
error is kind a self explanatory.... it is just a matter where and how you place posted code 🤔
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ノ刀ノイリ!
QUOTE (metulj @ Dec 11 2008, 06:33 PM) <{POST_SNAPBACK}>
error is kind a self explanatory.... it is just a matter where and how you place posted code 🤔
//////////////////////////////////View Forum
else if($action=="viewfrm")
{
$fid = $_GET["fid"];
$view = $_GET["view"];
if(!canaccess(getuid_sid($sid), $fid))
{
addonline(getuid_sid($sid)," viewin $fnm ","");
im replace from old code ...can u show me ..thanx bro
Does the words copy and paste coders come to mind 🤔
if($something>2){ ////blah blah }else if($something<0){ ///blah blah again }else{ //dont blah blah }
Opening and closing statements catch the drift?
QUOTE (something else @ Dec 12 2008, 12:22 AM) <{POST_SNAPBACK}>
Does the words copy and paste coders come to mind 🤔
if($something>2){ ////blah blah }else if($something<0){ ///blah blah again }else{ //dont blah blah }
thanx nOw work Opening and closing statements catch the drift?