<?php 
include'config.php';
?>
<?php 
// error_reporting(E_ALL | E_STRICT);
// ini_set('display_errors', 1);
  $server=$_SERVER['PHP_SELF'];
  
//   $url=substr($server,7);
  $exp = explode("/", $server);
  $url= $exp[1];
    if($url=='index.php')
      {
        $title="Best Leather Manufacturer and Supplier From Kanpur - Krishna Creations
";
        $metas=[
              'key'=>'Best Quality Leather manufacturer and supplier In Kanpur,
                    Top Quality Leather manufacturer and supplier From Uttar Pradesh,
                    Reliable Quality Leather supplier and Wholesalers in kanpur,
                    Quality Leather Products manufacturer and supplier From Kanpur,
                    Trusted Exporter Of Quality Leather In Kanpur (Uttar Pradesh),
                    Finest Quality Leather manufacturer and suppliers in Kanpur,
                    From Kanpur(U.P) Quality Leather Exporter Sand supplier,
                    Top Quality Leather supplier and distributors From Kanpur,
                    Premium Quality Leather Products Suppliers & Exporters,
                    Leather manufacturer and supplier From Kanpur',
              'desc'=>'Discover premium leather products from Krishna Creations, Kanpur top leather manufacturer and supplier. Quality craftsmanship and exceptional service define our leather goods.
'
        ];
         $links=[
                 'can'=>'https://krishna-creations.com/',
                 'schema'=>'<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Krishna Creations",
"url": "https://krishna-creations.com/index.php",
"logo": "https://krishna-creations.com/assets/k.png",
"contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+91-9839649757",
    "contactType": "sales",
    "contactOption": "TollFree",
    "areaServed": "IN",
    "availableLanguage": ["en","Hindi"]
},
"sameAs": "https://krishna-creations.com/"
}
</script>'
                  ];
                  
                  
      }elseif($url=='about.php'){
        $title="About Us - Best Leather Manufacturer, Exporters and Supplier From Kanpur";
        $metas=[
              'key'=>'Best Quality Leather manufacturer and supplier In Kanpur,
                    Top Quality Leather manufacturer and supplier From Uttar Pradesh,
                    Reliable Quality Leather supplier and Wholesalers in kanpur,
                    Quality Leather Products manufacturer and supplier From Kanpur,
                    Trusted Exporter Of Quality Leather In Kanpur (Uttar Pradesh),
                    Finest Quality Leather manufacturer and suppliers in Kanpur,
                    From Kanpur(U.P) Quality Leather Exporter Sand supplier,
                    Top Quality Leather supplier and distributors From Kanpur,
                    Premium Quality Leather Products Suppliers & Exporters,
                    Leather manufacturer and supplier From Kanpur',
              'desc'=>'Step up your style with premium leather products from Krishna Creations, the best leather manufacturer and supplier from Kanpur. Explore quality and elegance.'
        ];
           $links=[
                 'can'=>'https://krishna-creations.com/about.php',
                 'schema'=>'<script type="application/ld+json"> 
                            {
                              "@context": "http://www.schema.org",
                              "@type": "WebSite",
                              "name": "About Us",
                              "url": "https://krishna-creations.com/about.php"
                            }
                             </script>'
                  ];
                  
      }elseif($url=='contact.php'){
        $title="Contact Us | Best Leather Manufacturer, Exporters and Supplier From Kanpur";
        $metas=[
              'key'=>'Best Quality Leather manufacturer and supplier In Kanpur,
                    Top Quality Leather manufacturer and supplier From Uttar Pradesh,
                    Reliable Quality Leather supplier and Wholesalers in kanpur,
                    Quality Leather Products manufacturer and supplier From Kanpur,
                    Trusted Exporter Of Quality Leather In Kanpur (Uttar Pradesh),
                    Finest Quality Leather manufacturer and suppliers in Kanpur,
                    From Kanpur(U.P) Quality Leather Exporter Sand supplier,
                    Top Quality Leather supplier and distributors From Kanpur,
                    Premium Quality Leather Products Suppliers & Exporters,
                    Leather manufacturer and supplier From Kanpur',
              'desc'=>'Contact Krishna Creations, leading leather manufacturer, exporter, and supplier from Kanpur. Explore premium quality leather products crafted with excellence. Get in touch today!'
        ];
       $links=[
                 'can'=>'https://krishna-creations.com/contact.php',
                 'schema'=>'<script type="application/ld+json"> 
                        {
                          "@context": "http://www.schema.org",
                          "@type": "WebSite",
                          "name": " Contact us",
                          "url": "https://krishna-creations.com/contact.php"
                        }
                         </script>'
                  ];
                  
      
      }elseif($url=='other-products.php'){
        $title="Best Leather Products Suppliers and Manufacturer From Kanpur 
";
        $metas=[
              'key'=>'',
              'desc'=>"Discover top-quality Leather Products from Kanpur's finest suppliers and manufacturers. Explore the best in craftsmanship and durability with our curated selection of premium leather goods. Elevate your style and reliability with the leading leather suppliers in Kanpur

"
        ];
          $links=[
                 'can'=>'https://krishna-creations.com/other-products.php',
                 'schema'=>''
                  ];
                  
        
    }
      elseif($url=='products.php'){ 
      
$page_flname = $_REQUEST['c_name'];
if(!empty($page_flname)) {

	$flname1 = str_replace(".php", "", $page_flname);
	
	$flname = strtolower($flname1);
                                           $query = "SELECT category.id as catid, subcategory.* from category INNER JOIN subcategory on category.id = subcategory.catid WHERE category.slug = '$flname' ";
                                              
                                                // $query = "SELECT * FROM subcategory  where slug = '$flname' ";
                                                 $executeQuery = $d->selectQueryInArray($query);
           
                                                   if($executeQuery )  { 
                                                   foreach ($executeQuery as $row)
                                                      {
                                                
        $title= $row['m-title'];
        $metas=[
            'key'=>'',
            
              'desc'=> $row['m-desc']
            
        ];
                  
                                                        $links=[
                 'can'=>$row['can'],
                 'schema'=>$row['m-schema']
                  ];
                                                      }}
    }}

  elseif($url=='product.php'){ 
      
                                      $page_flname = $_REQUEST['file_name'];
if(!empty($page_flname)) {

	$flname1 = str_replace(".php", "", $page_flname);
	
	$flname = strtolower($flname1);
                                        //   $query = "SELECT category.id as catid, subcategory.* from category INNER JOIN subcategory on category.id = subcategory.catid WHERE category.slug = '$flname' ";
                                              
                                                $query = "SELECT * FROM subcategory  where slug = '$flname' ";
                                                 $executeQuery = $d->selectQueryInArray($query);
           
                                                   if($executeQuery )  { 
                                                   foreach ($executeQuery as $row)
                                                      {
                                                
        $title= $row['m-title'];
        $metas=[
            
              'desc'=> $row['m-desc'],
               'key'=> $row['m-key']
            
        ];
                  
                                                        $links=[
                 'can'=>$row['can'],
                 'schema'=>$row['m-schema']
                  ];
                                                      }}}
    }

?>