1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00
php-e107/e107_themes/templates/userposts_template.php
2006-12-02 04:36:16 +00:00

91 lines
2.6 KiB
PHP

<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| ©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 $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:36:13 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
if(!isset($USERPOSTS_NP_TABLE)){
$USERPOSTS_NP_TABLE = "<div class='nextprev'>{USERPOSTS_NEXTPREV}</div>";
}
// ##### USERPOSTS_COMMENTS TABLE -----------------------------------------------------------------
if(!$USERPOSTS_COMMENTS_TABLE_START){
$USERPOSTS_COMMENTS_TABLE_START = "
<div style='text-align:center'>
<table class='fborder' style='".USER_WIDTH."'>\n";
}
if(!$USERPOSTS_COMMENTS_TABLE){
$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}&nbsp;
</td>
</tr>
";
}
if(!$USERPOSTS_COMMENTS_TABLE_END){
$USERPOSTS_COMMENTS_TABLE_END = "
</table>
</div>";
}
// ##### ------------------------------------------------------------------------------------------
// ##### USERPOSTS FORUM TABLE --------------------------------------------------------------------
if(!$USERPOSTS_FORUM_TABLE_START){
$USERPOSTS_FORUM_TABLE_START = "
<div style='text-align:center'>
<form method='post' action='".e_SELF."?".e_QUERY."'>
<table class='fborder' style='".USER_WIDTH."'>";
}
if(!$USERPOSTS_FORUM_TABLE){
$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>
";
}
if(!$USERPOSTS_FORUM_TABLE_END){
$USERPOSTS_FORUM_TABLE_END = "
<tr>
<td class='forumheader' style='text-align:right'>
{USERPOSTS_FORUM_SEARCH}
</td>
</tr>
</table>
</form>
</div>";
}
// ##### ------------------------------------------------------------------------------------------
?>