$recCode = substr($actionValue, 4); delProcess($timerName, $recCode, $s20Table); } else { if (substr($actionValue, 0, 6) == "clock_") { $timerName = substr($actionValue, 6); } } } require_once ORVFMS_PATH . "details_page.php"; displayDetailsPage($timerName, $s20Table, $myUrl); } else { if (isset($_POST['toEditPage'])) { $actionValue = $_POST['toEditPage']; if (substr($actionValue, 0, 4) == "edit") { $editIndex = substr($actionValue, 4); } else { $editIndex = -1; } $timerName = $_POST['name']; require_once ORVFMS_PATH . "edit_page.php"; displayEditPage($timerName, $editIndex, $s20Table, $myUrl); } else { echo "Unexpected error 505<p>\n"; } } } } } ?> </body> </html>
/* Nothing here, just display page */ } } } require_once ORVFMS_PATH . "details_page.php"; displayDetailsPage($mac, $s20Table, $myUrl); } else { if (isset($_POST['toEditPage'])) { $mac = getMacAndActionFromPost($actionValue, $_POST['toEditPage']); if (substr($actionValue, 0, 4) == "edit") { $editIndex = substr($actionValue, 4); } else { $editIndex = -1; } require_once ORVFMS_PATH . "edit_page.php"; displayEditPage($mac, $editIndex, $s20Table, $myUrl); } else { if (isset($_POST['toSetupPage'])) { $mac = getMacAndActionFromPost($actionValue, $_POST['toSetupPage']); if ($actionValue != "setup") { echo "Unexpected error in setup (505)<p>\n"; } require_once ORVFMS_PATH . "setup_page.php"; displaySetupPage($mac, $s20Table, $myUrl); } else { echo "Unexpected error 505 (unkown code) <p>\n"; } } } } }