📄 my_gen.php
字号:
<option value="0">使用</option>
<?php
while ($ms_my_mg=$db->fetch_array($query_my_gd)) {
echo '<option value="'.$ms_my_mg['s_id'].'">'.$ms_my_mg['i_goodsname'].'x'.$ms_my_mg['num'].'</option>';
}
?>
</select>
<input type="submit" name="submit" value="使用"/>
<?php
}else echo ' ';}else echo ' ';?></td>
</tr>
</form>
</table>
<div class="sx_06" style="margin-top:10px "><?php if ($gen_experince_list['g_status']==0) {?><a href="?action=下野&id=<?php echo $_GET['mgend'];?>" onclick="return del()"><img src="images/images/gh_01.gif" /></a><?php } if ($gen_experince_list['g_status']==0) { if ($gen_experince_list['g_fy']==1) {?><a href="?action=非防御&mgend=<?php echo $_GET['mgend'];?>"> <img src="images/images/gh_02.gif" /></a> <?php } else {?> <a href="?action=防御&mgend=<?php echo $_GET['mgend'];?>"><img src="images/images/gh_03.gif" /></a><?php } }?></div>
</div>
</div>
<div class="sx_01" style="margin-left:17px;margin-top:12px; ">
<div id="rsx_01">
<?php
if ($gen_experince_list['g_status']==0 && $gen_experince_list['g_fy']==0) {
?>
<form id="gen_move" name="gen_move" method="POST" onsubmit="return ove();">
<input type="hidden" name="form_action" value="move"/>
<input type="hidden" name="gen_move_id" value="<?php echo $_GET['mgend'];?>">
<div class="sx_17"><strong>把武将移动到</strong></div>
<div class="sx_18">
<?php
//查询玩家的分城;
$query_city=$db->query("select * from city where u_id='".$_COOKIE['UserId']."';");
?>
<select name="city_move" style="width:100px;">
<?php
while ($city_list=$db->fetch_array($query_city)) {
echo '<option';
if ($city_list['c_id']==$_COOKIE['CityId']) {
echo ' selected="selected" ';
}
echo ' value='.$city_list['c_id'].'>'.$city_list['c_name'];
if ($city_list['c_type']=='1') {
echo '(主城)';
}
echo '</option>';
}
?>
</select>
</div>
<div class="sx_19"><strong><input type="image" src="images/images/ex_9.jpg" /></strong></div>
</form>
<?php
}
?> </div>
<div id="rsx_04">
<table width="280" border="0" cellspacing="0" cellpadding="0" style="margin-top:22px ">
<tr>
<td width="180"><?php if ($equip_gif[1]==1) {
echo '<div class="tud2" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$equip_level[1]].'>'.$equip_name[1].'</font><br/><font color=FFD100>武器</font><br/><font color=#1EFF00>'.$equip_ef[1].'</font><br/>装备等级:'.$equip_level[1].'\');" onMouseOut="hideddrivetip()"><div class="tud3"><img src="images/yw_bao/wuqi73x86/';
if ($equip_gif_name[1]<>0) {
echo $equip_gif_name[1];
}else {
echo 'rsx_14';
}
echo '.jpg" /></div></div>';
}?></td>
<td width="100"><?php if ($equip_gif[3]==1) {
echo '<div class="tud4" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$equip_level[3]].'>'.$equip_name[3].'</font><br/><font color=FFD100>兵符</font><br/><font color=#1EFF00>'.$equip_ef[3].'</font><br/>装备等级:'.$equip_level[3].'\');" onMouseOut="hideddrivetip()"><div class="tud3"><img src="images/yw_bao/binfu73x86/';
if ($equip_gif_name[3]<>0) {
echo $equip_gif_name[3];
}else {
echo 'rsx_20';
}
echo '.jpg" /></div></div>';
}?></td>
</tr>
</table>
</div>
<div id="rsx_05">
<?php if ($equip_gif[2]==1) {
echo '<div class="tud5" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$equip_level[2]].'>'.$equip_name[2].'</font><br/><font color=FFD100>铠甲</font><br/><font color=#1EFF00>'.$equip_ef[2].'</font><br/>装备等级:'.$equip_level[2].'\');" onMouseOut="hideddrivetip()"><div class="tud3"><img src="images/yw_bao/kai73x86/';
if ($equip_gif_name[2]<>0) {
echo $equip_gif_name[2];
}else {
echo 'rsx_22';
}
echo '.jpg" /></div></div>';
}?>
</div>
<div id="rsx_06">
<table width="280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180"><?php if ($equip_gif[4]==1) {
echo '<div class="tud2" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$equip_level[4]].'>'.$equip_name[4].'</font><br/><font color=FFD100>书藉</font><br/><font color=#1EFF00>'.$equip_ef[4].'</font><br/>装备等级:'.$equip_level[4].'\');" onMouseOut="hideddrivetip()"><div class="tud3"><img src="images/yw_bao/book73x86/';
if ($equip_gif_name[4]<>0) {
echo $equip_gif_name[4];
}else {
echo 'rsx_23';
}
echo '.jpg" /></div></div>';
}?></td>
<td width="100"><?php if ($equip_gif[5]==1) {
echo '<div class="tud4" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$equip_level[5]].'>'.$equip_name[5].'</font><br/><font color=FFD100>坐骑</font><br/><font color=#1EFF00>'.$equip_ef[5].'</font><br/>装备等级:'.$equip_level[5].'\');" onMouseOut="hideddrivetip()"><div class="tud3"><img src="images/yw_bao/zhuoqi73x86/';
if ($equip_gif_name[5]<>0) {
echo $equip_gif_name[5];
}else {
echo 'rsx_21';
}
echo '.jpg" /></div></div>';
}?></td>
</tr>
</table>
</div>
</div>
<?php
//查询武将状态;
if ($gen_experince_list['g_status']==0)
{
?>
<div style="float:left;">
<!--装备开始-->
<div id="mb_01"><table width="85%" border="0" cellspacing="0" cellpadding="0" style="margin-top:12px ">
<tr>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_09"> <span style="color:<?php echo $font_color[1];?>">粗糙</span></td>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_03"><span style="color:<?php echo $font_color[2];?>">普通</span></td>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_10"><span style="color:<?php echo $font_color[3];?>">优秀</span></td>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_11"><span style="color:<?php echo $font_color[4];?>">精良</span></td>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_12"><span style="color:<?php echo $font_color[5];?>">史诗</span></td>
<td>
<img alt="" src="images/images/rw_20.jpg"/> </td>
<td class="sx_14"><span style="color:<?php echo $font_color[6];?>">传说</span></td>
<td style="padding-left:10px;"><div align="right"><a href="goods.php?action_type=1" target="_self"><img alt="我的物品" src="images/images/rsx_078.gif"></a></div></td>
</tr>
</table>
</div>
<div id="mb_04">
<form id="form1" name="form1" method="POST" action="?ac=genlist&&mgend=<?php echo $_GET['mgend'];?>">
<input type="hidden" name="put" value="upzhuan">
<!-------------------------武器------------------------------->
<div class="sx_08"><strong>武 器</strong></div>
<div class="fohr fxg">
<?php
//查询内政物品表中所有的武器;
$query=$db->query("select * from interior_goods where i_uid='".$_COOKIE['UserId']."' and i_style_num=1 and i_state=2;");
$wuqi_sum=$db->num_rows($query);
if ($wuqi_sum==0) {
echo '<span style="font-size=12px;color:red;">没有武器装备</span>';
}
while ($wuqi_list=$db->fetch_array($query)) {
echo '<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="52px" height="28" ><input type="radio" name="wuqi" value="'.$wuqi_list['id'].'" /></td>
<td width="104px" style="font-size:12px;"><div align="left" style="color:'.$font_color[$wuqi_list['i_level']].'" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$wuqi_list['i_level']].'>'.$wuqi_list['i_goodsname'].'</font><br/><font color=FFD100>武器</font><br/><font color=#1EFF00>'.$wuqi_list['i_effect'].'</font><br/>装备等级:'.$wuqi_list['i_level'].'\');" onMouseOut="hideddrivetip()">'.$wuqi_list['i_goodsname'].'</div></td></tr>
</table></div>';
}
?>
<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="44px" height="28" ><input type="radio" name="wuqi" value="-1" /></td>
<td width="112px" style="font-size:12px;"><div align="left" >卸下装备</div></td></tr>
</table></div>
</div>
<div class="sx_08"><strong>铠 甲</strong></div>
<div class="fohr fxg">
<?php
//查询内政物品表中所有的武器;
$query=$db->query("select * from interior_goods where i_uid='".$_COOKIE['UserId']."' and i_style_num=2 and i_state=2;");
$wuqi_sum=$db->num_rows($query);
if ($wuqi_sum==0) {
echo '<span style="font-size=12px;color:red;">没有铠甲装备</span>';
}
while ($wuqi_list=$db->fetch_array($query)) {
echo '<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="44px" height="28" ><input type="radio" name="kaijia" value="'.$wuqi_list['id'].'" /></td>
<td width="112px" style="font-size:12px;"><div align="left" style="color:'.$font_color[$wuqi_list['i_level']].'" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$wuqi_list['i_level']].'>'.$wuqi_list['i_goodsname'].'</font><br/><font color=FFD100>铠甲</font><br/><font color=#1EFF00>'.$wuqi_list['i_effect'].'</font><br/>装备等级:'.$wuqi_list['i_level'].'\');" onMouseOut="hideddrivetip()">'.$wuqi_list['i_goodsname'].'</div></td></tr>
</table></div>';
}
?>
<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="44px" height="28" ><input type="radio" name="kaijia" value="-1" /></td>
<td width="112px" style="font-size:12px;"><div align="left" >卸下装备</div></td></tr>
</table></div>
</div>
<!-------------------------铠甲------------------------------->
<!-------------------------兵符------------------------------->
<div class="sx_08"><strong>兵 符</strong></div>
<div class="fohr fxg">
<?php
//查询内政物品表中所有的武器;
$query=$db->query("select * from interior_goods where i_uid='".$_COOKIE['UserId']."' and i_style_num=6 and i_state=2;");
$wuqi_sum=$db->num_rows($query);
if ($wuqi_sum==0) {
echo '<span style="font-size=12px;color:red;">没有兵符装备</span>';
}
while ($wuqi_list=$db->fetch_array($query)) {
echo '<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="44px" height="28" ><input type="radio" name="binfu" value="'.$wuqi_list['id'].'" /></td>
<td width="112px" style="font-size:12px;"><div align="left" style="color:'.$font_color[$wuqi_list['i_level']].'" onMouseOver="javascript:ddrivetip(\'<font color='.$font_color[$wuqi_list['i_level']].'>'.$wuqi_list['i_goodsname'].'</font><br/><font color=FFD100>兵符</font><br/><font color=#1EFF00>'.$wuqi_list['i_effect'].'</font><br/>装备等级:'.$wuqi_list['i_level'].'\');" onMouseOut="hideddrivetip()">'.$wuqi_list['i_goodsname'].'</div></td></tr>
</table></div>';
}
?>
<div class="folr_01"><table width="156px" border="0" cellpadding="0" cellspacing="0" ><tr>
<td width="44px" height="28" ><input type="radio" name="binfu" value="-1" /></td>
<td width="112px" style="font-size:12px;"><div align="left" >卸下装备</div></td></tr>
</table></div>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -