<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "demo templates and regular template different?"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "demo templates and regular template different?"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>demo templates and regular template different?</title>
				<description><![CDATA[ i was looking over the installed templates, and then looking at the demo polls placed in the main poll directory .. and the coding is different ...<br /> <br /> for example, when i create a poll, and then get the html it tells me to put in the page, it says this:<br /> <br /> [code]&lt;?php<br /> include_once ...../public_html/poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> <br /> &lt;?php<br /> include_once ...../public_html/poll/booth.php&quot;;<br /> echo $php_poll-&gt;poll_process&#40;8&#41;;<br /> ?&gt;[/code]<br /> <br /> but like looking at the demo pages<br /> <br /> it has stuff like this:<br /> <br /> [code]&lt;?php <br /> /* Include this before your html code */<br /> include &quot;./poll_cookie.php&quot;; <br /> ?&gt;<br /> <br /> --------------------------------------------------------------------------------<br /> &lt;?php<br /> <br /> /* path */ <br /> $poll_path = ...../public_html/poll&quot;;<br /> <br /> require $poll_path.&quot;/include/config.inc.php&quot;;<br /> require $poll_path.&quot;/include/$POLLDB&#91;class&#93;&quot;;<br /> require $poll_path.&quot;/include/class_poll.php&quot;;<br /> $CLASS&#91;&quot;db&quot;&#93; = new polldb_sql;<br /> $CLASS&#91;&quot;db&quot;&#93;-&gt;connect&#40;&#41;; <br /> <br /> $php_poll = new poll&#40;&#41;;<br /> <br /> /* the first poll */ <br /> echo $php_poll-&gt;poll_process&#40;1&#41;;<br /> <br /> <br /> /* the second poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;simple&quot;&#41;;<br /> $php_poll-&gt;set_max_bar_length&#40;80&#41;; <br /> echo $php_poll-&gt;poll_process&#40;2&#41;;<br /> <br /> <br /> /* the third poll */<br /> $php_poll-&gt;set_template_set&#40;&quot;popup&quot;&#41;;<br /> if &#40;$php_poll-&gt;is_valid_poll_id&#40;3&#41;&#41; &#123;<br />     echo $php_poll-&gt;display_poll&#40;3&#41;;<br /> &#125; <br /> <br /> ?&gt;<br />  <br /> [/code]<br /> <br /> why is it different?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/1681/4160.php</guid>
				<link>https://proxy2.de/forum/posts/preList/1681/4160.php</link>
				<pubDate><![CDATA[Thu, 6 Mar 2003 21:43:40]]> GMT</pubDate>
				<author><![CDATA[ JaeSun]]></author>
			</item>
	</channel>
</rss>