| Revision 5922,
664 bytes
checked in by kakinaka, 20 years ago
(diff) |
|
* empty log message *
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | * Copyright ¢í 2000-2006 LOCKON CO.,LTD. All Rights Reserved. |
|---|
| 4 | * |
|---|
| 5 | * http://www.lockon.co.jp/ |
|---|
| 6 | * |
|---|
| 7 | * check.php ²ÔƯ¡¦Èó²ÔƯ¤ÎÀÚÂØ |
|---|
| 8 | */ |
|---|
| 9 | require_once("../require.php"); |
|---|
| 10 | |
|---|
| 11 | $conn = new SC_DbConn(); |
|---|
| 12 | |
|---|
| 13 | // ǧ¾Ú²ÄÈݤÎȽÄê |
|---|
| 14 | $objSess = new SC_Session(); |
|---|
| 15 | sfIsSuccess($objSess); |
|---|
| 16 | |
|---|
| 17 | // GETÃͤÎÀµÅöÀ¤òȽÄꤹ¤ë |
|---|
| 18 | if(sfIsInt($_GET['id']) && ($_GET['no'] == 1 || $_GET['no'] == 0)){ |
|---|
| 19 | $sqlup = "UPDATE dtb_member SET work = ? WHERE member_id = ?"; |
|---|
| 20 | $conn->query($sqlup, array($_GET['no'], $_GET['id'])); |
|---|
| 21 | } else { |
|---|
| 22 | // ¥¨¥é¡¼½èÍý |
|---|
| 23 | gfPrintLog("error id=".$_GET['id']); |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | // ¥Ú¡¼¥¸¤Îɽ¼¨ |
|---|
| 27 | $location = "Location: " . URL_SYSTEM_TOP . "?pageno=".$_GET['pageno']; |
|---|
| 28 | header($location); |
|---|
| 29 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.