[Affelio-cvs 271] CVS update: affelio/lib/Affelio/App/Admin

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 6月 29日 (水) 20:06:56 JST


Index: affelio/lib/Affelio/App/Admin/AccessLog.pm
diff -u affelio/lib/Affelio/App/Admin/AccessLog.pm:1.2 affelio/lib/Affelio/App/Admin/AccessLog.pm:1.3
--- affelio/lib/Affelio/App/Admin/AccessLog.pm:1.2	Wed Jun 29 19:43:12 2005
+++ affelio/lib/Affelio/App/Admin/AccessLog.pm	Wed Jun 29 20:06:56 2005
@@ -4,7 +4,7 @@
 #    http://affelio.jp/ (Japan)
 #    http://affelio.jp/ (USA and other area)
 #
-# $Id: AccessLog.pm,v 1.2 2005/06/29 10:43:12 slash5234 Exp $
+# $Id: AccessLog.pm,v 1.3 2005/06/29 11:06:56 slash5234 Exp $
 
 package Affelio::App::Admin::AccessLog;
 {
@@ -60,7 +60,7 @@
 	###############################
 	#Parse result
 	###############################
-	while( my ($time, $nickname, $afid, $type) = $result->fetchrow_array ){
+	while( my ($id, $time, $nickname, $afid, $type) = $result->fetchrow_array ){
 	    my $true_name;
 	    if($afid =~ /http/){
 		$true_name = '<A HREF="' . $afid . '" target="_blank">' . $nickname . '</A>';
@@ -73,7 +73,8 @@
 	    if($type eq "f2") {$true_type='<AF_M text="_VISITOR_TYPE_F2">';}
 	    if($type eq "f1") {$true_type='<AF_M text="_VISITOR_TYPE_F1">';}
 	    if($type eq "self") {$true_type='<AF_M text="_VISITOR_TYPE_SELF">';}
-	    push(@access_log, {time=> timestamp2string($time),
+	    push(@access_log, {id=> $id,
+			       time=> timestamp2string($time),
 			       nickname => $true_name,
 			       type => $true_type});
 	}


Affelio-cvs メーリングリストの案内
Back to archive index