<?php







ob_start();







session_start();







/******************INCLUDES**********************/







include('connection/connection.php');







include_once('index.fns.php');







include_once 'admin_end/config.php';







include_once 'admin_end/includes/mysql.inc.php';







include_once('lib/class.news.blog.php');







$frontEnd= new frontEnd;







$newsBlog = new newsBlog;







/************************************************/























?>

<!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>
<script type="text/javascript">
if(document.location.protocol=='http:'){
 var Tynt=Tynt||[];Tynt.push('doNBuMQU8r36Z9adbi-bpO');Tynt.i={"st":true};
 (function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link href="css/style.css" type="text/css" rel="stylesheet" />

<link href="../css/imageScroller.css" type="text/css" rel="stylesheet" />

<link href="css/menu1.css" type="text/css" rel="stylesheet" />

<title>Kuwaitcommercials.com is the only leading web based business directory of Kuwait with online ordering features</title>
<meta name="keywords" content="Kuwait Commercials, online business directory, business directory kuwait, business directory of kuwait, kuwait business directory, kuwait online business directory, online purchase kuwait, kuwait companies, companies in kuwait, business, online shopping, online shopping kuwait">
<meta name="description" content="This website is a comprehensive list of information of leading business entities in kuwait with an emphasis on online shopping">


<!--<script type="text/javascript" src="js/jquery.min.js"></script>







<script type="text/javascript" src="js/ddaccordion.js"></script>-->

<script src="Scripts/scriptaculous/prototype.js" type="text/javascript"></script>

<script src="Scripts/scriptaculous/scriptaculous.js" type="text/javascript"></script>

<script type="text/javascript" src="js/dropdown.js"></script>

<!--<link rel="stylesheet" media="all" type="text/css" href="jquery-concertina-6_files/stunicholls.css">-->

<script type="text/javascript">
function call_fun1()
{
document.getElementById('latest_blog').style.display='';
document.getElementById('latest_news').style.display='none';
document.getElementById('latest_vote').style.display='none';
document.getElementById('Latests').className = "maintext3";
document.getElementById('News').className = "maintext2";
document.getElementById('Vote').className = "maintext2";

}
function call_fun2()
{
document.getElementById('latest_blog').style.display='none';
document.getElementById('latest_news').style.display='';
document.getElementById('latest_vote').style.display='none';
document.getElementById('Latests').className = "maintext2";
document.getElementById('News').className = "maintext3";
document.getElementById('Vote').className = "maintext2";
}
function call_fun3()
{
document.getElementById('latest_blog').style.display='none';
document.getElementById('latest_news').style.display='none';
document.getElementById('latest_vote').style.display='';
document.getElementById('Latests').className = "maintext2";
document.getElementById('News').className = "maintext2";
document.getElementById('Vote').className = "maintext3";
}




function submitSearch() {







	document.frmSearch.submit();







}



function submitSearchProducts() {
	document.frmSearchProducts.submit();
}














</script>

<?php







	include("includes/jquery.php");







?>

<style type="text/css">
<!--
.maintext2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	color: #333333;
	padding-right: 0px;
	padding-left: 0px;
}
.maintext3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	color:#0000FF;
	padding-right: 0px;
	padding-left: 0px;
}

.style1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight:bold;
	color: #333333;
	padding-right: 0px;
	padding-left: 0px;
}

-->
</style>
</head>

<body>

<div id="main_wrap">

  <div id="main_container">

  <div align="center">
   <?php
				include("includes/index_header.php");
			?>
			</div>
   

    <div class="blue_line">

      <?php

				include("includes/menu.php");

		?>

    </div>

    <div class="top_content">

       <?php

				include("includes/top_bar.php");

		?>

    </div>

   
    <div id="content">

      <div class="left_sidebar" style="font-size:9px;">

        <div class="search_box">

          <div class="search_img"></div>

          <h2 style="font-size:14px;">search our directory</h2>

          <form action="search_companies.php" method="post" name="frmSearch">

            <input type="text" name="Search" size="22" class="searchfield"/>

            <img src="images/go_btn.jpg" alt="go" align="absmiddle" onclick="javscript:submitSearch();" />

          </form>
		  
		  <h2 style="font-size:14px; margin-top:-10px;  *margin-top:-30px; ">search products</h2>

          <form action="product_search.php" method="post" name="frmSearchProducts">

            <input type="text" name="Search" size="22" class="searchfield"/>

            <img src="images/go_btn.jpg" alt="go" align="absmiddle" onclick="javscript:submitSearchProducts();" />

          </form>

        </div>

<br />
<div id="useful_links2">

      <?

		echo $frontEnd->getUsefulLinks2();

	?>

    </div>
	<div>
<br />
     <a href="services_list.php">Services</a>

    </div>
       

        

      </div>

      <div class="middle_content">

        <div class="no_compromise">

          <?php

		$cur=date("Y-m-d");

		$qz = mysqli_query($db, "select * from companies WHERE CompanyBanner !='' AND ExpiryDate>".$cur." AND DisplayBanneronCenter=1");

		$row=mysqli_fetch_array($qz);

		//if($row['CompanyBanner'] != '') {


		$iquery='SELECT * FROM flash_links';
		$iresult=mysqli_query($db, $iquery) or die('Unable to retreive data');
		$irow=mysqli_fetch_array($iresult);

		?>

          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="437" height="219">

            <param name="movie" value="images/companyImages/banner/midbanner.swf" />

            <param name="quality" value="high" />

            <embed src="images/companyImages/banner/midbanner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="437" height="219"></embed>

          </object>

          <?php 

		//} 

		?>

          <br />

          <div style="width:100%; text-align:left;"></div>

        </div>

        <div class="blogupdates_box" style="font-size:9px;">
<br />
          <a style=" cursor:pointer" onclick="call_fun1();"><span id="Latests" class="maintext3">Latest blog updates</span></a>  &nbsp;&nbsp;  |&nbsp;&nbsp; <a style=" cursor:pointer" onclick="call_fun2();"><span id="News" class="maintext2">News</span> </a> &nbsp;&nbsp;  |&nbsp;&nbsp;<a style=" cursor:pointer" onclick="call_fun3();"><span class="maintext2" id="Vote"> Vote</span></a>
<br />
         <div id='latest_blog' style="display:"> <?=$newsBlog->getLatestBlogPosts(7)?></div>
		 <div id='latest_news' style="display:none"><br /><?=$newsBlog->getLatestNews(7)?></div>
		 <div id='latest_vote' style="display:none"><div id="poll-box"> <? $frontEnd->showPoll($pid=NULL);?></div></div>
        </div>

      </div>

      <div class="right_sidebar" style="_margin-top:-480px;">

        <? $frontEnd->showCategories();?>

      </div>

    </div>

	

  </div>

    <div class="footer">
	<?php

				include("static/footer_statistics.php");

		?></div>

  </div>

</div>

</body>

</html>

