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/Subtopics/ |
Upload File : |
<div class="admin-list-filters"> <!-- <div class="row"> --> <?php echo $this->Form->create('Subtopic', array( 'class' => 'form-horizontal', 'type' => 'get' )); ?> <div class="form-group"> <?php echo $this->Form->label('keyword', __('ค้นหา'), array( 'class' => 'col-md-3 text-right filter-label' )); echo $this->Form->input('keyword', array( 'label' => false, 'class' => 'form-control', 'div' => 'col-md-8', 'type' => 'text', 'placeholder' => __('ค้นหาจากชื่อ, หมายเหตุ'), 'value' => $keyword )); ?> </div> <div class="form-group"> <?php echo $this->Form->label('topic_id', __('ประเภทสิทธิหลัก'), array( 'class' => 'col-md-3 text-right filter-label' )); echo $this->Form->input('topic_id', array( 'label' => false, 'class' => 'form-control', 'div' => 'col-md-4', 'type' => 'select', 'options' => $topics, 'empty' => __('ทุกประเภทสิทธิหลัก'), 'value' => $topic_id, 'required' => false )); echo $this->Form->submit('ค้นหา', array( 'class' => 'btn btn-success', 'div' => 'col-md-offset-2 col-md-2', 'escape' => false, 'class' => 'btn btn-success btn-block' )); ?> </div> <?php echo $this->Form->end(); ?> </div><!-- .admin-list-filter --> <div class="page-header clearfix"> <h2 class="pull-left admin-title-with-btn"><?php echo __('ทั้งหมด ') . $this->paginator->counter( '{:count}' ) . __(' ประเภท'); ?></h2> <?php echo $this->Html->link('เพิ่ม', array( 'action' => 'add', 'admin' => true ), array( 'class' => 'btn btn-success pull-left' )) ?> <?php echo $this->element('export-buttons'); ?> </div> <div class="table-responsive"> <table class="table table-striped admin-list-data"> <thead> <tr> <th class="text-center"><?php echo __('ลำดับ') ?></th> <th><?php echo __('ประเภทสิทธิย่อย'); ?></th> <th><?php echo __('ประเภทสิทธิหลัก'); ?></th> <th><?php echo __('หมายเหตุ'); ?></th> <th class="text-center"><?php echo __('แก้ไข'); ?></th> <th class="actions text-center"><?php echo __('ลบ'); ?></th> </tr> </thead> <tbody> <?php foreach ($subtopics as $index => $subtopic): ?> <tr> <td class="text-center"><?php echo $this->paginator->counter( '{:start}' ) + $index; ?></td> <td><?php echo h($subtopic['Subtopic']['name']); ?> </td> <td><?php echo h($subtopic['Topic']['name']); ?> </td> <td><?php echo h($subtopic['Subtopic']['note']); ?> </td> <td class="actions text-center"> <?php echo $this->Html->link('<span class="glyphicon glyphicon-pencil"></a>', array('action' => 'edit', $subtopic['Subtopic']['id']), array('escape' => false)); ?> </td> <td class="text-center"> <?php echo $this->Form->postLink('<span class="glyphicon glyphicon-trash"></span>', array('action' => 'delete', $subtopic['Subtopic']['id']), array('escape' => false), __('ยืนยันการปิดการใช้งาน')); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php echo $this->element('pagination'); ?>