changeset 2505:3b4765a58a7d

rename girl
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Fri, 10 Jul 2015 17:11:39 +0900
parents 860e03f72365
children 0376af46d1c2
files oasis2015/gets.rb oasis2015/gohan.rb oasis2015/img/girl1.png oasis2015/img/girl2.png oasis2015/img/girl3.png oasis2015/img/girl4.png oasis2015/img/girl5.png oasis2015/img/maiko1.png oasis2015/img/maiko2.png oasis2015/img/maiko3.png oasis2015/img/maiko4.png oasis2015/img/maiko5.png oasis2015/index.html oasis2015/prof.rb
diffstat 14 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/gets.rb	Fri Jul 10 12:33:43 2015 +0900
+++ b/oasis2015/gets.rb	Fri Jul 10 17:11:39 2015 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#!/usr/bin/env ruby22
 # -*- coding:utf-8 -*-
 
 require 'sqlite3'
@@ -36,7 +36,7 @@
 c5 = 5
 c6 = 100
 
-h1 = "チケットを発行したよ!"
+h1 = "チケットを発行したよ!<br>さかたっちスタッフの人と商品をこうかんしてね!"
 if gets == "s1" && pt >= c1
 g1 += 1
 pt -= c1
--- a/oasis2015/gohan.rb	Fri Jul 10 12:33:43 2015 +0900
+++ b/oasis2015/gohan.rb	Fri Jul 10 17:11:39 2015 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby 22
+#!/usr/bin/env ruby22
 # -*- coding: utf-8 -*-
 require 'cgi'
 require 'sqlite3'
@@ -116,7 +116,7 @@
 pt = cook[0][7]
 lv = cook[0][8]
   
-printf(<<_EOS_, image, alt, name, exp, pt, kekka, back)
+printf(<<_EOS_, image, alt, name, pt, kekka, back)
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 	"http://www.w3.org/TR/html4/strict.dtd">
@@ -137,8 +137,8 @@
 
 <p>
 %sさん<br>
-exp:%d<br>
-pt:%d<br>
+<br>
+さかたポイント:%dp<br>
 %s
 </p>
 
Binary file oasis2015/img/girl1.png has changed
Binary file oasis2015/img/girl2.png has changed
Binary file oasis2015/img/girl3.png has changed
Binary file oasis2015/img/girl4.png has changed
Binary file oasis2015/img/girl5.png has changed
Binary file oasis2015/img/maiko1.png has changed
Binary file oasis2015/img/maiko2.png has changed
Binary file oasis2015/img/maiko3.png has changed
Binary file oasis2015/img/maiko4.png has changed
Binary file oasis2015/img/maiko5.png has changed
--- a/oasis2015/index.html	Fri Jul 10 12:33:43 2015 +0900
+++ b/oasis2015/index.html	Fri Jul 10 17:11:39 2015 +0900
@@ -12,7 +12,7 @@
 
 <form method="POST" action="./accountcheck.rb">
 <table>
-<tr><td>名前</td><td><input name="name" type="text" size="15"></td></tr>
+<tr><td>名前</td><td><input name="name" type="text" size="15"  placeholder="名前"></td></tr>
 <tr><td>性別</td><td><select name="sex">
          <option value="B">男
          <option value="G">女
--- a/oasis2015/prof.rb	Fri Jul 10 12:33:43 2015 +0900
+++ b/oasis2015/prof.rb	Fri Jul 10 17:11:39 2015 +0900
@@ -266,7 +266,7 @@
 
 #以下のprintfについて
 #pre*4はstyleの部分、<h2>{margin(本来OS_,per,gage,per,per,per,name...)
-printf(<<_EOS_, per, gage, per, per, per, color, cook, kkget, image, alt, name, person, cal, lv, pt, m1, mimg1, m2, mimg2)
+printf(<<_EOS_, per, gage, per, per, per, color, kkget, image, alt, name, person, cal, lv, pt, m1, mimg1, m2, mimg2)
 
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
@@ -295,7 +295,7 @@
 </head>
 
 <body>
-<header><p>%s</p></header>
+<header><p></p></header>
 <h1>さかたっち</h1>
 <h2>%s</h2>
 

yatex.org