$SCION->status = ACTIVITY_PICK; echo $HTML; break 2; case ACTIVITY_PICK: activity_select($SCION, $HTML); if ($SCION->columns > 0) { //tabular style $SCION->status = HOURS_DISP; break 1; //go back around } $SCION->status = DATE_DISP; // break 1; // break 1; case DATE_DISP: date_send($SCION, $HTML); $SCION->status = HOURS_DISP; // break 1; // break 1; case HOURS_DISP: hours_send($SCION, $HTML); $SCION->status = BUTTON_DISP; // break 1; // break 1; case BUTTON_DISP: button_send($SCION, $HTML); echo $HTML; $SCION->status = STATE::CHANGE; break 2; case STATE::CHANGE: if (isset($_GET["reset"])) {
case ACTIVITY_DISP: activity_send($SCION, $response); $SCION->status = ACTIVITY_PICK; echo $response; break 2; //break out //break out case ACTIVITY_PICK: activity_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); $SCION->status = array_shift($SCION->path); break 1; //go back around //go back around case HOURS_DISP: hours_send($SCION, $response); $SCION->status = array_shift($SCION->path);