<?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('/var/www/hosted/superiorequinesires.com/public_html/','','../','../../','../../../');  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 from 'stallion_list'  list($stallion_listRecords, $stallion_listMetaData) = getRecords(array(    'tableName'   => 'stallion_list',	'where'       => "`status` != 'Archived'",    'loadUploads' => true,    'allowSearch' => false,  ));  // load record from 'stallion_roster_text'  list($stallion_roster_textRecords, $stallion_roster_textMetaData) = getRecords(array(    'tableName'   => 'stallion_roster_text',    'where'       => '', // load first record    'loadUploads' => true,    'allowSearch' => false,    'limit'       => '1',  ));  $stallion_roster_textRecord = @$stallion_roster_textRecords[0]; // get first record  if (!$stallion_roster_textRecord) { dieWith404("Record not found!"); } // show error message if no record found?><?php include "include_header.php"; ?>     <table width="980" border="0" cellspacing="0" cellpadding="0">      <tr>        <td width="190" align="left" valign="top" class="xsidemenubkg" scope="col"><?php include "include_sdbar_text.php"; ?>                </td>        <td width="556" align="left" valign="top" bgcolor="#F1E2BF"><table width="556" border="0" cellspacing="0" cellpadding="0">          <tr>          </tr>          <tr>            <td align="left" valign="top" background="images/title_bkg.jpg"><table width="556" border="0" cellpadding="0" cellspacing="0">              <tr>                <td rowspan="9" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="18" height="56" /></td>                <td align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="535" height="16" /></td>                <td rowspan="9" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="3" height="10" /></td>              </tr>              <tr>                <td align="left" valign="top"><h1><?php echo htmlencode($stallion_roster_textRecord['title']) ?></h1></td>              </tr>              <tr>                <td align="left" valign="top"><img src="images/1pixel.gif" width="524" height="10" /></td>              </tr>              <tr>                <td align="left" valign="top"><h2><?php echo htmlencode($stallion_roster_textRecord['subtitle']) ?></h2></td>                </tr>              <tr>                <td align="left" valign="top">&nbsp;</td>              </tr>              <tr>                <td align="left" valign="top"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                  <tr>                    <td align="left" valign="top" scope="col"><?php echo $stallion_roster_textRecord['content']; ?></td>                  </tr>                </table></td>              </tr>              <tr>                <td align="left" valign="top"><img src="images/1pixel.gif" width="1" height="16" /></td>              </tr>            </table></td>          </tr>                    <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>                    <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Andalusian</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?>					  <?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Andalusian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>                    <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Arabian, Anglo-Arabian, Shagya Arabian</td>              </tr>              <tr>                <td align="left" valign="top">                                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?>					  <?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Arabian/Anglo-Arabian/Shagya Arabian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>                    <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Bavarian</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Bavarian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>                    <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Belgian/BWP/sBs</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?>					  <?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Belgian/BWP/sBs"): ?>                                            <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                                                <?php echo join(', ', $record['status:labels']); ?>                                                          </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>                    <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>                    <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Brandenburg</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Brandenburg"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Connemara Pony</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Connemara Pony"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Danish Warmblood</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Danish Warmblood"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Dutch</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Dutch"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Dutch Harness Horse</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Dutch Harness Horse"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Friesian</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Friesian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">German Riding Pony</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "German Riding Pony"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">German Warmblood</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "German Warmblood"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Hanoverian</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Hanoverian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Hessen</td>              </tr>              <tr>                <td align="left" valign="top">                                                                  <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Hessen"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Holsteiner</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Holsteiner"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends--></td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Irish Draught</td>              </tr>              <tr>                <td align="left" valign="top">                        <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Irish Draught"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Irish Sport Horse</td>              </tr>              <tr>                <td align="left" valign="top">                           <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Irish Sport Horse"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Italian Warmblood</td>              </tr>              <tr>                <td align="left" valign="top">                           <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Italian Warmblood"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Knabstrupper</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Knabstrupper"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox2">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Lippizan</td>                </tr>                <tr>                  <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Lippizan"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Lusitano</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Lusitano"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Mecklenburg</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Mecklenburg"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Oldenburg</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Oldenburg"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends--> </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Rheinlander</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Rheinlander"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">RPSI</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "RPSI"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Selle Francais</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Selle Francais"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Swedish Warmblood</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Swedish Warmblood"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Thoroughbred</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Thoroughbred"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Trakehner</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Trakehner"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Welsh &amp; Welsh Cob</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Welsh & Welsh Cob"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Westphalian</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Westphalian"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Wuerttemburg</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Wuerttemburg"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Zangersheide</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "Zangersheide"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr><tr>            <td align="center" valign="top" scope="col"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">              <tr>                <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">ZfdP</td>              </tr>              <tr>                <td align="left" valign="top">                            <!--exterior box begins-->                 <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                      <?php $count = 0; ?><?php foreach ($stallion_listRecords as $record): ?>                      <?PHP if ($record['breed'] == "ZfdP"): ?>                      <td align="left" valign="top">                   <!--interior box begins-->                       <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3>                              <?php if($record['stallion_url']) : ?>    								<a href="<?php echo $record['stallion_url']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php else : ?>    								<a href="<?php echo $record['_link']; ?>"><?php echo htmlencode($record['title']); ?></a>							  <?php endif; ?>                            </h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?>                                <?php if ($record['status'] == 'New') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php if ($record['status'] == 'Special') : ?>                                <img src="http://www.superiorequinesires.com/images/icon-star-new-stallions.png" width="26" height="26" />                                <?PHP endif ?>                                <?php echo join(', ', $record['status:labels']); ?>                            </td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>							</td>                          </tr>                      </table>                   <!--interior box ends-->                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 0): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>              <!--exterior box ends-->                </td>              </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr class="content01">            <td align="center" valign="top" scope="col">&nbsp;</td>          </tr>          <tr class="content01">            <td align="center" valign="top" scope="col"><table width="556" border="0" cellpadding="0" cellspacing="0">                            <tr>                <td rowspan="3" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="18" height="56" /></td>                <td align="left" valign="top"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                    <tr>                      <td align="left" valign="top" class="captions" scope="col"><?php echo $stallion_roster_textRecord['footer_text']; ?></td>                    </tr>                </table></td>                <td rowspan="3" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="3" height="10" /></td>              </tr>                          </table></td>          </tr>                    <tr class="content01">            <td height="55" align="center" valign="top" scope="col">&nbsp;</td>          </tr>        </table></td>        <td width="2" align="left" valign="top" bgcolor="#333333"><img src="images/1pixel.gif" width="2" height="10"></td>        <td align="center" valign="top" class="xsideBarBkg"><?php include "include_sdbar_features.php"; ?>               </td>        <td width="2" align="center" valign="top" bgcolor="#35352b"><img src="images/1pixel.gif" width="2" height="10"></td>      </tr>	</table><?php include "include_footer.php"; ?>