<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="<?php echo SITE_WS_PATH; ?>" />
<title><?php if($meta_title){ echo stripslashes($meta_title); }else if($titlenot){ echo stripslashes($titlenot); }else{ echo 'Precision Metal Stamping Manufacturers | Tool And Die Company | Aluminium Casting Manufacturers';} ?></title>
<meta name="description" content=" <?php if($meta_description){ echo stripslashes($meta_description); }else if($descriptionnot){ echo stripslashes($descriptionnot); }else{ echo 'We Specialize in Manufacturing a Range of Precision Metal Stamping and Tool Design. We have team professional Die Makers.';} ?>">
<meta name="keywords" content="<?php if($meta_keyword){ echo stripslashes($meta_keyword); }else if($keywordnot){ echo stripslashes($keywordnot); }else{ echo 'precision metal stamping manufacturers, die makers, tool design company, tool and die company, metal stampings services, aluminium casting manufacturers';} ?> " >
<!--<link rel="canonical" href="<?php //echo "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" >-->
<link href='https://fonts.gstatic.com' crossorigin rel='preconnect' />
<link rel='stylesheet' type='text/css' href='<?php echo SITE_WS_PATH; ?>/css/style.css'/>
<link rel='stylesheet' type='text/css' href="<?php echo SITE_WS_PATH; ?>/css/responsive.css" />
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="<?php echo SITE_WS_PATH; ?>/js/jquery-1.9.1.min.js"></script>
<script src="<?php echo SITE_WS_PATH; ?>/js/responsiveslides.js"></script>
<script src="<?php echo SITE_WS_PATH; ?>/js/owl.carousel.js"></script>
<link href="<?php echo SITE_WS_PATH; ?>/css/owl.carousel.css" rel="stylesheet" />
<script src="<?php echo SITE_WS_PATH; ?>/js/script.js"></script>
<script src="<?php echo SITE_WS_PATH; ?>/js/script_popup.js"></script>
</head>
<body>
<!-- here form link -->
<?php include('form.php'); ?>
<div id="wrapper">
<?php $vatr = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$path = parse_url($vatr, PHP_URL_PATH);
$segments = explode('/', rtrim($path, '/'));
//"<pre>"; print_r($segments); echo "</pre>";
$stateName = ucwords(str_replace('-',' ',$segments[2]));
$countyName = ucwords(str_replace('-',' ',$segments[3]));
?>   
<!-- mobile navigation  -->
<div id="mobile-menu">
<!-- trigger -->
<a href="javascript:void(0)" class="menu-trigger"> <span><!-- trigger button --></span> </a>
<div class="navbar">
<?php  
if($countyName)
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.$segments[2].'/home'; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.$segments[2].'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php 
}
else
{
if($stateName)  
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/home'; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php 
}
else
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php }
}
?>
</div>
</div>
<!-- header part --> 
<header id="header">
<div class="head-top"> 
<div class="container cf">
<ul>
<li></li>
</ul>
</div>
</div>

<div class="head-lower"> 
<div class="container cf">
<!-- Logo -->
<img src="<?php echo SITE_WS_PATH; ?>/images/logo-1.png" alt="" title="" style="height:94px;">
<div class="head-right">
<div class="contact-info">
<a href="tel:1234567890" class="phone-text"> +1234567890</a>
<a href="mailto: info@metalstamping-dies.com" class="email-text">info@metalstamping-dies.com</a>
</div>
 
<div class="social-icons">
<a href="#" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="#" target="_blank"><i class="fa fa-linkedin"></i></a>
</div>

</div>
</div>
</div>

<div class="navigation">
<div class="container cf">				
<!-- navigation part -->
<nav id="site-navigation">
<?php  
if($countyName)
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.$segments[2].'/home'; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.$segments[2].'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php 
}
else
{
if($stateName)  
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/home'; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.$segments[1].'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php 
}
else
{ ?>
<div class="menu-main-menu-container"><ul id="top-menu" class="menu">
<li class="current-menu-item "><a href="<?php echo SITE_WS_PATH; ?>">Home</a></li>   
<?php
$sqlmenu=mysql_query("SELECT * FROM `the_menu`  where status=1");
while($menu=mysql_fetch_array($sqlmenu))
{ ?>
<li><a href="<?php echo SITE_WS_PATH.'/'.str_replace(' ','-',strtolower($menu['name'])); ?>"><?php echo $menu['name']; ?></a></li>
<?php } ?>
<li style="background-color: #f50e0e;"><a class="query-btn-new" >Get a Quote</a></li>
</ul></div>	  
<?php }
}
?>

</nav>
</div>
</div>
</header>

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">