+ Changed generating last post and post count in forum and topic.php

+ Deleted not used template file: post_add_body.tpl
+ Replaced MCP images

git-svn-id: https://svn.pioder.pl/uf-svn/uF@21 72ec579a-5ced-4fa4-82f3-afba5d98df2f
This commit is contained in:
pioder
2009-05-03 21:00:21 +00:00
parent b1f37b6ea5
commit c2ba3eb804
70 changed files with 371 additions and 395 deletions

View File

@@ -6,11 +6,11 @@
<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')"></td>
<td height="14" width="418" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['ltopicname']; ?> </td>
<td height="14" width="110" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lauthor']; ?> </td>
<td height="14" width="58" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lposts']; ?> </td>
<td height="14" width="520" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['ltopicname']; ?> </td>
<td height="14" width="130" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lauthor']; ?> </td>
<td height="14" width="62" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lposts']; ?> </td>
<td height="14" class="beam" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['llastpost']; ?> </td>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_right.gif')"></td>
</tr>
</table>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 911 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,61 +0,0 @@
<!-- post id #<?= $skin['tp_id'];?> -->
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-width: 0px">
<tr>
<td width="17" class="beam" style="background-image: url('skins/subPurple/images/td_beam_left.gif')"></td>
<td width="100" id="p<? echo $skin['tp_id']; ?>" height="14" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"></td>
<td width="<?= (TABLES_WIDTH -244); ?>" height="14" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')">Post</td>
<td width="110" height="15" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lpinfo']; ?></td>
<td width="17" class="beam" style="background-image: url('skins/subPurple/images/td_beam_right.gif')"></td>
</tr>
<table class="maintable" width="<?= TABLES_WIDTH; ?>" style="border-top: 0px">
<tr>
<td width="116" height="1" class="fitem" align="center" rowspan="<?= $skin['rowspan']; ?>" valign="top">
<a href="user.php?id=<? echo $skin['u_id']; ?>" class="fsmall"><? echo $skin['username']; ?></a><br>
<? echo $skin['avatar']; ?><br><br><br>
</td>
<td width="<?= (TABLES_WIDTH -264); ?>" height="76" class="fitem" align="left" colspan="3" rowspan="<?= $skin['rowspan']; ?>" valign="top">
<p align="left"><span class="fstandard"><? echo $skin['posttext']; ?></span><p class="fsmall" align="left"><? echo $skin['sig']; ?></p></p>
</td>
<td width="148" height="22" class="fitem" align="center" valign="top">
<span class="fsmall">Post <? echo $skin['lno']; ?> </span>
<a href="#p<? echo $skin['tp_id']; ?>" class="fsmall"><b>#<? echo $skin['tp_id']; ?></b></a><br>
<span class="fsmall"><? echo $skin['ldate']; ?>: <b><? echo $skin['pdate']; ?></b></span><br>
<span class="fsmall"><b><?= $skin['lstat']; ?>: </b></span><img src="images/<?= $skin['online']?>" alt="online">
</td>
</tr>
<tr>
<td width="148" class="fitem" align="center" valign="top">
<a href="posting.php?mode=qpost&amp;id=<? echo $skin['p_id']; ?>&amp;t=<? echo $tid; ?>"><img border="0" src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/quote_small.gif" width="48" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/quote_small_active.gif'" 
onMouseOut="this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/quote_small.gif'" alt="quote"></a><br>
<? echo $skin['edit']; ?>
<? echo $skin['user_gg']; ?>
<a href="pms.php?mode=write&amp;id=<? echo $skin['u_id']; ?>"><img src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/pm_small.gif" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/pm_small_active.gif'" 
onMouseOut="this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/pm_small.gif'" border="0" alt="pw"></a><br>
<img src="images/user_agent/<?= $skin['ua_system']; ?>" alt="<?= $skin['ua_system_desc']; ?>" title="<?= $skin['ua_system_desc']; ?>"> <img src="images/user_agent/<?= $skin['ua_browser']; ?>" alt="<?= $skin['ua_browser_desc']; ?>" title="<?= $skin['ua_browser_desc']; ?>">
</td>
</tr>
<? if ($_SESSION['uid']>0) { if(RANK>0) {?>
<tr>
<td colspan="3" height="40" class="fitem" style="background-color: #FFFF99" align="center" valign="top">
<span class="fsmall"><b><?= $skin['admin'];?></b><br></span>
<span class="fsmall"><?= $skin['L.IP']; ?></span>
<? echo $skin['mode_p_del']; ?>
<a href="http://localhost/DSF/warns.php?mode=add&id=<?= $skin['u_id']; ?>" class="fsmall" style="color: green"><?= $skin['add_warn']; ?></a><br>
<? if (RANK==2) { ?>
<a href="admin/admin_users.php?mode=edit&amp;id=<?= $skin['u_id']; ?>" class="fsmall" style="color: red"><?= $skin['edit_profile']; ?></a><br>
<a href="admin/banlist.php?mode=add&amp;submode=all&amp;ip=<?= $skin['IP']; ?>&amp;uid=<?= $skin['u_id']; ?>" class="fsmall" style="color: red"><?= $skin['ban']; ?></a><br>
<? }?>
</td>
</tr>
<? } }?>
<tr>
<td width="116" height="1" class="fitem" align="center"><span class="fsmall"><?= $skin['warns_pool']; ?></td>
<td width="105" height="1" class="fitem" align="center"><span class="fsmall"><? echo $skin['lposts']; ?>: <b><? echo $skin['posts']; ?></b></span></td>
<td width="153" height="1" class="fitem" align="center"><span class="fsmall"><? echo $skin['lregdate']; ?>: <b><? echo $skin['regdate']; ?></b></span></td>
<td width="228" height="1" class="fitem" align="center"><span class="fsmall"><? echo $skin['llastvisit']; ?>: <b><? echo $skin['lastvisit']; ?></b></span></td>
<td width="142" height="1" class="fitem" align="center"><span class="fsmall"><? echo $skin['lrank']; ?>: <? echo $skin['userrank']; ?></span></td>
</tr>
</table>
<span class="fverysmall">&nbsp;<br></span>
<!-- end of post id #<?= $skin['tp_id'];?> -->

View File

@@ -3,9 +3,9 @@
<tr>
<td width="100" height="29" class="moderate">
<?= $skin['stick']; ?>
<a href="javascript:confirm_action('<?= $skin['c_delete_topic']; ?>','moderate.php?action=delete&amp;id=<?= $tid; ?>')"><img border="0" src="skins/subPurple/images/delete.gif" width="20" height="20" alt="delete"></a>
<a href="javascript:confirm_action('<?= $skin['c_delete_topic']; ?>','moderate.php?action=delete&amp;id=<?= $tid; ?>')"><img border="0" src="skins/subPurple/images/delete.gif" alt="delete"></a>
<?= $skin['lock']; ?>
<a href="moderate.php?action=move&amp;id=<?= $tid; ?>">
<img border="0" src="skins/subPurple/images/move.gif" width="20" height="20" alt="move">
<img border="0" src="skins/subPurple/images/move.gif" alt="move">
</a>
</td>

View File

@@ -1,10 +1,9 @@
<!-- post id #<?= $skin['tp_id'];?> -->
<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')"></td>
<td width="100" id="p<? echo $skin['tp_id']; ?>" height="14" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"></td>
<td width="<?= (TABLES_WIDTH -244); ?>" height="14" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')">Post</td>
<td width="<?= (TABLES_WIDTH -244); ?>" height="14" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><?= $skin['lpost']?></td>
<td width="110" height="15" class="beam" align="center" style="background-image: url('skins/subPurple/images/td_beam_top.gif')"><? echo $skin['lpinfo']; ?></td>
<td width="17" style="background-image: url('skins/subPurple/images/td_beam_right.gif')"></td>
</tr>
@@ -26,11 +25,11 @@
</tr>
<tr>
<td width="148" class="fitem" align="center" valign="top">
<a href="posting.php?mode=qpost&amp;id=<? echo $skin['p_id']; ?>&amp;t=<? echo $tid; ?>"><img border="0" src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/quote_small.gif" width="48" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/quote_small_active.gif'" 
<a href="posting.php?mode=qpost&amp;id=<? echo $skin['p_id']; ?>&amp;t=<? echo $tid; ?>"><img border="0" src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/quote_small.gif" width="48" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/quote_small_active.gif'"
onMouseOut="this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/quote_small.gif'" alt="quote"></a><br>
<? echo $skin['edit']; ?>
<? echo $skin['user_gg']; ?>
<a href="pms.php?mode=write&amp;id=<? echo $skin['u_id']; ?>"><img src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/pm_small.gif" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/pm_small_active.gif'" 
<a href="pms.php?mode=write&amp;id=<? echo $skin['u_id']; ?>"><img src="skins/subPurple/images/lng_<? echo $skin['lang']; ?>/pm_small.gif" onMouseOver="this.style.cursor='hand'; this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/pm_small_active.gif'"
onMouseOut="this.src='skins/<?= $default_skin; ?>/images/lng_<?= $default_lang; ?>/pm_small.gif'" border="0" alt="pw"></a><br>
<img src="images/user_agent/<?= $skin['ua_system']; ?>" alt="<?= $skin['ua_system_desc']; ?>" title="<?= $skin['ua_system_desc']; ?>"> <img src="images/user_agent/<?= $skin['ua_browser']; ?>" alt="<?= $skin['ua_browser_desc']; ?>" title="<?= $skin['ua_browser_desc']; ?>">
</td>