Tadashi Okoshi
slash****@users*****
2005年 6月 30日 (木) 07:36:36 JST
Index: affelio/bin/get_content.cgi diff -u affelio/bin/get_content.cgi:1.6 affelio/bin/get_content.cgi:1.7 --- affelio/bin/get_content.cgi:1.6 Thu Jun 30 07:27:15 2005 +++ affelio/bin/get_content.cgi Thu Jun 30 07:36:35 2005 @@ -6,7 +6,7 @@ # http://affelio.jp/ (Japan) # http://affelio.jp/ (USA and other area) # -# $Id: get_content.cgi,v 1.6 2005/06/29 22:27:15 slash5234 Exp $ +# $Id: get_content.cgi,v 1.7 2005/06/29 22:36:35 slash5234 Exp $ use strict; @@ -239,9 +239,19 @@ if( $visitor_type >= 2){ $mystatus = $af->{user__currentstatus}; } -# print "Content-type:application/x-javascript\n\n"; -# print "document.write(\"$mystatus\");"; -# print "\n\n"; + print "Content-type:application/x-javascript\n\n"; + print "document.write(\"$mystatus\");"; + print "\n\n"; + exit(1); + } + + if($content eq "/profile/mystatus_iframe"){ + + debug_print("get_content: mystatus!"); + my $mystatus=" "; + if( $visitor_type >= 2){ + $mystatus = $af->{user__currentstatus}; + } print "Content-type: text/html; charset=UTF-8\n"; print "Pragma: no-cache\n\n"; print "<HTML>$mystatus</HTML>";