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

📄 ltgl.asp

📁 宁波娱乐在线城市,丰富的内容版块
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="BBSLib.asp"-->
<%

 
    if Request.ServerVariables("Request_Method") = "POST" then
       ret = Command("307|"&Request.QueryString("ID")&"|"&FilterStr(Request.Form("tLTMC"))&"|"&FilterStr(Request.Form("tLTJS"))&"|"&FilterStr(Request.Form("tFBZ1"))&"|"&FilterStr(Request.Form("tFBZ2"))&"|"&_
                    FilterStr(Request.Form("tFBZ3"))&"|"&FilterStr(Request.Form("tFBZ4"))&"|"&Request.Form("tTBJ")&"|"&Request.Form("tWBJ")&"|"&_
                    IIF(Request.Form("cXYMM")="1","2","0")&"|"&FilterStr(Request.Form("tMM")))
        if GetPart(ret,1) <> "0" then
           ShowError 1,GetPart(ret,2)
            Response.End
        end if
       
       for each i in Request.Form("cJCJB")
           ret = Command("110|"&Request.QueryString("ID")&"|"&i)
        next
        ShowMessage 0,"论坛资料已修改"
        Response.End 
        
    end if     
  
                           
                          
    if (Request.QueryString("ID") <> "")  then
         ret = Command("306|"&Request.QueryString("ID")&"|1")
    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}
-->
</style>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--

function tabLTXX_onclick() {
tLTXX.style.display='';
tGXSD.style.display='none';
tRYGL.style.display='none';
tabLTXX.style.borderBottom ='medium none';
tabLTXX.style.borderLeft='threedhighlight 1px solid';
tabLTXX.style.borderRight='threedshadow 2px inset';
tabLTXX.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';
tabRYGL.style.borderBottom ='threedhighlight 1px solid';
tabRYGL.style.borderLeft='threedhighlight 1px solid';
tabRYGL.style.borderRight='threedshadow 1px inset';
tabRYGL.style.borderTop ='threedhighlight 1px solid';
}

function tabGXSD_onclick() {
tLTXX.style.display='none';
tGXSD.style.display='';
tRYGL.style.display='none';
tabLTXX.style.borderBottom ='buttonhighlight 1px solid';
tabLTXX.style.borderLeft='threedhighlight 1px solid';
tabLTXX.style.borderRight='medium none';
tabLTXX.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';
tabRYGL.style.borderBottom ='threedhighlight 1px solid';
tabRYGL.style.borderLeft='medium none';
tabRYGL.style.borderRight='threedshadow 1px inset';
tabRYGL.style.borderTop ='threedhighlight 1px solid';

}

function tabRYGL_onclick() {
tLTXX.style.display='none';
tGXSD.style.display='none';
tRYGL.style.display='';
tabLTXX.style.borderBottom ='threedhighlight 1px solid';
tabLTXX.style.borderLeft='threedhighlight 1px solid';
tabLTXX.style.borderRight='threedshadow 1px inset';
tabLTXX.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';
tabRYGL.style.borderBottom ='medium none';
tabRYGL.style.borderLeft='threedhighlight 1px solid';
tabRYGL.style.borderRight='threedshadow 2px inset';
tabRYGL.style.borderTop ='threedhighlight 1px solid';

}







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 tLTJS_onkeyup() {
  fLTGL.tSY.value = 250 - fLTGL.tLTJS.value.length;
   if (fLTGL.tSY.value < 0) {
      fLTGL.tSY.value = 0;
  }    
  if (fLTGL.tSY.value < 20) {
      fLTGL.tSY.style.color = 'red';
  }
  else  {
      fLTGL.tSY.style.color = 'black';
  }    

}

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

}

function tLTJS_onpaste() {
    if (fLTGL.tSY.value <= 0)  {
        event.returnValue = false;
        return;
    }
    else  {     
        tLTJS_onkeyup();
    }    
}
function tTBJ_onkeyup() {
  fLTGL.tSY1.value = 250 - fLTGL.tTBJ.value.length;
   if (fLTGL.tSY1.value < 0) {
      fLTGL.tSY1.value = 0;
  }    
  if (fLTGL.tSY1.value < 20) {
      fLTGL.tSY1.style.color = 'red';
  }
  else  {
      fLTGL.tSY1.style.color = 'black';
  }    

}

function tTBJ_onkeypress() {
  if (fLTGL.tSY1.value <= 0)  {
      event.returnValue = false;
  }      
}

function tTBJ_onpaste() {
    if (fLTGL.tSY1.value <= 0)  {
        event.returnValue = false;
        return;
    }
    else  {     
        tTBJ_onkeyup();
    }    
}

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

function tWBJ_onkeyup() {
  fLTGL.tSY2.value = 250 - fLTGL.tWBJ.value.length;
   if (fLTGL.tSY2.value < 0) {
      fLTGL.tSY2.value = 0;
  }    
  if (fLTGL.tSY2.value < 20) {
      fLTGL.tSY2.style.color = 'red';
  }
  else  {
      fLTGL.tSY2.style.color = 'black';
  }    

}

function tWBJ_onpaste() {
    if (fLTGL.tSY2.value <= 0)  {
        event.returnValue = false;
        return;
    }
    else  {     
        tWBJ_onkeyup();
    }    

}

function cXYMM_onclick() {
    if (fLTGL.cXYMM.checked)  {
        fLTGL.tMM.disabled = false;
        fLTGL.tMM.style.background = 'white';
        fLTGL.tQR.disabled = false;
        fLTGL.tQR.style.background = 'white';
    }
    else  {
        fLTGL.tMM.disabled = true;
        fLTGL.tMM.style.background = 'buttonface';
        fLTGL.tQR.disabled = true;
        fLTGL.tQR.style.background = 'buttonface';
    }    
            
}

function bYL_onclick(msg) {
    fLTGL.action = 'bjyl.asp?type='+msg;
    fLTGL.target = '_blank';
    fLTGL.submit();}

function bQD_onclick() {
 if (fLTGL.tLTMC.value == '') {
       window.alert('您必须输入论坛名称!');
       return(false);
    }
    if (fLTGL.tLTJS.value == '')  {
        window.alert('您必须输入论坛介绍!');
       return(false);
   }
    if (fLTGL.cXYMM.checked)  {
       if (fLTGL.tMM.value != fLTGL.tQR.value) {
          window.alert('密码输入有误,请重新输入!');
          return(false);
       }
    }
   // return(true);
    fLTGL.action='ltgl.asp?ID=<%=Request.QueryString("ID")%>';
    fLTGL.target='fLTGL';
    fLTGL.submit();  
}


function window_onload() {
   tLTJS_onkeyup();
   tTBJ_onkeyup();
   tWBJ_onkeyup();
   if (<%=GetPart(ret,14)%> != '2') {
       fLTGL.cXYMM.checked=false;
   }
   else  {
       fLTGL.cXYMM.checked=true;
   }
   cXYMM_onclick();  
}


function tMM_onkeypress(){
     if(event.keyCode==124 | event.keyCode==39 | event.keyCode==34 | event.keyCode==32){
        event.returnValue = false;
     }
 }
    
function sTX1_onchange() {
     fLTGL.tTBJ.value = fLTGL.sTX1.value;
     tTBJ_onkeyup();
     fLTGL.sTX1.selectedIndex = 0;
}

function sTX2_onchange() {
     fLTGL.tWBJ.value = fLTGL.sTX2.value;
     tWBJ_onkeyup();
     fLTGL.sTX2.selectedIndex = 0;
}

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 + -