Offline Indicator on PORTAL top posteres

Online-Statusanzeige im Profil, der Viewtopic und in der Mitgliederliste

Offline Indicator on PORTAL top posteres

Beitragvon feldon » 12. Jan 2005 13:35

Hi

I have a question:
I'm using on my PORTAL (ezportal) the MOD top posters.
Is it possible to add there below the user name also INDICATOR
to let see if user is on or ofline???
I'll post here my portal.php and portal_body.tpl
Could you take a look at it please...


Thank you I know you're GOOD and you can make it happen :lol:

Code: Alles auswählen
<?php
/***************************************************************************
*                                portal.php
*                            -------------------
*   begin                : Tuesday, August 13, 2002
*   copyright            : (C) 2002 Smartor
*   email                : smartor_xp@hotmail.com
*
*   $Id: portal.php,v 2.1.7 2003/01/30, 17:05:58 Smartor Exp $
*
***************************************************************************/

/***************************************************************************
*
*   This program is free software; you can redistribute it and/or modify
*   it under the terms of the GNU General Public License as published by
*   the Free Software Foundation; either version 2 of the License, or
*   (at your option) any later version.
*
***************************************************************************/

/***************************************************************************
*
*   Some code in this file I borrowed from the original index.php, Welcome
*   Avatar MOD and others...
*
***************************************************************************/

//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = '<center>Welcome to <b>Our Portal & Forum</b></center>';

// Number of news on portal
$CFG['number_of_news'] = '7';

// Length of news
$CFG['news_length'] = '2000';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '45';

// Poll Forum ID: separate by comma for multi-forums, eg. '2,8,14'
$CFG['poll_forum'] = '45';

// Number of Recent Topics (not Forum ID)
$CFG['number_recent_topics'] = '5';

// Excluding forums for Recent Topics, eg. '2,4,10' (note: my Recent Topics script has its own permission checking, so you can leave this variable blank)
$CFG['exceptional_forums'] = '';

//
// END configuration
// --------------------------------------------------------

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// Start add - Select default language MOD
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
// End add - Select default language MOD
include($phpbb_root_path . 'fetchposts.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_PORTAL);
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');
$total_topics = get_db_stat('topiccount');
$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'];
}

//
// Recent Topics
//
$sql = "SELECT * FROM ". FORUMS_TABLE . " ORDER BY forum_id";
if (!$result = $db->sql_query($sql))
{
   message_die(GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql);
}
$forum_data = array();
while( $row = $db->sql_fetchrow($result) )
{
   $forum_data[] = $row;
}

$is_auth_ary = array();
$is_auth_ary = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata, $forum_data);

if( $CFG['exceptional_forums'] == '' )
{
   $except_forum_id = '\'start\'';
}
else
{
   $except_forum_id = $CFG['exceptional_forums'];
}

for ($i = 0; $i < count($forum_data); $i++)
{
   if ((!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_read']) or (!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_view']))
   {
      if ($except_forum_id == '\'start\'')
      {
         $except_forum_id = $forum_data[$i]['forum_id'];
      }
      else
      {
         $except_forum_id .= ',' . $forum_data[$i]['forum_id'];
      }
   }
}
$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
      FROM " . TOPICS_TABLE . " AS t, " . POSTS_TABLE . " AS p, " . USERS_TABLE . " AS u
      WHERE t.forum_id NOT IN (" . $except_forum_id . ")
         AND t.topic_status <> 2
         AND p.post_id = t.topic_last_post_id
         AND p.poster_id = u.user_id
      ORDER BY p.post_id DESC
      LIMIT " . $CFG['number_recent_topics'];
if (!$result = $db->sql_query($sql))
{
   message_die(GENERAL_ERROR, 'Could not query recent topics information', '', __LINE__, __FILE__, $sql);
}
$number_recent_topics = $db->sql_numrows($result);
$recent_topic_row = array();
while ($row = $db->sql_fetchrow($result))
{
   $recent_topic_row[] = $row;
}
for ($i = 0; $i < $number_recent_topics; $i++)
{
   $template->assign_block_vars('recent_topic_row', array(
      'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
      'L_TITLE' => $recent_topic_row[$i]['topic_title'],
      'U_POSTER' => append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=" . $recent_topic_row[$i]['user_id']),
      'S_POSTER' => $recent_topic_row[$i]['username'],
      'S_POSTTIME' => create_date($board_config['default_dateformat'], $recent_topic_row[$i]['post_time'], $board_config['board_timezone'])
      )
   );
}
//
// END - Recent Topics
//

if( $userdata['session_logged_in'] )
{
   $sql = "SELECT COUNT(post_id) as total
         FROM " . POSTS_TABLE . "
         WHERE post_time >= " . $userdata['user_lastvisit'];
   $result = $db->sql_query($sql);
   if( $result )
   {
      $row = $db->sql_fetchrow($result);
      $lang['Search_new'] = $lang['Search_new'] . "&nbsp;(" . $row['total'] . ")";
   }
}

//
// Start output of page
//
define('SHOW_ONLINE', true);
$page_title = $lang['Home'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

$template->set_filenames(array(
   'body' => 'portal_body.tpl')
);

//
// Avatar On Index MOD
//
$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;
   }
}
// Check For Anonymous User
if ($userdata['user_id'] != '-1')
{
   $name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&amp;" . $userdata['user_id']) . '">' . $userdata['username'] . '</a>';
}
else
{
   $name_link = $lang['Guest'];
}
//
// END: Avatar On Index MOD
//

// Start add - Select default language MOD
if ( $board_config['real_default_lang'] == 'english' )
{
   $Word_language = 'Language';
}
else
{
   include($phpbb_root_path . 'language/lang_' . $board_config['real_default_lang']. '/lang_main.'.$phpEx);
   $Word_language = 'Language' . ' / ' . $lang['Word_language'] . ' ';
   include($phpbb_root_path . 'language/lang_' . $board_config['default_lang']. '/lang_main.'.$phpEx);
}
// End add - Select default language MOD
//
//start top poster
//

$total_poster = '5'; // total of top poster
$avatar_height = '60'; // the avatar's height
$avatar_width = '50'; // the avatar's width

$sql = "SELECT username, user_id,  user_posts,  user_avatar, user_avatar_type, user_allowavatar
        FROM " . USERS_TABLE . "
        WHERE user_id <> " . ANONYMOUS . "
        ORDER BY user_posts DESC LIMIT $total_poster";
if( !($result = $db->sql_query($sql)) )
{
        message_die(GENERAL_ERROR, 'Could not query users', '', __LINE__, __FILE__, $sql);
}

if ( $row = $db->sql_fetchrow($result) )
{
        $i = 0;
        do
        {
                $username = $row['username'];
                $user_id = $row['user_id'];
                $posts = ( $row['user_posts'] ) ? $row['user_posts'] : 0;
                $poster_avatar = '';
                if ( $row['user_avatar_type'] && $user_id != ANONYMOUS && $row['user_allowavatar'] )
                {
                        switch( $row['user_avatar_type'] )
                        {
                                case USER_AVATAR_UPLOAD:
                                        $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $row['user_avatar'] . '" alt="" border="0" height="' . $avatar_height . '" width="'  . $avatar_width . '" />' : '';
                                        break;
                                case USER_AVATAR_REMOTE:
                                        $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $row['user_avatar'] . '" alt="" border="0" height="'  . $avatar_height . '" width="'  . $avatar_width . '"/>' : '';
                                        break;
                                case USER_AVATAR_GALLERY:
                                        $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $row['user_avatar'] . '" alt="" border="0" height="' . $avatar_height . '" width="'  . $avatar_width . '" />' : '';
                                        break;
                        }
                }



                $template->assign_block_vars('topposter', array(

                        'USERNAME' => $username,
                        'POSTS' => $posts,
                        'AVATAR_IMG' => $poster_avatar,

                        'U_VIEWPOSTER' => append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$user_id"))
                );

                $i++;
        }
        while ( $row = $db->sql_fetchrow($result) );
}

//
//end top poster
//

$template->assign_vars(array(
   'WELCOME_TEXT' => $CFG['welcome_text'],
   'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
   'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
   'TOTAL_TOPICS' => sprintf($lang['total_topics'], $total_topics),
   'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
   'L_FORUM' => $lang['Forum'],
   'L_BOARD_NAVIGATION' => $lang['Board_navigation'],
   'L_STATISTICS' => $lang['Statistics'],   
   'L_ANNOUNCEMENT' => $lang['Post_Announcement'],
   'L_POSTED' => $lang['Posted'],
   'L_COMMENTS' => $lang['Comments'],
   'L_VIEW_COMMENTS' => $lang['View_comments'],
   'L_POST_COMMENT' => $lang['Post_your_comment'],
   'L_SEND_PASSWORD' => $lang['Forgotten_password'],
   'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword"),
   'L_REGISTER_NEW_ACCOUNT' => sprintf($lang['Register_new_account'], '<a href="' . append_sid("profile.$phpEx?mode=register") . '">', '</a>'),
   'L_REMEMBER_ME' => $lang['Remember_me'],
   'L_VIEW_COMPLETE_LIST' => $lang['View_complete_list'],
   'L_POLL' => $lang['Poll'],
// Top Poster
   'L_TOP_POSTER' => $lang['Top_poster'],
   'L_VOTE_BUTTON' => $lang['Vote'],
// Recent Topics
   'L_RECENT_TOPICS' => $lang['Recent_topics'],   
// Start add - Select default language MOD
   'LANGUAGE_SELECT' => language_select($board_config['default_lang'], 'language'),
   'L_SELECT_LANG' => $Word_language,
   'L_CHANGE_NOW' => 'OK',
// End add - Select default language MOD


   // Welcome Avatar
   'L_NAME_WELCOME' => $lang['Welcome'],
   'U_NAME_LINK' => $name_link,
   'AVATAR_IMG' => $avatar_img)
);

//
// Fetch Posts from Announcements Forum
//
if(!isset($HTTP_GET_VARS['article']))
{
   $template->assign_block_vars('welcome_text', array());

   $fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], $CFG['news_length']);

   for ($i = 0; $i < count($fetchposts); $i++)
   {
      if( $fetchposts[$i]['striped'] == 1 )
      {
         $open_bracket = '[ ';
         $close_bracket = ' ]';
         $read_full = $lang['Read_Full'];
      }
      else
      {
         $open_bracket = '';
         $close_bracket = '';
         $read_full = '';
      }

      $template->assign_block_vars('fetchpost_row', array(
         'TITLE' => $fetchposts[$i]['topic_title'],
         'POSTER' => $fetchposts[$i]['username'],
         'TIME' => $fetchposts[$i]['topic_time'],
         'TEXT' => $fetchposts[$i]['post_text'],
         'REPLIES' => $fetchposts[$i]['topic_replies'],
         'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
         'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&amp;t=' . $fetchposts[$i]['topic_id']),
         'U_READ_FULL' => append_sid('portal.' . $phpEx . '?article=' . $i),
         'L_READ_FULL' => $read_full,
         'OPEN' => $open_bracket,
         'CLOSE' => $close_bracket)
      );
   }
}
else
{
   $fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], 0);

   $i = intval($HTTP_GET_VARS['article']);

   $template->assign_block_vars('fetchpost_row', array(
      'TITLE' => $fetchposts[$i]['topic_title'],
      'POSTER' => $fetchposts[$i]['username'],
      'TIME' => $fetchposts[$i]['topic_time'],
      'TEXT' => $fetchposts[$i]['post_text'],
      'REPLIES' => $fetchposts[$i]['topic_replies'],
      'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
      'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&amp;t=' . $fetchposts[$i]['topic_id'])
      )
   );
}
//
// END: Fetch Announcements
//

//
// Fetch Poll
//
$fetchpoll = phpbb_fetch_poll($CFG['poll_forum']);

if (!empty($fetchpoll))
{
   $template->assign_vars(array(      
      'S_POLL_QUESTION' => $fetchpoll['vote_text'],
      'S_POLL_ACTION' => append_sid('posting.'.$phpEx.'?'.POST_TOPIC_URL.'='.$fetchpoll['topic_id']),
      'S_TOPIC_ID' => $fetchpoll['topic_id'],
      'L_SUBMIT_VOTE' => $lang['Submit_vote'],
      'L_LOGIN_TO_VOTE' => $lang['Login_to_vote']      
      )
   );

   for ($i = 0; $i < count($fetchpoll['options']); $i++)
   {
      $template->assign_block_vars('poll_option_row', array(
         'OPTION_ID' => $fetchpoll['options'][$i]['vote_option_id'],
         'OPTION_TEXT' => $fetchpoll['options'][$i]['vote_option_text'],
         'VOTE_RESULT' => $fetchpoll['options'][$i]['vote_result'],
         )
      );
   }   
}
else
{
   $template->assign_vars(array(      
      'S_POLL_QUESTION' => $lang['No_poll'],
      'DISABLED' => 'disabled="disabled"'
      )
   );
}

//
// Generate the page
//
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);


?>


Code: Alles auswählen
<!-- Start add - Select default language MOD -->
<!-- BEGIN switch_user_logged_out -->
   <form method="post" action="{U_PORTAL}"><span class="forumlink" style="margin-left: 2px; font-size: 11px">{L_SELECT_LANG}: </span>{LANGUAGE_SELECT}   
      <input type="submit" class="mainoption" name="cangenow" value="{L_CHANGE_NOW}" />
   </form>
<!-- END switch_user_logged_out -->
<!-- End add - Select default language MOD -->


<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
   <td valign="top" width="23%">
      <table width="100%" cellspacing="1" cellpadding="1" border="0" align="left"><tr><td>
        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_BOARD_NAVIGATION}</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="left"><span class="genmed" style="line-height: 150%">
            <a href="{U_PORTAL}">{L_HOME}</a><br />
            <a href="{U_INDEX}">{L_FORUM}</a><br />
            <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
            <a href="{U_FAQ}">{L_FAQ}</a><br />
            <a href="{U_SEARCH}">{L_SEARCH}</a><br />
            <a href="http://www.feldon.be" target="_blank">Feldon's HomePage</a><br />
            <a href="http://www.oracula.org/oracula/modules.php?op=modload&name=Anonimmus&file=shrine&shaemmusid=04090816155188" target="_blank">Light a Candle</a><br />
         </span></td>
         </tr>
        </table>

        <br />
       
        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
      <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_RECENT_TOPICS}</font></b></span></td>
      </tr>
      <tr>
      <td class="row1" align="left"><span class="gensmall">
      <marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">
      <!-- BEGIN recent_topic_row -->
      &raquo; <a href="{recent_topic_row.U_TITLE}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />
      by <a href="{recent_topic_row.U_POSTER}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> on {recent_topic_row.S_POSTTIME}<br /><br />
      <!-- END recent_topic_row -->
      </marquee>
      </span></td>
      </tr>
     </table>
    
     <br />

        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_STATISTICS}</font></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 />&nbsp;</span></td>
         </tr>
        </table>
       
        <br />
       
         <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">Top - Lists</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="center"><a href="http://feldon.webd.pl/phptopsites//in.php?site=1096633326"           
         target="_blank"><img src="images/magictop25.gif" width="88" height="31" alt="Magic Top-25" border="0"
         vspace="3"></a></td>
         </tr>
          <tr>
         <td class="row1" align="center"><a href="http://www.azsoftz.de/eurotop/in.php?site=1096720407"
          target="_blank"><img src="http://www.azsoftz.de/eurotop/images/88logo.gif" width="88" height="40" alt="EuroTop"
          border="0" vspace="3"></a></td>
         </tr>
          <tr>
         <td class="row1" align="center"><a href="http://gavesite.toplijst.org/toplist/in.php?site=1095165594"
          target="_blank"><img src="images/button.gif" width="88" height="40" alt="GaveSite TopList"
          border="0" vspace="3"></a></td>
         </tr>
         <tr>
         <td class="row1" align="center"><a href="http://www.dris.nu/cgi-bin/topsites/topsites.cgi?feldon"
          target="_blank"><img src="http://www.dris.nu/cgi-bin/topsites/image.cgi?feldon" width="88" height="40"
          alt="European TopSites"
          border="0" vspace="3"></a></td>
          </tr>
          <tr>
         <td class="row1" align="center"><a href="http://silver.toplista.pl/?we=feldon"
          target="_blank"><img src="http://republika.pl/silver189/images/Tps.gif" width=88 height=40
          alt="Top Lista Silvera" border="0"  width="88" height="31"></a></td>
          </tr>
      <tr>
         <td class="row1" align="center"><a href="http://multimedia.toplista.pl/?we=feldon"
          target="_blank"><img src="http://gfx.pl.warszawa.pl/mulbut.gif" width=88 height=40
          alt="Top 100 MULTIMEDIAT" border="0"  width="88" height="31"></a></td>
          </tr>
         
        </table>
         
         <br />
         <script type="text/javascript">
            function openpopup(popurl){
            winpops=window.open(popurl,"","width=370,height=250")
            }
</script>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
                <td class="catHead" colspan="3" align="left" height="25"><span class="genmed"><b><font color="#330066">Daily Horoscopes</font></b></span></td>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_aries.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/aries.php" onClick="openpopup(this.href);return false"><strong>Aries</strong></a></span>  <font size="1">21.03-22.04</font></td>
              </tr>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_taurus.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/taurus.php" onClick="openpopup(this.href);return false"><strong>Taurus</strong></a></span>  <font size="1">22.04-22.05</font></td>
              </tr>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_gemini.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/gemini.php" onClick="openpopup(this.href);return false"><strong>Gemini</strong></a></span>  <font size="1">22.05-22.06</font></td>
              </tr>
              <tr>
             <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_cancer.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/cancer.php" onClick="openpopup(this.href);return false"><strong>Cancer</strong></a></span>  <font size="1">22.06-23.07</font></td>
              </tr>
              <tr>
               <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_leo.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/leo.php"
onClick="openpopup(this.href);return false"><strong>Leo</strong></a></span>  <font size="1">23.07-23.08</font></td>
              </tr>
              <tr>
               <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_virgo.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/virgo.php" onClick="openpopup(this.href);return false"><strong>Virgo</strong></a></span>  <font size="1">23.08-23.09</font></td>
              </tr>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_libra.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/libra.php" onClick="openpopup(this.href);return false"><strong>Libra</strong></a></span>  <font size="1">23.09-24.10</font></td>
              </tr>
              <tr>
            <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_scorpio.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/scorpio.php" onClick="openpopup(this.href);return false"><strong>Scorpio</strong></a></span>  <font size="1">24.10-23.11</font></td>
              </tr>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_sagittarius.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/sagittarius.php" onClick="openpopup(this.href);return false"><strong>Sagittarius</strong></a></span>  <font size="1">23.11-22.12</font></td>
              </tr>
              <tr>
             <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_capricorn.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/capricorn.php" onClick="openpopup(this.href);return false"><strong>Capricorn</strong></a></span>  <font size="1">22.12-21.01</font></td>
              </tr>
              <tr>
             <td width="4%" bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_aquarius.gif" width="13" height="13"></div></td>
                <td width="96%" bgcolor="#000090"><span class="gensmall"><a href="horoscopes/aquarius.php" onClick="openpopup(this.href);return false"><strong>Aquarius</strong></a></span>  <font size="1">21.01-21.02</font></td> 
              </tr>
              <tr>
                <td bgcolor="#EFF2F8"><div align="center"><img src="templates/subSilver/images/icon_zodiac_pisces.gif" width="13" height="13"></div></td>
                <td bgcolor="#000090"><span class="gensmall"><a href="horoscopes/pisces.php" onClick="openpopup(this.href);return false"><strong>Pisces</strong></a></span>  <font size="1">21.02-21.03</font></td>
              </tr>
            </table>
               <br />
         <table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
              <tr>
               <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{PIC_OFDAY}</font></b></span></td>
             </tr>
              <tr>
                <td bgcolor="#000090"><div align="center"><a href="http://www.funpic.hu/fun-bin/funpice.cgi?kateg=napkepe&page=1" target="_blank"><img src="http://www.funpic.hu/fun-bin/napkepe.cgi" border=1></a></div></td>
              </tr>
            </table>
                     
         <!-- Clock Code: Start -->
<br />
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
  <tr>
    <td class="catHead" height="25">
   <span class="genmend"><b><font color="#330066">{CLOCK_NAME}</font></b></span>
   </td>
  </tr>
  <tr>
   <td align="center" valign="middle">

   <div align="center"><embed width="105" height="95" src="./Clock.swf">
    </div>
   
   </td>
  </tr>
</table>
<!-- Clock Code: End -->   

<br />
<!-- Search Google -->
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="forumline">
  <tr>
    <td class="catHead" height="25">
   <span class="genmend"><b><font color="#330066">Search Google</font></b></span>
   </td>
  </tr> 
<center>
<FORM method=GET action="http://www.google.nl/search" target="_blank">
<TD border="0" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0"><tr><td valign="middle"><center>
<br>
<INPUT TYPE=text name=q size=19 maxlength=200 value="" style="font-family: Verdana; font-size: 8pt; color: #454D5D; border: 1px solid #505868"><br>
<INPUT TYPE=hidden name=hl value="nl">
<INPUT type=submit name=btnG VALUE="Search Google" style="font-size: 8pt; font-family: Verdana; color: #454D5D">

</FORM></td></tr></TABLE>
</center>
<!-- Search Google -->
         
             <tr>
         <td height="15"></td>
        </tr>
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{DAILY_GAME}</font></b></span></td>
        </tr>
        <tr>
         <td class="row1" align="left"><span class="genmed" style="line-height:150%"><center><script language="JavaScript" src="http://www.t45ol.com/daily_us.php"></script><br />
<table cellspacing=1 cellpadding=2 width=150 border=0 class="forumline">
  <tr>
    <td valign=absmiddle noWrap align="center" height="15"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>Search
      for online games :</b></font></td>
  </tr>
  <tbody>
  <tr>
    <form method="post" target="_blank" action="http://www.t45ol.com/search_us.php">
      <td valign=absmiddle noWrap align="center">
        <input size=12 name="request">
        <input type=submit value="Go" name="submit">
      </td>
    </form>
  </tr>
  <tr>
    <td valign=absmiddle noWrap align="center" height="15"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Powered
      by <a href="http://www.t45ol.com/index_us.php" target="_blank">Flash Games</a></font></td>
  </tr>
  </tbody>
</table></center>
</span></td>
        </tr>
                         
      </td></tr></table>
   </td>
       
   
   <td valign="top" width="55%">   
      <table width="97%" cellspacing="1" cellpadding="1" border="0" align="center"><tr><td>
      <!-- BEGIN welcome_text -->
      <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
        <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_NAME_WELCOME}</font></b></span></td>
        </tr>
        <tr>
         <td class="row1" align="left"><span class="gensmall" style="line-height:150%">{WELCOME_TEXT}<br />&nbsp;</span></td>
        </tr>
      </table>
      
      <br />
      
      <!-- END welcome_text -->
      <!-- BEGIN fetchpost_row -->
      <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
        <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_ANNOUNCEMENT}:</font> <font color="#000000">{fetchpost_row.TITLE}</font></b></span></td>
        </tr>
        <tr>
         <td class="row2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td>
        </tr>
        <tr>
         <td class="row1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
        </tr>
        <tr>
         <td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
        </tr>
      </table>
      
      <br />

      <!-- END fetch_post_row -->
      </td></tr></table>
   </td>

   <td valign="top" width="22%">
      <table width="100%" cellspacing="1" cellpadding="1" border="0" align="right"><tr><td>
        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_NAME_WELCOME}</font> {U_NAME_LINK}</b></span></td>
         </tr>
         <tr>
         <td class="row1" align="left"><span class="gensmall">
            <!-- BEGIN switch_user_logged_in -->
            <center><br />{AVATAR_IMG}</center>
            <br />{LAST_VISIT_DATE}<br /><br />
            <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br />
            <!-- END switch_user_logged_in -->
            <br />{CURRENT_TIME}<br /><br />{S_TIMEZONE}</span>
         </td>
         </tr>
        </table>
       
        <br />
      <!-- BEGIN switch_user_logged_out -->
      <form method="post" action="{S_LOGIN_ACTION}">
        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_LOGIN}</font></b></span></td>
         </tr>
         <tr>
         <td class="row1"><span class="gensmall" style="line-height=150%">
         <input type="hidden" name="redirect" value="{U_PORTAL}" />
         {L_USERNAME}:<br /><input class="post" type="text" name="username" size="15" /><br />
         {L_PASSWORD}:<br /><input class="post" type="password" name="password" size="15" /><br />
         <input class="text" type="checkbox" name="autologin" />&nbsp;{L_REMEMBER_ME}<br/>
         <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /><br /><br /><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a><br /><br />{L_REGISTER_NEW_ACCOUNT}<br />&nbsp;</span></td>
         </tr>
        </table>
      </form>
      <!-- END switch_user_logged_out -->
      <!-- BEGIN switch_user_logged_out -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
                   <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">Quick Register</font></b></span></td>
               </tr>
<form method="post" action="profile.php">
<tr>
<td class="row1"><span class="gensmall" style="line-height=150%">User name:<br />
<input type="hidden" name="redirect" value="{U_PORTAL}" />
<input type="text" class="post" name="username" size="15" maxlength="20" value="" /><br />
E-Mail:
<br /><input type="text" class="post" name="email" size="15" maxlength="255" value="" />
<br />
Password:
<br /><input type="password" class="post" name="new_password" size="15" maxlength="100" value="" />
<br />
Password (again):
<br /><input type="password" class="post" name="password_confirm" size="15" maxlength="100" value="" />
<br />
<br />
<input type="hidden" name="viewemail" value="1" />
                <input type="hidden" name="viewemail" value="0" checked="checked" />
                <input type="hidden" name="hideonline" value="1" />
                <input type="hidden" name="hideonline" value="0" checked="checked" />
                <input type="hidden" name="notifyreply" value="1" />
                <input type="hidden" name="notifyreply" value="0" checked="checked" />
                <input type="hidden" name="notifypm" value="1" checked="checked" />
                <input type="hidden" name="notifypm" value="0" />
                <input type="hidden" name="popup_pm" value="1" checked="checked" />
                <input type="hidden" name="popup_pm" value="0" />
                <input type="hidden" name="attachsig" value="1" checked="checked" />
                <input type="hidden" name="attachsig" value="0" />
                <input type="hidden" name="allowbbcode" value="1" checked="checked" />
                <input type="hidden" name="allowbbcode" value="0" />
                <input type="hidden" name="allowhtml" value="1" />
                <input type="hidden" name="allowhtml" value="0" checked="checked" />
                <input type="hidden" name="allowsmilies" value="1" checked="checked" />
                <input type="hidden" name="allowsmilies" value="0" />
                <input type="hidden" name="dateformat" value="D M d, Y g:i a" maxlength="14" class="post" />
                <input type="hidden" name="mode" value="register" />
                <input type="hidden" name="agreed" value="true" />
                <input type="hidden" name="coppa" value="0" />
<center><input type="submit" name="Submitr" value="submit" class="mainoption" /> &nbsp; <input type="reset" value="Reset" name="reset" class="mainoption" /></center>
</span>
</td>
</tr>
</table>
<br />
</form>
<!-- END switch_user_logged_out -->
        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_WHO_IS_ONLINE}</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /><center>[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</center><br />{RECORD_USERS}<br />&nbsp;</span></td>
         </tr>
        </table>
       
        <br />

        <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{L_POLL}</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="left"><span class="gensmall">
            <form method="post" action="{S_POLL_ACTION}">
            <center><b>{S_POLL_QUESTION}</b></center><br />
            <!-- BEGIN poll_option_row -->
            <input type="radio" name="vote_id" value="{poll_option_row.OPTION_ID}">{poll_option_row.OPTION_TEXT}&nbsp;[{poll_option_row.VOTE_RESULT}]<br />
            <!-- END poll_option_row -->
            <br />
            <!-- BEGIN switch_user_logged_out -->
            <center>{L_LOGIN_TO_VOTE}</center>
            <!-- END switch_user_logged_out -->
            <!-- BEGIN switch_user_logged_in -->
            <center><input type="submit" class="mainoption" name="submit" value="{L_VOTE_BUTTON}" {DISABLED}></center>
            <input type="hidden" name="topic_id" value="{S_TOPIC_ID}">
            <input type="hidden" name="mode" value="vote">
            <!-- END switch_user_logged_in -->
            </form><br />
         </span></td>
         </tr>
        </table>
          <br />
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
        <tr>
          <td class="catHead" align ="left" colspan="2" nowrap="nowrap"><span class="genmed"><b><font color="#330066">{L_TOP_POSTER}</font></b></td>
        </tr>
<!-- BEGIN topposter -->
        <tr>
          <td class="row1" align="right" valign="middle" width="30%"><span class="gen"><a href="{topposter.U_VIEWPOSTER}" class="gen">{topposter.AVATAR_IMG}</a></span></td>
          <td class="row1" align="center" valign="middle"width="70%"><span class="genmed">{topposter.USERNAME} ({topposter.POSTS})</span></td>
          </tr>

          <!-- END topposter -->
  </table>

  <br />         
         
         <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">Current Moon</font></b></span></td>
         </tr>
         <tr>
         <!-- // Begin Current Moon Phase HTML (c) CalculatorCat.com // -->
<td width="220" bgcolor="#000080" style="background-color:#000080" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr><td align="center">
<script language="JavaScript" type="text/javascript" src="http://www.calculatorcat.com/codesrc/moon/phasenow_b.js">
</script><script language="JavaScript" type="text/javascript"
src="http://www.calculatorcat.com/codesrc/moon/phasenow_2h.js"></script>
</td></tr></table><!-- // end moon phase HTML // -->

           
          <br />
         <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">{WEATHER_ONLINE}</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="center">
         <!-- Java script do pogody poczatek-->
                             <script language="JavaScript"
                             src="http://home.weeronline.com/cgi-bin/nph-h?WMO=06423&L=nl">
                             </script>
                             <!-- Java script do pogody koniec -->

</div></td>
         </tr>
        </table>
                
          <br />
         <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
         <tr>
         <td class="catHead" height="25"><span class="genmed"><b><font color="#330066">Super Links</font></b></span></td>
         </tr>
         <tr>
         <td class="row1" align="center"><div style="position:relative; width=100%; height:75px; overflow:auto">
           Your Link Here? e-mail webmaster<br>
<a href="mailto:feldon@feldon.be"><font size="2">Feldon</font></a>

</div></td>
         </tr>
        </table><br />            
       
      </td></tr></table>
   </td>
  </tr>
</table>
         <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
   <tr>
   <td class="row1" align="center"><span class="genmed">{FEROZ_DAY_LIST}</span></td>
   </tr>
   </table>
   
<br />
Benutzeravatar
feldon
 
Beiträge: 18
Registriert: 10. Jan 2005 16:40

Beitragvon AmigaLink » 12. Jan 2005 16:15

That is feasible. Give me few meet time, because I have momentarily problems with my other board.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon feldon » 12. Jan 2005 18:35

Ok

Take your time...

Thank YOU
Benutzeravatar
feldon
 
Beiträge: 18
Registriert: 10. Jan 2005 16:40

Beitragvon AmigaLink » 1. Feb 2005 14:36

Ok, here it is -> http://www.amigalink.de/viewtopic.php?t=108 :D

By the way I, into whom next meet, become the Mod update. Thus that the indicator also in the group overview appears (as here on my board). 8)
Best you activate the email notification in this thread, so that you with update are informed. :wink:
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon feldon » 1. Feb 2005 15:22

Thank you very much.

It works fine!
Benutzeravatar
feldon
 
Beiträge: 18
Registriert: 10. Jan 2005 16:40

Beitragvon AmigaLink » 1. Feb 2005 15:39

Super! I could not test it with this Mod, because I use another Top poster box. :wink:
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW


Zurück zu Another Online/Offline Indicator



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste