PageRenderTime 23ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/freestyle riaf PTE/fstyle.tpl

http://rtoss.googlecode.com/
Smarty Template | 217 lines | 209 code | 8 blank | 0 comment | 34 complexity | 5c3f35d012d102e46d9e3dc142f79aa2 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1, GPL-3.0, LGPL-3.0, GPL-2.0
  1. <!--&MAIN-->
  2. <html>
  3. <head>
  4. <title>{$tit}</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <META HTTP-EQUIV="pragma" CONTENT="no-cache">
  7. <link rel="alternate" type="application/rss+xml" title="RSS" href="backend.php">
  8. </head>
  9. <head><script language="JavaScript"><!--
  10. function l(e){var N=loadCookie("NAME"),M=loadCookie("MAIL"),P=loadCookie("PASS"),i;with(document)for(i=0;i<forms.length;i++)if(forms[i].nick&&forms[i].mail)with(forms[i]){nick.value=N;mail.value=M; forms[i].delk?delk.value=P:P=P;} li();}onload=l;
  11. /* Function Equivalent to URLDecoder.decode(String, "UTF-8")
  12. Copyright (C) 2002 Cresc Corp. http://www.cresc.co.jp/
  13. Version: 1.0
  14. */
  15. function decodeURL(str){
  16. var s0, i, j, s, ss, u, n, f;
  17. s0 = "";
  18. for (i = 0; i < str.length; i++){
  19. s = str.charAt(i);
  20. if (s == "+"){s0 += " ";}
  21. else {
  22. if (s != "%"){s0 += s;}
  23. else{
  24. u = 0;
  25. f = 1;
  26. while (true) {
  27. ss = "";
  28. for (j = 0; j < 2; j++ ) {
  29. sss = str.charAt(++i);
  30. if (((sss >= "0") && (sss <= "9")) || ((sss >= "a") && (sss <= "f")) || ((sss >= "A") && (sss <= "F"))) {
  31. ss += sss;
  32. } else {--i; break;}
  33. }
  34. n = parseInt(ss, 16);
  35. if (n <= 0x7f){u = n; f = 1;}
  36. if ((n >= 0xc0) && (n <= 0xdf)){u = n & 0x1f; f = 2;}
  37. if ((n >= 0xe0) && (n <= 0xef)){u = n & 0x0f; f = 3;}
  38. if ((n >= 0xf0) && (n <= 0xf7)){u = n & 0x07; f = 4;}
  39. if ((n >= 0x80) && (n <= 0xbf)){u = (u << 6) + (n & 0x3f); --f;}
  40. if (f <= 1){break;}
  41. if (str.charAt(i + 1) == "%"){ i++ ;}
  42. else {break;}
  43. }
  44. s0 += String.fromCharCode(u);
  45. }
  46. }
  47. }
  48. return s0;
  49. }
  50. /* Function to get cookie parameter value string with specified name
  51. Copyright (C) 2002 Cresc Corp. http://www.cresc.co.jp/
  52. Version: 1.0
  53. */
  54. function loadCookie(name) {
  55. var allcookies = document.cookie;
  56. if (allcookies == "") return "";
  57. var start = allcookies.indexOf(name + "=");
  58. if (start == -1) return "";
  59. start += name.length + 1;
  60. var end = allcookies.indexOf(';',start);
  61. if (end == -1) end = allcookies.length;
  62. return decodeURL(allcookies.substring(start,end));
  63. }
  64. function li(e){var ui=loadCookie("interface");if(ui=="2ch") location.href="{$NIch_index}?";else w("fstyle");}
  65. function w(i){setCookie("interface",i);};function setCookie(name,value){var exp=new Date();exp.setTime(exp.getTime()+(1000*60*60*24*7));document.cookie = name+"="+escape(value)+"; expires="+exp.toGMTString(); }
  66. //--></script>
  67. <style type="text/css">
  68. <!--
  69. BODY,TD,SELECT,input,DIV,form,TEXTAREA,center,option,pre,blockquote {
  70. font-size:10pt; font-family:"?? ?????", "Osaka"; color:002a45}
  71. A:link {color:#0000C0;text-decoration:none;}
  72. A:visited {color:#8000D0;text-decoration:none;}
  73. A:active {color:blue;text-decoration:none;}
  74. A:hover {color:#000080;background-color:#fafad2;}
  75. .input {border:solid 1;background-color:white;}
  76. .submit {border:solid 1 #122173;font-family:Tahoma,Osaka,Verdana;font-size:8pt;color:white;background-color:7281C3; height=18px}
  77. -->
  78. </style>
  79. </head>
  80. <body bgcolor="#ffffff">
  81. <center>
  82. <table border="1" bordercolor="3582c1" cellpadding="0" cellspacing="0" width="90%">
  83. <tbody>
  84. <tr>
  85. <td bgcolor="3582c1"><a name="top"></a>
  86. <table border="0" cellpadding="3" cellspacing="0" width="100%">
  87. <tbody>
  88. <tr>
  89. <td bgcolor="CEDEEF" height="25">&nbsp;</td>
  90. </tr>
  91. <tr>
  92. <td bgcolor="EFF5FF">
  93. <font color="#004080" size="+2">{$tit}</font><blockquote><font color="green">{$rmes}<br>{$tmes}</font></blockquote>
  94. <form method="post" action="./bbs.php"><font size="-1">??&nbsp; <input type="text" name="nick" size="20" class="input" value="">? ??? <input type="text" name="mail" size="30" class="input" value=""><br>
  95. ??&nbsp; <input type="text" name="subject" class="input" maxlength="80" size="50"> <input type="submit" value="????"> <b><a href="?">????</a> </b><br>
  96. ??&nbsp; <textarea name="content" rows="5" class="input" cols="70"></textarea></font>
  97. <span style="display:none;"> URL??????<input type="text" value="" name="url" size="19" class="input"></span>
  98. </form>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td bgcolor="CEDEEF" height="25" align="right"><a href="{$NIch_index}?" onclick="w('2ch');">2ch???????</a> | <a href="search.php">??</a> | <a href="help.html" target="_blank">??????????</a> | <a href="./i/">??</a> | <a href="admin.php">??</a>&nbsp;</td>
  103. </tr>
  104. </tbody>
  105. </table>
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. <br>
  111. <form></form>
  112. <table cellpadding="10" cellspacing="0" bgcolor="#EFF5FD" width="90%" border="1" bordercolor="3582c1">
  113. <tbody>
  114. <tr>
  115. <td><font size="2"><a name="headline"></a>
  116. <table border="0" cellpadding="1" cellspacing="0" align="center" valign="top" width="99%">
  117. <tbody>
  118. <tr>
  119. <!--&FOREACH($head,'HEAD')-->
  120. <!--&FOREACH($over,'HEADOVER')-->
  121. </tr>
  122. </tbody>
  123. </table>
  124. <small><a href="subback.php">??????????</a></small> </font></td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. <br>
  129. <!--&FOREACH($oya,'THREAD')-->
  130. <hr>
  131. <div align="right"><a href="http://php.s3.to" target="_blank">freeStyle bbs by???PHP!</a> + <a href="http://riaf.org/f_style/">riaf web</a> + PTE</div>
  132. </center>
  133. </body>
  134. </html>
  135. <!--/&MAIN-->
  136. <!--&HEAD-->
  137. <td align="left" width="33%"><a href="./read.php/{$key}/l{$read_def}"><b>{$no}</b></a> :<a href="#{$no}">{$title}</a></td>
  138. <!--&IF($tr,'</tr><tr>','')-->
  139. <!--/&HEAD-->
  140. <!--&HEADOVER-->
  141. <td align="left" width="33%"><a href="./read.php/{$key}/l{$read_def}"><b>{$no}</b> :{$title}</a></td>
  142. <!--&IF($tr,'</tr><tr>','')-->
  143. <!--/&HEADOVER-->
  144. <!--&THREAD-->
  145. <table border="1" bordercolor="3582c1" cellpadding="0" cellspacing="0" width="90%">
  146. <tbody>
  147. <tr>
  148. <td bgcolor="3582c1">
  149. <table border="0" cellpadding="1" cellspacing="0" width="100%">
  150. <tbody>
  151. <tr bgcolor="94B4DA">
  152. <td height="23"><a name="{$no}"></a><b>#{$no} </b>{$fdate}&nbsp;[ <!--&IF($fmaillink,'<a href="mailto:{$femail}">{$fname}</a>','{$fname}')--> ] {$fhost}</td>
  153. <td align="right">Res {$resnum} <a href="#top">?</a><a href="#{$next}">?</a><a href="#{$prev}">?</a></td>
  154. </tr>
  155. <tr bgcolor="CEDFEF">
  156. <td height="32" colspan="2">&nbsp;1:<font color="335588" size="3"><b> {$fsub}</b></font></td>
  157. </tr>
  158. <tr bgcolor="F3F9FF">
  159. <td colspan="2"><br>
  160. <blockquote>{$fcom}</blockquote>
  161. <br>
  162. <!--&IF($skip,'<center><font color="indigo">??? {$skip} ???????????????<a href="read.php/{$key}/" target="_blank"><u>??</u></a>??????)</font></center>','')-->
  163. <table border="0" cellspacing="2" cellpadding="0" width="100%">
  164. <tbody>
  165. <!--&FOREACH($res,'RES')-->
  166. </tbody>
  167. </table>
  168. <br>
  169. </td>
  170. </tr>
  171. <!--&IF($stopped,'','<!--&RESFORM/-->')-->
  172. <tr height="30" bgcolor="#94B4DA">
  173. <td align="right" colspan="2"><font size="-1"><b><a href="./read.php/{$key}/">???</a> <a href="./read.php/{$key}/l{$read_def}">????{$read_def}</a> <a href="./read.php/{$key}/1-100">??1-100</a> <a href="#top">Top</a> <a href="./usr_del.php/{$key}/">ResDelete</a> <a href="?">Reload</a></b></font></td>
  174. </tr>
  175. </tbody>
  176. </table>
  177. </td>
  178. </tr>
  179. </tbody>
  180. </table>
  181. <br>
  182. <!--/&THREAD-->
  183. <!--&RESSHOW-->
  184. <tr>
  185. <td height="1" colspan="3">
  186. <hr size="1">
  187. </td>
  188. </tr>
  189. <tr valign="top">
  190. <td width="140" nowrap>{$no}: <font color="navy"><b><!--&IF($maillink,'<a href="mailto:{$email}">{$name}</a>','{$name}')--></font></b><br>
  191. <br>
  192. <small>{$now}<br>
  193. {$host}</small></td>
  194. <td>{$com} <!--&IF($over,'<font color="indigo">???????????????<a href="read.php/{$key}/{$no}-{$no}n" target="_blank"><u>??</u></a>??????)</font>','')--></td>
  195. <td></td>
  196. </tr>
  197. <!--/&RESSHOW-->
  198. <!--&RES-->
  199. <!--&IF($show,'<!--&RESSHOW/-->','')-->
  200. <!--/&RES-->
  201. <!--&RESFORM-->
  202. <form method="post" action="./bbs.php"><input type="hidden" name="key" value="{$key}">
  203. <tr>
  204. <td bgcolor="C0D5EB" colspan="2">&nbsp; <b>Name</b> <input type="text" value="" name="nick" size="20" maxlength="40" class="input"> <b>E-Mail</b> <input type="text" value="" name="mail" size="15" class="input"> <br>
  205. &nbsp;&nbsp;<textarea name="content" cols="75" rows="3" class="input" wrap="soft"></textarea> <br>
  206. &nbsp;&nbsp;<b>Password</b> <input type="password" value="" name="delk" size="15" class="input"><span style="display:none;"> URL??????<input type="text" value="" name="url" size="19" class="input"></span> <input type="submit" value=" Write " class="submit"></td>
  207. </tr>
  208. </form>
  209. <!--/&RESFORM-->