changeset 890:c0529dff00e6

hogehge
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Tue, 27 Oct 2015 19:20:23 +0900
parents e98f0b2b07d4
children a8ec072c09a6
files oasis2015/accountcheck.rb oasis2015/prof.rb opencampus2015/accountcheck.rb opencampus2015/prof.rb opencampus2015/quest.rb syuzai/ijyuu.html
diffstat 6 files changed, 19 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/accountcheck.rb	Tue Oct 27 19:13:02 2015 +0900
+++ b/oasis2015/accountcheck.rb	Tue Oct 27 19:20:23 2015 +0900
@@ -83,7 +83,7 @@
 
 
 
-expires = "SAT, 24 Oct 2015 00:00:00 GMT"
+expires = "SAT, 31 Oct 2015 00:00:00 GMT"
 
 printf("Content-type: text/html; charset=UTF-8
 Set-Cookie:id=%s ;expires=%s
--- a/oasis2015/prof.rb	Tue Oct 27 19:13:02 2015 +0900
+++ b/oasis2015/prof.rb	Tue Oct 27 19:20:23 2015 +0900
@@ -134,6 +134,7 @@
 qrAC = qrc            ###生成したハッシュには、"乱数"=>"記号"が入っている
 getAC = ARGV[0].to_i  ###URL?以降の文字(特定の乱数)を取得してgetACに代入
 qr = qrAC[getAC]      ###特定の"乱数"が一致すると、"乱数"=>"記号"がqrに正しく入力される。
+qr = ARGV[0]
 if qr =="a" && q1 == 0
   q1 += 1
   jikan2 = db.execute(jikan1, "a")
--- a/opencampus2015/accountcheck.rb	Tue Oct 27 19:13:02 2015 +0900
+++ b/opencampus2015/accountcheck.rb	Tue Oct 27 19:20:23 2015 +0900
@@ -103,7 +103,7 @@
 
 
 
-expires = "SUN, 25 Oct 2015 00:00:00 GMT"
+expires = "SUN, 5, MAR 2017 00:00:00 GMT"
 
 printf("Content-type: text/html; charset=UTF-8
 Set-Cookie:id=%s ;expires=%s
--- a/opencampus2015/prof.rb	Tue Oct 27 19:13:02 2015 +0900
+++ b/opencampus2015/prof.rb	Tue Oct 27 19:20:23 2015 +0900
@@ -274,8 +274,6 @@
 elsif no2 > 0 && no3 > 0
   chengeform +="<option value = 2>#{cal2}"
 end
-########################
-###lv==5のとき画像を変える###
 
 kakunin = ""
 #########################
@@ -352,14 +350,21 @@
 <p>coin:%d$</p>
 <table><tr><td>
 <!--
-<form method="POST" action="gohan.rb">
+<form method="POST" action="prof.rb">
 <label><input type="checkbox" name="hdn">宿屋<div><br>
-<label><input type="radio" name="gohan" value="g1">馬小屋:10$<img src="./img/food.png" width="16" height="16"></label><br>
-<label><input type="radio" name="gohan" value="g2">客室:50$<img src="./img/niku.png" width="16" height="16"></label><br>
+<label><input type="radio" name="yado" value="g1">馬小屋:10$<img src="./img/food.png" width="16" height="16"></label><br>
+<label><input type="radio" name="yado" value="g2">客室:50$<img src="./img/niku.png" width="16" height="16"></label><br>
 <input type="reset" value="やめる">
 <input type="submit" value="泊まる"></div></label>
 </div></label></form>
 </td><td>
+
+<form method="POST" action="cookie.rb">
+<label><input type="checkbox" name="hdn">闘技場<div><br><br><br>
+<input type="reset" value="いかない">
+<input type="submit" value="バトル"></div></label>
+</div></label></form>
+</td></tr><td>
 -->
 <form method="POST" action="cookie.rb">
 <label><input type="checkbox" name="hdn">人生リセット<div><br><br><br>
--- a/opencampus2015/quest.rb	Tue Oct 27 19:13:02 2015 +0900
+++ b/opencampus2015/quest.rb	Tue Oct 27 19:20:23 2015 +0900
@@ -137,11 +137,15 @@
   xs = ""
 end
 
-x = rand(33)
+x = rand(30)
 if x == 0
 cmpsget ='<input type="submit" name="cmps" value="←">
 <input type="submit" name="cmps" value="↑">
 <input type="submit" name="cmps" value="→">'
+elsif x == 1
+cmpsget ='<input type="submit" name="cmps" value="←">
+<input type="submit" name="cmps" value="↑" disabled>
+<input type="submit" name="cmps" value="→">'
 else
 cmpsget ='<input type="submit" name="cmps" value="←" disabled>
 <input type="submit" name="cmps" value="↑">
--- a/syuzai/ijyuu.html	Tue Oct 27 19:13:02 2015 +0900
+++ b/syuzai/ijyuu.html	Tue Oct 27 19:20:23 2015 +0900
@@ -53,3 +53,4 @@
 
 </body>
 </html>
+hogehoge

yatex.org