 
- 積分
- 1459
- 威望
- 1459
- 金錢
- 399
- 最後登錄
- 2021-5-11
  
|
本帖最後由 sojh 於 2013-8-20 15:47 編輯
*菜鸟制作,高手可完善 - 请先<a href="register.php?" class="lightlink" target="_blank">注册</a>成为会员
- <form id="loginform" method="post" name="login" action="logging.php?action=login&loginsubmit=true">
- <input type="hidden" name="formhash" value="817a9f2b">
- <input type="hidden" name="cookietime" value="2592000">
- <input type="hidden" name="loginfield" value="username">
- 用户:<input type="text" id="username" name="username" size="25" maxlength="40" tabindex="1" value="username" onclick="this.value = ''" style="height:
- 16px;"><br>
- 密码:<input type="password" id="password" name="password" size="25" tabindex="2" onkeypress="if((event.keyCode ?
- event.keyCode : event.charCode) == 13) $('loginform').submit()" style="height:
- 16px;">
- <br>
- <select id="questionid" name="questionid" tabindex="2" onchange="if($('questionid').value > 0)
- {$('answer').style.display='';} else
- {$('answer').style.display='none';}">
-
- <option value="0">安全提问</option>
- <option value="1">母亲的名字</option>
- <option value="2">爷爷的名字</option>
- <option value="3">父亲出生的城市</option>
- <option value="4">您其中一位老师的名字</option>
- <option value="5">您个人计算机的型号</option>
- <option value="6">您最喜欢的餐馆名称</option>
- <option value="7">驾驶执照的最后四位数字</option>
- </select>
- <input type="text" name="answer" id="answer" style="display: none;" autocomplete="off" class="txt" tabindex="2" value="请输入答案" onfocus="this.value=''">
- <button name="userlogin" type="submit" value="true" style="height: 23px;">登录</button>
- </form>
- <script src="http://www.zzsky.cn/code/ip/ip12.asp" charset="gb2312"></script>
- 上次访问:<script type="text/javascript">
- var lastvisit=new Object()
- lastvisit.firstvisitmsg="这是你第一次光临本站" //Change first visit message here
- lastvisit.subsequentvisitmsg="[displaydate]" //Change subsequent visit message here
- lastvisit.getCookie=function(Name){ //get cookie value
- var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
- if (document.cookie.match(re)) //if cookie found
- return document.cookie.match(re)[0].split("=")[1] //return its value
- return ""
- }
- lastvisit.setCookie=function(name, value, days){ //set cookei value
- var expireDate = new Date()
- //set "expstring" to either future or past date, to set or delete cookie, respectively
- var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days))
- document.cookie = name+"="+value+" expires="+expireDate.toGMTString()+" path=/"
- }
- lastvisit.showmessage=function(){
- if (lastvisit.getCookie("visitcounter")==""){ //if first visit
- lastvisit.setCookie("visitcounter", 2, 730) //set "visitcounter" to 2 and for 730 days (2 years)
- document.write(lastvisit.firstvisitmsg)
- }
- else
- document.write(lastvisit.subsequentvisitmsg.replace("\[displaydate\]", new Date().toLocaleString()))
- }
- lastvisit.showmessage()
- </script>
- <br>
- 现在时间是: <SCRIPT language=javascript>
- function CurentTime(){
- var now = new Date();
- var hh = now.getHours();
- var mm = now.getMinutes();
- var ss = now.getTime() % 60000;
- ss = (ss - (ss % 1000)) / 1000;
- var clock = hh+':'; if (mm < 10) clock += '0'; clock += mm+':'; if (ss < 10) clock += '0'; clock += ss; return(clock);
- }
- function refreshCalendarClock(){ document.all.calendarClock4.innerHTML = CurentTime(); }
- document.write('<font id="calendarClock4" style="color:#000000;font-family:Arial;font-size:8pt;Line-Height=100%"></font>');
- setInterval('refreshCalendarClock()',1000);
- </SCRIPT>
- <br>
- <a href="search.php?srchfrom=$newthreads&searchsubmit=yes" class="lightlink" target="_blank">新帖</a><span class="pipe">|</span><a href="填写url">精华区</a>
複製代碼 |
|