saving php5 version
This commit is contained in:
commit
c2c1ee7b9b
46 changed files with 817 additions and 0 deletions
21
index.php~
Executable file
21
index.php~
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
//show all errors
|
||||
error_reporting (E_ALL);
|
||||
ini_set("display_errors","TRUE");
|
||||
|
||||
//standart vars and constants
|
||||
$BODY=""; //the page content
|
||||
$DB=mysql_connect("192.168.0.145","root","h07rn-f#");
|
||||
mysql_select_db("poker",$DB);
|
||||
|
||||
//include the requestet page
|
||||
$page="";
|
||||
if (isset($_GET['page'])) $page=$_GET['page'];
|
||||
if ($page=="rank") include ("rank.php");
|
||||
|
||||
//include the Template
|
||||
include ("template.php");
|
||||
|
||||
//End of Script
|
||||
mysql_close($DB);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue