discourse-legacysite-perl/site/roadshow/wiki_view.php
2024-06-17 22:42:14 +10:00

868 lines
27 KiB
PHP

<?PHP
if (!is_numeric($_GET[edit_id])) { header('Location:'.$site_url.'/?error=invalid_id'); }
include("config.php");
// only admins can validate
if(!is_admin()) {
header('Location:'.$site_url.'/');
exit();
}
// get the info for the edit based on ID
// if the ID isn't valid, punt the user
$edit_id_here = intval(mysql_escape_string($_GET[edit_id]));
$results = mysql_query("SELECT * FROM ".$prefix."RoadshowEdits WHERE edit_id = '".$edit_id_here."'");
$row = mysql_fetch_array($results);
if (!$row) { header('Location:'.$site_url.'/?error=no_entry'); }
// set the page title
$pagetitle = $row[$field_lead.'name'];
// set meta tags
$meta_keywords = "triathlon, ".$row[$field_lead.'name'].", ".$row[$field_lead.'state']." roadshow events";
$meta_description = "Considering participating in ".$row[$field_lead.'name']."? Here is all of the information about this roadshow event.";
?>
<? 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">
<?
$sqlWikiFetch = "SELECT user_username FROM ".$prefix."User WHERE user_id = ".mysql_escape_string($row[edit_user_id_fk])." LIMIT 1";
$arrUser = mysql_fetch_array(mysql_query($sqlWikiFetch));
$strEditor = $arrUser[user_username];
?>
<div class="dtable form">
<div class="drow">
<div class="dcell name">Editor</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo "<a href=\"http://forum.slowtwitch.com/gforum.cgi?username=".$strEditor.";\" target=\"_blank\">".$strEditor."</a>"; ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Edit Date</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo date("F j, Y", $row[edit_timestamp]); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Date</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? // we need to convert the datetime to individual parts //
$datetime = new DateTime($row[$field_lead.'date']);
?>
<? echo $datetime->format('Y-m-d'); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Time</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo $datetime->format('g:i A'); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Street Address</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'address'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Street Address Two</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'address_two'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">City</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'city'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">State</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'state'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Zip/Postal Code</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'zip'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Phone</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'phone'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Fax/Alt. Phone</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'fax'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">E-mail</div>
<div class="dcell divider"></div>
<div class="dcell value">
<a href="mailto:<? echo $row[$field_lead.'email']; ?>"><? echo stripslashes(htmlspecialchars($row[$field_lead.'email'])); ?></a>
</div>
</div>
<div class="drow">
<div class="dcell name">Website</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$substring = "http";
if (!is_int(strpos($row[$field_lead.'website'], $substring))) {
$row[$field_lead.'website'] = "http://".$row[$field_lead.'website'];
}
$website = $row[$field_lead.'website'];
?>
<? echo "<a target=\"_blank\" href=\"$website\">$website</a>"; ?>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<h3>Local Assets</h3>
</div>
</div>
<div class="drow">
<div class="dcell name">Slowtwitch Ambassador(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'stambassador'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'stambassador_names']); } ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Tri Club(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'triclub'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'triclub_names']); } ?> <br />
</div>
</div>
<div class="drow">
<div class="dcell name">Coach(es)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'coach'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'coach_names']); } ?> <br />
</div>
</div>
<div class="drow">
<div class="dcell name">Race Director(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'racedirector'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'racedirector_names']); } ?> <br />
</div>
</div>
<div class="drow">
<div class="dcell name">Brewery(ies)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'brewery'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'brewery_names']); } ?> <br />
</div>
</div>
<div class="drow">
<div class="dcell name">Other</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'local'] != "") { echo stripslashes(htmlspecialchars($row[$field_lead.'local'])); } else { echo "No other local assets specified."; } ?><br />
</div>
</div>
<div class="drow">
<div class="dcell name">Fitbike(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'fitbike'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Fitbike WHERE fitbike_id IN ($implosion) ORDER BY fitbike_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[fitbike_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Saddle Quick Change</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'saddlechange'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Saddlechange WHERE saddlechange_id IN ($implosion) ORDER BY saddlechange_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[saddlechange_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Motion Capture System(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'motioncapture'];
$temp_list = "";
if ($implosion) {
$sql = ("SELECT * FROM ".$prefix.$resource_table."Motioncapture WHERE motioncapture_id IN ($implosion) ORDER BY motioncapture_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[motioncapture_name], ";
}
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Custom Footbed(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'footbed'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Customfootbed WHERE footbed_id IN ($implosion) ORDER BY footbed_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[footbed_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<h3>Brands</h3>
</div>
</div>
<div class="drow">
<div class="dcell name">Triathlon Apparel</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'apparel_tri'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."ApparelTri WHERE apparel_tri_id IN ($implosion) ORDER BY apparel_tri_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[apparel_tri_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bike'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Bike WHERE bike_id IN ($implosion) ORDER BY bike_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bike_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Saddles/Footwear/Aerobars/Bike Hydration</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikeaccessory'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeAccessory WHERE bikeaccessory_id IN ($implosion) ORDER BY bikeaccessory_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikeaccessory_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Helmets/Eyewear</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikehelmet'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeHelmet WHERE bikehelmet_id IN ($implosion) ORDER BY bikehelmet_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikehelmet_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Nutritionals/Lubricants/Botanicals</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikebody'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeBody WHERE bikebody_id IN ($implosion) ORDER BY bikebody_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikebody_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Stationary Trainer(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'biketrainer'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeTrainer WHERE biketrainer_id IN ($implosion) ORDER BY biketrainer_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[biketrainer_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Electronics/Cameras/Metrics</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikeelectronic'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeElectronic WHERE bikeelectronic_id IN ($implosion) ORDER BY bikeelectronic_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikeelectronic_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Wheels/Tires</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikewheel'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeWheel WHERE bikewheel_id IN ($implosion) ORDER BY bikewheel_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikewheel_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bike Component(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bikecomponent'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."BikeComponent WHERE bikecomponent_id IN ($implosion) ORDER BY bikecomponent_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bikecomponent_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Socks</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'sock'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Sock WHERE sock_id IN ($implosion) ORDER BY sock_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[sock_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Running Shoe(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'shoe'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Shoe WHERE shoe_id IN ($implosion) ORDER BY shoe_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[shoe_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Run Apparel</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'apparel_run'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."ApparelRun WHERE apparel_run_id IN ($implosion) ORDER BY apparel_run_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[apparel_run_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Run Hydration</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'runhydrate'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."RunHydrate WHERE runhydrate_id IN ($implosion) ORDER BY runhydrate_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[runhydrate_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Wetsuit(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'wetsuit'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Wetsuit WHERE wetsuit_id IN ($implosion) ORDER BY wetsuit_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[wetsuit_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Swim Apparel/Gear</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'swimgear'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Swimgear WHERE swimgear_id IN ($implosion) ORDER BY swimgear_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[swimgear_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name">Bodycare Tools</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'bodycare'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Bodycare WHERE bodycare_id IN ($implosion) ORDER BY bodycare_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[bodycare_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<h3>Technology, Community &amp; Education</h3>
</div>
</div>
<div class="drow">
<div class="dcell name">Key Tri-Specific Contact(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'trispecific'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'trispecific_names']); } ?>
</div>
</div>
<div class="drow">
<div class="dcell name">F.I.S.T. Tri Fitters(s)</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? if ($row[$field_lead.'fist'] == 0) { echo "None"; } else { echo "Yes, Their Names - "; echo stripslashes($row[$field_lead.'fist_names']); } ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Diagnostic Tools</div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
$implosion = $row[$field_lead.'diagnostic'];
$sql = ("SELECT * FROM ".$prefix.$resource_table."Diagnostic WHERE diagnostic_id IN ($implosion) ORDER BY diagnostic_name ASC");
//echo $sql;
$results = mysql_query($sql) or die(mysql_error());
$temp_list = "";
while ($temp_row = mysql_fetch_array($results)) {
$temp_list = $temp_list."$temp_row[diagnostic_name], ";
}
$temp_list = rtrim($temp_list, ', ');
if ($temp_list == "") { $temp_list = "none specified";}
echo $temp_list;
$temp_list = "";
?>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<h3>Social</h3>
</div>
</div>
<div class="drow">
<div class="dcell name">Shop Hours</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(htmlspecialchars($row[$field_lead.'hours'])); ?>
</div>
</div>
<div class="drow">
<div class="dcell name">Runs &amp; Classes</div>
<div class="dcell divider"></div>
<div class="dcell value">
<? echo stripslashes(stripslashes($row[$field_lead.'activity'])) ?>
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<?
// wiki control buttons
include("wiki_buttons.php")
?>
</div>
</div>
</div>
</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>