discourse-legacysite-perl/site/racecalendar/index.php

89 lines
6.9 KiB
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<?PHP include("config.php");
// set the page title
$pagetitle = "Triathlon & Multisport Events";
// set meta tags
$meta_keywords = "triathlon, trifind, duathlon";
$meta_description = "Are you trying to find independent triathlons to race in near your area? You can browse all independent triathlons organized by states, to find which races you want to enter.";
?>
<? 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">
<? include("include_sidebar.php"); ?>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<h1 class="float-left">Races</h1>
<? if (is_logged_in($user)) { ?>
<a href="<? echo $site_url . '/add.php' ?>" class="btn btn-white float-right">Add Race</a>
<? } ?>
<hr class="line" />
<? include("../runshops/include_region_list.php"); ?>
<div class="map-container">
<div id="map" class="map" data-name="race" data-json="/googlemaps/json/race.json"></div><!--xml relative path from js folder -->
</div>
<?
$numraces = mysql_num_rows(mysql_query("SELECT uid FROM gforum_Triathlons WHERE valid=1 AND date > '".$min_date."'"));
?>
<h3>Welcome to Slowtwitch.com's Independent North American Race Calendar</h3>
<p><? echo($numraces); ?> races and counting for <? echo date('Y'); ?>. We aspire to present the most comprehensive calendar of independent events for North American racers, along with features providing participants a greater sense of community. If you have a suggestion or critique that might allow us to better reach our aspirations, please <a href="mailto:slowman@slowtwitch.com">contact</a> us. Otherwise, enjoy our calendar and its features.</p>
<p>This calendar is a listing of independent races. That means races that are not Ironman. We love Ironman races and mean no disrespect. Just, go <a href="http://www.ironman.com/">here</a> and you'll find them; it's no secret where they are. If you want races that are <b>not</b> part of the Ironman series, that's what you'll find here.</p>
<h3>Browsing the calendar</h3>
<p>You do <strong>not</strong> need to log in to do this. You'll find a list of multisport events in your state by using the links on the left. You'll soon be able to sort by region as well. After clicking on your state you'll note that triathlons and duathlons will be listed by date. You can further refine your search by specifying options such as race type, distance, location, and rating.</p>
<h3>Canadian races</h3>
<p>You'll see your provinces mixed in alphabetically with U.S. States. Because triathletes in the U.S. and Canada frequently cross national boundaries to race, we're treating our North American calendar as if these boundaries did not exist. Accordingly, British Columbia and Washington are both in the Northwest region, Ontario and Michigan are both in the Great Lakes region, and so on.</p>
<h3>How contestants build their own personal race calendars</h3>
<p>When you find a race that piques your interest, just click &quot;tag this race.&quot; This aggregate events just as you would collect items in an online shopping cart. You'll find these events displayed on your forum user profile or, we should say, you <em>will</em> find them there. We're working on this functionality, including the ability to either display or hide your personal race calendar as you choose. We'll alert you via a forum thread when this functionality is turned on.</p>
<div class="advert float-left">
<? include($common_path . "/ads/ad_300x250_roadblocks.html"); ?>
</div>
<h3>How to enter a race</h3>
<p>You must be a registered user to add an event to the calendar. There is one common type of registration on Slowtwitch, and if you are registered to post on our Reader Forum you are one of
<?
$num_users = mysql_num_rows(mysql_query("SELECT user_id FROM ".$prefix."User WHERE 1=1"));
echo number_format($num_users);
?>
who have made a registration, and this means you're able to add races to our calendar. Likewise, if you register to add to our calendar, you're registered to post on the forum.</p>
<p>If you're not registered, the login prompt is to the left of the page, near the top. The registration process is straightforward, easy, and free. It will require you to receive an email and click on a link to complete your registration. All this should take you only a minute or two. Then...</p>
<p>1. Click the ADD A RACE button to begin adding to the calendar.</p>
<p>2. Once you SUBMIT your race, you'll also need to CONFIRM your submission via a link at the bottom of the page. We will check to make sure you are not adding a duplicate race. You may be warned of a potential duplicate. This is just a warning based on name similarities. If you are sure you are not adding a duplicate race, click the SUBMIT RACE button.</p>
<p>3. Once you successfully add your race, it will not immediately be visible to you. We must validate the addition on our end before anyone can see it. We do this so that spammers won't use the race registration as a way to spam our calendar.</p>
<h3>How to edit published information about a race</h3>
<p>Any registered user can update a race. The changes must be reviewed by an administrator, but the goal is to use the collective knowledge base of our community to keep the calendar up to date.</p>
<h3>How to comment on a race</h3>
<p>Any registered user can comment on a race using the form contained on the individual race page. Your comments are subject to validation by an administrator.</p>
</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>