select($sql); if (file_exists($result[0]['filepath'])) { $size = getimagesize($result[0]['filepath']); $show = true; $file = $result[0]['filepath']; } } else { // deprecated functionality... $imagePath = str_replace($glob['rootRel'], '', $_GET['file']); $imagePath = CC_ROOT_DIR.CC_DS.str_replace('/', CC_DS, $imagePath); $size = getimagesize($imagePath); $file = $_GET['file']; } $pageWidth = $size[0]+12; $pageHeight = $size[1]+12; $skipFooter = true; ?> <?php echo $lang['admin']['filemanager_prev_file'];?> >
<?php echo $lang['admin']['filemanager_close_window'];?>