source: temp/trunk/html/admin/system/check.php @ 1328

Revision 1328, 566 bytes checked in by naka, 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 *      check.php ²ÔƯ¡¦Èó²ÔƯ¤ÎÀÚÂØ
4 */
5require_once("../require.php");
6
7$conn = new SC_DbConn();
8
9// ǧ¾Ú²ÄÈݤÎȽÄê
10$objSess = new SC_Session();
11sfIsSuccess($objSess);
12
13// GETÃͤÎÀµÅöÀ­¤òȽÄꤹ¤ë
14if(sfIsInt($_GET['id']) && ($_GET['no'] == 1 || $_GET['no'] == 0)){
15    $sqlup = "UPDATE dtb_member SET work = ? WHERE member_id = ?";
16    $conn->query($sqlup, array($_GET['no'], $_GET['id']));
17} else {
18    // ¥¨¥é¡¼½èÍý
19    gfPrintLog("error id=".$_GET['id']);
20}
21
22// ¥Ú¡¼¥¸¤Îɽ¼¨
23$location = "Location: " . URL_SYSTEM_TOP . "?pageno=".$_GET['pageno'];
24header($location);
25?>
Note: See TracBrowser for help on using the repository browser.