<html>

<head>
<title>||current_user|| has ||nitems|| messages</title>
</head>

||ifdef||background||
<body background="||nwimg||/||background||" >
||else||
<body>
||endif||

||include||nfmenu.tpl||

||ifdef||error||
	<center>
	<table border="1">
		<tr>	<td><img src="||nwimg||/attention.gif">
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||



<h1>Bulletin Messages</h1>



||ifdef||num_pages||
<center>
<table border cellpadding="2" cellspacing="0">
<tr align="center">
	<td><b>Page ||page_pos|| of ||num_pages||</b></td>
</tr>

||ifequal||num_pages||1||
||else||
<tr align="center"><td>
	<table border="0" cellpadding="0" cellspacing="0">
	<tr>

||ifdef||pageup||
		<td><a href="||action||?cmd=bulletin&pos=||pageup||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/lendcol.gif"></a></td>
||else||
		<td><img border="0" src="||nwimg||/lend.gif"></td>
||endif||


	||begin_pages||
	||iflower||npage||10||
	||ifequal||npage||page_pos||
		<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/||npage||on.gif"></a></td>
	||else||
		<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/||npage||off.gif"></a></td>
	||endif||

	||else||
	||ifequal||npage||10||

		||iflower||9||page_pos||
			<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/staron.gif"></a></td>
		||else||
			<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/staroff.gif"></a></td>
		||endif||

	||endif||
	||endif||
	||end_pages||

||ifdef||pagedown||
		<td><a href="||action||?cmd=bulletin&pos=||pagedown||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/rendcol.gif"></a></td>
||else||
		<td><img border="0" src="||nwimg||/rend.gif"></td>
||endif||

	</tr>
	</table>
</td></tr>
||endif||
</table>
</center>
||endif||

<form method="POST" action="||action||">
	<input type="hidden" name="utoken" value="||utoken||">
	<input type="hidden" name="fld" value="||fld||">
	<input type="hidden" name="cmd" value="">
<center>
	<table border="1" bgcolor="ffffff">
		<tr><th>Subject</th>
		<th>From</th>
		<th>Date</th>
		<th>Time</th>
		<th>Bytes</th>

||define||max_line_count||2||

		||begin_bulletin||

||ifdef||new_bulletin||
			<tr bgcolor="#FFC0C0">
||else||
			<tr bgcolor="#ffffff">
||endif||
			<td nowrap><a href="||b_item||" >||chop||h_subject||40||</a></td>
			<td>||h_from_personal||</td>
			<td>||h_date_day||</td><td nowrap>||h_date_time||</td>
			<td>||h_bytes||<td>||h_attach||</td>
		||ifequal||_bulletin_user||true||
			<td><a href="||action||?cmd=delitem-||h_uidl||&fld=bulletin_fld&utoken=||utoken||&ignore_trash=true&force_empty=true">Delete</a></td>
		||endif||
		||end_bulletin||

	</table>
</center>
||ifdef||num_pages||
<center>
<table border cellpadding="2" cellspacing="0">
||ifequal||num_pages||1||
||else||
<tr align="center"><td>
	<table border="0" cellpadding="0" cellspacing="0">
	<tr>

||ifdef||pageup||
		<td><a href="||action||?cmd=bulletin&pos=||pageup||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/lendcol.gif"></a></td>
||else||
		<td><img border="0" src="||nwimg||/lend.gif"></td>
||endif||


	||begin_pages||
	||iflower||npage||10||
	||ifequal||npage||page_pos||
		<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/||npage||on.gif"></a></td>
	||else||
		<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/||npage||off.gif"></a></td>
	||endif||

	||else||
	||ifequal||npage||10||

		||iflower||9||page_pos||
			<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/staron.gif"></a></td>
		||else||
			<td><a href="||action||?cmd=bulletin&pos=||pagepos||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/staroff.gif"></a></td>
		||endif||

	||endif||
	||endif||
	||end_pages||

||ifdef||pagedown||
		<td><a href="||action||?cmd=bulletin&pos=||pagedown||&utoken=||utoken||&fld=||fld||"><img border="0" src="||nwimg||/rendcol.gif"></a></td>
||else||
		<td><img border="0" src="||nwimg||/rend.gif"></td>
||endif||

	</tr>
	</table>
</td></tr>

<tr align="center">
	<td><b>Page ||page_pos|| of ||num_pages||</b></td>
</tr>

||endif||
</table>
</center>
||endif||

</form>

||ifequal||_bulletin_user||true||
	<p>Deleting Bulletins will remove the bulletin from all users.</p>
||endif||

||copyright||
</body>
</html>
