<div class="row">
	<div class="col-md-5">
		<?php if(isset($settings['seo_settings']) && !empty($settings['seo_settings'])): ?>
			<?php $data = json_decode($settings['seo_settings'],true); ?>
		<?php else: ?>
			<?php $data = []; ?>
		<?php endif; ?>
		<div class="box box-primary">
			<div class="box-header with-border">
				<h3 class="box-title"> <?= !empty(lang('seo_settings'))?lang('seo_settings'):"Seo Settings";?></h3>
				<div class="box-tools pull-right">
					<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
					<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>
				</div>
			</div>
			<!-- /.box-header -->
			<form action="<?= base_url('admin/profile/add_seo_settings') ?>" method="post" class="skill_form" enctype= "multipart/form-data">
				<div class="box-body">

					<!-- csrf token -->
					<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>">

					<div class="row">
					    <div class="form-group col-md-12">
					      	<label><?= !empty(lang('title'))?lang('title'):"Title";?></label>
					        <input type="text" name="title" id="title" class="form-control" placeholder="<?= !empty(lang('title'))?lang('title'):"title";?>" value="<?= isset($data['title'])?html_escape($data['title']):""; ?>">
					    </div>

					    <div class="form-group col-md-12">
					      	<label><?= !empty(lang('keywords'))?lang('keywords'):"keywords";?></label>
					        <input type="text" name="keywords" id="keywords" class="form-control" placeholder="<?= !empty(lang('keywords'))?lang('keywords'):"keywords";?>" value="<?= isset($data['keywords'])?html_escape($data['keywords']):""; ?>">
					    </div>

					    <div class="form-group col-md-12">
					      	<label for="price"><?= !empty(lang('description'))?lang('description'):"description";?></label>
					        <textarea name="description" id="" class="form-control " cols="10" rows="5"><?= !empty($data['description'])?$data['description']:""; ?></textarea>
					    </div>
					    
					</div>
				    
				</div><!-- /.box-body -->
				<div class="box-footer">
					<input type="hidden" name="id" value="<?= isset($settings['id']) && $settings['id'] !=0?$settings['id']:0 ?>">
					
		          	<div class="pull-right">
		          		<button type="submit" name="register" class="btn btn-primary btn-block btn-flat"><?= !empty(lang('submit'))?lang('submit'):"submit";?></button>
		          	</div>
				</div>
			</form>
		</div>


		
	</div>
	
</div>