Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
index.php
Go to the documentation of this file.
1 <?php
2 
3 define('CURSCRIPT', 'index');
4 
5 require './include/common.inc.php';
6 
7 $timing = 0;
8 if($gamestate > 10) {
10 } else {
11  if($starttime > $now) {
13  } else {
14  $timing = 0;
15  }
16 }
17 $adminmsg = file_get_contents('./gamedata/adminmsg.htm') ;
18 $systemmsg = file_get_contents('./gamedata/systemmsg.htm') ;
19 include template('index');
20 
21 ?>
22 
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
24 <html>
25  <head>
26 <script type="text/javascript">
27 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
28 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
29 </script>
30 <script type="text/javascript">
31 try {
32 var pageTracker = _gat._getTracker("UA-9744745-2");
33 pageTracker._trackPageview();
34 } catch(err) {}</script>
35  </head>
36 </html>
$timing
Definition: index.php:7
$now
Definition: clear.php:23
$gamestate
Definition: gameinfo.php:4
$systemmsg
Definition: index.php:18
$starttime
Definition: gameinfo.php:5
if(!defined('IN_ADMIN')) $adminmsg
Definition: systemmng.php:6