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

<form action="admin_script.php" method="POST">
<center>
<div align="center" style="width: <?= (TABLES_WIDTH+40); ?>px; background-color: #F1F3FE">
<div align="center" style="width: <?= TABLES_WIDTH; ?>px;"><br>
<div align="left" style="width: <?= TABLES_WIDTH; ?>px">
<span class="pa_sect"><?= $skin['L.scriptoptions']; ?></span>
</div>
<?php include($ERROR); ?>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<!-- general preferences beam -->
<tr>
<td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
<td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
<?= $skin['L.general_preferences']; ?>
<td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
</td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<!-- forum path -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.forum_path']; ?>:&nbsp;&nbsp;</span><br>
<span class="fverysmall"><?= $skin['L.forum_path.D']; ?>&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" style="width: 250px" name="forum_path" value="<? echo $skin['forum_path']; ?>">
</td>
</tr>
<!-- forum name -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.forum_name']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" style="width: 250px" name="forum_name" value="<?= $skin['forum_name'] ?>" maxlength="30">
</td>
</tr>
<!-- forum description -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.forum_desc']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" style="width: 250px" name="forum_desc" value="<?= $skin['forum_desc'] ?>" maxlength="30">
</td>
</tr>
<!-- forum disabled -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.forum_disabled']; ?>:&nbsp;&nbsp;</span><br>
<span class="fverysmall"><?= $skin['L.forum_disabled.D']; ?>&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<textarea style="width: 250px" name="forum_disabled"><?= $skin['forum_disabled']; ?></textarea>
</td>
</tr>
<!-- default skin -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.default_skin']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<select name="default_skin" style="width: 150px">
<option value="-1"><?= $skin['L2.default_skin']; ?></option>
<option value="-1"></option>
<?= $skin['OPTIONS.default_skin']; ?>
</select>
</td>
</tr>
<!-- tables width -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.tables_width']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="tables_width" value="<?= $skin['OPTION.tables_width']; ?>">
</td>
</tr>
<!-- default language -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.default_lang']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<select name="default_lang" style="width: 150px">
<option value="-1"><?= $skin['L2.default_lang']; ?></option>
<option value="-1"></option>
<?= $skin['OPTIONS.default_lang']; ?>
</select>
</td>
</tr>
<!-- enable send email -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.enable_send_email']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="enable_send_email" <?= $skin['OPTION.enable_send_email']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- allow upload avatars -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.allow_upload_avatars']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="allow_upload_avatars" <?= $skin['OPTION.allow_upload_avatars']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- avatar max x -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.max_av_x']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="max_av_x" value="<?= $skin['OPTION.max_av_x']; ?>">
</td>
</tr>
<!-- avatar max y -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.max_av_y']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="max_av_y" value="<?= $skin['OPTION.max_av_y']; ?>">
</td>
</tr>
<!-- avatar max filesize -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.max_av_filesize']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="max_av_filesize" value="<?= $skin['OPTION.max_av_filesize']; ?>">
</td>
</tr>
<!-- max signature length -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.sig_len']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="sig_len" value="<?= $skin['OPTION.sig_len']; ?>">
</td>
</tr>
<!-- time antiflood -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.time_antiflood']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="time_antiflood" value="<?= $skin['OPTION.time_antiflood']; ?>">
</td>
</tr>
<!-- new password length -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.newpasswd_len']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="1" name="newpasswd_len" value="<?= $skin['OPTION.newpasswd_len']; ?>">
</td>
</tr>
<!-- pm inbox max messages -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.pm_inbox_max']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="2" name="pm_inbox_max" value="<?= $skin['OPTION.pm_inbox_max']; ?>">
</td>
</tr>
<!-- pm sentbox max messages -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.pm_sentbox_max']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="2" name="pm_sentbox_max" value="<?= $skin['OPTION.pm_sentbox_max']; ?>">
</td>
</tr>
</table>
<span class="fverysmall">&nbsp;</span>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<!-- general preferences beam -->
<tr>
<td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
<td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
<?= $skin['L.positioning']; ?>
<td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
</td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<!-- meta_keywords -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.meta_keywords']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" style="width: 250px" name="meta_keywords" value="<?= $skin['meta_keywords']; ?>">
</td>
</tr>
<!-- meta_description -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.meta_description']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" style="width: 250px" name="meta_description" value="<?= $skin['meta_description']; ?>">
</td>
</tr>
</table>
<span class="fverysmall">&nbsp;</span>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<!-- general preferences beam -->
<tr>
<td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
<td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
<?= $skin['L.other']; ?>
<td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
</td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<!-- view time generation -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.time_generation']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="allow_time_generation" <?= $skin['OPTION.time_generation']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- topics in forum -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.topics_in_forum']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<select name="limit_ftid" style="width: 150px">
<option value="-1"><?= $skin['L.select_value']; ?></option>
<option value="-1"></option>
<?= $skin['OPTIONS.limit_ftid']; ?>
</select>
</td>
</tr>
<!-- posts in topic -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.posts_in_topic']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<select name="limit_tpid" style="width: 150px">
<option value="-1"><?= $skin['L.select_value']; ?></option>
<option value="-1"></option>
<?= $skin['OPTIONS.limit_tpid']; ?>
</select>
</td>
</tr>
<!-- limit users -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.limit_users']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<select name="limit_users" style="width: 150px">
<option value="-1"><?= $skin['L.select_value']; ?></option>
<option value="-1"></option>
<?= $skin['OPTIONS.limit_users']; ?>
</select>
</td>
</tr>
</table>
<span class="fverysmall">&nbsp;</span>
<table class="maintable" style="border-width:0px" width="<?= TABLES_WIDTH; ?>">
<!-- general preferences beam -->
<tr>
<td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
<td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
<?= $skin['L.shoutbox']; ?>
<td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
</td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<!-- allow shoutbox-->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.allow_shoutbox']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="allow_shoutbox" <?= $skin['OPTION.allow_shoutbox']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- posts in topic -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.shoutbox_limit']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="4" name="shoutbox_limit" value="<?= $skin['OPTION.shoutbox_limit']; ?>">
</td>
</tr>
<!-- posts in topic -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.shoutbox_max_time']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="10" name="shoutbox_max_time" value="<?= $skin['OPTION.shoutbox_max_time']; ?>">
</td>
</tr>
</table>
<span class="fverysmall">&nbsp;</span>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<!-- admin mod beam -->
<tr>
<td width="17" style="background-image: url('template/images/td_beam_left.gif')"></td>
<td class="beam" align="center" colspan="2" style="background-image: url('template/images/td_beam_top.gif')">
<?= $skin['L.admin_mod']; ?>
<td width="17" style="background-image: url('template/images/td_beam_right.gif')"></td>
</td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<!-- color mod -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.color_mod']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="8" name="color_mod" value="<?= $skin['OPTION.color_mod']; ?>">
</td>
</tr>
<!-- color admin -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.color_admin']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="text" maxlength="8" name="color_admin" value="<?= $skin['OPTION.color_admin']; ?>">
</td>
</tr>
<!-- enable warnings in topic -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.warnings_in_topic']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="warnings_in_topic" <?= $skin['OPTION.warnings_in_topic']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- allow IP for mods -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.allow_ip_for_mods']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<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>
</td>
</tr>
<!-- enable confirms -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.enable_confirms']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="enable_confirms" <?= $skin['OPTION.enable_confirms']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- enable censor list -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.enable_censorlist']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="enable_censorlist" <?= $skin['OPTION.enable_censorlist']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- enable warnings -->
<tr>
<td class="fitem" align="right" width="50%" height="19">
<span class="fstandard"><?= $skin['L.enable_warnings']; ?>:&nbsp;&nbsp;</span>
</td>
<td class="fitem" width="50%" height="19">
<input type="checkbox" name="enable_warnings" <?= $skin['OPTION.enable_warnings']; ?> value="1"><span class="fstandard"><b><?= $skin['L.allow']; ?></b></span>
</td>
</tr>
<!-- submit / reset pool -->
<tr>
<tr>
<td class="fitem" colspan="2" align="center" height="19">
<input type="submit" name="submit" value="<?= $skin['L.submit']; ?>" class="fbutton">
<input type="reset" name="reset" value="<?= $skin['L.reset']; ?>" class="fbutton">
</td>
</tr>
</form>
</table>