include("include_breadcrumb.php"); ?>
        
          
            
             
                
                
                   
                        
                            
                        
                            
                         include("include_appointment.php") ?>
                       
                       
                        
                            
                            
                        
                  
                  
                   include ('comments_show.php');?>
                  
                       
              
            
          
         
      
    
             include("include_sidebar.php"); ?>
          
          Road Show
echo stripslashes(stripslashes($row[$field_lead.'name'])) ; echo " "; ?>
if($_GET[wiki_change] == 'success') { ?>Editor: your changes have been submitted and will be validated within 24 hours.
} ?> $wikiFetchSQL = "SELECT edit_id FROM ".$prefix.$main_table."Edits WHERE ".$field_lead."id_fk = '".intval(mysql_escape_string($_GET[$field_lead.'id']))."'"; $boolEdits = mysql_num_rows(mysql_query($wikiFetchSQL)); if($boolEdits !== 0 && $_GET[wiki_change] != 'success') { ?>Group Edits: there are group edits waiting to be validated.
} ?>
                     $datetime = new DateTime($row[$field_lead.'date']); ?>
                    Date:  echo $datetime->format('Y-m-d'); ?>
Time: echo $datetime->format('g:i A'); ?>
Street Address: echo stripslashes(htmlspecialchars($row[$field_lead.'address'])); ?>
if ($row[$field_lead.'address_two'] <> "") { echo("Street Address Two:"); echo stripslashes(htmlspecialchars($row[$field_lead.'address_two'])); echo("
"); } ?> City: echo stripslashes(htmlspecialchars($row[$field_lead.'city'])); ?>
State: echo stripslashes(htmlspecialchars($row[$field_lead.'state'])); ?>
Zip/Postal Code: echo stripslashes(htmlspecialchars($row[$field_lead.'zip'])); ?>
                   Time: echo $datetime->format('g:i A'); ?>
Street Address: echo stripslashes(htmlspecialchars($row[$field_lead.'address'])); ?>
if ($row[$field_lead.'address_two'] <> "") { echo("Street Address Two:"); echo stripslashes(htmlspecialchars($row[$field_lead.'address_two'])); echo("
"); } ?> City: echo stripslashes(htmlspecialchars($row[$field_lead.'city'])); ?>
State: echo stripslashes(htmlspecialchars($row[$field_lead.'state'])); ?>
Zip/Postal Code: echo stripslashes(htmlspecialchars($row[$field_lead.'zip'])); ?>
                    Phone:  echo stripslashes(htmlspecialchars($row[$field_lead.'phone'])); ?>
E-mail: echo stripslashes(htmlspecialchars($row[$field_lead.'email'])); ?>
$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']; ?> Shop Website: echo "$website"; ?>
                   E-mail: echo stripslashes(htmlspecialchars($row[$field_lead.'email'])); ?>
$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']; ?> Shop Website: echo "$website"; ?>
                        /**START COMMENT BLOCK OUT**/
                        $substring = "http";
                        if (!is_int(strpos($row[$field_lead.'raffle'], $substring))) {
                           $row[$field_lead.'raffle'] = "http://".$row[$field_lead.'raffle'];
                        }
                        $raffle = $row[$field_lead.'raffle'];
                        ?>
                        
                            $substring = "http";
                            if (!is_int(strpos($row[$field_lead.'facebook'], $substring))) {
                                $row[$field_lead.'facebook'] = "http://".$row[$field_lead.'facebook'];
                            }
                            $facebook = $row[$field_lead.'facebook'];
                        ?>
                        Raffle Link:  echo "$raffle"; ?>
RSVP on Facebook: echo "$facebook"; ?> /**END COMMENT BLOCK OUT**/ ?>
                   RSVP on Facebook: echo "$facebook"; ?> /**END COMMENT BLOCK OUT**/ ?>
                        include("include_buttons.php") ?>
                        include ('include_share.php'); ?>
                   
                   Appointment Only Services
Saddle Optimizer: Rides several saddles back-to-back on stationary equipment built for the purpose
Complete Bike Solver: Discover, in granular details, what tri bikes fit you perfectly.
Brands
                        
                        $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 <> "") { 
                            echo "
Triathlon Apparel: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Saddles/Footwear/Aerobars/Bike Hydration: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Helmets/Eyewear: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Nutritionals/Lubricants/Botanicals: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Stationary Trainer(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Electronics/Cameras/Metrics: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Wheels/Tires: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Component(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Sock(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Running Shoe(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Run Apparel: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Run Hydration: "; echo $temp_list; } echo $temp_list; $temp_list = ""; ?> $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 <> "") { echo "
Wetsuit(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Swim Apparel/Gear: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bodycare Tools: "; echo $temp_list; } $temp_list = ""; ?>
                        Triathlon Apparel: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Saddles/Footwear/Aerobars/Bike Hydration: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Helmets/Eyewear: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Nutritionals/Lubricants/Botanicals: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Stationary Trainer(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Electronics/Cameras/Metrics: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Wheels/Tires: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bike Component(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Sock(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Running Shoe(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Run Apparel: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Run Hydration: "; echo $temp_list; } echo $temp_list; $temp_list = ""; ?> $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 <> "") { echo "
Wetsuit(s): "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Swim Apparel/Gear: "; echo $temp_list; } $temp_list = ""; ?> $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 <> "") { echo "
Bodycare Tools: "; echo $temp_list; } $temp_list = ""; ?>
Road Show Itinerary
Itinerary: echo stripslashes(stripslashes($row[$field_lead.'activity'])) ?>
                                Map location is based off of a geocode of the addressed entered using Google's Google Maps API. If your address does not geocode properly, you can either update the address (we will attempt to re-geocode after any updates to your entry) or you can use Google's geocoding tool found here: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html to obtain a lat/long for your location and enter that. To use the utility, type in an address that is close to your location and then drag-and-drop the marker to obtain the desired lat/long. If you choose to enter a lat/long, you must check the box on the edit page that says, "override geocode with entered lat/long."
                            
                        
                            
                            
                             
                                $testresults = mysql_query("SELECT ".$field_lead."user_tags FROM ".$prefix.$main_table." WHERE ".$field_lead."id=".$idhere);
                                $testrow = mysql_fetch_array($testresults) or die(mysql_error());
                                $tags = explode(",", $testrow[$field_lead.'user_tags']);
                                $numcount = count($tags) - 1;
                                if($numcount == 0){ $phrase = "No users have tagged this ".$local_singular_lc." yet."; }
                                else if($numcount == 1){ $phrase = "There is 1 user which has tagged this ".$local_singular_lc.":"; } 
                                else{ $phrase = "There are $numcount users which have tagged this ".$local_singular_lc.": "; }
                                echo "
"; ?>
                        "; ?>
echo $phrase; ?>
                                
                                //List users
                                $i = 0;
                                foreach($tags as $value){
                                if($i > 0){
                                $tempresults = mysql_query("SELECT user_username FROM ".$prefix."User WHERE user_id='$value'") or die (mysql_error());
                                $temprow = mysql_fetch_array($tempresults);
                                if($i > 1){ echo ", "; }
                                // TODO: SLOWTWITCH EDIT
                                //echo "$temprow[user_username]";
                                // replace the link above with the link below for integration into gforum
                                echo "$temprow[user_username]";
                                // TODO: SLOWTWITCH EDIT END
                                }
                                $i++;
                                }
                                if(count($tags) <= 1){ echo "No users"; }
                                ?>
                            
                        
                            
                            
                             
                                $testresults = mysql_query("SELECT * FROM ".$prefix.$main_table."Editors WHERE ".$field_lead."id_fk=".$idhere." ORDER BY edit_timestamp DESC");
                                $numcount = mysql_num_rows($testresults);
                                if($numcount == 0){ $phrase = "No updates have been made this ".$local_singular_lc." yet."; }
                                else if($numcount == 1){ $phrase = "There has been 1 update to this ".$local_singular_lc.":"; } 
                                else{ $phrase = "There have been $numcount updates to this ".$local_singular_lc.": "; }
                                echo "
"; ?>
                  "; ?>
echo $phrase; ?>
                                
                                //List users
                                $i = 0;
                                while($row=mysql_fetch_array($testresults)){
                                if($i >= 0){
                                $tempresults = mysql_query("SELECT user_username FROM ".$prefix."User WHERE user_id='$row[user_id_fk]'") or die (mysql_error());
                                $temprow = mysql_fetch_array($tempresults);
                                if($i >= 1){ echo "
"; } // TODO: SLOWTWITCH EDIT //echo "$temprow[user_username]"; // replace the link above with the link below for integration into gforum echo "$temprow[user_username] at ".date("F j, Y g:i A", $row[edit_timestamp]); // TODO: SLOWTWITCH EDIT END } $i++; } if($numcount <= 0){ echo "No users"; } ?>
                    "; } // TODO: SLOWTWITCH EDIT //echo "$temprow[user_username]"; // replace the link above with the link below for integration into gforum echo "$temprow[user_username] at ".date("F j, Y g:i A", $row[edit_timestamp]); // TODO: SLOWTWITCH EDIT END } $i++; } if($numcount <= 0){ echo "No users"; } ?>