<?php 
defined('IN_HS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<?=$menu?>
<table cellpadding="2" cellspacing="1" class="tableborder" width="100%">
  <tr>
    <th colspan=9 style="text-align:center"><strong>服务器列表</strong></th>
  </tr>
<tr align="center">
<td width="20%" class="tablerowhighlight">服务器名</td>
<td width="15%" class="tablerowhighlight">服务器IP</td>
<td width="15%" class="tablerowhighlight">用户名</td>
<td width="15%" class="tablerowhighlight">帐号库</td>
<td width="15%" class="tablerowhighlight">角色库</td>
<td width="15%" class="tablerowhighlight">日志库</td>
<td width="10%" class="tablerowhighlight">管理</td>
</tr>

<?php foreach($gamelist AS $value) { ?>
<tr>
						<td style="font-size:13px"> <span style="color:#333"><?=$value[servername]?><?php if($value[status] !="1") { ?><font color=red>[停激]</font><? }?> <?php if($value[enablecome] =="1") { ?><font color=blue><b> ->可转入</b></font><? }?><?php if($value[enableout] =="1") { ?><font color=red><b> ->可转出</b></font><? }?><?php if($value[enablezs] =="1") { ?><font color=red><b> 「转生开放」</b></font><? }?></td>
						<td><?=$value[serverip]?></td>
						<td><?=$value[loginname]?></td>
						<td><?=$value[dataacc]?></td>
						<td><?=$value[datafso]?></td>
						<td><?=$value[datalog]?></td>
						<td>
						<input class=btn type=button value='修改' onclick="window.location=&#039;?mod=<?=$mod?>&amp;file=<?=$file?>&amp;action=editserver&amp;id=<?=$value[id]?>&#039;"?><input class=btn type=button value='删除' onclick="window.location=&#039;?mod=<?=$mod?>&amp;file=<?=$file?>&amp;action=delete&amp;id=<?=$value[id]?>&#039;"?></td>
  </tr>
<? } ?>
</table>


</body>
</html>