This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/advertisements/show.php

48 lines
1.3 KiB
PHP
Raw Normal View History

2013-11-21 20:08:11 +01:00
<h4>Advertisement #<?= $this->ad->id ?></h4>
<div>
<label><?= $this->humanize('id') ?></label>
<?= $this->ad->id ?>
</div>
2013-12-02 03:26:35 +01:00
<div>
<label><?= $this->humanize('ad_type') ?></label>
<?= $this->ad->ad_type ?>
</div>
<div>
<label><?= $this->humanize('status') ?></label>
<?= $this->ad->status ?>
</div>
<div>
<label><?= $this->humanize('hit_count') ?></label>
<?= $this->ad->hit_count ?>
</div>
<?php if ($this->ad->html) : ?>
<div>
<label>Html</label>
<pre style="font-size:1.15em;margin:0px;">
<?= $this->h($this->ad->html) ?>
</pre>
</div>
<?php else: ?>
2013-11-21 20:08:11 +01:00
<div>
<label><?= $this->humanize('image_url') ?></label>
<?= $this->ad->image_url ?>
</div>
<div>
<label><?= $this->humanize('referral_url') ?></label>
<?= $this->ad->referral_url ?>
</div>
<div>
<label><?= $this->humanize('width') ?></label>
<?= $this->ad->width ?>
</div>
<div>
<label><?= $this->humanize('height') ?></label>
<?= $this->ad->height ?>
</div>
2013-12-02 03:26:35 +01:00
<?php endif ?>
2013-11-21 20:08:11 +01:00
<?= $this->linkTo($this->t('buttons.edit'), $this->editAdvertisementPath($this->ad)) ?>
<?= $this->linkTo($this->t('buttons.delete'), $this->ad, ['data' => ['confirm' => $this->t('confirmations.is_sure')], 'method' => 'delete']) ?>
<?= $this->linkTo($this->t('buttons.back'), $this->advertisementsPath()) ?>