https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/blue-sky.co.id/public_html/application/views/admin/hotels/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/blue-sky.co.id/public_html/application/views/admin/hotels/edit.php
<div class="row">
    <div class="col-sm-12">
        <p><a href="<?= base_url('admin/hotels'); ?>"><i class="fa fa-arrow-left" aria-hidden="true"></i> Kembali ke Daftar Hotel</a></p><br>
        <h4><?= empty($hotels->id) ? 'Buat hotel baru' : 'Edit hotel: ' . $hotels->name; ?></h4>
        <?= $this->session->flashdata('success'); ?>
    </div>
</div>

<?= form_open_multipart(); ?>

<div class="row">
    <div class="col-sm-3">
        <p>Nama Hotel</p>
    </div>

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'name',
                'value'       => $hotels->name,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('name'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->


<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Logo<br>

            <?php if (!empty($hotels->logo)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/' . $hotels->logo; ?>" alt="" />
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="img_logo" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar wajib 96 lebar piksel. 169 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('img_logo'); ?></span>
            <?php echo $this->session->flashdata('img_logo'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div>

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 1<br>

            <?php if (!empty($hotel_features->feature1_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature1_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature1/' . $hotels->id . '/' . $hotel_features->feature1_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature1_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature1_img'); ?></span>
            <?php echo $this->session->flashdata('feature1_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 1</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature1',
                'value'       => $hotel_features->feature1,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature1'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 2<br>

            <?php if (!empty($hotel_features->feature2_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature2_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature2/' . $hotels->id . '/' . $hotel_features->feature2_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature2_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature2_img'); ?></span>
            <?php echo $this->session->flashdata('feature2_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 2</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature2',
                'value'       => $hotel_features->feature2,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature2'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 3<br>

            <?php if (!empty($hotel_features->feature3_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature3_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature3/' . $hotels->id . '/' . $hotel_features->feature3_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature3_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature3_img'); ?></span>
            <?php echo $this->session->flashdata('feature3_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;"> 
    <div class="col-sm-3">
        <p>Teks Gambar Icon 3</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature3',
                'value'       => $hotel_features->feature3,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature3'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 4<br>

            <?php if (!empty($hotel_features->feature4_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature4_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature4/' . $hotels->id . '/' . $hotel_features->feature4_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature4_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature4_img'); ?></span>
            <?php echo $this->session->flashdata('feature4_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 4</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature4',
                'value'       => $hotel_features->feature4,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature4'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 5<br>

            <?php if (!empty($hotel_features->feature5_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature5_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature5/' . $hotels->id . '/' . $hotel_features->feature5_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature5_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature5_img'); ?></span>
            <?php echo $this->session->flashdata('feature5_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 5</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature5',
                'value'       => $hotel_features->feature5,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature5'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 6<br>

            <?php if (!empty($hotel_features->feature6_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature6_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature6/' . $hotels->id . '/' . $hotel_features->feature6_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature6_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature6_img'); ?></span>
            <?php echo $this->session->flashdata('feature6_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 6</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature6',
                'value'       => $hotel_features->feature6,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature6'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 7<br>

            <?php if (!empty($hotel_features->feature7_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature7_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature7/' . $hotels->id . '/' . $hotel_features->feature7_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature7_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature7_img'); ?></span>
            <?php echo $this->session->flashdata('feature7_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 7</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature7',
                'value'       => $hotel_features->feature7,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature7'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 8<br>

            <?php if (!empty($hotel_features->feature8_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature8_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature8/' . $hotels->id . '/' . $hotel_features->feature8_img; ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature8_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature8_img'); ?></span>
            <?php echo $this->session->flashdata('feature8_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 8</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature8',
                'value'       => $hotel_features->feature8,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature8'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Gambar Icon 9<br>

            <?php if (!empty($hotel_features->feature9_img)) : ?>
                &nbsp;&nbsp;<img style="width:100px; height:auto;" src="<?= base_url() . 'uploads/home_about/' . $hotel_features->feature9_img; ?>" alt="" />

                <i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/hotels/delete_feature9/' . $hotels->id ?>">Hapus</a>
            <?php endif; ?>
        </p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p><input type="file" name="feature9_img" size="20" class="btn btn-default btn-file form-control" />
            <span style="font-size:12px; font-style: italic;">Ukuran gambar disarankan 1000 lebar piksel. 1000 tinggi piksel, jpg / png, maks 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('feature9_img'); ?></span>
            <?php echo $this->session->flashdata('feature9_img'); //to display error message 
            ?>
        </p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display: none;">
    <div class="col-sm-3">
        <p>Teks Gambar Icon 9</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'feature9',
                'value'       => $hotel_features->feature9,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('feature9'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row">
    <div class="col-sm-3">
        <p>Urutan Tampilan (isi dengan angka)</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <p>
            <?php
            $data = array(
                'name'        => 'priority',
                'value'       => $hotels->priority,
                'class'       => 'form-control'
            );
            echo form_input($data); ?>
            <?= form_error('priority'); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row">
    <div class="col-sm-3">
        <p>Aktif ?</p>
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <?php
        $options = array(
            1  => 'Ya',
            0    => 'Tidak'
        );
        echo form_dropdown('status', $options, $hotels->status, 'class="form-control"');
        ?>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row">
    <div class="col-sm-3">
    </div><!-- end class="col-sm-3" -->

    <div class="col-sm-9">
        <?php if (empty($hotels->id)) : ?>
            <p><?= form_submit('submit', 'Simpan', 'class="btn btn-primary btn-success"'); ?>
            <?php else : ?>
            <p><?= form_submit('submit', 'Update', 'class="btn btn-primary btn-success"'); ?>
            <?php endif; ?>
            &nbsp;&nbsp;&nbsp;<?= anchor('admin/hotels', 'Batal', array('class' => 'btn btn-default')); ?></p>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<?= form_close(); ?>

https://t.me/RX1948 - 2025