<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "advanced poll 2.03 problem..."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "advanced poll 2.03 problem..."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>advanced poll 2.03 problem...</title>
				<description><![CDATA[ hi all,<br /> i have a question, and i must say that i dont know php.<br /> i have a CMS on my site. and i installed Advanced Poll in the same database. i didnt create a new database for the Advanced Poll.<br /> As you know advanced poll can log the voter's IP. But i want advanced poll to log the user_name of the user. So a user can vote only for once. But i have trouble, because dont know coding php.<br /> i modified class_poll.php and changed the meaning of $this-&gt;ip, as below:<br /> $this-&gt;ip="a try";<br /> This was succeed, "a try" is written in the database.<br /> I think to log the user_names, i need to declare my CMS's user information as global. Can you show me the way, or can you give me some suggestions?<br /> <br /> Thanks a lot,]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14291.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14291.php</link>
				<pubDate><![CDATA[Fri, 11 Feb 2005 23:22:01]]> GMT</pubDate>
				<author><![CDATA[ yelbuke]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Doesn't your CMS have a builtin poll system?<br /> <br /> And no I have no idea how to do it, what CMS are you using?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14293.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14293.php</link>
				<pubDate><![CDATA[Fri, 11 Feb 2005 23:45:50]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ i use php-fusion. there is a poll system in the CMS but it isnt as i want.<br /> www.php-fusion.co.uk]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14295.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14295.php</link>
				<pubDate><![CDATA[Fri, 11 Feb 2005 23:52:13]]> GMT</pubDate>
				<author><![CDATA[ yelbuke]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You could add some stuff to the poll files to add the user' username to the poll db. It wouldn't be that bad really. I would just need to get the username into a variable that I can then use to pass to the poll script which then writes it to the db. Maybe I can work on it next week when i'm back home for you.<br /> <br /> Auron]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14297.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14297.php</link>
				<pubDate><![CDATA[Fri, 11 Feb 2005 23:59:52]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ if you can help, i would be glad. because i dont know php, i couldnt manage to solve the problem.<br /> Is it necessary to paste some code here from the CMS, so you can see the usage of the user data in CMS? Or do you prefer to get the CMS code from php-fusions.co.uk?<br /> <br /> thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14298.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14298.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 00:07:36]]> GMT</pubDate>
				<author><![CDATA[ yelbuke]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Could you post some code?<br /> <br /> Like the code from the page that includes the poll?<br /> I need the page with all the PHP code not the outputted HTML code.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14299.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14299.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 00:11:14]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ ok, i'm pasting panel_editor.php. You can add small panels to the web page, and you can use php code in these panels. I created a panel, and in the panel i used the poll code. here is the panel_editor.php (I'm pasting it. And if you want i can mail it to you)<br /> [code]<br /> &lt;?<br /> /*--------------------------------------------+<br /> | PHP-Fusion 5 - Content Management System    |<br /> |---------------------------------------------|<br /> | author&#58; Nick Jones &#40;Digitanium&#41; © 2002-2005 |<br /> | web&#58; http&#58;//www.php-fusion.co.uk            |<br /> | email&#58; nick@php-fusion.co.uk                |<br /> |---------------------------------------------|<br /> | Released under the terms and conditions of  |<br /> | the GNU General Public License &#40;Version 2&#41;  |<br /> +--------------------------------------------*/<br /> @require_once &quot;../fusion_config.php&quot;;<br /> require_once &quot;../fusion_core.php&quot;;<br /> require_once FUSION_BASE.&quot;subheader.php&quot;;<br /> include FUSION_LANGUAGES.FUSION_LAN.&quot;admin/admin_panels.php&quot;;<br /> include FUSION_ADMIN.&quot;navigation.php&quot;;<br /> <br /> if &#40;!checkrights&#40;&quot;F&quot;&#41;&#41; &#123; header&#40;&quot;Location&#58;../index.php&quot;&#41;; exit; &#125;<br /> <br /> $handle = opendir&#40;FUSION_INFUSIONS&#41;;<br /> while &#40;$folder = readdir&#40;$handle&#41;&#41; &#123;<br /> 	if &#40;!in_array&#40;$folder, array&#40;&quot;.&quot;, &quot;..&quot;, &quot;index.php&quot;&#41;&#41; &amp;&amp; strstr&#40;$folder, &quot;_panel&quot;&#41;&#41; &#123;<br /> 		if &#40;file_exists&#40;FUSION_INFUSIONS.$folder.&quot;/infusion.php&quot;&#41;&#41; &#123;<br /> 			@include FUSION_INFUSIONS.$folder.&quot;/infusion.php&quot;;<br /> 			if &#40;dbrows&#40;dbquery&#40;&quot;SELECT inf_name FROM &quot;.$fusion_prefix.&quot;infusions WHERE inf_name='$inf_name' AND inf_installed='1'&quot;&#41;&#41;!=0&#41; &#123;<br /> 				$panel_list&#91;&#93; = $folder;<br /> 			&#125;<br /> 		&#125; else &#123;<br /> 			$panel_list&#91;&#93; = $folder;<br /> 		&#125;<br /> 	&#125;<br /> &#125;<br /> closedir&#40;$handle&#41;;<br /> sort&#40;$panel_list&#41;;<br /> array_unshift&#40;$panel_list, &quot;none&quot;&#41;;<br /> <br /> if &#40;isset&#40;$_POST&#91;'save'&#93;&#41;&#41; &#123;<br /> 	$panel_name = stripinput&#40;$panel_name&#41;;<br /> 	if &#40;$panel_name == &quot;&quot;&#41; $error&#91;'0'&#93; = LAN_470.&quot;&lt;br&gt;&quot;;<br /> 	if &#40;$panel_filename == &quot;none&quot;&#41; &#123;<br /> 		$panel_filename = &quot;&quot;;<br /> 		$panel_content = addslashes&#40;$panel_content&#41;;<br /> 		$panel_type = &quot;php&quot;;<br /> 	&#125; else &#123;<br /> 		$panel_type = &quot;file&quot;;<br /> 		$panel_content = &quot;&quot;;<br /> 	&#125;<br /> 	$panel_access = $_POST&#91;'panel_access'&#93;;<br /> 	if &#40;isset&#40;$panel_id&#41;&#41; &#123;<br /> 		if &#40;$panel_name != &quot;&quot;&#41; &#123;<br /> 			$data = dbarray&#40;dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_id='$panel_id'&quot;&#41;&#41;;<br /> 			if &#40;$panel_name != $data&#91;'panel_name'&#93;&#41; &#123;<br /> 				$result = dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_name='$panel_name'&quot;&#41;;<br /> 				if &#40;dbrows&#40;$result&#41; != 0&#41; $error&#91;'1'&#93; = LAN_471.&quot;&lt;br&gt;&quot;;<br /> 			&#125;<br /> 		&#125;<br /> 		if &#40;$panel_type == &quot;php&quot; &amp;&amp; $panel_content == &quot;&quot;&#41; $error&#91;'2'&#93; = LAN_472.&quot;&lt;br&gt;&quot;;<br /> 		if &#40;!isset&#40;$error&#41;&#41; &#123;<br /> 			$result = dbquery&#40;&quot;UPDATE &quot;.$fusion_prefix.&quot;panels SET panel_name='$panel_name', panel_filename='$panel_filename', panel_content='$panel_content', panel_access='$panel_access' WHERE panel_id='$panel_id'&quot;&#41;;<br /> 		&#125;<br /> 		opentable&#40;LAN_480&#41;;<br /> 		echo &quot;&lt;center&gt;&lt;br&gt;\n&quot;;<br /> 		if &#40;isset&#40;$error&#41;&#41; &#123;<br /> 			echo LAN_481.&quot;&lt;br&gt;&lt;br&gt;\n&quot;.$error&#91;'0'&#93;.$error&#91;'1'&#93;.$error&#91;'2'&#93;.&quot;&lt;br&gt;\n&quot;;<br /> 		&#125; else &#123;<br /> 			echo LAN_482.&quot;&lt;br&gt;&lt;br&gt;\n&quot;;<br /> 		&#125;<br /> 		echo &quot;&lt;a href='panels.php'&gt;&quot;.LAN_486.&quot;&lt;/a&gt;&lt;br&gt;&lt;br&gt;<br /> &lt;a href='index.php'&gt;&quot;.LAN_487.&quot;&lt;/a&gt;&lt;br&gt;&lt;br&gt;<br /> &lt;/center&gt;\n&quot;;<br /> 		closetable&#40;&#41;;<br /> 	&#125; else &#123;<br /> 		if &#40;$panel_name != &quot;&quot;&#41; &#123;<br /> 			$data = dbarray&#40;dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_id='$panel_id'&quot;&#41;&#41;;<br /> 			if &#40;$panel_name != $data&#91;'panel_name'&#93;&#41; &#123;<br /> 				$result = dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_name='$panel_name'&quot;&#41;;<br /> 				if &#40;dbrows&#40;$result&#41; != 0&#41; $error&#91;'1'&#93; = LAN_471.&quot;&lt;br&gt;&quot;;<br /> 			&#125;<br /> 		&#125;<br /> 		if &#40;$panel_type == &quot;php&quot; &amp;&amp; $panel_content == &quot;&quot;&#41; $error&#91;'2'&#93; = LAN_472.&quot;&lt;br&gt;&quot;;<br /> 		if &#40;$panel_type == &quot;file&quot; &amp;&amp; $panel_filename == &quot;none&quot;&#41; $error&#91;'3'&#93; = LAN_473.&quot;&lt;br&gt;&quot;;<br /> 		if &#40;$error == &quot;&quot;&#41; &#123;<br /> 			$result = dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_side='$panel_side' ORDER BY panel_order DESC LIMIT 1&quot;&#41;;<br /> 			if &#40;dbrows&#40;$result&#41; != 0&#41; &#123; $data = dbarray&#40;$result&#41;; $neworder = $data&#91;'panel_order'&#93; + 1; &#125; else &#123; $neworder = 1; &#125;<br /> 			$result = dbquery&#40;&quot;INSERT INTO &quot;.$fusion_prefix.&quot;panels VALUES&#40;'', '$panel_name', '$panel_filename', '$panel_content', '$panel_side', '$neworder', '$panel_type', '$panel_access', '0'&#41;&quot;&#41;;<br /> 		&#125;<br /> 		opentable&#40;LAN_483&#41;;<br /> 		echo &quot;&lt;center&gt;&lt;br&gt;\n&quot;;<br /> 		if &#40;$error != &quot;&quot;&#41; &#123;<br /> 			echo LAN_484.&quot;&lt;br&gt;&lt;br&gt;<br /> &quot;.$error&#91;'0'&#93;.$error&#91;'1'&#93;.$error&#91;'2'&#93;.&quot;&lt;br&gt;\n&quot;;<br /> 		&#125; else &#123;<br /> 			echo LAN_485.&quot;&lt;br&gt;&lt;br&gt;\n&quot;;<br /> 		&#125;<br /> 		echo &quot;&lt;a href='panels.php'&gt;&quot;.LAN_486.&quot;&lt;/a&gt;&lt;br&gt;&lt;br&gt;<br /> &lt;a href='index.php'&gt;&quot;.LAN_487.&quot;&lt;/a&gt;&lt;br&gt;&lt;br&gt;<br /> &lt;/center&gt;\n&quot;;<br /> 		closetable&#40;&#41;;<br /> 	&#125;<br /> &#125; else &#123;<br /> 	if &#40;isset&#40;$_POST&#91;'preview'&#93;&#41;&#41; &#123;<br /> 		$panel_name = stripinput&#40;$_POST&#91;'panel_name'&#93;&#41;;<br /> 		$panel_filename = $_POST&#91;'panel_filename'&#93;;<br /> 		$panel_access = $_POST&#91;'panel_access'&#93;;<br /> 		$panel_side = $_POST&#91;'panel_side'&#93;;<br /> 		if &#40;ini_get&#40;'magic_quotes_gpc'&#41;&#41; $panel_content = stripslashes&#40;$panel_content&#41;;<br /> 		opentable&#40;$panel_name&#41;;<br /> 		if &#40;$panel_filename != &quot;none&quot;&#41; &#123;<br /> 			@include FUSION_INFUSIONS.$panel_filename.&quot;/&quot;.$panel_filename.&quot;.php&quot;;<br /> 			$panel_type = &quot;file&quot;;<br /> 		&#125; else &#123;<br /> 			eval&#40;$panel_content&#41;;<br /> 			$panel_type = &quot;php&quot;;<br /> 		&#125;<br /> 		$panel_content = stripinput&#40;addslashes&#40;$panel_content&#41;&#41;;<br /> 		closetable&#40;&#41;;<br /> 		tablebreak&#40;&#41;;<br /> 	&#125;<br /> 	if &#40;isset&#40;$step&#41; &amp;&amp; $step == &quot;edit&quot;&#41; &#123;<br /> 		$result = dbquery&#40;&quot;SELECT * FROM &quot;.$fusion_prefix.&quot;panels WHERE panel_id='$panel_id'&quot;&#41;;<br /> 		if &#40;dbrows&#40;$result&#41; != 0&#41; &#123;<br /> 			$data = dbarray&#40;$result&#41;;<br /> 			$panel_name = $data&#91;'panel_name'&#93;;<br /> 			$panel_filename = $data&#91;'panel_filename'&#93;;<br /> 			$panel_content = stripinput&#40;$data&#91;'panel_content'&#93;&#41;;<br /> 			$panel_type = $data&#91;'panel_type'&#93;;<br /> 			$panel_access = $data&#91;'panel_access'&#93;;<br /> 			$panel_side = $data&#91;'panel_side'&#93;;<br /> 		&#125;<br /> 	&#125;<br /> 	if &#40;isset&#40;$panel_id&#41;&#41; &#123;<br /> 		$action = $PHP_SELF.&quot;?panel_id=$panel_id&quot;;<br /> 		opentable&#40;LAN_450&#41;;<br /> 	&#125; else &#123;<br /> 		if &#40;!isset&#40;$_POST&#91;'preview'&#93;&#41;&#41; &#123;<br /> 			$panel_name = &quot;&quot;;<br /> 			$panel_filename = &quot;&quot;;<br /> 			$panel_content = &quot;openside&#40;\&quot;name\&quot;&#41;;\n&quot;.&quot;  echo \&quot;content\&quot;;\n&quot;.&quot;closeside&#40;&#41;;&quot;;<br /> 			$panel_type = &quot;&quot;;<br /> 			$panel_access = &quot;&quot;;<br /> 			$panel_side = &quot;&quot;;<br /> 		&#125;<br /> 		$action = $PHP_SELF;<br /> 		opentable&#40;LAN_451&#41;;<br /> 	&#125;<br /> 	$user_groups = getusergroups&#40;&#41;; $access_opts = &quot;&quot;;<br /> 	while&#40;list&#40;$key, $user_group&#41; = each&#40;$user_groups&#41;&#41;&#123;<br /> 		$sel = &#40;$panel_access == $user_group&#91;'0'&#93; ? &quot; selected&quot; &#58; &quot;&quot;&#41;;<br /> 		$access_opts .= &quot;&lt;option value='&quot;.$user_group&#91;'0'&#93;.&quot;'$sel&gt;&quot;.$user_group&#91;'1'&#93;.&quot;&lt;/option&gt;\n&quot;;<br /> 	&#125;<br /> 	echo &quot;&lt;form name='editform' method='post' action='$action'&gt;<br /> &lt;table align='center' cellspacing='0' cellpadding='0' class='tbl'&gt;<br /> &lt;tr&gt;<br /> &lt;td&gt;&quot;.LAN_452.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;input type='text' name='panel_name' value='$panel_name' class='textbox' style='width&#58;200px;'&gt;&lt;/td&gt;<br /> &lt;/tr&gt;\n&quot;;<br /> 	if &#40;isset&#40;$panel_id&#41;&#41; &#123;<br /> 		if &#40;$panel_type == &quot;file&quot;&#41; &#123;<br /> 			echo &quot;&lt;tr&gt;<br /> &lt;td&gt;&quot;.LAN_453.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;select name='panel_filename' class='textbox' style='width&#58;200px;'&gt;\n&quot;;<br /> 			for &#40;$i=0;$panel_list&#91;$i&#93;!=&quot;&quot;;$i++&#41; &#123;<br /> 				echo &quot;&lt;option&quot;.&#40;$panel_filename == $panel_list&#91;$i&#93; ? &quot; selected&quot; &#58; &quot;&quot;&#41;.&quot;&gt;$panel_list&#91;$i&#93;&lt;/option&gt;\n&quot;;<br /> 			&#125;<br /> 			echo &quot;&lt;/select&gt;&amp;nbsp;&amp;nbsp;&lt;span class='small2'&gt;&quot;.LAN_454.&quot;&lt;/span&gt;&lt;/td&gt;\n&lt;/tr&gt;\n&quot;;<br /> 		&#125;<br /> 	&#125; else &#123;<br /> 		echo &quot;&lt;tr&gt;<br /> &lt;td&gt;&quot;.LAN_453.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;select name='panel_filename' class='textbox' style='width&#58;200px;'&gt;\n&quot;;<br /> 		for &#40;$i=0;$panel_list&#91;$i&#93;!=&quot;&quot;;$i++&#41; &#123;<br /> 			echo &quot;&lt;option&quot;.&#40;$panel_filename == $panel_list&#91;$i&#93; ? &quot; selected&quot; &#58; &quot;&quot;&#41;.&quot;&gt;$panel_list&#91;$i&#93;&lt;/option&gt;\n&quot;;<br /> 		&#125;<br /> 		echo &quot;&lt;/select&gt;&amp;nbsp;&amp;nbsp;&lt;span class='small2'&gt;&quot;.LAN_454.&quot;&lt;/span&gt;&lt;/td&gt;\n&lt;/tr&gt;\n&quot;;<br /> 	&#125;<br /> 	if &#40;isset&#40;$panel_id&#41;&#41; &#123;<br /> 		if &#40;$panel_type == &quot;php&quot;&#41; &#123;<br /> 			echo &quot;&lt;tr&gt;<br /> &lt;td valign='top'&gt;&quot;.LAN_455.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;textarea name='panel_content' cols='95' rows='15' class='textbox' onselect='updatePos&#40;this&#41;;' onkeyup='updatePos&#40;this&#41;;' onclick='updatePos&#40;this&#41;;' ondblclick='updatePos&#40;this&#41;;'&gt;$panel_content&lt;/textarea&gt;&lt;/td&gt;<br /> &lt;/tr&gt;\n&quot;;<br /> 		&#125;<br /> 	&#125; else &#123;<br /> 		echo &quot;&lt;tr&gt;<br /> &lt;td valign='top'&gt;&quot;.LAN_455.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;textarea name='panel_content' cols='95' rows='15' class='textbox' onselect='updatePos&#40;this&#41;;' onkeyup='updatePos&#40;this&#41;;' onclick='updatePos&#40;this&#41;;' ondblclick='updatePos&#40;this&#41;;'&gt;$panel_content&lt;/textarea&gt;&lt;/td&gt;<br /> &lt;/tr&gt;\n&quot;;<br /> 	&#125;<br /> 	if &#40;!isset&#40;$panel_id&#41;&#41; &#123;<br /> 		echo &quot;&lt;tr&gt;<br /> &lt;td&gt;&quot;.LAN_456.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;select name='panel_side' class='textbox' style='width&#58;150px;'&gt;<br /> &lt;option value='1'&quot;.&#40;$panel_side == &quot;1&quot; ? &quot; selected&quot; &#58; &quot;&quot;&#41;.&quot;&gt;&quot;.LAN_420.&quot;&lt;/option&gt;<br /> &lt;option value='2'&quot;.&#40;$panel_side == &quot;2&quot; ? &quot; selected&quot; &#58; &quot;&quot;&#41;.&quot;&gt;&quot;.LAN_421.&quot;&lt;/option&gt;<br /> &lt;option value='3'&quot;.&#40;$panel_side == &quot;3&quot; ? &quot; selected&quot; &#58; &quot;&quot;&#41;.&quot;&gt;&quot;.LAN_422.&quot;&lt;/option&gt;<br /> &lt;/select&gt;&lt;/td&gt;<br /> &lt;/tr&gt;\n&quot;;<br /> 	&#125;<br /> echo &quot;&lt;tr&gt;<br /> &lt;td&gt;&quot;.LAN_457.&quot;&lt;/td&gt;<br /> &lt;td&gt;&lt;select name='panel_access' class='textbox' style='width&#58;150px;'&gt;<br /> $access_opts&lt;/select&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;tr&gt;<br /> &lt;td align='center' colspan='2'&gt;&lt;br&gt;\n&quot;;<br /> 	if &#40;isset&#40;$panel_id&#41;&#41; &#123;<br /> 		if &#40;$panel_type == &quot;php&quot;&#41; echo &quot;&lt;input type='hidden' name='panel_filename' value='none'&gt;\n&quot;;<br /> 		echo &quot;&lt;input type='hidden' name='panel_side' value='$panel_side'&gt;\n&quot;;<br /> 	&#125;<br /> 	echo &quot;&lt;input type='submit' name='preview' value='&quot;.LAN_458.&quot;' class='button'&gt;<br /> &lt;input type='submit' name='save' value='&quot;.LAN_459.&quot;' class='button'&gt;&lt;/td&gt;<br /> &lt;/tr&gt;<br /> &lt;/table&gt;<br /> &lt;/form&gt;\n&quot;;<br /> 	closetable&#40;&#41;;<br /> 	echo &quot;&lt;script language='JavaScript'&gt;<br /> var editBody = document.editform.panel_content;<br /> function insertText&#40;theText&#41; &#123;<br /> 	if &#40;editBody.createTextRange &amp;&amp; editBody.curPos&#41; &#123;<br /> 		editBody.curPos.text = theText;<br /> 	&#125; else &#123;<br /> 		editBody.value += theText;<br /> 	&#125;<br /> editBody.focus&#40;&#41;;<br /> &#125;<br /> function AddText&#40;wrap,unwrap&#41; &#123;<br /> 	if &#40;editBody.curPos&#41; &#123;<br /> 		insertText&#40;wrap + editBody.curPos.text + unwrap&#41;;<br /> 	&#125; else &#123;<br /> 		insertText&#40;wrap + unwrap&#41;;<br /> 	&#125;<br /> &#125;<br /> function updatePos&#40;obj&#41; &#123;<br /> 	if &#40;obj.createTextRange&#41; &#123;<br /> 		obj.curPos = document.selection.createRange&#40;&#41;.duplicate&#40;&#41;;<br /> 	&#125;<br /> &#125;<br /> &lt;/script&gt;\n&quot;;<br /> &#125;<br /> <br /> echo &quot;&lt;/td&gt;\n&quot;;<br /> require_once FUSION_BASE.&quot;footer.php&quot;;<br /> ?&gt;<br /> [/code]<br /> And inow i'm pasting the important file news.php<br /> [code]<br /> &lt;?<br /> /*--------------------------------------------+<br /> | PHP-Fusion 5 - Content Management System    |<br /> |---------------------------------------------|<br /> | author&#58; Nick Jones &#40;Digitanium&#41; © 2002-2005 |<br /> | web&#58; http&#58;//www.php-fusion.co.uk            |<br /> | email&#58; nick@php-fusion.co.uk                |<br /> |---------------------------------------------|<br /> | Released under the terms and conditions of  |<br /> | the GNU General Public License &#40;Version 2&#41;  |<br /> +--------------------------------------------*/<br /> @require_once &quot;fusion_config.php&quot;;<br /> require_once &quot;fusion_core.php&quot;;<br /> require_once &quot;subheader.php&quot;;<br /> require_once &quot;side_left.php&quot;;<br /> <br /> if &#40;!isset&#40;$readmore&#41;&#41; &#123;<br /> 	$rows = dbcount&#40;&quot;&#40;news_id&#41;&quot;, &quot;news&quot;, &quot;&#40;news_start='0'||news_start&lt;=&quot;.time&#40;&#41;.&quot;&#41; AND &#40;news_end='0'||news_end&gt;=&quot;.time&#40;&#41;.&quot;&#41;&quot;&#41;;<br /> 	if &#40;!isset&#40;$rowstart&#41;&#41; $rowstart = 0;<br /> 	if &#40;$rows != 0&#41; &#123;<br /> 		$i = 1;<br /> 		$result = dbquery&#40;<br /> 			&quot;SELECT tn.*, user_id, user_name FROM &quot;.$fusion_prefix.&quot;news tn<br /> 			LEFT JOIN &quot;.$fusion_prefix.&quot;users tu ON tn.news_name=tu.user_id<br /> 			WHERE &#40;news_start='0'||news_start&lt;=&quot;.time&#40;&#41;.&quot;&#41; AND &#40;news_end='0'||news_end&gt;=&quot;.time&#40;&#41;.&quot;&#41;<br /> 			ORDER BY news_datestamp DESC LIMIT $rowstart,10&quot;<br /> 		&#41;;		<br /> 		$numrows = dbrows&#40;$result&#41;;<br /> 		while &#40;$data = dbarray&#40;$result&#41;&#41; &#123;<br /> 			$news_subject = &quot;&lt;a name='&quot;.$data&#91;'news_id'&#93;.&quot;'&gt;&lt;/a&gt;&quot;.stripslashes&#40;$data&#91;'news_subject'&#93;&#41;;<br /> 			$news_news = stripslashes&#40;$data&#91;'news_news'&#93;&#41;;<br /> 			if &#40;$data&#91;'news_breaks'&#93; == &quot;y&quot;&#41; $news_news = nl2br&#40;$news_news&#41;;<br /> 			$news_info = array&#40;<br /> 				&quot;news_id&quot; =&gt; $data&#91;'news_id'&#93;,<br /> 				&quot;user_id&quot; =&gt; $data&#91;'user_id'&#93;,<br /> 				&quot;user_name&quot; =&gt; $data&#91;'user_name'&#93;,<br /> 				&quot;news_date&quot; =&gt; $data&#91;'news_datestamp'&#93;, <br /> 				&quot;news_ext&quot; =&gt; $data&#91;'news_extended'&#93; ? &quot;y&quot; &#58; &quot;n&quot;,<br /> 				&quot;news_reads&quot; =&gt; $data&#91;'news_reads'&#93;,<br /> 				&quot;news_comments&quot; =&gt; dbcount&#40;&quot;&#40;comment_id&#41;&quot;, &quot;comments&quot;, &quot;comment_type='N' AND comment_item_id='&quot;.$data&#91;'news_id'&#93;.&quot;'&quot;&#41;<br /> 			&#41;;<br /> 			render_news&#40;$news_subject, $news_news, $news_info&#41;;<br /> 			if &#40;$i != $numrows&#41; &#123; tablebreak&#40;&#41;; &#125; $i++;<br /> 		&#125;<br /> 		echo &quot;&lt;div align='center' style='margin-top&#58;5px;'&gt;\n&quot;.makePageNav&#40;$rowstart,10,$rows,3&#41;.&quot;\n&lt;/div&gt;\n&quot;;<br /> 	&#125; else &#123;<br /> 		opentable&#40;LAN_46&#41;;<br /> 		echo &quot;&lt;center&gt;&lt;br&gt;\n&quot;.LAN_47.&quot;&lt;br&gt;&lt;br&gt;\n&lt;/center&gt;\n&quot;;<br /> 		closetable&#40;&#41;;<br /> 	&#125;<br /> &#125; else &#123;<br /> 	if &#40;!isNum&#40;$readmore&#41;&#41; &#123; header&#40;&quot;Location&#58;&quot;.$PHP_SELF&#41;; exit; &#125;<br /> 	include FUSION_INCLUDES.&quot;comments_include.php&quot;;<br /> 	include FUSION_INCLUDES.&quot;ratings_include.php&quot;;<br /> 	$result = dbquery&#40;<br /> 		&quot;SELECT tn.*, user_id, user_name FROM &quot;.$fusion_prefix.&quot;news tn<br /> 		LEFT JOIN &quot;.$fusion_prefix.&quot;users tu ON tn.news_name=tu.user_id<br /> 		WHERE news_id='$readmore'&quot;<br /> 	&#41;;<br /> 	if &#40;dbrows&#40;$result&#41;!=0&#41; &#123;<br /> 		$data = dbarray&#40;$result&#41;;<br /> 		$news_subject = $data&#91;'news_subject'&#93;;<br /> 		$news_news = stripslashes&#40;$data&#91;'news_extended'&#93; ? $data&#91;'news_extended'&#93; &#58; $data&#91;'news_news'&#93;&#41;;<br /> 		if &#40;$data&#91;'news_breaks'&#93; == &quot;y&quot;&#41; &#123; $news_news = nl2br&#40;$news_news&#41;; &#125;<br /> 		$news_info = array&#40;<br /> 			&quot;news_id&quot; =&gt; $data&#91;'news_id'&#93;,<br /> 			&quot;user_id&quot; =&gt; $data&#91;'user_id'&#93;,<br /> 			&quot;user_name&quot; =&gt; $data&#91;'user_name'&#93;,<br /> 			&quot;news_date&quot; =&gt; $data&#91;'news_datestamp'&#93;,<br /> 			&quot;news_ext&quot; =&gt; &quot;n&quot;,<br /> 			&quot;news_reads&quot; =&gt; $data&#91;'news_reads'&#93;,<br /> 			&quot;news_comments&quot; =&gt; dbcount&#40;&quot;&#40;comment_id&#41;&quot;, &quot;comments&quot;, &quot;comment_type='N' AND comment_item_id='&quot;.$data&#91;'news_id'&#93;.&quot;'&quot;&#41;<br /> 		&#41;;<br /> 		render_news&#40;$news_subject, $news_news, $news_info&#41;;<br /> 		showcomments&#40;&quot;N&quot;,&quot;news&quot;,&quot;news_id&quot;,$readmore,&quot;$PHP_SELF?readmore=$readmore&quot;&#41;;<br /> 		showratings&#40;&quot;N&quot;,$readmore,&quot;$PHP_SELF?readmore=$readmore&quot;&#41;;<br /> 		if &#40;!isset&#40;$_POST&#91;'post_comment'&#93;&#41; &amp;&amp; !isset&#40;$_POST&#91;'post_rating'&#93;&#41;&#41; &#123;<br /> 			 $result2 = dbquery&#40;&quot;UPDATE &quot;.$fusion_prefix.&quot;news SET news_reads=news_reads+1 WHERE news_id='$readmore'&quot;&#41;;<br /> 		&#125;<br /> 	&#125; else &#123;<br /> 		header&#40;&quot;Location&#58;&quot;.$PHP_SELF&#41;;<br /> 	&#125;<br /> &#125;<br /> <br /> require_once &quot;side_right.php&quot;;<br /> require_once &quot;footer.php&quot;;<br /> ?&gt;<br /> [/code]<br /> <br /> I hope they help you to help me to solve this problem.<br /> <br /> Thanks a lot...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14301.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14301.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 01:20:08]]> GMT</pubDate>
				<author><![CDATA[ yelbuke]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ K...<br /> <br /> So that page is the page you use in the admin area to create the panel right?<br /> <br /> So, all the panel stuff must be stored somewhere.<br /> I'll download it and have a look, I have a feeling it keeps it in the db.<br /> I found some references to the username though.<br /> <br /> What is the page called that actually contains the poll?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14302.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14302.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 01:25:35]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You can reach the CMS in my page at www.mud.gen.tr<br /> At the left of the page, you can see the Advanced Poll.<br /> thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14305.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14305.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 10:27:12]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ i really dont know which page contains it. but when you add a panel, panel_editor.php assists you.<br /> <br /> thanks]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4258/14306.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4258/14306.php</link>
				<pubDate><![CDATA[Sat, 12 Feb 2005 10:30:29]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>