Scris: 11-Iul-2006, 16:26:02
kb.php?mode=article&k=36#3.1 citeste aici si sigur vei intelege (doar daca citesti cu atentie).
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
da, prefer ,daca nu te superi, sa-mi spui exact ( ca la MOD ) cum impart in 2 coloane si unde pun Glance_ouput . Ms.seelview scrie:Raspunsul e concret... daca preferi sa iti copiez de acolo aici ... nu e nici o problema. Acolo spune ce trebuie sa faci. Ca trebuie sa creezi un table nou cu doua coloane , una sa contina forumul si cealalta sa contina at a glance.
Cod: Selectaţi tot
<table width="100%" cellspacing="1" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br />{S_TIMEZONE}</span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
<!-- BEGIN catrow -->
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr><td class="tbtl"><img src="images/spacer.gif" alt="" width="22" height="22" /></td><td class="tbtbot"><b></b><span class="gen"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td><td class="tbtr"><img src="images/spacer.gif" alt="" width="124" height="22" /></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" height="22" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" nowrap="nowrap"> {L_POSTS} </th>
<th nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row1" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row1" width="160" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
</tr>
<!-- END catrow -->
<td> </td>
<!-- INCEPUT a treia celula -->
<td valign="top" width="150">{GLANCE_OUTPUT}</td>
<!-- SFARSIT a treia celula -->
</tr>
</table>
Cod: Selectaţi tot
'TOPIC_TIME' => create_date($lang['DATE_FORMAT'], $latest_news[$i]['topic_time'], $board_config['board_timezone']))
Cod: Selectaţi tot
'TOPIC_TIME' => create_date($lang['DATE_FORMAT'], $latest_news[$i]['post_time'], $board_config['board_timezone']))
Cod: Selectaţi tot
ORDER BY t.topic_first_post_id DESC
LIMIT " . $glance_num_recent;
Cod: Selectaţi tot
ORDER BY t.topic_last_post_id DESC
LIMIT " . $glance_num_recent;