<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "redirect a user to another page after comment."]]></title>
		<link>https://proxy2.de/forum/posts/list/5.php</link>
		<description><![CDATA[Latest messages posted in the topic "redirect a user to another page after comment."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>redirect a user to another page after comment.</title>
				<description><![CDATA[ Hello,<br /> <br /> How can I redirect a user to another page if he made a reply (comment) to a subject ? <br /> <br /> Thanxs..<br /> John]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23762.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23762.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 15:44:36]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Off the top of my head edit comment.class.php somewhere towards the end of the file.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23764.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23764.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 22:33:54]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks so far !!!<br /> <br /> But the code makes me  :? ..<br /> <br /> Can you help me a bit more...<br /> <br /> [code]        &#125;<br />         if &#40;!get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />             $this-&gt;user = addslashes&#40;$this-&gt;user&#41;;<br />             $this-&gt;comment = addslashes&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         $this-&gt;user = htmlspecialchars&#40;$this-&gt;user&#41;;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;need_pass&quot;&#93;==1&#41; &#123;<br />             if &#40;get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />                 $this-&gt;pass_comment = stripslashes&#40;$this-&gt;pass_comment&#41;;<br />             &#125;<br />             if &#40;$this-&gt;db-&gt;VARS&#91;&quot;comment_pass&quot;&#93; != &quot;$this-&gt;pass_comment&quot;&#41; &#123;<br />                 return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;PassMess3&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;censor&quot;&#93;==1&#41; &#123;<br />             $this-&gt;user = $this-&gt;db-&gt;CensorBadWords&#40;$this-&gt;user&#41;;<br />             $this-&gt;comment = $this-&gt;db-&gt;CensorBadWords&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;flood_check&quot;&#93;==1&#41; &#123;<br />             if &#40;$this-&gt;db-&gt;FloodCheck&#40;$this-&gt;ip&#41;&#41; &#123;<br />                return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost8&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;banned_ip&quot;&#93;==1&#41; &#123;<br />             if &#40;$this-&gt;db-&gt;isBannedIp&#40;$this-&gt;ip&#41;&#41; &#123;<br />                 return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost9&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;canUseCaptcha&#41; &#123;<br />         	if &#40;$this-&gt;token == '' || $this-&gt;gb_captcha == ''&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br />         	if &#40;get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />         		$this-&gt;gb_captcha = stripslashes&#40;$this-&gt;gb_captcha&#41;;<br />         	&#125;<br />         	$gb_captcha = strtoupper&#40;$this-&gt;gb_captcha&#41;;<br /> <br />         	$res = $this-&gt;db-&gt;query&#40;&quot;SELECT validate_key FROM &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; WHERE session_id = '&quot;.addslashes&#40;$this-&gt;token&#41;.&quot;'&quot;&#41;;<br />         	$result = $this-&gt;db-&gt;fetch_array&#40;$res&#41;;<br />         	if &#40;$result == false || $result&#91;'validate_key'&#93; == &quot;&quot; || $gb_captcha == &quot;&quot;&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br /> <br />         	$result&#91;'validate_key'&#93; = strtoupper&#40;$result&#91;'validate_key'&#93;&#41;;<br />         	if &#40;$result&#91;'validate_key'&#93; != $gb_captcha&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br />     	&#125;<br />         return 1;<br />     &#125;<br /> <br /> 	function getToken&#40;&#41; &#123;<br /> 		srand&#40;&#40;double&#41;microtime&#40;&#41;*1000000&#41;;<br /> 		$token = md5&#40;uniqid&#40;rand&#40;&#41;&#41;&#41;;<br /> 		$phraseObj = new Phrase&#40;&#41;;<br /> 		$phraseObj-&gt;setStringLengthRange&#40;5,7&#41;;<br /> 		$validateKey = $phraseObj-&gt;getPhrase&#40;&#41;;<br /> 		$timestamp = time&#40;&#41;;<br /> 		$this-&gt;db-&gt;query&#40;&quot;INSERT INTO &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; SET session_id='$token', validate_key='$validateKey', timestamp='$timestamp'&quot;&#41;;<br /> 		return $token;<br /> 	&#125;<br /> <br />     function insert_comment&#40;&#41; &#123;<br />         $the_time = time&#40;&#41;;<br />         $host = @gethostbyaddr&#40;$this-&gt;ip&#41;;<br />         $this-&gt;db-&gt;query&#40;&quot;INSERT INTO &quot;.$this-&gt;db-&gt;table&#91;'com'&#93;.&quot; &#40;id,name,comments,host,timestamp&#41; VALUES &#40;'$this-&gt;id','$this-&gt;user','$this-&gt;comment','$host','$the_time'&#41;&quot;&#41;;<br />         if &#40;$this-&gt;canUseCaptcha&#41; &#123;<br />         	$this-&gt;db-&gt;query&#40;&quot;DELETE FROM &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; WHERE session_id = '&quot;.addslashes&#40;$this-&gt;token&#41;.&quot;'&quot;&#41;;<br />     	&#125;<br />     &#125;<br /> <br />     function comment_action&#40;$action=''&#41; &#123;<br />         global $GB_PG;<br />         if &#40;$this-&gt;id &amp;&amp; $this-&gt;is_valid_id&#40;&#41; &amp;&amp; $action==1&#41; &#123;<br />             $status = $this-&gt;check_comment&#40;&#41;;<br />             if &#40;$status == 1&#41; &#123;<br />                 $this-&gt;insert_comment&#40;&#41;;<br />                 header&#40;&quot;Location&#58; $GB_PG&#91;index&#93;&quot;&#41;;<br />             &#125; else &#123;<br />                 echo $status;<br />             &#125;<br />         &#125; elseif &#40;$this-&gt;id &amp;&amp; $this-&gt;is_valid_id&#40;&#41;&#41; &#123;<br />             echo $this-&gt;comment_form&#40;&#41;;<br />         &#125; else &#123;<br />             header&#40;&quot;Location&#58; $GB_PG&#91;index&#93;&quot;&#41;;<br />         &#125;<br />     &#125;<br /> <br /> &#125;<br /> <br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23765.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23765.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 22:54:35]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ $this-&gt;insert_comment();<br />                 header("Location: $GB_PG[index]");<br /> <br /> Change $GB_PG[index] to the url you want to take them to.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23766.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23766.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 22:59:30]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hmmm, that doesn't work....<br /> <br /> My problem is that is comes up with a empty page after I submit a comment. Proberly I made a mistake someware in the comment.php..<br /> I hoped that I could fixed with a redirection to the index.php<br /> But it doesn't work... <img src="https://proxy2.de/forum//images/smilies/c30b4198e0907b23b8246bdd52aa1c3c.gif" /> <br /> <br /> Thanks anyway !!!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23767.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23767.php</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 23:12:06]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hmmm, this irritates me.. <img src="https://proxy2.de/forum//images/smilies/2e207fad049d4d292f60607f80f05768.gif" /> .I can't make it work...<br /> <br /> Someone a suggestion why this doens't work, or maybe a workarround ??]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23769.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23769.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 14:49:36]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Post your modified code.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23770.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23770.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 14:58:39]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ oke..here it come....<br /> <br /> [code]<br /> &lt;script language=&quot;JavaScript&quot;&gt;<br /> &lt;!--<br /> function gb_picture&#40;Image,imgWidth,imgHeight&#41; &#123;<br />     var border = 18;<br />     var img = Image;<br />     var features;<br />     var w;<br />     var h;<br />     winWidth = &#40;imgWidth&lt;100&#41; ? 100 &#58; imgWidth+border;<br />     winHeight = &#40;imgHeight&lt;100&#41; ? 100 &#58; imgHeight+border;<br />     if &#40;imgWidth+border &gt; screen.width&#41; &#123;<br />         winWidth = screen.width-10;<br />         w = &#40;screen.width - winWidth&#41;/2;<br />         features = &quot;scrollbars=yes&quot;;      <br />     &#125; else &#123;<br />         w = &#40;screen.width - &#40;imgWidth+border&#41;&#41;/2;<br />     &#125;<br />     if &#40;imgHeight+border &gt; screen.height&#41; &#123;<br />         winHeight = screen.height-60;<br />         h = 0;<br />         features = &quot;scrollbars=yes&quot;;      <br />     &#125; else &#123;<br />         h = &#40;screen.height - &#40;imgHeight+border&#41;&#41;/2 - 20;<br />     &#125;<br />     winName = &#40;img.indexOf&#40;&quot;t_&quot;&#41; == -1&#41; ? img.substr&#40;4,&#40;img.length-8&#41;&#41; &#58; img.substr&#40;6,&#40;img.length-10&#41;&#41;;<br />     features = features+',toolbar=no,width='+winWidth+',height='+winHeight+',top='+h+',left='+w;<br />     theURL = '$GB_PG&#91;base_url&#93;/picture.php?img='+Image;<br />     popup = window.open&#40;theURL,winName,features&#41;;<br />     popup.focus&#40;&#41;;<br /> &#125;<br /> function getEmail&#40;email&#41; &#123;<br /> 		var stringPos = false;<br /> 		var stringEmail = &quot;&quot;;<br /> 		if &#40;email.length&gt;0&#41; &#123;<br /> 			for &#40;var i=0; i&lt;email.length; i++&#41; &#123;	<br /> 				stringPos = &#40;i % 2&#41; ? false &#58; true;<br /> 				if &#40;stringPos == true&#41; &#123;<br /> 					stringEmail = stringEmail + &quot;%&quot; + email.charAt&#40;i&#41;; <br /> 				&#125; else &#123;<br /> 					stringEmail = stringEmail + email.charAt&#40;i&#41;; <br /> 				&#125;<br /> 			&#125;<br /> 			stringEmail = unescape&#40;stringEmail&#41;;<br /> 			window.location.href = stringEmail;<br /> 		&#125;<br /> &#125;<br /> //--&gt;<br /> &lt;/script&gt;<br /> &lt;script type=&quot;text/javascript&quot; src=&quot;../_pgtres/stmenu.js&quot;&gt;&lt;/script&gt;<br /> <br /> &lt;/head&gt;<br /> &lt;body topmargin=&quot;10&quot; leftmargin=&quot;10&quot; rightmargin=&quot;10&quot; bottommargin=&quot;10&quot; bgcolor=&quot;#678FC2&quot;&gt;<br /> &lt;div align=&quot;center&quot;&gt;<br /> 	&lt;table border=&quot;0&quot; width=&quot;896&quot; id=&quot;table1&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#000000&quot; style=&quot;border-width&#58;0px; &quot;&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-style&#58;none; border-width&#58;medium; &quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;4&quot;&gt;<br /> 			&lt;font face=&quot;Arial&quot;&gt;<br /> 			&lt;img border=&quot;0&quot; src=&quot;../images/hoekl.jpg&quot; width=&quot;15&quot; height=&quot;23&quot;&gt;&lt;/font&gt;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-top-style&#58; solid; border-top-width&#58; 1px; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;400&quot;&gt;<br /> 			&lt;b&gt;<br /> 			&lt;font size=&quot;2&quot; face=&quot;Arial&quot; color=&quot;#5C995D&quot;&gt;van Nederland naar Noorwegen&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; solid; border-top-width&#58; 1px; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; solid; border-top-width&#58; 1px; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-style&#58;none; border-width&#58;medium; &quot; bgcolor=&quot;#FFFFFF&quot; width=&quot;4&quot;&gt;<br /> 			&lt;font face=&quot;Arial&quot;&gt;<br /> 			&lt;img border=&quot;0&quot; src=&quot;../images/hoekr.jpg&quot; width=&quot;15&quot; height=&quot;23&quot;&gt;&lt;/font&gt;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#C8DEFD&quot; width=&quot;4&quot; valign=&quot;bottom&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#C8DEFD&quot; width=&quot;400&quot; valign=&quot;bottom&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#C8DEFD&quot; width=&quot;85&quot; valign=&quot;bottom&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-style&#58;none; border-width&#58;medium; &quot; bgcolor=&quot;#C8DEFD&quot; width=&quot;400&quot;&gt;<br /> 			&lt;p align=&quot;right&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;<br /> &lt;!--<br /> stm_bm&#40;&#91;&quot;menu72df&quot;,820,&quot;&quot;,&quot;blank.gif&quot;,0,&quot;&quot;,&quot;&quot;,2,0,250,0,1000,1,0,0,&quot;&quot;,&quot;&quot;,0,0,1,2,&quot;hand&quot;,&quot;hand&quot;,&quot;&quot;&#93;,this&#41;;<br /> stm_bp&#40;&quot;p0&quot;,&#91;0,4,0,0,2,3,0,0,100,&quot;&quot;,-2,&quot;&quot;,-2,50,0,0,&quot;#999999&quot;,&quot;transparent&quot;,&quot;&quot;,3,0,0,&quot;#000000&quot;&#93;&#41;;<br /> stm_ai&#40;&quot;p0i0&quot;,&#91;0,&quot;Home&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;../index.htm&quot;,&quot;_self&quot;,&quot;&quot;,&quot;Home&quot;,&quot;&quot;,&quot;&quot;,0,0,0,&quot;&quot;,&quot;&quot;,0,0,0,0,1,&quot;#C8DEFD&quot;,0,&quot;#5c995d&quot;,0,&quot;&quot;,&quot;&quot;,3,3,1,1,&quot;#999999&quot;,&quot;#000000&quot;,&quot;#678FC2&quot;,&quot;#FFFFFF&quot;,&quot;bold 10pt 'Arial','Verdana'&quot;,&quot;bold 10pt 'Arial','Verdana'&quot;,0,0&#93;,0,18&#41;;<br /> stm_aix&#40;&quot;p0i1&quot;,&quot;p0i0&quot;,&#91;0,&quot;News&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;../news.htm&quot;,&quot;_self&quot;,&quot;&quot;,&quot;News&quot;&#93;,0,18&#41;;<br /> stm_aix&#40;&quot;p0i2&quot;,&quot;p0i0&quot;,&#91;0,&quot;Guestbook&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;../gbook/&quot;,&quot;_self&quot;,&quot;&quot;,&quot;Guestbook&quot;&#93;,0,18&#41;;<br /> stm_aix&#40;&quot;p0i3&quot;,&quot;p0i0&quot;,&#91;0,&quot;Contact&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;../contact.php&quot;,&quot;_self&quot;,&quot;&quot;,&quot;Contact&quot;&#93;,0,18&#41;;<br /> stm_ep&#40;&#41;;<br /> stm_em&#40;&#41;;<br /> //--&gt;<br /> &lt;/script&gt;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px; border-top-style&#58; none; border-top-width&#58; medium; border-bottom-style&#58;none; border-bottom-width&#58;medium&quot; bgcolor=&quot;#C8DEFD&quot; width=&quot;4&quot; valign=&quot;bottom&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#5C995D&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#5C995D&quot; width=&quot;400&quot;&gt;&lt;strong&gt;&lt;font color=&quot;#FFFFFF&quot; size=&quot;2&quot; face=&quot;Arial&quot;&gt;Guestbook&lt;/font&gt;&lt;/strong&gt;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#5C995D&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#5C995D&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#5C995D&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px; border-top-style&#58; none; border-top-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;&amp;nbsp;			&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-right-style&#58; none; border-right-width&#58; medium&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium&quot; width=&quot;400&quot;&gt;&amp;nbsp;			&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp; &lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;885&quot; colspan=&quot;3&quot; rowspan=&quot;10&quot; valign=&quot;top&quot; &gt;&lt;?php<br /> $include_path = dirname&#40;__FILE__&#41;;<br /> require_once $include_path.&quot;/admin/config.inc.php&quot;;<br /> require_once $include_path.&quot;/lib/$DB_CLASS&quot;;<br /> require_once $include_path.&quot;/lib/image.class.php&quot;;<br /> require_once $include_path.&quot;/lib/template.class.php&quot;;<br /> require_once $include_path.&quot;/lib/vars.class.php&quot;;<br /> require_once $include_path.&quot;/lib/comment.class.php&quot;;<br /> require_once $include_path.&quot;/lib/phrase.class.php&quot;;<br /> <br /> $gb_com = new gb_comment&#40;$include_path&#41;;<br /> $gb_com-&gt;id = &#40;isset&#40;$_GET&#91;&quot;gb_id&quot;&#93;&#41;&#41; ? $_GET&#91;&quot;gb_id&quot;&#93; &#58; '';<br /> $gb_com-&gt;id = &#40;isset&#40;$_POST&#91;&quot;gb_id&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_id&quot;&#93; &#58; $gb_com-&gt;id;<br /> $gb_com-&gt;id = intval&#40;$gb_com-&gt;id&#41;;<br /> $gb_com-&gt;comment = &#40;isset&#40;$_POST&#91;&quot;comment&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;comment&quot;&#93; &#58; '';<br /> $gb_com-&gt;user = &#40;isset&#40;$_POST&#91;&quot;gb_user&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_user&quot;&#93; &#58; '';<br /> $gb_com-&gt;pass_comment = &#40;isset&#40;$_POST&#91;&quot;pass_comment&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;pass_comment&quot;&#93; &#58; '';<br /> $gb_com-&gt;gb_captcha = &#40;isset&#40;$_POST&#91;&quot;gb_captcha&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_captcha&quot;&#93; &#58; '';<br /> $gb_com-&gt;token = &#40;isset&#40;$_POST&#91;&quot;gb_token&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_token&quot;&#93; &#58; '';<br /> $gb_action = &#40;isset&#40;$_POST&#91;&quot;gb_comment&quot;&#93;&#41;&#41; ? $_POST&#91;&quot;gb_comment&quot;&#93; &#58; '';<br /> $gb_com-&gt;comment_action&#40;$gb_action&#41;;<br /> <br /> ?&gt;<br /> 		    <br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; solid; border-left-width&#58; 1px; border-right-style&#58; none; border-right-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;<br /> 			&lt;p align=&quot;center&quot;&gt;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-right-style&#58; none; border-right-width&#58; medium&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium&quot; width=&quot;400&quot;&gt;<br /> 			&lt;p align=&quot;center&quot;&gt;&lt;/td&gt;<br /> 			&lt;td bgcolor=&quot;#F0F0EA&quot; style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; solid; border-right-width&#58; 1px&quot; width=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 		&lt;tr&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-bottom-style&#58; none; border-bottom-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;<br /> 			&lt;img border=&quot;0&quot; src=&quot;../images/hoeklo.jpg&quot; width=&quot;15&quot; height=&quot;23&quot;&gt;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-bottom-style&#58; solid; border-bottom-width&#58; 1px&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-right-style&#58; none; border-right-width&#58; medium; border-bottom-style&#58; solid; border-bottom-width&#58; 1px&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;85&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-bottom-style&#58; solid; border-bottom-width&#58; 1px&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;400&quot;&gt;&amp;nbsp;&lt;/td&gt;<br /> 			&lt;td style=&quot;border-left-style&#58; none; border-left-width&#58; medium; border-right-style&#58; none; border-right-width&#58; medium; border-bottom-style&#58; none; border-bottom-width&#58; medium&quot; bgcolor=&quot;#F0F0EA&quot; width=&quot;4&quot;&gt;<br /> 			&lt;img border=&quot;0&quot; src=&quot;../images/hoekro.jpg&quot; width=&quot;15&quot; height=&quot;23&quot;&gt;&lt;/td&gt;<br /> 		&lt;/tr&gt;<br /> 	&lt;/table&gt;<br /> &lt;/div&gt;<br /> <br /> <br /> [/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23771.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23771.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 17:18:56]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ No I mean your modified comment.class.php showing how you edited the header function,]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23772.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23772.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 17:39:35]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ oke, here it is :<br /> <br /> [code]&lt;?php<br /> /**<br />  * ----------------------------------------------<br />  * Advanced Guestbook 2.4.3 &#40;PHP/MySQL&#41;<br />  * Copyright &#40;c&#41; Chi Kien Uong<br />  * URL&#58; http&#58;//www.proxy2.de<br />  * ----------------------------------------------<br />  */<br /> <br /> class gb_comment &#123;<br /> <br />     var $comment;<br />     var $ip;<br />     var $id;<br />     var $db;<br />     var $user;<br />     var $pass_comment;<br />     var $template;<br />     var $path;<br />     var $gb_captcha = '';<br /> <br />     function gb_comment&#40;$path=''&#41; &#123;<br />         global $_SERVER;<br />         $this-&gt;ip = $_SERVER&#91;'REMOTE_ADDR'&#93;;<br />         $this-&gt;db = new guestbook_vars&#40;$path&#41;;<br />         $this-&gt;db-&gt;getVars&#40;&#41;;<br />         $this-&gt;path = $path;<br />         $this-&gt;template = &amp;$this-&gt;db-&gt;template;<br />         $this-&gt;canUseCaptcha = &#40;USE_CAPTCHA&#41; ? true &#58; false;<br />         $this-&gt;token = '';<br />     &#125;<br /> <br />     function is_valid_id&#40;&#41; &#123;<br />         $this-&gt;db-&gt;query&#40;&quot;select id from &quot;.$this-&gt;db-&gt;table&#91;'data'&#93;.&quot; WHERE &#40;id = '&quot;.intval&#40;$this-&gt;id&#41;.&quot;'&#41;&quot;&#41;;<br />         $this-&gt;db-&gt;fetch_array&#40;$this-&gt;db-&gt;result&#41;;<br />         return &#40;$this-&gt;db-&gt;record&#41; ? true &#58; false;<br />     &#125;<br /> <br />     function comment_form&#40;&#41; &#123;<br />         global $GB_UPLOAD, $GB_PG;<br />         $this-&gt;db-&gt;query&#40;&quot;select x.*, y.p_filename, y.width, y.height from &quot;.$this-&gt;db-&gt;table&#91;'data'&#93;.&quot; x left join &quot;.$this-&gt;db-&gt;table&#91;'pics'&#93;.&quot; y on &#40;x.id=y.msg_id and y.book_id=2&#41; WHERE &#40;id = '&quot;.intval&#40;$this-&gt;id&#41;.&quot;'&#41;&quot;&#41;;<br />         $row = $this-&gt;db-&gt;fetch_array&#40;$this-&gt;db-&gt;result&#41;;<br />         $LANG = &amp;$this-&gt;db-&gt;LANG;<br />         $VARS = &amp;$this-&gt;db-&gt;VARS;<br />         $DATE = $this-&gt;db-&gt;DateFormat&#40;$row&#91;'date'&#93;&#41;;<br />         $MESSAGE = nl2br&#40;$row&#91;'comment'&#93;&#41;;<br />         $id = $this-&gt;id;<br />         $bgcolor = $this-&gt;db-&gt;VARS&#91;'tb_color_1'&#93;;<br />         $COMMENT ='';<br />         $row&#91;'email2'&#93; = str_replace&#40;&quot;@&quot;, &quot;&#40;at&#41;&quot;, $row&#91;'email'&#93;&#41;;<br />         if &#40;$this-&gt;canUseCaptcha&#41; &#123;<br />         	$VARS&#91;'gbtoken'&#93; = $this-&gt;getToken&#40;&#41;;<br />         	eval&#40;&quot;\$CAPTCHA = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'captcha'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />         	$VARS&#91;'gbtoken'&#93; = &quot;&quot;;<br />         	$CAPTCHA = &quot;&quot;;<br />         &#125;<br />         if &#40;$row&#91;'p_filename'&#93; &amp;&amp; ereg&#40;&quot;^img-&quot;,$row&#91;'p_filename'&#93;&#41;&#41; &#123;<br />             $img = new gb_image&#40;&#41;;<br />             $img-&gt;set_border_size&#40;$this-&gt;db-&gt;VARS&#91;&quot;img_width&quot;&#93;, $this-&gt;db-&gt;VARS&#91;&quot;img_height&quot;&#93;&#41;;<br />             $new_img_size = $img-&gt;get_img_size_format&#40;$row&#91;'width'&#93;, $row&#91;'height'&#93;&#41;;<br />             if &#40;file_exists&#40;&quot;$this-&gt;path/$GB_UPLOAD/t_$row&#91;p_filename&#93;&quot;&#41;&#41; &#123;<br />                 $row&#91;'p_filename'&#93; = &quot;t_$row&#91;p_filename&#93;&quot;;<br />             &#125;<br />             eval&#40;&quot;\$USER_PIC = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'image'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $USER_PIC = '';<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;smilies&quot;&#93; == 1&#41; &#123;<br />             $MESSAGE = $this-&gt;db-&gt;emotion&#40;$MESSAGE&#41;;<br />         &#125;<br />         if &#40;!$row&#91;'location'&#93;&#41; &#123;<br />             $row&#91;'location'&#93; = &quot;-&quot;;<br />         &#125;<br />         if &#40;$row&#91;'url'&#93;&#41; &#123;<br />             eval&#40;&quot;\$URL = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'url'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $URL = '';<br />         &#125;<br />         if &#40;$row&#91;'icq'&#93; &amp;&amp; $this-&gt;db-&gt;VARS&#91;&quot;allow_icq&quot;&#93;==1&#41; &#123;<br />             eval&#40;&quot;\$ICQ = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'icq'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $ICQ = '';<br />         &#125;<br />         if &#40;$row&#91;'aim'&#93; &amp;&amp; $this-&gt;db-&gt;VARS&#91;&quot;allow_aim&quot;&#93;==1&#41; &#123;<br />             eval&#40;&quot;\$AIM = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'aim'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $AIM = '';<br />         &#125;<br />         if &#40;$row&#91;'email'&#93;&#41; &#123;<br />             $row&#91;'email'&#93; = &quot;javascript&#58;getEmail&#40;'&quot;.$this-&gt;db-&gt;encryptEmail&#40;&quot;mailto&#58;&quot;.$row&#91;'email'&#93;&#41;.&quot;'&#41;&quot;;<br />             eval&#40;&quot;\$EMAIL = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'email'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $EMAIL = '';<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;allow_gender&quot;&#93;==1&#41; &#123;<br />             $GENDER = &#40;$row&#91;'gender'&#93;==&quot;f&quot;&#41; ? &quot;&amp;nbsp;&lt;img src=\&quot;$GB_PG&#91;base_url&#93;/img/female.gif\&quot; width=\&quot;12\&quot; height=\&quot;12\&quot;&gt;&quot; &#58; &quot;&amp;nbsp;&lt;img src=\&quot;$GB_PG&#91;base_url&#93;/img/male.gif\&quot; width=\&quot;12\&quot; height=\&quot;12\&quot;&gt;&quot;;<br />         &#125; else &#123;<br />             $GENDER = '';<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;show_ip&quot;&#93; == 1&#41; &#123;<br />             $hostname = &#40; eregi&#40;&quot;^&#91;-a-z_&#93;+&quot;, $row&#91;'host'&#93;&#41; &#41; ? &quot;Host&quot; &#58; &quot;IP&quot;;<br />             $HOST = &quot;$hostname&#58; $row&#91;host&#93;\n&quot;;<br />         &#125; else &#123;<br />             $HOST='';<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;need_pass&quot;&#93;==1&#41; &#123;<br />             eval&#40;&quot;\$COMMENT_PASS = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'com_pass'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         &#125; else &#123;<br />             $COMMENT_PASS = '';<br />         &#125;<br />         $GB_COMMENT = &quot;#&quot;;<br />         $GB_ENTRY = &quot;&quot;;<br />         $comment_html = &quot;&quot;;<br />         eval&#40;&quot;\$GB_ENTRY = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'entry'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         eval&#40;&quot;\$comment_html = \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'header'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         eval&#40;&quot;\$comment_html .= \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'com_form'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         eval&#40;&quot;\$comment_html .= \&quot;&quot;.$this-&gt;template-&gt;get_template&#40;$this-&gt;db-&gt;GB_TPL&#91;'footer'&#93;&#41;.&quot;\&quot;;&quot;&#41;;<br />         return $comment_html;<br />     &#125;<br /> <br />     function check_comment&#40;&#41; &#123;<br />         $this-&gt;comment = $this-&gt;db-&gt;FormatString&#40;$this-&gt;comment&#41;;<br />         if &#40;empty&#40;$this-&gt;comment&#41;&#41; &#123;<br />             return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost11&quot;&#93;&#41;;<br />         &#125;<br />         $this-&gt;user = $this-&gt;db-&gt;FormatString&#40;$this-&gt;user&#41;;<br />         if &#40;empty&#40;$this-&gt;user&#41;&#41; &#123;<br />             return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost1&quot;&#93;&#41;;<br />         &#125;<br />         if &#40;!$this-&gt;db-&gt;CheckWordLength&#40;$this-&gt;user&#41;&#41; &#123;<br />             return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         &#125;<br />         if &#40;!$this-&gt;db-&gt;CheckWordLength&#40;$this-&gt;comment&#41;&#41; &#123;<br />             return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost10&quot;&#93;&#41;;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;allow_html&quot;&#93;==0&#41; &#123;<br />             $this-&gt;comment = htmlspecialchars&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;agcode&quot;&#93;==1&#41; &#123;<br />             $this-&gt;comment = $this-&gt;db-&gt;AGCode&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         if &#40;!get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />             $this-&gt;user = addslashes&#40;$this-&gt;user&#41;;<br />             $this-&gt;comment = addslashes&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         $this-&gt;user = htmlspecialchars&#40;$this-&gt;user&#41;;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;need_pass&quot;&#93;==1&#41; &#123;<br />             if &#40;get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />                 $this-&gt;pass_comment = stripslashes&#40;$this-&gt;pass_comment&#41;;<br />             &#125;<br />             if &#40;$this-&gt;db-&gt;VARS&#91;&quot;comment_pass&quot;&#93; != &quot;$this-&gt;pass_comment&quot;&#41; &#123;<br />                 return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;PassMess3&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;censor&quot;&#93;==1&#41; &#123;<br />             $this-&gt;user = $this-&gt;db-&gt;CensorBadWords&#40;$this-&gt;user&#41;;<br />             $this-&gt;comment = $this-&gt;db-&gt;CensorBadWords&#40;$this-&gt;comment&#41;;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;flood_check&quot;&#93;==1&#41; &#123;<br />             if &#40;$this-&gt;db-&gt;FloodCheck&#40;$this-&gt;ip&#41;&#41; &#123;<br />                return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost8&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;db-&gt;VARS&#91;&quot;banned_ip&quot;&#93;==1&#41; &#123;<br />             if &#40;$this-&gt;db-&gt;isBannedIp&#40;$this-&gt;ip&#41;&#41; &#123;<br />                 return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost9&quot;&#93;&#41;;<br />             &#125;<br />         &#125;<br />         if &#40;$this-&gt;canUseCaptcha&#41; &#123;<br />         	if &#40;$this-&gt;token == '' || $this-&gt;gb_captcha == ''&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br />         	if &#40;get_magic_quotes_gpc&#40;&#41;&#41; &#123;<br />         		$this-&gt;gb_captcha = stripslashes&#40;$this-&gt;gb_captcha&#41;;<br />         	&#125;<br />         	$gb_captcha = strtoupper&#40;$this-&gt;gb_captcha&#41;;<br /> <br />         	$res = $this-&gt;db-&gt;query&#40;&quot;SELECT validate_key FROM &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; WHERE session_id = '&quot;.addslashes&#40;$this-&gt;token&#41;.&quot;'&quot;&#41;;<br />         	$result = $this-&gt;db-&gt;fetch_array&#40;$res&#41;;<br />         	if &#40;$result == false || $result&#91;'validate_key'&#93; == &quot;&quot; || $gb_captcha == &quot;&quot;&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br /> <br />         	$result&#91;'validate_key'&#93; = strtoupper&#40;$result&#91;'validate_key'&#93;&#41;;<br />         	if &#40;$result&#91;'validate_key'&#93; != $gb_captcha&#41; &#123;<br />         		return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost4&quot;&#93;&#41;;<br />         	&#125;<br />     	&#125;<br />         return 1;<br />     &#125;<br /> <br /> 	function getToken&#40;&#41; &#123;<br /> 		srand&#40;&#40;double&#41;microtime&#40;&#41;*1000000&#41;;<br /> 		$token = md5&#40;uniqid&#40;rand&#40;&#41;&#41;&#41;;<br /> 		$phraseObj = new Phrase&#40;&#41;;<br /> 		$phraseObj-&gt;setStringLengthRange&#40;5,7&#41;;<br /> 		$validateKey = $phraseObj-&gt;getPhrase&#40;&#41;;<br /> 		$timestamp = time&#40;&#41;;<br /> 		$this-&gt;db-&gt;query&#40;&quot;INSERT INTO &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; SET session_id='$token', validate_key='$validateKey', timestamp='$timestamp'&quot;&#41;;<br /> 		return $token;<br /> 	&#125;<br /> <br />     function insert_comment&#40;&#41; &#123;<br />         $the_time = time&#40;&#41;;<br />         $host = @gethostbyaddr&#40;$this-&gt;ip&#41;;<br />         $this-&gt;db-&gt;query&#40;&quot;INSERT INTO &quot;.$this-&gt;db-&gt;table&#91;'com'&#93;.&quot; &#40;id,name,comments,host,timestamp&#41; VALUES &#40;'$this-&gt;id','$this-&gt;user','$this-&gt;comment','$host','$the_time'&#41;&quot;&#41;;<br />         if &#40;$this-&gt;canUseCaptcha&#41; &#123;<br />         	$this-&gt;db-&gt;query&#40;&quot;DELETE FROM &#123;$this-&gt;db-&gt;table&#91;'cap'&#93;&#125; WHERE session_id = '&quot;.addslashes&#40;$this-&gt;token&#41;.&quot;'&quot;&#41;;<br />     	&#125;<br />     &#125;<br /> <br />     function comment_action&#40;$action=''&#41; &#123;<br />         global $GB_PG;<br />         if &#40;$this-&gt;id &amp;&amp; $this-&gt;is_valid_id&#40;&#41; &amp;&amp; $action==1&#41; &#123;<br />             $status = $this-&gt;check_comment&#40;&#41;;<br />             if &#40;$status == 1&#41; &#123;<br />                 $this-&gt;insert_comment&#40;&#41;;<br />                 header&#40;&quot;Location&#58; $GB_PG&#91;index&#93;&quot;&#41;;<br />             &#125; else &#123;<br />                 echo $status;<br />             &#125;<br />         &#125; elseif &#40;$this-&gt;id &amp;&amp; $this-&gt;is_valid_id&#40;&#41;&#41; &#123;<br />             echo $this-&gt;comment_form&#40;&#41;;<br />         &#125; else &#123;<br />             header&#40;&quot;Location&#58;http&#58;//intranet.pol.index.php&quot;&#41;;<br />         &#125;<br />     &#125;<br /> <br /> &#125;<br /> <br /> ?&gt;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23773.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23773.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 17:44:52]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You changed the wrong one. You wanted to edit<br /> <br />             if ($status == 1) {<br />                 $this-&gt;insert_comment();<br />                 header("Location: $GB_PG[index]");<br />             } else {]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23774.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23774.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 18:03:43]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ GRRRRRR...it still doesn't work...<br /> It submits the comment, but I get a empty page back...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23775.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23775.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 18:50:26]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ header("Location:http://intranet.pol.index.php");<br /> <br /> For a start you need a space between the Location: and <a class="snap_shots" href="http://" target="_blank" rel="nofollow">http://</a><br /> <br /> next is <a class="snap_shots" href="http://intranet.pol.index.php" target="_blank" rel="nofollow">http://intranet.pol.index.php</a> a valid address on your system?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23776.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23776.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 18:57:43]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ no, this is the test system, the actual site is on internet..<br /> [url]http://www.frahollandtilnorge.info/gbook/index.php[/url]<br /> <br /> If you give a comment on test, you can see what is happening..]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23777.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23777.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 19:02:15]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I will look at the headers when I get home. Email me your comment.class.php file.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23778.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23778.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 19:29:02]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Great.. <img src="https://proxy2.de/forum//images/smilies/69934afc394145350659cd7add244ca9.gif" />  Thanxs....I will send it..]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7010/23779.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7010/23779.php</link>
				<pubDate><![CDATA[Tue, 22 Jan 2008 19:31:31]]> GMT</pubDate>
				<author><![CDATA[ john_73]]></author>
			</item>
	</channel>
</rss>