<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[UtopiaSoftware Forums - All Forums]]></title>
		<link>http://www.utopiasoftware.net/forum/</link>
		<description><![CDATA[UtopiaSoftware Forums - http://www.utopiasoftware.net/forum]]></description>
		<pubDate>Mon, 12 May 2008 02:31:24 -0400</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[captcha issues]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=81</link>
			<pubDate>Tue, 15 Apr 2008 20:42:01 -0400</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=81</guid>
			<description><![CDATA[hey guys, love the script.<br />
<br />
i logged in fine upon install and did some updates, now today when i went to update, i had to go thru the captcha but nothing processed at all and i was left with a blank image, thereby making my login's unsuccessful.<br />
<br />
any way to fix this with some code or even remove the captcha altogether? i have a low traffic blog that only i update.]]></description>
			<content:encoded><![CDATA[hey guys, love the script.<br />
<br />
i logged in fine upon install and did some updates, now today when i went to update, i had to go thru the captcha but nothing processed at all and i was left with a blank image, thereby making my login's unsuccessful.<br />
<br />
any way to fix this with some code or even remove the captcha altogether? i have a low traffic blog that only i update.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Bug report] Database error on revert to original template]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=80</link>
			<pubDate>Fri, 04 Apr 2008 05:29:40 -0400</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=80</guid>
			<description><![CDATA[Using the "revert to original" link for the news_newsbit_commentslink template outputs the following error:<br />
<br />
<br />
Code:<br />
Database error in Utopia News Pro:<br />
<br />
Invalid SQL Query: UPDATE `unp_template` SET template='&lt;a onClick='open("{&#36;unpurl}/comments.php?action=list&amp;amp;newsid={&#36;newsid}","View","width=550, height=580, top=20,left=20,scrollbars=yes, status=no, toolbar=no, menubar=no")' href="javascript:void(0)"&gt;&lt;font face="verdana, arial, helvetica" color="{&#36;postdatetext}" size="1"&gt;&lt;strong&gt;Comments:&lt;/strong&gt; {&#36;comments}&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&lt;a onClick='open("{&#36;unpurl}/comments.php?action=post&amp;amp;newsid={&#36;newsid}","Post","width=550, height=580, top=20,left=20,scrollbars=yes, status=no, toolbar=no, menubar=no")' href="javascript:void(0)"&gt;&lt;font face="verdana, arial, helvetica" color="{&#36;postdatetext}" size="1"&gt;(Add Comment)&lt;/font&gt;&lt;/a&gt;' WHERE id='2'<br />
MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'open("{&#36;unpurl}/comments.php?action=list&amp;amp;newsid={&#36;newsid}","View","width=550' at line 1<br />
<br />
MySQL Error Number: 1064<br />
<br />
Date: April 4, 2008 01:57 AM<br />
Script: /news/templates.php?action=revert&amp;tempid=2&amp;verify=1<br />
<br />
]]></description>
			<content:encoded><![CDATA[Using the "revert to original" link for the news_newsbit_commentslink template outputs the following error:<br />
<br />
<br />
Code:<br />
Database error in Utopia News Pro:<br />
<br />
Invalid SQL Query: UPDATE `unp_template` SET template='&lt;a onClick='open("{&#36;unpurl}/comments.php?action=list&amp;amp;newsid={&#36;newsid}","View","width=550, height=580, top=20,left=20,scrollbars=yes, status=no, toolbar=no, menubar=no")' href="javascript:void(0)"&gt;&lt;font face="verdana, arial, helvetica" color="{&#36;postdatetext}" size="1"&gt;&lt;strong&gt;Comments:&lt;/strong&gt; {&#36;comments}&lt;/font&gt;&lt;/a&gt;&amp;nbsp;&lt;a onClick='open("{&#36;unpurl}/comments.php?action=post&amp;amp;newsid={&#36;newsid}","Post","width=550, height=580, top=20,left=20,scrollbars=yes, status=no, toolbar=no, menubar=no")' href="javascript:void(0)"&gt;&lt;font face="verdana, arial, helvetica" color="{&#36;postdatetext}" size="1"&gt;(Add Comment)&lt;/font&gt;&lt;/a&gt;' WHERE id='2'<br />
MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'open("{&#36;unpurl}/comments.php?action=list&amp;amp;newsid={&#36;newsid}","View","width=550' at line 1<br />
<br />
MySQL Error Number: 1064<br />
<br />
Date: April 4, 2008 01:57 AM<br />
Script: /news/templates.php?action=revert&amp;tempid=2&amp;verify=1<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Include comments in post]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=79</link>
			<pubDate>Tue, 25 Mar 2008 00:53:47 -0400</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=79</guid>
			<description><![CDATA[Rather than link to a separate page to view and post comments, I'd like to have comments included with each news post. How can I do this?]]></description>
			<content:encoded><![CDATA[Rather than link to a separate page to view and post comments, I'd like to have comments included with each news post. How can I do this?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[avatar wont show]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=78</link>
			<pubDate>Wed, 20 Feb 2008 00:58:19 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=78</guid>
			<description><![CDATA[Hey all<br />
<br />
i have just installed the UNP an i can't se my avatar when i post a news :(<br />
<br />
Site URL<br />
http://aliasfm.net<br />
<br />
UNP Directory<br />
/news/<br />
<br />
and on the index page i have just put in <br />
<br />
<br />
PHP Code:<br />
&lt;?php/*//////////////////////////////////////////////////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utopia&nbsp;Software&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.utopiasoftware.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utopia&nbsp;News&nbsp;Pro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//////////////////////////////////////////////////*/require('functions.inc.php');unp_getSettings();isset(&#36;_GET['action'])&nbsp;?&nbsp;&#36;action&nbsp;=&nbsp;&#36;_GET['action']&nbsp;:&nbsp;&#36;action&nbsp;=&nbsp;'';//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Initialize&nbsp;News&nbsp;Class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+require('news.inc.php');&#36;n&nbsp;=&nbsp;new&nbsp;News;&#36;n-&gt;smiliesallowance&nbsp;=&nbsp;&#36;smiliesallowance;&#36;n-&gt;unpallowance&nbsp;=&nbsp;&#36;unpallowance;&#36;n-&gt;htmlallowance&nbsp;=&nbsp;&#36;htmlallowance;&#36;n-&gt;action&nbsp;=&nbsp;&#36;action;&#36;n-&gt;unp_getStyle();/*&nbsp;####################&nbsp;AVATARS&nbsp;####################&nbsp;*///&nbsp;Make&nbsp;educated&nbsp;guesses&nbsp;as&nbsp;to&nbsp;where&nbsp;we&nbsp;are...if&nbsp;(isset(&#36;unpdir)&nbsp;&amp;&amp;&nbsp;!preg_match('/&#092;/[a-zA-Z0-9]&#092;//',&nbsp;&#36;unpdir)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;unpdir&nbsp;=&nbsp;'./'.&#36;unpdir.'/';}if&nbsp;(!preg_match('/&#092;.&#092;/[a-zA-Z0-9]&#092;//',&nbsp;&#36;unpdir)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;unpdir&nbsp;=&nbsp;'.'.&#36;unpdir;}&#36;INUNPDIR&nbsp;=&nbsp;false;if&nbsp;(!file_exists(&#36;unpdir.'news.php')){&nbsp;&nbsp;&nbsp;&nbsp;&#36;INUNPDIR&nbsp;=&nbsp;true;}/*&nbsp;####################&nbsp;AVATARS&nbsp;####################&nbsp;*//*&nbsp;####################&nbsp;CATEGORIES&nbsp;####################&nbsp;*/&#36;getcats&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_category`&nbsp;ORDER&nbsp;BY&nbsp;`catid`&nbsp;ASC");&#36;categorycache&nbsp;=&nbsp;array();&nbsp;//&nbsp;Create&nbsp;a&nbsp;cache&nbsp;of&nbsp;category&nbsp;names&nbsp;to&nbsp;limit&nbsp;database&nbsp;querieswhile&nbsp;(&#36;catslist&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getcats)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;catslist['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&#36;categorycache["&#36;catid"]&nbsp;=&nbsp;&#36;catslist['catname'];}/*&nbsp;####################&nbsp;CATEGORIES&nbsp;####################&nbsp;*///&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Standard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;''){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'news_newsbit,news_newsbit_commentslink,news_avatarbit,news_header,news_footer,n ews_newsbit_readmorelink';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_header&nbsp;=&nbsp;"'.unp_printTemplate('news_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_header);&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posterid&nbsp;=&nbsp;&#36;news['posterid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;avatar&nbsp;=&nbsp;unp_checkAvatar(&#36;posterid);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;avatar)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;useravatar&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;useravatar&nbsp;=&nbsp;"'.unp_printTemplate('news_avatarbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&#36;commentsallowance&nbsp;==&nbsp;'1')&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;comments&nbsp;=&nbsp;&#36;news['comments'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;commentsinfo&nbsp;=&nbsp;"'.unp_printTemplate('news_newsbit_commentslink').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;commentsinfo&nbsp;=&nbsp;'&amp;nbsp;';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;comments&nbsp;=&nbsp;&#36;news['comments'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsTrim(&#36;newstext);&nbsp;//&nbsp;Move&nbsp;to&nbsp;unp_doNewsFormat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;NewsBit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('news_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;NewsBit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_footer&nbsp;=&nbsp;"'.unp_printTemplate('news_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Printable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'printable'){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['showall'])&nbsp;?&nbsp;&#36;showall&nbsp;=&nbsp;true&nbsp;:&nbsp;&#36;showall&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['newsid'])&nbsp;?&nbsp;&#36;getnewsid&nbsp;=&nbsp;&#36;_GET['newsid']&nbsp;:&nbsp;&#36;getnewsid&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;((&#36;getnewsid&nbsp;!=&nbsp;false)&nbsp;&amp;&amp;&nbsp;(!preg_match('/^[&#092;d]+&#36;/',&nbsp;&#36;getnewsid)))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox('You&nbsp;have&nbsp;entered&nbsp;an&nbsp;invalid&nbsp;news&nbsp;ID.');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'printable_header,printable_footer,printable_newsbit';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;showall_link&nbsp;=&nbsp;"'.unp_printTemplate('printable_showall_link').'";');&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;showall_link&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_header&nbsp;=&nbsp;"'.unp_printTemplate('printable_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_header);&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;WHERE&nbsp;`newsid`='&#36;getnewsid'&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;1");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;elseif&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;!&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('printable_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_footer&nbsp;=&nbsp;"'.unp_printTemplate('printable_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Archive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'archive'){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['showall'])&nbsp;?&nbsp;&#36;showall&nbsp;=&nbsp;true&nbsp;:&nbsp;&#36;showall&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['newsid'])&nbsp;?&nbsp;&#36;getnewsid&nbsp;=&nbsp;&#36;_GET['newsid']&nbsp;:&nbsp;&#36;getnewsid&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;((&#36;getnewsid&nbsp;!=&nbsp;false)&nbsp;&amp;&amp;&nbsp;(!preg_match('/^[&#092;d]+&#36;/',&nbsp;&#36;getnewsid)))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox('You&nbsp;have&nbsp;entered&nbsp;an&nbsp;invalid&nbsp;news&nbsp;ID.');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'archive_header,archive_footer,archive_newsbit';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;showall_link&nbsp;=&nbsp;"'.unp_printTemplate('archive_showall_link').'";');&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;showall_link&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_header&nbsp;=&nbsp;"'.unp_printTemplate('archive_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_header);&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;WHERE&nbsp;`newsid`='&#36;getnewsid'&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;1");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;elseif&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;!&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('archive_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_footer&nbsp;=&nbsp;"'.unp_printTemplate('archive_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Email&nbsp;Link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'mail'){&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['uname'])&nbsp;?&nbsp;&#36;uname&nbsp;=&nbsp;&#36;_GET['uname']&nbsp;:&nbsp;&#36;uname&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&#36;uname&nbsp;==&nbsp;'')&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox(&#36;gp_invalidrequest);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;uname&nbsp;=&nbsp;addslashes(&#36;uname);&nbsp;&nbsp;&nbsp;&nbsp;&#36;getUser&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;`email`&nbsp;FROM&nbsp;`unp_user`&nbsp;WHERE&nbsp;username='&#36;uname'");&nbsp;&nbsp;&nbsp;&nbsp;&#36;getUserinfo&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getUser);&nbsp;&nbsp;&nbsp;&nbsp;&#36;email&nbsp;=&nbsp;&#36;getUserinfo['email'];&nbsp;&nbsp;&nbsp;&nbsp;@header("Location:&nbsp;mailto:&#36;email");}?&gt;<br />
<br />
<br />
maybe thats wrong... but when i browse to /news/news.php i shows the pic?]]></description>
			<content:encoded><![CDATA[Hey all<br />
<br />
i have just installed the UNP an i can't se my avatar when i post a news :(<br />
<br />
Site URL<br />
http://aliasfm.net<br />
<br />
UNP Directory<br />
/news/<br />
<br />
and on the index page i have just put in <br />
<br />
<br />
PHP Code:<br />
&lt;?php/*//////////////////////////////////////////////////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utopia&nbsp;Software&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.utopiasoftware.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;////&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utopia&nbsp;News&nbsp;Pro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//////////////////////////////////////////////////*/require('functions.inc.php');unp_getSettings();isset(&#36;_GET['action'])&nbsp;?&nbsp;&#36;action&nbsp;=&nbsp;&#36;_GET['action']&nbsp;:&nbsp;&#36;action&nbsp;=&nbsp;'';//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Initialize&nbsp;News&nbsp;Class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+require('news.inc.php');&#36;n&nbsp;=&nbsp;new&nbsp;News;&#36;n-&gt;smiliesallowance&nbsp;=&nbsp;&#36;smiliesallowance;&#36;n-&gt;unpallowance&nbsp;=&nbsp;&#36;unpallowance;&#36;n-&gt;htmlallowance&nbsp;=&nbsp;&#36;htmlallowance;&#36;n-&gt;action&nbsp;=&nbsp;&#36;action;&#36;n-&gt;unp_getStyle();/*&nbsp;####################&nbsp;AVATARS&nbsp;####################&nbsp;*///&nbsp;Make&nbsp;educated&nbsp;guesses&nbsp;as&nbsp;to&nbsp;where&nbsp;we&nbsp;are...if&nbsp;(isset(&#36;unpdir)&nbsp;&amp;&amp;&nbsp;!preg_match('/&#092;/[a-zA-Z0-9]&#092;//',&nbsp;&#36;unpdir)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;unpdir&nbsp;=&nbsp;'./'.&#36;unpdir.'/';}if&nbsp;(!preg_match('/&#092;.&#092;/[a-zA-Z0-9]&#092;//',&nbsp;&#36;unpdir)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;unpdir&nbsp;=&nbsp;'.'.&#36;unpdir;}&#36;INUNPDIR&nbsp;=&nbsp;false;if&nbsp;(!file_exists(&#36;unpdir.'news.php')){&nbsp;&nbsp;&nbsp;&nbsp;&#36;INUNPDIR&nbsp;=&nbsp;true;}/*&nbsp;####################&nbsp;AVATARS&nbsp;####################&nbsp;*//*&nbsp;####################&nbsp;CATEGORIES&nbsp;####################&nbsp;*/&#36;getcats&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_category`&nbsp;ORDER&nbsp;BY&nbsp;`catid`&nbsp;ASC");&#36;categorycache&nbsp;=&nbsp;array();&nbsp;//&nbsp;Create&nbsp;a&nbsp;cache&nbsp;of&nbsp;category&nbsp;names&nbsp;to&nbsp;limit&nbsp;database&nbsp;querieswhile&nbsp;(&#36;catslist&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getcats)){&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;catslist['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&#36;categorycache["&#36;catid"]&nbsp;=&nbsp;&#36;catslist['catname'];}/*&nbsp;####################&nbsp;CATEGORIES&nbsp;####################&nbsp;*///&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Standard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;''){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'news_newsbit,news_newsbit_commentslink,news_avatarbit,news_header,news_footer,n ews_newsbit_readmorelink';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_header&nbsp;=&nbsp;"'.unp_printTemplate('news_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_header);&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posterid&nbsp;=&nbsp;&#36;news['posterid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;avatar&nbsp;=&nbsp;unp_checkAvatar(&#36;posterid);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;avatar)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;useravatar&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;useravatar&nbsp;=&nbsp;"'.unp_printTemplate('news_avatarbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&#36;commentsallowance&nbsp;==&nbsp;'1')&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;comments&nbsp;=&nbsp;&#36;news['comments'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;commentsinfo&nbsp;=&nbsp;"'.unp_printTemplate('news_newsbit_commentslink').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;commentsinfo&nbsp;=&nbsp;'&amp;nbsp;';&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;comments&nbsp;=&nbsp;&#36;news['comments'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsTrim(&#36;newstext);&nbsp;//&nbsp;Move&nbsp;to&nbsp;unp_doNewsFormat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;NewsBit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('news_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;NewsBit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;news_footer&nbsp;=&nbsp;"'.unp_printTemplate('news_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;news_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Printable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'printable'){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['showall'])&nbsp;?&nbsp;&#36;showall&nbsp;=&nbsp;true&nbsp;:&nbsp;&#36;showall&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['newsid'])&nbsp;?&nbsp;&#36;getnewsid&nbsp;=&nbsp;&#36;_GET['newsid']&nbsp;:&nbsp;&#36;getnewsid&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;((&#36;getnewsid&nbsp;!=&nbsp;false)&nbsp;&amp;&amp;&nbsp;(!preg_match('/^[&#092;d]+&#36;/',&nbsp;&#36;getnewsid)))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox('You&nbsp;have&nbsp;entered&nbsp;an&nbsp;invalid&nbsp;news&nbsp;ID.');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'printable_header,printable_footer,printable_newsbit';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;showall_link&nbsp;=&nbsp;"'.unp_printTemplate('printable_showall_link').'";');&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;showall_link&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_header&nbsp;=&nbsp;"'.unp_printTemplate('printable_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_header);&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;WHERE&nbsp;`newsid`='&#36;getnewsid'&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;1");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;elseif&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;!&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('printable_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;printable_footer&nbsp;=&nbsp;"'.unp_printTemplate('printable_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;printable_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Process&nbsp;News&nbsp;-&nbsp;Archive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'archive'){&nbsp;&nbsp;&nbsp;&nbsp;define('ISPRINTABLEPAGE',&nbsp;true);&nbsp;&nbsp;&nbsp;&nbsp;define('WILLTRUNCATE',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;define('ISRSS',&nbsp;false);&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['showall'])&nbsp;?&nbsp;&#36;showall&nbsp;=&nbsp;true&nbsp;:&nbsp;&#36;showall&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['newsid'])&nbsp;?&nbsp;&#36;getnewsid&nbsp;=&nbsp;&#36;_GET['newsid']&nbsp;:&nbsp;&#36;getnewsid&nbsp;=&nbsp;false;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;((&#36;getnewsid&nbsp;!=&nbsp;false)&nbsp;&amp;&amp;&nbsp;(!preg_match('/^[&#092;d]+&#36;/',&nbsp;&#36;getnewsid)))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox('You&nbsp;have&nbsp;entered&nbsp;an&nbsp;invalid&nbsp;news&nbsp;ID.');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;templatesused&nbsp;=&nbsp;'archive_header,archive_footer,archive_newsbit';&nbsp;&nbsp;&nbsp;&nbsp;unp_cacheTemplates(&#36;templatesused);&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;showall_link&nbsp;=&nbsp;"'.unp_printTemplate('archive_showall_link').'";');&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;showall_link&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_header&nbsp;=&nbsp;"'.unp_printTemplate('archive_header').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_header);&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"&#092;n";&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;WHERE&nbsp;`newsid`='&#36;getnewsid'&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;1");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;elseif&nbsp;(!&#36;showall&nbsp;&amp;&amp;&nbsp;!&#36;getnewsid)&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC&nbsp;LIMIT&nbsp;&#36;newslimit");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;getnews&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;*&nbsp;FROM&nbsp;`unp_news`&nbsp;ORDER&nbsp;BY&nbsp;`date`&nbsp;DESC");&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(&#36;news&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getnews))&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;catid&nbsp;=&nbsp;&#36;news['catid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;category&nbsp;=&nbsp;&#36;categorycache["&#36;catid"];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newsid&nbsp;=&nbsp;&#36;news['newsid'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;news['subject'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;news['news'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;poster&nbsp;=&nbsp;&#36;news['poster'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;date&nbsp;=&nbsp;&#36;news['date'];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;postdate&nbsp;=&nbsp;unp_date(&#36;dateformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;posttime&nbsp;=&nbsp;unp_date(&#36;timeformat,&nbsp;&#36;date);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;newstext&nbsp;=&nbsp;&#36;n-&gt;unp_doNewsFormat(&#36;newstext);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;subject&nbsp;=&nbsp;&#36;n-&gt;unp_doSubjectFormat(&#36;subject);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_newsbit&nbsp;=&nbsp;"'.unp_printTemplate('archive_newsbit').'";');&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_newsbit);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;NewsBit&nbsp;*/&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;unset(&#36;news);&nbsp;&nbsp;&nbsp;&nbsp;eval('&#36;archive_footer&nbsp;=&nbsp;"'.unp_printTemplate('archive_footer').'";');&nbsp;&nbsp;&nbsp;&nbsp;unp_echoTemplate(&#36;archive_footer);}//&nbsp;+------------------------------------------------------------------+//&nbsp;|&nbsp;Email&nbsp;Link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|//&nbsp;+------------------------------------------------------------------+if&nbsp;(&#36;action&nbsp;==&nbsp;'mail'){&nbsp;&nbsp;&nbsp;&nbsp;isset(&#36;_GET['uname'])&nbsp;?&nbsp;&#36;uname&nbsp;=&nbsp;&#36;_GET['uname']&nbsp;:&nbsp;&#36;uname&nbsp;=&nbsp;'';&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&#36;uname&nbsp;==&nbsp;'')&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unp_msgBox(&#36;gp_invalidrequest);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&#36;uname&nbsp;=&nbsp;addslashes(&#36;uname);&nbsp;&nbsp;&nbsp;&nbsp;&#36;getUser&nbsp;=&nbsp;&#36;DB-&gt;query("SELECT&nbsp;`email`&nbsp;FROM&nbsp;`unp_user`&nbsp;WHERE&nbsp;username='&#36;uname'");&nbsp;&nbsp;&nbsp;&nbsp;&#36;getUserinfo&nbsp;=&nbsp;&#36;DB-&gt;fetch_array(&#36;getUser);&nbsp;&nbsp;&nbsp;&nbsp;&#36;email&nbsp;=&nbsp;&#36;getUserinfo['email'];&nbsp;&nbsp;&nbsp;&nbsp;@header("Location:&nbsp;mailto:&#36;email");}?&gt;<br />
<br />
<br />
maybe thats wrong... but when i browse to /news/news.php i shows the pic?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[sql problem]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=77</link>
			<pubDate>Tue, 29 Jan 2008 09:24:52 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=77</guid>
			<description><![CDATA[Hi,<br />
<br />
I've been receiving over 150 mails with the following error message :<br />
<br />
Database error in Utopia News Pro:<br />
<br />
Unable to connect to database host localhost<br />
MySQL Error: User david already has more than 'max_user_connections' active connections<br />
<br />
MySQL Error Number: 1203<br />
<br />
Date: January 29, 2008 03:07 PM<br />
Script: /<br />
<br />
What could be the problem ? Why is USER DAVID mentionned in the error message. I am not currently logged under DAVID in the administration panel. Is there a way to set more max users if this is the origin of the problem. My Website : http://www.generationcable.net (it's in french).<br />
<br />
Best Regards,<br />
<br />
David]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I've been receiving over 150 mails with the following error message :<br />
<br />
Database error in Utopia News Pro:<br />
<br />
Unable to connect to database host localhost<br />
MySQL Error: User david already has more than 'max_user_connections' active connections<br />
<br />
MySQL Error Number: 1203<br />
<br />
Date: January 29, 2008 03:07 PM<br />
Script: /<br />
<br />
What could be the problem ? Why is USER DAVID mentionned in the error message. I am not currently logged under DAVID in the administration panel. Is there a way to set more max users if this is the origin of the problem. My Website : http://www.generationcable.net (it's in french).<br />
<br />
Best Regards,<br />
<br />
David]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Paging News]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=76</link>
			<pubDate>Fri, 18 Jan 2008 14:57:24 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=76</guid>
			<description><![CDATA[Hi there!<br />
<br />
Since there is a News Limit option in the Properties section, is there a way to make different pages with the same number of news displayed as in News Limit?<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hi there!<br />
<br />
Since there is a News Limit option in the Properties section, is there a way to make different pages with the same number of news displayed as in News Limit?<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[time period for news]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=75</link>
			<pubDate>Tue, 08 Jan 2008 19:26:48 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=75</guid>
			<description><![CDATA[Hi <br />
I am new here, and I like this script very much.<br />
Is it planed to have to set a period when the news should be publishes at a special time or date - when it will be online and offline?]]></description>
			<content:encoded><![CDATA[Hi <br />
I am new here, and I like this script very much.<br />
Is it planed to have to set a period when the news should be publishes at a special time or date - when it will be online and offline?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to take off Link Underlines?]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=74</link>
			<pubDate>Tue, 01 Jan 2008 14:49:04 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=74</guid>
			<description><![CDATA[Specifically the link underlines in the headlines, They overlap my other headlines.  Id prefer to just take them off but cant find out where or how.<br />
<br />
This is from the show only headlines php.<br />
<br />
heres my site right now it only shows one headline at top right (depending on when your viewing this) but when i did tests and had 5 the blue lines for link underlining where definitly overlapping the following headline.<br />
<br />
I dont want to change the text size as its perfect for the spot its displayed in.  Thanks<br />
<br />
<br />
Heres the site: http://www.demiseuo.com/tboa/]]></description>
			<content:encoded><![CDATA[Specifically the link underlines in the headlines, They overlap my other headlines.  Id prefer to just take them off but cant find out where or how.<br />
<br />
This is from the show only headlines php.<br />
<br />
heres my site right now it only shows one headline at top right (depending on when your viewing this) but when i did tests and had 5 the blue lines for link underlining where definitly overlapping the following headline.<br />
<br />
I dont want to change the text size as its perfect for the spot its displayed in.  Thanks<br />
<br />
<br />
Heres the site: http://www.demiseuo.com/tboa/]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[login password not working]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=73</link>
			<pubDate>Sun, 16 Dec 2007 16:16:44 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=73</guid>
			<description><![CDATA[I have successfully installed the script two times but it will not allow me to login in the initial time - says" You have entered an invalid username and password combination. Please go back and try again."<br />
<br />
Have tried many times without sucees.<br />
<br />
Thanks, Jim]]></description>
			<content:encoded><![CDATA[I have successfully installed the script two times but it will not allow me to login in the initial time - says" You have entered an invalid username and password combination. Please go back and try again."<br />
<br />
Have tried many times without sucees.<br />
<br />
Thanks, Jim]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Encoding Problem]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=72</link>
			<pubDate>Sun, 16 Dec 2007 13:45:04 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=72</guid>
			<description><![CDATA[Can somebody tell my why I have an encoding problem? My encoding is Cyrilic Windows and look at the leathers: http://internet-bg.freehostia.com/u/news.php?category=2<br />
I edited the tempelates but i could't fix the problem. Please help!!!]]></description>
			<content:encoded><![CDATA[Can somebody tell my why I have an encoding problem? My encoding is Cyrilic Windows and look at the leathers: http://internet-bg.freehostia.com/u/news.php?category=2<br />
I edited the tempelates but i could't fix the problem. Please help!!!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How can I show the news from different categories?]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=71</link>
			<pubDate>Sun, 16 Dec 2007 13:06:32 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=71</guid>
			<description><![CDATA[Is there a way to show the news from only one category? If i made a category named Software and i wanted to have a page wich only shows the news from this category, how do I do it? Please, tell me!!!]]></description>
			<content:encoded><![CDATA[Is there a way to show the news from only one category? If i made a category named Software and i wanted to have a page wich only shows the news from this category, how do I do it? Please, tell me!!!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to change the news font?]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=70</link>
			<pubDate>Thu, 13 Dec 2007 06:21:19 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=70</guid>
			<description><![CDATA[Hi,<br />
<br />
How do I go about changing the font for news posts - it's really the headline I want to change, maybe to arial narrow or something.<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
How do I go about changing the font for news posts - it's really the headline I want to change, maybe to arial narrow or something.<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Fckeditor I will add]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=69</link>
			<pubDate>Tue, 11 Dec 2007 16:23:19 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=69</guid>
			<description><![CDATA[fckeditor To the place in the picture How do I add]]></description>
			<content:encoded><![CDATA[fckeditor To the place in the picture How do I add]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Ok Installation Trouble]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=68</link>
			<pubDate>Tue, 11 Dec 2007 15:57:26 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=68</guid>
			<description><![CDATA[Here is the message i get when i run the install.php script<br />
<br />
Warning: main(config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
Warning: main(config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
Fatal error: main() [function.require]: Failed opening required 'config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
help? ive created the database and added the user to it, not sure what else to do, i had no problem installing vbulletin but im not sure about this]]></description>
			<content:encoded><![CDATA[Here is the message i get when i run the install.php script<br />
<br />
Warning: main(config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
Warning: main(config.inc.php) [function.main]: failed to open stream: No such file or directory in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
Fatal error: main() [function.require]: Failed opening required 'config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/demis/public_html/doauo/news/install.php on line 21<br />
<br />
help? ive created the database and added the user to it, not sure what else to do, i had no problem installing vbulletin but im not sure about this]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[TEMPLATE UPDATE ERROR]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=67</link>
			<pubDate>Fri, 07 Dec 2007 11:30:27 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=67</guid>
			<description><![CDATA[Hi again,<br />
<br />
I'm having another problem with UNP 1.0.4. <br />
<br />
It's about the template section. I'm translating the whole thing to Spanish and when I want to update the news_newsbit_commentslink I get a server error:<br />
<br />
Internal Server Error<br />
<br />
The server encountered an internal error or misconfiguration and was unable to complete your request.<br />
<br />
Please contact the server administrator, hostmaster@misdns.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br />
<br />
More information about this error may be available in the server error log.<br />
Apache/2.0.52-CHS-1 (Unix) Server at saurom.com Port 80<br />
<br />
<br />
I only get it when trying to update that one... the others are fine. <br />
I'm not sure if I should ask for help here... I emailed my hosting provider as well, but it may be something to do with the code on the template.php file??? <br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hi again,<br />
<br />
I'm having another problem with UNP 1.0.4. <br />
<br />
It's about the template section. I'm translating the whole thing to Spanish and when I want to update the news_newsbit_commentslink I get a server error:<br />
<br />
Internal Server Error<br />
<br />
The server encountered an internal error or misconfiguration and was unable to complete your request.<br />
<br />
Please contact the server administrator, hostmaster@misdns.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br />
<br />
More information about this error may be available in the server error log.<br />
Apache/2.0.52-CHS-1 (Unix) Server at saurom.com Port 80<br />
<br />
<br />
I only get it when trying to update that one... the others are fine. <br />
I'm not sure if I should ask for help here... I emailed my hosting provider as well, but it may be something to do with the code on the template.php file??? <br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Issues with Avatars]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=66</link>
			<pubDate>Thu, 06 Dec 2007 16:44:54 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=66</guid>
			<description><![CDATA[The issue I am having is I have a few sites that use the Newpro and the main site of mine does not disply the avatars under the index site but if you go to /news/news.php it works fine I dont have the ability to use Cached mode due to the server doesnt allow it.  Any help would be welcomed.]]></description>
			<content:encoded><![CDATA[The issue I am having is I have a few sites that use the Newpro and the main site of mine does not disply the avatars under the index site but if you go to /news/news.php it works fine I dont have the ability to use Cached mode due to the server doesnt allow it.  Any help would be welcomed.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Problem with HEADLINES]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=65</link>
			<pubDate>Thu, 06 Dec 2007 14:04:52 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=65</guid>
			<description><![CDATA[Hi there! <br />
<br />
I'm using the last version of UNP.<br />
<br />
Everything's working fine at the moment, but i encountered a problem with the headlines. I think I know how to fix it, but I can't find the file containing the piece of code to change.<br />
<br />
The thing is that when I click on any of the headlines, it goes to the index page of the site instead of the news page. I've noticed that when I roll over any of the links, the status bar displays the following (supposing the ID of the news to display is 5):<br />
<br />
www.website.com/#unpnews5<br />
<br />
I'm guessing it should actually be www.website.com/unp/news.php#unpnews5 (supposing the name of the folder containing UNP is called unp).<br />
<br />
I'm not completely sure but I think I should change the outcoming code for the link to display and add "unp/news.php" before the string that gets the ID of the news??? <br />
<br />
If that's the case, where should I do that? I can't see anything in the headlines.php file. If not, could you let me know how to fix this little problem?<br />
<br />
Thanks a lot!!]]></description>
			<content:encoded><![CDATA[Hi there! <br />
<br />
I'm using the last version of UNP.<br />
<br />
Everything's working fine at the moment, but i encountered a problem with the headlines. I think I know how to fix it, but I can't find the file containing the piece of code to change.<br />
<br />
The thing is that when I click on any of the headlines, it goes to the index page of the site instead of the news page. I've noticed that when I roll over any of the links, the status bar displays the following (supposing the ID of the news to display is 5):<br />
<br />
www.website.com/#unpnews5<br />
<br />
I'm guessing it should actually be www.website.com/unp/news.php#unpnews5 (supposing the name of the folder containing UNP is called unp).<br />
<br />
I'm not completely sure but I think I should change the outcoming code for the link to display and add "unp/news.php" before the string that gets the ID of the news??? <br />
<br />
If that's the case, where should I do that? I can't see anything in the headlines.php file. If not, could you let me know how to fix this little problem?<br />
<br />
Thanks a lot!!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Including News]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=64</link>
			<pubDate>Tue, 27 Nov 2007 13:29:27 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=64</guid>
			<description><![CDATA[A friend of mine installed this on my HTML front page a while back but I deleted the front page and went with a portal for my forum as my "front page." I have it installed with it will not load with my portal.<br />
<br />
If you load the HTML directly:<br />
<br />
http://drugsplayground.com/styles/Arrow/...opia.shtml<br />
<br />
The news is included, however, when I include utopia.shtml to load on my portal, it loads the header but not the news. http://www.drugsplayground.com<br />
<br />
<br />
	<br />
		<br />
			News<br />
&lt;!--#include virtual="/news/news.txt" --&gt;<br />
		<br />
	<br />
<br />
That's the coding to utopia.shtml. Like I said, the news loads when you load the straight document but when included in my portal, it doesn't load. There's a file called portal_body.html where aligns and loads all the included files that makes the portal:<br />
<br />
&lt;!-- [+] center block area --&gt;<br />
	<br />
<br />
		&lt;!-- INCLUDE portal/block/ads.html --&gt;<br />
<br />
		&lt;!-- INCLUDE portal/block/utopia.shtml --&gt;<br />
<br />
		&lt;!-- IF S_DISPLAY_WELCOME --&gt;<br />
			&lt;!-- INCLUDE portal/block/welcome.html --&gt;<br />
		&lt;!-- ENDIF --&gt;<br />
<br />
And it goes on. I know it loads the document as it loads the news header but it doesn't load the news itself. Any ideas?]]></description>
			<content:encoded><![CDATA[A friend of mine installed this on my HTML front page a while back but I deleted the front page and went with a portal for my forum as my "front page." I have it installed with it will not load with my portal.<br />
<br />
If you load the HTML directly:<br />
<br />
http://drugsplayground.com/styles/Arrow/...opia.shtml<br />
<br />
The news is included, however, when I include utopia.shtml to load on my portal, it loads the header but not the news. http://www.drugsplayground.com<br />
<br />
<br />
	<br />
		<br />
			News<br />
&lt;!--#include virtual="/news/news.txt" --&gt;<br />
		<br />
	<br />
<br />
That's the coding to utopia.shtml. Like I said, the news loads when you load the straight document but when included in my portal, it doesn't load. There's a file called portal_body.html where aligns and loads all the included files that makes the portal:<br />
<br />
&lt;!-- [+] center block area --&gt;<br />
	<br />
<br />
		&lt;!-- INCLUDE portal/block/ads.html --&gt;<br />
<br />
		&lt;!-- INCLUDE portal/block/utopia.shtml --&gt;<br />
<br />
		&lt;!-- IF S_DISPLAY_WELCOME --&gt;<br />
			&lt;!-- INCLUDE portal/block/welcome.html --&gt;<br />
		&lt;!-- ENDIF --&gt;<br />
<br />
And it goes on. I know it loads the document as it loads the news header but it doesn't load the news itself. Any ideas?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Transparant]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=63</link>
			<pubDate>Sat, 10 Nov 2007 13:13:01 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=63</guid>
			<description><![CDATA[Is it possible to make the tabelbackgrounds transparant, so you dont have to choose any colours, I got a background wich got a gradient as bg, and I'dd rather have that you dont see the borders and tabels...]]></description>
			<content:encoded><![CDATA[Is it possible to make the tabelbackgrounds transparant, so you dont have to choose any colours, I got a background wich got a gradient as bg, and I'dd rather have that you dont see the borders and tabels...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[News text to float next to Image]]></title>
			<link>http://www.utopiasoftware.net/forum/showthread.php?tid=62</link>
			<pubDate>Tue, 06 Nov 2007 14:51:26 -0500</pubDate>
			<guid isPermaLink="false">http://www.utopiasoftware.net/forum/showthread.php?tid=62</guid>
			<description><![CDATA[I have to say that this Script is just Great, and easy to use as well. Thanks Brian.<br />
<br />
My question is this, Is there a way to make the news text float next to the image instead of having it come after the image. Let me explain in Pictures.<br />
<br />
Instead of having it look like this (http://www.whoiswho2008.com/news/comment...&newsid=14)<br />
<br />
Can I Make it look like this? (http://praisedesign.com/article_with.jpg).<br />
<br />
Any help will be greatly appreciated.]]></description>
			<content:encoded><![CDATA[I have to say that this Script is just Great, and easy to use as well. Thanks Brian.<br />
<br />
My question is this, Is there a way to make the news text float next to the image instead of having it come after the image. Let me explain in Pictures.<br />
<br />
Instead of having it look like this (http://www.whoiswho2008.com/news/comment...&newsid=14)<br />
<br />
Can I Make it look like this? (http://praisedesign.com/article_with.jpg).<br />
<br />
Any help will be greatly appreciated.]]></content:encoded>
		</item>
	</channel>
</rss>