Changeset 1613 for temp/trunk
- Timestamp:
- 2006/08/24 13:06:57 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/Smarty/templates/admin/main_frame.tpl (modified) (previous)
-
html/admin/products/index.php (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/products/index.php
r1612 r1613 1 1 <?php 2 2 3 //require_once("../../require.php");4 //require_once("./index_csv.php");5 require_once("../../require2.php");3 require_once("../../require.php"); 4 require_once("./index_csv.php"); 5 //require_once("../../require2.php"); 6 6 7 7 class LC_Page { … … 11 11 var $arrPageMax; 12 12 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"; 15 15 // $this->tpl_mainpage = 'order/index.tpl'; 16 16 … … 20 20 $this->tpl_pager = ROOT_DIR . 'data/Smarty/templates/admin/pager.tpl'; 21 21 $this->tpl_subtitle = '¾¦ÉÊ¥Þ¥¹¥¿'; 22 /* 22 23 23 global $arrPageMax; 24 24 $this->arrPageMax = $arrPageMax; … … 29 29 global $arrPRODUCTSTATUS_COLOR; 30 30 $this->arrPRODUCTSTATUS_COLOR = $arrPRODUCTSTATUS_COLOR; 31 */ 31 32 32 } 33 33 } … … 36 36 $objView = new SC_AdminView(); 37 37 $objSess = new SC_Session(); 38 //$objDate = new SC_Date();39 40 /* 38 $objDate = new SC_Date(); 39 40 41 41 // ÅÐÏ¿¡¦¹¹¿·¸¡º÷³«»Ïǯ 42 42 $objDate->setStartYear(RELEASE_YEAR); … … 222 222 // ÆÉ¤ß¹þ¤àÎó¤È¥Æ¡¼¥Ö¥ë¤Î»ØÄê 223 223 $col = "product_id, name, category_id, main_list_image, status, product_code, price01, price02, stock, stock_unlimited"; 224 // $col = "'a'";225 224 $from = "vw_products_nonclass"; 226 225 … … 257 256 // ¸¡º÷·ë²Ì¤Î¼èÆÀ 258 257 $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"; 264 263 265 264 break; … … 267 266 } 268 267 } 269 */ 268 /* 270 269 $arrProducts = Array 271 270 ( … … 412 411 413 412 $objPage->arrProducts = $arrProducts; 414 /* 413 */ 415 414 416 415 // ¥«¥Æ¥´¥ê¤ÎÆÉ¹þ 417 416 $objPage->arrCatList = sfGetCategoryList(); 418 417 $objPage->arrCatIDName = lfGetIDName($objPage->arrCatList); 419 */ 418 420 419 // ²èÌ̤Îɽ¼¨ 421 420 $objView->assignobj($objPage); … … 423 422 424 423 //--------------------------------------------------------------------------------------------------------------------------------------------------------- 425 /* 424 426 425 // ¼èÆÀʸ»úÎó¤ÎÊÑ´¹ 427 426 function lfConvertParam() { … … 433 432 * V : ÂùÅÀÉÕ¤¤Îʸ»ú¤ò°ìʸ»ú¤ËÊÑ´¹¡£"K","H"¤È¶¦¤Ë»ÈÍѤ·¤Þ¤¹ 434 433 * n : ¡ÖÁ´³Ñ¡×¿ô»ú¤ò¡ÖȾ³Ñ(Êݶ¸)¡×¤ËÊÑ´¹ 435 */ /*434 */ 436 435 $arrConvList['search_name'] = "KVa"; 437 436 $arrConvList['search_product_code'] = "KVa"; … … 445 444 } 446 445 } 447 /*448 446 449 447 // ¥¨¥é¡¼¥Á¥§¥Ã¥¯ … … 485 483 return $arrRet; 486 484 } 487 */ 485 488 486 ?>
Note: See TracChangeset
for help on using the changeset viewer.
