!
! , "" !
##############################################################
## : "" !
## : Hafiz Mohd < izzat_halmi@hotmail.com > http://hafiz01.50free.net/
## : Breaker
## :Web-Tourist.Net
## : ' _
## ( ) ' -"' .
## , 'whosonline.gif'
##
## : 3.0.0
##
## :
## : ~5
## : index.php, lang_main.php, index_body.tpl
## :
## :
#
#-----[ ]------------------------------------------
#
index.php

#
#-----[ ]------------------------------------------
#
$template->set_filenames(array(
'body' => 'index_body.tpl')
);


#
#-----[ ]------------------------------------------
#

//
// START MOD: Avatar On Index - Denz
//
$avatar_img = '';
if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )
{
switch( $userdata['user_avatar_type'] )
{
case USER_AVATAR_UPLOAD:
$avatar_img = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_REMOTE:
$avatar_img = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
case USER_AVATAR_GALLERY:
$avatar_img = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
break;
}
}
if ($avatar_img == '')
{
$avatar_img = '<img src="templates/subSilver/images/whosonline.gif" />';
}
// Check For Anonymous User
if ($userdata['user_id'] != '-1')
{
$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>';
}
else
{
$name_link = $lang['Guest'];
}
//
// END MOD: Avatar On Index - Denz
//


#
#-----[ ]------------------------------------------
#

'FORUM_LOCKED_IMG' => $images['forum_locked'],


#
#-----[ ]------------------------------------------
#

//
// START MOD: Avatar On Index - Denz
//
'L_NAME_WELCOME' => $lang['Welcome'],
'U_NAME_LINK' => $name_link,
'AVATAR_IMG' => $avatar_img,
//
// END MOD: Avatar On Index - Denz
//

#
#-----[ ]------------------------------------------
#
language/lang_english/lang_main.php


#
#-----[ ]------------------------------------------
#
$lang['Welcome_subject'] = 'Welcome to %s Forums'; // Welcome to my.com forums

#
#-----[ ]------------------------------------------
#

//
// START MOD: Avatar On Index - Denz
//
$lang['Welcome'] = "Welcome"; // Welcome
//
// END MOD: Avatar On Index - Denz
//

#
#-----[ ]------------------------------------------
#

templates/subSilver/index_body.tpl


#
#-----[ ]------------------------------------------
#

<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="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="center" valign="middle" rowspan="2"><span class="mainmenu">{L_NAME_WELCOME}</span><BR /><span class="mainmenu">{U_NAME_LINK}</span><BR /><BR />{AVATAR_IMG}</td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>


#
#-----[ / ]------------------------------------------
#
# EoM





/ /