📄 attempts.php
字号:
<?php /* ------------------------- */
include("_include-jail.php");
/* ------------------------- */ ?>
<html>
<head>
<title>[( Elite avengers )]</title>
<link REL="stylesheet" TYPE="text/css" HREF="css-v1.css">
</head>
<body>
<center><table width="60%">
<tr><td class="subTitle" colspan="2">Last Attempts you tried.</td></tr>
<?php
$dbres = mysql_query("SELECT * FROM `attempts` WHERE `login`='{$data->login}' ORDER BY `date` DESC");
while($attempt = mysql_fetch_object($dbres)) {
$result = ($attempt->result == 1) ? "died" : "survived";
echo "<tr><td class=\"mainTxt\">{$attempt->date}</td><td class=\"mainTxt\">You shot at <a href=\"profile.php?x={$attempt->defender}\"><b>{$attempt->defender}</b></a>. He <b>{$result}</b> from the shots.</td></tr>";
}
?>
<tr><td> </td></tr>
<tr><td class="subTitle" colspan="2">Last Attempts on your life.</td></tr>
<?php
$dbres = mysql_query("SELECT * FROM `attempts` WHERE `defender`='{$data->login}' ORDER BY `date` DESC");
while($dattempt = mysql_fetch_object($dbres)) {
$result = ($attempt->result == 1) ? "died" : "survived";
echo "<tr><td class=\"mainTxt\">{$dattempt->date}</td><td class=\"mainTxt\"><a href=\"profile.php?x={$dattempt->login}\"><b>{$dattempt->login}</b></a> shot at you, but you <b>$result</b> from the shots.</td></tr>";
}
?>
</table><br><br><br>
<sub><b>NOTE:</b> This attempts is only for kill, not for attack.</sub></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -