<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Pages_Templates%3AForum</id>
		<title>Pages Templates:Forum - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Pages_Templates%3AForum"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;action=history"/>
		<updated>2026-05-01T12:03:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=635&amp;oldid=prev</id>
		<title>71.163.185.8 at 00:26, 13 March 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=635&amp;oldid=prev"/>
				<updated>2009-03-13T00:26:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:26, 13 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	//////// post submission form ////////////////&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	//////// post submission form ////////////////&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160;  // arbitrary variable, passed in &amp;quot;redirect&amp;quot; field to signify a post has just been made&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160;  if(isset($attributes['posted'])){&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; &amp;#160; &amp;#160; echo &amp;quot;Your posting has been received&amp;quot;;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160;  } else {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	// anchor forumPostForm to so that kickbacks from submission function jump to the form&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	// anchor forumPostForm to so that kickbacks from submission function jump to the form&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;a name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot; name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;a name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot; name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	// redirect - this is where to send the visitor after the post has been accepted&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	// redirect - this is where to send the visitor after the post has been accepted&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;redirect\&amp;quot; value=\&amp;quot;index.php?pageId=$pageId&amp;amp;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;message&lt;/del&gt;=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;You post has been received. Once it is approved you will see it live on our site.&lt;/del&gt;\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;redirect\&amp;quot; value=\&amp;quot;index.php?pageId=$pageId&amp;amp;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;posted&lt;/ins&gt;=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1#forumPostForm&lt;/ins&gt;\&amp;quot;&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  // end if $posted&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160;  };&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// end if foroums available and this is a forum&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// end if foroums available and this is a forum&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;};&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=634&amp;oldid=prev</id>
		<title>71.163.185.8 at 22:51, 12 March 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=634&amp;oldid=prev"/>
				<updated>2009-03-12T22:51:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:51, 12 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Below are examples of various implementations&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Below are examples of various implementations&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Basic &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;forums &lt;/del&gt;listing and form &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;page&lt;/del&gt;=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Example: &lt;/ins&gt;Basic &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;post &lt;/ins&gt;listing and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;submission &lt;/ins&gt;form=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Display's all posts and includes a submission form at the bottom. Submissions will be redirected back to the page containing this form, with a message as to the success / failure of the post.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Display's all posts and includes a submission form at the bottom. Submissions will be redirected back to the page containing this form, with a message as to the success / failure of the post.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=633&amp;oldid=prev</id>
		<title>71.163.185.8: New page: Forum pages can contain forum post listings and / or a post form. The listing and the form can be separate templates or combined into the same template. The post form can vary in many ways...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Pages_Templates:Forum&amp;diff=633&amp;oldid=prev"/>
				<updated>2009-03-12T22:51:00Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Forum pages can contain forum post listings and / or a post form. The listing and the form can be separate templates or combined into the same template. The post form can vary in many ways...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Forum pages can contain forum post listings and / or a post form. The listing and the form can be separate templates or combined into the same template. The post form can vary in many ways depending on the data you want to collect, security controls and restrictions set up in [[settings]] for forums.&lt;br /&gt;
&lt;br /&gt;
Below are examples of various implementations&lt;br /&gt;
&lt;br /&gt;
=Basic forums listing and form page=&lt;br /&gt;
Display's all posts and includes a submission form at the bottom. Submissions will be redirected back to the page containing this form, with a message as to the success / failure of the post.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// only process forum requests and output if forums is available and selected for this page&lt;br /&gt;
// accessing global settings variable forums_available (sets forum availability for entire site)&lt;br /&gt;
// and page core variable $isForum (sets forum availability for specific page)&lt;br /&gt;
&lt;br /&gt;
if($GLOBALS['iProducts']['forums_available'] AND $isForum){&lt;br /&gt;
   // get postings for current page&lt;br /&gt;
   // using core variable $page to get forum data for the current page we are in&lt;br /&gt;
   $forumArray = eV::pageForumPostsGet(NULL,$pageId,NULL,&amp;quot;post_createDate,post_handle,post_copy,post_title&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
   // shortcut to the post array&lt;br /&gt;
   $postsArr = $forumArray['posts'];&lt;br /&gt;
 &lt;br /&gt;
   if(count($postsArr) &amp;gt; 0){&lt;br /&gt;
      // loop thru posts&lt;br /&gt;
      foreach($postsArr as $post){&lt;br /&gt;
         echo &amp;quot;&amp;lt;hr&amp;gt;&amp;quot; . $post['post_title'] . &amp;quot; by &amp;quot; . $post['post_handle'] . &amp;quot; on &amp;quot; . $post['post_createDate'];&lt;br /&gt;
         echo &amp;quot;&amp;lt;br&amp;gt;&amp;quot; . $post['post_copy'];&lt;br /&gt;
      };&lt;br /&gt;
   } else {&lt;br /&gt;
      // no posts to this forum, lets output this to visitors&lt;br /&gt;
      echo &amp;quot;no posts to this forum&amp;quot;;&lt;br /&gt;
   };&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
	//////// post submission form ////////////////&lt;br /&gt;
	// anchor forumPostForm to so that kickbacks from submission function jump to the form&lt;br /&gt;
	echo &amp;quot;&amp;lt;a name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;form action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot; name=\&amp;quot;forumPostForm\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
	// field for visitors to enter handle: must be 50 or less chars&lt;br /&gt;
	// only show this field if user NOT logged in (if logged in, handle will be pulled from user account)&lt;br /&gt;
	if(eV::authorizeIsLoggedIn()){&lt;br /&gt;
		echo &amp;quot;&amp;lt;br&amp;gt;Your entry will be posted under &amp;lt;i&amp;gt;&amp;quot; . $_SESSION['user']['handle'] . &amp;quot;&amp;lt;/i&amp;gt;. This not you? &amp;lt;a href=\&amp;quot;index.php?fa=USER.logout\&amp;quot;&amp;gt;Click here to log out&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;
	} else {&lt;br /&gt;
		echo &amp;quot;&amp;lt;br&amp;gt;Enter a Handle: &amp;lt;input type=\&amp;quot;text\&amp;quot; name=\&amp;quot;handle\&amp;quot; size=25 maxlength=50&amp;gt;&lt;br /&gt;
		&amp;lt;br&amp;gt;Enter your Email Address: &amp;lt;input type=\&amp;quot;text\&amp;quot; name=\&amp;quot;emailAddress\&amp;quot; size=25 maxlength=50&amp;gt;&amp;quot;;&lt;br /&gt;
	};&lt;br /&gt;
	// max length for post title is 100 chars&lt;br /&gt;
	echo &amp;quot;&amp;lt;br&amp;gt;Enter a Title for you post: &amp;lt;input type=\&amp;quot;text\&amp;quot; name=\&amp;quot;title\&amp;quot; size=50 maxlength=100&amp;gt;&amp;quot;;&lt;br /&gt;
	// post has not size limit&lt;br /&gt;
	echo &amp;quot;&amp;lt;br&amp;gt;Enter you post: &amp;lt;textarea name=\&amp;quot;copy\&amp;quot; cols=50 rows=5&amp;gt;&amp;lt;/textarea&amp;gt;&amp;quot;;&lt;br /&gt;
	// pass the current pageId - required&lt;br /&gt;
	echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;pageId\&amp;quot; value=\&amp;quot;$pageId\&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;fa\&amp;quot; value=\&amp;quot;FORUM.post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
	echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Post!\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
	// validate - this tells the system what fields must have value&lt;br /&gt;
	echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;validate\&amp;quot; value=\&amp;quot;title,copy,handle\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
	// redirect - this is where to send the visitor after the post has been accepted&lt;br /&gt;
	echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;redirect\&amp;quot; value=\&amp;quot;index.php?pageId=$pageId&amp;amp;message=You post has been received. Once it is approved you will see it live on our site.\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
	echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// end if foroums available and this is a forum&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	</feed>