Changeset 10940 for temp/branches/ec-cube-beta/html/admin/contents
- Timestamp:
- 2006/12/18 21:06:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/html/admin/contents/campaign_create_tag.php
r10939 r10940 13 13 $this->tpl_mainpage = 'contents/campaign_create_tag.tpl'; 14 14 $this->tpl_mainno = 'create'; 15 $this->tpl_subnavi = ''; 16 $this->tpl_subno = ""; 17 $this->tpl_subtitle = '¾¦ÉÊÁªÂò'; 15 $this->tpl_subtitle = '¾¦ÉÊ¥³¡¼¥É'; 18 16 } 19 17 } … … 27 25 sfIsSuccess($objSess); 28 26 29 if ($_POST['mode'] == "search") {27 switch($_POST['mode']) { 30 28 29 case 'search': 31 30 // POSTÃͤΰú¤·Ñ¤® 32 31 $objPage->arrForm = $_POST; … … 61 60 $where.= $tmp_where . " )"; 62 61 break; 63 case 'search_product_id': 64 if($val != "") { 65 $where .= " AND product_id = ?"; 66 if(!sfIsInt($val)) $val = 0; 67 $arrval[] = $val; 68 } 62 case 'search_product_code': 63 $where .= " AND product_id IN (SELECT product_id FROM dtb_products_class WHERE product_code LIKE ? GROUP BY product_id)"; 64 $where .= " OR product_code LIKE ?"; 65 $arrval[] = "%$val%"; 66 $arrval[] = "%$val%"; 67 break; 68 default: 69 69 break; 70 70 default: … … 106 106 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 107 107 $objPage->arrProducts = $objQuery->select($col, $from, $where, $arrval); 108 108 break; 109 case 'view': 110 "<a href=\"#\" onclick="fmFormModeSubmit()">"; 111 $create_tag = 112 $objPage->tpl_create_tag = $create_tag; 113 break; 109 114 } 110 115
Note: See TracChangeset
for help on using the changeset viewer.
