Parašė Black· 2011 Bal. 15 17:04:02
#3
O gal moki ir naudotis ja ? ir kuri siust ten daug yra ju. man reikia kad tiktu ant
html.
jau susitvarkiau. Gal kas mokate ir galite is vieno index.php ikelti i kita index.html ? man reiktu perkelti kaskuria sio kodo dali kad roditu serverius.
<?php
//------------------------------------------------------------------------------------------------------------+
header("Content-Type:text/html; charset=utf-8");
//------------------------------------------------------------------------------------------------------------+
?>
<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Live Game Server List</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<meta http-equiv='content-style-type' content='text/css' />
<link rel='stylesheet' href='lgsl_style.css' type='text/css' />
</head>
<body>
<div style='height:30px'><br /></div>
<?php
//------------------------------------------------------------------------------------------------------------+
global $output, $lgsl_server_id;
$output = "";
$s = isset($_GET['s']) ? $_GET['s'] : "";
if (is_numeric($s)) { $lgsl_server_id = $s; require "lgsl_files/lgsl_details.php"; }
elseif ($s == "add") { require "lgsl_files/lgsl_add.php"; }
else { require "lgsl_files/lgsl_list.php"; }
echo $output;
unset($output);
//------------------------------------------------------------------------------------------------------------+
?>
</body>
</html>
Redagavo Black· 2011 Bal. 15 18:04:25