Changeset 5224 for temp/trunk/html


Ignore:
Timestamp:
2006/09/20 13:02:41 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/contents/inquiry.php

    r5223 r5224  
    6363$objSess = new SC_Session(); 
    6464 
    65 $i=0; 
    66 sfprintr($i+1); 
    67  
    6865// ǧ¾Ú²ÄÈݤÎȽÄê 
    6966sfIsSuccess($objSess); 
     
    7370                    , "3"=>"¥Á¥§¥Ã¥¯¥Ü¥Ã¥¯¥¹", "4"=>"¥é¥¸¥ª¥Ü¥¿¥ó"  
    7471                ); 
    75  
    76  
    77 sfprintr($i+1); 
    7872                 
    7973$sql = "SELECT *, cast(substring(create_date, 1, 10) as date) as disp_date FROM dtb_question WHERE del_flg = 0 ORDER BY question_id"; 
    8074$result = $conn->getAll($sql); 
    8175$objPage->list_data = $result; 
    82 sfprintr($i+1);              
     76                         
    8377if ( $_GET['mode'] == 'regist' ){ 
    84 sfprintr($i+1); 
     78 
    8579    for ( $i=0; $i<count($_POST["question"]); $i++ ) { 
    8680        $_POST['question'][$i]['name'] = mb_convert_kana( trim ( $_POST['question'][$i]['name'] ), "K" ); 
     
    8983        } 
    9084    } 
    91 sfprintr($i+1); 
     85     
    9286    $error = lfErrCheck(); 
    9387 
     
    9791            //ÅÐÏ¿ 
    9892            $value = serialize($_POST); 
    99             $sql_val = array( $value, $_POST['title'] ,$question_id ); 
    10093            if (DB_TYPE == "pgsql") { 
    10194                $question_id = $objQuery->nextval('dtb_question', 'question_id'); 
    10295            } 
     96            $sql_val = array( $value, $_POST['title'] ,$question_id ); 
    10397            $conn->query("INSERT INTO dtb_question ( question, question_name, question_id, create_date) VALUES (?, ?, ?, now())", $sql_val ); 
    10498            $objPage->MESSAGE = "ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿"; 
     
    176170 
    177171 
    178  
    179172// ------------  ¥¨¥é¡¼¥Á¥§¥Ã¥¯½èÍýÉô ------------   
    180173 
Note: See TracChangeset for help on using the changeset viewer.