Changeset 4967 for temp/trunk
- Timestamp:
- 2006/09/17 22:11:41 (20 years ago)
- Location:
- temp/trunk/html/admin
- Files:
-
- 8 edited
-
basis/delivery_input.php (modified) (1 diff)
-
batch/daily.php (modified) (1 diff)
-
contents/inquiry.php (modified) (1 diff)
-
mail/index.php (modified) (2 diffs)
-
products/bak_upload_csv.php (modified) (2 diffs)
-
products/product.php (modified) (1 diff)
-
products/upload_csv.inc (modified) (previous)
-
total/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/basis/delivery_input.php
r4966 r4967 96 96 } else { 97 97 // ÅÐÏ¿¤¹¤ëÇÛÁ÷¶È¼ÔID¤Î¼èÆÀ 98 // $deliv_id = $objQuery->nextval('dtb_deliv', 'deliv_id');99 // $sqlval['deliv_id'] = $deliv_id;100 98 $sqlval['rank'] = $objQuery->max("dtb_deliv", "rank") + 1; 101 99 // INSERT¤Î¼Â¹Ô 102 100 $objQuery->insert("dtb_deliv", $sqlval); 101 $deliv_id = $objQuery->nextval('dtb_deliv', 'deliv_id'); 102 103 103 } 104 104 -
temp/trunk/html/admin/batch/daily.php
r4952 r4967 49 49 return; 50 50 } 51 51 52 52 // ½¸·× 53 53 for ($i = $start; $i < $term; $i++) { -
temp/trunk/html/admin/contents/inquiry.php
r4854 r4967 92 92 if ( ! is_numeric($_POST['question_id']) ){ 93 93 //ÅÐÏ¿ 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 99 94 $value = serialize($_POST); 100 95 $sql_val = array( $value, $_POST['title'] ,$question_id ); 101 96 $conn->query("INSERT INTO dtb_question ( question, question_name, question_id ) VALUES (?, ?, ?)", $sql_val ); 102 97 $objPage->MESSAGE = "ÅÐÏ¿¤¬´°Î»¤·¤Þ¤·¤¿"; 98 99 $objQuery = new SC_Query(); 100 $question_id = $objQuery->nextval('dtb_question', 'question_id'); 103 101 $objPage->QUESTION_ID = $question_id; 104 102 sfReload(); -
temp/trunk/html/admin/mail/index.php
r4850 r4967 377 377 378 378 $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'); 380 380 $dtb_send_history["mail_method"] = $arrData['mail_method']; 381 381 $dtb_send_history["subject"] = $arrData['subject']; … … 386 386 $arrData['body'] = ""; 387 387 $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 ); 389 389 390 390 if ( is_array( $search_data ) ){ -
temp/trunk/html/admin/products/bak_upload_csv.php
r4608 r4967 195 195 } 196 196 197 $product_id = $objQuery->nextval("dtb_products", "product_id");198 $sqlval['product_id'] = $product_id;199 197 $sqlval['status'] = 2; // Èóɽ¼¨¤ËÀßÄꤹ¤ë¡£ 200 198 $sqlval['update_date'] = "Now()"; … … 207 205 // INSERT¤Î¼Â¹Ô 208 206 $objQuery->insert("dtb_products", $sqlval); 207 208 $product_id = $objQuery->nextval("dtb_products", "product_id"); 209 $sqlval['product_id'] = $product_id; 210 209 211 } 210 212 -
temp/trunk/html/admin/products/product.php
r3360 r4967 303 303 304 304 if($arrList['product_id'] == "") { 305 $product_id = $objQuery->nextval("dtb_products", "product_id");306 $sqlval['product_id'] = $product_id;307 305 // ¥«¥Æ¥´¥êÆâ¤ÇºÇÂç¤Î¥é¥ó¥¯¤ò³ä¤êÅö¤Æ¤ë 308 306 $sqlval['rank'] = $objQuery->max("dtb_products", "rank", "category_id = ?", array($arrList['category_id'])) + 1; 309 307 // INSERT¤Î¼Â¹Ô 310 308 $objQuery->insert("dtb_products", $sqlval); 309 310 $product_id = $objQuery->nextval("dtb_products", "product_id"); 311 $sqlval['product_id'] = $product_id; 311 312 } else { 312 313 $product_id = $arrList['product_id']; -
temp/trunk/html/admin/total/index.php
r4845 r4967 764 764 $objPage->arrResults = $objQuery->select($col, $from, $where, $arrval); 765 765 766 $objQuery->getlastquery(); 767 766 768 // ÀÞ¤ìÀþ¥°¥é¥Õ¤ÎÀ¸À® 767 769 if($graph) {
Note: See TracChangeset
for help on using the changeset viewer.
