Mercurial > hgrepos > hgweb.cgi > skipweb
comparison event/oasis2017/idol/home.rb @ 1752:e4aebce2a7f0
homehome
author | KASHIWAGURA Aya<c115046@?.koeki-u.ac.jp> |
---|---|
date | Sat, 29 Jul 2017 14:34:25 +0900 |
parents | b3f56d39c645 |
children | b31c267e98fe |
comparison
equal
deleted
inserted
replaced
1751:b3f56d39c645 | 1752:e4aebce2a7f0 |
---|---|
1 | 1 |
2 !/usr/bin/env ruby | 2 # !/usr/bin/env ruby |
3 # coding: utf-8 | 3 # coding: utf-8 |
4 | 4 |
5 # tail -f /usr/local/apache2/logs/error_log | 5 # tail -f /usr/local/apache2/logs/error_log |
6 | 6 |
7 require 'sqlite3' | 7 require 'sqlite3' |
111 <p>「%s さん、よ、よろしくお願いします……!」 | 111 <p>「%s さん、よ、よろしくお願いします……!」 |
112 </p> | 112 </p> |
113 </div> | 113 </div> |
114 | 114 |
115 EOF | 115 EOF |
116 name ) | |
117 | |
118 when "white" | 116 when "white" |
119 | 117 |
120 print(<<-EOF, | 118 print(<<-EOF, |
121 <div class="box1"> | 119 <div class="box1"> |
122 <img src="white1.png"> | 120 <img src="white1.png"> |
124 「多くのファンに私たちのライブ見てもらえるよう、頑張ります!%sさん!」 | 122 「多くのファンに私たちのライブ見てもらえるよう、頑張ります!%sさん!」 |
125 </p> | 123 </p> |
126 </div> | 124 </div> |
127 | 125 |
128 EOF | 126 EOF |
129 name) | 127 |
130 end | 128 end |
131 | 129 |
132 qr = ARGV[0] | 130 qr = ARGV[0] |
133 | 131 |
134 | 132 |
135 point = nil | 133 point = nil |
136 if ARGV[0] == "508568506962120147" #1つ目 | 134 if ARGV[0] == "A" #1つ目 |
137 point = "50" | 135 point = "ID1" |
138 elsif ARGV[0] ="381770736200286426" #二つ目 | 136 elsif ARGV[0] ="B" #二つ目 |
139 point = "100" | 137 point = "ID2" |
140 elsif ARGV[0] =="942515613567750545" #三つ目 | 138 elsif ARGV[0] =="C" #三つ目 |
141 point = "60" | 139 point = "ID3" |
142 elsif ARGV[0] =="849054474888775292" #四つ目 | 140 elsif ARGV[0] =="849054474888775292" #四つ目 |
143 point = "80" | 141 point = "80" |
144 elsif ARGV[0] =="61520500659400819" #五つ目 | 142 elsif ARGV[0] =="61520500659400819" #五つ目 |
145 point = "120" | 143 point = "120" |
146 elsif ARGV[0] =="528856582528717535" #六つ目 | 144 elsif ARGV[0] =="528856582528717535" #六つ目 |