<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>伤飞签到基本设置</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/setcolor.js"></script>

</head>
<BODY style="margin:2px">
<form method="post" Name="myForm" action="<?=site_url('m/sfq/admin/xiu')?>">

	<table id="userpz1" align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
	 
	<tr><td align="center" height="20" colspan="2" class="title">伤飞签到管理</td></tr>

        <tbody id="qqa" >
        <tr>
      		<td align="right"><strong>每日签到增加金币：</strong></td>
      		<td><input size="5" name="jinbi" value="<?=jinbi?>">个金币
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计5天增加金币：</strong></td>
      		<td><input size="5" name="wjinbi" value="<?=wjinbi?>">个金币
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计7天增加金币：</strong></td>
      		<td><input size="5" name="qjinbi" value="<?=qjinbi?>">个金币
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计15天增加金币：</strong></td>
      		<td><input size="5" name="swjinbi" value="<?=swjinbi?>">个金币
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计15天会员天数：</strong></td>
      		<td><input size="5" name="swtian" value="<?=swtian?>">  天
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计30天增加金币：</strong></td>
      		<td><input size="5" name="ssjinbi" value="<?=ssjinbi?>">个金币
		</td>
    	</tr>
        <tr>
      		<td align="right"><strong>累计30天会员天数：</strong></td>
      		<td><input size="5" name="sstian" value="<?=sstian?>">  天
		</td>
    	</tr>
<tr><td align="right"><strong><font color=red>＊</font> 会员级别：</strong></td>
<td>
<select style="width:200px" name="CS_Vip" id="CS_Vip" size="1" onChange="showvip();">
<?php
                $strsu="";
                $sqlstr="select * from ".CS_SqlPrefix."userzu order by CS_ID asc";
		$result=$this->CsdjDB->db->query($sqlstr);
		$recount=$result->num_rows();
                if($recount>0){
			foreach ($result->result() as $row) {
                             if($row->CS_ID==$CS_Vip){
                               $strsu.='<option name="vip" value='.$row->CS_ID.' selected>├'.$row->CS_Name.'</option>';
                             }else{
                               $strsu.='<option name="vip" value='.$row->CS_ID.'>├'.$row->CS_Name.'</option>';
                             }
                        }
                }
                echo $strsu;
?>
</select>
</td>
</tr>
</tbody>

	</table>

    
 	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="950" style="border-collapse:collapse;">
  	<tr align="center">
    		<td height="36" colspan="3" ><input type="submit" name="Submit" class="italk-bt" value=" 保 存 "></td>
  	</tr>
	</table>
    </form>
</body>
</html>
