- 積分
- 57
- 威望
- 57
- 金錢
- 51
- 最後登錄
- 2015-3-4
|
到: 系統設置>全局>站點信息>網站第三方統計代碼:- <script>function aDate(date){var year=date.getFullYear().toString().substring(2,4);var month = (date.getMonth() + 1)<10? "0" + (date.getMonth() + 1):(date.getMonth() + 1); var day = date.getDate()<10? "0" + date.getDate(): date.getDate();return year+ month + day; }var sub= document.getElementById("subject"),date=new Date();if(document.getElementById("returnmessage")!=null&&document.getElementById("returnmessage").innerHTML.indexOf("發新話題")!=-1){if(sub&&sub.value==""){sub.value="[" + aDate(date) + "]";}}
- </script>
複製代碼 |
|