<?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 'cdb_stallions'  list($cdb_stallionsRecords, $cdb_stallionsMetaData) = getRecords(array(    'tableName'   => 'cdb_stallions',    'loadUploads' => true,    'allowSearch' => false,  ));  ?><title>Superior Equine Sires: Conception Database Stallion Listings</title><meta name="Description" content="Superior Equine Sires Stallion Conception Database" /><meta name="Keywords" content="Superior Equine Sires, Conception Database, stallion conception database, insemination database, frozen semen" /><style type="text/css"><!--.style2 {color: #B03A27}--></style><?php include "include_header.php"; ?>     <table width="980" border="0" cellspacing="0" cellpadding="0">      <tr>        <td 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" cellspacing="0" cellpadding="0">              <tr>                <td rowspan="7" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="22" height="56" /></td>                <td align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="527" height="16" /></td>                <td rowspan="7" align="left" valign="top" scope="col"><img src="images/1pixel.gif" width="10" height="10" /></td>              </tr>              <tr>                <td align="left" valign="top"><h1>Conception Database: Stallion Listings</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>Your source for Conception Reports!</h2></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"><table width="524" border="0" cellpadding="3" cellspacing="0" class="content" id="ContentBox">                            <tr>                <td align="left" valign="top" scope="col">                  <table width="100%" border="0" cellspacing="0" cellpadding="3">                                        <tr>                      <td class="captions" style="font-style: italic">&nbsp;</td>                      <td class="captions" style="font-style: italic">&nbsp;</td>                      <td colspan="2" bgcolor="#B03A27" class="sidemenu" style="font-style: italic"><div align="center">Coming soon!</div></td>                      </tr>                    <tr>                      <td width="39%" class="captions" style="font-style: italic">STALLION NAME</td>                      <td width="28%" class="captions" style="font-style: italic">BREED</td>                      <td width="16%" class="captions style2" style="font-style: italic">SES INFO LINK</td>                      <td width="17%" class="captions style2" style="font-style: italic">REPORTS </td>                    </tr>                    <tr>                      <td colspan="4" class="captions"><img src="images/1pixel.gif" width="1" height="2" /></td>                      </tr>                  </table>                    <?php foreach ($cdb_stallionsRecords as $record): ?>                  <table width="100%" border="0" cellspacing="2" cellpadding="3">                    <tr>                      <td width="39%" height="30" align="left" valign="middle" bgcolor="#F5EBD2" class="content"><a href="cdb-stallion-reports.php?title=<?php echo $record['title']; ?>" ><?php echo htmlencode($record['title']) ?></a></td>                      <td width="28%" align="left" valign="middle" bgcolor="#F5EBD2" class="content"><?php echo htmlencode($record['breed']) ?></td>                      <td width="16%" align="left" valign="middle" bgcolor="#F5EBD2" class="content"><a href="<?php echo htmlencode($record['ses_url']) ?>" class="captions">Info</a></td>                      <td width="17%" align="left" valign="middle" bgcolor="#F5EBD2" class="content">                                            <a href="cdb-stallion-reports.php?title=<?php echo $record['title']; ?>" >Reports</a></td>                    </tr>                  </table>                    <?php endforeach ?>                                        <?php if (!$cdb_stallionsRecords): ?>                    No records were found!<br/>                    <br/>                    <?php endif ?>                    <!-- /STEP2: Display Records -->                                        <!-- STEP3: Display Page Links (Paste anywhere below "Load Record List") -->                    <br/>                    <?php if ($cdb_stallionsMetaData['prevPage']): ?>                    <a href="<?php echo $cdb_stallionsMetaData['prevPageLink'] ?>">&lt;&lt;  prev</a>                    <?php else: ?>                    &lt;&lt; prev                    <?php endif ?>                                        - page <?php echo $cdb_stallionsMetaData['page'] ?> of <?php echo $cdb_stallionsMetaData['totalPages'] ?> -                                        <?php if ($cdb_stallionsMetaData['nextPage']): ?>                    <a href="<?php echo $cdb_stallionsMetaData['nextPageLink'] ?>">next &gt;&gt;</a>                    <?php else: ?>                    next&gt;&gt;                                          <?php endif ?>                                          </p></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 width="229" 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"; ?>