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/symphony-solusi.co.id/public_html/application/views/admin/solution/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/symphony-solusi.co.id/public_html/application/views/admin/solution/index.php
<div class="row">
    <div class="col-sm-12">
        <p><a href="<?= base_url('admin/dashboard'); ?>"><i class="fa fa-arrow-left" aria-hidden="true"></i> Back to Dashboard</a></p><br>
        <h2>Solution Administration</h2>
        <?= $this->session->flashdata('success'); //to display success message 
        ?>
        <?= $this->session->flashdata('result'); //to display result message 
        ?>
    </div><!-- end class="col-sm-12" -->
</div> <!-- end row -->
<div>
    <?= form_open_multipart(); ?>
    <div class="row">
        <div class="col-sm-3">
            <h4>Solution Page Banner</h4>
            <p>Banner Image<br>
                <?php if (!empty($solution_landingpage->category_landingpage_image)) : ?>
                    &nbsp;&nbsp;<img style="width:200px; height:auto;" src="<?= base_url() . 'uploads/blog/' . $solution_landingpage->category_landingpage_image; ?>" alt="" />
                    <br><i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/solution/delete_landingpage_image'; ?>">Delete</a>
                <?php endif; ?>
            </p>
        </div><!-- end class="col-sm-4" -->

        <div class="col-sm-9">
            <input type="file" name="userfile" size="20" class="btn btn-default btn-file form-control" />
            <?php
            //get max image width and height from configuration table
            $this->db->select('blog_image_width, blog_image_height')->from('configuration')->where('id_configuration', 1);
            $image_dimension = $this->db->get()->row();
            ?>
            <span style="font-size:12px; font-style: italic;">Image size must be max of <?= $image_dimension->blog_image_width; ?> pixel width. <?= $image_dimension->blog_image_height; ?> pixel height, jpg/png, max 1MB</span>
            <span style="color:#F7931E;"><?php echo form_error('userfile'); ?></span>
            <?php echo $this->session->flashdata('banner_error'); //to display error message 
            ?>
        </div><!-- end class="col-sm-8" -->
    </div> <!-- end row -->

    <div class="row">
        <div class="col-sm-3">
            <p>Solution Description</p>
        </div><!-- end class="col-sm-4" -->

        <div class="col-sm-9">
            <div class="tabbable">

                <ul class="nav nav-tabs">
                    <li class="active"><a href="#id" data-toggle="tab">Indonesian</a></li>
                    <li><a href="#en" data-toggle="tab">English</a></li>
                </ul>

                <div class="tab-content">

                    <div class="tab-pane active" id="id">
                        <?php $data = array(
                            'name'        => 'description',
                            'class'       => 'form-control',
                            'value'       => $solution_landingpage->category_landingpage_description,
                        );
                        ?>
                        <p><?php echo form_textarea($data); ?>
                            <?php echo form_error('description'); ?></p>
                        <br>
                    </div>

                    <div class="tab-pane" id="en">
                        <?php $data = array(
                            'name'        => 'description_en',
                            'class'       => 'form-control',
                            'value'       => $solution_landingpage->category_landingpage_description_en,
                        );
                        ?>
                        <p><?php echo form_textarea($data); ?>
                            <?php echo form_error('description_en'); ?></p>
                        <br>
                    </div>
                </div>
                <!-- end class tab-content-->

            </div><!-- end tabbable -->

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

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

        <div class="col-sm-9">
            <p> <?= form_submit('submit', 'Update Banner', 'class="btn btn-primary btn-success button-brown"'); ?></p>
        </div><!-- end class="col-sm-8" -->
    </div> <!-- end row -->

    <?= form_close(); ?>
</div>

<div class="row">
    <div class="col-sm-12">
        <br>
        <p><?= anchor('admin/solution/add', '<i class="fa fa-plus" aria-hidden="true"></i> ADD A SOLUTION'); ?></p>
    </div><!-- end class="col-sm-12" -->
</div> <!-- end row -->

<div class="row">
    <div class="col-sm-12">

        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th>Title </th>
                        <th>Display</th>
                        <th>Edit</th>
                        <th>Delete</th>

                    </tr>
                </thead>
                <tbody>
                    <?php if (count($solution)) : ?>
                        <?php foreach ($solution as $solution) : ?>
                            <tr>
                                <td><?= ucfirst($solution->title); ?></td>
                                <td>
                                    <?php
                                    if ($solution->status == 1) {
                                        echo 'Yes';
                                    } else {
                                        echo 'No';
                                    }
                                    ?>
                                </td>

                                <td><?= bt_edit('admin/solution/edit/' . $solution->id_solution); ?></td>
                                <td><?= bt_delete('admin/solution/delete/' . $solution->id_solution); ?></td>

                            </tr>
                        <?php endforeach; ?>
                    <?php else : ?>
                        <tr>
                            <td colspan="3">We could not find any solution.</td>
                        </tr>
                    <?php endif; ?>

                </tbody>
            </table>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-sm-12">
        <?php
        //create pagination...
        echo '<p style="text-align:center;">' . $this->pagination->create_links() . '</p>';
        ?>
    </div><!-- end class="col-sm-12" -->
</div> <!-- end row -->

https://t.me/RX1948 - 2025