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

📄 default.ascx

📁 基于Asp.net、MS sql sever 2000、C# 汽车交易系统源码
💻 ASCX
字号:
 <%@ Control CodeBehind="default.ascx.cs" Language="c#" AutoEventWireup="false" Inherits="Market.Admin._default1" %>
<head> 

<meta http-equiv='Content-Type' content='text/html; charset=gb2312'> 
<LINK href="../company.css" type="text/css" rel="stylesheet">
<script language='JavaScript'> 
var headHeight =22;var bodyHeight =200;var objcount = 2;var step = 10;var moving = false; 
function showme(obj1, obj2) 
{ 
   if (moving) 
      return; 
   moving = true; 
   for(i=0;i<document.all.tags('td').length;i++) 
      if (document.all.tags('td')[i].className.indexOf('headtd') == 0) 
         document.all.tags('td')[i].className = 'headtd1'; 
   obj2.className = 'headtd2'; 
   moveme(obj1); 
} 
function moveme(obj) 
{ 
   idnumber = parseInt(obj.id.substr(4)); 
   objtop = headHeight * (idnumber - 1); 
   objbuttom = bodyHeight + headHeight * (idnumber - 2); 
   currenttop = parseInt(obj.style.top); 
   if (currenttop >= objbuttom) 
   { 
      countid = 1; 
      for(i=0;i<document.all.tags('div').length;i++) 
         if (document.all.tags('div')[i].id == 'item'+countid+'body') 
         { 
            obj = document.all.tags('div')[i]; 
            objtop = headHeight * (countid - 1); 
            if (countid == idnumber) 
            { 
               moveup(obj,objtop,false); 
               break; 
            } 
            else 
               moveup(obj,objtop,true); 
            countid++; 
         } 
   } 
   else if ((currenttop >= objtop) && (idnumber < objcount)) 
   { 
      idnumber++; 
      countid = objcount; 
      for(i=document.all.tags('div').length-1;i>=0;i--) 
         if (document.all.tags('div')[i].id == 'item'+countid+'body') 
         { 
            obj = document.all.tags('div')[i]; 
            objbuttom = bodyHeight + headHeight * (countid - 2); 
            if (countid == idnumber) 
            { 
               movedown(obj,objbuttom,false); 
               break; 
            } 
            else 
               movedown(obj,objbuttom,true); 
            countid--; 
         } 
   } 
} 
function moveup(obj,objtop,ismove) 
{ 
   currenttop = parseInt(obj.style.top); 
   if (currenttop > objtop) 
   { 
      obj.style.top = currenttop - step; 
      setTimeout('moveup('+obj.id+','+objtop+','+ismove+')',1) 
      return; 
   } 
   moving = ismove; 
} 
function movedown(obj,objbuttom,ismove) 
{ 
   currenttop = parseInt(obj.style.top); 
   if (currenttop < objbuttom) 
   { 
      obj.style.top = currenttop + step; 
      setTimeout('movedown('+obj.id+','+objbuttom+','+ismove+')',1) 
      return; 
   } 
   moving = ismove; 
} 
</script> 

<style type='text/css'> 
.headtd1 {  background: #00A4E1; border: 1px outset; border-color: #00BBFF #0077FF #0077FF #00BBFF; cursor: hand; font-size: 9pt}.headtd2 {  background: #20C1FF; border: 1px outset; border-color: #60D3FF #0077FF #0077FF #60D3FF; cursor: hand; font-size: 9pt}.bodytd  {  background: #99CCFF; border: 1px outset; border-color: #B0D8FF #0077FF #0077FF #B0D8FF; font-size: 9pt} 
</style> 
</head> 

<div id='mainboard' style='position:absolute; left:2px; top:2px; width:120px; height:350px; z-index:1; overflow: hidden; background: #99CCFF;'>
<div id='item1body' style='position:absolute; left:0; top:0; width:120px; height:200px; z-index:2; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item1head' height='20' class='headtd2' onclick='showme(item1body,this)' align='center'>系统信息</td></tr><tr>
<td class='bodytd' align='center'>
<a href='admin.aspx'>管理全部的普通交易信息</a>
</td></tr>
<td class='bodytd' align='center'>

<a href='admincheck.aspx'>管理审批未交易信息</a>
</td></tr>

<td class='bodytd' align='center'>
<a href='AdminFangWuInfo.aspx'>管理房屋信息</a>
</td></tr>

<td class='bodytd' align='center'>
<a href='adminsort.aspx'>管理系统分类信息</a>
</td></tr>

<td class='bodytd' align='center'>
<a href='adminUserInfo.aspx'>注册用户管理</a>
</td></tr>

<td class='bodytd' align='center'>
<a href='badwords.aspx'>污言秽语设置</a>
</td></tr>

<td class='bodytd' align='center'>
<a href='UpFileType.aspx'>上传文件类型设置</a>
</td></tr>

</table></div>
<br>
<br>

<br>

<br>

<div id='item2body' style='position:absolute; left:0; top:202; width:120px; height:200px; z-index:3; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>

<td id='item2head' height='20' class='headtd1' onclick='showme(item2body,this)' align='center'>系统设置</td></tr>
<td class='bodytd' align='center'>

<a href='Exit.aspx'>退出管理系统</a>

</td></tr>
<td class='bodytd' align='center'>

<a href='ReLogin.aspx'>重新登陆</a>
</td></tr>
<td class='bodytd' align='center'>
<a href='unlogin.aspx'>注消</a>

</td></tr>

</table></div></div></body></html>

⌨️ 快捷键说明

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