$_STATE->msgGreet = "Add or change info: click on the lefthand column"; $_STATE->EC_status = ""; //no line selected break 2; } switch ($_GET["cell"]) { case "EV": //event event_send($_DB, $_STATE); $_STATE->EC_status = "a"; //add line selected break 1; case "SN": //Info input starting with sessions if ($_GET["selectedOption"] != 0) { event_select($_DB, $_STATE); } input_send($_DB, $_STATE); STATE_new_status($_STATE, STATE::CHANGE); break 1; default: throw_the_bum_out(NULL, "Evicted(" . __LINE__ . "): invalid cell=" . $_GET["cell"]); } break 2; case STATE::CHANGE: $_STATE->EC_status = ""; //no line selected if (isset($_GET["reset"])) { $_STATE = STATE_get(NULL, $_STATE->thread); //go back to log_list break 1;
//go back around //go back around case EVENT_DISP: if (event_send($SCION, $response) == 1) { event_select($SCION, $response, $SCION->event_id); $SCION->status = array_shift($SCION->path); break 1; //go back around } $SCION->status = EVENT_PICK; echo $response; break 2; //break out //break out case EVENT_PICK: event_select($SCION, $response); $SCION->status = array_shift($SCION->path); break 1; //go back around //go back around case DATE_DISP: include_once "lib/callback/date_list.php"; date_send($SCION, $response); $SCION->status = DATE_PICK; echo $response; break 2; //break out //break out case DATE_PICK: include_once "lib/callback/date_list.php"; date_select($SCION, $response);
<h1>Site Log</h1> <div style="float: right; font-size: 80%; width: 350px;"> <form role="form" action="<?php echo $_SERVER['PHP_SELF']; ?> " method=get> <fieldset> <?php if (!isset($_GET['eventsid'])) { $_GET['eventsid'] = 0; } event_select('Show Events', 'eventsid', $_GET['eventsid']); days_select('Days to show', 'days', $days); ?> </fieldset> </form> </div> <div style="float: left; font-size: 80%; width: 350px;"><?php print $summaryHTML; ?> </div> <br clear=all>
account_select($SCION, $HTML); $SCION->status = EVENT_DISP; // break 1; // break 1; case EVENT_DISP: if (event_send($SCION, $HTML) == 1) { event_select($SCION, $HTML, $SCION->event_id); $SCION->status = DATE_DISP; break 1; //don't return yet - go back around } $SCION->status = EVENT_PICK; echo $HTML; break 2; case EVENT_PICK: event_select($SCION, $HTML); $SCION->status = DATE_DISP; // break 1; //no need to break, just fall through // break 1; //no need to break, just fall through case DATE_DISP: date_send($SCION, $HTML); $SCION->status = DATE_PICK; echo $HTML; break 2; case DATE_PICK: if ($SCION->row > 0) { //0 is add row $SCION->status = SESSIONS_DISP; break 1; //go back around to skip comments }