Вход Регистрация
Файл: adultscript-2.0.3-pro/files/admin/templates/default/nuevo_midrolledit.tpl.php
Строк: 137
<?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 />
                <form name="nuevo-form" id="nuevo-form" method="post" action="<?php echo ADMIN_URL?>/index.php?q=nuevo/midrolledit&amp;id=<?php echo e($this->ad['ID']); ?>">
                <center><div class="tab1" style="display:table;text-align:left;">
                    <fieldset class="clearfix">
                    <legend style="color:#990000;">Edit Midroll ad</legend>
                    <br />
                    <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="email">Ad owner email</label>
                        <input name="email" type="text" value="<?php echo e($this->ad['email']); ?>" class="large" />
                    </div>

                    <div class="required">
                        <label for="duration">Show duration</label>
                        <input name="duration" type="text" value="<?php echo e($this->ad['duration']); ?>" maxlength="2" class="tiny" /> (in seconds)
                    </div>

                    <div class="required">
                        <label for="title">Ad title</label>
                        <input name="title" type="text" value="<?php echo e($this->ad['title']); ?>" maxlength="80" class="large" /> (max 80 chars)
                    </div>
                    <div class="required">
                        <label for="description">Ad description</label>
                        <input name="description" type="text" value="<?php echo e($this->ad['description']); ?>" maxlength="150" class="large" /> (max 150 chars)
                    </div>
                    <div class="required">
                        <label for="link">Display link</label>
                        <input name="link" type="text" value="<?php echo e($this->ad['link']); ?>" class="large" />
                    </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="image">Banner URL</label>
                        <input name="image" type="text" value="<?php echo e($this->ad['image']); ?>" class="large" /> (jpg, gif, png)<br />
                        <label for="explain">&nbsp;</label>
                        Image will be rescaled to maximum 80px height and keep aspect ratio for width.
                    </div>
                    <div class="required">
                        <label for="skip">Date expire</label>
                        <select name="month">
                            <option value="1"<?php if($this->ad['month']=='1') echo 'selected="selected"'?>>January</option>
                            <option value="2"<?php if($this->ad['month']=='2') echo 'selected="selected"'?>>February</option>
                            <option value="3"<?php if($this->ad['month']=='3') echo 'selected="selected"'?>>March</option>
                            <option value="4"<?php if($this->ad['month']=='4') echo 'selected="selected"'?>>April</option>
                            <option value="5"<?php if($this->ad['month']=='5') echo 'selected="selected"'?>>May</option>
                            <option value="6"<?php if($this->ad['month']=='6') echo 'selected="selected"'?>>June</option>
                            <option value="7"<?php if($this->ad['month']=='7') echo 'selected="selected"'?>>July</option>
                            <option value="8"<?php if($this->ad['month']=='8') echo 'selected="selected"'?>>August</option>
                            <option value="9"<?php if($this->ad['month']=='9') echo 'selected="selected"'?>>September</option>
                            <option value="10"<?php if($this->ad['month']=='10') echo 'selected="selected"'?>>October</option>
                            <option value="11"<?php if($this->ad['month']=='11') echo 'selected="selected"'?>>November</option>
                            <option value="12"<?php if($this->ad['month']=='12') echo 'selected="selected"'?>>December</option>
                        </select>
                        <select name="day">
                        <?php foreach ($this->days as $day):?>
                            <option value="<?php echo $day?>"<?php if($this->ad['day']==$day) echo 'selected="selected"'?>><?php echo $day?></option>
                        <?php endforeach; ?>
                        </select>
                        <select name="year">
                        <?php foreach ($this->years as $year):?>
                            <option value="<?php echo $year?>"<?php if($this->ad['year']==$year) echo 'selected="selected"'?>><?php echo $year?></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 Midroll Ad " />
                    </div>
                    <br />
                </div></center>
                </form>

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