<div>
	{if $internalrss or $feedlist}
	<form name='nullForm' id='nullForm' action=''>
	<select id='feedSelect' name='feedSelect' onchange='loadFeed({$user})'>
		{if $internalrss}
			<option selected='selected' value='{$internalrss}'>{i18n arg_appname="$appname"}#appname# RSS{/i18n}</option>
		{else}
			<option selected='selected' value='null'>{i18n}Select External RSS Feed{/i18n}</option>
		{/if}
		{if $feedlist}
		{section name=feed loop=$feedlist}
		<option value='{$feedlist[feed].url|sanitize}'>{$feedlist[feed].title|sanitize}</option>
		{/section}
		{/if}
	</select>
	{if ($action.url)}<a href="{$action.url}"
{if $action.description}title="{$action.description|sanitize}"{/if}
     >{$action.name}</a>{else}{$action.name|sanitize}{/if}
	</form>
	{/if}
</div>
<div id="rssBlock">
	{if ($internalrss)}
	<h3>{$internalrss.channel.title}</h3>
 	<div class='outerContainer' id='outerContainer'>
		<table width='90%'>
		    {section name=i start=0 loop=$itemcount}
			<tr>
				<td><strong><a href='{$internalrss.items[i].link}'>{$internalrss.items[i].title}</a><strong></td>
			</tr>
			<tr>
				<td>{$internalrss.items[i].description}</td>
			</tr>
			<tr><td><br></td></tr>
			{/section}
		</table>
	</div>
	<br>
	{else}
		{if !$feedlist}
			{if ($action.url)}<a href="{$action.url}"
				{if $action.description}title="{$action.description}"{/if}>{$action.name}</a><br>{else}{$action.name}
	    	{/if}
    	{/if}
		<br>
		{if !$feedlist}
		    {i18n}No internal or external feeds available{/i18n}
        {else}
		    {i18n}No internal feeds available{/i18n}.
		{/if}
		<br>
		<br>
	{/if}
</div>