require("../inc/db_conn.php"); ?>
$attendanceCount people have signed up to attend $titleEvent, including:
\n"); // New added 7/27/05 kjm - next/previous added because Northstar can't optimize their $&%#^#$% database if(isset($offset)) { $theNext = $offset + 100; $thePrev = $offset - 100; $theOffset = " limit 100 offset $offset"; } else { $theNext = "100"; $thePrev = "0"; $theOffset = " limit 100"; } $theOffset = ""; // Get the raw list, sorted by last name $getPeopleQ = "select first_name, last_name, lugnet_id, city, state, country, url_label, url, bio, email from registration where showpublic = 1 and under18flag <> 1 and active = 1 and e_id = $master_event_id order by last_name {$theOffset}"; $getPeople = mysql_query($getPeopleQ); $attendeeCount = mysql_num_rows($getPeople); if($attendeeCount > 0) { echo("![]() | \n");
}
echo("{$row['first_name']} {$row['last_name']} | \n"); if($row['city'] != "" && $row['state'] != "") { $theComma = ", "; } else { $theComma = " "; } echo("{$row['city']}{$theComma}{$row['state']} | \n"); if(trim($row['lugnet_id']) != "") { #echo("![]() | \n");
echo("Lugnet Profile | \n"); } else { echo("\n"); } if(trim($row['url']) != "") { if(trim($row['url_label']) != "" && trim($row['url_label']) != "Home Page") { echo(" | {$row['url_label']} | \n"); } else { #echo("Home Page | \n"); } } else { echo("\n"); } flush(); } echo(" |
| Previous 100 | \n"); } if($theNext > 0 && $attendeeCount > 100) { echo("Next 100 | \n"); } echo("