<?php
session_start();

require_once('../config/config.php');
require_once('../classes/dbClass.php');

if(isset($_GET['msg']) && $_GET['msg'] == 'logerror'){
	$error[] = 'You have to login to view this page.';
}
if(isset($_GET['msg']) && $_GET['msg'] == 'logout'){
	$info[] = 'You are successfully logged out.';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="icon" type="image/png" href="../images/address_bar_logo.gif" />
<link href="../css/style_coal.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../menu/style.css" type="text/css">

<title>Coalbazaar.com – Coal, Indian coal, Imported Coal, Steam Coal, PET Coal, MET Coal, Lignite, Husk, Fuel, Slack coal, ROM coal, Lassoers, Lifters, Transporter, shipping, shipping agents, stevedores, booking agents, Traders, Coal News, Coal Jobs, sell, buy, bazaar, bazaar, market, coal market</title>

<script>
	$( document ).ready(function() {
		if (window.location.protocol != "http:") {
			window.location.href= "http:"+window.location.href.substring(window.location.protocol.length);
		}
		
		if(window.location.hostname!='coalbazaar.com'){
			window.location.href= "http://coalbazaar.com/hindi";
		}
	});
</script>

</head>

<body>
	<div class="maindiv">
    	<div align="center">
    	<div class="maindiv2">
                <div class="header1">
                	
                	<div class="topcalldiv">
                    	<h5>Call Me: +91-9993299974</h5>
                    </div>
                    
                	<div class="topnavi">
                    	<div class="topnavileft">
                        	<img src="../images/toplinklbg_03.PNG" alt="" />
                        </div>
                        
                        <div class="topnavimid">
                        	<ul>
                            	<li><a href="index.php">मुख्य पृष्ठ</a>|</li>
								<li><a href="http://shrinetra.com/shrinetrainfotech/aboutus.php" target="_blank">हमारे बारे में</a>|</li>
								<li><a href="coaljobs.php"><font color="blue"><b><img src="../images/new1.gif" height="15"/>कोयला नौकरी</b></font></a>|</li>
								<li><a href="news.php"><font color="red"><b><img src="../images/New.gif" height="15"/>कोयला समाचार</b></font></a>|</li>
                                <li><a href="coal_knowladge.php">कोयला रूपांतरण</a>|</li>
								<li><a href="enquiry.php">पूछताछ</a>|</li>
								<li><a href="contact.php">हमसे संपर्क करें</a></li>
                                <div style="clear:both;"></div>
                            </ul>
                        </div>
                        
                        <div class="topnaviright">
                        	<img src="../images/toplinklbgright.PNG" alt="" />
                        </div>

                        <div style="clear:both;"></div>
                    </div>

                    <div class="header1bottomdiv">
                    	<div class="guestdiv">
                        	<table width="260" border="0" cellspacing="0" cellpadding="0" class="selecttable">
                              <tr>
                                <td width="260" align="right">
                                <?php  if((isset($_SESSION['memberID']) && $_SESSION['memberID'] != '') ||(isset($_COOKIE['memberID']) && $_COOKIE['memberID'] != '')) {
									$sqt = mysql_fetch_array(mysql_query("select * from ".TBL_USER." where (id = '".$_COOKIE['memberID']."' OR id = '".$_SESSION['memberID']."')"));
							?>	 आपका स्वागत है&nbsp;  :  <?php echo "<b>".$sqt['fname'].' '.$sqt['lname']."</b>";
								}
								else {
								?>
                                <?php } ?><?php if((isset($_SESSION['memberID']) && $_SESSION['memberID'] != '') ||(isset($_COOKIE['memberID']) && $_COOKIE['memberID'] != '')) { ?>&nbsp;<a href="logout.php">लॉगआउट</a><?php } else { ?><a href="login.php">लॉगिन</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="registration.php">रजिस्टर</a></td>
								<?php } ?></tr>
                            </table>

                        </div>
                        
                        
                        
                         <div class="searchdiv" style="float:right;width:auto;margin-right:5px;">
                        		<a href="../index.php"><img src="../images/english.PNG" height="40" width="100"/></a>
                            <div style="clear:both;"></div>
                        </div>
                        
                        <div style="clear:both;"></div>
                    </div>
                </div>

                <div class="header2">
                	<div class="logo">
                    	<img src="../images/coal_logo.png" height="81" width="210" alt=""/>
                    </div>
                    
                    <div class="topadd">
						<a href="index.php"><img src="../images/topadd3.PNG" alt="coalbazaar.com"/></a>
                    </div>
                    
                    <div style="clear:both;"></div>
                </div>
            
<!-- Start css3menu.com BODY section id=2 class="pressed" -->
<ul id="css3menu2" class="topmenu" style="margin-bottom:1px;">
	<li class="topfirst" style="width:90px;"><a <?php if($active == 'Buy Fuel') { ?> class="pressed" <?php } ?> href="buycoal.php" title="Buy Fuel" style="height:12px;line-height:12px;">ईंधन खरीदने</a></li>
			<li class="topmenu"  style="width:80px;"><a <?php if($active == 'New Offers') { ?> class="pressed" <?php } ?> href="newarrival.php" title="New Offers" style="height:12px;line-height:12px;">न्यू ऑफर</a></li>
	<li class="topmenu"  style="width:80px;"><a <?php if($active == 'Hot Offers') { ?> class="pressed" <?php } ?> href="hot.php" title="Hot Offers" style="height:12px;line-height:12px;">हॉट ऑफर</a></li>
	<li class="topmenu"><a <?php if($active == 'Sell Fuel') { ?> class="pressed" <?php } ?>  href="<?php if(!isset($_SESSION['memberID']) && $_COOKIE['memberID'] == '') { ?>members.php<?php } else { ?>sellcoal_step2.php<?php } ?>" title="Sell Fuel" style="height:12px;line-height:12px;">ईंधन बेचें</a></li>
	<li class="topmenu"><a <?php if($active == 'Directory') { ?> class="pressed" <?php } ?>  href="directory.php" title="Directory" style="height:12px;line-height:12px;">डायरेक्टरी</a></li>
	<li class="topmenu"  style="width:100px;"><a <?php if($active == 'Related Services') { ?> class="pressed" <?php } ?>  href="javascript:void()" title="Related Services" style="height:12px;line-height:12px;"><span>संबंधित सेवाएँ</span></a>
	<ul>
		<li><a href="liasoning.php" title="Liasoning &amp; Lifting">Liasoning और भारोत्तोलन</a></li>
		<li><a href="transporter.php" title="Transportation &amp; logistics">परिवहन एवं रसद</a></li>
		<li><a href="stevedors.php" title="Stevedores &amp; Shiping agents">Stevedores और Shiping एजेंट</a></li>
	</ul></li>
	<li class="topmenu"><a <?php if($_GET['active'] == 'Coal Research') { ?> class="pressed" <?php } ?>  href="#" title="Coal Research" style="height:12px;line-height:12px;"><span>रिसर्च इन कोयला</span></a>
	<ul>
		<li><a href="page.php?page=About Fuel Type&active=Coal Research" title="About Fuel Type">ईंधन के प्रकार के बारे में</a></li>
		<li><a href="page.php?page=Coal as a Fuel&active=Coal Research" title="Coal as a Fuel">ईंधन के रूप में कोयला</a></li>
		<li><a href="page.php?page=Coal Grades&active=Coal Research" title="Coal Grades">कोयला ग्रेड</a></li>
		<li><a href="page.php?page=Coal mining in India&active=Coal Research" title="Coal mining in India">भारत में कोयला खनन</a></li>
		<li><a href="page.php?page=Coal India and Its Subsidiary&active=Coal Research" title="Coal India and Its Subsidiary">कोल इंडिया और उसकी सहायक</a></li>
	</ul></li>
	<li class="topmenu"><a <?php if($active == 'My Shop') { ?> class="pressed" <?php } ?> href="javascript:void()" title="My Shop" style="height:12px;line-height:12px;"><span>मेरी दुकान</span></a>
	<ul>
		<?php  if((isset($_SESSION['memberID']) && $_SESSION['memberID'] != '') ||(isset($_COOKIE['memberID']) && $_COOKIE['memberID'] != '')) {   ?>
		<li><a href="mylisting.php" title="Listing Details">लिस्टिंग विवरण</a></li>
		<li><a href="myenquiries.php" title="Enquiry Details">पूछताछ विवरण</a></li>
		<li><a href="edit_directory.php" title="Edit Directory">निर्देशिका विवरण संपादित</a></li>
		<li><a href="change_password.php" title="Change Password">पासवर्ड बदलें</a></li>
		<li><a href="web.php" title="Change Theme">वेबसाइट डिजाइन</a></li>
		<li><a href="logout.php" title="Logout">लॉगआउट</a></li>
		<?php } else { ?>
		<li><a href="login.php" title="Login"><div align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;लॉगिन&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></a></li>
		<?php } ?>
	</ul></li>
	<li class="toplast"  style="width:236px;"><a <?php if($_GET['active'] == 'How to start a Coal Business') { ?> class="pressed" <?php } ?> href="javascript:void()" title="How to start a Coal Business" style="height:12px;line-height:12px;"><span>कैसे एक कोयला व्यवसाय शुरू करने के लिए</span></a>
	<ul>
		<li><a href="page.php?page=Minimum Requirement&active=How to start a Coal Business" title="Minimum Requirement">न्यूनतम आवश्यकता</a></li>
		<li><a href="page.php?page=Spot e-Auction Scheme 2007&active=How to start a Coal Business" title="Spot e-Auction Scheme 2007">स्पॉट ई - ऑक्शन योजना 2007</a></li>
		<li><a href="page.php?page=Help to start a coal business&active=How to start a Coal Business" title="Help to start a coal business">एक कोयला व्यापार शुरू करने के लिए मदद</a></li>
	</ul></li>
</ul>
<!-- End css3menu.com BODY section -->


