+ Replaced name function from array_push_associative to array_push_assoc

+ Rewrited posting.php

git-svn-id: https://svn.pioder.pl/uf-svn/uF@32 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
pioder
2009-06-01 18:46:17 +00:00
parent 7669786f46
commit 93e5cae6f0
20 changed files with 238 additions and 308 deletions

View File

@@ -1,49 +0,0 @@
<?php include $msg; ?>
<form method="POST" action="posting.php?mode=ntopic&amp;f=<?php echo $skin['f_id']; ?>" name="form_dsf">
<table border="1" class="maintable" width="<?= TABLES_WIDTH; ?>">
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<tr>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_left.gif')" class="beam"></td>
<td height="14" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><?php echo $skin['lwritetopic']; ?></td>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_right.gif')" class="beam"></td>
</tr>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<tr>
<td class="fitem">
<p align="right"><span class="fsmall"><b><?php echo $skin['ltopicname']; ?>:&nbsp;</b></span>
</td>
<td class="fitem">
<input type="text" name="ntopic" style="width:400px" value="<?php echo $_POST['ntopic']; ?>">
</td>
</tr>
</table>
<span class="fverysmall">&nbsp;</span>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<tr>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_left.gif')" class="beam"></td>
<td height="14" width="116" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><?php echo $skin['lsmiles']; ?></td>
<td class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')">Post</td>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_right.gif')" class="beam"></td>
</tr>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<tr>
<td width="116" height="115" class="fitem" align="center" valign="top"><br> <? echo $skin['smiles']; ?> </td>
<td width="48%" height="116" class="fitem" align="center" valign="top">
<p align="left"><span class="fstandard"><b><?php echo $skin['lmsg']; ?>:</b></span><br>
<textarea name="textedit" id="textedit" rows="10" cols="56"><?php echo $_POST['textedit']; ?></textarea><br>
<script language="JavaScript" type="text/javascript">
make_wyzz('textedit');
</script>
<? if (RANK>0) { ?>
<input type="checkbox" name="topic_sticky"><span class="fstandard"><b><?php echo $skin['lsticky_topic']; ?></b></span>
<? } ?>
</td>
</tr>
<tr>
<td colspan="2" height="19" class="fitem" align="center">
<input type="submit" class="fbutton" value="<?php echo $skin['lsave']; ?>" />&nbsp;
<input type="submit" class="fbutton" value="<?php echo $skin['lreset']; ?>" />
</td>
</tr>
</table>
</form>

View File

@@ -1,5 +1,5 @@
<?php include $msg; ?>
<form method="POST" action="<? echo $skin['action']; ?>" name="form_dsf">
<form method="POST" action="<? echo $_SERVER['REQUEST_URI']; ?>" name="form_dsf">
<? if ($_GET['mode']=='ntopic') { ?>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<tr>