2006-12-02 04:36:16 +00:00
|
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
+ ----------------------------------------------------------------------------+
|
|
|
|
|
| e107 website system
|
|
|
|
|
|
|
|
|
|
|
| <EFBFBD>Steve Dunstan 2001-2002
|
|
|
|
|
| http://e107.org
|
|
|
|
|
| jalist@e107.org
|
|
|
|
|
|
|
|
|
|
|
| Released under the terms and conditions of the
|
|
|
|
|
| GNU General Public License (http://gnu.org).
|
|
|
|
|
|
|
|
|
|
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/userposts_template.php,v $
|
2007-12-06 21:36:02 +00:00
|
|
|
|
| $Revision: 1.2 $
|
|
|
|
|
| $Date: 2007-12-06 21:35:55 $
|
|
|
|
|
| $Author: e107steved $
|
2006-12-02 04:36:16 +00:00
|
|
|
|
+----------------------------------------------------------------------------+
|
|
|
|
|
*/
|
|
|
|
|
if (!defined('e107_INIT')) { exit; }
|
|
|
|
|
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
|
|
|
|
|
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_NP_TABLE))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_NP_TABLE = "<div class='nextprev'>{USERPOSTS_NEXTPREV}</div>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ##### USERPOSTS_COMMENTS TABLE -----------------------------------------------------------------
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_COMMENTS_TABLE_START))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_COMMENTS_TABLE_START = "
|
|
|
|
|
<div style='text-align:center'>
|
|
|
|
|
<table class='fborder' style='".USER_WIDTH."'>\n";
|
|
|
|
|
}
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_COMMENTS_TABLE))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_COMMENTS_TABLE = "
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='fcaption'>
|
|
|
|
|
{USERPOSTS_COMMENTS_HREF_PRE}<b>{USERPOSTS_COMMENTS_HEADING}</b></a>
|
|
|
|
|
<span class='smalltext'>{USERPOSTS_COMMENTS_DATESTAMP} ({USERPOSTS_COMMENTS_TYPE})</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>
|
|
|
|
|
{USERPOSTS_COMMENTS_COMMENT}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
";
|
|
|
|
|
}
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_COMMENTS_TABLE_END))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_COMMENTS_TABLE_END = "
|
|
|
|
|
</table>
|
|
|
|
|
</div>";
|
|
|
|
|
}
|
|
|
|
|
// ##### ------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
// ##### USERPOSTS FORUM TABLE --------------------------------------------------------------------
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_FORUM_TABLE_START))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_FORUM_TABLE_START = "
|
|
|
|
|
<div style='text-align:center'>
|
|
|
|
|
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
|
|
|
|
<table class='fborder' style='".USER_WIDTH."'>";
|
|
|
|
|
}
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_FORUM_TABLE))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_FORUM_TABLE .= "
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='fcaption'>
|
|
|
|
|
{USERPOSTS_FORUM_TOPIC_HREF_PRE}<b>{USERPOSTS_FORUM_TOPIC_PRE} {USERPOSTS_FORUM_TOPIC}</b></a>
|
|
|
|
|
<span class='smalltext'>({USERPOSTS_FORUM_NAME_HREF_PRE}<b>{USERPOSTS_FORUM_NAME}</b></a>)</span>
|
|
|
|
|
<span class='smalltext'>{USERPOSTS_FORUM_DATESTAMP}</span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader3'>
|
|
|
|
|
{USERPOSTS_FORUM_THREAD}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
";
|
|
|
|
|
}
|
2007-12-06 21:36:02 +00:00
|
|
|
|
if(!isset($USERPOSTS_FORUM_TABLE_END))
|
|
|
|
|
{
|
2006-12-02 04:36:16 +00:00
|
|
|
|
$USERPOSTS_FORUM_TABLE_END = "
|
|
|
|
|
<tr>
|
|
|
|
|
<td class='forumheader' style='text-align:right'>
|
|
|
|
|
{USERPOSTS_FORUM_SEARCH}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>";
|
|
|
|
|
}
|
|
|
|
|
// ##### ------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|