<?php 
$submit_url = $file_name."?page=view"; 
$show_all_page = "page=view";
?>
<!-- search form -->
<form class="form-horizontal" action="<?php echo $submit_url;?>" method="post" name="search_form" id="search_form">
	<div class="card-body">
		<div class="row">
		  <label for="Site Name" class="col-sm-2 control-label">Site Name</label>
		  <div class="col-sm-5 col-12">
			<input type="text" class="form-control" id="site_name" name="site_name" value="<?php echo $site_name;?>" placeholder="Site Name">
		  </div>
		  <div class="col-sm-5 col-12">
			<button type="submit" class="btn btn-primary">Search</button>
			<button type="button" value="Show All" onclick="javascript:window.location='?<?php echo $show_all_page ?>'" class="btn btn-primary">Show All</button>
		   </div>
		</div>
	</div>
</form>
<!-- /.search form -->