<body background="/img/header.jpg"></body>
<?
header('Content-Type: text/html; charset=utf-8'); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>MultiDiaxoWorld - Lista Banow</title>
</head>
<body>
<?php
// change these things
$server = "xyz";
$dbuser = "xyz";
$dbpass = "xyz";
$dbname = "xyz";
$result = mysql_query("SELECT * FROM banlist ORDER BY time DESC");
echo "<table width=100% border=3 cellpadding=3 cellspacing=0>";
echo "<tr style=\"font-weight:bold\"> <td><font color='red'>Nazwa Gracza:</font></td>
<td>Powod:</td>
<td>Banujacy:</td>
<td>Data Zbanowania:</td>
<td>Data Odbanowania:</td>
</tr>";
if($col == "#eeeeee"){
$col = "#ffffff";
}else{
$col = "#eeeeee";
}
echo "<tr bgcolor=$col>";
echo "<td>".$row['name']."</td>"; echo "<td>".$row['reason']."</td>"; echo "<td>".$row['admin']."</td>"; echo "<td>".date("d M, Y g:ia",$row['time'])."</td>"; if($row['temptime'] == "0"){
echo "<td><font color='red'>Nigdy</font></td>"; }else{
echo "<td>".date("d M, Y g:ia",$row['temptime'])."</td>"; }
}
?>
<script type="text/javascript">
document.getElementsByTagName("div")[0].style.display = "none";
</script>
<style type="text/css">/*<![CDATA[ */
.cbalink {
display:none;
}
/*]]>*/</style>
</body></html>
Oto skrypt chciałbym uzyskac z niego coś takiego jak tutaj:
...
< jak treść strony będzie na poziomie - możesz wkleić linkTam gdzie jest xyz tam sa moje dane
Ten post edytował Kshyhoo 14.09.2015, 17:00:52
Powód edycji: [Kshyhoo]: usunięty link - wulgaryzmy na stronie, BB-CODE, TAGI