<?php
$actual_links = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}";
$pageArr=end(explode('/',$actual_links));
$page_url=explode('.',$pageArr)[0];
// echo $page_url;
// exit;
$pagesNum=mysqli_num_rows(mysqli_query($GLOBALS['dbconn'],"SELECT meta_id from wps_meta_tags where page_url='$page_url' and status='Y'"));
// if($pagesNum==0 && $page_url!='' && $page_url!='search'){
//     header("Location: " . site_url);
//   exit();
// }
$allpagemetaSql= mysqli_query($GLOBALS['dbconn'],"SELECT page_url,meta_title,meta_description,meta_keyword from wps_meta_tags where entity_name!='market' and  entity_name!='category' and page_url='$page_url' and status='Y'");
$allpagemetaRes=mysqli_fetch_assoc($allpagemetaSql);
$metatitle=$allpagemetaRes['meta_title'];
$metadesc=$allpagemetaRes['meta_description'];
$metaKeyword=$allpagemetaRes['meta_keyword'];
$page_metatitle=$metatitle!=''?$metatitle:$page_metatitle;
$page_metadesc=$metadesc!=''?$metadesc:$page_metadesc;
$page_metakey=$metaKeyword!=''?$metaKeyword:$page_metakey;
?>
<title><?= $page_metatitle; ?></title>
<meta name="description" content="<?= $page_metadesc; ?>">
<meta name="keywords" content="<?= $page_metakey; ?>">
<meta name="State" content="<?= $admin_res['state']; ?>">
<meta name="City" content="<?= $admin_res['city']; ?>">
<meta name="address" content="<?= $admin_res['address']; ?>">
<meta name="copyright" content="Copyright <?= date('Y'); ?> <?= $admin_res['companyName']; ?> - <?= $page_metatitle; ?>">
<meta name="distribution" content="global">
<meta name="language" content="english">
<meta name="rating" content="general">
<meta name="subject" content="<?= $page_metatitle; ?>">
<meta name="robots" content="ALL">
<meta name="revisit-after" content="2 days">
<meta name="generator" content="<?= site_url; ?>">
<meta name="author" content="<?= $admin_res['companyName']; ?>">
<meta name="og:type" content="article">
<meta name="og:title" content="<?= $page_metatitle; ?>">
<meta name="og:image" content="<?= site_url; ?>/designer/images/logo.png">
<meta name="og:site_name" content="<?= $admin_res['companyName']; ?>">
<meta name="og:description" content="<?= $page_metadesc; ?>">
<meta name="twitter:card" content="summary">
<meta name="twitter:desc" content="<?= $page_metadesc; ?>">
<meta name="twitter:title" content="<?= $page_metatitle; ?>">
<meta name="abstract" content="<?= $page_metatitle; ?>">
<meta name="Classification" content="<?= $page_metadesc; ?>">
<meta name="dc.source" content="<?= site_url; ?>">
<meta name="dc.title" content="<?= $page_metatitle; ?>">
<meta name="dc.keywords" content="<?= $page_metakey; ?>">
<meta name="dc.subject" content="<?= $page_metatitle; ?>">
<meta name="dc.description" content="<?= $page_metadesc; ?>">
<link rel="canonical" href="<?php echo $actual_links; ?>">
<link rel="publisher" href="<?= site_url; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="<?=site_url;?>/designer/images/favicon.ico">

<!-- <link rel="preload" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap">
</noscript> -->

 <!-- <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"> -->
 <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.css">
</noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css">
</noscript>
<link fetchpriority="low" href="<?= site_url; ?>/designer/css/themes.css" rel="stylesheet">
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css" as="style"
    onload="this.onload=null;this.rel='stylesheet'">
<noscript>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css">
</noscript>
<link href="<?=site_url;?>/designer/css/responsive.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> 
<script>
    if (window.innerWidth <= 768) {
     setTimeout(function() {
        $.getScript("https://www.google.com/recaptcha/api.js");
    }, 10000);  
    } else {
        setTimeout(function() {
            $.getScript("https://www.google.com/recaptcha/api.js");
        }, 5000);  
    }
</script>


<script async src="https://www.googletagmanager.com/gtag/js?id=G-H9D4WP0PVB"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-H9D4WP0PVB');
</script>

<meta name="google-site-verification" content="4KPo65TY2rLU4ColHOof5O3jjN_1aEjjvKOgYPS7_As">

<script type="application/ld+json">

{

  "@context": "https://schema.org",

  "@type": "Organization",

  "name": "Leci Lipids FZ LLC",

  "url": "https://www.lecilipids.com/",

  "logo": "https://www.lecilipids.com/designer/images/logo.png"

}

</script>

<script type="application/ld+json">

{

  "@context": "https://schema.org/",

  "@type": "WebSite",

  "name": "Leci Lipids FZ LLC",

  "url": "https://www.lecilipids.com/",

  "potentialAction": {

    "@type": "SearchAction",

    "target": "{search_term_string}",

    "query-input": "required name=search_term_string"

  }

}

</script>

<script type="application/ld+json">

{

  "@context": "https://schema.org/", 

  "@type": "BreadcrumbList", 

  "itemListElement": [{

    "@type": "ListItem", 

    "position": 1, 

    "name": "Home",

    "item": "https://www.lecilipids.com/"  

  },{

    "@type": "ListItem", 

    "position": 2, 

    "name": "Lecithin Manufacturers",

    "item": "https://www.lecilipids.com/lecithin.htm"  

  },{

    "@type": "ListItem", 

    "position": 3, 

    "name": "NON GMO Soya Lecithin Liquid Manufacturers",

    "item": "https://www.lecilipids.com/non-gmo-soya-lecithin-liquid.htm"  

  }]

}

</script>

