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;
            }
            new_info($_DB, $_STATE);
            echo $_STATE->msgStatus;
            break 2;
        default:
            throw_the_bum_out(NULL, "Evicted(" . __LINE__ . "): invalid state=" . $_STATE->status);
    }
}
//EX_pageStart must be here to intercept any server_call:
EX_pageStart();
//standard HTML page start stuff - insert scripts here
echo "<script type='text/javascript' src='/scripts/call_server.js'></script>\n";
echo "<script type='text/javascript' src='/scripts/eventlog.js'></script>\n";
EX_pageHead();
//standard page headings - after any scripts
?>
Example #2
0
                        button_send($SCION, $HTML);
                        echo $HTML;
                        $SCION->status = STATE::CHANGE;
                        break 2;
                    case STATE::CHANGE:
                        if (isset($_GET["getdesc"])) {
                            //asking for the description of a cell
                            cell_desc($SCION);
                            break 2;
                        }
                        if (isset($_GET["reset"])) {
                            $_STATE->goback(1);
                            //go back to log_list
                            break 3;
                        }
                        new_info($SCION);
                        echo $SCION->msgStatus;
                        break 2;
                    default:
                        throw_the_bum_out(NULL, "Evicted(" . __LINE__ . "): error");
                }
            }
            //while & switch
            $SCION->push();
            break 2;
        default:
            throw_the_bum_out(NULL, "Evicted(" . __LINE__ . "): Invalid state=" . $_STATE->status);
    }
}
//while & switch
$redirect = $_SESSION["_SITE_CONF"]["_REDIRECT"];