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

📄 yhzlxg.asp

📁 宁波娱乐在线城市,丰富的内容版块
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="BBSLib.asp"-->
<%
    if Request.Cookies("NC")="" or Request.Cookies("NC")="访客" then
        ShowError 0,"对不起,您不是注册会员!"
        Response.End 
    end if
   
 
    if Request.ServerVariables("Request_Method") = "POST" then
        ret = Command("105|"&FilterStr(Request.Form("tNC"))&"|"&FilterStr(Request.Form("rXB"))&"|"&FilterStr(Request.Form("tMM"))&"|"&FilterStr(Request.Form("tYJ"))&"|"&FilterStr(Request.Form("tN"))&"-"&FilterStr(Request.Form("tY"))&"-"&FilterStr(Request.Form("tR"))&"|"&_
                      FilterStr(Request.Form("tLY"))&"|"&FilterStr(Request.Form("tZY"))&"|"&FilterStr(Request.Form("tAH"))&"|"&FilterStr(Request.Form("tGXQM"))&"|"&FilterStr(Request.Form("tTX"))&"|"&_
                      FilterStr(Request.Form("tGRZY"))&"|"&FilterStr(Request.Form("tICQ"))&"|"&FilterStr(Request.Form("tGRJS"))&"|"&FilterStr(Request.Form("tXM"))&"|"&FilterStr(Request.Form("tSFZH"))&"|"&FilterStr(Request.Form("tDH"))&"|"&_
                      FilterStr(Request.Form("tZZ")))
        if GetPart(ret,1) <> "0" then
            ShowError 1,GetPart(ret,2)
            Response.End
        end if
        
        for each i in Request.Form("cHY")
            ret = Command("120|"&i)
        next    
        
        ShowMessage 0,"个人信息已修改!"
        
        Response.End
    end if                       
                          
     if (UCase(Request.Cookies("NC")) = UCase(Application("NC"))) or (Request.QueryString("NC") = Request.Cookies("NC")) then
         ret = Command("104|"&Request.QueryString("NC"))
     else    
         ShowError 0,"对不起,您无权查看别人的资料!"
         Response.End 
     end if    
     if GetPart(ret,1) <> "0" then
         ShowError 0,GetPart(ret,2)
         Response.End
     end if
%>        
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title>用户资料修改</title>
<script>
window.resizeTo(450,310)
window.moveTo(screen.width/2-450/2,screen.height/2-310/2);
</script>
<style type="text/css">
<!--
.p9 {  font-family: "宋体"; font-size: 9pt}
.TButton {  font-family: "宋体"; font-size: 9pt;cursor:hand;HEIGHT: 22px; WIDTH: 66px}
.Tcheckbox{  HEIGHT: 12px; WIDTH: 12px}
A:link{font-size:9pt;COLOR:black;TEXT-DECORATION: none}
A:visited {font-size:9pt;COLOR:black;TEXT-DECORATION: none}
A:hover {font-size:9pt;COLOR: red; TEXT-DECORATION: underline}
-->
</style>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--

function tabGRXX_onclick() {
tGRXX.style.display='';
tGXSD.style.display='none';
tQTXX.style.display='none';
tHYMD.style.display='none';
tabGRXX.style.borderBottom ='medium none';
tabGRXX.style.borderLeft='threedhighlight 1px solid';
tabGRXX.style.borderRight='threedshadow 2px inset';
tabGRXX.style.borderTop ='threedhighlight 1px solid';
tabGXSD.style.borderBottom ='threedhighlight 1px solid';
tabGXSD.style.borderLeft='medium none';
tabGXSD.style.borderRight='threedshadow 1px inset';
tabGXSD.style.borderTop ='threedhighlight 1px solid';
tabQTXX.style.borderBottom ='threedhighlight 1px solid';
tabQTXX.style.borderLeft='threedhighlight 1px solid';
tabQTXX.style.borderRight='threedshadow 1px inset';
tabQTXX.style.borderTop ='threedhighlight 1px solid';
tabHYMD.style.borderBottom ='threedhighlight 1px solid';
tabHYMD.style.borderLeft='threedhighlight 1px solid';
tabHYMD.style.borderRight='threedshadow 1px inset';
tabHYMD.style.borderTop ='threedhighlight 1px solid';

}

function tabGXSD_onclick() {
tGRXX.style.display='none';
tGXSD.style.display='';
tQTXX.style.display='none';
tHYMD.style.display='none';
tabGRXX.style.borderBottom ='buttonhighlight 1px solid';
tabGRXX.style.borderLeft='threedhighlight 1px solid';
tabGRXX.style.borderRight='medium none';
tabGRXX.style.borderTop ='threedhighlight 1px solid';
tabGXSD.style.borderBottom ='medium none';
tabGXSD.style.borderLeft='threedhighlight 1px solid';
tabGXSD.style.borderRight='threedshadow 2px inset';
tabGXSD.style.borderTop ='threedhighlight 1px solid';
tabQTXX.style.borderBottom ='threedhighlight 1px solid';
tabQTXX.style.borderLeft='medium none';
tabQTXX.style.borderRight='threedshadow 1px inset';
tabQTXX.style.borderTop ='threedhighlight 1px solid';
tabHYMD.style.borderBottom ='threedhighlight 1px solid';
tabHYMD.style.borderLeft='threedhighlight 1px solid';
tabHYMD.style.borderRight='threedshadow 1px inset';
tabHYMD.style.borderTop ='threedhighlight 1px solid';
}

function tabQTXX_onclick() {
tGRXX.style.display='none';
tGXSD.style.display='none';
tQTXX.style.display='';
tHYMD.style.display='none';
tabGRXX.style.borderBottom ='threedhighlight 1px solid';
tabGRXX.style.borderLeft='threedhighlight 1px solid';
tabGRXX.style.borderRight='threedshadow 1px inset';
tabGRXX.style.borderTop ='threedhighlight 1px solid';
tabGXSD.style.borderBottom ='threedhighlight 1px solid';
tabGXSD.style.borderLeft='threedhighlight 1px solid';
tabGXSD.style.borderRight='medium none';
tabGXSD.style.borderTop ='threedhighlight 1px solid';
tabQTXX.style.borderBottom ='medium none';
tabQTXX.style.borderLeft='threedhighlight 1px solid';
tabQTXX.style.borderRight='threedshadow 2px inset';
tabQTXX.style.borderTop ='threedhighlight 1px solid';
tabHYMD.style.borderBottom ='threedhighlight 1px solid';
tabHYMD.style.borderLeft='medium none';
tabHYMD.style.borderRight='threedshadow 1px inset';
tabHYMD.style.borderTop ='threedhighlight 1px solid';
}

function tabHYMD_onclick() {
tGRXX.style.display='none';
tGXSD.style.display='none';
tQTXX.style.display='none';
tHYMD.style.display='';
tabGRXX.style.borderBottom ='threedhighlight 1px solid';
tabGRXX.style.borderLeft='threedhighlight 1px solid';
tabGRXX.style.borderRight='threedshadow 1px inset';
tabGRXX.style.borderTop ='threedhighlight 1px solid';
tabGXSD.style.borderBottom ='threedhighlight 1px solid';
tabGXSD.style.borderLeft='threedhighlight 1px solid';
tabGXSD.style.borderRight='threedshadow 1px inset';
tabGXSD.style.borderTop ='threedhighlight 1px solid';
tabQTXX.style.borderBottom ='threedhighlight 1px solid';
tabQTXX.style.borderLeft='threedhighlight 1px solid';
tabQTXX.style.borderRight='medium none';
tabQTXX.style.borderTop ='threedhighlight 1px solid';
tabHYMD.style.borderBottom ='medium none';
tabHYMD.style.borderLeft='threedhighlight 1px solid';
tabHYMD.style.borderRight='threedshadow 2px inset';
tabHYMD.style.borderTop ='threedhighlight 1px solid';
}
function tGXQM_onkeyup() {
  fYHZLXG.tSY.value = 250 - fYHZLXG.tGXQM.value.length;
  if (fYHZLXG.tSY.value < 0) {
      fYHZLXG.tSY.value = 0;
  }    
  if (fYHZLXG.tSY.value < 20) {
      fYHZLXG.tSY.style.color = 'red';
  }
  else  {
      fYHZLXG.tSY.style.color = 'black';
  }        

}

function tGXQM_onkeypress() {
  if (fYHZLXG.tSY.value <= 0)  {
      event.returnValue = false;
  }      
}

function tGXQM_onpaste() {
    if (fYHZLXG.tSY.value <= 0)  {
        event.returnValue = false;
        return;
    }
    else  {     
        tGXQM_onkeyup();
    }    
}

function tGRJS_onkeyup() {
  fYHZLXG.tSY2.value = 250 - fYHZLXG.tGRJS.value.length;
  if (fYHZLXG.tSY2.value < 0) {
      fYHZLXG.tSY2.value = 0;
  }    
  if (fYHZLXG.tSY2.value < 20) {
      fYHZLXG.tSY2.style.color = 'red';
  }
  else  {
      fYHZLXG.tSY2.style.color = 'black';
  }        

}

function tGRJS_onkeypress() {
  if (fYHZLXG.tSY2.value <= 0)  {
      event.returnValue = false;
  }      
}

function tGRJS_onpaste() {
    if (fYHZLXG.tSY2.value <= 0)  {
        event.returnValue = false;
        return;
    }
    else  {     
        tGRJS_onkeyup();
    }    
}

function window_onresize() {
   window.resizeTo(450,310);
   window.moveTo(screen.width/2-450/2,screen.height/2-310/2);
}

function bQX_onclick() {
    window.close();
}

function window_onload() {
    tGRJS_onkeyup();
    tGXQM_onkeyup();
    
    xb = <%=GetPart(ret,3)%>;
    
    fYHZLXG.rXB[xb].checked = true;
    iTX.document.location = 'hytx.asp?xb='+xb;   
   
}

function rXB_onclick(xb)  {
    iTX.document.location = 'hytx.asp?xb='+xb;
} 
   


function tN_onkeypress() {
    if (event.keyCode<45 || event.keyCode>57) {
        event.returnValue = false;
    }    
}
       
function tMM_onkeypress(){
     if(event.keyCode==124 | event.keyCode==39 | event.keyCode==34 | event.keyCode==32){
        event.returnValue = false;
     }
 }

function bQD_onclick() {
    if (fYHZLXG.tMM.value == '')  {
        window.alert('密码不能为空!');
        return(false);
    }
    
    if (fYHZLXG.tMM.value != fYHZLXG.tQR.value)  {
        window.alert('密码输入有,请重新输入!');
        return(false);
    }
    fYHZLXG.submit();
}

function ShowGRZL(nc) {
    l = screen.width/2-500/2;
    t = screen.height/2-250/2;
    window.open('grzl.asp?NC='+nc,'fGRZL','scrollbars=no,toolbar=no,menubar=no,location=no,status=no,resizable=no,width=500,height=250,left='+l+',top='+t);
}    

if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu() 
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 

⌨️ 快捷键说明

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