<a href="index.php"><input name="" type="button" class="back_btn" value="<<Back"/></a> </div> <h1>Cases</h1> <div id="loading"></div> <div id="container"> <div class="data"> </div> <div class="pagination"> </div> <?php if (isset($_POST['search_data'])) { $firstname = mysql_real_escape_string($_POST['plantiffName']); $lastname = mysql_real_escape_string($_POST['plantiflName']); $dob = mysql_real_escape_string($_POST['dob']); $cases = mysql_real_escape_string($_POST['type_of_cases']); $search = array($firstname, $lastname, $dob, $cases); $functions->getClientRecords($attorneys_id, 10, 4, $search); } else { $functions->getClientRecords($attorneys_id, 10, 4, ""); $functions->getAppointment($attorneys_id); } ?> </div> </div> </div> </div> </section> <?php require $get_footer; } else { header('Location:../../login.php'); }
<a href="index.php"><input name="" type="button" class="back_btn" value="<<Back"/></a> </div><h1>Cases</h1> <div id="loading"></div> <div id="container"> <div class="data"> </div> <div class="pagination"> </div> <?php if (isset($_POST['search_data'])) { $firstname = mysql_real_escape_string($_POST['plantiffName']); $lastname = mysql_real_escape_string($_POST['plantiflName']); $dob = mysql_real_escape_string($_POST['dob']); $cases = mysql_real_escape_string($_POST['type_of_cases']); $search = array($firstname, $lastname, $dob, $cases); echo $functions->getClientRecords($attorneys_id, 5, 4, $search); } else { echo $functions->getClientRecords($attorneys_id, 5, 4, ""); echo $functions->getAppointment($attorneys_id); } ?> </div> </div> </div> </div> </div> </section> <?php require $get_footer; } else { header('Location:../../login.php');