<?php $about_me = single_select_by_user_slug($slug,'home'); ?>
<div class="layout_5" style="background: url(<?= get_user_layout_img($slug,'home')?>)center center;">
	<div class="top_header_area"></div>
	<div class="container on-scroll bg_color pt-50">
		<div class="left_height_line hidden-xs hidden-sm"></div>
		<div class="row">
			<div class="col-md-12">
				<div class="top_btn">
					<a href="javascript:;" class="" title="facebook share" onclick="window.open('http://www.facebook.com/sharer.php?u=<?= base_url(get_user_info_by_slug($slug)['username']);?>', 'sharer', 'toolbar=0,status=0,width=620,height=280');"><i class="fa fa-facebook "></i> <span class="hidden_text"><?= !empty(lang('share_on_facebook'))?lang('share_on_facebook'):"Share on facebook"?></span></a>
					
					<a href="<?= base_url(html_escape($about_me['document'])); ?>" download class=""><i class="fa fa-download"></i> <span class="hidden_text"><?= !empty(lang('download_resume'))?lang('download_resume'):"Download my resume"?></span></a>
					<a href="#contact" class="scrollto"><i class="fa fa-envelope-o"></i> <span class="hidden_text"><?= !empty(lang('send_me_message'))?lang('send_me_message'):"Send me a messege"?></span></a>

				</div>
			</div>
		</div>
		<?php if(get_user_pricing_by_id($id,'home')==1 && is_active($id,'home')==1): ?>
			<div class="row line mb-50 layout_5_wrapper" id="home">
				<div class="col-md-3">
					<div class="profile_picture">
						<?php $u_info = get_user_info_by_slug($slug) ?>
						<img src="<?php echo base_url(!empty($u_info['thumb'])?$u_info['thumb']:'assets/images/avatar.jpg'); ?>" alt="">

					</div>
				</div>
				<div class="col-md-9">
					<div class="profile_pic_right">
						<div class="top">
							<h2><?= html_escape($about_me['title']); ?></h2>
							<div class="typing_section">
								<h4 class="typing_data" data-type='<?= !empty($about_me['designations'])?$about_me['designations']:'Set Designations';?>'><span class="typed-text"></span><span class="cursor">&nbsp;</span></h4>
							</div>

							<p class="mt-10"><?= html_escape($about_me['about_me']); ?></p>
						</div>
					</div>
				</div>
			</div><!-- row -->
		<?php endif ?>
		<div class="row bg_color" >
			<div class="col-md-10 offset-md-2 ">
				<div class="">
				<div class="timeline-wrap">
					<?php include 'about.php'; ?>
					<?php include 'resume.php'; ?>
					<?php include 'portfolio.php'; ?>
					<?php include 'blog.php'; ?>
					<?php include 'appointment.php'; ?>
					<?php include 'contact.php'; ?>
					<div class="row line">
						<div class="col-md-9 left_line pt-50">
							<div class="heading ">
								<h4 class="mi-heading">Thank You</h4>
							</div>
						</div>	
						
					</div>
					<div class="mb-80"></div>
				</div><!-- timeline -->		
				</div>
			</div>
		</div>
	</div>
</div>
