changeset 3374:e997a921d44d

プログラムを改良
author houtin <c115080@g.koeki-u.ac.jp>
date Tue, 25 Jul 2017 21:51:16 +0900
parents 67a5fb067a43
children bc44ddf6cfb7
files event/oasis2017/quiz/kantan.rb
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/event/oasis2017/quiz/kantan.rb	Tue Jul 25 20:30:16 2017 +0900
+++ b/event/oasis2017/quiz/kantan.rb	Tue Jul 25 21:51:16 2017 +0900
@@ -2,6 +2,8 @@
 # -*- coding: utf-8 -*- 
 
 require 'cgi'
+
+qp = PanelQR.new
 c = CGI.new(:accept_charset => "UTF-8")
 print "Content-type: text/html; charset=UTF-8\n\n"
 
@@ -67,16 +69,19 @@
     printf("<video controls wight=\"320\"height=\"240\"><source src=\"skipseikai1.mp4\"></video>")
     print("<\p>")
     printf("<label><input type=\"radio\" name=\"rd\" value=\"5\">罨<檎蚊<br></label>")
+    pq = regist(ゃゃID?,1)
   elsif number =="8"
     print("<p>")
     printf("<video controls wight=\"320\"height=\"240\"><source src=\"skipseikai4.mp4\"></video>")
     print("</p>")
     printf("<label><input type=\"radio\" name=\"rd\" value=\"9\">罨<檎蚊<br></label>")
+    pq = regist(ゃゃID?,2)
   elsif number == "10"
     print("<p>")
     printf("<video controls wight=\"320\"height=\"240\"><source src=\"skipseikai5.mp4\"></video>")
     print("<\p>")
     printf("<label><input type=\"radio\" name=\"rd\" value=\"13\">罨<檎蚊<br></label>")
+    pq = regist(ゃゃID?,3)
   end
   printf("<input type=\"submit\" value=\"罨<\">")
   

yatex.org