Server IP : 180.180.241.3 / Your IP : 216.73.216.252 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 : /AppServ/www/news/components/com_phocagallery/views/user/tmpl/ |
Upload File : |
<?php defined('_JEXEC') or die('Restricted access'); echo '<div id="phocagallery-user">'.$this->tmpl['iepx']; ?> <fieldset> <legend><?php echo JText::_( 'PHOCAGALLERY_USER' ); ?></legend> <table> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_USER');?>:</strong></td> <td><?php echo $this->tmpl['user']?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_USERNAME');?>:</strong></td> <td><?php echo $this->tmpl['username']?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_MAIN_CATEGORY');?>:</strong></td> <td><?php echo $this->tmpl['usermaincategory']?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_NUMBER_OF_SUBCATEGORIES');?>:</strong></td> <td><?php echo $this->tmpl['usersubcategory'] . ' ('.JText::_('PHOCAGALLERY_MAX').': '.$this->tmpl['usersubcatcount'].', '.JText::_('PHOCAGALLERY_LEFT').': '.$this->tmpl['usersubcategoryleft'].')'; ?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_NUMBER_OF_IMAGES');?>:</strong></td> <td><?php echo $this->tmpl['userimages']; ?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_USED_SPACE');?>:</strong></td> <td><?php echo $this->tmpl['userimagesspace']. ' ('.JText::_('PHOCAGALLERY_MAX').': '.$this->tmpl['userimagesmaxspace'].', '.JText::_('PHOCAGALLERY_LEFT').': '.$this->tmpl['userimagesspaceleft'].')'; ?></td> </tr> </table> </fieldset> <?php if ($this->tmpl['enableuploadavatar'] == 1) { ?> <fieldset> <legend><?php echo JText::_( 'PHOCAGALLERY_UPLOAD_AVATAR' ).' [ '. JText::_( 'PHOCAGALLERY_MAX_SIZE' ).': '.$this->tmpl['uploadmaxsizeread'].',' .' '.JText::_('PHOCAGALLERY_MAX_RESOLUTION').': '. $this->tmpl['uploadmaxreswidth'].' x '.$this->tmpl['uploadmaxresheight'].' px ]'; ?></legend> <form onsubmit="return OnUploadSubmitUserPG();" action="<?php echo $this->tmpl['actionamp'] . $this->session->getName().'='.$this->session->getId(); ?>&<?php echo JUtility::getToken();?>=1&viewback=user" id="uploadForm" method="post" enctype="multipart/form-data"> <table> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_AVATAR');?>:</strong></td> <td><?php echo $this->tmpl['useravatarimg']?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_APPROVED');?>:</strong></td> <td><?php if ($this->tmpl['useravatarapproved'] == 1) { echo JHTML::_('image', $this->tmpl['pi'].'icon-publish.'.$this->tmpl['fi'], JText::_('PHOCAGALLERY_APPROVED')); } else { echo JHTML::_('image', $this->tmpl['pi'].'icon-unpublish.'.$this->tmpl['fi'], JText::_('PHOCAGALLERY_NOT_APPROVED')); } ?></td> </tr> <tr> <td><strong><?php echo JText::_('PHOCAGALLERY_FILENAME');?>:</strong></td> <td> <input type="file" id="file-upload" name="Filedata" /> <input type="submit" id="file-upload-submit" value="<?php echo JText::_('Start Upload'); ?>"/> <span id="upload-clear"></span> </td> </tr> </table> <ul class="upload-queue" id="upload-queue"> <li style="display: none" ></li> </ul> <?php echo JHTML::_( 'form.token' ); ?> <input type="hidden" name="task" value="uploadavatar"/> <input type="hidden" name="tab" value="<?php echo $this->tmpl['currenttab']['user'];?>" /> <input type="hidden" name="controller" value="user" /> <input type="hidden" name="viewback" value="user" /> <input type="hidden" name="view" value="user"/> <input type="hidden" name="Itemid" value="<?php echo JRequest::getVar('Itemid', 0, '', 'int') ?>"/> </form> <div id="loading-label-user" style="text-align:center"><?php echo JHTML::_('image', $this->tmpl['pi'].'icon-switch.gif', '') . ' '. JText::_('Loading'); ?></div> </fieldset> <?php } echo '</div>'; ?>