<?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_stallion_reviews'  list($cdb_stallion_reviewsRecords, $cdb_stallion_reviewsMetaData) = getRecords(array(    'tableName'   => 'cdb_stallion_reviews',    'perPage'     => '50',    'loadUploads' => true,    'allowSearch' => false,  ));?><title>Superior Equine Sires: Conception Database Stallion Reviews</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" /><?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 Reports</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="right" valign="top" scope="col"><a href="cdb-listing.php">GO BACK TO Stallion Listings </a></td>              </tr>              <tr>                <td align="left" valign="top" scope="col">  <!-- STEP2: Display Records (Paste this where you want your records to be listed) -->      <?php foreach ($cdb_stallion_reviewsRecords as $record): ?>    <table width="100%" border="0" cellspacing="0" cellpadding="2">      <tr>        <td width="100%" colspan="2" align="left" valign="top" bgcolor="#F9F4E9"><table width="100%" border="0" cellspacing="0" cellpadding="6">                              <tr>            <td height="40" align="left" valign="middle" bgcolor="#E5E0D8"><H3><?php echo $record['title:label'] ?></H3></td>            </tr>                  </table></td>        </tr>      <tr>        <td colspan="2" align="left" valign="top" bgcolor="#F9F4E9"><table width="100%" border="0" cellspacing="1" cellpadding="3">          <tr>            <td align="left" valign="top" class="captions"> Mare Conceived:</td>            <td align="left" valign="top" class="captions"><?php echo $record['mare_conceived'] ?></td>            <td align="right" valign="top" class="captions">&nbsp;</td>            <td align="left" valign="top" class="captions">Age of Mare:</td>            <td align="left" valign="top" class="captions"><?php echo htmlencode($record['age_of_mare']) ?></td>          </tr>          <tr>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions">Number of Straws Inseminated: </td>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions"><?php echo $record['number_of_straws_inseminated'] ?></td>            <td width="1%" align="right" valign="top" class="captions">&nbsp;</td>            <td width="22%" align="left" valign="top" bgcolor="#E5E0D8" class="captions">Foal at Side:</td>            <td width="12%" align="left" valign="top" bgcolor="#E5E0D8" class="captions"><?php echo $record['foal_at_side'] ?></td>          </tr>          <tr>            <td width="34%" align="left" valign="top" class="captions">Number of Straws in Full Dose:</td>            <td width="31%" align="left" valign="top" class="captions"><?php echo $record['number_in_full_dose'] ?></td>            <td align="right" valign="top" class="captions">&nbsp;</td>            <td align="left" valign="top" class="captions">Foal Heat Breeding:</td>            <td align="left" valign="top" class="captions"><?php echo $record['foal_heat_breeding'] ?></td>          </tr>          <tr>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions">Motility:</td>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions"><?php echo $record['motility'] ?>%</td>            <td align="right" valign="top" class="captions">&nbsp;</td>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions">&nbsp;</td>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions">&nbsp;</td>          </tr>          <tr>            <td align="left" valign="top" class="captions">Inseminated by: </td>            <td align="left" valign="top" class="captions"><?php echo $record['inseminated_by'] ?></td>            <td align="right" valign="top" class="captions">&nbsp;</td>            <td colspan="2" align="left" valign="top" class="captions">&nbsp;</td>          </tr>          <tr>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions">Insemination type:</td>            <td align="left" valign="top" bgcolor="#E5E0D8" class="captions"><?php echo $record['insemination_type'] ?></td>            <td align="right" valign="top" class="captions">&nbsp;</td>            <td colspan="2" align="left" valign="top" bgcolor="#E5E0D8" class="captions">&nbsp;</td>          </tr>          <tr class="captions">            <td align="left" valign="top" class="captions">Inseminated at: </td>            <td colspan="4" align="left" valign="top" class="captions"><?php echo $record['inseminated_at'] ?></td>            </tr>                    <tr class="captions">            <td colspan="5" align="left" valign="top" bgcolor="#E5E0D8" class="captions"><table width="100%" border="0" cellspacing="0" cellpadding="3">                            <tr>                <td width="100%" colspan="2" align="left" valign="top" bgcolor="#E5E0D8" class="captions">General comments, problems encountered, special techniques or therapies used:</td>              </tr>              <tr>                <td colspan="2" align="left" valign="top" bgcolor="#F9F4E9" class="captions"><?php echo htmlencode($record['comments']) ?></td>              </tr>              <tr>                <td colspan="2" align="left" valign="top" bgcolor="#F9F4E9" class="captions"><img src="images/1pixel.gif" width="1" height="3" /></td>              </tr>                            <tr>                <td colspan="2" align="left" valign="top" class="captions"><em>Reported by user #<?php echo $record['createdByUserNum'] ?> on <?php echo $record['createdDate'] ?></em></td>              </tr>                          </table></td>            </tr>                            </table></td>        </tr>            <tr>        <td colspan="2" align="left" valign="top"><img src="images/div-line-horiz-2tone.png" width="545" height="2" vspace="10" /></td>        </tr>    </table>    <?php endforeach ?>    <?php if (!$cdb_stallion_reviewsRecords): ?>      No records were found!<br/><br/>    <?php endif ?>  <!-- /STEP2: Display Records -->  <!-- STEP3: Display Page Links (Paste anywhere below "Load Record List") -->    <?php if ($cdb_stallion_reviewsMetaData['prevPage']): ?>      <a href="<?php echo $cdb_stallion_reviewsMetaData['prevPageLink'] ?>">&lt;&lt;  prev</a>    <?php else: ?>      &lt;&lt; prev    <?php endif ?>    - page <?php echo $cdb_stallion_reviewsMetaData['page'] ?> of <?php echo $cdb_stallion_reviewsMetaData['totalPages'] ?> -    <?php if ($cdb_stallion_reviewsMetaData['nextPage']): ?>      <a href="<?php echo $cdb_stallion_reviewsMetaData['nextPageLink'] ?>">next &gt;&gt;</a>    <?php else: ?>      next &gt;&gt;    <?php endif ?>  <!-- /STEP3: Display Page Links -->                </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"; ?>