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 
4 define('CURSCRIPT', 'index');
5 
6 require './include/common.inc.php';
7 
8 
9 $timing = 0;
10 if($gamestate > 10) {
12 } else {
13  if($starttime > $now) {
15  } else {
16  $timing = 0;
17  }
18 }
19 
20 
21 $adminmsg = file_get_contents('./gamedata/adminmsg.htm') ;
22 $systemmsg = file_get_contents('./gamedata/systemmsg.htm') ;
23 include template('index');
24 
25 ?>
26 
27 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
28 <html>
29  <head>
30 <script type="text/javascript">
31 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
32 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
33 </script>
34 <script type="text/javascript">
35 try {
36 var pageTracker = _gat._getTracker("UA-9744745-2");
37 pageTracker._trackPageview();
38 } catch(err) {}</script>
39  </head>
40 </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