----------------[ Online.cgi ]-----------
if ($tot <= $end_at) { $end_at = $tot; }
for ($i = $start_at; $i < $end_at; $i++) {
($usertime,$username,$host_ip,
$where) = split(/|^|/,$found[$i]);
if ($username =~ /.inv/ && !$adminstatus) { next; }
undef($invisible);
if ($username =~ /.inv/) {
$username =~ s/.inv//;
$invisible = " (invisible)";
}
if ($username eq "guest") {
$guest_counter++;
$username = "Guest #" . "$guest_counter";
}
if ($hostinfo) {
$hostname = gethostbyaddr(inet_aton($host_ip), AF_INET);
if (!$hostname) { $hostname = $host_ip; }
}
if ($hostinfo) { $hostname = "
($hostname)"; }
&get_date($usertime);
if ($DateFormat eq "USX") { $DateFormat = "USExpanded"; }
$TheDate = &DateFormat("$mon-$mday-$year", "$DateFormat");
$TheTime = &TimeFormat("$hour:$min");
print "
if ($i % 2) {print "$AltColumnColor1";} else {print "$AltColumnColor2";}
$username =~ s/.(.*)//g;
$UserNameCoded = &HTMLIFY("$username");
$UserNameCoded =~ tr/ /+/;
if ($username !~ /Guest/) {
print qq(> ); } else { print qq(> | ); } print qq($username $invisible $hostname |
$where |
$TheTime |
);
}
------------------------------------------
I am trying to hide a certain forum from the who is online list.
$where displays the persons location. What kind of code can I add in to make
$where reflect something else? Also it is a link.. I don't want it to be a link.
help? anyone?!
[ April 25, 2001 06:23 PM: Message edited by: napalm ]