⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 war_stat.php

📁 Download you own three BR
💻 PHP
字号:
<?
require_once("configs/Configs.php");//加载配置文件
require_once("functions/login_flag.php");//是否已经登录
require_once("functions/func_common.php");//加载函数文件
require_once("functions/class_mysql.php");//加载数据库类文件
$w_query=$db->query("select * from war_stat where  u_id='".$_COOKIE['UserId']."'");
$row=$db->fetch_array($w_query);
if($row['s_recon']){
$sum_recon=(int)(($row['recon']/$row['s_recon'])*100);}
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>军事行动任务信息</title>

<link href="css/id.css" rel="stylesheet" type="text/css">
<link href="css/css.css" rel="stylesheet" type="text/css">
<link type="text/css" href="css/build.css" rel="stylesheet">

<style>
body{
margin-top:0px;
}
a.info {
 position:relative; z-index:0; color:#000; text-decoration:none;}
a.info:hover { 
 z-index:1; background-color:#000000;}
a.info span { 
 display: none;}
a.info:hover span { display:block; position:absolute; padding-left:5px; padding-right:5px; padding-top:5px; padding-bottom:5px;width:220px; border:2px solid #fff; line-height:16px; background-color:#E7CB94; color:#000000; text-align: left;  text-decoration:none; margin-top:20px;margin-left:-220px;}

.img_style { filter:Gray(enabled=tru); }
.img_style1 { filter:Gray(enabled=false);}
</style>

</head>

<body> 
  <script   language="JavaScript">     
  <!--     
  javascript:window.history.forward(1);     
  //-->     
  </script>   
<!--导航-->
<?php require_once("system_daohang.htm");?>

<div id="mb_01">
	<div class="page_build_title">战争统计<a name="#war"></a></div>
</div>
<div id="mb_04">

<!--替换区域开始-->
<div id="arm">
<table width="90%" align="center" style="margin-top:15px;font-size:12px;">
	<tr>
    <td width="25%" height="25" ><span style="padding-bottom:10px;padding-top:10px;"><a href="armament_action.php" target="_self" class="d">【军事行动】</a></span></td>
    <td width="25%" height="25" ><span><a href="armament_action.php?action_type=3" target="_self" class="d">【间谍侦察】</a></span></td>
    <td width="25%" height="25" ><span><a href="war_result_list.php?type=war#war" target="_self" class="d">【战报信息】</a></span></td>
     <td width="25%" height="25" ><span><a href="war_stat.php" target="_self" class="d">【战争统计】</a></span></td>
    </tr>
</table>
<table width="98%" border=1 cellpadding=1 cellspacing=0 style="margin-top:0px; font-size:12px; border-collapse:collapse;border:1px solid threeddarkshadow" bordercolor="threeddarkshadow" align="center">
	    <tr align="center" bgcolor="darkslategray" height="20">
		<td colspan="8" class="HEADERSM" ><span style="color:#ffffff; font-weight:bold;">战争统计表</span></td>
		</tr>
	   <tr align="center" style="font-weight:bold;" height="25">
		<td  class="HEADERSM">战争总次数</td>
	    <td  class="HEADERSM">胜利次数</td>
		<td class="HEADERSM">失败次数</td>
		<td class="HEADERSM">平局次数</td>
		<td class="HEADERSM">俘虏武将次数</td>
		<td class="HEADERSM">武将被俘次数</td>
		<td class="HEADERSM">侦察成功率</td>
		</tr>
		 <tr align="center"  height="20">
		<td><? if($row['sum_total'])echo $row['sum_total'];else echo '0';?></td>
	    <td><? if($row['w_win'])echo $row['w_win'];else echo '0';?></td>
		<td><? if($row['w_lost'])echo $row['w_lost'];else echo '0';?></td>
		<td><? if($row['w_dogfall'])echo $row['w_dogfall'];else echo '0';?></td>
		<td><?if($row['captive']) echo $row['captive'];else echo '0';?></td>
		<td><? if($row['captured_p'])echo $row['captured_p'];else echo '0';?></td>
		<td><? if($sum_recon)echo $sum_recon."%";else echo '0%';?></td>
		</tr>
		</table>
</div>
</div>
<div id="mb_03"></div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -