Changeset 11729 for branches/comu/html/products/detail_image.php
- Timestamp:
- 2007/03/10 21:35:02 (20 years ago)
- File:
-
- 1 edited
-
branches/comu/html/products/detail_image.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu/html/products/detail_image.php
r15 r11729 10 10 class LC_Page { 11 11 function LC_Page() { 12 /** ɬ¤º»ØÄꤹ¤ë**/13 $this->tpl_mainpage = 'products/detail_image.tpl'; // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È12 /** 必ず指定する **/ 13 $this->tpl_mainpage = 'products/detail_image.tpl'; // メインテンプレート 14 14 } 15 15 } … … 19 19 $objCartSess = new SC_CartSession("", false); 20 20 21 // ´ÉÍý¥Ú¡¼¥¸¤«¤é¤Î³Îǧ¤Î¾ì¹ç¤Ï¡¢Èó¸ø³«¤Î¾¦Éʤâɽ¼¨¤¹¤ë¡£21 // 管理ページからの確認の場合は、非公開の商品も表示する。 22 22 if($_GET['admin'] == 'on') { 23 23 $where = "del_flg = 0"; … … 26 26 } 27 27 28 // ÃͤÎÀµÅöÀ¥Á¥§¥Ã¥¯28 // 値の正当性チェック 29 29 if(!sfIsInt($_GET['product_id']) || !sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) { 30 30 sfDispSiteError(PRODUCT_NOT_FOUND);
Note: See TracChangeset
for help on using the changeset viewer.
