Changeset 4967 for temp/trunk


Ignore:
Timestamp:
2006/09/17 22:11:41 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/html/admin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/basis/delivery_input.php

    r4966 r4967  
    9696    } else { 
    9797        // ÅÐÏ¿¤¹¤ëÇÛÁ÷¶È¼ÔID¤Î¼èÆÀ 
    98 //      $deliv_id = $objQuery->nextval('dtb_deliv', 'deliv_id'); 
    99 //      $sqlval['deliv_id'] = $deliv_id; 
    10098        $sqlval['rank'] = $objQuery->max("dtb_deliv", "rank") + 1; 
    10199        // INSERT¤Î¼Â¹Ô 
    102100        $objQuery->insert("dtb_deliv", $sqlval); 
     101        $deliv_id = $objQuery->nextval('dtb_deliv', 'deliv_id'); 
     102 
    103103    } 
    104104     
  • temp/trunk/html/admin/batch/daily.php

    r4952 r4967  
    4949        return; 
    5050    } 
    51          
     51 
    5252    // ½¸·× 
    5353    for ($i = $start; $i < $term; $i++) { 
  • temp/trunk/html/admin/contents/inquiry.php

    r4854 r4967  
    9292        if ( ! is_numeric($_POST['question_id']) ){ 
    9393            //ÅÐÏ¿ 
    94 //          $sql = "select nextval('dtb_question_question_id_seq');"; 
    95 //          $question_id = $conn->getOne($sql); 
    96             $objQuery = new SC_Query(); 
    97             $deliv_id = $objQuery->nextval('dtb_question', 'question_id'); 
    98              
    9994            $value = serialize($_POST); 
    10095            $sql_val = array( $value, $_POST['title'] ,$question_id ); 
    10196            $conn->query("INSERT INTO dtb_question ( question, question_name, question_id ) VALUES (?, ?, ?)", $sql_val ); 
    10297            $objPage->MESSAGE = "ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿"; 
     98             
     99            $objQuery = new SC_Query(); 
     100            $question_id = $objQuery->nextval('dtb_question', 'question_id'); 
    103101            $objPage->QUESTION_ID = $question_id; 
    104102            sfReload(); 
  • temp/trunk/html/admin/mail/index.php

    r4850 r4967  
    377377     
    378378    $dtb_send_history = array(); 
    379     $dtb_send_history["send_id"] = $objQuery->nextval('dtb_send_history', 'send_id'); 
     379//  $dtb_send_history["send_id"] = $objQuery->nextval('dtb_send_history', 'send_id'); 
    380380    $dtb_send_history["mail_method"] = $arrData['mail_method']; 
    381381    $dtb_send_history["subject"] = $arrData['subject']; 
     
    386386    $arrData['body'] = ""; 
    387387    $dtb_send_history["search_data"] = serialize($arrData); 
    388     $conn->autoExecute("dtb_send_history", $dtb_send_history );      
     388    $conn->autoExecute("dtb_send_history", $dtb_send_history );  
    389389     
    390390    if ( is_array( $search_data ) ){ 
  • temp/trunk/html/admin/products/bak_upload_csv.php

    r4608 r4967  
    195195    } 
    196196     
    197     $product_id = $objQuery->nextval("dtb_products", "product_id"); 
    198     $sqlval['product_id'] = $product_id; 
    199197    $sqlval['status'] = 2;  // Èóɽ¼¨¤ËÀßÄꤹ¤ë¡£ 
    200198    $sqlval['update_date'] = "Now()"; 
     
    207205    // INSERT¤Î¼Â¹Ô 
    208206    $objQuery->insert("dtb_products", $sqlval); 
     207     
     208    $product_id = $objQuery->nextval("dtb_products", "product_id"); 
     209    $sqlval['product_id'] = $product_id; 
     210     
    209211} 
    210212 
  • temp/trunk/html/admin/products/product.php

    r3360 r4967  
    303303 
    304304    if($arrList['product_id'] == "") { 
    305         $product_id = $objQuery->nextval("dtb_products", "product_id"); 
    306         $sqlval['product_id'] = $product_id; 
    307305        // ¥«¥Æ¥´¥êÆâ¤ÇºÇÂç¤Î¥é¥ó¥¯¤ò³ä¤êÅö¤Æ¤ë 
    308306        $sqlval['rank'] = $objQuery->max("dtb_products", "rank", "category_id = ?", array($arrList['category_id'])) + 1; 
    309307        // INSERT¤Î¼Â¹Ô 
    310308        $objQuery->insert("dtb_products", $sqlval); 
     309         
     310        $product_id = $objQuery->nextval("dtb_products", "product_id"); 
     311        $sqlval['product_id'] = $product_id; 
    311312    } else { 
    312313        $product_id = $arrList['product_id']; 
  • temp/trunk/html/admin/total/index.php

    r4845 r4967  
    764764        $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval); 
    765765         
     766        $objQuery->getlastquery(); 
     767         
    766768        // ÀÞ¤ìÀþ¥°¥é¥Õ¤ÎÀ¸À®    
    767769        if($graph) { 
Note: See TracChangeset for help on using the changeset viewer.