<?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',    '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 if (@$_REQUEST['debug']) { showme($stallion_listRecords); exit; } ?><?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>            <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">&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">In-Stock</td>                </tr>                <tr>                  <td align="left" valign="top" scope="col"><table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                      <tr>                      <?php $count = 0; ?>                        <?php foreach ($stallion_listRecords as $record): ?>                        <?php if (strpos($record['status'],"\tIn-Stock\t") !== false) : ?>                        <td align="left" valign="top"><table width="170" cellpadding="0" cellspacing="2">                            <tr>                              <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></h3></td>                            </tr>                            <tr>                              <td class="content"><?php echo htmlencode($record['price']) ?>							</td>                            </tr>                            <tr>                              <td><?php if (!$stallion_listRecords): ?>                                No records were found!                                <?php endif ?>                        <!-- /STEP2: Display Records -->                              </td>                            </tr>                        </table></td>                        <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                      </tr>                      <tr>                        <?php endif; ?>                        <?php endif; ?>                        <?php endforeach ?>                      </tr>                  </table></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">New</td>                </tr>                <tr>                  <td align="left" valign="top" scope="col"><table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                      <tr>                     <?php $count = 0; ?>                        <?php foreach ($stallion_listRecords as $record): ?>                        <?php if (strpos($record['status'],"\tNew\t") !== false) : ?>                        <td align="left" valign="top"><table width="170" cellpadding="0" cellspacing="2">                            <tr>                              <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></h3></td>                            </tr>                            <tr>                              <td class="content"><?php echo htmlencode($record['price']) ?></td>                            </tr>                            <tr>                              <td><?php if (!$stallion_listRecords): ?>                                No records were found!                                <?php endif ?>                        <!-- /STEP2: Display Records -->                              </td>                            </tr>                        </table></td>                        <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                      </tr>                      <tr>                        <?php endif; ?>                        <?php endif; ?>                        <?php endforeach ?>                      </tr>                  </table></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">North American</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tNorth American\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></h3></td>                          </tr>                          <tr>                            <td class="content"><?php echo htmlencode($record['price']) ?></td>                          </tr>                          <tr>                            <td><?php if (!$stallion_listRecords): ?>                              No records were found!                              <?php endif ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">eSpecials</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tSpecial\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">Dressage</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tDressage\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">Driving</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tDriving\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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="ContentBox3">                <tr>                  <td align="left" valign="top" bgcolor="#E4D3AD" class="subtitle" scope="col">Dual Purpose</td>                </tr>                <tr>                  <td align="left" valign="top" scope="col"><table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                      <tr>                        <?php $count = 0; ?>                        <?php foreach ($stallion_listRecords as $record): ?>                        <?php if (strpos($record['status'],"\tDual Purpose\t") !== false) : ?>                        <td align="left" valign="top"><table width="170" cellpadding="0" cellspacing="2">                            <tr>                              <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                        <!-- /STEP2: Display Records -->                              </td>                            </tr>                        </table></td>                        <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                      </tr>                      <tr>                        <?php endif; ?>                        <?php endif; ?>                        <?php endforeach ?>                      </tr>                  </table></td>                </tr>            </table></td>          </tr>          <tr>            <td align="center" valign="top" scope="col">&nbsp;</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">Eventer</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tEventer\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">Hunter</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tHunter\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">Jumper</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tJumper\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">New Hanoverian State Stud Stallions</td>              </tr>              <tr>                <td align="left" valign="top" scope="col">                                <table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                    <tr>                    <?php $count = 0; ?>                      <?php foreach ($stallion_listRecords as $record): ?>                      <?php if (strpos($record['status'],"\tNew Hanoverian State Stud Stallions\t") !== false) : ?>                      <td align="left" valign="top">					  <table width="170" cellpadding="0" cellspacing="2">                          <tr>                            <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                    <!-- /STEP2: Display Records -->                            </td>                          </tr>                      </table>                      </td>					  <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                    </tr>                    <tr>                      <?php endif; ?>                      <?php endif; ?>                      <?php endforeach ?>                    </tr>                </table>                </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">Pony</td>                </tr>                <tr>                  <td align="left" valign="top" scope="col"><table width="175" border="1" cellpadding="3" cellspacing="0" bordercolor="#D7C59C" >                      <tr>                      <?php $count = 0; ?>                        <?php foreach ($stallion_listRecords as $record): ?>                        <?php if (strpos($record['status'],"\tPony\t") !== false) : ?>                        <td align="left" valign="top"><table width="170" cellpadding="0" cellspacing="2">                            <tr>                              <td height="20" valign="bottom"><h3><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></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 ?>                        <!-- /STEP2: Display Records -->                              </td>                            </tr>                        </table></td>                        <?php $maxCols=3; if (@++$count % $maxCols == 1): ?>                      </tr>                      <tr>                        <?php endif; ?>                        <?php endif; ?>                        <?php endforeach ?>                      </tr>                  </table></td>                </tr>            </table></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" 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"; ?>