/home/hdwebsolution/public_html/app/Views/front/include/status_form.php
<?php
$uri = service('uri');
$currentpage=$uri->getSegment(2);
?>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="page_content"><h2> Tracking </h2><div id="search-box" style="padding:10px 0 40px 0;"><label>Search Code</label>
<form enctype="multipart/form-data" id="contact_form" name="contact_form" method="GET" action="<?=base_url('page/'.$currentpage.'');?>">
	<p><input type="text" placeholder="eg. CODE-123" onkeyup="this.value = this.value.toUpperCase();" value="" name="code" class="form-control" required=""></p>
	<p><input type="submit" value="Search Now"  class="btn btn-success form-control" required=""></p>
</form>
</div>
<?php if(isset($_GET['code'])) {
$codedes=getdatasingle('tbl_media',array('status'=>'1','title'=>$_GET['code']));
if($codedes) { 
$new_description= str_replace(array_in(),array_out(),$codedes->description); 

?>
<div class="row">
    <div class="col-md-12">
       <?=$new_description;?> 
    </div>
</div>
<?php } } ?>
</div>