Warning: Can't use blame annotator:
svn blame failed on branches/feature-module-update/html/frontparts/bloc/search_products.php: バイナリファイル 'file:///home/svn/open/branches/feature-module-update/html/frontparts/bloc/search_products.php' に対しては blame で各行の最終変更者を計算できません 195004

source: branches/feature-module-update/html/frontparts/bloc/search_products.php @ 15152

Revision 15152, 1.1 KB checked in by nanasess, 17 years ago (diff)

slib.php のクラス化対応

  • Property svn:keywords set to Id
  • Property svn:mime-type set to application/x-httpd-php; charset=UTF-8
RevLine 
1<?php
2/*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7class LC_SearchProductsPage {
8    function LC_SearchProductsPage() {
9        /** 必ず変更する **/
10        $this->tpl_mainpage = BLOC_PATH . 'search_products.tpl';    // メイン
11    }
12}
13
14$objSubPage = new LC_SearchProductsPage();
15$arrSearch = array();   // 検索項目表示用
16
17// 選択中のカテゴリIDを判定する
18$objSubPage->category_id = SC_Utils_Ex::sfGetCategoryId($_GET['product_id'], $_GET['category_id']);
19// カテゴリ検索用選択リスト
20$arrRet = SC_Utils_Ex::sfGetCategoryList('', true, ' ');
21
22if(is_array($arrRet)) {
23    // 文字サイズを制限する
24    foreach($arrRet as $key => $val) {
25        $arrRet[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN);
26    }
27}
28$objSubPage->arrCatList = $arrRet;
29
30$objSubView = new SC_SiteView();
31$objSubView->assignobj($objSubPage);
32$objSubView->display($objSubPage->tpl_mainpage);
33//-----------------------------------------------------------------------------------------------------------------------------------
34?>
Note: See TracBrowser for help on using the repository browser.