Vota il topic
Inviato: 23/03/2011, 13:10
sono in cerca di una mod dove gli utenti Votino i topic 

Codice: Seleziona tutto
<!-- IF not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->
<!-- ENDIF -->
Codice: Seleziona tutto
<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW -->
<hr />
<div class="content">
<!-- IF not postrow.S_POST_ANONYMOUS and not S_IS_BOT-->
<dl class="postbody small">
<dt>{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}</dt>
<dd>{postrow.THANKS}</dd>
</dl>
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
<div class="content">
<dl class="postbody">
<dt class="small"><strong>{L_REPUT}:</strong> {postrow.POST_REPUT}</dt>
<dd>
<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
<div style="width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK});"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE});"></div></div>
<!-- ENDIF -->
</dd>
</dl>
</div>
<!-- ENDIF -->
Codice: Seleziona tutto
if (!function_exists('get_max_topic_thanks'))
{
include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);
}
get_max_topic_thanks();
if ($topic_list)
{
get_thanks_topic_number();
}
Codice: Seleziona tutto
if ($config['thanks_topic_reput_view'])
{
get_thanks_topic_reput($topic_id);
}
Codice: Seleziona tutto
$return_chars = request_var('ch', ($topic_id) ? -1 : 300);
$search_forum = request_var('fid', array(0));