<html>
<head>
<script language="javascript" src="||nwimg||/calendar.js">
</script>
<title>TO DO List</title>
</head>

<body bgcolor="#cedfff">


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

<center>
<table width="100%">
<tr>
	<td width="40%"><a href="||action||?cmd=check_mail&utoken=||utoken||"><img border="0" src="||nwimg||/back.gif"></a></td>
	<td><h2>TO DO List</h2></td>
</tr>
</table>
</center>
<form name="todo_list" method="POST" action="||b_action||">
	<input type=hidden name="utoken" value="||utoken||">

<table border=1 width="100%" cellspacing="0" cellpadding="0">
<tr><td width="10%"><table cellspacing="0" cellpadding="0">
	<tr>	<td><a href="javascript:show_calendar('todo_list.todo_month');"><img src="||nwimg||/calendar.gif" alt="Calendar" border=0></a><b>Date</b></td>
		<td>
			<input name="todo_month" size=2 value="||todo_month||">/
                        <input name="todo_day" size=2 value="||todo_day||">/
                        <input name="todo_year" size=4 value="||todo_year||">
                        eg. ||today_date||
		</td>
	</tr>
	<tr>	<td><b>Note</b></td>
		<td><textarea name="tdl_note" rows=4 cols=25 wrap="physical">||tdl_note||</textarea></td>
	</tr>
	<tr>	<td></td>
		<td align="center">
			||ifdef||todo_uid||
				<input type=image border="0" src="||nwimg||/save.gif" alt="Update TO DO" name="todo_add-||todo_uid||">
				<a href="||action||?cmd=todo&utoken=||utoken||"><img border="0" src="||nwimg||/clear.gif"></a>
				<input type=image border="0" src="||nwimg||/add.gif" alt="Add TO DO" name="todo_add">
			||else||
				<input type=image border="0" src="||nwimg||/add.gif" alt="Add TO DO" name="todo_add">
			||endif||
		</td>
	</tr>

	</table></td>
<td width="100%" valign="top"><table border=1 width="100%" cellspacing="0" cellpadding="0">
	<th></th><th width="10%">Date</th><th width="90%">Note</th>

||begin_todo||
||ifdef||tdl_old||<tr bgcolor="#C0C0C0">||else||
||ifdef||tdl_today||<tr bgcolor="#FFC0C0">||else||
<tr bgcolor="#ffffff">||endif||
||endif||
		<td><a href="||action||?cmd=todo_delete-||tdl_name||&utoken=||utoken||">delete</a></td>
		<td>||tdl_date||</td>
		<td><a href="||action||?cmd=todo-||tdl_name||&utoken=||utoken||">
		||ifdef||tdl_note||
			||lchop||tdl_note||40||
		||else||
			(No Note)
		||endif||
		</a></td>
	</tr>
||end_todo||
	</table>
</td></tr>
</table>

</form>


</body>
</html>
