{literal} {/literal} {if $smarty.get.cat == 'edit'} {else} {/if} {if $result != ""} {/if}
Manage News
{if $smarty.post.cat == "new"} {if $result == -1} An error occurred while trying to add the news entry. {elseif $result == -2} Please enter the title for this news entry. {elseif $result == -3} Please enter the message for this news entry. {elseif $result == 1} Thank you, the news entry was added successfully. {/if} {elseif $smarty.post.cat == "update"} {if $result == -1} An error occurred while trying to update the news entry information. {elseif $result == -2} Please enter the title for this news entry. {elseif $result == -3} Please enter the message for this news entry. {elseif $result == 1} Thank you, the news entry was updated successfully. {/if} {/if}
Assigned Projects: {include file="error_icon.tpl.html" field="projects[]"}
Status:
Title: {include file="error_icon.tpl.html" field="title"}
Message: {include file="error_icon.tpl.html" field="message"}
{if $smarty.get.cat == 'edit'} {else} {/if}
Existing News Entries:
{literal} {/literal} {section name="i" loop=$list} {cycle values=$cycle assign="row_color"} {sectionelse} {/section}
 Title  Projects  Status
 {$list[i].nws_title}  {$list[i].projects|escape:"html"}  {$list[i].nws_status|escape:"html"}
No news entries could be found.