Changeset 16226
- Timestamp:
- 2007/10/01 17:04:04 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php
r16166 r16226 280 280 $this->lfInitFile(); 281 281 282 // 管理ページからの確認の場合は、非公開の商品も表示する。 283 if($_GET['admin'] == 'on') { 284 $where = "del_flg = 0"; 285 } else { 286 $where = "del_flg = 0 AND status = 1"; 287 } 288 289 if($_POST['mode'] != "") { 282 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 283 284 if(!empty($_POST['mode'])) { 290 285 $tmp_id = $_POST['product_id']; 291 286 } else { … … 446 441 447 442 // 拡大画像のウィンドウサイズをセット 448 list($large_width, $large_height) = getimagesize(IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"])); 449 $this->tpl_large_width = $large_width + 60; 450 $this->tpl_large_height = $large_height + 80; 443 if (!empty($this->arrFile["main_large_image"])) { 444 list($large_width, $large_height) = getimagesize(IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"])); 445 } 446 $this->tpl_large_width = isset($large_width) ? $large_width + 60 : 0; 447 $this->tpl_large_height = isset($large_height) ? $large_height + 80 : 0; 451 448 452 449 $objView->assignobj($this);
Note: See TracChangeset
for help on using the changeset viewer.