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/ptbos.biz/public_html/application/views/admin/location/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/ptbos.biz/public_html/application/views/admin/location/edit.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>
        <h4><?= empty($service->id_location) ? 'Add a new Location' : 'Edit Location: ';?></h4> 
        <?= $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 --> 

<?= form_open_multipart(); ?>

<div class="row">
    <div class="col-sm-3">
        <p>Location Image Banner</p>
         <?php if (!empty($location->image1)) : ?>
            &nbsp;&nbsp;<img style="width:120px; height:auto;" src="<?= base_url() . 'uploads/location/' . $location->image1; ?>"  alt="" />
             <br><i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/location/delete_image/1'; ?>">Delete</a>
          <?php endif; ?> 
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
        <input type="file" name="userfile1" size="20" class="form-control"/>
       	<span style="font-size:12px; font-style: italic;">
	      Image size must be max of 2000 pixel width. 2000 pixel height, jpg/png, max 1MB
	    </span>
        <span style="color:#F7931E;"><?php echo form_error('userfile1'); ?></span>
        <?php echo $this->session->flashdata('error1'); //to display error message ?>  
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="">
    <div class="col-sm-3">
        <p>Location Text</p>
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
      <div class="tabbable">

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

<div class="row">
    <div class="col-sm-3">
        <p>Location No 1 Image</p>
         <?php if (!empty($location->image2)) : ?>
            &nbsp;&nbsp;<img style="width:120px; height:auto;" src="<?= base_url() . 'uploads/location/' . $location->image2; ?>"  alt="" />
             <br><i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/location/delete_image/2'; ?>">Delete</a>
          <?php endif; ?> 
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
        <input type="file" name="userfile2" size="20" class="form-control"/>
       	<span style="font-size:12px; font-style: italic;">
	      Image size must be max of 2000 pixel width. 2000 pixel height, jpg/png, max 1MB
	    </span>
        <span style="color:#F7931E;"><?php echo form_error('userfile2'); ?></span>
        <?php echo $this->session->flashdata('error2'); //to display error message ?>  
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display:none">
    <div class="col-sm-3">
        <p>Location Text 2</p>
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
      <div class="tabbable">

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

<div class="row" style="display:none">
    <div class="col-sm-3">
        <p>Location No 2 Image</p>
         <?php if (!empty($location->image3)) : ?>
            &nbsp;&nbsp;<img style="width:120px; height:auto;" src="<?= base_url() . 'uploads/location/' . $location->image3; ?>"  alt="" />
             <br><i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'admin/location/delete_image/3'; ?>">Delete</a>
          <?php endif; ?> 
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
        <input type="file" name="userfile3" size="20" class="form-control"/>
       	<span style="font-size:12px; font-style: italic;">
	      Image size must be max of 2000 pixel width. 2000 pixel height, jpg/png, max 1MB
	    </span>
        <span style="color:#F7931E;"><?php echo form_error('userfile3'); ?></span>
        <?php echo $this->session->flashdata('error3'); //to display error message ?>  
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row -->

<div class="row" style="display:none">
    <div class="col-sm-3">
        <p>Location Text 3</p>
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
      <div class="tabbable">

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


<div class="row" style="display:none">
    <div class="col-sm-3">
        <p>Location Text 4</p>
    </div><!-- end class="col-sm-3" -->
     <div class="col-sm-9">
      <div class="tabbable">

          
                <p>
                <?php
                $data = array(
                    'name'        => 'text4',
                    'value'       => $location->text4,
                    'class'       => 'form-control'
                 );
                echo form_textarea($data); ?>
                <?= form_error('text4'); ?></p>
              
      </div>
    </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">
         <?= form_submit('submit', 'Update', 'class="btn btn-primary btn-success button-brown"'); ?>
         &nbsp;&nbsp;&nbsp;<?= anchor('admin/dashboard/', 'cancel'); ?>
    </div><!-- end class="col-sm-9" -->
</div> <!-- end row --> 

<?= form_close(); ?>

https://t.me/RX1948 - 2025