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/kamariallee.com/public_html/application/views/account/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!--make some space gap on top with menu--> <div class="banner" style="padding-top: 30px;"> </div> <div class="container"> <div class="row" style="padding-bottom:50px;"> <div class="col-sm-2" style="border-right:1px solid #ccc; padding-bottom:10px;"> <h4>MY ACCOUNT</h4> <p>view & edit your details</p> <br> <p><a href="<?= base_url('account/profile'); ?>">MY PROFILE</a></p> <p><a href="<?= base_url('account/shipping'); ?>">MY ADDRESSES</a></p> <p><a href="<?= base_url('account/order_history'); ?>">ORDER HISTORY</a></p> <p><a href="<?= base_url('wishlist'); ?>">MY WISHLIST</a></p> <p><a href="<?= base_url('account/point_rewards'); ?>">MY POINT REWARDS</a></p> <p><a href="<?= base_url('register/logout'); ?>">LOGOUT</a></p> </div><!-- end col-sm-2--> <div class="col-sm-10"> <h4>MY PROFILE</h4> <?= $this->session->flashdata('success'); //to display success message ?> <!-- Form Start --> <?php echo form_open('account/update_profile'); ?> <div class="row form-group"> <div class="col-sm-3"> <label>Email</label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?= $customer->email; ?> </div><!--end class="col-sm-8" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label>Name</label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'name', 'id' => 'name', 'value' => $customer->name, 'class' => 'form-control' ); echo form_input($data); echo '<span style="font-size:10px;">' . form_error('name') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label>New Password</label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'password', 'id' => 'password', 'value' => '', 'class' => 'form-control' ); echo form_password($data); echo '<span style="font-size:10px;">' . form_error('password') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label>Confirm Password</label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'confirm_password', 'id' => 'confirm_password', 'value' => '', 'class' => 'form-control' ); echo form_password($data); echo '<span style="font-size:10px;">' . form_error('confirm_password') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <input type="submit" name="update_profile" value="UPDATE PROFILE" style="background:<?= $primary_colortheme; ?>; color:white;" class="form-control" /> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <?php echo form_close(); ?> </div><!-- end col-sm-8--> </div><!-- end row--> </div><!-- end container -->