Changeset 1613 for temp/trunk


Ignore:
Timestamp:
2006/08/24 13:06:57 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/index.php

    r1612 r1613  
    11<?php 
    22 
    3 //require_once("../../require.php"); 
    4 //require_once("./index_csv.php"); 
    5 require_once("../../require2.php"); 
     3require_once("../../require.php"); 
     4require_once("./index_csv.php"); 
     5//require_once("../../require2.php"); 
    66 
    77class LC_Page { 
     
    1111    var $arrPageMax; 
    1212    function LC_Page() { 
    13 //      $this->tpl_mainpage = 'products/index.tpl'; 
    14         $this->tpl_mainpage="products/test.tpl"; 
     13        $this->tpl_mainpage = 'products/index.tpl'; 
     14//      $this->tpl_mainpage="products/test.tpl"; 
    1515//      $this->tpl_mainpage = 'order/index.tpl'; 
    1616 
     
    2020        $this->tpl_pager = ROOT_DIR . 'data/Smarty/templates/admin/pager.tpl'; 
    2121        $this->tpl_subtitle = '¾¦ÉÊ¥Þ¥¹¥¿'; 
    22         /* 
     22 
    2323        global $arrPageMax; 
    2424        $this->arrPageMax = $arrPageMax; 
     
    2929        global $arrPRODUCTSTATUS_COLOR; 
    3030        $this->arrPRODUCTSTATUS_COLOR = $arrPRODUCTSTATUS_COLOR; 
    31         */ 
     31 
    3232    } 
    3333} 
     
    3636$objView = new SC_AdminView(); 
    3737$objSess = new SC_Session(); 
    38 //$objDate = new SC_Date(); 
    39  
    40 /* 
     38$objDate = new SC_Date(); 
     39 
     40 
    4141// ÅÐÏ¿¡¦¹¹¿·¸¡º÷³«»Ïǯ 
    4242$objDate->setStartYear(RELEASE_YEAR); 
     
    222222            // ÆÉ¤ß¹þ¤àÎó¤È¥Æ¡¼¥Ö¥ë¤Î»ØÄê 
    223223            $col = "product_id, name, category_id, main_list_image, status, product_code, price01, price02, stock, stock_unlimited"; 
    224 //          $col = "'a'"; 
    225224            $from = "vw_products_nonclass"; 
    226225 
     
    257256            // ¸¡º÷·ë²Ì¤Î¼èÆÀ 
    258257            $objPage->arrProducts = $objQuery->select($col, $from, $where, $arrval); 
    259             $arrProducts = $objQuery->select($col, $from, $where, $arrval); 
    260              
    261             $objPage->arrTest = $arrProducts; 
    262              
    263             $objPage->tpl_mainpage="products/test.tpl"; 
     258//          $arrProducts = $objQuery->select($col, $from, $where, $arrval); 
     259             
     260//          $objPage->arrTest = $arrProducts; 
     261             
     262//          $objPage->tpl_mainpage="products/test.tpl"; 
    264263 
    265264            break; 
     
    267266    } 
    268267} 
    269 */ 
     268/* 
    270269$arrProducts = Array 
    271270( 
     
    412411 
    413412$objPage->arrProducts = $arrProducts; 
    414 /* 
     413*/ 
    415414 
    416415// ¥«¥Æ¥´¥ê¤ÎÆÉ¹þ 
    417416$objPage->arrCatList = sfGetCategoryList(); 
    418417$objPage->arrCatIDName = lfGetIDName($objPage->arrCatList); 
    419 */ 
     418 
    420419// ²èÌ̤Îɽ¼¨ 
    421420$objView->assignobj($objPage); 
     
    423422 
    424423//--------------------------------------------------------------------------------------------------------------------------------------------------------- 
    425 /* 
     424 
    426425// ¼èÆÀʸ»úÎó¤ÎÊÑ´¹  
    427426function lfConvertParam() { 
     
    433432     *  V :  ÂùÅÀÉÕ¤­¤Îʸ»ú¤ò°ìʸ»ú¤ËÊÑ´¹¡£"K","H"¤È¶¦¤Ë»ÈÍѤ·¤Þ¤¹   
    434433     *  n :  ¡ÖÁ´³Ñ¡×¿ô»ú¤ò¡ÖȾ³Ñ(ŽÊŽÝ޶ޏ)¡×¤ËÊÑ´¹ 
    435      *//* 
     434     */ 
    436435    $arrConvList['search_name'] = "KVa"; 
    437436    $arrConvList['search_product_code'] = "KVa"; 
     
    445444    } 
    446445} 
    447 /* 
    448446 
    449447// ¥¨¥é¡¼¥Á¥§¥Ã¥¯  
     
    485483    return $arrRet; 
    486484} 
    487 */ 
     485 
    488486?> 
Note: See TracChangeset for help on using the changeset viewer.