DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.127
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/Contacts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/app/View/Contacts/admin_index.ctp
<div class="admin-list-filters">
    <?php echo $this->Form->create('Contact',
        array(
            'class' => 'form-horizontal',
            'type' => 'get'
        )); ?>
    <div class="form-group single-row">
        <?php
        echo $this->Form->label('keyword',
            'ค้นหา',
            array(
                'class' => 'col-md-2 text-right filter-label'
            ));
        echo $this->Form->input('keyword', array(
            'label' => false,
            'class' => 'form-control',
            'div' => 'col-md-7',
            'placeholder' => __('ค้นหาจากชื่อ ที่อยู่ หมายเลขโทรศัพท์ ฯลฯ'),
            'value' => $keyword
        ));

        ?>

        <?php
        echo $this->Form->submit('ค้นหา',
        array(
            'class' => 'btn btn-success btn-block',
            'div' => 'col-md-2',
            'escape' => false
        ));
        ?>
    </div><!-- .form-group -->
    <?php echo $this->Form->end();?>
</div>
<div class="page-header clearfix">
    <h2 class="pull-left admin-title-with-btn"><?php echo __('ทั้งหมด ') . $total . __(' ผู้ประสานงาน'); ?></h2>
    <?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><?php echo __('เครือข่ายองค์กร'); ?></th>
                <th class="text-center"><?php echo __('แก้ไข'); ?></th>
            </tr>
        </thead>
        <tbody>
        <?php foreach ($contacts as $index => $contact): ?>
            <tr>
                <td class="text-center"><?php echo $this->paginator->counter( '{:start}' ) + $index; ?></td>
                <td><?php echo h($contact['Contact']['name']); ?>&nbsp;</td>
                <td><?php echo h($contact['Contact']['address']); ?>&nbsp;</td>
                <td><?php echo h($contact['District']['name']); ?>&nbsp;</td>
                <td><?php echo h($contact['Organization']['name']); ?>&nbsp;</td>
                <td class="actions text-center">
                    <?php echo $this->Html->link('<span class="glyphicon glyphicon-pencil"></a>', array('action' => 'edit', $contact['Contact']['id']), array('escape' => false)); ?>
                </td>

            </tr>
        <?php endforeach; ?>
        </tbody>
    </table>
</div>
<?php echo $this->element('pagination'); ?>

Anon7 - 2022
AnonSec Team