can help me to change this code addonline(getuid_sid($sid),"Viewing Forum Topic",""); to user can know whre topic other user go now
Forum Topic
Collapse
X
-
topic name
forum nameCode: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","");..................
Code: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","");...................キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
<div class='quotetop'>QUOTE (metulj @ Dec 11 2008, 05:33 PM) <{POST_SNAPBACK}></div>is work!!for viewtopic ..but error at view forumtopic name
forum nameCode: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","");..................
[/b]Code: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","");...................
Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715
Comment
-
<div class='quotetop'>QUOTE (extreme @ Dec 11 2008, 06:24 PM) <{POST_SNAPBACK}></div>error is kind a self explanatory....is work!!for viewtopic ..but error at view forum
Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715[/b]
it is just a matter where and how
you place posted code
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
<div class='quotetop'>QUOTE (metulj @ Dec 11 2008, 06:33 PM) <{POST_SNAPBACK}></div>//////////////////////////////////View Forumerror is kind a self explanatory....
it is just a matter where and how
you place posted code
[/b]
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
Comment
-
<div class='quotetop'>QUOTE (something else @ Dec 12 2008, 12:22 AM) <{POST_SNAPBACK}></div>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?[/b]
Comment
Comment