Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /home/matalashes/.trash/app.bak.13/Views/admin/pages/custom/master/masterpob/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/matalashes/.trash/app.bak.13/Views/admin/pages/custom/master/masterpob/masterpob_form.php
<?= $this->extend('admin/layout/admin_form') ?>
<?= $this->section('content') ?>
    <!-- ============================================================== -->
    <!-- Page Content -->
    <!-- ============================================================== -->

    <!-- ============================================================== -->
    <!-- Different data widgets -->
    <!-- ============================================================== -->
<?php
if ($state !== 'delete' && $state !== 'restore' && $state !== 'deletepermanent') {
    ?>
    <?php
    $validation = \Config\Services::validation();
    $session = \Config\Services::session();
    $title = '';
    if ($state == 'add') {
        $title = 'Tambah';
        echo form_open($url_action_table['add']);
    } else if ($state == 'edit') {
        $title = 'Ubah';
        echo form_open($url_action_table['edit'] . $myLib->secure_id($id));
    }
    ?>

    <div class="goback">
        <?= href_button('', 'mb-6 align-self-center golink', '', 'submit', '', '', 'Kembali', $session->get('keyword'), $url_action_table); ?>
    </div>
    <div class="card mb-5 mb-xl-10">
        <div class="card-header border-0 header-second">
            <div class="card-title m-0">
                <h3 class="fw-bolder m-0"><?= $title ?> Data</h3>
            </div>
            <div class="d-flex my-4">
                <?= button_button('', 'btn btn-success align-self-center fs-7', '', 'submit',
                    '', '', $button); ?>
            </div>
        </div>
        <div class="separator my-3"></div>
        <div class="card-body py-4 pt-10 pb-10">
            <div class="row">
                <div class="col-md-6">
                    <div class="fv-row mb-5">
                        <label for="store_forname" class="form-label">No POB</label>
                        <?= input_field('mp_no', 'form-control form-control-sm', 'mp_no', 'text', 'No POB',
                            $state == 'add' ? (isset($_POST['mp_no']) ? $_POST['mp_no'] : '') :
                                ($state == 'edit' ? $_data->mp_no : ''), ''); ?>
                        <?= span_error('mp_no', $validation) ?>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="fv-row mb-5">
                        <label for="store_forname" class="form-label">Tgl POB</label>
                        <?= input_field('mp_date', 'form-control form-control-sm', 'mp_date', 'date', 'Nama Barang',
                            $state == 'add' ? (isset($_POST['mp_date']) ? $_POST['mp_date'] : '') :
                                ($state == 'edit' ? $_data->mp_date : ''), ''); ?>
                        <?= span_error('mp_date', $validation) ?>
                    </div>
                </div>
            </div>
            <?= input_field('', '', 'id', 'hidden', '',
                $state == 'edit' ? $myLib->secure_id($id) : ''); ?>
        </div>
    </div>
    <?= form_close() ?>
<?php } ?>
    <!-- End Page Content -->
    <!-- ============================================================== -->
<?= $this->endSection('content') ?>

haha - 2025