<h1 class="page-title"> Account Settings</h1>
<!-- CONTENT -->
<div class="row">
	<div class="col-md-12">
		<!-- BEGIN PROFILE SIDEBAR -->
		<div class="profile-sidebar">
			<!-- PORTLET MAIN -->
			<div class="portlet light profile-sidebar-portlet ">
				<!-- SIDEBAR USERPIC -->
				<div class="profile-userpic">
					<img src="<?php echo showCompanyImage($company_id, "company_id"); ?>" class="img-responsive" alt="" /> 
				</div>
				<!-- END SIDEBAR USERPIC -->
				<!-- SIDEBAR USER TITLE -->
				<div class="profile-usertitle">
					<div class="profile-usertitle-name"> <?php echo getCompanyData($company_id, "company_id", "name"); ?>  </div>
				</div>
				<!-- END SIDEBAR USER TITLE -->
				<!-- SIDEBAR MENU -->
				<div class="profile-userbuttons">
					<?php echo (getCompanyFriend(getCompany($_SESSION['user_id']), $company_id) > 0 ? "" : "<button type='button' class='btn btn-circle green btn-sm add' id='add' data-id='" . $company_id . "'>Follow</button>");?>
				</div>
				<!-- END MENU -->
			</div>
			<!-- END PORTLET MAIN -->
		</div>
		<!-- END BEGIN PROFILE SIDEBAR -->
		<!-- BEGIN PROFILE CONTENT -->
		<div class="profile-content">
			<div class="row">
				<div class="col-md-12">
					<div class="portlet light ">
						<div class="portlet-title tabbable-line">
							<ul class="nav nav-tabs">
								<li class="active">
									<a href="/user-profile/<?php echo $encrypted; ?>">Company Info</a>
								</li>
							</ul>
						</div>
						<div class="portlet-body">
							<div class="tab-content">
								<!-- PERSONAL INFO TAB -->
								<div class="tab-pane form active">
									<div class="form-horizontal form-row-seperated">
										<div class="form-body">
											<div class="form-group">
												<label class="control-label col-md-3">Business Registration Certificate</label>
												<div class="col-md-9">
													<img style="width:30%; height:auto;" class="img-responsive" src="<?php echo showCompanyRegCertImage($company_id, "company_id");?>" alt="" />
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Company Name</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "name"); ?></p>
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Registration No</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "reg_no"); ?></p>
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Tax No</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "tax_no"); ?></p>
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Tel No</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "company_no"); ?></p>
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Fax</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "company_fax"); ?></p>
												</div>
											</div>
											<div class="form-group">
												<label class="control-label col-md-3">Address</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "address") . ", " . getCompanyData($company_id, "company_id", "zip") . " " . getCompanyData($company_id, "company_id", "city") . ", " . getCompanyData($company_id, "company_id", "state") . ", " . getCompanyData($company_id, "company_id", "country"); ?></p>
												</div>
											</div>
											<div class="form-group ">
												<label class="control-label col-md-3">Contact Person</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "contact_person"); ?></p>
												</div>
											</div>
											<div class="form-group ">
												<label class="control-label col-md-3">Contact Person No</label>
												<div class="col-md-9">
													<p class=" form-control-static"><?php echo getCompanyData($company_id, "company_id", "contact_person_no"); ?></p>
												</div>
											</div>
										</div>
									</div>
								</div>
								<!-- END PERSONAL INFO TAB -->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- END PROFILE CONTENT -->
	</div>
</div>