user_common.asp

来自「Computer SHOP+DATABASE」· ASP 代码 · 共 63 行

ASP
63
字号
<!--#include file="../conn.asp"-->
<%Session.CodePage=65001%>
<%Response.Buffer=true%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="include/dth.css">
<%
function today_(){
var now = new Date();
var day = now.getDate();
var month = now.getMonth()+ 1;
var year = now.getFullYear();
		day = '' + day;
			if (day.length == 1)
				{day = '0' + day;}
		month = '' + month;
			if (month.length == 1)
				{month = '0' + month;}
		 now = "Ng脿y " + day + " Th谩ng " + month + " N膬m " + year;
	return now;
}

/*--------------------------------------------------------------------------*/
%>

<%
	var strSQL = "Select Count(CID) As TotalCust From vwCust";
	rsCount = oConn.Execute(strSQL);
%>
<script>
var Message="Ch脿o m峄玭g qu媒 kh谩ch gh茅 th膬m Website DTH Computer!!!";
var place=1;
function scrollIn() 
{
	window.status=Message.substring(0, place);
	if (place >= Message.length) 
	{
		place=1;
		window.setTimeout("scrollOut()",1000);
	} else 
	  {
		place++;
		window.setTimeout("scrollIn()",50);
   	  }
}
function scrollOut() {
	window.status=Message.substring(place, Message.length);
	if (place >= Message.length) 
	{
		place=1;
		window.setTimeout("scrollIn()", 200);
	} else 
	  {
		place++;
		window.setTimeout("scrollOut()", 100);
      }
}
scrollIn();

function checkSearch(obj)
{
	if(obj.keyword.value=="")
	{
		alert("B岷

⌨️ 快捷键说明

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