21 lines
464 B
PHP
Executable file
21 lines
464 B
PHP
Executable file
<?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);
|
|
?>
|