Edit writer_info.tpl
find
CODE
{$Info['posts']}
and add after it this code:
CODE
<br/>
{$lang['subject_num']} :
<?php
$show = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['subject'] . " WHERE writer='".$PowerBB->_CONF['template']['Info']['username']."' AND delete_topic<>1 ");
echo mysql_num_rows($show) ;
unset($show);
$show = @mysql_free_result($show);
?>
save and reload.
-
تم تحرير المشاركة بواسطة :emovip
بتاريخ:26-07-2011 04:20 مساءً