<?php
function path()
{
    echo "https://kwikrecycle.com";
    
}

include_once('connection.php');

$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; 
$qry_all="SELECT * FROM metatag WHERE url='$actual_link'  ";
$rsc_all=mysqli_query($conn,$qry_all);
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
   
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    
     <?php
if(mysqli_num_rows($rsc_all)>0){
$data=mysqli_fetch_array($rsc_all);
?>
<title><?php echo $data['meta_title']; ?></title>
<meta name="description" content="<?php echo $data['meta_description']; ?>" />
<meta name="keywords" content="<?php echo $data['meta_keyword']; ?>">
<?php } ?>

    <!-- Favicon -->
    <link href="img/favicon.ico" rel="icon">

    <link rel="stylesheet"
        href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css">

    <!-- Google Web Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    
    <noscript>
      <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap"  />
</noscript>

<!-- LOAD CSS -->
<script type="text/javascript">//<![CDATA[
(function() {
    var css = document.createElement('link');
    css.href = 'https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap';
    css.rel = 'stylesheet';
    css.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(css);
})();
//]]>
</script>
        
    <link rel="shortcut icon" type="image/x-icon" href="<?php path() ?>/img/icon/logo.png" />

    <!-- Icon Font Stylesheet -->
    
    <noscript>
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"  />
</noscript>

<!-- LOAD CSS -->
<script type="text/javascript">//<![CDATA[
(function() {
    var css = document.createElement('link');
    css.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css';
    css.rel = 'stylesheet';
    css.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(css);
})();
//]]>
</script>

    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
    
    <noscript>
      <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css"  />
</noscript>

<!-- LOAD CSS -->
<script type="text/javascript">//<![CDATA[
(function() {
    var css = document.createElement('link');
    css.href = 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css';
    css.rel = 'stylesheet';
    css.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(css);
})();
//]]>
</script>

     <!-- ==== gallery link === -->
     
     <noscript>
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css"  />
</noscript>

<!-- LOAD CSS -->
<script type="text/javascript">//<![CDATA[
(function() {
    var css = document.createElement('link');
    css.href = 'https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css';
    css.rel = 'stylesheet';
    css.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(css);
})();
//]]>
</script>

     <noscript>
      <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"  />
</noscript>

<!-- LOAD CSS -->
<script type="text/javascript">//<![CDATA[
(function() {
    var css = document.createElement('link');
    css.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css';
    css.rel = 'stylesheet';
    css.type = 'text/css';
    document.getElementsByTagName('head')[0].appendChild(css);
})();
//]]>
</script>

    <!-- Libraries Stylesheet -->
    <link href="<?php path() ?>/lib/animate/animate.min.css" rel="stylesheet">
    <link href="<?php path() ?>/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">

    <!-- Customized Bootstrap Stylesheet -->
    <link href="<?php path() ?>/css/bootstrap.min.css" rel="stylesheet">

    <!-- Template Stylesheet -->
    <link href="<?php path() ?>/css/style.css" rel="stylesheet">

</head>