mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-04-04 09:33:24 -04:00
Gets rid of debug and unnecessary code.
This commit is contained in:
parent
1c7d28dd36
commit
aee1543b0c
@ -4,17 +4,9 @@ require_once('../Connections/YBDB.php');
|
||||
require_once('../Connections/database_functions.php');
|
||||
$page_individual_history_log = INDIVIDUAL_HISTORY_LOG;
|
||||
// Needs to volunteer at least this amount of defined hours before being considered a member
|
||||
$membership_hours = MEMBERSHIP_HOURS;
|
||||
$membership_days = MEMBERSHIP_DAYS;
|
||||
$purchased_membership_days = PURCHASED_MEMBERSHIP_DAYS;
|
||||
|
||||
require_once(realpath($_SERVER["DOCUMENT_ROOT"]) . '/php-console/src/PhpConsole/__autoload.php');
|
||||
$handler = PhpConsole\Handler::getInstance();
|
||||
$handler->start();
|
||||
|
||||
mysql_select_db($database_YBDB, $YBDB);
|
||||
|
||||
|
||||
$today = date("Y/m/d");
|
||||
$year_ago = date("Y/m/d", strtotime("$today -1 year"));
|
||||
|
||||
@ -98,7 +90,6 @@ $num_member_rows = mysql_num_rows($purchased_membership);
|
||||
//$purchased = mysql_fetch_assoc($purchased_membership);
|
||||
while ($result = mysql_fetch_assoc($purchased_membership)) {
|
||||
//do {
|
||||
$handler->debug($purchased_membership_dictionary[$result['contact_id']]);
|
||||
?>
|
||||
<tr>
|
||||
<td class="yb_standardRIGHTred"><a href="<?php echo "{$page_individual_history_log}?contact_id=" . $result['contact_id']; ?>"><?php echo $result['full_name']; ?></a></td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user