Location: PHPKode > projects > ERPSOD > erpsod/task_list.php
<?PHP
include_once("config.php");
$ok=role_check();
if (!$ok){
	header("Location: login.php"); 
}
?>
<HTML>
<HEAD>
<link rel="stylesheet" type="text/css" href="<?PHP echo $style ?>" >
<script language="JavaScript1.2" src="js/coolmenus4.js">
</script>
</HEAD>
<body bgcolor="#ffffff">
<script language="JavaScript1.2" src="js/erpsod.js">
</script><br><br>
<center><h3>Tasks</h3></center>
<FORM ACTION="task_init.php?form=task_list"  METHOD="POST">
<center>
<table border=1 cellpadding=0 cellspacing=0 bgcolor="AQUA"><tr><td>
<table border=0 cellpadding=10 cellspacing=0>
<tr>
	<td valign="top">
	<?PHP echo html_drop_down (10,"tasklist","erptask","taskid","taskname","taskid","","","","taskdesc"); ?>
	</td>
	<td valign="bottom">
		<INPUT TYPE="SUBMIT" NAME="command" VALUE="Edit" style="width: 80px;"><br>
		<?php if (role_check("Updater")) { ?>
			<INPUT TYPE="SUBMIT" NAME="command" VALUE="New" style="width: 80px;"><br>
			<INPUT TYPE="SUBMIT" NAME="command" VALUE="Delete" style="width: 80px;" ONCLICK="return confirm('Delete selected option?')"><br>
		<?PHP } ?>
</td>
</tr>
</table>
</td></tr></table>
</center>
</FORM>
</BODY>
<?php
include_once("footer.php");
?>
</HTML>
Return current item: ERPSOD