annotate event/oasis2017/ikusei/daizu.rb @ 3441:05f1568dbb18

tamago.rb 変更
author OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
date Fri, 28 Jul 2017 12:07:00 +0900
parents 97423bc9f575
children d7ed175808d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
1 #!/usr/bin/env ruby
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
3 Encoding.default_internal = "UTF-8"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
4 Encoding.default_external = "UTF-8"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
5
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
6 require 'cgi'
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
7 require 'csv'
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
8 require 'sqlite3'
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
9 c = CGI.new(:accept_charset => "UTF-8")
3440
97423bc9f575 daizu.rb 変更2
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3439
diff changeset
10 #print "Content-type: text/html; charset=UTF-8\n\n"
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
11
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
12 number = c["rd"]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
13 img = c["img"]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
14
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
15 file = "../db/point.sq3"
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
16 #cookie≫
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
17 cookie_id=c.cookies["id"][0]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
18
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
19 form_seikai=c["seikai"] #罩hВ??
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
20 form_name=c["playname"] #ュ
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
21
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
22 someValue="IKC"
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
23
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
24
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
25 if cookie_id == nil
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
26 newid = Time.now.to_i.to_s + "/" + rand(99999).to_s
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
27 id = newid
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
28 else
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
29 id = cookie_id
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
30 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
31
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
32 # idcookieх御吟
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
33 # 紊違24荐絎expire紊違ャ
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
34 expire = (Time.now+24*3600).gmtime.strftime("%a, %d %b %Y %H:%M:%S GMT")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
35 printf("Content-type: text/html; charset=UTF-8\n")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
36 printf("Set-Cookie: id=%s; expires=%s\n\n", id, expire)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
37
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
38 db = SQLite3::Database.new(file)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
39 db.execute("PRAGMA foreign_keys=on")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
40 db.execute("CREATE TABLE IF NOT EXISTS " +
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
41 "users(id text primary key, name text, creation text)")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
42 db.execute("CREATE TABLE IF NOT EXISTS " +
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
43 "point(id, keyword text, FOREIGN KEY(id) REFERENCES users(id))")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
44
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
45
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
46 if form_seikai > "" && id > ''# 罩hВ
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
47 db.execute("DELETE FROM point WHERE id=?", id)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
48 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
49
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
50 # cookie∫c障сc
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
51
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
52 ################################################################## 若句脂
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
53 playname = form_name
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
54 if form_name > "" # 若name
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
55 now = Time.now.strftime("%F %T")
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
56 db.execute("REPLACE INTO users VALUES(?, ?, ?)", id, form_name, now);
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
57 else # 若namedb
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
58
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
59 # dbname = db.execute("SELECT name from users WHERE id=?", id)[0][0]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
60 #if dbname != nil
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
61 # playname = dbname # 若帥若鴻ゅ
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
62 #end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
63 #end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
64
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
65 dbname = db.execute("SELECT name from users WHERE id=?", id)[0]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
66 if dbname != nil && dbname[0]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
67 playname = dbname[0]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
68 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
69 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
70
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
71
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
72 if playname == ""
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
73 print(<<-EOF)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
74 <form action="#{File.basename($0)}" method="POST">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
75 <p>ゅャ:
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
76 <input type="text" name="playname">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
77 <input type="submit" value="篆">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
78 <input type="reset" value="祉">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
79 </form>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
80 EOF
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
81 exit
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
82 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
83 #printf("<h1>%sc潟</h1>\n", playname)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
84 ##################################################################
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
85
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
86
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
87
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
88 number = c["rd"]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
89 img = c["img"]
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
90 def outinput(value, name)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
91 printf("<label><input type=\"radio\" name=\"rd\" value=\"%s\">%s</label>", value, name)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
92 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
93
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
94 def imgsrc(img)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
95 printf("<img src=\"%s\">", img)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
96 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
97
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
98 if number == "" #莎桁
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
99 number = "1" #number"1"篁e
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
100 end
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
101
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
102
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
103 x = Hash.new
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
104 CSV.foreach("daizu.csv") do |row|
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
105 q_number = row.shift
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
106 question = row.shift
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
107 x[q_number] = [question, Hash[*row]]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
108 ##x[number] = {"Q" => question, "A" => Hash[*row]}
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
109 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
110 #p x
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
111 #encoding:"SJIS:UTF-8"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
112
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
113 gazou1="07.png"#1若悟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
114 link1 ="07.png"#1若悟潟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
115 alt1 ="daizu"#1若悟alt糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
116 gazou2="08.png"#2若悟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
117 link2 ="08.png"#2若悟潟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
118 alt2 ="tounyu"#2若悟alt糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
119 gazou3="09.png"#3若悟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
120 link3 ="09.png"#3若悟潟糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
121 alt3 ="toufu"#3若悟alt糸
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
122 ongaku1="daizu1.mp3"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
123 ongaku2="daizu2.mp3"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
124 ongaku3="daizu3.mp3"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
125 ongaku4="daizu.ogg"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
126
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
127
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
128 def outinput(value, name)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
129 printf("<label><input type=\"radio\" name=\"rd\" value=\"%s\">%s</label>", value, name)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
130 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
131
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
132 def imgsrc(img)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
133 printf("<img src=\"%s\">", img)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
134 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
135
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
136 if number == "" #莎桁
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
137 number = "1" #number"1"篁e
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
138 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
139
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
140 print(<<-EOF)
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
141 <!DOCTYPE html>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
142 <html lang="ja">
3441
05f1568dbb18 tamago.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3440
diff changeset
143 <head><title>紊ц</title>
3440
97423bc9f575 daizu.rb 変更2
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3439
diff changeset
144 <link rel="stylesheet" type="text/css" href="daizu.css" >
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
145 <meta name="viewport" content="width=device-width">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
146 </head>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
147 <body>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
148 EOF
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
149 printf("<h1>%sc潟</h1>\n", playname)
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
150
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
151 #print"<!DOCTYPE html>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
152 #<html><head><title>紊ц</title>
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
153 #<meta name=\"viewport\" content=\"width=device#-width,initial-scale=1\">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
154 #<link rel=\"stylesheet\" type=\"text/css\" hre#f=\"daizu.css\">
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
155 #</head><body>\n"
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
156
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
157 print"<form method=\"POST\" action=\"./daizu.rb\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
158
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
159 q = x[number]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
160
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
161 #ifу翫馹茵罩hВ筝罩hВ鐚筝罩hВ鐚鐚鐚
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
162
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
163 if number == "1" || number == "5" || number == "9" #
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
164 printf("<p>%s</p>", q[0])
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
165 if number == "1"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
166
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
167 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link1,gazou1,alt1)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
168
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
169 elsif number == "5"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
170 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link2,gazou2,alt2)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
171 elsif number == "9"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
172 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link3,gazou3,alt3)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
173 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
174 for v, sel in q[1]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
175 outinput(v, sel)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
176 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
177 print"<input name=\"ok\" type=\"submit\" value=\"篆\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
178 print"<input name=\"ng\" type=\"reset\" value=\"祉\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
179
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
180 elsif number == "3" || number == "8" || number == "10" #罩hВ
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
181 printf("%s", q[0])
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
182 #printf("%s", q[1])
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
183 if number == "3"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
184 print("<p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
185 printf("<audio controls autoplay loop false preload=\"auto\"><source src=\"%s\"></audio>",ongaku1)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
186 print("<\p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
187
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
188 printf("<label><input type=\"radio\" name=\"rd\" value=\"5\">罨<檎蚊<br></label>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
189 # printf("<input type=\"submit\" value=\"罨<\">")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
190
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
191 elsif number =="8"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
192 print("<p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
193
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
194 printf("<audio controls autoplay loop false preload=\"auto\"><source src=\"%s\"></audio>",ongaku2)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
195 print("</p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
196 printf("<label><input type=\"radio\" name=\"rd\" value=\"9\">罨<檎蚊<br></label>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
197
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
198
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
199
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
200 elsif number == "10"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
201 print("<p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
202
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
203 printf("<audio controls autoplay loop false preload=\"auto\"><source src=\"%s\"></audio>",ongaku3)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
204 print("<\p>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
205 printf("<label><input type=\"radio\" name=\"rd\" value=\"13\">罨<檎蚊<br></label>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
206 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
207 printf("<input type=\"submit\" value=\"罨<\">")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
208
3439
f047cb0b8798 daizu.rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3372
diff changeset
209 db.execute("REPLACE INTO point VALUES(?, ?)", id, someValue)
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
210
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
211
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
212
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
213
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
214 elsif number == "2" || number == "6" || number == "11" #筝罩hВ1
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
215 print("<h1>罧綽居筝綺若</h1>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
216 printf("<p>%s</p>", q[0])
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
217 if number == "2"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
218 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link1,gazou1,alt1)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
219 elsif number == "6"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
220 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link2,gazou2,alt2)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
221 elsif number == "11"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
222 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link3,gazou3,alt3)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
223 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
224 for v, sel in q[1]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
225 outinput(v, sel)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
226 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
227 print"<input name=\"ok\" type=\"submit\" value=\"篆\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
228 print"<input name=\"ng\" type=\"reset\" value=\"祉\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
229
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
230
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
231
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
232 elsif number == "4" || number == "7" || number == "12" #筝罩hВ2
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
233 print("<h1>鐚筝綺c帥若</h1>")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
234 printf("<p>%s</p>", q[0])
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
235 if number == "4"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
236 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link1,gazou1,alt1)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
237 elsif number == "7"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
238 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link2,gazou2,alt2)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
239 elsif number == "12"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
240 printf("<p><a href=\"%s\"><img src=\"%s\" alt=\"%s\" height=\"300px\" width=\"300px\"></a></p>",link3,gazou3,alt3)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
241 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
242 for v, sel in q[1]
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
243 outinput(v, sel)
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
244 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
245 print"<input name=\"ok\" type=\"submit\" value=\"篆\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
246 print"<input name=\"ng\" type=\"reset\" value=\"祉\">\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
247
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
248 elsif number == "13"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
249 print("<p>恰ソ</p>\n")
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
250 printf("<audio controls autoplay loop false preload=\"auto\"><source src=\"%s\"></audio>\n",ongaku4)
3367
03b7aca282e2 rb 変更
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents: 3352
diff changeset
251 #printf("<p><a href=\"http://roy.e.koeki-u.ac.jp/~c115036/ikusei2017/ikusei.html\">top若吾祉</a></p>\n")
3352
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
252 end
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
253
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
254 print"</form>\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
255 print "</body>\n"
a63e4b2c5bd7 daizu.rb chmod
OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp>
parents:
diff changeset
256 print "</html>\n"

yatex.org