Changeset 9222 for temp/trunk/html


Ignore:
Timestamp:
2006/11/27 21:11:08 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/products/detail_image.php

    r9221 r9222  
    3838$arrRet = $objQuery->select($col, "dtb_products", "product_id = ?", array($_GET['product_id'])); 
    3939 
    40 if (sfIsInt($_GET['width']) && sfIsInt($_GET['height'])) { 
    41 /*   
    42     $objPage->tpl_width = $_GET['width']; 
    43     $objPage->tpl_height = $_GET['height'];      
    44 */ 
    45     list($width, $height) = getimagesize(IMAGE_SAVE_DIR . $arrRet[0][$image_key]); 
    46     $objPage->tpl_width = $width; 
    47     $objPage->tpl_height = $height; 
    48 } else { 
    49     list($width, $height) = getimagesize(IMAGE_SAVE_DIR . $arrRet[0][$image_key]); 
    50     $objPage->tpl_width = $width; 
    51     $objPage->tpl_height = $height; 
    52 } 
     40list($width, $height) = getimagesize(IMAGE_SAVE_DIR . $arrRet[0][$image_key]); 
     41$objPage->tpl_width = $width; 
     42$objPage->tpl_height = $height; 
    5343 
    5444$objPage->tpl_table_width = $objPage->tpl_width + 20; 
Note: See TracChangeset for help on using the changeset viewer.