<?php include_once("include/main.inc.php");

$admin_sql = mysqli_query($dbconn, "select * from admin_details");
$admin_res = mysqli_fetch_array($admin_sql);
?>
<a id="web-pulse-scroll-up" title="Go to Top">
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
    <path fill-rule="evenodd" d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5z"></path>
  </svg>
</a> 
<header class="header">
  <div class="topbar">
    <div class="container">
      <div class="row g-0 align-items-center">
        <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-5">
          <div class="w-p-s-logo">
            <a href="<?=site_url;?>" title="<?=admin_res['companyName'];?>">
              <img src="<?=theme_url;?>/images/logo.png" alt="<?=$admin_res['companyName'];?>" title="Steel Overseas">
            </a>
          </div>
        </div>
        <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-6 col-7">
          <div class="top_right">
            <div class="search">
              <form method="get" action="<?=site_url;?>/search.htm">
                <input type="text" class="form-control" name="keyword" required="" placeholder="I am looking for...">
                <button type="submit" class="search_btn">
                  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                    <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
                  </svg>
                </button>
              </form>
            </div>
          </div>
        </div>
        <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-4 col-4 mobile_hide">
          <div class="top_right">
            <div class="phone_call mobile_hide">
              <a href="tel:<?=$admin_res['phone'];?>" title="<?=$admin_res['phone'];?>">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                  <path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"></path>
                </svg> <?=$admin_res['phone'];?></a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="menubar">
    <div class="container">
      <div class="row">
        <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-12">
          <div class="navigation">
            <div class="navbar">
              <div class="phone_call">
                <a href="tel:+91-9769298598" title="+91-9769298598">
                  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
                    <path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"></path>
                  </svg> +91-9769298598 </a>
              </div>
              <button>
                <span></span>
                <span></span>
                <span></span>
                <span></span>
              </button>
            </div>
            <div class="menu main_header">
              <ul class="nav">
                <li class="active">
                  <a href="<?=site_url;?>" title="Home">Home</a>
                </li>
                <li>
                  <a href="<?=site_url;?>/about.htm" title="Company Profile">Company Profile</a>
                </li>


                <?php $sql=mysqli_query($dbconn,"select * from category_tbl where parentID='0' && status='Y' order by catOrder");
									$count=mysqli_num_rows($sql);
									while($res=mysqli_fetch_array($sql)){?>
									<?php $catID=$res['catID'];
									$sql_sub=mysqli_query($dbconn,"select * from category_tbl where parentID='$catID' && status='Y' order by catOrder");
              $count =mysqli_num_rows($sql_sub);
									?>
                   <li class="cs-submenu <?php echo $catID;?> <?php if($hover==$catID){ echo 'active'; }?>"><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($res['catName']);?>.htm" title="<?php echo $res['catName']; ?> "> <?php echo $res['catName']; ?></a>
									<?php if(mysqli_num_rows($sql_sub) > 0){?>
									<ul class="cs-dropdown">
									<?php while($subres=mysqli_fetch_array($sql_sub)) {
									$catIDs=$subres['catID'];
									$sql_subsub=mysqli_query($dbconn,"select * from category_tbl where parentID='$catIDs' && status='Y' order by catOrder");
									if(mysqli_num_rows($sql_subsub) > 0) {?>
									<li class="cs-submenu"><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($subres['catName']);?>.htm" title="<?php echo $subres['catName']; ?>"><?php echo $subres['displayName']; ?>  </a>
									<ul class="cs-dropdown">
									<?php while($subsubres=mysqli_fetch_array($sql_subsub)){
									$catIDss=$subsubres['catID'];
									$sql_final=mysqli_query($dbconn,"select * from category_tbl where parentID='$catIDss' order by catOrder");
									if(mysqli_num_rows($sql_final) > 0){ ?>
									<li class="cs-submenu"> <a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($subsubres['catName']);?>.htm" title="<?php echo $subsubres['catName']; ?> "><?php echo $subsubres['displayName']; ?></a>
									<ul class="cs-dropdown">
									<?php while($finalres=mysqli_fetch_array($sql_final)) {?>
									<li><a href="<?=site_url;?>//<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($finalres['catName']);?>.htm" title="<?php echo $finalres['catName']; ?> "><?php echo $finalres['displayName']; ?></a></li>
									<?php }?>
									</ul>
									</li>
									<?php } else{?>
									<li><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($subsubres['catName']);?>.htm" title="<?php echo $subsubres['catName']; ?> "><?php echo $subsubres['displayName']; ?></a></li>
									<?php } }?>
									</ul>
									</li>
									<?php } else {?>
									<li><a href="<?=site_url;?>/<?=getValidFileName($ca_nam1);?>/<?=getValidFileName($subres['catName']);?>.htm" title="<?php echo $subres['catName']; ?> "><?php echo $subres['displayName']; ?></a></li>
									<?php } }?>
									</ul>
									<?php }?>
									</li>
									<?php }?>

                






















                <!-- <li class="cs-submenu">
                  <a href="<?=site_url;?>/category.htm" title="Our Products">Our Products</a>
                  <ul class="cs-dropdown">
                    <li>
                      <a href="">Stainless Steel Plates Sheet</a>
                      <ul class="cs-dropdown">
                        <li class=" ">
                          <a href="#" title="316TI Stainless Steel Plates Sheet">316TI Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="317L Stainless Steel Plates Sheet">317L Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="321 Stainless Steel Plates Sheet">321 Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="347H Stainless Steel Plates Sheet">347H Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="310S Stainless Steel Plates Sheet">310S Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="904L Stainless Steel Plates Sheet">904L Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="304 Stainless Steel Plates Sheet">304 Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="304L Stainless Steel Plates Sheet">304L Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="316L Stainless Steel Plates Sheet">316L Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="309 Stainless Steel Plates Sheet">309 Stainless Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="2205 Duplex Steel Plates Sheet">2205 Duplex Steel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="2507 Super Duplex Steel Plates Sheet">2507 Super Duplex Steel Plates Sheet </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a href="">Steel Plates Sheet</a>
                      <ul class="cs-dropdown">
                        <li class=" ">
                          <a href="#" title="ST 52 Plates Sheet">ST 52 Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="16MO3 Plates Sheet">16MO3 Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Alloy Steel A387 Grade 11 Plates Sheet">Alloy Steel A387 Grade 11 Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Alloy Steel A387 Grade 22 Plates Sheet">Alloy Steel A387 Grade 22 Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="C45 Plates Sheet">C45 Plates Sheet </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a href="">Nickel Alloy Plates Sheet</a>
                      <ul class="cs-dropdown">
                        <li class=" ">
                          <a href="#" title="Monel Plates Sheet">Monel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Hastelloy Plates Sheet">Hastelloy Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Copper Nickel Plates Sheet">Copper Nickel Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Inconel Sheets">Inconel Sheets </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="Titanium Sheet">Titanium Sheet </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a href="">Wear and Abrasion Resistant Steel Plates and Sheets</a>
                      <ul class="cs-dropdown">
                        <li class=" ">
                          <a href="#" title="Hardox Plates Sheet">Hardox Plates Sheet </a>
                        </li>
                      </ul>
                    </li>
                    <li>
                      <a href="">WMI Group</a>
                      <ul class="cs-dropdown">
                        <li class=" ">
                          <a href="#" title="A283 Grade C Plates Sheet">A283 Grade C Plates Sheet </a>
                        </li>
                        <li class=" ">
                          <a href="#" title="A283 Grade C Plates Sheet">A516 Grade 70 Plates Sheet </a>
                        </li>
                      </ul>
                    </li>
                  </ul>
                </li>---->
                <li><a href="<?= site_url; ?>/photo-gallery.htm">Photo Gallery</a></li>
                <li>
                  <a href="<?=site_url;?>/blog.htm" title="Blogs">Blogs</a>
                </li>
                <li>
                  <a href="<?=site_url;?>/contact.htm" title="Contact Us">Contact Us</a>
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>