免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖
回復 3# sojh


    放在那里?

TOP

楼上辛苦了
欢迎来我Q群玩耍,群号159218504,群号没有错哦

TOP

本帖最後由 sojh 於 2013-8-19 21:04 編輯

今日发表帖数不知道要怎样弄Orz

1。添加论坛统计,设置,取个名,提交
2。添加会员排行,显示数据条数:1,按注册日期倒序排序,取个名,提交
3。添加自定义,当前的数据调用模板选:
模块1。
欢迎新会员:模块2。
  1. <form class="searchform" method="post" action="search.php" target="_blank">
  2. <input type="hidden" name="formhash" value="fb25ecf8" />
  3. <p class="searchkey">
  4. <input type="text" id="srchtxt" name="srchtxt" prompt="search_kw" size="20" maxlength="40" value="" class="txt" tabindex="1" />
  5. <script type="text/javascript">$('srchtxt').focus();</script>
  6. <button type="submit" name="searchsubmit" id="searchsubmit" value="true" prompt="search_submit">搜索</button>
  7. </p>
複製代碼
取个名,提交
4。到插件,首页多格,设置,
  1. B,个人资料,个人资料
  2. C,论坛资料,论坛资料
  3. C,首页多格_最新主题,最新主题
  4. C,首页多格_最新回复,最新回复
複製代碼
大概是这样。

TOP

本帖最後由 sojh 於 2013-8-20 15:47 編輯

*菜鸟制作,高手可完善
  1. 请先<a href="register.php?" class="lightlink" target="_blank">注册</a>成为会员

  2. <form id="loginform" method="post" name="login" action="logging.php?action=login&amp;loginsubmit=true">
  3.     <input type="hidden" name="formhash" value="817a9f2b">
  4.     <input type="hidden" name="cookietime" value="2592000">
  5.     <input type="hidden" name="loginfield" value="username">
  6. 用户:<input type="text" id="username" name="username" size="25" maxlength="40" tabindex="1" value="username" onclick="this.value = ''" style="height:
  7. 16px;"><br>
  8. 密码:<input type="password" id="password" name="password" size="25" tabindex="2" onkeypress="if((event.keyCode ?
  9. event.keyCode : event.charCode) == 13) $('loginform').submit()" style="height:
  10. 16px;">
  11. <br>
  12.         <select id="questionid" name="questionid" tabindex="2" onchange="if($('questionid').value &gt; 0)
  13. {$('answer').style.display='';} else
  14. {$('answer').style.display='none';}">
  15.                
  16. <option value="0">安全提问</option>
  17. <option value="1">母亲的名字</option>
  18. <option value="2">爷爷的名字</option>
  19. <option value="3">父亲出生的城市</option>
  20. <option value="4">您其中一位老师的名字</option>
  21. <option value="5">您个人计算机的型号</option>
  22. <option value="6">您最喜欢的餐馆名称</option>
  23. <option value="7">驾驶执照的最后四位数字</option>
  24. </select>
  25.         <input type="text" name="answer" id="answer" style="display: none;" autocomplete="off" class="txt" tabindex="2" value="请输入答案" onfocus="this.value=''">
  26.         <button name="userlogin" type="submit" value="true" style="height: 23px;">登录</button>
  27. </form>
  28. <script src="http://www.zzsky.cn/code/ip/ip12.asp" charset="gb2312"></script>
  29. 上次访问:<script type="text/javascript">
  30. var lastvisit=new Object()
  31. lastvisit.firstvisitmsg="这是你第一次光临本站" //Change first visit message here
  32. lastvisit.subsequentvisitmsg="[displaydate]" //Change subsequent visit message here
  33. lastvisit.getCookie=function(Name){ //get cookie value
  34. var re=new RegExp(Name+"=[^;]+", "i"); //construct RE to search for target name/value pair
  35. if (document.cookie.match(re)) //if cookie found
  36. return document.cookie.match(re)[0].split("=")[1] //return its value
  37. return ""
  38. }
  39. lastvisit.setCookie=function(name, value, days){ //set cookei value
  40. var expireDate = new Date()
  41. //set "expstring" to either future or past date, to set or delete cookie, respectively
  42. var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days))
  43. document.cookie = name+"="+value+" expires="+expireDate.toGMTString()+" path=/"
  44. }
  45. lastvisit.showmessage=function(){
  46. if (lastvisit.getCookie("visitcounter")==""){ //if first visit
  47. lastvisit.setCookie("visitcounter", 2, 730) //set "visitcounter" to 2 and for 730 days (2 years)
  48. document.write(lastvisit.firstvisitmsg)
  49. }
  50. else
  51. document.write(lastvisit.subsequentvisitmsg.replace("\[displaydate\]", new Date().toLocaleString()))
  52. }
  53. lastvisit.showmessage()
  54. </script>
  55. <br>
  56. 现在时间是:    <SCRIPT language=javascript>
  57. function CurentTime(){  
  58.     var now = new Date();  
  59.     var hh = now.getHours();  
  60.     var mm = now.getMinutes();  
  61.     var ss = now.getTime() % 60000;  
  62.     ss = (ss - (ss % 1000)) / 1000;  
  63.     var clock = hh+':';   if (mm < 10) clock += '0';   clock += mm+':';    if (ss < 10) clock += '0';   clock += ss;  return(clock);  
  64. }  
  65. function refreshCalendarClock(){  document.all.calendarClock4.innerHTML = CurentTime();  }  
  66. document.write('<font id="calendarClock4" style="color:#000000;font-family:Arial;font-size:8pt;Line-Height=100%"></font>');
  67. setInterval('refreshCalendarClock()',1000);
  68. </SCRIPT>
  69. <br>
  70. <a href="search.php?srchfrom=$newthreads&searchsubmit=yes" class="lightlink" target="_blank">新帖</a><span class="pipe">|</span><a href="填写url">精华区</a>
複製代碼

TOP

这好像是6.0论坛的诶,

TOP

返回列表