Verfasst: 21.10.2004 21:33
Also diesen recent_more nutze ich noch in einer ziehmlich alten Version (1.0.3) und die von dir gewünschten Kriterien werden eigentlich alle erfüllt (ausser das er 25 Titel anzeigt und nicht nur 10).
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
<table width="100%" border="1">
<tr>
<td width="7%"> </td>
<td width="35%"> </td>
<td width="58%"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
ach das soll heißen du hast das grafisch gemachtmgutt hat geschrieben:![]()
aber das war doch nur geshoppt.
ich hätte es gerne so
Code: Alles auswählen
#
#-----[ ÖFFNEN ]------------------------------------------
#
# z.B. templates/xxx/index_body.tpl
#
#-----[ EINFÜGEN (dort wo die letzten Themen angezeigt werden sollen) ]------------------------
#
<table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<th colspan="5">{L_RECENT_TITLE}</th>
</tr>
<!-- BEGIN recent -->
<tr>
<td class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td>
<td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span>
<span class="gensmall">{recent.GOTO_PAGE}<br />{recent.FIRST_TIME}{recent.FIRST_AUTHOR}<br /></span></td>
<td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails"> {recent.L_REPLIES}: {recent.REPLIES}
<br /> {recent.L_VIEWS}: {recent.VIEWS}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"> <span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"><span class="postbody">{recent.POST_TEXT}</span><br />
<span class="gensmall"> {recent.LAST_URL} {recent.LAST_TIME} {recent.LAST_AUTHOR}</span></td>
</tr>
<!-- END recent -->
</table>
Code: Alles auswählen
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
Code: Alles auswählen
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td width="50%"><table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr><td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td></tr>
<tr><td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td><td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></td> </tr>
<tr><td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td></tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr><td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td></tr>
</table>
</td>
<td width="50%"><table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline">
<tr><th colspan="5">{L_RECENT_TITLE}</th></tr>
<!-- BEGIN recent -->
<tr><td class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td> <td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span><span class="gensmall">{recent.GOTO_PAGE}</span></td>
<td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails"> {recent.L_REPLIES}: {recent.REPLIES}<br /> {recent.L_VIEWS}: {recent.VIEWS}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"> <span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"><span class="postbody">{recent.POST_TEXT}</span><br /><span class="gensmall"> {recent.LAST_URL}{recent.LAST_AUTHOR}</span></td>
</tr>
<!-- END recent -->
</table>
</td>
</tr>
</table>
Code: Alles auswählen
<td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails"> {recent.L_REPLIES}: {recent.REPLIES}<br /> {recent.L_VIEWS}: {recent.VIEWS}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"> <span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td>
Code: Alles auswählen
{recent.POST_TEXT}
Code: Alles auswählen
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<br />
<tr>
<td width="50%"><table width="100%" height="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr><th class="thTop" colspan="2" height="28"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></th></tr>
<tr><td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/BadMax/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td><td class="row1" align="left" width="100%"><span class="gensmall"><br />{TOTAL_POSTS}<br /><br />{TOTAL_USERS}<br /><br />{NEWEST_USER}<br /><br /></span></td> </tr>
<tr><td class="row1" align="left"><span class="gensmall"><br />{TOTAL_USERS_ONLINE}<br /><br />[ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br /><br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /></span></td></tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr><td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td></tr>
</table>
</td>
<td width="50%"><table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<th class="thTop" colspan="3" height="28">{L_RECENT_TITLE}</a></th>
</tr>
<!-- BEGIN recent -->
<tr>
<td height="30" class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td>
<td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span><span class="gensmall">{recent.GOTO_PAGE}</span></td>
<td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="gensmall">{recent.LAST_AUTHOR} {recent.LAST_URL}</span></td>
</tr>
<!-- END recent -->
</table>
</td>
</tr>
</table>
wird doch jetzt alles richtig angezeigt oder nicht *auf dem schlauch steh*mgutt hat geschrieben:ich hätte das ja gerne so, dass {recent.LAST_URL} durch den {recent.NEWEST_IMG} ersetzt wird, wenn ein neuer Beitrag geschrieben wurde... das kriegen wir aber mit der tpl nicht hin oder?
EDIT: ok ich ändere meinen Beitrag jetzt dann auch, wenn was anders ist