A lightweight forum engine written in PHP. Repository is now obsolete and read-only. http://www.pioder.pl/uforum.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

400 lines
18 KiB

  1. <form action="admin_script.php" method="POST">
  2. <center>
  3. <div align="center" style="width: <?= (TABLES_WIDTH+40); ?>px; background-color: #F1F3FE">
  4. <div align="center" style="width: <?= TABLES_WIDTH; ?>px;"><br>
  5. <div align="left" style="width: <?= TABLES_WIDTH; ?>px">
  6. <span class="pa_sect"><?= $skin['L.scriptoptions']; ?></span>
  7. </div>
  8. <?php include($ERROR); ?>
  9. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  10. <!-- general preferences beam -->
  11. <tr>
  12. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  13. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  14. <?= $skin['L.general_preferences']; ?>
  15. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  16. </td>
  17. </tr>
  18. </table>
  19. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  20. <!-- forum path -->
  21. <tr>
  22. <td class="fitem" align="right" width="50%" height="19">
  23. <span class="fstandard"><?= $skin['L.forum_path']; ?>:&nbsp;&nbsp;</span><br>
  24. <span class="fverysmall"><?= $skin['L.forum_path.D']; ?>&nbsp;&nbsp;</span>
  25. </td>
  26. <td class="fitem" width="50%" height="19">
  27. <input type="text" style="width: 250px" name="forum_path" value="<? echo $skin['forum_path']; ?>">
  28. </td>
  29. </tr>
  30. <!-- forum name -->
  31. <tr>
  32. <td class="fitem" align="right" width="50%" height="19">
  33. <span class="fstandard"><?= $skin['L.forum_name']; ?>:&nbsp;&nbsp;</span>
  34. </td>
  35. <td class="fitem" width="50%" height="19">
  36. <input type="text" style="width: 250px" name="forum_name" value="<?= $skin['forum_name'] ?>" maxlength="30">
  37. </td>
  38. </tr>
  39. <!-- forum description -->
  40. <tr>
  41. <td class="fitem" align="right" width="50%" height="19">
  42. <span class="fstandard"><?= $skin['L.forum_desc']; ?>:&nbsp;&nbsp;</span>
  43. </td>
  44. <td class="fitem" width="50%" height="19">
  45. <input type="text" style="width: 250px" name="forum_desc" value="<?= $skin['forum_desc'] ?>" maxlength="30">
  46. </td>
  47. </tr>
  48. <!-- forum disabled -->
  49. <tr>
  50. <td class="fitem" align="right" width="50%" height="19">
  51. <span class="fstandard"><?= $skin['L.forum_disabled']; ?>:&nbsp;&nbsp;</span><br>
  52. <span class="fverysmall"><?= $skin['L.forum_disabled.D']; ?>&nbsp;&nbsp;</span>
  53. </td>
  54. <td class="fitem" width="50%" height="19">
  55. <textarea style="width: 250px" name="forum_disabled"><?= $skin['forum_disabled']; ?></textarea>
  56. </td>
  57. </tr>
  58. <!-- default skin -->
  59. <tr>
  60. <td class="fitem" align="right" width="50%" height="19">
  61. <span class="fstandard"><?= $skin['L.default_skin']; ?>:&nbsp;&nbsp;</span>
  62. </td>
  63. <td class="fitem" width="50%" height="19">
  64. <select name="default_skin" style="width: 150px">
  65. <option value="-1"><?= $skin['L2.default_skin']; ?></option>
  66. <option value="-1"></option>
  67. <?= $skin['OPTIONS.default_skin']; ?>
  68. </select>
  69. </td>
  70. </tr>
  71. <!-- tables width -->
  72. <tr>
  73. <td class="fitem" align="right" width="50%" height="19">
  74. <span class="fstandard"><?= $skin['L.tables_width']; ?>:&nbsp;&nbsp;</span>
  75. </td>
  76. <td class="fitem" width="50%" height="19">
  77. <input type="text" maxlength="4" name="tables_width" value="<?= $skin['OPTION.tables_width']; ?>">
  78. </td>
  79. </tr>
  80. <!-- default language -->
  81. <tr>
  82. <td class="fitem" align="right" width="50%" height="19">
  83. <span class="fstandard"><?= $skin['L.default_lang']; ?>:&nbsp;&nbsp;</span>
  84. </td>
  85. <td class="fitem" width="50%" height="19">
  86. <select name="default_lang" style="width: 150px">
  87. <option value="-1"><?= $skin['L2.default_lang']; ?></option>
  88. <option value="-1"></option>
  89. <?= $skin['OPTIONS.default_lang']; ?>
  90. </select>
  91. </td>
  92. </tr>
  93. <!-- enable send email -->
  94. <tr>
  95. <td class="fitem" align="right" width="50%" height="19">
  96. <span class="fstandard"><?= $skin['L.enable_send_email']; ?>:&nbsp;&nbsp;</span>
  97. </td>
  98. <td class="fitem" width="50%" height="19">
  99. <input type="checkbox" name="enable_send_email" <?= $skin['OPTION.enable_send_email']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  100. </td>
  101. </tr>
  102. <!-- allow upload avatars -->
  103. <tr>
  104. <td class="fitem" align="right" width="50%" height="19">
  105. <span class="fstandard"><?= $skin['L.allow_upload_avatars']; ?>:&nbsp;&nbsp;</span>
  106. </td>
  107. <td class="fitem" width="50%" height="19">
  108. <input type="checkbox" name="allow_upload_avatars" <?= $skin['OPTION.allow_upload_avatars']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  109. </td>
  110. </tr>
  111. <!-- avatar max x -->
  112. <tr>
  113. <td class="fitem" align="right" width="50%" height="19">
  114. <span class="fstandard"><?= $skin['L.max_av_x']; ?>:&nbsp;&nbsp;</span>
  115. </td>
  116. <td class="fitem" width="50%" height="19">
  117. <input type="text" maxlength="4" name="max_av_x" value="<?= $skin['OPTION.max_av_x']; ?>">
  118. </td>
  119. </tr>
  120. <!-- avatar max y -->
  121. <tr>
  122. <td class="fitem" align="right" width="50%" height="19">
  123. <span class="fstandard"><?= $skin['L.max_av_y']; ?>:&nbsp;&nbsp;</span>
  124. </td>
  125. <td class="fitem" width="50%" height="19">
  126. <input type="text" maxlength="4" name="max_av_y" value="<?= $skin['OPTION.max_av_y']; ?>">
  127. </td>
  128. </tr>
  129. <!-- avatar max filesize -->
  130. <tr>
  131. <td class="fitem" align="right" width="50%" height="19">
  132. <span class="fstandard"><?= $skin['L.max_av_filesize']; ?>:&nbsp;&nbsp;</span>
  133. </td>
  134. <td class="fitem" width="50%" height="19">
  135. <input type="text" maxlength="4" name="max_av_filesize" value="<?= $skin['OPTION.max_av_filesize']; ?>">
  136. </td>
  137. </tr>
  138. <!-- max signature length -->
  139. <tr>
  140. <td class="fitem" align="right" width="50%" height="19">
  141. <span class="fstandard"><?= $skin['L.sig_len']; ?>:&nbsp;&nbsp;</span>
  142. </td>
  143. <td class="fitem" width="50%" height="19">
  144. <input type="text" maxlength="4" name="sig_len" value="<?= $skin['OPTION.sig_len']; ?>">
  145. </td>
  146. </tr>
  147. <!-- time antiflood -->
  148. <tr>
  149. <td class="fitem" align="right" width="50%" height="19">
  150. <span class="fstandard"><?= $skin['L.time_antiflood']; ?>:&nbsp;&nbsp;</span>
  151. </td>
  152. <td class="fitem" width="50%" height="19">
  153. <input type="text" maxlength="4" name="time_antiflood" value="<?= $skin['OPTION.time_antiflood']; ?>">
  154. </td>
  155. </tr>
  156. <!-- new password length -->
  157. <tr>
  158. <td class="fitem" align="right" width="50%" height="19">
  159. <span class="fstandard"><?= $skin['L.newpasswd_len']; ?>:&nbsp;&nbsp;</span>
  160. </td>
  161. <td class="fitem" width="50%" height="19">
  162. <input type="text" maxlength="1" name="newpasswd_len" value="<?= $skin['OPTION.newpasswd_len']; ?>">
  163. </td>
  164. </tr>
  165. <!-- pm inbox max messages -->
  166. <tr>
  167. <td class="fitem" align="right" width="50%" height="19">
  168. <span class="fstandard"><?= $skin['L.pm_inbox_max']; ?>:&nbsp;&nbsp;</span>
  169. </td>
  170. <td class="fitem" width="50%" height="19">
  171. <input type="text" maxlength="2" name="pm_inbox_max" value="<?= $skin['OPTION.pm_inbox_max']; ?>">
  172. </td>
  173. </tr>
  174. <!-- pm sentbox max messages -->
  175. <tr>
  176. <td class="fitem" align="right" width="50%" height="19">
  177. <span class="fstandard"><?= $skin['L.pm_sentbox_max']; ?>:&nbsp;&nbsp;</span>
  178. </td>
  179. <td class="fitem" width="50%" height="19">
  180. <input type="text" maxlength="2" name="pm_sentbox_max" value="<?= $skin['OPTION.pm_sentbox_max']; ?>">
  181. </td>
  182. </tr>
  183. </table>
  184. <span class="fverysmall">&nbsp;</span>
  185. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  186. <!-- general preferences beam -->
  187. <tr>
  188. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  189. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  190. <?= $skin['L.positioning']; ?>
  191. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  192. </td>
  193. </tr>
  194. </table>
  195. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  196. <!-- meta_keywords -->
  197. <tr>
  198. <td class="fitem" align="right" width="50%" height="19">
  199. <span class="fstandard"><?= $skin['L.meta_keywords']; ?>:&nbsp;&nbsp;</span>
  200. </td>
  201. <td class="fitem" width="50%" height="19">
  202. <input type="text" style="width: 250px" name="meta_keywords" value="<?= $skin['meta_keywords']; ?>">
  203. </td>
  204. </tr>
  205. <!-- meta_description -->
  206. <tr>
  207. <td class="fitem" align="right" width="50%" height="19">
  208. <span class="fstandard"><?= $skin['L.meta_description']; ?>:&nbsp;&nbsp;</span>
  209. </td>
  210. <td class="fitem" width="50%" height="19">
  211. <input type="text" style="width: 250px" name="meta_description" value="<?= $skin['meta_description']; ?>">
  212. </td>
  213. </tr>
  214. </table>
  215. <span class="fverysmall">&nbsp;</span>
  216. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  217. <!-- general preferences beam -->
  218. <tr>
  219. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  220. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  221. <?= $skin['L.other']; ?>
  222. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  223. </td>
  224. </tr>
  225. </table>
  226. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  227. <!-- view time generation -->
  228. <tr>
  229. <td class="fitem" align="right" width="50%" height="19">
  230. <span class="fstandard"><?= $skin['L.time_generation']; ?>:&nbsp;&nbsp;</span>
  231. </td>
  232. <td class="fitem" width="50%" height="19">
  233. <input type="checkbox" name="allow_time_generation" <?= $skin['OPTION.time_generation']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  234. </td>
  235. </tr>
  236. <!-- topics in forum -->
  237. <tr>
  238. <td class="fitem" align="right" width="50%" height="19">
  239. <span class="fstandard"><?= $skin['L.topics_in_forum']; ?>:&nbsp;&nbsp;</span>
  240. </td>
  241. <td class="fitem" width="50%" height="19">
  242. <select name="limit_ftid" style="width: 150px">
  243. <option value="-1"><?= $skin['L.select_value']; ?></option>
  244. <option value="-1"></option>
  245. <?= $skin['OPTIONS.limit_ftid']; ?>
  246. </select>
  247. </td>
  248. </tr>
  249. <!-- posts in topic -->
  250. <tr>
  251. <td class="fitem" align="right" width="50%" height="19">
  252. <span class="fstandard"><?= $skin['L.posts_in_topic']; ?>:&nbsp;&nbsp;</span>
  253. </td>
  254. <td class="fitem" width="50%" height="19">
  255. <select name="limit_tpid" style="width: 150px">
  256. <option value="-1"><?= $skin['L.select_value']; ?></option>
  257. <option value="-1"></option>
  258. <?= $skin['OPTIONS.limit_tpid']; ?>
  259. </select>
  260. </td>
  261. </tr>
  262. <!-- limit users -->
  263. <tr>
  264. <td class="fitem" align="right" width="50%" height="19">
  265. <span class="fstandard"><?= $skin['L.limit_users']; ?>:&nbsp;&nbsp;</span>
  266. </td>
  267. <td class="fitem" width="50%" height="19">
  268. <select name="limit_users" style="width: 150px">
  269. <option value="-1"><?= $skin['L.select_value']; ?></option>
  270. <option value="-1"></option>
  271. <?= $skin['OPTIONS.limit_users']; ?>
  272. </select>
  273. </td>
  274. </tr>
  275. </table>
  276. <span class="fverysmall">&nbsp;</span>
  277. <table class="maintable" style="border-width:0px" width="<?= TABLES_WIDTH; ?>">
  278. <!-- general preferences beam -->
  279. <tr>
  280. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  281. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  282. <?= $skin['L.shoutbox']; ?>
  283. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  284. </td>
  285. </tr>
  286. </table>
  287. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  288. <!-- allow shoutbox-->
  289. <tr>
  290. <td class="fitem" align="right" width="50%" height="19">
  291. <span class="fstandard"><?= $skin['L.allow_shoutbox']; ?>:&nbsp;&nbsp;</span>
  292. </td>
  293. <td class="fitem" width="50%" height="19">
  294. <input type="checkbox" name="allow_shoutbox" <?= $skin['OPTION.allow_shoutbox']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  295. </td>
  296. </tr>
  297. <!-- posts in topic -->
  298. <tr>
  299. <td class="fitem" align="right" width="50%" height="19">
  300. <span class="fstandard"><?= $skin['L.shoutbox_limit']; ?>:&nbsp;&nbsp;</span>
  301. </td>
  302. <td class="fitem" width="50%" height="19">
  303. <input type="text" maxlength="4" name="shoutbox_limit" value="<?= $skin['OPTION.shoutbox_limit']; ?>">
  304. </td>
  305. </tr>
  306. <!-- posts in topic -->
  307. <tr>
  308. <td class="fitem" align="right" width="50%" height="19">
  309. <span class="fstandard"><?= $skin['L.shoutbox_max_time']; ?>:&nbsp;&nbsp;</span>
  310. </td>
  311. <td class="fitem" width="50%" height="19">
  312. <input type="text" maxlength="10" name="shoutbox_max_time" value="<?= $skin['OPTION.shoutbox_max_time']; ?>">
  313. </td>
  314. </tr>
  315. </table>
  316. <span class="fverysmall">&nbsp;</span>
  317. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
  318. <!-- admin mod beam -->
  319. <tr>
  320. <td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
  321. <td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
  322. <?= $skin['L.admin_mod']; ?>
  323. <td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
  324. </td>
  325. </tr>
  326. </table>
  327. <table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
  328. <!-- color mod -->
  329. <tr>
  330. <td class="fitem" align="right" width="50%" height="19">
  331. <span class="fstandard"><?= $skin['L.color_mod']; ?>:&nbsp;&nbsp;</span>
  332. </td>
  333. <td class="fitem" width="50%" height="19">
  334. <input type="text" maxlength="8" name="color_mod" value="<?= $skin['OPTION.color_mod']; ?>">
  335. </td>
  336. </tr>
  337. <!-- color admin -->
  338. <tr>
  339. <td class="fitem" align="right" width="50%" height="19">
  340. <span class="fstandard"><?= $skin['L.color_admin']; ?>:&nbsp;&nbsp;</span>
  341. </td>
  342. <td class="fitem" width="50%" height="19">
  343. <input type="text" maxlength="8" name="color_admin" value="<?= $skin['OPTION.color_admin']; ?>">
  344. </td>
  345. </tr>
  346. <!-- enable warnings in topic -->
  347. <tr>
  348. <td class="fitem" align="right" width="50%" height="19">
  349. <span class="fstandard"><?= $skin['L.warnings_in_topic']; ?>:&nbsp;&nbsp;</span>
  350. </td>
  351. <td class="fitem" width="50%" height="19">
  352. <input type="checkbox" name="warnings_in_topic" <?= $skin['OPTION.warnings_in_topic']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  353. </td>
  354. </tr>
  355. <!-- allow IP for mods -->
  356. <tr>
  357. <td class="fitem" align="right" width="50%" height="19">
  358. <span class="fstandard"><?= $skin['L.allow_ip_for_mods']; ?>:&nbsp;&nbsp;</span>
  359. </td>
  360. <td class="fitem" width="50%" height="19">
  361. <input type="checkbox" name="allow_ip_for_mods" <?= $skin['OPTION.allow_ip_for_mods']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  362. </td>
  363. </tr>
  364. <!-- enable confirms -->
  365. <tr>
  366. <td class="fitem" align="right" width="50%" height="19">
  367. <span class="fstandard"><?= $skin['L.enable_confirms']; ?>:&nbsp;&nbsp;</span>
  368. </td>
  369. <td class="fitem" width="50%" height="19">
  370. <input type="checkbox" name="enable_confirms" <?= $skin['OPTION.enable_confirms']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  371. </td>
  372. </tr>
  373. <!-- enable censor list -->
  374. <tr>
  375. <td class="fitem" align="right" width="50%" height="19">
  376. <span class="fstandard"><?= $skin['L.enable_censorlist']; ?>:&nbsp;&nbsp;</span>
  377. </td>
  378. <td class="fitem" width="50%" height="19">
  379. <input type="checkbox" name="enable_censorlist" <?= $skin['OPTION.enable_censorlist']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  380. </td>
  381. </tr>
  382. <!-- enable warnings -->
  383. <tr>
  384. <td class="fitem" align="right" width="50%" height="19">
  385. <span class="fstandard"><?= $skin['L.enable_warnings']; ?>:&nbsp;&nbsp;</span>
  386. </td>
  387. <td class="fitem" width="50%" height="19">
  388. <input type="checkbox" name="enable_warnings" <?= $skin['OPTION.enable_warnings']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
  389. </td>
  390. </tr>
  391. <!-- submit / reset pool -->
  392. <tr>
  393. <tr>
  394. <td class="fitem" colspan="2" align="center" height="19">
  395. <input type="submit" name="submit" value="<?= $skin['L.submit']; ?>" class="fbutton">
  396. <input type="reset" name="reset" value="<?= $skin['L.reset']; ?>" class="fbutton">
  397. </td>
  398. </tr>
  399. </form>
  400. </table>