<?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);

?>
<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 href="<?=site_url;?>/designer/css/bootstrap.css" rel="stylesheet">
<link href="<?=site_url;?>/designer/css/animate.css" rel="stylesheet">
<link href="<?=site_url;?>/designer/css/owl.carousel.css" rel="stylesheet" type="text/css">
<link href="<?=site_url;?>/designer/css/jquery.fancybox.min.css" rel="stylesheet">
<link href="<?=site_url;?>/designer/css/intlTelInput.css" rel="stylesheet">
<link href="<?=site_url;?>/designer/css/themes.css" rel="stylesheet">
<link href="<?=site_url;?>/designer/css/responsive.css" rel="stylesheet">
<script src="<?=site_url;?>/designer/js/jquery-3.6.0.min.js"></script>

<meta name="google-site-verification" content="_uLkd6b_ey7A6trLxuIBQkok1YOmTjIvkscgiUDPVqo">


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

   <script type="application/ld+json">
{
  "@context":"https://schema.org",
  "@type":"LocalBusiness",
  "name":"HR Herbals International",
  "image":"https://www.hrherbal.com/designer/images/logo.png",
  "@id":"https://www.hrherbal.com/uploaded-files/banner-image/SEED-OILS.jpg",
  "url":"https://www.hrherbal.com/",
  "telephone":" +92-315-781-6007",
  "address":{
    "@type":"PostalAddress",
    "streetAddress": " HR International Office 254, Old Grain Market, Sadeq Road, Ahmadpur East, Punjab - 63350, Pakistan",
    "addressLocality":"Ahmadpur East, Punjab",
    "postalCode":"63350",
    "addressCountry":"PK"
  },
  "geo": {
    "@type":"GeoCoordinates",
    "latitude":29.143473,
    "longitude":71.263168
  },
  "openingHoursSpecification": {
    "@type":"OpeningHoursSpecification",
    "dayOfWeek": [
      "Monday",
      "Tuesday",
      "Wednesday",
      "Thursday",
      "Friday",
      "Saturday",
      "Sunday"
    ],
    "opens":"10:00",
    "closes":"07:00"
  }
}
</script>


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

  gtag('config', 'AW-17424417458');
</script>

