| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <?
- include("../config/conn.php");
- include("../config/function.php");
- sesCheck();
- if(sqlzhuru($_POST[jvs])=="tx"){
- zwzr();
- if(empty($_POST[t1])){Audit_alert("验证码有误!","txsz.php");}
- $zfmm=sha1(sqlzhuru($_POST[t1]));
- if(panduan("uid,zfmm","yjcode_user where zfmm='".$zfmm."' and uid='".$_SESSION[SHOPUSER]."'")==0){Audit_alert("安全码有误!","txsz.php");}
- updatetable("yjcode_user","txyh='".sqlzhuru($_POST[ttxyh])."',txname='".sqlzhuru($_POST[ttxname])."',txzh='".sqlzhuru($_POST[ttxzh])."',txkhh='".sqlzhuru($_POST[ttxkhh])."' where uid='".$_SESSION[SHOPUSER]."'");
- php_toheader("txsz.php?t=suc");
- }
- $sqluser="select * from yjcode_user where uid='".$_SESSION[SHOPUSER]."'";mysql_query("SET NAMES 'GBK'");$resuser=mysql_query($sqluser);
- $rowuser=mysql_fetch_array($resuser);
- ?>
- <!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="x-ua-compatible" content="ie=7" />
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>用户管理面板 - <?=webname?></title>
- <? include("cssjs.html");?>
- <script language="javascript">
- function tj(){
- if((document.f1.ttxzh.value).replace("/\s/","")==""){alert("请输入卡号/账号");document.f1.ttxzh.focus();return false;}
- if((document.f1.ttxname.value).replace("/\s/","")==""){alert("请输入户名");document.f1.ttxname.focus();return false;}
- if((document.f1.t1.value).replace("/\s/","")==""){alert("请输入安全码");document.f1.t1.focus();return false;}
- layer.msg('正在提交', {icon: 16 ,time: 0,shade :0.25});
- tjwait();
- f1.action="txsz.php";
- }
- function txlxcha(){
- tx=document.getElementById("ttxyh").value;
- if(tx=="支付宝" || tx=="微信"){document.getElementById("khh1").style.display="none";document.getElementById("khh2").style.display="none";}
- else{document.getElementById("khh1").style.display="";document.getElementById("khh2").style.display="";}
- }
- </script>
- </head>
- <body>
- <? include("../tem/top.html");?>
- <? include("top.php");?>
- <div class="yjcode">
- <? include("left.php");?>
- <!--RB-->
- <div class="userright">
-
- <? include("rcap2.php");?>
- <script language="javascript">
- document.getElementById("rcap3").className="l1 l2";
- </script>
- <!--白B-->
- <div class="rkuang">
-
- <? systs("恭喜您,操作成功!","txsz.php")?>
- <form name="f1" method="post" onsubmit="return tj()">
- <input type="hidden" value="tx" name="jvs" />
- <ul class="uk">
- <li class="l1">提现类型:</li>
- <li class="l2">
- <select name="ttxyh" class="inp" id="ttxyh" onchange="txlxcha()">
- <?
- $yharr=preg_split("/xcf/",$rowcontrol[txyh]);
- for($i=0;$i<=count($yharr);$i++){
- if(!empty($yharr[$i])){
- ?>
- <option value="<?=$yharr[$i]?>"<? if($rowuser[txyh]==$yharr[$i]){?> selected="selected"<? }?>><?=$yharr[$i]?></option>
- <?
- }}
- ?>
- </select>
- </li>
- <li class="l1"><span class="red" style="font-weight:normal;">*</span>卡号/账号:</li>
- <li class="l2"><input type="text" value="<?=$rowuser[txzh]?>" class="inp" name="ttxzh" /></li>
- <li class="l1" id="khh1">开户行:</li>
- <li class="l2" id="khh2"><input type="text" value="<?=$rowuser[txkhh]?>" class="inp" name="ttxkhh" /></li>
- <li class="l1"><span class="red" style="font-weight:normal;">*</span>户名:</li>
- <li class="l2"><input type="text" value="<?=$rowuser[txname]?>" class="inp" name="ttxname" /> <span class="fd">帐号对应的姓名</span></li>
- <li class="l1"><span class="red" style="font-weight:normal;">*</span>支付密码:</li>
- <li class="l2"><input type="password" class="inp" name="t1" /> <span class="fd"><a href="zfmm.php">忘了支付密码?</a></span></li>
- <li class="l3"><?=tjbtnr("提交")?></li>
- </ul>
- </form>
-
- </div>
- <!--白E-->
- </div>
- <!--RE-->
- </div>
- <div class="clear clear15"></div>
- <? include("../tem/bottom.html");?>
- <script language="javascript">txlxcha();</script>
- </body>
- </html>
|