コード例 #1
0
<!DOCTYPE html>
<html lang="en">
<head>
	<title>Bipartite Matching Game - Administrator</title>
	<?php 
include "inc/section_head.php";
?>
</head>

<body>
	<?php 
include "inc/section_highscoreModal.php";
?>
	<?php 
require_once 'inc/section_navbar.php';
getBodyNavbar("admin", $user_id);
?>

	<div class="container">
		<h1>Administrator</h1>
	</div>
	<br>

	<?php 
if ($role == 0) {
    if ($database == null) {
        $database = new Database();
    }
    ?>

	<!-- Main -->
コード例 #2
0
    echo $feedback_message;
    ?>
</b></p>
			<br>
		</div> <!-- /container -->
		<?php 
}
?>

<body>
	<?php 
include "inc/section_highscoreModal.php";
?>
	<?php 
require_once 'inc/section_navbar.php';
getBodyNavbar("login", $user_id);
?>

	<div class="container text-center">
		<h1>Login Page</h1>
	</div>
	<br>

	<!-- Main -->
	<?php 
if (isset($_POST["user_id"]) && isset($_POST["password"])) {
    require_once "Database.php";
    $database = new Database();
    $user_id = $_POST["user_id"];
    $password = $_POST["password"];
    $feedback = "";
コード例 #3
0
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>Bipartite Matching Game</title>
		<?php 
include "inc/section_head.php";
?>
	</head>
	<body>
		<?php 
include "inc/section_highscoreModal.php";
?>
		<?php 
require_once 'inc/section_navbar.php';
getBodyNavbar("index", $user_id);
?>

		<div class="container">
			<h1>Bipartite Matching Game</h1>
		</div>

		<section id="main">
			<h3 id="gameMode"></h3>
			<h3>Click to feed the raccoons!</h3>
			<p><span class="mainMsg"></span></p>
			<p><span class="msg"></span></p>
			<div class= "container center">
				<table id="theTable" class="center">
					<tr>
						<td class="leftTd" width="20%" ><div id="ulLeft"  class="center"></div></td>