Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 876:5c55f5aff8c9
test2
author | ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp> |
---|---|
date | Fri, 23 Oct 2015 17:00:33 +0900 |
parents | 528050c7a576 |
children | 2f34ff276538 |
files | opencampus2015/admin/check.rb |
diffstat | 1 files changed, 16 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/opencampus2015/admin/check.rb Fri Oct 23 16:55:19 2015 +0900 +++ b/opencampus2015/admin/check.rb Fri Oct 23 17:00:33 2015 +0900 @@ -68,6 +68,20 @@ pts += "</table>" +system`sqlite3 -header on -mode html /sql/main.sq3` +if c["SQ3"] == "" +else +upd = c["SQ3"] +hoge = db.execute(upd) +end + + + + + + + + print"Content-type: text/html; charset=UTF-8\n\n" @@ -76,7 +90,7 @@ #if getAC1 == pass -printf(<<_EOS_, pts) +printf(<<_EOS_, pts,hoge) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> @@ -116,8 +130,7 @@ </form> <p>%s<br></p> - -<address>skip@xxxx.co.jp</address> +<p>%s</p> <footer></footer> </body> </html>