����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/st2/photos/common/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/st2/photos/common/views/photo.php
<?php $this->layout('template', ['title' => "Your Media Item", 'back' => 'index.php']) ?>

<div id="photo">
    <div id="metadata">
        <table class="mdl-data-table mdl-js-data-table">
            <tr>
                <th class="mdl-data-table__cell--non-numeric">Media Item ID</th>
                <td class="mdl-data-table__cell--non-numeric"><?= $mediaItem->getId() ?></td>
            </tr>
            <tr>
                <th class="mdl-data-table__cell--non-numeric">Creation Time</th>
                <td class="mdl-data-table__cell--non-numeric">
                    <?php
                    echo $mediaItem->getMediaMetadata()
                        ->getCreationTime()
                        ->toDateTime()
                        ->format('j F Y g:ia');
                    ?>
                </td>
            </tr>
            <tr>
                <th class="mdl-data-table__cell--non-numeric">Camera</th>
                <td class="mdl-data-table__cell--non-numeric">
                <?php
                if (null !== $mediaItem->getMediaMetadata()->getPhoto()) {
                    echo $mediaItem->getMediaMetadata()->getPhoto()->getCameraMake() . ' '
                        . $mediaItem->getMediaMetadata()->getPhoto()->getCameraModel();
                } elseif (null !== $mediaItem->getMediaMetadata()->getVideo()) {
                    echo $mediaItem->getMediaMetadata()->getVideo()->getCameraMake() . ' '
                        . $mediaItem->getMediaMetadata()->getVideo()->getCameraModel();
                }
                ?>
                </td>
            </tr>
            <tr>
                <th class="mdl-data-table__cell--non-numeric">Size</th>
                <td class="mdl-data-table__cell--non-numeric">
                    <?= $mediaItem->getMediaMetadata()->getWidth() . ' X ' .
                    $mediaItem->getMediaMetadata()->getHeight() ?>
                </td>
            </tr>
            <tr>
                <th class="mdl-data-table__cell--non-numeric">Camera Details</th>
                <?php if (null !== $mediaItem->getMediaMetadata()->getPhoto()) : ?>
                    <td class="mdl-data-table__cell--non-numeric">
                        <?= $mediaItem->getMediaMetadata()->getPhoto()->getFocalLength() . ' ' .
                            $mediaItem->getMediaMetadata()->getPhoto()->getApertureFNumber() . ' ' .
                            $mediaItem->getMediaMetadata()->getPhoto()->getIsoEquivalent() . ' ' .
                            $mediaItem->getMediaMetadata()->getPhoto()->getExposureTime() ?>
                    </td>
                <?php elseif (null !== $mediaItem->getMediaMetadata()->getVideo()) : ?>
                    <td class="mdl-data-table__cell-non-numeric">
                        <?= $mediaItem->getMediaMetadata()->getVideo()->getFps() . 'fps';?>
                    </td>
                <?php endif ?>
            </tr>
        </table>
    </div>
    <img src="<?= $mediaItem->getBaseUrl() . '=w780' ?>"/>
</div>


ZeroDay Forums Mini