- Timestamp:
- 2006/11/28 09:42:29 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/class/SC_UploadFile.php (modified) (2 diffs)
-
html/products/detail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_UploadFile.php
r9191 r9253 182 182 183 183 // ¥Õ¥©¡¼¥à¤ËÅϤ¹ÍѤΥե¡¥¤¥ë¾ðÊóÇÛÎó¤òÊÖ¤¹ 184 function getFormFileList($temp_url, $save_url ) {184 function getFormFileList($temp_url, $save_url, $real_size = false) { 185 185 $cnt = 0; 186 186 foreach($this->keyname as $val) { … … 201 201 } 202 202 if($arrRet[$val]['filepath'] != "") { 203 // ¥Õ¥¡¥¤¥ë²£Éý 204 $arrRet[$val]['width'] = $this->width[$cnt]; 205 // ¥Õ¥¡¥¤¥ë½ÄÉý 206 $arrRet[$val]['height'] = $this->height[$cnt]; 203 204 if($real_size){ 205 list($width, $height) = getimagesize($arrRet[$val]['filepath']); 206 // ¥Õ¥¡¥¤¥ë²£Éý 207 $arrRet[$val]['width'] = $width; 208 // ¥Õ¥¡¥¤¥ë½ÄÉý 209 $arrRet[$val]['height'] = $height; 210 }else{ 211 // ¥Õ¥¡¥¤¥ë²£Éý 212 $arrRet[$val]['width'] = $this->width[$cnt]; 213 // ¥Õ¥¡¥¤¥ë½ÄÉý 214 $arrRet[$val]['height'] = $this->height[$cnt]; 215 } 207 216 // ɽ¼¨Ì¾ 208 217 $arrRet[$val]['disp_name'] = $this->disp_name[$cnt]; -
temp/trunk/html/products/detail.php
r9250 r9253 162 162 $objUpFile->setDBFileList($objPage->arrProduct); 163 163 // ¥Õ¥¡¥¤¥ëɽ¼¨ÍÑÇÛÎó¤òÅϤ¹ 164 $objPage->arrFile = $objUpFile->getFormFileList(IMAGE_TEMP_URL, IMAGE_SAVE_URL );164 $objPage->arrFile = $objUpFile->getFormFileList(IMAGE_TEMP_URL, IMAGE_SAVE_URL, true); 165 165 // »ÙʧÊýË¡¤Î¼èÆÀ 166 166 $objPage->arrPayment = lfGetPayment();
Note: See TracChangeset
for help on using the changeset viewer.
