Changeset 10975 for temp


Ignore:
Timestamp:
2006/12/19 00:10:38 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/branches/ec-cube-beta/html/admin/contents/campaign_create_tag.php

    r10974 r10975  
    3232 
    3333switch($_POST['mode']) { 
    34      
     34 
     35// ¾¦Éʸ¡º÷ 
    3536case  'search': 
    3637    // POSTÃͤΰú¤­·Ñ¤® 
    … …  
    4142    $where = "del_flg = 0"; 
    4243     
    43     /* ÆþÎÏ¥¨¥é¡¼¤Ê¤· */ 
     44    // where¶çÀ¸À® 
    4445    foreach ($objPage->arrForm as $key => $val) { 
    4546        if($val == "") { 
    … …  
    112113    $objPage->arrProducts = $objQuery->select($col, $from, $where, $arrval); 
    113114    break; 
     115     
     116// ¥¿¥°É½¼¨ 
    114117case 'view': 
     118    // µ¬³Ê¤Î¾ðÊó¤ò¼èÆÀ 
    115119    $arrProductClass = lfGetProductsClass($_POST['product_id']); 
    116 sfprintr($arrProductClass); 
    117     $create_tag = "<a href=\"#\" onclick=\"fnFormModeSubmit('form1', 'cart', 'product_id', 404)\"><img src=\"images/top/button_03.jpg\" alt=\"¹ØÆþ¤¹¤ë\" width=\"138\" height=\"60\" border=\"0\" style=\"margin-left:10px;\" /></a>"; 
     120     
     121    $create_tag .= "<option value=\"\">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>"; 
     122    foreach($arrProductClass as $arrVal) { 
     123        $classcategory_name = $objQuery->get("dtb_classcategory", "name", "classcategory_id = ?", array($arrVal['classcategory_id1'])); 
     124        $create_tag .= "<option label=\"$classcategory_name\" value=\"" . $arrVal['classcategory_id1'] . "\">" . $classcategory_name . "</option>\n"; 
     125    } 
     126    $create_tag .= "<a href=\"#\" onclick=\"fnFormModeSubmit('form1', 'cart', 'product_id', 404)\"><img src=\"images/top/button_03.jpg\" alt=\"¹ØÆþ¤¹¤ë\" width=\"138\" height=\"60\" border=\"0\" style=\"margin-left:10px;\" /></a>"; 
    118127    $objPage->tpl_create_tag = $create_tag; 
    119128    break; 
Note: See TracChangeset for help on using the changeset viewer.