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/kanvakanva.com/public_html/application/views/admin/home_rightbanners/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/kanvakanva.com/public_html/application/views/admin/home_rightbanners/edit.php
<div class="modal-header">
    <h4><?= empty($home_rightbanners->id_home_rightbanners) ? 'Add a new home right banner' : 'Edit home right banner: ' 
	. $home_rightbanners->title; ?></h4>
</div>

<div class="modal-body" style="max-height:800px;">
	<?= form_open_multipart(); ?>
    <table class="table">
        <tr>
            <td>Banner Title</td>
            <td><?= form_input('title' , set_value('title', $home_rightbanners->title, FALSE)); ?>
            <?= form_error('title'); ?>
            </td> 
        </tr>

        <tr>
            <td>Display the banner title?</td>
            <td>
            <?php
                $options = array(
                  1  => 'Yes',
                  0    => 'No'
                );
                echo form_dropdown('display_title', $options, $home_rightbanners->display_title);
             ?>   
            </td>
        </tr>

        <tr>
          <td>Banner Image
          
          <?php if (!empty($home_rightbanners->image)) : ?>
            
            &nbsp;&nbsp;<img style="width:80px; height:auto;" src="<?= base_url() . 'uploads/page/' . $home_rightbanners->image; ?>"  alt="" />

          <?php endif; ?> 

          </td>
          <td>
            <input type="file" name="userfile" size="20" /><br> 
            <span style="font-size:12px; font-style: italic;">Image size must be 315 pixel width. Height proportional, jpg, max 200KB</span>
            <span style="color:#F7931E;"><?php echo form_error('userfile'); ?></span>
            <?php echo $this->session->flashdata('error'); //to display error message ?>  
          </td>    
        </tr> 

        <tr>
          <td>Description Title</td>
          <td><?php echo form_input('description', set_value('description', $home_rightbanners->description, FALSE)); ?>
          <?php echo form_error('description'); ?>
        </tr>

        <tr>
          <td>More Description</td>
          <td><?php echo form_input('more_description', set_value('more_description', $home_rightbanners->more_description, FALSE)); ?>
          <?php echo form_error('more_description'); ?>
        </tr>

        <tr>
          <td>Banner Link<br>
          (full URL. Eg: http://www.xxx.com/category/jeans)</td>
          <td><?php echo form_input('banner_link', set_value('banner_link', $home_rightbanners->banner_link)); ?>
          <?php echo form_error('banner_link'); ?>
        </tr>

        <tr>
         <td>Priority (must be numeric)</td>
         <td><?= form_input('priority' , set_value('priority', $home_rightbanners->priority)); ?>
            <?= form_error('priority'); ?>
         </td> 
        </tr>

        <tr>
            <td>Banner Active ?</td>
            <td>
            <?php
                $options = array(
                  1  => 'Yes',
                  0    => 'No'
                );
                echo form_dropdown('status', $options, $home_rightbanners->status);
             ?>   
            </td>
        </tr>
           
        <tr>
            <td></td>
            <td>
			<?= form_submit('submit', 'Update', 'class="btn btn-primary btn-success button-brown"'); ?>
            &nbsp;&nbsp;&nbsp;<?= anchor('admin/home_rightbanners', 'cancel'); ?>
            </td>
        </tr>
    </table>
    <?= form_close(); ?>
</div>

https://t.me/RX1948 - 2025