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/mesinpolesshinemate.com/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;"> <?= Modules::run('myaccount_menu'); ?> </div><!-- end col-sm-2--> <div class="col-sm-10"> <h4><?= strtoupper(lang('my_profile')); ?></h4> <?= $this->session->flashdata('success'); //to display success message ?> <!-- Form Start --> <?php echo form_open_multipart('account/update_profile'); ?> <div class="row form-group"> <div class="col-sm-3"> <h4>Personal Info</h4> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> </div><!--end class="col-sm-8" --> </div><!-- end class="row"--> <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><?= ucwords(lang('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><?= ucwords(lang('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><?= ucwords(lang('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"--> <?php if($customer->reseller_id != NULL) : ?> <div class="row form-group"> <div class="col-sm-3"> <h4><?= lang('reseller_information'); ?></h4> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> </div><!--end class="col-sm-8" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label><?= lang('reseller_type'); ?></label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php //get reseller type $this->db->select('reseller_name')->from('resellers')->where('id_resellers', $customer->reseller_id); $reseller_name = $this->db->get()->row()->reseller_name; ?> <?= strtoupper($reseller_name); ?> </div><!--end class="col-sm-8" --> </div><!-- end class="row"--> <?php endif; ?> <?php if($customer->dropship == 'yes') : ?> <div class="row form-group"> <div class="col-sm-3"> <h4><?= ucwords(lang('dropship_information')); ?><br> <span style="font-size:13px;">(<?= lang('dropship_note'); ?>)</span></h4> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> </div><!--end class="col-sm-8" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label><?= ucwords(lang('shop_name')); ?></label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'dropship_shop_name', 'id' => 'dropship_shop_name', 'value' => $customer->dropship_shop_name, 'class' => 'form-control' ); echo form_input($data); echo '<span style="font-size:10px;">' . form_error('dropship_shop_name') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label><?= ucwords(lang('shop_logo')); ?></label> <p><?= lang('shop_image'); ?><br> <?php if (!empty($customer->dropship_shop_logo) || $customer->dropship_shop_logo != NULL) : ?> <img style="width:200px; height:auto;" src="<?= base_url() . 'uploads/dropship/' . $customer->dropship_shop_logo; ?>" alt="" /> <br><i class="fa fa fa-trash-o" aria-hidden="true"></i> <a href="<?= base_url() . 'account/delete_dropship_logo/'; ?>"><?= lang('delete'); ?></a> <?php endif; ?></p> </div><!-- end class="col-sm-3" --> <div class="col-sm-9"> <input type="file" name="userfile" size="20" class="btn btn-default btn-file form-control" /> <span style="font-size:12px; font-style: italic;"><?= lang('image_size_note'); ?></span> <span style="color:#F7931E;"><?php echo form_error('userfile'); ?></span> <?php echo $this->session->flashdata('logo_error'); //to display error message ?> </div><!-- end class="col-sm-9" --> </div> <!-- end row --> <div class="row form-group"> <div class="col-sm-3"> <label><?= lang('shop_address'); ?></label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'dropship_shop_address', 'id' => 'dropship_shop_address', 'value' => $customer->dropship_shop_address, 'class' => 'form-control' ); echo form_input($data); echo '<span style="font-size:10px;">' . form_error('dropship_shop_address') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label><?= lang('shop_phone'); ?></label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'dropship_shop_phone', 'id' => 'dropship_shop_phone', 'value' => $customer->dropship_shop_phone, 'class' => 'form-control' ); echo form_input($data); echo '<span style="font-size:10px;">' . form_error('dropship_shop_phone') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <div class="row form-group"> <div class="col-sm-3"> <label><?= lang('shop_email'); ?></label> </div><!--end class="col-sm-4" --> <div class="col-sm-9"> <?php $data = array( 'name' => 'dropship_shop_email', 'id' => 'dropship_shop_email', 'value' => $customer->dropship_shop_email, 'class' => 'form-control' ); echo form_input($data); echo '<span style="font-size:10px;">' . form_error('dropship_shop_email') . '</span>'; ?> </div><!--end class="col-sm-9" --> </div><!-- end class="row"--> <?php endif; ?> <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="<?= strtoupper(lang('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 -->