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 : /AppServ/www/app/View/People/ |
Upload File : |
<?php echo $this->element('filter-start', array( 'display_helper_text' => true )); echo $this->Form->create('Person', 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', __('วันที่เริ่มเป็นสมาชิก'), 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', __('วันที่สิ้นสุดสภาพ'), 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><!-- .form-group --> <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 __('ข้อมูลเครือข่ายบุคคลรับเรื่องร้องเรียน'); ?> </h2> </div><!-- .page-header --> <div class="row"> <div class="col-md-8 col-md-offset-2"> <table class="table table-striped"> <thead> <tr> <th><?php echo __('ลำดับ') ?></th> <th><?php echo __('ชื่อ - นามสกุล'); ?></th> <th><?php echo __('ชื่อเครือข่ายองค์กร'); ?></th> <th><?php echo __('ประเภทเครือข่าย'); ?></th> </tr> </thead> <tbody> <?php for ( $i = 0; $i < count($people); $i++ ) : ?> <tr> <td><?php echo $this->paginator->counter('{:start}') + $i; ?></td> <td><?php echo $this->Html->link( $people[$i]['Person']['name'], array( 'action' => 'view', $people[$i]['Person']['id']), array( 'title' => $people[$i]['Person']['name'])); ?></td> <td><?php echo $people[$i]['Organization']['name'] ?></td> <td><?php echo $people[$i]['Type'][0]['name'] ?></td> </tr> <?php endfor; ?> </tbody> </table> </div><!-- .col-md --> </div><!-- .row --> <?php echo $this->element('pagination'); ?> </div><!-- .frontend-content --> </div><!-- .col-md-12 --> </div><!-- .row --> </div><!-- .container -->