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

📄 safe_goods.php

📁 Download you own three BR
💻 PHP
📖 第 1 页 / 共 2 页
字号:
		   ?>
		   
		   <?php $last_time=$safe_goods_list['s_end_times']-time();
		                $hours = (int)($last_time / 3600);
			 			$minutes = (int)($last_time % 3600 / 60);
			  			$seconds = (int)($last_time % 60);
			  			 if($hours<24){
						      echo $hours.'小时'.$minutes.'分'.$seconds.'秒</span>';
						  }else{
						  	  $days = round($hours / 24,0);
						  	  $hours = substr($hours % 24,0,2);
						      echo $days.'天'.$hours.'小时'.$minutes.'分</span>';
						  }
		   }?></td>
         </tr>
         <?php
			}
		 ?>
       </table>
       <table width="84%" border="0" cellspacing="0" cellpadding="0">	   		
         <tr>
           <td width="30%" valign="center"><input type="image" src="images/yi_images/pm_21.gif" onkeydown="return keycode()"/></td>
           <td width="15%" height="40" valign="bottom" align="right"><?php
           //出售物品项翻页;
			 $page_string_safe_mygoods = ''; 
		     if( $page_safe_mygoods == 1 ){
		    	$page_string_safe_mygoods= '上一页';
		    	echo $page_string_safe_mygoods;
		     }else{ 
			       if(isset($_GET['type'])||isset($_post['type'])){
				  $page_string_safe_mygoods= '<a href="?page_safe_mygoods='.($page_safe_mygoods-1).'&type=will">上一页</a>';
				   }else{
		     	$page_string_safe_mygoods= '<a href="?page_safe_mygoods='.($page_safe_mygoods-1).'">上一页</a>'; }
		     	echo $page_string_safe_mygoods;
		     }
           ?></td>
           <td width="5%">&nbsp;</td>
           <td width="15%" valign="bottom" align="left"><?php
           //出售物品项翻页;
			 $page_string_safe_mygoods = ''; 
		     if( ($page_safe_mygoods == $page_count_safe_mygoods) || ($page_count_safe_mygoods == 0) ){ 
		     		$page_string_safe_mygoods= '下一页';
		     		echo $page_string_safe_mygoods;
		     }else{   
			        if(isset($_GET['type'])||isset($_post['type'])){
			          $page_string_safe_mygoods= '<a href="?page_safe_mygoods='.($page_safe_mygoods+1).'&type=will">下一页                        </a>';
			         }else{
		     		$page_string_safe_mygoods= '<a href="?page_safe_mygoods='.($page_safe_mygoods+1).'">下一页</a>';}
		     		echo $page_string_safe_mygoods;
		     }
           ?></td>
           <td width="33%" align="left" valign="bottom"><?php
           	 echo '&nbsp;&nbsp;页码:'.$page_safe_mygoods.'/';
		     if ($page_count_safe_mygoods) {
		     	echo $page_count_safe_mygoods;
		     }else echo '1';
           ?></td>
         </tr>
       </table>
       </form>
	 </div>
	 <div id="right_bottom" style="color:#FF0000 ">拍卖装备不得超过商店里的5倍,也不低于商店原由价格</div>
   </div>
   <div class="sx_01" style="margin-left:8px;margin-top:14px;margin-bottom:10px;">
<div id="pm_01">
    <table width="80%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="121"><div align="left"><strong>【我的物品】</strong></div></td>
        <td width="62"><strong>商品类别:</strong></td>
        <td width="91">
        <form id="form1">
        <select name="menu1" onChange="MM_jumpMenu('self',this,0)" style="width:80px;">
          <option value="?">选择</option>
          <option value="safe_soldier.php">士兵</option>
          <option value="safe_goods.php" selected="selected">装备物品</option>
        </select>
        </form></td>
      </tr>
    </table>
</div>
  <form id="mygoods" name="mygoods" method="POST"   onsubmit="return check_login(this);">
  <input type="hidden" name="action" value="my_goods_safe">
  <div id="pm_02">  
    <table width="88%" height="41" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="13%" height="40" class="wx_03"><strong>售 价</strong></td>
        <td width="30%" align="left" class="wx_03"><input name="golds" type="text" id="golds" size="10" /></td>
        <td width="7%" align="left" class="wx_03"><input type="radio" name="safe_num"  value="1" checked="checked"/></td>
        <td width="10%" align="left" class="wx_03">黄金</td>
        <td width="13%" align="left" class="wx_03"><img src="images/yi_images/1.gif"  /></td>
       
      </tr>
    </table>
  </div>
  <div id="pm_03">
    <table width="88%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12%" height="30" class="wx_03">&nbsp;</td>
        <td colspan="2" align="left" class="wx_03"><strong>物品名称</strong></td>
        <td width="28%" align="left" class="wx_03"><strong> 数 量</strong></td>
      </tr>
      <?php
	//输出玩家物品;
	$query_goods=$db->query("select * from interior_goods where i_uid='".$_COOKIE['UserId']."' and i_state='2' and s_type!='3'
	and s_id!='105' and s_id!='106'  limit ".($page_mygoods-1)*$page_size_mygoods.",".$page_size_mygoods.";");
	
	while ($goods_list=$db->fetch_array($query_goods))
	{   $s_id=$goods_list['s_id']; 
	    $query_m_goods=$db->query("select * from m_goods where id='".$s_id."' and id!='105' and id!='106'  ");
	     $m_goods_list=$db->fetch_array($query_m_goods);
	     $m_s_price=$m_goods_list['s_price'];
	?>
      <tr>
        <td width="12%" height="30" class="wx_03"><input type="radio" name="id" value="<?php echo $goods_list['id'];?>" /></td>
        <td width="20%" align="left" class="wx_03"><div <?php if ($goods_list['i_style_num']<>8) {?>onMouseOver="javascript:ddrivetip('<font color=<?php echo $font_color[$goods_list['i_level']];?>><?php echo $goods_list['i_goodsname'];?></font><br><font color=FFD100><?php 
						switch ($goods_list['i_style_num'])
				    	{
				    		case 1:
				    			echo '武器';
				    			break;
				    		case 2:
				    			echo '铠甲';
				    			break;
				    		case 3:
				    			echo '坐骑';
				    			break;
				    		case 4:
				    			echo '兵书';
				    			break;
				    		case 5:
				    			echo '经书';
				    			break;
				    		case 6:
				    			echo '兵符';
				    			break;
				    	}						
						?></font><br/><font color=#1EFF00><?php echo $goods_list['i_effect'];?></font><br/>装备等级:<?php echo $goods_list['i_level'];?>');" onmouseout="hideddrivetip()"<?php }?>><span style="color:<?php echo $font_color[$goods_list['i_level']];?>"><?php echo $goods_list['i_goodsname']; ?></span></div></td>
        <td width="40%" align="left" class="wx_03"><font color="red"><?php echo " 价值:".$m_s_price."/件";?></font></td>
        <td width="28%" align="left" class="wx_03">&nbsp;&nbsp;x<?php echo $goods_list['num'];?></td>
      </tr>
      <?php
	}
     ?>
    </table>
    <table width="84%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width=30% valign="center"><input   type="image" src="images/yi_images/pm_23.gif"/></td>
        <td width="13%" height="40" valign="bottom" align="right"><?php
			 //我的物品项翻页;
			 $page_string_mygoods = ''; 
		     if( $page_mygoods == 1 ){
		    	$page_string_mygoods= '上一页';
		    	echo $page_string_mygoods;
		     }else{ 
		     	$page_string_mygoods= '<a href="?page_mygoods='.($page_mygoods-1).'">上一页</a>'; 
		     	echo $page_string_mygoods;
		     }
		     ?></td>
        <td width="5%">&nbsp;</td>
        <td width="15%" valign="bottom" align="left"><?php
        if( ($page_mygoods == $page_count_mygoods) || ($page_count_mygoods == 0) ){ 
		     		$page_string_mygoods= '下一页';
		     		echo $page_string_mygoods;
		     }else{ 
		     		$page_string_mygoods= '<a href="?page_mygoods='.($page_mygoods+1).'">下一页</a>';
		     		echo $page_string_mygoods;
		     }
        ?></td>
        <td width="33%" align="left" valign="bottom"><?php 
        echo '&nbsp;&nbsp;页码:'.$page_mygoods.'/';
		if ($page_count_mygoods) {
		    echo $page_count_mygoods;
		}else echo '1';
		
        ?></td>
      </tr>
    </table>
  </div>
  </form>
  <div id="pm_04"></div>
  
<!--替换内容-->
	
</body>
</html>

⌨️ 快捷键说明

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