<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */

  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('/clientdata/zeus-dynamic-1/a/u/audiomarketing.com.au/www/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

  // load records
  list($product_sub_categoriesRecords, $product_sub_categoriesMetaData) = getRecords(array(
    'tableName'   => 'product_sub_categories',
     'where' => ' content="Loudspeakers"  ',

  ));

   // load records
  list($product_categoriesRecords, $product_categoriesMetaData) = getRecords(array(
    'tableName'   => 'product_categories',
    'where'       => whereRecordNumberInUrl(1),
    'limit'       => '1',
    'where' => ' title="Loudspeakers"  ',

  ));
  $product_categoriesRecord = @$product_categoriesRecords[0]; // get first record

  // show error message if no matching record is found
  if (!$product_categoriesRecord) {
    header("HTTP/1.0 404 Not Found");
    print "Record not found!";
    exit;
  }

   // load records
  list($subcategoriesRecords, $subcategoriesMetaData) = getRecords(array(
    'tableName'   => 'subcategories',
  ));


 // load records
  list($more_infoRecords, $more_infoMetaData) = getRecords(array(
    'tableName'   => 'more_info',
    'where'       => whereRecordNumberInUrl(1),
    'limit'       => '1',
  ));
  $more_infoRecord = @$more_infoRecords[0]; // get first record
  
   // load records
  list($subscribeRecords, $subscribeMetaData) = getRecords(array(
    'tableName'   => 'subscribe',
    'where'       => whereRecordNumberInUrl(1),
    'limit'       => '1',
  ));
  $subscribeRecord = @$subscribeRecords[0]; // get first record


 


?>
<!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>
  <title><?php echo $product_categoriesRecord['seo_page_title'] ?></title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Language" content="en-au">
   <meta name="description" content="<?php echo $product_categoriesRecord['seo_meta_description'] ?>" />
   <meta http-equiv="pragma" content="no-cache" />
  <meta name="Expires" content="never" />
  <meta name="revisit-after" content="7 days" />
  <meta name="language" content="english" />
  <meta name="distribution" content="Global" />
  <meta name="robots" content="index,follow" />
  <meta name="email" content="info@audiomarketing.com.au" />
  <meta name="publisher" content="Audio Marketing" />
  <meta name="owner" content="Audio Marketing" />
  <meta name="author" content="Audio Marketing" />
  <meta name="copyright" content="Copyright 2011 - Audio Marketing" />
  <meta name="rating" content="General" /> 

  <link rel="stylesheet" type="text/css" href="style.css">
  <link href="http://www.audiomarketing.com.au/menu/menu/ddsmoothmenu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://www.audiomarketing.com.au/menu/menu/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="http://www.audiomarketing.com.au/menu/menu/ddsmothmenu.js"></script>


 <style type="text/css">
<!--
.style {
color: #000; background: url(images/background2a.jpg) no-repeat center center; font: normal 10px Verdana, Arial, Helvetica, sans-serif; } 
-->
</style>
 </head>
<body>


<body bgcolor="#2F2E28">

<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="970" id="table14">
		<tr>
			<td>
					<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table15">
				<tr>
					<td>
					<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table17">
						<tr>
							<td>
							<img border="0" src="images/audio843w.gif" width="843" height="1"></td>
							<td>
							<a href="http://www.audiomarketing.com.au/index.php">
							<img border="0" src="images/homeicon.jpg" width="127" height="38"></a></td>
						</tr>
					</table>
					</td>
				</tr>
				<tr>
					<td>
					<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table16">
						<tr>
							<td>&nbsp;</td>
							<td>
							<img border="0" src="images/audiohifi.gif" width="646" height="1"></td>
						</tr>
						<tr>
							<td>
							<img border="0" src="images/audiohifibrands.gif" width="324" height="75"></td>
							<td valign="top"><?php 
	include("/clientdata/zeus-dynamic-1/a/u/audiomarketing.com.au/www/menu/include_menu.php"); 
?></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</div>

<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="970" id="table2" class="norptbg6">
		<tr>
			<td valign="top">
			<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table3">
				<tr>
					<td>
							<img border="0" src="images/audio20x19.gif" width="20" height="19"></td>
					<td>
							<img border="0" src="images/audio_02.jpg" width="197" height="19"></td>
					<td>
							<img border="0" src="images/audio513.gif" width="513" height="1"></td>
					<td>
							<img border="0" src="images/audio219w.gif" width="219" height="1"></td>
					<td>
							<img border="0" src="images/audio19w.gif" width="19" height="1"></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>
							<img border="0" src="images/audio_07.jpg" width="197" height="84"></td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>
					<img border="0" src="images/audio215.gif" width="1" height="215"></td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td colspan="4">
					<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table4">
						<tr>
							<td>
							<img border="0" src="images/audio45w.gif" width="45" height="1"></td>
							<td>
							<img border="0" src="images/audio904w.gif" width="904" height="1"></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td>
							<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table5">
								<tr>
									<td>
									<img border="0" src="images/audio595w.gif" width="595" height="1"></td>
									<td>
									<img border="0" src="images/audio45w.gif" width="45" height="1"></td>
									<td>
									<img border="0" src="images/audio264w.gif" width="264" height="1"></td>
								</tr>
								<tr>
									<td valign="top">
									<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table6">
										<tr>
											<td> 
											<p class="categorySubAM"><?php echo $product_categoriesRecord['title'] ?></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
										</tr>
										<tr>
											<td>
											<p class="bodyAM"><?php echo $product_categoriesRecord['brief_description'] ?></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
										</tr>
										<tr>
											<td valign="top">
											&nbsp;</td>
										</tr>
										<tr>
											<td> 
</td>
										</tr>
										
										<tr>
											<td> 







<table border="0" bordercolor="#FFFFFF" style="background-color:#D8D1CB" width="593" cellpadding="0" cellspacing="0">
	<tr>
		<td valign="top" width="200">

<?php foreach ($product_sub_categoriesRecords as $record): ?>

				      
      	 <!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 -->
        <?php foreach ($record['image'] as $upload): ?>
                  <?php if ($upload['hasThumbnail']): ?>
            <a href="<?php echo $record['_link'];?>"><img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" /></a><br/>

          <?php elseif ($upload['isImage']): ?>
            <img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" /><br/>

          <?php else: ?>
            <a href="<?php echo $upload['urlPath'] ?>">Download <?php echo $upload['filename'] ?></a><br/>

          <?php endif ?>
        <?php endforeach ?>
        
        </td>
		<p>
		<td class="bodyAM" valign="top" width="391" rowspan="3">
		<p class="brandnameAM" style="margin-left: 15px"><font color="#FFFFFF">
		<?php echo $record['title'] ?></font><p class="bodyAM" style="margin-left: 15px">
		<?php echo $record['intro'] ?>  </span>    
		
		
		
	<?php  
  $link = "default-file.php"; 
  if ($record['category'] == 4) { $link = "category_architectural_speakers.php"; } 
  if ($record['category'] == 8) { $link = "category_bookshelf_speakers.php"; } 
 if ($record['category'] == 19) { $link = "category_floorstanding_speakers.php"; } 
 if ($record['category'] == 32) { $link = "category_outdoor_speakers.php"; } 
 if ($record['category'] == 13) { $link = "category_computer_speakers.php"; } 
 if ($record['category'] == 29) { $link = "category_lifestyle_speakers.php"; } 
 if ($record['category'] == 7) { $link = "category_sub_woofers.php"; } 
 if ($record['category'] == 7) { $link = "category_home_theatre_speakers.php"; }   $link .= "?"; 
  $link .= $record['num']; 
?> 
 
<a href="<?php echo $link ?>"><font color="#7E7957"><b>||  detailed info</b></a></b>	
		
		
		
		</font><tr>
		<td class="bodyAM" valign="top" width="202">

															&nbsp;</td>
		<tr>
		<td class="bodyAM" valign="top" width="202">

															&nbsp;</td>
		<tr>
		<td class="sumgen" valign="top" style="border-bottom: 1px dotted #656161; " colspan="2">
		<img border="0" src="http://www.fordland.com.au/images/7h.gif" width="1" height="7"></td>
		<tr>
		<td class="sumgen" valign="top" colspan="2">
		<img border="0" src="images/15h.gif" width="1" height="15"></td>
		<TR>
		<TD class="sumgen" valign="top" valign="top">


 <?php endforeach ?>
    <?php if (!$product_sub_categoriesRecords): ?>

      <br/><br/>
    <?php endif ?>
</td>

						
        
    </TABLE> 
















</td>
										</tr>
										
										<tr>
											<td> 
&nbsp;</td>
										</tr>
										
										</table>
									</td>
									<td valign="top">&nbsp;</td>
									<td valign="top">
									<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table7">
										<tr>
											<td>
											<img border="0" src="images/audio52h.gif" width="1" height="52"></td>
										</tr>
											<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table11">
										<tr>
											<td>
											<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table12">
												<tr>
													<td width="32%">
													<img border="0" src="images/audio83w.gif" width="80" height="1"></td>
													<td width="5%">
													<img border="0" src="images/audio12w.gif" width="12" height="1"></td>
													<td width="63%">
													<img border="0" src="images/audio154w.gif" width="154" height="1"></td>
												</tr>
												<tr>
													<td valign="top" colspan="3">
													<p class="subOrangeAM"><?php echo $more_infoRecord['title'] ?></td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" colspan="3">
													<p class="bodyAM" style="margin-left: 1px; margin-right:5px">
													<?php echo $more_infoRecord['content'] ?></td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" colspan="3">
													<form action="/forms/process.php?id=2" name="ContactForm2" id="ContactForm2" onsubmit="return false;" method="post" enctype="multipart/form-data">
<table style="font-family: Tahoma; font-size: 11px; color: #2F2E28; background-color: #D8D1CB">
<tr>
	<td align="left">First name:</td>
	<td align="left"><input type='text' value='' size='30' name='field6' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Surname:</td>
	<td align="left"><input type='text' value='' size='30' name='field7' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Email: *</td>
	<td align="left"><input type="text" size="30" name="field8" value="" style="font-family:Arial; font-size:11px" /></td>
</tr>
<tr>
	<td align="left">Suburb: *</td>
	<td align="left"><input type='text' value='' size='30' name='field13' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Telephone:</td>
	<td align="left"><input type='text' value='' size='30' name='field14' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Brand</td>
	<td align="left"><select name='field10' style='font-family:Arial; font-size:11px'><option value='Please select'>Please select</option><option value='Ad Notam'>Ad Notam</option><option value='Berkeley AD'>Berkeley AD</option><option value='Era'>Era</option><option value='Focal'>Focal</option><option value='Goldring'>Goldring</option><option value='Krell'>Krell</option><option value='Milty'>Milty</option><option value='Music Hall'>Music Hall</option><option value='Musical Fidelity'>Musical Fidelity</option><option value='QED'>QED</option><option value='Peachtree'>Peachtree</option><option value='Planet Waves'>Planet Waves</option><option value='Speakercraft'>Speakercraft</option><option value='Soundstyle'>Soundstyle</option><option value='Stax'>Stax</option><option value='Various'>Various</option><option value='Not sure yet'>Not sure yet</option></select></td>
</tr><tr>
	<td align="left">Category</td>
	<td align="left"><select name='field11' style='font-family:Arial; font-size:11px'><option value='Accessories'>
	Accessories</option><option value='Loudspeakers'>Loudspeakers</option><option value='AV Furniture'>
	AV Furniture</option><option value='Cables'>Cables</option><option value='Loudspeakers'>
	Loudspeakers</option><option value='Multimedia'>Multimedia</option><option value='Source Components'>
	Source Components</option><option value='Systems'>Systems</option><option value='Vision'>
	Vision</option><option value='Other'>Other</option></select></td>
</tr>
<tr>
	<td align="left" valign="top">
	<p style="margin-top: 3px">Nature of enquiry:</td>
	<td>
	<p align="left">
	<textarea cols='34' rows='7' name='field12' style='font-family:Arial; font-size:11px'></textarea></td>
</tr>
<tr>
	<td> </td>
	<td>
	<input type="submit" name="SubmitBtn" onclick="CheckForm2();" value="Send message" style="font-family: Tahoma; font-size: 11px; text-transform: uppercase; float:right" /></td>
</tr>
</table>
</form>
<script type="text/javascript" language="javascript" src='/forms/validation.php?id=2'></script>

</td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" width="32%">
													&nbsp;</td>
													<td valign="top" width="5%">
													&nbsp;</td>
													<td valign="top" width="63%">
													&nbsp;</td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" width="32%">
													&nbsp;</td>
													<td valign="top" width="5%">
													&nbsp;</td>
													<td valign="top" width="63%">
													&nbsp;</td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" colspan="3">
													<p class="subOrangeAM">
													<?php echo $subscribeRecord['title'] ?></td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" colspan="3">
													<p class="bodyAM" style="margin-left: 3px; margin-right:5px">
													<?php echo $subscribeRecord['content'] ?> </td>
													
													
													
													
													
													
													
												</tr>
												<tr>
													<td valign="top" colspan="3">
												<form action="/forms/process.php?id=1" name="ContactForm1" id="ContactForm1" onsubmit="return false;" method="post" enctype="multipart/form-data">
<table style="font-family: Tahoma; font-size: 11px; color: #2F2E28; background-color: #D8D1CB" width="260">
<tr>
	<td align="left">First name:</td>
	<td width="140" align="left"><input type='text' value='' size='30' name='field1' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Surname:</td>
	<td width="140" align="left"><input type='text' value='' size='30' name='field2' style='font-family:Arial; font-size:11px' /></td>
</tr>
<tr>
	<td align="left">Email: *</td>
	<td width="140" align="left"><input type="text" size="30" name="field3" value="" style="font-family:Arial; font-size:11px" /></td>
</tr>
<tr>
	<td align="left">How did you find us?</td>
	<td width="140" align="left">
	<p align="left"><select name='field5' style='font-family:Arial; font-size:11px'><option value='Please select'>
	Please select</option><option value='Internet search'>Internet search</option><option value='Supplier website'>
	Supplier website</option><option value='White pages'>White pages</option><option value='Friend referral'>
	Friend referral</option><option value='Other'>Other</option></select></td>
</tr>
<tr>
	<td> </td>
	<td width="140">
	<input type="submit" name="SubmitBtn" onclick="CheckForm1();" value="Subscribe Now" style="text-transform: uppercase; font-family: Tahoma; font-size: 10px; float:right" /></td>
</tr>
</table>
</form>
<script type="text/javascript" language="javascript" src='/forms/validation.php?id=1'></script>
</td>
													
													
													
													
													
													
													
												</tr>
											</table>
											</td>
										</tr>
									</table>
									</td>
								</tr>
							</table>
							</td>
										</tr>
									</table>
									</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td>&nbsp;</td>
						</tr>
					</table>
					</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td colspan="4">&nbsp;</td>
					<td>&nbsp;</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div align="center">
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

</body>

</html>