=1) { $TopicName=sql_result($preresult,0,"TopicName"); $TopicID=sql_result($preresult,0,"id"); $TopicForumID=sql_result($preresult,0,"ForumID"); $TopicCatID=sql_result($preresult,0,"CategoryID"); $TopicClosed=sql_result($preresult,0,"Closed"); if($TopicClosed==3&&$PermissionInfo['CanModForum'][$TopicForumID]=="no") { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); sql_free_result($preresult); ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die(); } if(!isset($_GET['post'])||$_GET['post']!==null) { $NumberReplies=sql_result($preresult,0,"NumReply"); } if(isset($_GET['post'])&&$_GET['post']!==null) { $NumberReplies=1; } $ViewTimes=sql_result($preresult,0,"NumViews"); sql_free_result($preresult); $forumcheckx = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."forums\" WHERE \"id\"=%i".$ForumIgnoreList2." LIMIT 1", array($TopicForumID)); $fmckresult=sql_query($forumcheckx,$SQLStat); $fmcknum=sql_num_rows($fmckresult); if($fmcknum==0) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); sql_free_result($preresult); ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die(); } $ForumName=sql_result($fmckresult,0,"Name"); $ForumType=sql_result($fmckresult,0,"ForumType"); $CanHaveTopics=sql_result($fmckresult,0,"CanHaveTopics"); $ForumPostCountView=sql_result($fmckresult,0,"PostCountView"); $ForumKarmaCountView=sql_result($fmckresult,0,"KarmaCountView"); sql_free_result($fmckresult); $catcheck = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."categories\" WHERE \"id\"=%i".$CatIgnoreList2." LIMIT 1", array($TopicCatID)); $catresult=sql_query($catcheck,$SQLStat); $CategoryName=sql_result($catresult,0,"Name"); $CategoryType=sql_result($catresult,0,"CategoryType"); $CategoryPostCountView=sql_result($catresult,0,"PostCountView"); $CategoryKarmaCountView=sql_result($catresult,0,"KarmaCountView"); sql_free_result($catresult); if($GroupInfo['HasAdminCP']!="yes"||$GroupInfo['HasModCP']!="yes") { if($MyPostCountChk==null) { $MyPostCountChk = 0; } if($MyKarmaCount==null) { $MyKarmaCount = 0; } if($ForumPostCountView!=0&&$MyPostCountChk<$ForumPostCountView) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } if($CategoryPostCountView!=0&&$MyPostCountChk<$CategoryPostCountView) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } if($ForumKarmaCountView!=0&&$MyKarmaCount<$ForumKarmaCountView) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } if($CategoryKarmaCountView!=0&&$MyKarmaCount<$CategoryKarmaCountView) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); } } if($ForumCheck!="skip") { ?>
"> ">
 
$num) { $nums = $num; } $numz = $nums - $Settings['max_posts']; if($numz<=0) { $numz = 0; } //$i=$numz; if($nums<$num) { $nextpage = $_GET['page'] + 1; } if($nums>=$num) { $nextpage = $_GET['page']; } if($numz>=$Settings['max_posts']) { $backpage = $_GET['page'] - 1; } if($_GET['page']<=1) { $backpage = 1; } $pnum = $num; $l = 1; $Pages = null; while ($pnum>0) { if($pnum>=$Settings['max_posts']) { $pnum = $pnum - $Settings['max_posts']; $Pages[$l] = $l; ++$l; } if($pnum<$Settings['max_posts']&&$pnum>0) { $pnum = $pnum - $pnum; $Pages[$l] = $l; ++$l; } } $snumber = $_GET['page'] - 1; $PageLimit = $Settings['max_posts'] * $snumber; if($PageLimit<0) { $PageLimit = 0; } //End Reply Page Code $i=0; if(!isset($_GET['post'])||$_GET['post']!==null) { $query = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."posts\" WHERE \"TopicID\"=%i ORDER BY \"TimeStamp\" ASC ".$SQLimit, array($_GET['id'],$PageLimit,$Settings['max_posts'])); } if(isset($_GET['post'])&&$_GET['post']!==null) { $query = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."posts\" WHERE \"TopicID\"=%i AND \"id\"=%i ORDER BY \"TimeStamp\" ASC ".$SQLimit, array($_GET['id'],$_GET['post'],$PageLimit,$Settings['max_posts'])); } $result=sql_query($query,$SQLStat); $num=sql_num_rows($result); if($num==0) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die(); } if($num!=0) { if($ViewTimes==0||$ViewTimes==null) { $NewViewTimes = 1; } if($ViewTimes!=0&&$ViewTimes!=null) { $NewViewTimes = $ViewTimes + 1; } $viewsup = sql_pre_query("UPDATE \"".$Settings['sqltable']."topics\" SET \"NumViews\"='%s' WHERE \"id\"=%i", array($NewViewTimes,$_GET['id'])); sql_query($viewsup,$SQLStat); } //List Page Number Code Start $pagenum=count($Pages); if($_GET['page']>$pagenum) { $_GET['page'] = $pagenum; } $pagei=0; $pstring = null; if($pagenum>1) { $pstring = "
".$pagenum." Pages: "; } if($_GET['page']<4) { $Pagez[0] = null; } if($_GET['page']>=4) { $Pagez[0] = "First"; } if($_GET['page']>=3) { $Pagez[1] = $_GET['page'] - 2; } if($_GET['page']<3) { $Pagez[1] = null; } if($_GET['page']>=2) { $Pagez[2] = $_GET['page'] - 1; } if($_GET['page']<2) { $Pagez[2] = null; } $Pagez[3] = $_GET['page']; if($_GET['page']<$pagenum) { $Pagez[4] = $_GET['page'] + 1; } if($_GET['page']>=$pagenum) { $Pagez[4] = null; } $pagenext = $_GET['page'] + 1; if($pagenext<$pagenum) { $Pagez[5] = $_GET['page'] + 2; } if($pagenext>=$pagenum) { $Pagez[5] = null; } if($_GET['page']<$pagenum) { $Pagez[6] = "Last"; } if($_GET['page']>=$pagenum) { $Pagez[6] = null; } $pagenumi=count($Pagez); if($num==0) { $pagenumi = 0; $pstring = null; } if($pagenum>1) { while ($pagei < $pagenumi) { if($_GET['page']!=1&&$pagei==1) { $Pback = $_GET['page'] - 1; $pstring = $pstring."< "; } if($Pagez[$pagei]!=null&& $Pagez[$pagei]!="First"&& $Pagez[$pagei]!="Last") { if($pagei!=3) { $pstring = $pstring."".$Pagez[$pagei]." "; } if($pagei==3) { $pstring = $pstring."".$Pagez[$pagei]." "; } } if($Pagez[$pagei]=="First") { $pstring = $pstring."« "; } if($Pagez[$pagei]=="Last") { $ptestnext = $pagenext + 1; $paget = $pagei - 1; $Pnext = $_GET['page'] + 1; $pstring = $pstring."> "; if($ptestnext<$pagenum) { $pstring = $pstring."» "; } } ++$pagei; } $pstring = $pstring."
"; } //List Page Number Code end $CanMakeReply = "no"; $CanMakeTopic = "no"; if($PermissionInfo['CanMakeTopics'][$TopicForumID]=="yes"&&$CanHaveTopics=="yes") { $CanMakeTopic = "yes"; } if($TopicClosed==0&&$PermissionInfo['CanMakeReplys'][$TopicForumID]=="yes") { $CanMakeReply = "yes"; } if($TopicClosed==1&&$PermissionInfo['CanMakeReplysClose'][$TopicForumID]=="yes" &&$PermissionInfo['CanMakeReplys'][$TopicForumID]=="yes") { $CanMakeReply = "yes"; } if($pstring!=null||$CanMakeReply=="yes"||$CanMakeTopic=="yes") { ?>
"> ">
  */ ?>
 

This post has been edited by ".$EditUserName." on ".$MyEditTime.""; } if($User1CanUseBBags1=="yes") { $MyPost = bbcode_parser($MyPost); } if($User1CanExecPHP=="no") { $MyPost = preg_replace("/\[ExecPHP\](.*?)\[\/ExecPHP\]/is","ERROR: cannot execute php code.",$MyPost); } if($User1CanExecPHP=="yes") { $MyPost = php_execute($MyPost); } if($User1CanDoHTML1=="no") { $MyPost = preg_replace("/\[DoHTML\](.*?)\[\/DoHTML\]/is","ERROR: cannot execute html.",$MyPost); } if($User1CanDoHTML1=="yes") { $MyPost = do_html_bbcode($MyPost); } $MyPost = text2icons($MyPost,$Settings['sqltable'],$SQLStat); $MyPost = preg_replace("/\/", "
", nl2br($MyPost)); $MyPost = url2link($MyPost); if($MySubPost!=null) { $MyPost = $MyPost."\n".$MySubPost; } if($User1CanUseBBags=="yes") { $User1Signature = bbcode_parser($User1Signature); } if($User1CanExecPHP=="no") { $User1Signature = preg_replace("/\[ExecPHP\](.*?)\[\/ExecPHP\]/is","ERROR: cannot execute php code.",$User1Signature); } if($User1CanExecPHP=="yes") { $User1Signature = php_execute($User1Signature); } if($User1CanDoHTML1=="no") { $User1Signature = preg_replace("/\[DoHTML\](.*?)\[\/DoHTML\]/is","ERROR: cannot execute html.",$User1Signature); } if($User1CanDoHTML=="yes") { $User1Signature = do_html_bbcode($User1Signature); } $User1Signature = text2icons($User1Signature,$Settings['sqltable'],$SQLStat); $User1Signature = preg_replace("/\/", "
", nl2br($User1Signature)); $User1Signature = url2link($User1Signature); $CanEditReply = false; $CanDeleteReply = false; if($_SESSION['UserGroup']!=$Settings['GuestGroup']) { if($PermissionInfo['CanEditReplys'][$MyForumID]=="yes"&& $_SESSION['UserID']==$MyUserID) { $CanEditReply = true; } if($PermissionInfo['CanDeleteReplys'][$MyForumID]=="yes"&& $_SESSION['UserID']==$MyUserID) { $CanDeleteReply = true; } if($PermissionInfo['CanModForum'][$MyForumID]=="yes") { $CanEditReply = true; $CanDeleteReply = true; } } if($_SESSION['UserID']==0) { $CanEditReply = false; $CanDeleteReply = false; } $ReplyNum = $i + $PageLimit + 1; ?>
"> ( )
"> ( )
 0&&$User1Hidden=="no") { echo "".$User1Name.""; } if($User1ID<=0||$User1Hidden=="yes") { echo "".$User1Name.""; } ?>
".$ThemeSet['EditReply']; ?> ".$ThemeSet['DeleteReply']; ?> ">  
<?php echo $User1Name; ?>'s Avatar


Group:
Member: 0&&$User1Hidden=="no") { echo $User1ID; } if($User1ID<=0||$User1Hidden=="yes") { echo 0; } ?>
Posts:
Karma:
Joined:
User IP:
Post IP:


--------------------
 "> >">
 
">
 Make Reply Message:

You have to wait before making/editing another post.
Click ">here to view your reply.
 

 
 
=1) { $QuoteReplyID=sql_result($result,0,"id"); $QuoteReplyFID=sql_result($result,0,"ForumID"); $QuoteReplyCID=sql_result($result,0,"CategoryID"); $QuoteUserID=sql_result($result,0,"UserID"); $QuoteReply=sql_result($result,0,"Post"); $QuoteReply = preg_replace("/\[ExecPHP\](.*?)\[\/ExecPHP\]/is","",$QuoteReply); $QuoteDescription=sql_result($result,0,"Description"); $QuoteGuestName=sql_result($result,0,"GuestName"); $requery = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."members\" WHERE \"id\"=%i LIMIT 1", array($QuoteUserID)); $reresult=sql_query($requery,$SQLStat); $renum=sql_num_rows($reresult); if($renum<1) { $QuoteUserID = -1; $requery = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."members\" WHERE \"id\"=%i LIMIT 1", array($QuoteUserID)); $reresult=sql_query($requery,$SQLStat); $renum=sql_num_rows($reresult); } $QuoteUserName=sql_result($reresult,0,"Name"); if($QuoteUserName=="Guest") { $QuoteUserName=$QuoteGuestName; if($QuoteUserName==null) { $QuoteUserName="Guest"; } } $QuoteUserName = stripcslashes(htmlspecialchars($QuoteUserName, ENT_QUOTES, $Settings['charset'])); //$QuoteUserName = preg_replace("/&#(x[a-f0-9]+|[0-9]+);/i", "&#$1;", $QuoteUserName); $QuoteUserName = remove_spaces($QuoteUserName); /*$QuoteReply = stripcslashes(htmlspecialchars($QuoteReply, ENT_QUOTES, $Settings['charset'])); $QuoteReply = preg_replace("/&#(x[a-f0-9]+|[0-9]+);/i", "&#$1;", $QuoteReply); //$QuoteReply = remove_spaces($QuoteReply);*/ $QuoteReply = remove_bad_entities($QuoteReply); $QuoteDescription = str_replace("Re: ","",$QuoteDescription); $QuoteDescription = "Re: ".$QuoteDescription; $QuoteReply = $QuoteUserName.":\n("".$QuoteReply."")"; if(!isset($PermissionInfo['CanViewForum'][$QuoteReplyFID])) { $PermissionInfo['CanViewForum'][$QuoteReplyFID] = "no"; } if($PermissionInfo['CanViewForum'][$QuoteReplyFID]=="no") { $QuoteReply = null; $QuoteDescription = null; } if(!isset($CatPermissionInfo['CanViewCategory'][$QuoteReplyCID])) { $CatPermissionInfo['CanViewCategory'][$QuoteReplyCID] = "no"; } if($CatPermissionInfo['CanViewCategory'][$QuoteReplyCID]=="no") { $QuoteReply = null; $QuoteDescription = null; } } } if($GroupInfo['HasAdminCP']!="yes"||$GroupInfo['HasModCP']!="yes") { if($_GET['post']!=null&&$num>=1) { $rforumcheck = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."forums\" WHERE \"id\"=%i".$ForumIgnoreList2." LIMIT 1", array($QuoteReplyFID)); $rfmckresult=sql_query($rforumcheck,$SQLStat); $rForumPostCountView=sql_result($rfmckresult,0,"PostCountView"); $rForumKarmaCountView=sql_result($rfmckresult,0,"KarmaCountView"); sql_free_result($rfmckresult); $rcatcheck = sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."categories\" WHERE \"id\"=%i".$CatIgnoreList2." LIMIT 1", array($QuoteReplyCID)); $rcatresult=sql_query($rcatcheck,$SQLStat); $rCategoryPostCountView=sql_result($rcatresult,0,"PostCountView"); $rCategoryKarmaCountView=sql_result($rcatresult,0,"KarmaCountView"); sql_free_result($rcatresult); if($MyPostCountChk==null) { $MyPostCountChk = 0; } if($rForumPostCountView!=0&&$MyPostCountChk<$rForumPostCountView) { $QuoteReply = null; $QuoteDescription = null; } if($rCategoryPostCountView!=0&&$MyPostCountChk<$rCategoryPostCountView) { $QuoteReply = null; $QuoteDescription = null; } if($rForumKarmaCountView!=0&&$MyKarmaCount<$rForumKarmaCountView) { $QuoteReply = null; $QuoteDescription = null; } if($rCategoryKarmaCountView!=0&&$MyKarmaCount<$rCategoryKarmaCountView) { $QuoteReply = null; $QuoteDescription = null; } } } if($_GET['post']==null||$num<1) { $QuoteReply = null; /*$QuoteDescription = null;*/ } $UFID = rand_uuid("rand"); $_SESSION['UserFormID'] = $UFID; ?>
#">
Making a Reply in Topic
 "; } echo "
" style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" /> " style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" />
"; sql_free_result($renee_result); ?>
">




 
 
#">
 Make Reply Message:
"80") { $Error="Yes"; ?> "30") { $Error="Yes"; ?> _> by Kazuki Przyborowski - Cool Dude 2k */ $katarzynaqy=sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."wordfilter\"", array(null)); $katarzynart=sql_query($katarzynaqy,$SQLStat); $katarzynanm=sql_num_rows($katarzynart); $katarzynas=0; while ($katarzynas < $katarzynanm) { $Filter=sql_result($katarzynart,$katarzynas,"FilterWord"); $Replace=sql_result($katarzynart,$katarzynas,"Replacement"); $CaseInsensitive=sql_result($katarzynart,$katarzynas,"CaseInsensitive"); if($CaseInsensitive=="on") { $CaseInsensitive = "yes"; } if($CaseInsensitive=="off") { $CaseInsensitive = "no"; } if($CaseInsensitive!="yes"||$CaseInsensitive!="no") { $CaseInsensitive = "no"; } $WholeWord=sql_result($katarzynart,$katarzynas,"WholeWord"); if($WholeWord=="on") { $WholeWord = "yes"; } if($WholeWord=="off") { $WholeWord = "no"; } if($WholeWord!="yes"&&$WholeWord!="no") { $WholeWord = "no"; } $Filter = preg_quote($Filter, "/"); if($CaseInsensitive!="yes"&&$WholeWord=="yes") { $_POST['ReplyDesc'] = preg_replace("/\b(".$Filter.")\b/", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/\b(".$Filter.")\b/", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive=="yes"&&$WholeWord=="yes") { $_POST['ReplyDesc'] = preg_replace("/\b(".$Filter.")\b/i", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/\b(".$Filter.")\b/i", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive!="yes"&&$WholeWord!="yes") { $_POST['ReplyDesc'] = preg_replace("/".$Filter."/", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/".$Filter."/", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive=="yes"&&$WholeWord!="yes") { $_POST['ReplyDesc'] = preg_replace("/".$Filter."/i", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/".$Filter."/i", $Replace, $_POST['ReplyPost']); } ++$katarzynas; } sql_free_result($katarzynart); if ($_POST['ReplyDesc']==null) { $Error="Yes"; ?> $Settings['max_posts']) { $NumPages = ceil($MyPostNum/$Settings['max_posts']); } if($MyPostNum<=$Settings['max_posts']) { $NumPages = 1; } redirect("refresh",$rbasedir.url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=".$NumPages,$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'],FALSE).$Settings['qstr']."#reply".$MyPostNum,"3"); ?>

Your Reply Description is too big.
 

Invalid code entered
 

You Guest Name is too big.
 

Sorry the referering url dose not match our host name.
 

Sorry the referering url dose not match our host name.
 

You need to enter a Reply Description.
 

You need to enter a Guest Name.
 

You do not have permission to make a reply here.
 

You do not have permission to make a reply here.
 

You need to enter a Reply.
 

Click ">here to goto index page.
 


Reply to Topic was posted.
Click &#reply">here to view your reply.
 

 
 
2) { $TPinned = 1; } if ($TPinned<0) { $TPinned = 0; } $CanPinTopics = false; if($_SESSION['UserGroup']!=$Settings['GuestGroup']) { if($PermissionInfo['CanPinTopics'][$TForumID]=="yes"&& $_SESSION['UserID']==$TUsersID) { $CanPinTopics = true; } if($PermissionInfo['CanPinTopics'][$TForumID]=="yes"&& $PermissionInfo['CanModForum'][$TForumID]=="yes") { $CanPinTopics = true; } if($PermissionInfo['CanPinTopics'][$TForumID]=="no"&& $TopicClosed==1) { $CanPinTopics = false; } } if($_SESSION['UserID']==0) { $CanPinTopics = false; } if($_GET['level']<1) { $_GET['level'] = 1; } if($_GET['level']>2) { $_GET['level'] = 1; } if($PermissionInfo['CanModForum'][$UseThisFonum]=="no") { if($_GET['level']>1) { $_GET['level'] = 1; } } if($CanPinTopics===false) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); sql_free_result($gtsresult); ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die(); } sql_free_result($gtsresult); if($CanPinTopics===true) { if($_GET['act']=="pin") { $queryupd = sql_pre_query("UPDATE \"".$Settings['sqltable']."topics\" SET \"Pinned\"=%i WHERE \"id\"=%i", array($_GET['level'],$TTopicID)); } if($_GET['act']=="unpin") { $queryupd = sql_pre_query("UPDATE \"".$Settings['sqltable']."topics\" SET \"Pinned\"=0 WHERE \"id\"=%i", array($TTopicID)); } sql_query($queryupd,$SQLStat); redirect("refresh",$rbasedir.url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'],false).$Settings['qstr']."#post".$_GET['post'],"4"); ?>
">
 Pin/Unpin Topic Message:

Topic was successfully unpinned/pinned.
Click ">here to go back to topic.
 

 
3) { $TClosed = 3; } if ($TClosed<0) { $TClosed = 0; } $CanCloseTopics = false; if($_SESSION['UserGroup']!=$Settings['GuestGroup']) { if($PermissionInfo['CanCloseTopics'][$TForumID]=="yes"&& $_SESSION['UserID']==$TUsersID) { $CanCloseTopics = true; } if($PermissionInfo['CanCloseTopics'][$TForumID]=="yes"&& $PermissionInfo['CanModForum'][$TForumID]=="yes") { $CanCloseTopics = true; } } if($_GET['level']<1) { $_GET['level'] = 1; } if($_GET['level']>3) { $_GET['level'] = 1; } if($PermissionInfo['CanModForum'][$TForumID]=="no") { if($_GET['level']>1) { $_GET['level'] = 1; } } if($_SESSION['UserID']==0) { $CanCloseTopics = false; } if($CanCloseTopics===false) { redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false)); sql_free_result($gtsresult); ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302; gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die(); } sql_free_result($gtsresult); if($CanCloseTopics===true) { if($_GET['act']=="close") { $queryupd = sql_pre_query("UPDATE \"".$Settings['sqltable']."topics\" SET \"Closed\"=%i WHERE \"id\"=%i", array($_GET['level'],$TTopicID)); } if($_GET['act']=="open") { $queryupd = sql_pre_query("UPDATE \"".$Settings['sqltable']."topics\" SET \"Closed\"=0 WHERE \"id\"=%i", array($TTopicID)); } sql_query($queryupd,$SQLStat); redirect("refresh",$rbasedir.url_maker($exfile['topic'],$Settings['file_ext'],"act=view&id=".$TTopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstr['topic'],$exqstr['topic'],false).$Settings['qstr']."#post".$_GET['post'],"4"); ?>
">
 Open/Close Topic Message:

Topic was successfully opened/closed.
Click ">here to go back to topic.
 

 
">
 Move Topic Message:

Topic was successfully moved.
Click ">here to go back to topic.
 

 
">
 Delete Reply Message:

Reply was deleted successfully.
Click ">here to go back to index.
 

 
">
Editing a Reply in Topic
" style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" />   " style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" />
">


 
 
">
 Edit Reply Message:
"80") { $Error="Yes"; ?> "30") { $Error="Yes"; ?> "50") { $Error="Yes"; ?> _> by Kazuki Przyborowski - Cool Dude 2k */ $katarzynaqy=sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."wordfilter\"", array(null)); $katarzynart=sql_query($katarzynaqy,$SQLStat); $katarzynanm=sql_num_rows($katarzynart); $katarzynas=0; while ($katarzynas < $katarzynanm) { $Filter=sql_result($katarzynart,$katarzynas,"FilterWord"); $Replace=sql_result($katarzynart,$katarzynas,"Replacement"); $CaseInsensitive=sql_result($katarzynart,$katarzynas,"CaseInsensitive"); if($CaseInsensitive=="on") { $CaseInsensitive = "yes"; } if($CaseInsensitive=="off") { $CaseInsensitive = "no"; } if($CaseInsensitive!="yes"||$CaseInsensitive!="no") { $CaseInsensitive = "no"; } $WholeWord=sql_result($katarzynart,$katarzynas,"WholeWord"); if($WholeWord=="on") { $WholeWord = "yes"; } if($WholeWord=="off") { $WholeWord = "no"; } if($WholeWord!="yes"&&$WholeWord!="no") { $WholeWord = "no"; } $Filter = preg_quote($Filter, "/"); if($CaseInsensitive!="yes"&&$WholeWord=="yes") { $_POST['ReplyDesc'] = preg_replace("/\b(".$Filter.")\b/", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/\b(".$Filter.")\b/", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive=="yes"&&$WholeWord=="yes") { $_POST['ReplyDesc'] = preg_replace("/\b(".$Filter.")\b/i", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/\b(".$Filter.")\b/i", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive!="yes"&&$WholeWord!="yes") { $_POST['ReplyDesc'] = preg_replace("/".$Filter."/", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/".$Filter."/", $Replace, $_POST['ReplyPost']); } if($CaseInsensitive=="yes"&&$WholeWord!="yes") { $_POST['ReplyDesc'] = preg_replace("/".$Filter."/i", $Replace, $_POST['ReplyDesc']); $_POST['ReplyPost'] = preg_replace("/".$Filter."/i", $Replace, $_POST['ReplyPost']); } ++$katarzynas; } sql_free_result($katarzynart); $lonewolfqy=sql_pre_query("SELECT * FROM \"".$Settings['sqltable']."restrictedwords\" WHERE \"RestrictedTopicName\"='yes' or \"RestrictedUserName\"='yes'", array(null)); $lonewolfrt=sql_query($lonewolfqy,$SQLStat); $lonewolfnm=sql_num_rows($lonewolfrt); $lonewolfs=0; $RMatches = null; $RGMatches = null; while ($lonewolfs < $lonewolfnm) { $RWord=sql_result($lonewolfrt,$lonewolfs,"Word"); $RCaseInsensitive=sql_result($lonewolfrt,$lonewolfs,"CaseInsensitive"); if($RCaseInsensitive=="on") { $RCaseInsensitive = "yes"; } if($RCaseInsensitive=="off") { $RCaseInsensitive = "no"; } if($RCaseInsensitive!="yes"||$RCaseInsensitive!="no") { $RCaseInsensitive = "no"; } $RWholeWord=sql_result($lonewolfrt,$lonewolfs,"WholeWord"); if($RWholeWord=="on") { $RWholeWord = "yes"; } if($RWholeWord=="off") { $RWholeWord = "no"; } if($RWholeWord!="yes"||$RWholeWord!="no") { $RWholeWord = "no"; } $RestrictedTopicName=sql_result($lonewolfrt,$lonewolfs,"RestrictedTopicName"); if($RestrictedTopicName=="on") { $RestrictedTopicName = "yes"; } if($RestrictedTopicName=="off") { $RestrictedTopicName = "no"; } if($RestrictedTopicName!="yes"||$RestrictedTopicName!="no") { $RestrictedTopicName = "no"; } $RestrictedUserName=sql_result($lonewolfrt,$lonewolfs,"RestrictedUserName"); if($RestrictedUserName=="on") { $RestrictedUserName = "yes"; } if($RestrictedUserName=="off") { $RestrictedUserName = "no"; } if($RestrictedUserName!="yes"||$RestrictedUserName!="no") { $RestrictedUserName = "no"; } $RWord = preg_quote($RWord, "/"); if($RCaseInsensitive!="yes"&&$RWholeWord=="yes") { if($RestrictedTopicName=="yes") { $RMatches = preg_match("/\b(".$RWord.")\b/", $_POST['TopicName']); if($RMatches==true) { break 1; } } if($RestrictedUserName=="yes") { $RGMatches = preg_match("/\b(".$RWord.")\b/", $_POST['GuestName']); if($RGMatches==true) { break 1; } } } if($RCaseInsensitive=="yes"&&$RWholeWord=="yes") { if($RestrictedTopicName=="yes") { $RMatches = preg_match("/\b(".$RWord.")\b/i", $_POST['TopicName']); if($RMatches==true) { break 1; } } if($RestrictedUserName=="yes") { $RGMatches = preg_match("/\b(".$RWord.")\b/i", $_POST['GuestName']); if($RGMatches==true) { break 1; } } } if($RCaseInsensitive!="yes"&&$RWholeWord!="yes") { if($RestrictedTopicName=="yes") { $RMatches = preg_match("/".$RWord."/", $_POST['TopicName']); if($RMatches==true) { break 1; } } if($RestrictedUserName=="yes") { $RGMatches = preg_match("/".$RWord."/", $_POST['GuestName']); if($RGMatches==true) { break 1; } } } if($RCaseInsensitive=="yes"&&$RWholeWord!="yes") { if($RestrictedTopicName=="yes") { $RMatches = preg_match("/".$RWord."/i", $_POST['TopicName']); if($RMatches==true) { break 1; } } if($RestrictedUserName=="yes") { $RGMatches = preg_match("/".$RWord."/i", $_POST['GuestName']); if($RGMatches==true) { break 1; } } } ++$lonewolfs; } sql_free_result($lonewolfrt); if ($_POST['ReplyDesc']==null) { $Error="Yes"; ?>

Your Reply Description is too big.
 

Sorry the referering url dose not match our host name.
 

Invalid code entered
 

You Guest Name is too big.
 

You Topic Name is too big.
 

Sorry the referering url dose not match our host name.
 

You need to enter a Reply Description.
 

You need to enter a Guest Name.
 

This Guest Name is restricted to use.
 

You do not have permission to edit a reply here.
 

You do not have permission to edit a reply here.
 

You need to enter a Topic Name.
 

You need to enter a Reply.
 

This Topic Name is restricted to use.
 

Click ">here to goto index page.
 


Reply to Topic was edited.
Click ">here to view topic.
 

 
"> "> ">
 
id="FastReply">
#">
Making a Reply in Topic
 "; } echo "
" style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" /> " style="vertical-align: middle; border: 0px; cursor: pointer;" title="" alt="" onclick="addsmiley('ReplyPost','  ')" />
"; sql_free_result($renee_result); ?>
">




 
id="MkFastReply" class="MkFastReply">