forum info kan plaatsen op de zelfde manier als de afbeelding hieronder
enig idee?
Code: Selecteer alles
<style>
<!--
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; }
.forumline { background-color: #FFFFFF; border: 2px #006699 solid; }
td { font-family: Verdana, Arial, Helvetica, sans-serif }
td.row1 { background-color: #EFEFEF; }
p { font-family: Verdana, Arial, Helvetica, sans-serif }
.postbody { font-size : 12px; line-height: 18px}
-->
</style>
<p><span class="postbody">
<img src="http://www.relaxuhforum.nl/signature.php" border="0" width="500" height="65"></span></p>
Code: Selecteer alles
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
//
// If you don't use these stats on your index you may want to consider
// removing them
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];
if( $total_posts == 0 )
{
$l_total_post_s = $lang['Posted_articles_zero_total'];
}
else if( $total_posts == 1 )
{
$l_total_post_s = $lang['Posted_article_total'];
}
else
{
$l_total_post_s = $lang['Posted_articles_total'];
}
if( $total_users == 0 )
{
$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
$l_total_user_s = $lang['Registered_user_total'];
}
else
{
$l_total_user_s = $lang['Registered_users_total'];
}
//
// Start output of page
//
define('SHOW_ONLINE', true);
$page_title = $lang['Index'];
?>
<link rel="stylesheet" href="http://www.{JOUW_URL}/{FORUM_MAP}/templates/subSilver/subSilver.css" type="text/css">
<?php
$template->set_filenames(array(
'body' => 'stat_body.tpl')
);
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("http://www.{JOUW_URL}.nl/{FORUM_MAP}/profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
'FORUM_IMG' => $images['forum'],
'FORUM_NEW_IMG' => $images['forum_new'],
'FORUM_LOCKED_IMG' => $images['forum_locked'],
'U_MARK_READ' => append_sid("index.$phpEx?mark=forums"))
);
//
// Generate the page
//
$template->pparse('body');
?>
Code: Selecteer alles
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>Statistieken</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
</table>
Code: Selecteer alles
http://www.{JOUW_URL}.nl/{FORUM_MAP}/