<?php require_once('../Connections/catalog_access.php'); ?>
<?php  
require('../catalog/Brand_Index_Definitions.php');
foreach($sat_eqt as $k => $v){
	$main_eqt_params .= "$v|";	
	$params_txt .= " $v,";
}
$main_eqt_params = rtrim($main_eqt_params, "|");
?>
<?php 
error_reporting(0);
$o_query = "SELECT SQL_CACHE *  FROM `allmodels` WHERE `basmod` = 1 AND `brand` LIKE 'zenith' AND `ptyp` REGEXP '$main_eqt_params' AND `pdesc` LIKE '%rem%' order by `model` asc"; 
$col = 3; /* sets number of columns. valid numbers 2, 3, or 4. */
$gen = 1; /* display generic number. valid 0 or 1. */
$acc = 0; /* display accessory links. valid 0 or 1. */
$lengthy = 1;
$bray = array(0 => "null");
if($col == 2){
	$wid = 300;
}
if($col == 3){
	$wid = 420;
	}
elseif($col == 4){
	$wid = 550;
	}
$htm = "";
if($acc == 1){
	$htm .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><td align=\"right\" valign=\"top\">\n";
}
$htm .= "<table width=\"$wid\" border=\"1\" cellspacing=\"1\" cellpadding=\"2\" class=\"bvale\">\n";
$htm .= " <tr><th scope=\"col\">Model Number</th>";
if($gen == 1){
	$htm .= "<th scope=\"col\">Remote<br>ID Number</th>";
}
$htm .= "<th scope=\"col\">Remote<br>Part Number</th>";
if($acc == "1"){
	$htm .= "<th scope=\"col\">Accessories<br>Available</th>";
}
$htm .= "</tr>\n";
$bray_cnt = 0;
$fulrows = 0;
$ica = "<img src=\"http://www.newremotecontrol.com/images/acicon.jpg\" border=\"0\" alt=\"AC CORD\">";
$icb = "<img src=\"http://www.newremotecontrol.com/images/ibookicon.jpg\" border=\"0\" alt=\"OWNERS MANUAL\">";
$icc = "<img src=\"http://www.newremotecontrol.com/images/cablicon.jpg\" border=\"0\" alt=\"INTERCONNECT CABLE\">";
$icd = "<img src=\"http://www.newremotecontrol.com/images/12vicon.jpg\" border=\"0\" alt=\"12 VOLT DC CABLE\">";
$ice = "<img src=\"http://www.newremotecontrol.com/images/anticon.jpg\" border=\"0\" alt=\"ANTENNA\">";
$icf = "<img src=\"http://www.newremotecontrol.com/images/miscicon.jpg\" border=\"0\" alt=\"OTHER ITEMS\">";
/* connect to db */
	$my_res = @mysqli_query($i_access, $o_query);
	$my_rows = mysqli_num_rows($my_res);
	while($d = mysqli_fetch_row($my_res)){
	if($bray[$bray_cnt] == "$d[0]"){
		$htm .= "<tr><th colspan='$col' bgcolor='#CCFFFF' class='avale'><a name='$d[0]'>$d[0]</a></th></tr>\n";
		$bray_cnt++;
	}
	$htm .= "<tr><td align='center' class='avale'>$d[2]</td>\n";
	if(($gen == 1) && ($col == 2)){
		$htm .= "<td align='center' class='avale'><a href='http://www.zenith.newremotecontrol.com/catalog_item.php?catnum=$d[3]&refnum=$d[2]'>$d[4]</a></td>\n";
	}
	elseif(($gen == 1) && (($col == 3) || ($col == 4))){
		$htm .= "<td align='center' class='avale'>$d[4]</td>\n";
	}
	$htm .= "<td align='center' class='avale'><a href='http://www.zenith.newremotecontrol.com/catalog_item.php?catnum=$d[3]&refnum=$d[2]'>$d[3]</a></td>\n";
	if($acc == "1"){
		$n_ac=0;
		$ac_ic = "";
		if(preg_match('/\w/', $d[9])){			
			if((stristr($d[9], "ac ")) && (!strstr($ac_ic, "$ica"))){
				$ac_ic .= "$ica";
			} 
			if((stristr($d[9], "dc ")) && (!strstr($ac_ic, "$icd"))){
				$ac_ic .= "$icd";
			}
			if((stristr($d[9], "ant")) && (!strstr($ac_ic, "$ice"))){
				$ac_ic .= "$ice";
			}
			if((stristr($d[9], "cable")) && (!strstr($ac_ic, "$icc"))){
				$ac_ic .= "$icc";
			}
			if((stristr($d[9], "book")) && (!strstr($ac_ic, "$icb"))){
				$ac_ic .= "$icb";
			}
			if((stristr($d[9], "manual")) && (!strstr($ac_ic, "$icb"))){
				$ac_ic .= "$icb";
			}
			if(((!stristr($d[9], "book")) || (!stristr($d[9], "manual"))) && (!stristr($d[9], "cable")) && (!stristr($d[9], "ant")) && (!stristr($d[9], "dc ")) && (!stristr($d[9], "ac ")) && (!strstr($ac_ic, "$icf"))){
				$ac_ic .= "$icf";
			}
			$htm .= "<td align='center'><a href='http://www.newremotecontrol.com/catalog/dyn_models_accys.php?modnum=$d[2]&brand=$d[0]&hash=e91e6348157868de9dd8b25c81aebfb9'>$ac_ic</a></td>\n";
		}
		else{
			$htm .= "<td>&nbsp;</td>\n";
		}
	}
	$htm .= "<tr>\n";
}
$fulrows++;
/* echo "document.write(\"<tr><td colspan='$col'>$ref<br>$my_ref</td></tr>\");"; */
mysqli_free_result($my_res);
mysqli_close($i_access);
$htm .= "</table>\n";
if($acc == 1){
	$htm .= "</td><td align=\"center\" valign=\"top\">\n
<table class=\"avale\" bgcolor=\"#CCFFFF\" width=\"150\" align=\"left\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n
<th colspan=\"2\">Icon Legend</th>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/acicon.jpg\" border=\"0\" alt=\"AC CORD\"></td><td><small>AC Power Cord</small></td></tr>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/ibookicon.jpg\" border=\"0\" alt=\"OWNERS MANUAL\"></td><td><small>Owners Manual</small></td></tr>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/12vicon.jpg\" border=\"0\" alt=\"12 VOLT DC CABLE\"></td><td><small>12 Volt DC Power Cord</small></td></tr>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/anticon.jpg\" border=\"0\" alt=\"ANTENNA\"></td><td><small>Antenna</small></td></tr>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/cablicon.jpg\" border=\"0\" alt=\"INTERCONNECT CABLE\"></td><td><small>Interconnect Cable</small></td></tr>\n
<tr><td><img src=\"http://www.newremotecontrol.com/images/miscicon.jpg\" border=\"0\" alt=\"OTHER ITEMS\"></td><td><small>Other Misc Items</small></td></tr>\n
</table></td></tr></table>\n";
}
?>
<!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"><!-- InstanceBegin template="/Templates/Feb2012_BranDex.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Zenith DSS and Satellite Remote Control New OEM Replacement Remotes</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/javascript">
	<!--	
	function Popster( url, name, width, height, scrollbars ) {
	var top  = "0";
	var left = "0";
	if( scrollbars == null ) scrollbars = "0";
	str  = "";
	str += "resizable=0,titlebar=0,menubar=0,";
	str += "toolbar=0,location=0,directories=0,status=0,";
	str += "scrollbars=" + scrollbars + ",";
	str += "width=" + width + ",";
	str += "height=" + height + ",";
	str += "top=" + top + ",";
	str += "left=" + left;
	window.open( url, name, str );
	}
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];}
}
//-->
<!--  //
	function go() {
	window.location = document.form1.Brands.options[document.form1.Brands.selectedIndex].value
		}
	//-->
	</script>
<!-- InstanceEndEditable -->
<link href="http://www.newremotecontrol.com/CSS/BranDex_twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
</head>

<body onLoad="MM_preloadImages('http://www.newremotecontrol.com/images/navbar/ohomebt.gif','http://www.newremotecontrol.com/images/navbar/obrandbt.gif','http://www.newremotecontrol.com/images/navbar/osrchbt.gif','http://www.newremotecontrol.com/images/navbar/ospec.gif','http://www.newremotecontrol.com/images/navbar/oused.gif','http://www.newremotecontrol.com/images/navbar/ogen.gif','http://www.newremotecontrol.com/images/navbar/okleen.gif','http://www.newremotecontrol.com/images/navbar/ounl.gif','http://www.newremotecontrol.com/images/navbar/orep.gif','http://www.newremotecontrol.com/images/navbar/opol.gif','http://www.newremotecontrol.com/images/navbar/ocont.gif','http://www.newremotecontrol.com/images/navbar/ofaq.gif','http://www.newremotecontrol.com/images/navbar/oshop.gif')">
<div class="container">
  <div class="header"> 
  <table bgcolor="#CCFFFF" width="100%"  border="0" cellspacing="0" cellpadding="1" summary="NewRemoteControl.com">
    <tr>
      <td width="468" bgcolor="#CCFFFF" colspan="1"><img src="http://www.newremotecontrol.com/images/1117.jpg"></td>
      <td colspan="2" align="center" nowrap bgcolor="#CCFFFF" class="avale">New Original Equipment Remote Controls<br>
        <small>From<br>
        Electronic Repair Service<br>
        Thomasville, Ga</small></td>
    </tr>
    <tr>
      <td colspan="1" align="center" bgcolor="#330099" class="whtbar" width="468">The One Stop Shop For Most Brands Of Replacement Remote Controls<br>
        <strong>TV, VCR, TV/VCR Combo, DVD, Audio</strong></td>
      <td colspan="1" align="right" bgcolor="#330099"><form name="form1" method="post" action="">
          <span class="whtbar">Select Brand</span>
          <select name="Brands" onChange="go()">
            <option value="default">Brand</option>
            <script language="JavaScript" type="text/JavaScript" src="http://www.newremotecontrol.com/catalog/static_list.php"></script>
          </select>
        </form></td>
    </tr>
    <tr>
      <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0" background="http://www.newremotecontrol.com/images/navbar/bkgrnd.gif">
          <tr>
            <td><a href="http://www.newremotecontrol.com/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','http://www.newremotecontrol.com/images/navbar/ohomebt.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/homebt.gif" alt="HOME" name="home" width="47" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/BrandIndex.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('brand','','http://www.newremotecontrol.com/images/navbar/obrandbt.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/brandbt.gif" alt="BRAND INDEX" name="brand" width="51" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/catalog/newremsearch.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('search','','http://www.newremotecontrol.com/images/navbar/osrchbt.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/srchbt.gif" alt="SEARCH" name="search" width="57" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/catalog/RemoteSpecials.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('spec','','http://www.newremotecontrol.com/images/navbar/ospec.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/spec.gif" alt="REMOTE SPECIALS" name="spec" width="57" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/catalog/notnew.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('used','','http://www.newremotecontrol.com/images/navbar/oused.gif',1)" target="_blank"><img src="http://www.newremotecontrol.com/images/navbar/used.gif" alt="USED REMOTES" name="used" width="57" height="30" border="0"></a></td>
            <td><a href="http://www.newtvremotes.com/Mfrs/Generic/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('generic','','http://www.newremotecontrol.com/images/navbar/ogen.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/gen.gif" alt="GENERIC REMOTES" name="generic" width="52" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/ScreenKleen.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('kleen','','http://www.newremotecontrol.com/images/navbar/okleen.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/kleen.gif" alt="SCREEN KLEEN" name="kleen" width="57" height="30" border="0"></a></td>
            <!--<td><a href="http://www.newremotecontrol.com/OmMfr.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('manual','','http://www.newremotecontrol.com/images/navbar/oman.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/man.gif" alt="OWNERS MANUALS" name="manual" width="57" height="30" border="0"></a></td> -->
            <td><a href="http://www.newremotecontrol.com/NewModel.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('newmod','','http://www.newremotecontrol.com/images/navbar/ounl.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/unl.gif" alt="UNLISTED REMOTE" name="newmod" width="57" height="30" border="0"></a></td>
            <!--<td><a href="http://www.newremotecontrol.com/shipping_info.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('repair','','http://www.newremotecontrol.com/images/navbar/orep.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/rep.gif" alt="REMOTE REPAIRS" name="repair" width="57" height="30" border="0"></a></td> -->
            <td><a href="http://www.newremotecontrol.com/Policies.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('policies','','http://www.newremotecontrol.com/images/navbar/opol.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/pol.gif" alt="POLICIES" name="policies" width="57" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/Contact.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('contact','','http://www.newremotecontrol.com/images/navbar/ocont.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/cont.gif" alt="CONTACT" name="contact" width="57" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/FAQ.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('faq','','http://www.newremotecontrol.com/images/navbar/ofaq.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/faq.gif" alt="FAQ" name="faq" width="40" height="30" border="0"></a></td>
            <td><a href="http://www.newremotecontrol.com/Shopping/RemShopCart.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cart','','http://www.newremotecontrol.com/images/navbar/oshop.gif',1)" target="_parent"><img src="http://www.newremotecontrol.com/images/navbar/shop.gif" alt="SHOPPING CART" name="cart" width="57" height="30" border="0"></a></td>  
          </tr>
        </table></td>
    </tr>
  </table> <br />
<table width="775">
<tr>
	<td width="160" height="60" align="center"><!--<a target="_blank" href="https://www.scanalert.com/RatingVerify?ref=www.newremotecontrol.com"><img width="94" height="54" border="0" src="//images.scanalert.com/meter/survey/www.newremotecontrol.com/13.gif" alt="McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams" oncontextmenu="alert('Copying Prohibited by Law - McAfee Secure is a Trademark of McAfee, Inc.'); return false;"></a> --></td>
	<!-- InstanceBeginEditable name="EditRegionMainIndex" -->
    <td align="center"><p align="center" class="avale"><h1><a href="http://www.zenith.newremotecontrol.com/index.php">Zenith</a> DSS and Satellite Remote Controls</h1></p>
    
	</td><!-- InstanceEndEditable -->
</tr>
</table>
  <!-- end .header --></div>
  <div class="sidebar1"><!-- InstanceBeginEditable name="Sidebar" -->
  
<br />
<table align="center" width="170" border="0">
<tr>
<td align="center">  
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- AU2-idx -->
<ins class="adsbygoogle"
     style="display:inline-block;width:160px;height:600px"
     data-ad-client="ca-pub-3761494042755389"
     data-ad-slot="1040943356"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</td>
</tr>
</table>  
  
  <!-- InstanceEndEditable --> 
    <!-- end .sidebar1 --></div>
  <div class="content"><!-- InstanceBeginEditable name="MainBody" -->
  <div align="center">
   <?php 
  
 echo "$htm"; 



?>
  </div>
  
  <!-- InstanceEndEditable -->
    <!-- end .content --></div>
  <div class="footer"><!-- InstanceBeginEditable name="Foot" -->
     <p align="justify" class="copy">This model list includes the following equipment types:<?php echo "$params_txt"; ?></p>
  <div align="center"><span class="rednot"><strong><small>NOTICE</small></strong></span><br> 
</div> 
<div align="center"><span class="rednot"><small>When ordering replacement remote controls, please include the model number of your set in the form field provided on the catalog page. </small><br> 
  <small>The model number is located on a label on the rear of the set. This is not required, but is highly recomended to help us catch possible problems before we ship your order.&nbsp; </small><br> 
  <small>If you are purposely ordering a remote that is not the original or manufacturers substitute for your set, </small><br> 
  <small>don't&nbsp; provide the model or it may hold up your order while we question your usage.</small></strong><br> 
  <br> 
  </span> </div> 
<div align="center"> <span class="avale"> 
  <p>OEM replacement remotes are subject to availability. Prices are subject to change. All substitutions are the manufacturers or suppliers subs. The manufacturer is responsible for all compatibility issues. Any listed sub that is not a manufacturers sub will be listed as ERS SUB. ERS will guarantee compatibility with any substitution we make. As manufacturer stocks are depleted suppliers will often make their own substitutions without prior warning. When this happens the sub will be shipped unless there is a price increase on the sub part. OEM remotes not listed as &quot;Normally Stocked&quot; are considered Special Order. Special Order Items are not returnable except for exchange when defective.</p> 
  </span></div> 
  
  <table align="center" width="700" border="0" cellspacing="0" cellpadding="5" summary="business site info"> 
  <tr> 
    <td colspan="3" rowspan="1"><div align="center"><span class="copy">&copy;1996<script language="JavaScript">
		var d=new Date();
		yr=d.getFullYear();
		if (yr!=2004)
				document.write("- "+yr);
		</script> <a target="_blank" href="http://www.ersweb.com">Electronic Repair Service</a> of Thomasville, Georgia-An American Small Business. All Rights Reserved. All offers, promotions &amp; prices are subject to change without notice. ERS is not responsible for any typographical, photographic, or specification errors which may appear on our website. NewRemoteControl.com, ERS, <a href="http://www.ersweb.com" target="_blank">ERSWEB</a>, &amp;<a href="http://www.erswebsales.com" target="_blank"> ERSWEB Sales</a> are Trademarks of Electronic Repair Service. All Manufacturers Images, Logos, or Text are copyright of the respective holder and are used here for the sole purpose of promoting and selling their products. All items are subject to availability. Many items sold on this site are one of a kind. </span></div></td> 
  </tr> 
  <tr> 
    <td colspan="1" rowspan="1"> <p align="center"> <br> 
      </p></td> 
  </tr> 
</table>            
  <!-- InstanceEndEditable -->
    <!-- end .footer --></div>
  <!-- end .container --></div>
</body>
<!-- InstanceEnd --></html>
