Changeset 1247

Show
Ignore:
Timestamp:
08/07/08 14:21:00 (4 months ago)
Author:
_ck_
Message:

show count in display window title

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mini-track/trunk/mini-track.php

    r1246 r1247  
    116116$bb_uri=bb_get_option('uri'); $profile=$bb_uri."profile.php?id="; 
    117117if (isset($_GET['mini_track_reset'])) {@bb_update_option('mini_track','');} 
    118 echo '<html><head><meta http-equiv="refresh" content="'.$mini_track_options['display_refresh_time'].';url='.$bb_uri.'?mini_track_display" /> 
     118$mini_track=bb_get_option('mini_track'); 
     119echo '<html><head><title>'.count($mini_track).' Users Online &laquo; '.bb_get_option('name').'</title> 
     120<meta http-equiv="refresh" content="'.$mini_track_options['display_refresh_time'].';url='.$bb_uri.'?mini_track_display" /> 
    119121<style>table {border:1px solid #111;} table td {text-align:center;} table .link {text-align:left;} table th.link {padding-left:5em;} 
    120122table th {background: #aaa;} .alt {background: #eee;} .time {font-size:85%;} .bot {color:red;} .guest {color:green;} </style></head><body>'; 
     
    123125echo "<br clear=both /><br /><table width='99%' cellpadding=1 cellspacing=1> 
    124126<tr class=alt><th>#</th><th>user</th><th>pages</th><th>last activity</th><th class=link>last URL</th></tr>"; 
    125 $mini_track=bb_get_option('mini_track'); 
    126127$mini_track=array_reverse($mini_track,true); 
    127128$counter=0;