
Kód: Vybrat vše
mysql_connect("localhost", word111111977670, heslo_skryto);
mysql_select_db(word111111977670 );
Kód: Vybrat vše
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);
Kód: Vybrat vše
mysql_connect("localhost", word111111977670, heslo_skryto);
mysql_select_db(word111111977670 );
Kód: Vybrat vše
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);
Kód: Vybrat vše
$server = "jdbc:mysql://localhost:3306/gs_27663_1";
$dbuser = "gs_27663_1";
$dbpass = "heslo_skryto";
$dbname = "gs_27663_1";
Kód: Vybrat vše
$server = "mysql.fakaheda.eu";
$dbuser = "gs_27663_1";
$dbpass = "Heslo";
$dbname = "gs_27663_1";
Kód: Vybrat vše
<html><body>
<?php
// change these things
$server = "mysql.fakaheda.eu";
$dbuser = "gs_27663_1";
$dbpass = "heslo";
$dbname = "gs_27663_1";
mysql_connect("localhost", word111111977670, heslo);
mysql_select_db(word111111977670 );
$result = mysql_query("SELECT * FROM banlist ORDER BY time DESC");
echo "<table width=70% border=1 cellpadding=5 cellspacing=0>";
echo "<tr style=\"font-weight:bold\">
<td>Prezdivka</td>
<td>Duvod zabanovani</td>
<td>Zabanovan Adminem</td>
<td>Kdy byl ban udelen</td>
<td>Kdy ban vyprsi</td>
</tr>";
while($row = mysql_fetch_assoc($result)){
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>".$row['time']."</td>";
if($row['temptime'] == "0000-00-00 00:00:00"){
echo "<td>Permanent</td>";
}else{
echo "<td>".$row['temptime']."</td>";
}
echo "</tr>";
}
echo"</table>"
?>
Ban database provided by <a href="http://forums.bukkit.org/threads/admn-kiwiadmin-v2-0-kick-temp-ban-unban-mysql-and-flatfile-670.1681/">KiwiAdmin</a>.
</body></html>
Kód: Vybrat vše
<html><body>
<?php
// change these things
$server = "juliet.fakaheda.eu";
$dbuser = "gs_27663_1";
$dbpass = "Heslo";
$dbname = "gs_27663_1";
mysql_connect($server, $dbuser, $dbpass);
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM banlist ORDER BY time DESC");
echo "<table width=70% border=1 cellpadding=5 cellspacing=0>";
echo "<tr style=\"font-weight:bold\">
<td>Prezdivka</td>
<td>Duvod zabanovani</td>
<td>Zabanovan Adminem</td>
<td>Kdy byl ban udelen</td>
<td>Kdy ban vyprsi</td>
</tr>";
while($row = mysql_fetch_assoc($result)){
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>".$row['time']."</td>";
if($row['temptime'] == "0000-00-00 00:00:00"){
echo "<td>Permanent</td>";
}else{
echo "<td>".$row['temptime']."</td>";
}
echo "</tr>";
}
echo"</table>"
?>
Ban database provided by <a href="http://forums.bukkit.org/threads/admn-kiwiadmin-v2-0-kick-temp-ban-unban-mysql-and-flatfile-670.1681/">KiwiAdmin</a>.
</body></html>
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 41 hostů