Subversion Repositories Koakuma

Rev

Rev 23 | Rev 27 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23 Rev 24
Line 1... Line 1...
1
#!/usr/bin/env tclsh
1
#!/usr/bin/env tclsh
2
# $Id: koakuma.cgi.in 23 2024-10-02 08:02:38Z nishi $
2
# $Id: koakuma.cgi.in 24 2024-10-02 08:13:21Z nishi $
3
 
3
 
4
set KOAKUMA_VERSION "1.00"
4
set KOAKUMA_VERSION "1.00"
5
set components ""
5
set components ""
6
 
6
 
7
chan configure stdout -buffering none
7
chan configure stdout -buffering none
Line 238... Line 238...
238
	rputs	"<html>"
238
	rputs	"<html>"
239
	rputs	"	<head>"
239
	rputs	"	<head>"
240
	rputs	"		<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\">"
240
	rputs	"		<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\">"
241
	rputs	"		<title>$title - Koakuma</title>"
241
	rputs	"		<title>$title - Koakuma</title>"
242
	rputs	"		<link rel=\"stylesheet\" href=\"$css\">"
242
	rputs	"		<link rel=\"stylesheet\" href=\"$css\">"
-
 
243
	set msie " src=\"$koakuma_png\""
-
 
244
	if { [info exists "env(HTTP_USER_AGENT)"] } {
-
 
245
		if { [regexp {MSIE 6} "$env(HTTP_USER_AGENT)"] } {
-
 
246
			set msie " style=\"filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='$koakuma_png', sizingMethod='scale');\" src=\"/static/transparent.gif\""
-
 
247
		}
-
 
248
	}
243
	rputs	"	</head>"
249
	rputs	"	</head>"
244
	rputs	"	<body>"
250
	rputs	"	<body>"
245
	rputs	"		<a href=\"/koakuma\" id=\"gomain\">"
251
	rputs	"		<a href=\"/koakuma\" id=\"gomain\">"
246
	rputs	"			<img src=\"$koakuma_png\" alt=\"Koakuma by Kasuya Baian\" height=\"128px\">"
252
	rputs	"			<img alt=\"Koakuma by Kasuya Baian\" height=\"128px\"$msie>"
247
	rputs	"		</a>"
253
	rputs	"		</a>"
248
	rputs	"		<div id=\"space\"></div>"
254
	rputs	"		<div id=\"space\"></div>"
249
	rputs	"		<div id=\"title\">"
255
	rputs	"		<div id=\"title\">"
250
	rputs	"			Koakuma"
256
	rputs	"			Koakuma"
251
	rputs	"		</div>"
257
	rputs	"		</div>"