} $SCION->status = ACCOUNT_PICK; echo $HTML; break 2; case ACCOUNT_PICK: account_select($SCION, $HTML); $SCION->status = ACTIVITY_DISP; // break 1; // break 1; case ACTIVITY_DISP: activity_send($SCION, $HTML); $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:
case ACCOUNT_PICK: include_once "lib/callback/account.php"; account_select($SCION, $response); $SCION->status = array_shift($SCION->path); break 1; //go back around //go back around 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);