Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/products/detail_image.php

    r12157 r15078  
    1010class LC_Page { 
    1111    function LC_Page() { 
    12         /** ɬ¤º»ØÄꤹ¤ë **/ 
    13         $this->tpl_mainpage = 'products/detail_image.tpl';          // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È 
     12        /** 必ず指定する **/ 
     13        $this->tpl_mainpage = 'products/detail_image.tpl';          // メインテンプレート 
    1414    } 
    1515} 
     
    1919$objCartSess = new SC_CartSession("", false); 
    2020 
    21 // ´ÉÍý¥Ú¡¼¥¸¤«¤é¤Î³Îǧ¤Î¾ì¹ç¤Ï¡¢Èó¸ø³«¤Î¾¦Éʤâɽ¼¨¤¹¤ë¡£ 
     21// 管理ページからの確認の場合は、非公開の商品も表示する。 
    2222if($_GET['admin'] == 'on') { 
    2323    $where = "del_flg = 0"; 
     
    2626} 
    2727 
    28 // ÃͤÎÀµÅöÀ­¥Á¥§¥Ã¥¯ 
     28// 値の正当性チェック 
    2929if(!sfIsInt($_GET['product_id']) || !sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) { 
    3030    sfDispSiteError(PRODUCT_NOT_FOUND); 
Note: See TracChangeset for help on using the changeset viewer.