<!-- BEGIN DYNAMIC BLOCK: showheader --> 
<script type="text/javascript">
function UpdatePublish(elementname, rowid){
    //update from db using ajax
    var value = '';
    var theElement = elementname + '_' + rowid;
    
    var itemch = $(theElement);
    if (itemch.checked == true) {
        value = 1;
    } else {
        value = 0;
    }       
    
        new Ajax.Request('index.php',
                          {parameters:'fuse={FUSE}&action={ACTION_UPDATEPUBLISH}&id='+rowid+'&publish='+value, onSuccess:handlerFunc, onFailure:errFunc}
                     )
}
</script>
<div align="right" class="tablenavpagelabel">
[l]Display[/l]: <select name="recordsnum" id="recordsnum" onChange="tableNav('1', '{TABLEID}', this.value, $('orderby_c').value, $('osort_c').value, '', 1, {FUSE}, {ACTION_TABLE}, '{LINKSID}')">
<!-- BEGIN DYNAMIC BLOCK: recordsnum -->
<option value="{RECORDSNUMVAL}" {RECORDSNUM_SELECTED}>{RECORDSNUMVAL}</option>
<!-- END DYNAMIC BLOCK: recordsnum -->
</select> [l]records per page[/l]
</div>
<!-- Javascript to handle view actions. DO NOT TOUCH -->
<script>
var selected = 0;
</script>
<!-- End view javascript -->
<form name='announcements'>
<!-- END DYNAMIC BLOCK: showheader -->
{ANNOUNCEMENTTABLE}
<!-- BEGIN DYNAMIC BLOCK: showfooter -->
</form>
<table width=100% cellpadding=0 border=0 cellspacing=1>
<tr>
<td valign='top'><input type=button id=AForm1_delete disabled=true style="filter:alpha(opacity=50);-moz-opacity:0.4"; onClick="if(ItemSelected(document.forms['announcements'],'[l]You need to select entry(s) to perform this action on[/l]')) DeleteSelection('{TABLEID}', {FUSE}, {ACTION_TABLE}, '{LINKSID}'); return false;" class=button_medium value='[l]Delete[/l]'> 
</td>
<td align="right"><div  style="padding:2px 0px 2px 0px" id="{LINKSID}"></div></td>
</tr>
</table>
<b>[l]Note[/l]:</b> [l]Public announcements are available at[/l]:
<ul>
    <li><a href="rssAnnouncements.php">{CEURL}/rssAnnouncements.php</a> [l]as an RSS feed[/l]</li>
    <li><a href="publicAnnouncements.php">{CEURL}/publicAnnouncements.php</a> [l]as an HTML page[/l]</li>
</ul>
<!-- END DYNAMIC BLOCK: showfooter --> 
