<?php

// run $counterSQL

$counterQry = @$connect -> query($counterSQL);
$counter $counterQry -> fetch_array();

echo <<<html
<div class="top">
 <div class="floatright">
  <a title="Check my CSS!" id="ValidCSS" rel="external"
   href="http://jigsaw.w3.org/css-validator/check/referer">
   <img src="/img/vcss.gif" alt="[Valid CSS!]" />
  </a><br />
  <a title="Check my XHTML!" id="ValidXHTML" rel="external"
   href="http://validator.w3.org/check?uri=referer">
   <img src="/img/vxhtml.gif" alt="[Valid XHTML!]" />
  </a>
 </div><div class="floatleft">
  <a title="
$logoTitle" href="/">
   <img src="/img/logo.png" alt="[Site Logo]" height="84px" />
  </a>
 </div>
 <h1>
$title</h1>
 <p class="counter">Hit Count: <span>
$counter[0]</span></p>
</div>

html;

?>