<?PHP include("config.php");
require_once("rating/classes/include.all.php");
include("rating/int.to.words.php");

$results = mysql_query("SELECT * FROM  `".$prefix."Coaches` AS gf WHERE  `coach_certifications` LIKE  '%".$st_id."%'") OR die(mysql_error());

$none = FALSE;
if (mysql_num_rows($results) == 0) {
  $none = TRUE;
}

// set the page title
$pagetitle = "Slowtwitch Certified Triathlon Coaches";

// set meta tags
$meta_keywords = "slowtwitch certified triathlon coaches";
$meta_description = "coaches who have completed the Slowtwitch coaching certification course.";
?>

<? include("include_common_head.php"); ?>

<body class="listings">
  <? include($common_path . "/ads/ad_wallpaper.html"); ?>

  <div class="container">
    <? include($common_path . "/templates/include_header.php"); ?>
    <div class="main">
      <div class="contentwrapper clearfix">
        <? include("include_breadcrumb.php"); ?>

        <section class="section listings section-has-widgets section-static remove-sidebar">
          <div class="sidebar-b">
            <? $selected_item = 'top'; ?>
            <? include("include_sidebar.php"); ?>
          </div>

          <div class="content content-has-widgets">
            <div class="grid">

              <div class="clearfix">
                <h1>Slowtwitch Certified Coaches</h1>
                <hr class="line" />
                <? include("../runshops/include_region_list.php"); ?>
                <?
                if($none == TRUE){
                    echo "No triathlon coaches have enough votes yet.";
                }
                ?>
                <p/>
                <? $rating_text = 0;
                while($row = mysql_fetch_array($results)) {
                    include("include_store.php");
                } ?>

              </div><!-- end col-2/3 -->

            </div><!-- end grid -->
          </div><!-- end content -->
        </section>

      </div><!-- end contentwrapper -->
    </div> <!-- end main -->

  <? include($common_path . "/templates/include_footer.php") ?>
  </div> <!-- container  -->
</body>
<? include($common_path . "/templates/include_global_js.php") ?>
</html>


