Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/nuevo_overlayedit.tpl.php
Строк: 125
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?php echo $this->fetch('errors'); ?>
    <?php echo $this->fetch('messages'); ?>
    <?php echo $this->fetch('warnings'); ?>
    
    <div id="container" class="clearfix">
        <div id="page">
            <?php echo $this->fetch('nuevo_menu'); ?>
            <div class="content clearfix">
                <?php echo $this->fetch('nuevo_ads_menu'); ?>
                
                <div class="tabContent clearfix">
                <br />
                
                <?php if($this->ad): ?>

                <form name="nuevo-form" id="nuevo-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=nuevo/overlayedit&amp;id=<?php echo $this->ad['ID']; ?>">
                <center><div class="tab1" style="display:table;text-align:left;">
                    <fieldset class="clearfix">
                    <legend style="color:#990000;">Statistics</legend>
                    <center>
                    <table border="0" cellspacing="3">
                    <tr><td align="center" style="padding: 0px 5px;color:#990000"><b>Impressions<b></td>
                    <td align="center" style="padding: 0px 5px;color:#990000"><b>Clicks</b></td>
                    <td align="center" style="padding: 0px 5px;color:#990000"><b>CTR</b></td></tr>
                    <tr><td align="center" style="padding: 0px 5px"><?php echo $this->ad['views']; ?></td>
                    <td align="center" style="padding: 0px 5px"><?php echo $this->ad['hits']; ?></td>
                    <td align="center" style="padding: 0px 5px"><?php echo $this->ad['CTR']; ?> %</td></tr>
                    </table>
                    </center>
                    </fieldset>
                    <br /><br />
                    <fieldset class="clearfix">
                    <legend style="color:#990000;">Edit overlay ad</legend>
                    <br />
                    <div class="required">
                        <label for="title">Ad title</label>
                        <input name="title" type="text" value="<?php echo e($this->ad['title']); ?>" class="large" /> (max 20 chars)
                    </div>
                    <div class="required">
                        <label for="owner">Ad owner name</label>
                        <input name="owner" type="text" value="<?php echo e($this->ad['owner']); ?>" maxlength="20" class="large" /> (max 20 chars)
                    </div>
                    <div class="required">
                        <label for="title">Ad owner email</label>
                        <input name="email" type="text" value="<?php echo e($this->ad['email']); ?>" class="large" />
                    </div>
                    <div class="required">
                        <label for="media">Ad source URL</label>
                        <input name="media" type="text" value="<?php echo e($this->ad['media']); ?>" class="large" /> (jpg,gif,png)
                    </div>
                    <div class="required">
                        <label for="url">Click URL</label>
                        <input name="url" type="text" value="<?php echo e($this->ad['url']); ?>" class="large" />
                    </div>
                    <div class="required">
                        <label for="active">Link target</label>
                        <select name="target">
                        <option value="_self" selected="selected">_self</option>
                        <option value="_blank"<?php if($this->ad['target']=='_blank') echo 'selected="selected"'?>>_blank</option>
                        </select>
                    </div>
                    <div class="required">
                        <label for="start">Overlay show time</label>
                        <input name="start" type="text" value="<?php echo e($this->ad['start']); ?>" class="tiny" /> (in seconds)
                    </div>
                    <div class="required">
                        <label for="pause">Overlay pause video</label>
                        <select name="pause">
                        <option value="1">Yes, pause video</option>
                        <option value="0"<?php if($this->ad['pause']!='1') echo 'selected="selected"'?>>No, do not pause video</option>
                        </select>
                    </div>
                    <div class="required">
                        <label for="delay">Overlay close button delay</label>
                        <input name="delay" type="text" value="<?php echo e($this->ad['delay']); ?>" class="tiny" /> (seconds)
                    </div>
                    <div class="required">
                        <label for="channel">Video channel</label>
                        <select name="channel">
                        <option value="0" selected="selected">All channels</option>
                        <?php foreach ($this->categories as $chn): ?>
                            <option value="<?php echo $chn['cat_id']; ?>"<?php if($this->ad['channel']==$chn['cat_id']) echo ' selected="selected"'?>><?php echo $chn['name']; ?></option>
                        <?php endforeach; ?>
                        </select>
                    </div>                    <div class="required">
                        <label for="active">Active</label>
                        <select name="active">
                        <option value="0" selected="selected">No</option>
                        <option value="1"<?php if($this->ad['active']=='1') echo 'selected="selected"'?>>Yes</option>
                        </select>
                    </div>
                    <br />
                    <div class="submit">
                        <input name="update_ad" type="submit" class="button butDef" value=" Update Overlay Ad " />
                    </div>
                    <br />
                </div></center>
                </form>

                <?php else: ?>
                    <div class="none">Invalid ad ID</div>
                <?php endif; ?>

                </div>
            </div>
        </div>
    </div>
Онлайн: 2
Реклама