<?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('/services8/webpages/util/n/w/nwsc5872139.myutilitydomain.com/public/','','../','../../','../../../');  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }  // load records  list($searchRecords, $searchMetaData) = getRecords(array(    'tableName'   => 'search',    'perPage'     => '30',  ));?><?php include "include_header.php"; ?>        <table width="967" border="0" cellspacing="0" cellpadding="0">          <tr>            <td align="left" valign="top"><table width="635" border="0" cellspacing="0" cellpadding="0">              <tr>                <td align="left" bgcolor="#640233"><img src="assets/1pixel.gif" width="1" height="1" /></td>              </tr>              <tr>                <td align="left"><img src="assets/1pixel.gif" width="12" height="2" /></td>              </tr>              <tr>                <td align="left" bgcolor="#CCCCCC"><img src="assets/1pixel.gif" width="12" height="1" /></td>              </tr>              <tr>                <td align="left"><img src="assets/1pixel.gif" width="12" height="12" /></td>              </tr>              <tr>                <td align="left"><h1>Search</h1></td>              </tr>              <tr>                <td class="textmain"><h2>Northern Wyoming Surgical Center</h2></td>              </tr>              <tr>                <td class="textmain"><img src="assets/1pixel.gif" alt="" width="12" height="4" /></td>              </tr>              <tr>                <td bgcolor="#CCCCCC" class="textmain"><img src="assets/1pixel.gif" alt="" width="12" height="1" /></td>              </tr>              <tr>                <td class="textmain"><img src="assets/1pixel.gif" alt="" width="12" height="20" /></td>              </tr>              <tr>                <td class="textmain">                  <!-- STEP2: Display Records (Paste this where you want your records to be listed) -->    <h1>Search - List Page Viewer</h1>    <?php foreach ($searchRecords as $record): ?>      Record Number: <?php echo $record['num'] ?><br/>      Title: <?php echo $record['title'] ?><br/>      Content: <?php echo $record['content'] ?><br/>      _link : <a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a><br/>      <hr/>    <?php endforeach ?>    <?php if ($searchMetaData['invalidPageNum']): ?>      Results page '<?php echo $searchMetaData['page']?>' not found, <a href="<?php echo $searchMetaData['firstPageLink'] ?>">start over &gt;&gt;</a>.<br/><br/>    <?php elseif (!$searchRecords): ?>      No records were found!<br/><br/>    <?php endif ?>  <!-- /STEP2: Display Records -->  <!-- STEP3: Display Page Links (Paste anywhere below "Load Record List") -->    <?php if ($searchMetaData['prevPage']): ?>      <a href="<?php echo $searchMetaData['prevPageLink'] ?>">&lt;&lt; prev</a>    <?php else: ?>      &lt;&lt; prev    <?php endif ?>    - page <?php echo $searchMetaData['page'] ?> of <?php echo $searchMetaData['totalPages'] ?> -    <?php if ($searchMetaData['nextPage']): ?>      <a href="<?php echo $searchMetaData['nextPageLink'] ?>">next &gt;&gt;</a>    <?php else: ?>      next &gt;&gt;    <?php endif ?>  <!-- /STEP3: Display Page Links -->                                </td>              </tr>                                        </table></td>            <td align="left" valign="top">&nbsp;</td>            <td align="left" valign="top"><table width="311" border="0" cellspacing="0" cellpadding="0">                <tr>                  <td align="left" valign="top"><table width="311" border="0" cellspacing="0" cellpadding="0">                      <tr>                        <td width="300"><table width="300" border="0" cellpadding="0" cellspacing="0" id="sidebox">                            <tr>                              <td rowspan="7" align="left" valign="top"><img src="assets/1pixel.gif" width="10" height="10" /></td>                              <td align="left" valign="top"><img src="assets/1pixel.gif" width="280" height="10" /></td>                              <td rowspan="7" align="left" valign="top"><img src="assets/1pixel.gif" width="10" height="10" /></td>                            </tr>                            <tr>                              <td align="center" valign="top" class="sideboxTitle">Core Values</td>                            </tr>                            <tr>                              <td align="center" valign="top" class="sideboxSubsubtitle">OF THE</td>                            </tr>                            <tr>                              <td align="center" valign="top" class="sideboxSubtitle">Northern Wyoming Surgical Center</td>                            </tr>                            <tr>                              <td align="left" valign="top">&nbsp;</td>                            </tr>                            <tr>                              <td align="left" valign="top">This sidebar area is still being developed....</td>                            </tr>                            <tr>                              <td align="left" valign="top"><img src="assets/1pixel.gif" width="280" height="10" /></td>                            </tr>                        </table></td>                        <td background="assets/box-shad-right.jpg" style="background-repeat:repeat-y;">&nbsp;</td>                      </tr>                      <tr>                        <td background="assets/box-shad-bottom.jpg" style="background-repeat:repeat-x;">&nbsp;</td>                        <td background="assets/box-shad-botright-corner.jpg" style="background-repeat:no-repeat;">&nbsp;</td>                      </tr>                  </table></td>                </tr>                <tr>                  <td align="left" valign="top"><img src="assets/1pixel.gif" width="15" height="15" /></td>                </tr>                <tr>                  <td align="left" valign="top">&nbsp;</td>                </tr>                <tr>                  <td align="left" valign="top"><img src="assets/1pixel.gif" width="15" height="15" /></td>                </tr>                <tr>                  <td align="left" valign="top">&nbsp;</td>                </tr>            </table></td>          </tr>          <tr>            <td><img src="assets/1pixel.gif" width="635" height="15" /></td>            <td><img src="assets/1pixel.gif" width="21" height="15" /></td>            <td><img src="assets/1pixel.gif" width="311" height="15" /></td>          </tr>        </table>        <?php include "include_footer.php"; ?>