예제 #1
0
    but($lab, "?action=setweekmax&w={$i}", true, $e);
    ?>
<br><?php 
}
?>
			<p>
			This control acts as a <i><b>limit</b></i>.
			Teachers will be able to advance their teams to this task, but <i>not</i> beyond it.
			</p>

		</td></tr></table>

		<br>
		<br>

		<div class=caution>
		<?php 
but("Task Reset", "?action=weekreset", 'verysure');
?>
<br>
		WARNING: The "Task Reset" button will reset ALL task numbers to 0,
		including the current "task advance" min and max values.
		This could very well result in the wiping out of all player data and state.
		This button should never be pressed during actual game play.<br>
		</div>


		</center>
	</div>

예제 #2
0
파일: su.php 프로젝트: piter65/spilldec
    ?>
			<?php 
    but("Registration", "a_regctrl.php");
    ?>
			<?php 
    but("Group Control", "a_groupcontrol.php");
    ?>
			<?php 
    but("Fake users", "a_fakeusers.php");
    ?>
			<?php 
    but("Wipe Team", "a_resetteam.php");
    ?>
			<?php 
    but("Task Control", "a_taskctrl.php");
    ?>
			<?php 
    but("Scoring ", "a_scoring.php");
    ?>
			<?php 
    but("Debug On", "?dbg=on");
    ?>
			<?php 
    but("Debug Off", "?dbg=off");
    ?>
			<?php 
    but("Sysop Logoff", "?su=off");
    ?>
		</div>
		<?php 
}
예제 #3
0
파일: wizard.php 프로젝트: piter65/spilldec
if (isset($_GET["wiz"])) {
    if ($_GET["wiz"] == "on") {
        if ($_GET["wizpw"] == "zork") {
            wiz_sc("wiz", "true");
            $wiz = true;
        } else {
            wiz_sc("wiz", "");
            $wiz = false;
        }
    } else {
        if ($_GET["wiz"] != "on") {
            wiz_sc("wiz", "false");
            $wiz = false;
        }
    }
}
if ($wiz) {
    ?>
		<div style="background-color: #dd0; padding: 0.5em; text-align: center;">
			<?php 
    but("Scoring ", "a_scoring.php");
    ?>
			<?php 
    but("Score Table", "a_scoretable.php");
    ?>
			<?php 
    but("Wizard Logoff", "?wiz=off");
    ?>
		</div>
		<?php 
}
예제 #4
0
파일: a_menu.php 프로젝트: piter65/spilldec
include_once "session.php";
include_once "game.php";
include_once "wizard.php";
include_once "su.php";
include "passwordprotect.php";
$a = array("VTC Home", "/", "Status", "a_status.php", "User List", "a_userlist.php", "Teachers CSV", "a_csv_teachers.php", "Who Played?", "a_whosplayed.php", "Add School", "a_addschool.php", "NYC", "a_nycarea.php", "Winners", "a_winners.php", "Monitor", "http://s3.amazonaws.com/virtualteamchallenge/vtcmon.html", "End Statistics", "a_statistics.php", "Winner Contact Info", "a_winner_contact.php", "Finished Teachers", "a_finished_teachers.php");
?>
	<div style='text-align: center; background-color: #6af; padding: 0.5em;'>
		<?php 
for ($i = 0; $i < count($a); $i += 2) {
    $lab = $a[$i + 0];
    $pg = $a[$i + 1];
    if ($i != 0) {
        echo "&nbsp;";
    }
    but($lab, $pg);
}
?>
		&nbsp;
		&nbsp;
		&nbsp;
		&nbsp;
		&nbsp;
		&nbsp;
		<a style='margin-left: 0em; color: #6af;' href='javascript:sysop()'>X</a>
		<script>
			function sysop()
			{
				var pw = prompt("What's the secret password?");
				var url = "/a_menu.php?su=on&supw="+pw;
				var f = function(r)