<?php 
ob_start();
session_start();
if($_SESSION['userid']=="")
{header("location:login.php");exit();}?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<?php include 'head.php';?>
<link rel="stylesheet" href="assets/css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="description" content="Bitter Mobile Template">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<meta name="keywords" content="bootstrap, mobile template, bootstrap 4, mobile, html, responsive" />
<style>
h3 {
	font-weight:normal;
}
.tdtext{ font-size:16px !important; color:#090 !important; font-weight:normal; text-align:right;}
.tdtext2{ font-size:16px !important; color:#f00 !important; font-weight:normal; text-align:right;}
.tdtext3{ font-size:16px !important; color:#FFB400 !important; font-weight:normal; text-align:right;}

.text small{ font-size:12px; color:#888;}
.listView .listItem {
   padding: 0px 55px 0px 0px;
}
.listView .listItem .text {
    font-size: 16px;
}
.orders_nav{
    height: 48px;
    line-height: 48px;
    font-size: 14px;
    color: hsla(0,0%,100%,.55);
    background: #009688;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 15px;
    box-sizing: border-box;
}
.myParity_btn{
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.myParity_btn button{
    margin-right:-35px;
    font-size: 13px;
    height: 28px;
    line-height: 28px;
    padding: 0 12px;
    background: #009688;
    color: #fff;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}
.nav-tabs {
	background:#000000;
	color: #8CD0C9;
	font-size:14px;
	font-weight:400;

	padding:5px 3px 5px 3px
}
.nav-tabs .nav-item {
	text-align:center
}
.nav-tabs .nav-item i {
	font-size:20px;
	margin-bottom:-10px
}
.nav-tabs.iconed .nav-item i {
	margin-right:8px
}
.nav-tabs .nav-link {
	height:44px;
	display:-webkit-box;
	display:flex;
	-webkit-box-align:center;
	align-items:center;
	-webkit-box-pack:center;
	justify-content:center;
	background:transparent;
	color:#8CD0C9;
	padding:0 16px;
	border-top:none;
		border-bottom:none;
	border-left:none;
	border-right:none;
	border-radius:0px;
	margin:0 !important;
	font-weight:500;
  font-size: 14px;
 
}
 .nav-tabs .nav-link:hover {
	color: #ffffff;
	font-size:14px;
	font-weight:400;
	background:transparent;
	border-bottom: 5px solid #ffffff;
} 

.nav-tabs .nav-link.active {
	color: #ffffff;
	font-size:14px;
	font-weight:400;
	background:transparent;
	border-bottom: 5px solid #ffffff;

}
.nav-tabs.size1, .nav-tabs.size2, .nav-tabs.size3, .nav-tabs.size4, .nav-tabs.size5 {
	display:-webkit-box;
	display:flex;
	-webkit-box-align:center;
	align-items:center;
	-webkit-box-pack:center;
	justify-content:center
}
.nav-tabs.size1 .nav-item {
	width:100%
}
.nav-tabs.size2 .nav-item {
	width:50%
}
.nav-tabs.size3 .nav-item {
	width:33.333333333333%
}
.nav-tabs.size4 .nav-item {
	width:25%
}
.nav-tabs.size5 .nav-item {
	width:20%
}
</style>
</head>

<body>
<?php
include("include/connection.php");
$userid=$_SESSION['userid'];?>
<!-- Page loading -->

<!-- * Page loading --> 

<!-- App Header -->
<div class="appHeader1" style="background-color:#000000 !important">
  <div class="left"> <a href="/mine.php" onClick="goBack();" class="icon goBack"> <i class="icon ion-md-arrow-back"></i> </a>
    <div class="pageTitle">Order</div>
  </div>
</div>
  <ul class="nav nav-tabs size4" id="myTab3" role="tablist">
        <li class="nav-item"> 
<a class="nav-link active" id="home-tab3" data-toggle="tab" href="#level1" role="tab">ALL</a> 
        </li>
        <li class="nav-item"> 
<a class="nav-link" id="profile1-tab3" data-toggle="tab" href="#level2" role="tab">UNDELIVER</a>
         </li>
          <li class="nav-item"> 
<a class="nav-link" id="profile2-tab3" data-toggle="tab" href="#level3" role="tab">UNRECEIVE</a>
         </li>
           <li class="nav-item"> 
<a class="nav-link" id="profile3-tab3" data-toggle="tab" href="#level4" role="tab">SUCCESS</a>
         </li>
      </ul>
   
<!-- * App Header --> 
<!-- App Capsule -->
<div id="appCapsule">
  
         <div class="mt-1">
      <div class="tab-content" id="myTabContent">
         <div class="tab-pane fade active show" id="level1" role="tabpanel">   
    <div class="table-container">
        <table class="table table-borderless" id="myrecordparityt">
         
    <tbody>
        <div id="paritywait"></div>
    <?php
  $userResultQuery=mysqli_query($con,"select *,(select `result` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultnumber,(select `color` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultcolor from `tbl_userresult` where `userid`='".$userid."' order by id desc");
  while($userResult=mysqli_fetch_array($userResultQuery)){
	  $post_date = $userResult['createdate'];
 $post_date2 = strtotime($post_date);
 $convert=date('Y-m-d H:i',$post_date2);

	?>
       <tr data-toggle="collapse" data-target="#accordion<?php echo($userResult['id']);?>" class="clickable" style="border-bottom:1px solid #ccc;">
            <td class="pl-3" style="border:1px;">
         <span style="color: #323233; font-size:14px; font-weight:400"> <?php echo ($userResult['periodid']);?> </span>&ensp;<span style="font-size:14px; font-weight:400; color:<?php if($userResult['status']=='success'){echo"#4caf50";}else{echo"#f44336";}?>"> <?php echo ucfirst($userResult['status']);?>&ensp; <?php if($userResult['status']=='success'){echo"+";}else{echo"-";}?><?php echo number_format($userResult['paidamount'],2);?></span>
            
           
            
            
            <div id="accordion<?php echo($userResult['id']);?>" class="detail collapse mt-1 mb-1 p-1" style="padding:0px 30px; margin: 0px -10px;">
                <span style="color:#009688; font-size:14px; font-weight:400"> Period Detail</span>
         <div class="mt-2" style="display: flex;">
        <div class="point2">Period</div>
        <div class="point2"><?php echo ($userResult['periodid']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Money</div>
        <div class="point2"><?php echo number_format($userResult['amount'],2);?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Count</div>
        <div class="point2">1</div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Delivery</div>
        <div class="point2" style="color:#f39839; font-weight:600"><?php $del = $userResult['amount'];
        
        $fe = $userResult['fee']; 
        $afterfee = $fe/2;
     $total =  $del-$afterfee;
      echo number_format($total,2);
        ?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Fee</div>
        <div class="point2"><?php $fe = $userResult['fee']; 
        $afterfee = $fe/2;
        echo number_format($afterfee,2);
        
        ?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Open Price</div>
        <div class="point2"><?php echo number_format($userResult['openprice'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Result</div>
      <div class="point2" style="font-size:12px;font-weight:400"><?php  echo "<span style='color:#2197f3;font-size:12px;font-weight:400'>" . $userResult['resultnumber'] . "</span>"; echo "&nbsp;";  if($userResult['resultcolor']=='green'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>";}elseif($userResult['resultcolor']=='red'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>";}elseif($userResult['resultcolor']=='red++violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green++violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green+violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='red+violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";} ?></div>
		  
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Select</div> 
        <div class="point2" style="color:<?php if($userResult['value']=='Green'){echo"#4caf50";}elseif($userResult['value']=='Red'){echo"#f44336";}elseif($userResult['value']=='Violet'){echo"#3D67B3";}else{echo"#2197f3";}?>;"><?php echo $userResult['value'];?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Status</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#1DCC70";}else{echo"#ff2d55";}?>;"><?php echo ucfirst($userResult['status']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Amount</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#4CAF50";}else{echo"#F44336";}?>;"><?php if($userResult['status']=='success'){echo"+";}else{echo"-";} echo number_format($userResult['paidamount'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Create Time</div>
        <div class="point2"><?php echo $convert;?></div>
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Type</div>
        <div class="point2">Parity</div>
        </div>
        <div class="myParity_btn"><button onclick="/">Pre Pay</button></div>
                </div>
            </td>
        </tr>
        <?php }?>
    </tbody>
</table>
        </div>
        </div>
     <!--=========================tab-1 end========================================-->
     <!--=========================tab-2========================================-->
           <div class="tab-pane fade" id="level2" role="tabpanel">   
    <div class="table-container">
        <div style="padding:10px 0">
      <center>  No Data Avaliable</center></div>
        </div>
        </div>
          <!--=========================tab-2 end========================================-->
      <!--=========================tab-3========================================-->
           <div class="tab-pane fade" id="level3" role="tabpanel">   
    <div class="table-container">
        <table class="table table-borderless" id="myrecordparityt">
           
    <tbody>
     
    <?php
  $userResultQuery=mysqli_query($con,"select *,(select `result` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultnumber,(select `color` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultcolor from `tbl_userresult` where `userid`='".$userid."'  and `status`='fail' order by id desc");
  while($userResult=mysqli_fetch_array($userResultQuery)){
	  $post_date = $userResult['createdate'];
 $post_date2 = strtotime($post_date);
 $convert=date('Y-m-d H:i',$post_date2);

	?>
       <tr data-toggle="collapse" data-target="#accordion<?php echo($userResult['id']);?>" class="clickable" style="border-bottom:1px solid #ccc;">
            <td class="pl-3" style="border:1px;">
         <span style="color: #323233; font-size:14px; font-weight:400"> <?php echo ($userResult['periodid']);?> </span>&ensp;<span style="font-size:14px; font-weight:400; color:<?php if($userResult['status']=='success'){echo"#4caf50";}else{echo"#f44336";}?>"> <?php echo ucfirst($userResult['status']);?>&ensp; <?php if($userResult['status']=='success'){echo"+";}else{echo"-";}?><?php echo number_format($userResult['paidamount'],2);?></span>
            
           
            
            
            <div id="accordion<?php echo($userResult['id']);?>" class="detail collapse mt-1 mb-1 p-1" style="padding:0px 30px; margin: 0px -10px;">
                <span style="color:#009688; font-size:14px; font-weight:400"> Period Detail</span>
         <div class="mt-2" style="display: flex;">
        <div class="point2">Period</div>
        <div class="point2"><?php echo ($userResult['periodid']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Money</div>
        <div class="point2"><?php echo number_format($userResult['amount'],2);?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Count</div>
        <div class="point2">1</div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Delivery</div>
        <div class="point2" style="color:#f39839; font-weight:600"><?php $del = $userResult['amount'];
        
        $fe = $userResult['fee']; 
        $afterfee = $fe/2;
     $total =  $del-$afterfee;
      echo number_format($total,2);
        ?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Fee</div>
        <div class="point2"><?php $fe = $userResult['fee']; 
        $afterfee = $fe/2;
        echo number_format($afterfee,2);
        
        ?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Open Price</div>
        <div class="point2"><?php echo number_format($userResult['openprice'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Result</div>
      <div class="point2" style="font-size:12px;font-weight:400"><?php  echo "<span style='color:#2197f3;font-size:12px;font-weight:400'>" . $userResult['resultnumber'] . "</span>"; echo "&nbsp;";  if($userResult['resultcolor']=='green'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>";}elseif($userResult['resultcolor']=='red'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>";}elseif($userResult['resultcolor']=='red++violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green++violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green+violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='red+violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";} ?></div>
		  
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Select</div> 
        <div class="point2" style="color:<?php if($userResult['value']=='Green'){echo"#4caf50";}elseif($userResult['value']=='Red'){echo"#f44336";}elseif($userResult['value']=='Violet'){echo"#3D67B3";}else{echo"#2197f3";}?>;"><?php echo $userResult['value'];?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Status</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#1DCC70";}else{echo"#ff2d55";}?>;"><?php echo ucfirst($userResult['status']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Amount</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#4CAF50";}else{echo"#F44336";}?>;"><?php if($userResult['status']=='success'){echo"+";}else{echo"-";} echo number_format($userResult['paidamount'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Create Time</div>
        <div class="point2"><?php echo $convert;?></div>
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Type</div>
        <div class="point2">Parity</div>
        </div>
        <div class="myParity_btn"><button onclick="/">Pre Pay</button></div>
                </div>
            </td>
        </tr>
        <?php }?>
    </tbody>
</table>
        </div>
        </div>
          <!--=========================tab-3 end========================================-->
       <!--=========================tab-4========================================-->
           <div class="tab-pane fade" id="level4" role="tabpanel">   
    <div class="table-container">
        <table class="table table-borderless" id="myrecordparityt">
           
    <tbody>
     
    <?php
  $userResultQuery=mysqli_query($con,"select *,(select `result` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultnumber,(select `color` from `tbl_result` where `periodid`=`tbl_userresult`.`periodid` and `tabtype`=`tbl_userresult`.`tab`)as resultcolor from `tbl_userresult` where `userid`='".$userid."'  and `status`='success' order by id desc");
  while($userResult=mysqli_fetch_array($userResultQuery)){
	  $post_date = $userResult['createdate'];
 $post_date2 = strtotime($post_date);
 $convert=date('Y-m-d H:i',$post_date2);

	?>
       <tr data-toggle="collapse" data-target="#accordion<?php echo($userResult['id']);?>" class="clickable" style="border-bottom:1px solid #ccc;">
            <td class="pl-3" style="border:1px;">
         <span style="color: #323233; font-size:14px; font-weight:400"> <?php echo ($userResult['periodid']);?> </span>&ensp;<span style="font-size:14px; font-weight:400; color:<?php if($userResult['status']=='success'){echo"#4caf50";}else{echo"#f44336";}?>"> <?php echo ucfirst($userResult['status']);?>&ensp; <?php if($userResult['status']=='success'){echo"+";}else{echo"-";}?><?php echo number_format($userResult['paidamount'],2);?></span>
            
           
            
            
            <div id="accordion<?php echo($userResult['id']);?>" class="detail collapse mt-1 mb-1 p-1" style="padding:0px 30px; margin: 0px -10px;">
                <span style="color:#009688; font-size:14px; font-weight:400"> Period Detail</span>
         <div class="mt-2" style="display: flex;">
        <div class="point2">Period</div>
        <div class="point2"><?php echo ($userResult['periodid']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Money</div>
        <div class="point2"><?php echo number_format($userResult['amount'],2);?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Contract Count</div>
        <div class="point2">1</div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Delivery</div>
        <div class="point2" style="color:#f39839; font-weight:600"><?php $del = $userResult['amount'];
        
        $fe = $userResult['fee']; 
        $afterfee = $fe/2;
     $total =  $del-$afterfee;
      echo number_format($total,2);
        ?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Fee</div>
        <div class="point2"><?php $fe = $userResult['fee']; 
        $afterfee = $fe/2;
        echo number_format($afterfee,2);
        
        ?></div>
        </div>
       <div class="mt-2" style="display: flex;">
        <div class="point2">Open Price</div>
        <div class="point2"><?php echo number_format($userResult['openprice'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Result</div>
      <div class="point2" style="font-size:12px;font-weight:400"><?php  echo "<span style='color:#2197f3;font-size:12px;font-weight:400'>" . $userResult['resultnumber'] . "</span>"; echo "&nbsp;";  if($userResult['resultcolor']=='green'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>";}elseif($userResult['resultcolor']=='red'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>";}elseif($userResult['resultcolor']=='red++violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green++violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='green+violet'){echo "<span style='color:#4caf50;font-size:12px;font-weight:400'>".Green."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";}elseif($userResult['resultcolor']=='red+violet'){echo "<span style='color:#f44336;font-size:12px;font-weight:400'>". Red ."</span>&nbsp+&nbsp<span style='color:#3D67B3;font-size:12px;font-weight:400'>". Violet ."</span>";} ?></div>
		  
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Select</div> 
        <div class="point2" style="color:<?php if($userResult['value']=='Green'){echo"#4caf50";}elseif($userResult['value']=='Red'){echo"#f44336";}elseif($userResult['value']=='Violet'){echo"#3D67B3";}else{echo"#2197f3";}?>;"><?php echo $userResult['value'];?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Status</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#1DCC70";}else{echo"#ff2d55";}?>;"><?php echo ucfirst($userResult['status']);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Amount</div>
        <div class="point2" style="color:<?php if($userResult['status']=='success'){echo"#4CAF50";}else{echo"#F44336";}?>;"><?php if($userResult['status']=='success'){echo"+";}else{echo"-";} echo number_format($userResult['paidamount'],2);?></div>
        </div>
        <div class="mt-2" style="display: flex;">
        <div class="point2">Create Time</div>
        <div class="point2"><?php echo $convert;?></div>
        </div>
          <div class="mt-2" style="display: flex;">
        <div class="point2">Type</div>
        <div class="point2">Parity</div>
        </div>
        <div class="myParity_btn"><button onclick="/">Pre Pay</button></div>
                </div>
            </td>
        </tr>
        <?php }?>
    </tbody>
</table>
        </div>
        </div>
          <!--=========================tab-4 end========================================-->
  </div>
</div></div>
<!-- appCapsule -->

<?php include("include/footer.php");?>

<script src="assets/js/lib/jquery-3.4.1.min.js"></script> 
<!-- Bootstrap--> 
<script src="assets/js/lib/popper.min.js"></script> 
<script src="assets/js/lib/bootstrap.min.js"></script> 
<!-- Owl Carousel --> 
<script src="assets/js/plugins/owl.carousel.min.js"></script> 
<!-- Main Js File --> 
<script src="assets/js/app.js"></script> 
<script src="assets/js/jquery.validate.min.js"></script> 

</body>
</html>