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.

30 lines
996 B

  1. <script type="text/javascript" language="JavaScript">
  2. function confirm_action(c_name, url)
  3. {
  4. <? if($forum_config['enable_confirms']) {?>if (confirm(c_name))
  5. {
  6. document.location = url;
  7. }
  8. <? } else { ?> document.location = url; <? } echo "\n"; ?>
  9. }
  10. function set_color(element)
  11. {
  12. element.style.backgroundColor='#F1F3FE';
  13. }
  14. function unset_color(element)
  15. {
  16. element.style.backgroundColor='';
  17. }
  18. </script>
  19. <center>
  20. <div align="center" style="width: <?= (TABLES_WIDTH+40); ?>px; background-color: #F1F3FE">
  21. <div align="center" style="width: <?= TABLES_WIDTH; ?>px;">
  22. <br>
  23. <div align="left" style="width: <?= TABLES_WIDTH; ?>px">
  24. <span class="pa_sect"><?= $skin['forums&cats']; ?></span>
  25. <form action="admin_forums.php?mode=new&amp;submode=forum" method="POST">
  26. <input type="text" name="forum_name" maxlength="25" value="<?= $skin['here_write_name_forum']; ?>">&nbsp;
  27. <input type="submit" class="fbutton" value="<?= $skin['new_forum_submit']; ?>">
  28. </form>
  29. </div>