• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

magic framework の開発


Commit MetaInfo

Revisiona14a9acc56dc14d2e83d256b6157ec7689215473 (tree)
Time2011-12-16 12:09:22
Authortaka451213 <taka451213@hotm...>
Commitertaka451213

Log Message

Merge branch 'master' of
taka451213@git.pf.sourceforge.jp:/gitroot/t/ta/taka451213/magic.git

Signed-off-by: taka451213 <taka451213@hotmail.com>

Change Summary

Incremental Difference

--- a/koshien/app/dao/pc/IndexDao.php
+++ b/koshien/app/dao/pc/IndexDao.php
@@ -14,32 +14,32 @@ final class IndexDao extends Dao {
1414 $res->execute();
1515 return $res->fetchAll(PDO::FETCH_ASSOC);
1616 }
17- public function deleteTournament($userNo, $tournamentNo) {
18- $stmt = " delete from ms_tournament";
19- $stmt .= " where user_no = ?";
20- $stmt .= " and tournament_no = ?";
21- $res = $this->pdo->prepare($stmt);
22- $res->execute(array($userNo, $tournamentNo));
23- return $res->rowCount();
24- }
25- public function updateTournament($userNo, $tournamentNo) {
26- $stmt = " update ms_tournament";
27- $stmt .= " set status = 1";
28- $stmt .= " where user_no = ?";
29- $stmt .= " and tournament_no = ?";
30- $stmt .= " and status = 0";
31- $res = $this->pdo->prepare($stmt);
32- $res->execute(array($userNo, $tournamentNo));
33- return $res->rowCount();
34- }
35- public function selectImage($userNo, $tournamentNo) {
36- $stmt = " select main_image";
37- $stmt .= " from ms_tournament";
38- $stmt .= " where user_no = ?";
39- $stmt .= " and tournament_no = ?";
40- $res = $this->pdo->prepare($stmt);
41- $res->execute(array($userNo, $tournamentNo));
42- return $res->fetchColumn();
43- }
17+// public function deleteTournament($userNo, $tournamentNo) {
18+// $stmt = " delete from ms_tournament";
19+// $stmt .= " where user_no = ?";
20+// $stmt .= " and tournament_no = ?";
21+// $res = $this->pdo->prepare($stmt);
22+// $res->execute(array($userNo, $tournamentNo));
23+// return $res->rowCount();
24+// }
25+// public function updateTournament($userNo, $tournamentNo) {
26+// $stmt = " update ms_tournament";
27+// $stmt .= " set status = 1";
28+// $stmt .= " where user_no = ?";
29+// $stmt .= " and tournament_no = ?";
30+// $stmt .= " and status = 0";
31+// $res = $this->pdo->prepare($stmt);
32+// $res->execute(array($userNo, $tournamentNo));
33+// return $res->rowCount();
34+// }
35+// public function selectImage($userNo, $tournamentNo) {
36+// $stmt = " select main_image";
37+// $stmt .= " from ms_tournament";
38+// $stmt .= " where user_no = ?";
39+// $stmt .= " and tournament_no = ?";
40+// $res = $this->pdo->prepare($stmt);
41+// $res->execute(array($userNo, $tournamentNo));
42+// return $res->fetchColumn();
43+// }
4444 }
4545 // EOF.
\ No newline at end of file