} else { do_html_header("Process Paper Bids Failed", &$err_message); $err_message .= "Could not execute \"select_paper\" in \"bid_all_papers.php\". <br>\n"; $err_message .= "<br><br> Try <a href='bid_all_papers.php'>again</a>?"; } } } } else { do_html_header("Update Paper Bids", &$err_message); } } else { if (count($_POST) == 0) { } do_html_header("Update Paper Bids", &$err_message); } $array = redisplay($_POST["papers"], $_POST["process"], $GLOBALS["DB_PREFIX"], &$err_message); if (!($limit = count($array))) { // do_html_header("Update Paper Bids" , &$err_message ); $err_message .= " You have not selected any papers to update the bids. <br>\n"; do_html_footer(&$err_message); exit; } ?> <script language="JavaScript"> <!-- Hide script from older browsers function papercheckbox( mylink , query ) { document.frmPaper.action = ( mylink + query ) ; document.frmPaper.submit(); }
$err_message .= $result; $button = "Confirm"; $option = "Edit"; } } else { if ($_POST["Submit"] == "Edit") { do_html_header("Edit Phase", &$err_message); } else { do_html_header("Edit Phase", &$err_message); $_POST = redisplay($GLOBALS["DB_PREFIX"], &$err_message); } } } } else { do_html_header("Edit Phase", &$err_message); $_POST = redisplay($GLOBALS["DB_PREFIX"], &$err_message); } ?> <script language="JavaScript" src="script/popcalendar.js"></script> <form name="frmEdit" method="post" action="edit_phases.php"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td> <table width="100%" border="0" cellspacing="2" cellpadding="1"> <tr> <td width="20%"><strong>Phase Name</strong></td> <td width="30%"><strong>Start Date</strong> </td> <td width="30%"><strong>End Date</strong> </td> <td width="15%"><strong>Current Status</strong></td> </tr> <tr><td colspan="4"> </td></tr>