| Server IP : 180.180.241.3 / Your IP : 216.73.216.216 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/administrator/components/com_phocagallery/views/phocagalleryd/tmpl/ |
Upload File : |
<?php defined('_JEXEC') or die('Restricted access'); ?>
<table border="0" width="100%">
<tr>
<td align="center" valign="middle" height="486"><?php
if (isset($this->file->extid) && $this->file->extid !='') {
$resW = explode(',', $this->file->extw);
$resH = explode(',', $this->file->exth);
$correctImageRes = PhocaGalleryImage::correctSizeWithRate($resW[0], $resH[0], 640, 480);
echo '<a href="#" onclick="window.parent.document.getElementById(\'sbox-window\').close();">'. JHTML::_('image', $this->file->extl .'?imagesid='.md5(uniqid(time())), '').'</a>';
} else if ($this->file->linkthumbnailpath=='') {
echo '<center style="font-size:large;font-weight:bold;color:#b3b3b3;font-family: Helvetica, sans-serif;">'. JText::_( 'Filename does not exist' ).'</center>';
} else {
echo '<a href="#" onclick="window.parent.document.getElementById(\'sbox-window\').close();">'. JHTML::_('image', $this->file->linkthumbnailpath .'?imagesid='.md5(uniqid(time())), '').'</a>';
}
?>
</td>
</tr>
</table>