commit 8ca61d45ebe1321509663a11b32ad2bf1be07223 Author: Jonathan Rosenbaum Date: Tue Sep 5 03:39:54 2017 +0000 First commit of biketree to github! diff --git a/allstyles.css b/allstyles.css new file mode 100755 index 0000000..7996792 --- /dev/null +++ b/allstyles.css @@ -0,0 +1,47 @@ +h4{ +font-family: verdana; +font-size: 12px; +font-style: italic; +font-weight: normal; +margin-bottom: 0; +margin-top: 0; +} + +h3{ +font-family: verdana; +font-size: 14px; +font-weight: bold; +background: #9aadd0; +margin-bottom: 0; +margin-top: 0; +text-align: right; +} + +h2{ +font-family: verdana; +font-size: 16px; +font-weight: bold; +font-style: italic; +margin-bottom: 0; +margin-top: 0; +text-align: left; +} + +.text { +font-size: 13px; +padding: 4px; +margin-left: auto; +margin-right: auto; +} + +td.high40 { +height: 40px; +width: 500px; +text-align: left; +} + +td.submit { +border-bottom: 4px solid #333333; +border-top: 1px dotted #333333; +text-align: center; +} diff --git a/backupDB.php b/backupDB.php new file mode 100755 index 0000000..e704ca6 --- /dev/null +++ b/backupDB.php @@ -0,0 +1,755 @@ + 86400) { + return number_format($seconds / 86400, $precision).' days'; + } elseif ($seconds > 3600) { + return number_format($seconds / 3600, $precision).' hours'; + } elseif ($seconds > 60) { + return number_format($seconds / 60, $precision).' minutes'; + } + return number_format($seconds, $precision).' seconds'; +} + +function FileSizeNiceDisplay($filesize, $precision=2) { + if ($filesize < 1000) { + $sizeunit = 'bytes'; + $precision = 0; + } else { + $filesize /= 1024; + $sizeunit = 'kB'; + } + if ($filesize >= 1000) { + $filesize /= 1024; + $sizeunit = 'MB'; + } + if ($filesize >= 1000) { + $filesize /= 1024; + $sizeunit = 'GB'; + } + return number_format($filesize, $precision).' '.$sizeunit; +} + +function OutputInformation($id, $dhtml, $text='') { + global $DHTMLenabled; + if ($DHTMLenabled) { + if (!is_null($dhtml)) { + if ($id) { + echo ''; + } else { + echo $dhtml; + } + flush(); + } + } else { + if ($text) { + echo $text; + flush(); + } + } + return true; +} + +///////////////////////////////////////////////////////////////////// +/////////////////// END SUPPORT FUNCTIONS /////////////////// +///////////////////////////////////////////////////////////////////// + + + + +if ((!defined('DB_HOST') || (DB_HOST == '')) || (!defined('DB_USER') || (DB_USER == '')) || (!defined('DB_PASS') || (DB_PASS == ''))) { + echo '
'; + echo 'database hostname:
'; + echo 'database username:
'; + echo 'database password:
'; + echo ''; + echo '
'; + exit; +} + + + +if (!@mysql_connect(DB_HOST, DB_USER, DB_PASS)) { + die('There was a problem connecting to the database:
'."\n".mysql_error()); +} + +if (!is_dir($backupabsolutepath)) { + die('"'.htmlentities($backupabsolutepath).'" is not a directory'); +} elseif (!is_writable($backupabsolutepath)) { + die('"'.htmlentities($backupabsolutepath).'" is not writable'); +} + +if ($SuppressHTMLoutput) { + ob_start(); +} +echo '

backupDB() v'.backupDBversion.'

'; +echo '

MySQL database backup

'; +if (isset($_REQUEST['StartBackup'])) { + OutputInformation('', 'Cancel

', 'Cancel

'); +} +OutputInformation('', '', 'DHTML display is disabled - you won\'t see anything until the backup is complete.'); +flush(); + + +$ListOfDatabasesToMaybeBackUp = array(); +if (defined('DB_NAME')) { + $ListOfDatabasesToMaybeBackUp[] = DB_NAME; +} else { + $db_name_list = mysql_list_dbs(); + while (list($dbname) = mysql_fetch_array($db_name_list)) { + $ListOfDatabasesToMaybeBackUp[] = $dbname; + } +} + + + +if (isset($_REQUEST['StartBackup']) && ($_REQUEST['StartBackup'] == 'partial')) { + + echo ''; + + echo '
'; + foreach ($ListOfDatabasesToMaybeBackUp as $dbname) { + $tables = mysql_list_tables($dbname); + if (is_resource($tables)) { + echo '
'.$dbname.'
'; + $tablecounter = 0; + while (list($tablename) = mysql_fetch_array($tables)) { + $TableStatusResult = mysql_query('SHOW TABLE STATUS LIKE "'.mysql_escape_string($tablename).'"'); + if ($TableStatusRow = mysql_fetch_array($TableStatusResult)) { + if (in_array($TableStatusRow['Type'], $NeverBackupDBtypes)) { + + // no need to back up HEAP tables, and will generate errors if you try to optimize/repair + + } else { + + if ($tablecounter++ >= TABLES_PER_COL) { + echo ''; + $tablecounter = 0; + } + $SQLquery = 'SELECT COUNT(*) AS num FROM '.$tablename; + mysql_select_db($dbname); + $result = mysql_query($SQLquery); + $row = @mysql_fetch_array($result); + + echo ''.$tablename.' ('.$row['num'].')
'; + + } + } + } + echo '

'; + } + } + if (isset($_POST['DB_HOST'])) { + echo ''; + echo ''; + echo ''; + } + echo ' '; + echo ' '; + echo ''; + echo '
'; + echo 'Back to menu'; + +} elseif (isset($_REQUEST['StartBackup'])) { + + if (($GZ_enabled && ($zp = @gzopen($backupabsolutepath.$tempbackupfilename, 'wb'))) || + (!$GZ_enabled && ($fp = @fopen($backupabsolutepath.$tempbackupfilename, 'wb')))) { + + $fileheaderline = '# backupDB() v'.backupDBversion.' (http://www.silisoftware.com)'.LINE_TERMINATOR; + $fileheaderline .= '# mySQL backup ('.date('F j, Y g:i a').') Type = '; + if ($GZ_enabled) { + gzwrite($zp, $fileheaderline, strlen($fileheaderline)); + } else { + fwrite($fp, $fileheaderline, strlen($fileheaderline)); + } + + if ($_REQUEST['StartBackup'] == 'structure') { + + if ($GZ_enabled) { + gzwrite($zp, 'Structure Only'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Structure Only'.LINE_TERMINATOR.LINE_TERMINATOR)); + } else { + fwrite($fp, 'Structure Only'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Structure Only'.LINE_TERMINATOR.LINE_TERMINATOR)); + } + $backuptype = 'full'; + unset($SelectedTables); + + foreach ($ListOfDatabasesToMaybeBackUp as $dbname) { + set_time_limit(60); + $tables = mysql_list_tables($dbname); + if (is_resource($tables)) { + $tablecounter = 0; + while (list($tablename) = mysql_fetch_array($tables)) { + $TableStatusResult = mysql_query('SHOW TABLE STATUS LIKE "'.mysql_escape_string($tablename).'"'); + if ($TableStatusRow = mysql_fetch_array($TableStatusResult)) { + if (in_array($TableStatusRow['Type'], $NeverBackupDBtypes)) { + + // no need to back up HEAP tables, and will generate errors if you try to optimize/repair + + } else { + + $SelectedTables[$dbname][] = $tablename; + + } + } + } + } + } + + } elseif (isset($_REQUEST['SelectedTables']) && is_array($_REQUEST['SelectedTables'])) { + + if ($GZ_enabled) { + gzwrite($zp, 'Selected Tables Only'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Selected Tables Only'.LINE_TERMINATOR.LINE_TERMINATOR)); + } else { + fwrite($fp, 'Selected Tables Only'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Selected Tables Only'.LINE_TERMINATOR.LINE_TERMINATOR)); + } + $backuptype = 'partial'; + $SelectedTables = $_REQUEST['SelectedTables']; + + } else { + + if ($GZ_enabled) { + gzwrite($zp, 'Complete'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Complete'.LINE_TERMINATOR.LINE_TERMINATOR)); + } else { + fwrite($fp, 'Complete'.LINE_TERMINATOR.LINE_TERMINATOR, strlen('Complete'.LINE_TERMINATOR.LINE_TERMINATOR)); + } + $backuptype = 'full'; + unset($SelectedTables); + + foreach ($ListOfDatabasesToMaybeBackUp as $dbname) { + set_time_limit(60); + $tables = mysql_list_tables($dbname); + if (is_resource($tables)) { + $tablecounter = 0; + while (list($tablename) = mysql_fetch_array($tables)) { + $TableStatusResult = mysql_query('SHOW TABLE STATUS LIKE "'.mysql_escape_string($tablename).'"'); + if ($TableStatusRow = mysql_fetch_array($TableStatusResult)) { + if (in_array($TableStatusRow['Type'], $NeverBackupDBtypes)) { + + // no need to back up HEAP tables, and will generate errors if you try to optimize/repair + + } else { + + $SelectedTables[$dbname][] = $tablename; + + } + } + } + } + } + + } + + $starttime = getmicrotime(); + OutputInformation('', null, 'Checking tables...

'); + $TableErrors = array(); + foreach ($SelectedTables as $dbname => $selectedtablesarray) { + mysql_select_db($dbname); + $repairresult = ''; + $CanContinue = true; + foreach ($selectedtablesarray as $selectedtablename) { + OutputInformation('statusinfo', 'Checking table '.$dbname.'.'.$selectedtablename.''); + $result = mysql_query('CHECK TABLE '.$selectedtablename); + while ($row = mysql_fetch_array($result)) { + set_time_limit(60); + if ($row['Msg_text'] == 'OK') { + + mysql_query('OPTIMIZE TABLE '.$selectedtablename); + + } else { + + OutputInformation('statusinfo', 'Repairing table '.$selectedtablename.''); + $repairresult .= 'REPAIR TABLE '.$selectedtablename.' EXTENDED'."\n\n"; + $fixresult = mysql_query('REPAIR TABLE '.$selectedtablename.' EXTENDED'); + $ThisCanContinue = false; + while ($fixrow = mysql_fetch_array($fixresult)) { + $thisMessage = $fixrow['Msg_type'].': '.$fixrow['Msg_text']; + $repairresult .= $thisMessage."\n"; + switch ($thisMessage) { + case 'status: OK': + case 'error: The handler for the table doesn\'t support repair': + $ThisCanContinue = true; + break; + } + } + if (!$ThisCanContinue) { + $CanContinue = false; + } + + $repairresult .= "\n\n".str_repeat('-', 60)."\n\n"; + + } + } + } + + if (!empty($repairresult)) { + echo '
'.$repairresult.'
'; + if (!$CanContinue) { + if ($SuppressHTMLoutput) { + ob_end_clean(); + echo 'errors'; + } + exit; + } + } + } + OutputInformation('statusinfo', ''); + + OutputInformation('', '
Overall Progress:
'); + $overallrows = 0; + foreach ($SelectedTables as $dbname => $value) { + mysql_select_db($dbname); + echo '
'.$dbname.'
'; + $tablecounter = 0; + for ($t = 0; $t < count($SelectedTables[$dbname]); $t++) { + if ($tablecounter++ >= TABLES_PER_COL) { + echo ''; + $tablecounter = 1; + } + $SQLquery = 'SELECT COUNT(*) AS num FROM '.$SelectedTables[$dbname][$t]; + $result = mysql_query($SQLquery); + $row = mysql_fetch_array($result); + $rows[$t] = $row['num']; + $overallrows += $rows[$t]; + echo ''.$SelectedTables[$dbname][$t].' ('.number_format($rows[$t]).' records)
'; + } + echo '

'; + } + + $alltablesstructure = ''; + foreach ($SelectedTables as $dbname => $value) { + mysql_select_db($dbname); + for ($t = 0; $t < count($SelectedTables[$dbname]); $t++) { + set_time_limit(60); + OutputInformation('statusinfo', 'Creating structure for '.$dbname.'.'.$SelectedTables[$dbname][$t].''); + + $fieldnames = array(); + $structurelines = array(); + $result = mysql_query('SHOW FIELDS FROM '.BACKTICKCHAR.$SelectedTables[$dbname][$t].BACKTICKCHAR); + while ($row = mysql_fetch_array($result)) { + $structureline = BACKTICKCHAR.$row['Field'].BACKTICKCHAR; + $structureline .= ' '.$row['Type']; + $structureline .= ' '.($row['Null'] ? '' : 'NOT ').'NULL'; + eregi('^[a-z]+', $row['Type'], $matches); + $RowTypes[$dbname][$SelectedTables[$dbname][$t]][$row['Field']] = $matches[0]; + if (@$row['Default']) { + if (eregi('^(tiny|medium|long)?(text|blob)', $row['Type'])) { + // no default values + } else { + $structureline .= ' default \''.$row['Default'].'\''; + } + } + $structureline .= ($row['Extra'] ? ' '.$row['Extra'] : ''); + $structurelines[] = $structureline; + + $fieldnames[] = $row['Field']; + } + mysql_free_result($result); + + $tablekeys = array(); + $uniquekeys = array(); + $fulltextkeys = array(); + $result = mysql_query('SHOW KEYS FROM '.BACKTICKCHAR.$SelectedTables[$dbname][$t].BACKTICKCHAR); + while ($row = mysql_fetch_array($result)) { + $uniquekeys[$row['Key_name']] = (bool) ($row['Non_unique'] == 0); + if (isset($row['Index_type'])) { + $fulltextkeys[$row['Key_name']] = (bool) ($row['Index_type'] == 'FULLTEXT'); + } elseif (@$row['Comment'] == 'FULLTEXT') { + $fulltextkeys[$row['Key_name']] = true; + } else { + $fulltextkeys[$row['Key_name']] = false; + } + $tablekeys[$row['Key_name']][$row['Seq_in_index']] = $row['Column_name']; + ksort($tablekeys[$row['Key_name']]); + } + mysql_free_result($result); + foreach ($tablekeys as $keyname => $keyfieldnames) { + $structureline = ''; + if ($keyname == 'PRIMARY') { + $structureline .= 'PRIMARY KEY'; + } else { + if ($fulltextkeys[$keyname]) { + $structureline .= 'FULLTEXT '; + } elseif ($uniquekeys[$keyname]) { + $structureline .= 'UNIQUE '; + } + $structureline .= 'KEY '.BACKTICKCHAR.$keyname.BACKTICKCHAR; + } + $structureline .= ' ('.BACKTICKCHAR.implode(BACKTICKCHAR.','.BACKTICKCHAR, $keyfieldnames).BACKTICKCHAR.')'; + $structurelines[] = $structureline; + } + + + $TableStatusResult = mysql_query('SHOW TABLE STATUS LIKE "'.mysql_escape_string($SelectedTables[$dbname][$t]).'"'); + if (!($TableStatusRow = mysql_fetch_array($TableStatusResult))) { + die('failed to execute "SHOW TABLE STATUS" on '.$dbname.'.'.$tablename); + } + + $tablestructure = 'CREATE TABLE '.($CreateIfNotExists ? 'IF NOT EXISTS ' : '').($dbNameInCreate ? BACKTICKCHAR.$dbname.BACKTICKCHAR.'.' : '').BACKTICKCHAR.$SelectedTables[$dbname][$t].BACKTICKCHAR.' ('.LINE_TERMINATOR; + $tablestructure .= ' '.implode(','.LINE_TERMINATOR.' ', $structurelines).LINE_TERMINATOR; + $tablestructure .= ') TYPE='.(@$TableStatusRow['Engine'] ? $TableStatusRow['Engine'] : $TableStatusRow['Type']); // MySQL 4.and higher, the 'Type' of database is now 'Engine' + if ($TableStatusRow['Auto_increment'] !== null) { + $tablestructure .= ' AUTO_INCREMENT='.$TableStatusRow['Auto_increment']; + } + $tablestructure .= ';'.LINE_TERMINATOR.LINE_TERMINATOR; + + $alltablesstructure .= str_replace(' ,', ',', $tablestructure); + + } // end table structure backup + } + if ($GZ_enabled) { + gzwrite($zp, $alltablesstructure.LINE_TERMINATOR, strlen($alltablesstructure) + strlen(LINE_TERMINATOR)); + } else { + fwrite($fp, $alltablesstructure.LINE_TERMINATOR, strlen($alltablesstructure) + strlen(LINE_TERMINATOR)); + } + + OutputInformation('statusinfo', ''); + if ($_REQUEST['StartBackup'] != 'structure') { + $processedrows = 0; + foreach ($SelectedTables as $dbname => $value) { + set_time_limit(60); + mysql_select_db($dbname); + for ($t = 0; $t < count($SelectedTables[$dbname]); $t++) { + $result = mysql_query('SELECT * FROM '.$SelectedTables[$dbname][$t]); + $rows[$t] = mysql_num_rows($result); + if ($rows[$t] > 0) { + $tabledatadumpline = '# dumping data for '.$dbname.'.'.$SelectedTables[$dbname][$t].LINE_TERMINATOR; + if ($GZ_enabled) { + gzwrite($zp, $tabledatadumpline, strlen($tabledatadumpline)); + } else { + fwrite($fp, $tabledatadumpline, strlen($tabledatadumpline)); + } + } + unset($fieldnames); + for ($i = 0; $i < mysql_num_fields($result); $i++) { + $fieldnames[] = mysql_field_name($result, $i); + } + if ($_REQUEST['StartBackup'] == 'complete') { + $insertstatement = ($ReplaceInto ? 'REPLACE' : 'INSERT').' INTO '.BACKTICKCHAR.$SelectedTables[$dbname][$t].BACKTICKCHAR.' ('.BACKTICKCHAR.implode(BACKTICKCHAR.', '.BACKTICKCHAR, $fieldnames).BACKTICKCHAR.') VALUES ('; + } else { + $insertstatement = ($ReplaceInto ? 'REPLACE' : 'INSERT').' INTO '.BACKTICKCHAR.$SelectedTables[$dbname][$t].BACKTICKCHAR.' VALUES ('; + } + $currentrow = 0; + $thistableinserts = ''; + while ($row = mysql_fetch_array($result)) { + unset($valuevalues); + foreach ($fieldnames as $key => $val) { + if ($row[$key] === null) { + + $valuevalues[] = 'NULL'; + + } else { + + switch ($RowTypes[$dbname][$SelectedTables[$dbname][$t]][$val]) { + // binary data dump, two hex characters per byte + case 'tinyblob': + case 'blob': + case 'mediumblob': + case 'longblob': + if ($HexBLOBs) { + $data = $row[$key]; + $data_len = strlen($data); + $hexstring = '0x'; + for ($i = 0; $i < $data_len; $i++) { + $hexstring .= str_pad(dechex(ord($data{$i})), 2, '0', STR_PAD_LEFT); + } + $valuevalues[] = $hexstring; + } else { + $valuevalues[] = QUOTECHAR.mysql_escape_string($row[$key]).QUOTECHAR; + } + break; + + // just the (numeric) value, not surrounded by quotes + case 'tinyint': + case 'smallint': + case 'mediumint': + case 'int': + case 'bigint': + case 'float': + case 'double': + case 'decimal': + case 'year': + $valuevalues[] = mysql_escape_string($row[$key]); + break; + + // value surrounded by quotes + case 'varchar': + case 'char': + case 'tinytext': + case 'text': + case 'mediumtext': + case 'longtext': + case 'enum': + case 'set': + case 'date': + case 'datetime': + case 'time': + case 'timestamp': + default: + $valuevalues[] = QUOTECHAR.mysql_escape_string($row[$key]).QUOTECHAR; + break; + } + + } + } + $thistableinserts .= $insertstatement.implode(', ', $valuevalues).');'.LINE_TERMINATOR; + + if (strlen($thistableinserts) >= BUFFER_SIZE) { + if ($GZ_enabled) { + gzwrite($zp, $thistableinserts, strlen($thistableinserts)); + } else { + fwrite($fp, $thistableinserts, strlen($thistableinserts)); + } + $thistableinserts = ''; + } + if ((++$currentrow % STATS_INTERVAL) == 0) { + set_time_limit(60); + if ($DHTMLenabled) { + OutputInformation('rows_'.$dbname.'_'.$SelectedTables[$dbname][$t], ''.$SelectedTables[$dbname][$t].' ('.number_format($rows[$t]).' records, ['.number_format(($currentrow / $rows[$t])*100).'%])'); + $elapsedtime = getmicrotime() - $starttime; + $percentprocessed = ($processedrows + $currentrow) / $overallrows; + $overallprogress = 'Overall Progress: '.number_format($processedrows + $currentrow).' / '.number_format($overallrows).' ('.number_format($percentprocessed * 100, 1).'% done) ['.FormattedTimeRemaining($elapsedtime).' elapsed'; + if (($percentprocessed > 0) && ($percentprocessed < 1)) { + $overallprogress .= ', '.FormattedTimeRemaining(abs($elapsedtime - ($elapsedtime / $percentprocessed))).' remaining'; + } + $overallprogress .= ']'; + OutputInformation('topprogress', $overallprogress); + } + } + } + if ($DHTMLenabled) { + OutputInformation('rows_'.$dbname.'_'.$SelectedTables[$dbname][$t], $SelectedTables[$dbname][$t].' ('.number_format($rows[$t]).' records, [100%])'); + $processedrows += $rows[$t]; + } + if ($GZ_enabled) { + gzwrite($zp, $thistableinserts.LINE_TERMINATOR.LINE_TERMINATOR, strlen($thistableinserts) + strlen(LINE_TERMINATOR) + strlen(LINE_TERMINATOR)); + } else { + fwrite($fp, $thistableinserts.LINE_TERMINATOR.LINE_TERMINATOR, strlen($thistableinserts) + strlen(LINE_TERMINATOR) + strlen(LINE_TERMINATOR)); + } + } + } + } + if ($GZ_enabled) { + gzclose($zp); + } else { + fclose($fp); + } + + if ($_REQUEST['StartBackup'] == 'structure') { + $newfullfilename = $backupabsolutepath.$strubackupfilename; + } elseif ($backuptype == 'full') { + $newfullfilename = $backupabsolutepath.$fullbackupfilename; + } else { + $newfullfilename = $backupabsolutepath.$partbackupfilename; + } + + if (file_exists($newfullfilename)) { + unlink($newfullfilename); // Windows won't allow overwriting via rename + } + rename($backupabsolutepath.$tempbackupfilename, $newfullfilename); + if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') { + touch($newfullfilename); + if (!chmod($newfullfilename, 0777)) { + } + } + + echo '
Backup complete in '.FormattedTimeRemaining(getmicrotime() - $starttime, 2).'.
'; + echo ''.basename($newfullfilename).' ('.FileSizeNiceDisplay(filesize($newfullfilename), 2); + echo ')

Back to MySQL Database Backup main menu
'; + + OutputInformation('cancellink', ''); + + } else { + + echo 'Warning: failed to open '.$backupabsolutepath.$tempbackupfilename.' for writing!

'; + if (is_dir($backupabsolutepath)) { + echo 'CHMOD 777 on the directory ('.htmlentities($backupabsolutepath).') should fix that.'; + } else { + echo 'The specified directory does not exist: "'.htmlentities($backupabsolutepath).'"'; + } + + } + +} else { // !$_REQUEST['StartBackup'] + + if (file_exists($backupabsolutepath.$fullbackupfilename)) { + echo 'It is now '.gmdate('F j, Y g:ia T', time() + date('Z')).'
'; + echo 'Last full backup of MySQL databases: '; + $lastbackuptime = filemtime($backupabsolutepath.$fullbackupfilename); + echo gmdate('F j, Y g:ia T', $lastbackuptime + date('Z')); + echo ' ('.FormattedTimeRemaining(time() - $lastbackuptime).' ago)
'; + if ((time() - $lastbackuptime) < 86400) { + echo 'Generally, backing up more than once a day is not neccesary.
'; + } + echo '
Download previous full backup ('.FileSizeNiceDisplay(filesize($backupabsolutepath.$fullbackupfilename), 2).') (right-click, Save As...)

'; + } else { + echo 'Last backup of MySQL databases: unknown'.($backuptimestamp ? ' (incompatible with timestamping)' : '').'
'; + } + + $BackupTypesList = array( + 'complete' => 'Full backup, complete inserts (recommended)', + 'standard' => 'Full backup, standard inserts (smaller)', + 'partial' => 'Selected tables only (with complete inserts)', + 'structure' => 'Table structure(s) only' + ); + echo '
'; + if (isset($_POST['DB_HOST'])) { + echo ''; + echo ''; + echo ''; + } + echo '
'; + echo ''; + echo '
'; +} + + +if ($SuppressHTMLoutput) { + ob_end_clean(); + echo "File saved to $backupabsolutepath.$fullbackupfilename."; +} + + +if ($CloseWindowOnFinish) { + // Auto close the browser after the script finishes. + // This will allow task scheduler in Windows to work properly, + // else the task will be considered running until the browser is closed + echo ''; +} + +?> diff --git a/bikes/customers_barcode.php b/bikes/customers_barcode.php new file mode 100755 index 0000000..816bf96 --- /dev/null +++ b/bikes/customers_barcode.php @@ -0,0 +1,59 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(isset($_GET['generateWith'])) +{ + $generateWith=$_GET['generateWith']; +} +else +{ + $generateWith='id'; +} + +$display->displayTitle("$lang->customersBarcode"." ($generateWith)"); +echo "$lang->accountNumber / id"; + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + + +$customers_table=$cfg_tableprefix.'customers'; +$result=mysql_query("SELECT * FROM $customers_table ORDER by last_name",$dbf->conn); + +echo ' + +'; + +$counter=0; +while($row=mysql_fetch_assoc($result)) +{ + if($counter%2==0) + { + echo ''; + } + echo ""; + + $counter++; + +} + +echo '
'; + + + + + +$dbf->closeDBlink(); + +?> diff --git a/bikes/form_bikes.php b/bikes/form_bikes.php new file mode 100755 index 0000000..ea385f7 --- /dev/null +++ b/bikes/form_bikes.php @@ -0,0 +1,169 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$bikebrand_value=''; +$bikemodel_value=''; +$bikecolor_value=''; +$biketype_number_value=''; +$wheel_value=''; +$frame_value=''; +$bikestatus_value="$_GET[mode]"; +$putinservice_value=''; +$inrepair_value=''; +$retired_value=''; +$sold_value=''; +$notes_value=''; +$id=-1; + +//decides if the form will be used to update or add a bike. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="update"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + if (!$_POST[id] && !$_GET[passbike]){ echo "Oops. Try again. Maybe with a valid bike number this time"; die(); } + $display->displayTitle("Update a $_POST[mode] Bike"); + + if(isset($_POST['id']) || isset($_GET['passbike'])) + { + $id=$_POST['id']; + if($id == ""){ + $id=$_GET[passbike]; + + } + $tablename = "$cfg_tableprefix".'bikes'; + + $queree = "SELECT * FROM $tablename WHERE id=$id"; + + $result = mysql_query("$queree",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $bikebrand_value=$row['bikebrand']; + $bikemodel_value=$row['bikemodel']; + $bikecolor_value=$row['bikecolor']; + $biketype_value=$row['biketype']; + + + if ($biketype_value == ""){ echo "Oops, one of the fly rod's has gone out askew on the treddle. Try again. Maybe with a valid bike number this time"; die(); } + $wheel_value=$row['wheel']; + $frame_value=$row['frame']; + $bikestatus_value=$row['bikestatus']; + $putinservice_value=$row['putinservice']; + $inrepair_value=$row['inrepair']; + + if($putinservice_value != "0000-00-00" && $bikestatus_value == "repair"){ echo "This fuckin bike was a repair and has already been returned to the owner."; die();} + + if ($inrepair_value != '' && $inrepair_value != '0000-00-00' && $bikestatus_value == "library"){ echo "

This library bike is in for repair!


"; } + $userID_value=$row['userID']; + $retired_value=$row['retired']; + if($retired_value != "0000-00-00" && $retired_value != ""){ die('This bike has been retired and probably stripped down');} + $sold_value=$row['sold']; + $notes_value=$row['notes']; + + } + +} +else +{ + $display->displayTitle("Add a $bikestatus_value Bike"); +} +//creates a form object +$f1=new form('process_form_bikes.php','POST','bikes','450',$cfg_theme,$lang); + +//creates form parts. +//Get user List first + $idarray = array(); + $namearray = array(); + $result = mysql_query("SELECT id,first_name,last_name FROM customers ORDER BY last_name ASC"); + while($field = mysql_fetch_array($result)) { + $namearray[] = "$field[last_name], $field[first_name]"; + $idarray[] = "$field[id]"; + } + +if($_POST[id]){ $disable = "DISABLED"; } +if ($_GET[mode] == "repair" || isset($userID_value) && $userID_value != 0){ $f1->createSelectField("Which Member?",'userID',$idarray,$namearray,'150',"$disable","$userID_value"); } +$f1->createInputField("Brand: ",'text','bikebrand',"$bikebrand_value",'24','150'); +$f1->createInputField("Model: ",'text','bikemodel',"$bikemodel_value",'24','150'); +$f1->createInputField("Color: ",'text','bikecolor',"$bikecolor_value",'24','150'); +//make the bike type arrays +$option_values = array('newroad','10spd','8spdinternal','5spd','3spd','singlespeedcoaster','singlespeed','fixedgear','mountain','hybrid','chopper'); +$option_titles = array('road bike (12-27speed)','10 speed road bike','8 speed internal hub','5 speed road bike','3 speed internal hub','single speed w/coaster brake','single speed w/brakes','fixed gear','mountain bike','hybrid (road/mountain)','chopper'); +$f1->createSelectField("Bike Type",'biketype',$option_values,$option_titles,'150','NULL',"$biketype_value"); +//make the wheel size array +$option_values = array('20inch','22inch','24inch','26inch','26fractional','27inch','','','650','700'); +$option_titles = array('20 inch','22 inch','24 inch','26 inch','26 by fraction','27 inch','','----Metric Crap----','650','700c'); +$f1->createSelectField("Wheel Size",'wheel',$option_values,$option_titles,'150','NULL',"$wheel_value"); +$f1->createInputField("Frame Height (inches): ",'text','frame',"$frame_value",'4','150'); +//select bikeStatus here + +//make the bike status array and form field +$option_values = array('library','sale','repair'); +$option_titles = array('Library bike','For sale bike','Member bike in for repair'); +if($action == "insert"){ $statdisable = "DISABLED"; } +$f1->createSelectField("Bike Status",'bikestatus',$option_values,$option_titles,'150',"$statdisable","$bikestatus_value"); + +if ($_GET[mode] == "repair"){ $f1->createSingleDateSelectField("To be picked up on:"); } + +// major changes to library bike +if($inrepair_value != "" && $inrepair_value != "0000-00-00"){ $repairtext = "Mark library bike as fixed"; $repairvalue = "makeoutrepair"; } + else { $repairtext = "Mark as broken library bike"; $repairvalue = "makeinrepair";} +$option_values = array("$repairvalue",'makeretire'); +$option_titles = array("$repairtext",'Retire this bike from library'); +if($bikestatus_value=="library" && $action=="update"){ $f1->createRadioField("Major Updates",'majorupdates',$option_values,$option_titles,'150','',"$bikestatus_value"); } + + +$f1->createTextareaField("Repair needed:
Accepted by:
Other notes:",'notes','6','30',"$notes_value",'150'); +if($bikestatus_value == "repair"){ + $f1->createCheckboxField("Remember to process payment
in the sales area. ",'repairpickup','150','','','Check if being picked up'); +} + + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +if($action == "insert"){ echo ""; } +$f1->endForm(); +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/bikes/index.php b/bikes/index.php new file mode 100755 index 0000000..459876f --- /dev/null +++ b/bikes/index.php @@ -0,0 +1,57 @@ +isLoggedIn()){ + header("location: ../login.php"); + exit(); +} +if(!$sec->isOpen()){ + header("location: ../books/openshop.php"); + exit(); +} + +echo " + + + + + + + + + + +
 Rental Bikes - Sale Bikes - Repair Bikes
+
+ Welcome to the Bikes panel! Here you can manage any bikes that are in the shop. What would you like to do? +

Add a bike! +
+ + Update/modify bike info
+
+      Bike Number: +   + +
+ + +
+ +"; + +$dbf->closeDBlink(); + + +?> diff --git a/bikes/manage_customers.php b/bikes/manage_customers.php new file mode 100755 index 0000000..300a8b0 --- /dev/null +++ b/bikes/manage_customers.php @@ -0,0 +1,74 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("Manage Members"); + +$f1=new form('manage_customers.php','POST','customers','450',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForCustomer",'text','search','','24','150'); + +$option_values2=array('first_name','last_name','account_number','id'); +$option_titles2=array("$lang->firstName","$lang->lastName","$lang->accountNumber",'ID'); +$f1->createSelectField("$lang->searchBy",'searching_by',$option_values2,$option_titles2,100); + + +$f1->endForm(); + + +$tableheaders=array("$lang->rowID","$lang->lastName","$lang->firstName","$lang->phoneNumber","$lang->email","$lang->streetAddress","More Info","Update/Edit Member","Remove Member"); +$tablefields=array('id','last_name','first_name','phone_number','email','street_address'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + $searching_by =$_POST['searching_by']; + echo "
$lang->searchedForItem: $search $lang->searchBy $searching_by
"; + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,"$searching_by","$search",'last_name'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,'','','last_name'); +} + + +$dbf->closeDBlink(); + + +?> + + diff --git a/bikes/process_form_bikes.php b/bikes/process_form_bikes.php new file mode 100755 index 0000000..70e4043 --- /dev/null +++ b/bikes/process_form_bikes.php @@ -0,0 +1,160 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'bikes'; +$field_names=null; +$field_data=null; +//$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + + } + + //checks to make sure data is comming from form ($action is either dateup or update) + elseif(isset($_POST['bikebrand']) and isset($_POST['bikemodel']) and isset($_POST['bikecolor']) + and isset($_POST['biketype']) and isset($_POST['wheel']) and isset($_POST['frame']) and isset($_POST['bikestatus']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables ALWAYS used for everything + $bikebrand=$_POST['bikebrand']; + $bikemodel=$_POST['bikemodel']; + $bikecolor=$_POST['bikecolor']; + $biketype=$_POST['biketype']; + $wheel=$_POST['wheel']; + $frame=$_POST['frame']; + $bikestatus=$_POST['bikestatus']; + + //Adding a library bike to be in-service? Make a date for it... today perhaps? + + if($action == "insert" && $bikestatus == "library"){ $putinservice=date('Y-m-d'); } + + //Making a library bike into an out of service library bike or vice versa? Make it so in the DB... + if($_POST[majorupdates] == "makeinrepair"){ $inrepair = date('Y-m-d'); } + if($_POST[majorupdates] == "makeoutrepair"){ $inrepair = ""; } + //same for retiring a library bike + if($_POST[majorupdates] == "makeretire"){ $retired = date('Y-m-d'); } + //If it's a member repair... same as above + if($bikestatus == "repair" && $action == "insert"){ $inrepair = date('Y-m-d'); $userID=$_POST['userID']; } + if($bikestatus == "repair" && $action == "update" && $_POST[repairpickup] == "on"){ $pickedupdate = date('Y-m-d'); } + $duedate= "$_POST[year]-$_POST[month]-$_POST[day]"; + + $notes=$_POST['notes']; + + // HERE YOU ARE UP TO + //ensure all fields are filled in. + if($bikebrand=='' or $bikemodel=='' or $bikecolor=='' or $frame=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else if($bikestatus == "library" && $action == "insert") + { + $field_names=array('bikebrand','bikemodel','bikecolor','biketype','wheel','frame','bikestatus','putinservice','inrepair',' retired','notes'); + $field_data=array("$bikebrand","$bikemodel","$bikecolor","$biketype","$wheel","$frame","$bikestatus","$putinservice","$inrepair","$retired","$notes"); + + } + else if($bikestatus == "library" && $action == "update") + { + $field_names=array('bikebrand','bikemodel','bikecolor','biketype','wheel','frame','bikestatus','inrepair',' retired','notes'); + $field_data=array("$bikebrand","$bikemodel","$bikecolor","$biketype","$wheel","$frame","$bikestatus","$inrepair","$retired","$notes"); + + } + else if($bikestatus == "sale") + { + $field_names=array('bikebrand','bikemodel','bikecolor','biketype','wheel','frame','bikestatus','notes'); + $field_data=array("$bikebrand","$bikemodel","$bikecolor","$biketype","$wheel","$frame","$bikestatus","$notes"); + + } + else if($bikestatus == "repair" && $action == "update") + { + $field_names=array('bikebrand','bikemodel','bikecolor','biketype','wheel','frame','bikestatus','notes','putinservice'); + $field_data=array("$bikebrand","$bikemodel","$bikecolor","$biketype","$wheel","$frame","$bikestatus","$notes","$pickedupdate"); + + } + else if($bikestatus == "repair" && $action == "insert") + { + $field_names=array('bikebrand','bikemodel','bikecolor','biketype','wheel','frame','bikestatus','inrepair','userID','duedate','notes'); + $field_data=array("$bikebrand","$bikemodel","$bikecolor","$biketype","$wheel","$frame","$bikestatus","$inrepair","$userID","$duedate","$notes"); + + } + + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + $newnumber = mysql_insert_id(); + break; + + case $action=="update": + + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} + +$dbf->closeDBlink(); + +if($action == "insert"){ echo "

Important!!!

Tag this bike as BIKE NUMBER $newnumber

"; } + + +?> +
+ +Manage Bikes--> +
+Go Home-->
+ + diff --git a/books/closeshop.php b/books/closeshop.php new file mode 100755 index 0000000..df0bd79 --- /dev/null +++ b/books/closeshop.php @@ -0,0 +1,76 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$today = date("Y-m-d"); +//$result = mysql_query("SELECT * FROM books"); + +$body.=""; + +$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($tablename,'username',$_SESSION['session_user_id']); + +if(isset($_GET[error])){ + $error = (int)$_GET[error]; + $errorMsg = ""; + switch($error){ + case 1: + $errorMsg="ERROR: invalid username or password"; + break; + case 2: + $errorMsg="ERROR: Not a valid ammount: [$_GET[count]]"; + break; + } +} + +if($errorMsg != ""){ + $body.="
".$errorMsg."
"; +} + +$body.=" +

Close The Shop...

+
+
Please count all cash, cheques, and coupons in the coin box
+      Closing Count: $ + +
+ Counted by: +
Username:
+ Password:
+


+ + +
+ +
+ "; +echo "$body"; +//      Counted by $userLoginName  +$dbf->closeDBlink(); + +?> + + + diff --git a/books/depositPayout.php b/books/depositPayout.php new file mode 100755 index 0000000..b554b5d --- /dev/null +++ b/books/depositPayout.php @@ -0,0 +1,96 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$today = date("Y-m-d"); +//$result = mysql_query("SELECT * FROM books"); + +$body.=""; + +$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($tablename,'username',$_SESSION['session_user_id']); + +if(isset($_GET[error])){ + $error = (int)$_GET[error]; + $errorMsg = ""; + switch($error){ + case 1: + $errorMsg="ERROR: invalid username or password"; + break; + case 2: + $errorMsg="ERROR: Not a valid ammount: [$_GET[count]]"; + break; + case 3: + $errorMsg="ERROR: Invalid Data"; + break; + } +} + +if($errorMsg != ""){ + $body.="
".$errorMsg."
"; +} + +$body.=" +
+

Deposit...

+
+
Please count all cash, cheques, and coupons in the coin box
+      Deposit Ammount: $ + +
+ Approved by: +
Username:
+ Password:
+


+ + Deposited by: +
+ +
+

Payout...

+
+
Please count all cash, cheques, and coupons in the coin box
+      Payout Ammount: $ + +
+ Approved by: +
Username:
+ Password:
+


+ + Payee: + For: +
+ +
+ "; +echo "$body"; +//      Counted by $userLoginName  +$dbf->closeDBlink(); + +?> + + + diff --git a/books/error_log b/books/error_log new file mode 100755 index 0000000..40bf16b --- /dev/null +++ b/books/error_log @@ -0,0 +1,2 @@ +[12-Mar-2009 01:49:01] PHP Parse error: syntax error, unexpected T_STRING in /home/recycle/public_html/www_campusbike.ca/pos/books/openshop.php on line 68 +[12-Mar-2009 01:49:16] PHP Parse error: syntax error, unexpected $end in /home/recycle/public_html/www_campusbike.ca/pos/books/openshop.php on line 91 diff --git a/books/form.css b/books/form.css new file mode 100755 index 0000000..7492bdc --- /dev/null +++ b/books/form.css @@ -0,0 +1,32 @@ +.form { + width: 400px; + margin-left: 15%; + //margin-right: auto; + margin-top: 0px; + padding: 10px; + border: 1px dotted #b2c7e7; + background-color: #EEEEEE; +} + +.subform { + width: 250px; + margin: 0px; + padding: 0px; + border: 0px solid black; + background-color: #EEEEEE; +} + +h2 { + width: 200px; + margin-top: 20px; + margin-bottom: 0px; + margin-left: 15%; + border-top: 1px dotted #b2c7e7; + border-left: 1px dotted #b2c7e7; + border-right: 1px dotted #b2c7e7; + background-color: #FFFFFF; +} + +body { + background-color: #BBBBBB; +} \ No newline at end of file diff --git a/books/form_open.php b/books/form_open.php new file mode 100755 index 0000000..dd24eda --- /dev/null +++ b/books/form_open.php @@ -0,0 +1,75 @@ + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +echo "Processing..."; + +//check to make sure it's a number +if(!strval(floatval($_POST[openCount])) == strval($_POST[openCount])){ + echo ""; + exit(); +} + +//check to make sure it was the administrator who counted +if(!$_POST[counter]){ + echo ""; + exit(); +} + +//$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($cfg_tableprefix.'users','username',$_SESSION['session_user_id']); + + +$tablename="$cfg_tableprefix".'books'; +$field_names=null; +$field_data=null; +$today = date('Y-m-d'); +$adminID = $_SESSION['session_user_id']; +$field_names=array('date','event','user','ammount','data'); +$field_data=array("$today", "open", "$adminID","$_POST[openCount]","$_POST[mechID]"); + +$dbf->insert($field_names,$field_data,$tablename,""); + +$tablename="$cfg_tableprefix".'visits'; +$tdin = date('Y-m-d H:i:s'); +$field_names=array('userID','intime','activity'); +$field_data=array("$_POST[mechID]", "$tdin", "Mechanic"); +$dbf->insert($field_names, $field_data, $tablename, ""); +$adminID = $dbf->idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id']); +$field_data=array("$adminID", "$tdin", "Administrator"); +$dbf->insert($field_names, $field_data, $tablename, ""); +//$query = "INSERT INTO 'visits' ('userID' ,'intime' ,'activity') VALUES ('$_POST[mechID]', '$tdin', '\"using\"')"; +//mysql_query($query); + +echo ""; + +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/books/open_form.php b/books/open_form.php new file mode 100755 index 0000000..3a10c77 --- /dev/null +++ b/books/open_form.php @@ -0,0 +1,162 @@ +\ + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$userID=''; +$loanID=''; +$deposittaken=''; +$loandate=''; +$returndate=''; +$notes=''; +$latefeespaid=''; +$paid=''; +$id=-1; + + +//echo "post is $_POST[bikeID]and id is $id"; +//Destroy the world if they didn't put a valid bike number in. Then apologize. +$bikecheck = mysql_query("SELECT * FROM bikes WHERE id='$_POST[bikeID]' LIMIT 1",$dbf->conn); +echo mysql_error(); +$bikeexists = mysql_fetch_array($bikecheck); +$back = "

[Go Baaaaaack]"; +if($bikeexists['id'] == ""){ echo "
Bike Doesn't exist. Divide by zero. Did you put a bike number in the box? If you did put a number in, go back and try typing it again.$back"; die(); } +if($bikeexists['bikestatus'] == "repair"){ echo "
This is a personal bike in for repair! Take it from them and make a note! $back"; die(); } +if($bikeexists['bikestatus'] != "library"){ echo "
This is not a library bike. It is marked as $bikeexists[bikestatus]. Take it from them and tell the IT working group $back"; die(); } +if($bikeexists['putinservice'] == "" || $bikeexists['putinservice'] == "0000-00-00"){ echo "
This bike has not yet been put in service! DO NOT LOAN. Merci! $back"; die(); } +if($bikeexists['inrepair'] != "" && $bikeexists['inrepair'] != "0000-00-00"){ echo "
This bike is in repair. DO NOT LOAN. Merci! $back"; die(); } +if($bikeexists['retired'] != "" && $bikeexists['retired'] != "0000-00-00"){ echo "
This bike has been retired from the library. Do not loan. $back"; die(); } + + +//Check if bike is in or out +$inoutquery = mysql_query("SELECT * FROM libraryloans WHERE bikeID='$_POST[bikeID]' AND bikeout=1",$dbf->conn); +$loanarray = mysql_fetch_array($inoutquery); + +//decides if the form will be used to sign in or add a loan. +if($loanarray['id'] != "") +{ + $action="update"; +// print_r($loanarray); +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current loan data is. +if($action=="update") +{ + $display->displayTitle("Bike is OUT. Sign it in"); + + if(isset($_POST['bikeID'])) + { +// echo "Now it's all: $_POST[bikeID]"; + $bikeID=$_POST['bikeID']; + $tablename = "$cfg_tableprefix".'libraryloans'; + $result = mysql_query("SELECT *, UNIX_TIMESTAMP(duedate)as latedate FROM $tablename WHERE bikeID=\"$bikeID\" AND bikeout=1",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $userID=$row['userID']; + $loanID=$row['id']; + $deposittaken=$row['deposittaken']; + $loandate=$row['loandate']; + $duedate=$row['duedate']; + $returndate=$row['returndate']; + $notes=$row['notes']; + $latefees=$row['latefees']; + $latedate=$row['latedate']; + +$today = date('U'); +if($today > $latedate){ + $todayowing = round((($today-$latedate)/60/60/24)-1, 0) * $cfg_dailyLateFee; + echo "
There is \$$todayowing.00 owing in late fees.

"; +} + + } + +} +else +{ + $display->displayTitle("Bike #$_POST[bikeID] is available for loan. Use form below."); +} +//creates a form object +$f1=new form('process_form_library.php','POST','library','450',$cfg_theme,$lang); + +// Get User ID's and names for the select creation + //sidenote: if user has bike, grab user number and add SELECTED to their entry in the select (last 3 lines) +$fnamearray = array(); +$lnamearray = array(); +$userIDarray = array(); +$usrquery = mysql_query("SELECT first_name, last_name, id FROM customers ORDER BY last_name ASC"); +while ($row = mysql_fetch_assoc($usrquery)) +{ +$namearray[] = $row['last_name'] .',' . $row['first_name']; +$idstring = $row['id']; +if($userID == $row['id']){ +$idstring .= "SELECTED"; } +$userIDarray[] = $idstring; +} + +if($action == "update"){ $disabled="disabled"; } + + + +//creates form parts. +$f1->createSelectField("Member: ",'userID',$userIDarray,$namearray,'170',"$disabled"); +$f1->createInputField("Deposit Taken: $",'text','deposittaken',"$deposittaken",'24','170',"$disabled"); +if ($action == "update"){ $f1->createInputField("Due Date (YYYY-MM-DD): ",'text','duedate',"$duedate",'24','170',"$disabled"); } +if ($action == "insert"){ $f1->createSingleDateSelectField("Due Date"); } +$f1->createCheckboxField("Paying fees now?","feespaid",'170'); +//$f1->createInputField("Late Fees Paid: $ ",'text','amtpaid',"",'24','170'); +$f1->createTextareaField("Notes about this loan:",'notes','5','24',"$notes",'170'); + +//sends many hidden varibles needed for process_form_library.php. +echo " + + + + "; +if($action == "update"){ + echo ""; + echo ""; + echo ""; + echo ""; + + +} + +$f1->endLibraryForm(); +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/books/openshop.php b/books/openshop.php new file mode 100755 index 0000000..5b70b3f --- /dev/null +++ b/books/openshop.php @@ -0,0 +1,91 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$today = date("Y-m-d"); +$result = mysql_query("SELECT * FROM books"); +if(!mysql_num_rows(mysql_query("SELECT * FROM books WHERE date='$today' AND event='close'")) && mysql_num_rows(mysql_query("SELECT * FROM books WHERE date='$today' AND event='open'"))){ + header("location: ../home.php"); + exit(); +} + +$body.=""; + +$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($tablename,'username',$_SESSION['session_user_id']); + +$result = mysql_query("SELECT id,first_name,last_name FROM customers ORDER BY last_name ASC"); + +$error = (int)$_GET[error]; +$errorMsg = ""; +switch($error){ + case 1: + $errorMsg="ERROR: if you are not $userLoginName please switch to your own administrator account"; + break; + case 2: + $errorMsg="ERROR: Not a valid ammount: [$_GET[count]]"; + break; +} + +if($errorMsg != ""){ + $body.="
".$errorMsg."
"; +} + +$body.=" +

Open The Shop...

+
+
Before any members are singed in or any transactions are processed please count all + cash, cheques, and coupons in the coin box
+      Opening Count: $ + +
+      Counted by $userLoginName  +

"; + if($cfg_mechAutoSignin != "no"){ + if($cfg_mechAutoSignin == "option"){ + $body .= "Sign in Mechanic:
"; + }else{ + $body .= ""; + } + $body .= "    Mechanic on duty + "; + } + $body .= " +


+
+ +
+ "; +echo "$body"; + +$dbf->closeDBlink(); + +?> + + + diff --git a/books/verifyaction.php b/books/verifyaction.php new file mode 100755 index 0000000..6b2bcf9 --- /dev/null +++ b/books/verifyaction.php @@ -0,0 +1,190 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +//echo "Processing..."; + +$action = $_POST[action]; +//check to make sure it's a number +$actionPage = ""; +$user = null; +switch($action){ + case 1: + $actionPage = "openshop"; + $user = $_SESSION['session_user_id']; + break; + case 2: + $actionPage = "closeshop"; + $user = $_POST[username]; + break; + case 3: + $actionPage = "openshop"; + $user = $_POST[username]; + break; + case 4: + case 5: + $actionPage = "depositPayout"; + $user = $_POST[username]; + break; +} + +//make sure the ammount looks right +if(!isset($_POST[ammount]) || !strval(floatval($_POST[ammount])) == strval($_POST[ammount])){ + header("location: $actionPage.php?error=2&count=$_POST[ammount]"); + exit(); +} + +//check to make sure it was the administrator who counted +// Or that a valid username and password was entered +if($action == 1 && !$_POST[counter]){ + header("location: $actionPage.php?error=1&count=$_POST[ammount]"); + exit(); +}else if($action != 1 && !$sec->checkLogin($_POST[username], md5($_POST[password]))){ + header("location: $actionPage.php?error=1&count=$_POST[ammount]"); + exit(); +} +if((($action == 4 || $action == 5) && (!isset($_POST[data]) || !strlen($_POST[data]))) || ($action == 5 && (!isset($_POST[data2]) || !strlen($_POST[data]) || strrchr($_POST[data], "^")))){ + header("location: $actionPage.php?error=3&count=$_POST[ammount]&data=$_POST[data]&data2=$_POST[data2]"); + exit(); +} + +//echo "stuff"; +if(($action == 1 || $action == 2) && !$_POST[nocompare]){ + $lastCountFound = false; + $compareAmmount = 0.0; + if($action == 2){ + $cashresult = mysql_query("SELECT sale_total_cost FROM sales WHERE date='$today'"); + while ($casharray = mysql_fetch_array($cashresult)){ + $compareAmmount += $casharray[sale_total_cost]; + } + } + + $le = mysql_query("SELECT * FROM books ORDER BY listID DESC");//, $dfb->conn); + while(($item = mysql_fetch_assoc($le)) && !$lastCountFound){ + switch($item[event]){ + case 1: + case 2://close + $lastCountFound = true; + $compareAmmount += ($item[ammount] / 100.0); + break; + case 4://deposit + $compareAmmount -= ($item[ammount] / 100.0); + break; + case 5://payout + $compareAmmount -= ($item[ammount] / 100.0); + break; + } + } + if($_POST[ammount] != $compareAmmount){ + $difference = round(abs($_POST[ammount] - $compareAmmount), 2);//, PHP_ROUND_HALF_UP); + echo ""; + echo "

Count was "; + if($_POST[ammount] < $compareAmmount){ + echo "Short"; + }else{ + echo "Over"; + } + echo "

+

There was a difference of $"."$difference

+ + + + + + +

+
+ + +
+ + "; + exit(); + } + // + // +} + +//$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($cfg_tableprefix.'users','username',$_SESSION['session_user_id']); +$tablename="$cfg_tableprefix".'books'; +$field_names=null; +$field_data=null; +$today = date('Y-m-d'); +$ammount = $_POST[ammount]*100.0; +$field_names=array('date','event','user','ammount','data'); +$data = $_POST[data]; +if($action == 5){ + $data .= "^".$_POST[data2]; +} +$field_data=array("$today", "$action", "$user","$ammount","$data"); + +$dbf->insert($field_names,$field_data,$tablename,""); + +if($action == 1){//"open"){ + //no one should be logged in but in case they are, log them out. + $now = date('Y-m-d H:i:s'); + $userresult = mysql_query("SELECT * FROM visits WHERE endout IS NULL ORDER BY activity ASC"); + while($row = mysql_fetch_array($userresult)){ + $visitID = $row[visitID]; + // + $query="UPDATE visits SET endout='$now' WHERE visitID='$visitID' LIMIT 1"; + mysql_query($query) or die('Error, user not done . Consult Mark, he probably fucked up. OH shits'); + } + $tablename="$cfg_tableprefix".'visits'; + //$tdin = date('Y-m-d H:i:s'); + if($cfg_mechAutoSignin != "no" && $_POST["m"]){ + $sec->signinMember($_POST[data], $now, "Mechanic"); + } + if($cfg_adminAutoSignin){ + $adminID = $dbf->idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id']); + $sec->signinMember($adminID, $now, "Administrator"); + } + header("location: ../home.php"); +}else if($action == 2){//"close"){ + //log everyone out + $userresult = mysql_query("SELECT * FROM visits WHERE endout IS NULL ORDER BY activity ASC"); + while($row = mysql_fetch_array($userresult)){ + $visitID = $row[visitID]; + $now = date('Y-m-d H:i:s'); + $query="UPDATE visits SET endout='$now' WHERE visitID='$visitID' LIMIT 1"; + mysql_query($query) or die('Error, user not done . Consult Mark, he probably fucked up. OH shits'); + } + session_destroy(); + //header("location: ../shopclosed.php"); + echo ""; +}else{ + //header("location: ../index.php"); + echo ""; +} + +$dbf->closeDBlink(); + + +?> + + + + + + + + + + + + diff --git a/classes/.form.php.swp b/classes/.form.php.swp new file mode 100755 index 0000000..a0e996c Binary files /dev/null and b/classes/.form.php.swp differ diff --git a/classes/barcode.php b/classes/barcode.php new file mode 100755 index 0000000..40f847a --- /dev/null +++ b/classes/barcode.php @@ -0,0 +1,340 @@ + + + + + + +*/ +/*=============================================================================*/ + + +//----------------------------------------------------------------------------- +// Startup code +//----------------------------------------------------------------------------- + + +if(isset($_GET["text"])) $text=$_GET["text"]; +if(isset($_GET["format"])) $format=$_GET["format"]; +if(isset($_GET["quality"])) $quality=$_GET["quality"]; +if(isset($_GET["width"])) $width=$_GET["width"]; +if(isset($_GET["height"])) $height=$_GET["height"]; +if(isset($_GET["type"])) $type=$_GET["type"]; +if(isset($_GET["barcode"])) $barcode=$_GET["barcode"]; + + + + +if (!isset ($text)) $text = ''; +if (!isset ($type)) $type = 1; +if (empty ($quality)) $quality = 100; +if (empty ($width)) $width = 160; +if (empty ($height)) $height = 80; +if (!empty ($format)) $format = strtoupper ($format); + else $format="PNG"; + + +switch ($type) +{ + default: + $type = 1; + case 1: + Barcode39 ($barcode, $width, $height, $quality, $format, $text); + break; +} + + +//----------------------------------------------------------------------------- +// Generate a Code 3 of 9 barcode +//----------------------------------------------------------------------------- +function Barcode39 ($barcode, $width, $height, $quality, $format, $text) +{ + switch ($format) + { + default: + $format = "JPEG"; + case "JPEG": + header ("Content-type: image/jpeg"); + break; + case "PNG": + header ("Content-type: image/png"); + break; + case "GIF": + header ("Content-type: image/gif"); + break; + } + + + $im = ImageCreate ($width, $height) + or die ("Cannot Initialize new GD image stream"); + $White = ImageColorAllocate ($im, 255, 255, 255); + $Black = ImageColorAllocate ($im, 0, 0, 0); + //ImageColorTransparent ($im, $White); + ImageInterLace ($im, 1); + + + + $NarrowRatio = 20; + $WideRatio = 55; + $QuietRatio = 35; + + + $nChars = (strlen($barcode)+2) * ((6 * $NarrowRatio) + (3 * $WideRatio) + ($QuietRatio)); + $Pixels = $width / $nChars; + $NarrowBar = (int)(20 * $Pixels); + $WideBar = (int)(55 * $Pixels); + $QuietBar = (int)(35 * $Pixels); + + + $ActualWidth = (($NarrowBar * 6) + ($WideBar*3) + $QuietBar) * (strlen ($barcode)+2); + + if (($NarrowBar == 0) || ($NarrowBar == $WideBar) || ($NarrowBar == $QuietBar) || ($WideBar == 0) || ($WideBar == $QuietBar) || ($QuietBar == 0)) + { + ImageString ($im, 1, 0, 0, "Image is too small!", $Black); + OutputImage ($im, $format, $quality); + exit; + } + + $CurrentBarX = (int)(($width - $ActualWidth) / 2); + $Color = $White; + $BarcodeFull = "*".strtoupper ($barcode)."*"; + settype ($BarcodeFull, "string"); + + $FontNum = 3; + $FontHeight = ImageFontHeight ($FontNum); + $FontWidth = ImageFontWidth ($FontNum); + + if ($text != '') + { + $CenterLoc = (int)(($width) / 2) - (int)(($FontWidth * strlen($text)) / 2); + ImageString ($im, $FontNum, $CenterLoc, $height-$FontHeight, "$text", $Black); + } + + + for ($i=0; $i \ No newline at end of file diff --git a/classes/db_functions.php b/classes/db_functions.php new file mode 100755 index 0000000..f1a83fe --- /dev/null +++ b/classes/db_functions.php @@ -0,0 +1,586 @@ +tblprefix=$tableprefix; + $this->lang=$language; + $this->conn = mysql_connect("$server", "$username", "$password") or die("Could not connect : " . mysql_error()); + mysql_select_db("$database",$this->conn) or die("Could not select database $database"); + + switch($theme) + { + //add more themes + + case $theme=='serious': + $this->table_bgcolor='white'; + $this->cellspacing='1'; + $this->cellpadding='0'; + $this->border_style='solid'; + $this->border_width='1'; + $this->border_color='black'; + + $this->header_rowcolor='black'; + $this->header_text_color='white'; + $this->headerfont_face='arial'; + $this->headerfont_size='2'; + + + $this->rowcolor='#DDDDDD'; + $this->rowcolor_text='black'; + $this->rowfont_face='geneva'; + $this->rowfont_size='2'; + break; + + case $theme=='big blue': + + $this->table_bgcolor='white'; + $this->cellspacing='1'; + $this->cellpadding='0'; + $this->border_style='solid'; + $this->border_width='1'; + $this->border_color='black'; + + $this->header_rowcolor='navy'; + $this->header_text_color='white'; + $this->headerfont_face='arial'; + $this->headerfont_size='2'; + + + $this->rowcolor='#15759B'; + $this->rowcolor_text='white'; + $this->rowfont_face='geneva'; + $this->rowfont_size='2'; + + + break; + + } + } + + function getUserID($username,$password) + { + //pre: $username is a string and $password (encrypted) is the user's encrypted password. + //post: returns the id of the user with the specific username and password supplied. + + $tablename = "$this->tblprefix".'users'; + $result = mysql_query("SELECT * FROM $tablename WHERE username=\"$username\" and password=\"$password\"",$this->conn); + $row = mysql_fetch_assoc($result); + + return $row['id']; + } + + function getAllElements($tablename,$field,$orderby) + { + //pre: $tablename,$field,$orderby must be valid + /*post: returns all elements in an array of specified table + and sets first position to an empty string. This function will be used for filling + select fields, which requires the first position for the selected value + */ + + $result = mysql_query("SELECT $field FROM $tablename ORDER BY $orderby",$this->conn); + $numRows = mysql_num_rows($result); + $data = array(); + + $data[0]=''; + for($k=1; $k< $numRows+1; $k++) + { + $data[$k]= mysql_result($result,$k-1); + + } + + return $data; + } + + function idToField($tablename,$field,$id) + { + //pre: $tablename, field, and id all must be valid + //post: returns a specified field based on the ID from a specified table. + + $result = mysql_query("SELECT $field FROM $tablename WHERE id=\"$id\"",$this->conn); + + $row = mysql_fetch_assoc($result); + + return $row[$field]; + } + + function fieldToid($tablename,$field,$value) + { + //pre: $tablename, field, and value all must be valid + //post: returns a specified id based on the field from a specified table. + + $result = mysql_query("SELECT * FROM $tablename WHERE $field=\"$value\"",$this->conn); + + $row=mysql_fetch_assoc($result); + + return $row['id']; + + } + + function getFields($database,$tablename) + { + //returns fields in table + + $fields=array(); + $fieldsRef=mysql_list_fields ($database, $tablename); + $columns=mysql_num_fieldsfieldsRef; + + for($k=0;$k<$columns;$k++) + { + $fields[]=mysql_field_name($fieldsRef,$k); + } + + return $fields; + } + + function insert($field_names,$field_data,$tablename,$output) + { + //pre: $field_names and $field_data are pararell arrays and $tablename is a string. + //post: creates a query then executes it. + + if(!($this->isValidData($field_data))) + { + echo "{$this->lang->invalidCharactor}"; + exit(); + } + + $query = "INSERT INTO $tablename ($field_names[0]"; + + for($k=1;$k< count($field_names);$k++) + { + $query.=', '."$field_names[$k]"; + + } + + $query.=") VALUES (\"$field_data[0]\""; + + for($k=1;$k< count($field_data);$k++) + { + $query.=', '."\"$field_data[$k]\""; + + } + $query.=')'; + mysql_query($query,$this->conn); + + + if($output) + { + echo "
{$this->lang->successfullyAdded} $tablename

"; + + echo "
cellspacing cellpadding=$this->cellpadding bgcolor=$this->table_bgcolor style=\"border: $this->border_style $this->border_color $this->border_width px\"> + header_rowcolor> + + + "; + for($k=0;$krowcolor>'."\n"; + } + else + { + echo "rowcolor>'."\n"; + + } + } + echo '
{$this->lang->field}{$this->lang->data}
$field_names[$k]". '$field_data[$k]
$field_names[$k]". '*******
'; + + } + } + + + + function update($field_names,$field_data,$tablename,$id,$output) + { + //pre: $field_names and $field_data are pararell arrays and tablename and id are strings. + //post: creates a query then executes it limites based on id. + + if($id=='') + { + echo "{$this->lang->didNotEnterID}"; + exit(); + } + if(!($this->isValidData($field_data))) + { + echo "{$this->lang->invalidCharactor}"; + exit(); + } + $query="UPDATE $tablename SET $field_names[0]=\"$field_data[0]\""; + + for($k=1;$k< count($field_names);$k++) + { + $query.=', '."$field_names[$k]=\"$field_data[$k]\""; + + } + + $sales_items_table=$this->tblprefix.'sales_items'; + if($output) + { + $query.=" WHERE id=\"$id\""; + //echo "Here: $query"; + } + else + { + $query.=" WHERE sale_id=\"$id\""; + } + + + mysql_query($query,$this->conn); + + + if($output) + { + echo "
{$this->lang->successfullyUpdated} $tablename

"; + + echo "
cellspacing cellpadding=$this->cellpadding bgcolor=$this->table_bgcolor style=\"border: $this->border_style $this->border_color $this->border_width px\"> + header_rowcolor> + + + "; + for($k=0;$krowcolor>'."\n"; + } + else + { + echo "rowcolor>'."\n"; + + } + } + echo '
{$this->lang->field}{$this->lang->data}
$field_names[$k]". '$field_data[$k]
$field_names[$k]". '*******
'; + + } + } + + function deleteRow($tablename,$id) + { + //pre: $tablename and id are strings. + //post: Does extensive error checking and then deletes row is allowed. + + if($this->tblprefix=='') + { + $baseTable=$tablename; + } + else + { + $splitTable= explode ("$this->tblprefix",$tablename); + $baseTable=$splitTable[1]; + } + + $canDelete=true; + $errmessage=''; + + if($id=='') + { + echo "{$this->lang->didNotEnterID}"; + exit(); + } + elseif($baseTable=='brands') + { + + $checkTable = "$this->tblprefix".'items'; + $result = mysql_query("SELECT brand_id FROM $checkTable WHERE brand_id=\"$id\"",$this->conn); + if(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteBrand}"; + + } + + } + elseif($baseTable=='categories') + { + $checkTable = "$this->tblprefix".'items'; + $result = mysql_query("SELECT category_id FROM $checkTable WHERE category_id=\"$id\"",$this->conn); + + if(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteCategory}"; + + } + + } + elseif($baseTable=='customers') + { + $checkTable = "$this->tblprefix".'sales'; + $result = mysql_query("SELECT customer_id FROM $checkTable WHERE customer_id=\"$id\"",$this->conn); + + if(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteCustomer}"; + } + + } + elseif($baseTable=='items') + { + $checkTable = "$this->tblprefix".'sales_items'; + $result = mysql_query("SELECT item_id FROM $checkTable WHERE item_id=\"$id\"",$this->conn); + + if(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteItem}"; + } + + } + elseif($baseTable=='suppliers') + { + + $checkTable = "$this->tblprefix".'items'; + $result = mysql_query("SELECT supplier_id FROM $checkTable WHERE supplier_id=\"$id\"",$this->conn); + if(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteSupplier}"; + + } + + } + elseif($baseTable=='sales') + { + $sales_items_table="$this->tblprefix".'sales_items'; + $items_table="$this->tblprefix".'items'; + $result=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id=\"$id\""); + + while($row=mysql_fetch_assoc($result)) + { + $quantityToAdd =$row['quantity_purchased']; + $newQuantity=$this->idToField($items_table,'quantity',"$row[item_id]")+$quantityToAdd; + $this->updateItemQuantity($row['item_id'],$newQuantity); + } + mysql_query("DELETE FROM $sales_items_table WHERE sale_id=\"$id\"",$this->conn); + } + elseif($baseTable=='users') + { + + $checkTable = "$this->tblprefix".'sales'; + + $result = mysql_query("SELECT sold_by FROM $checkTable WHERE sold_by=\"$id\"",$this->conn); + if($_SESSION['session_user_id']==$id) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteUserLoggedIn}"; + + + } + elseif(@mysql_num_rows($result) >= 1) + { + $canDelete=false; + $errmessage="{$this->lang->cantDeleteUserEnteredSales}"; + } + + + + } + + if($canDelete==true) + { + $query="DELETE FROM $tablename WHERE id=\"$id\""; + mysql_query($query,$this->conn); + + echo "
{$this->lang->successfullyDeletedRow} $id {$this->lang->fromThe} $tablename {$this->lang->table}
"; + } + else + { + echo "
$errmessage

"; + } + } + + + function isValidData($data_to_check) + { + //checks data for errors + + for($k=0;$k',$data_to_check[$k]) ) + { + return false; + } + } + + return true; + + } + + function isValidItem($item) + { + $table=$this->tblprefix.'items'; + $result=mysql_query("SELECT id FROM $table WHERE id=\"$item\"",$this->conn); + + if(mysql_num_rows($result)==0) + { + return false; + } + + return true; + } + + function isItemOnDiscount($itemID) + { + $table=$this->tblprefix.'discounts'; + $query="SELECT item_id FROM $table WHERE item_id=\"$itemID\""; + $result=mysql_query($query,$this->conn); + + if(mysql_num_rows($result) >0) + { + return true; + } + return false; + + } + + function getPercentDiscount($itemID) + { + $table=$this->tblprefix.'discounts'; + $query="SELECT percent_off FROM $table WHERE item_id=\"$itemID\""; + $result=mysql_query($query,$this->conn); + + if(mysql_num_rows($result) >0) + { + $row=mysql_fetch_assoc($result); + return $row['percent_off']; + } + return -1; + } + + function getDiscountedPrice($itemID) + { + $itemtable=$this->tblprefix.'items'; + $discounttable=$this->tblprefix.'discounts'; + + $query1="SELECT * FROM $discounttable WHERE item_id=\"$itemID\""; + $row=mysql_fetch_assoc(mysql_query($query1,$this->conn)); + $percent_off=$row['percent_off']; + + $query2="SELECT * FROM $itemtable WHERE id=\"$itemID\""; + $row=mysql_fetch_assoc(mysql_query($query2,$this->conn)); + $discounted_price=$row['unit_price']*(1-($percent_off/100)); + + return number_format($discounted_price,2,'.', ''); + + + + } + + function isValidCustomer($customer) + { + $table=$this->tblprefix.'customers'; + $result=mysql_query("SELECT id FROM $table WHERE id=\"$customer\"",$this->conn); + + if(mysql_num_rows($result)==0) + { + return false; + } + + return true; + } + + function getNumRows($table) + { + //gets the number of rows in a table + + $query="SELECT id FROM $table"; + $result=mysql_query($query,$this->conn); + + return mysql_num_rows($result); + + } + + + + function updateSaleTotals($sale_id) + { + //updates the totals for a sale + + $sales_items_table=$this->tblprefix.'sales_items'; + $sales_table=$this->tblprefix.'sales'; + + $query="SELECT item_total_cost,item_total_tax,quantity_purchased FROM $sales_items_table WHERE sale_id=\"$sale_id\""; + + $result=mysql_query($query,$this->conn); + + + + if(@mysql_num_rows($result) > 0) + { + $sale_sub_total=0; + $sale_total_cost=0; + $items_purchased=0; + + while($row=mysql_fetch_assoc($result)) + { + $sale_sub_total+=$row['item_total_cost']-$row['item_total_tax']; + $sale_total_cost+=$row['item_total_cost']; + $items_purchased+=$row['quantity_purchased']; + } + + $sale_sub_total=number_format($sale_sub_total,2,'.', ''); + $sale_total_cost=number_format($sale_total_cost,2,'.', ''); + + $query2="UPDATE $sales_table SET sale_sub_total=\"$sale_sub_total\",sale_total_cost=\"$sale_total_cost\",items_purchased=\"$items_purchased\" WHERE id=\"$sale_id\""; + mysql_query($query2,$this->conn); + } + else + { + $this->deleteRow($sales_table,$sale_id); + } + } + + function updateItemQuantity($item_id,$newQuantity) + { + $items_table=$this->tblprefix.'items'; + $query="UPDATE $items_table SET quantity=\"$newQuantity\" WHERE id=\"$item_id\""; + mysql_query($query,$this->conn); + + } + + function optimizeTables() + { + //optimizes the sales + + $tableprefix=$this->tblprefix; + $brandsTable="$tableprefix".'brands'; + $categorieTable="$tableprefix".'categories'; + $customersTable="$tableprefix".'customers'; + $itemsTable="$tableprefix".'items'; + $salesTable="$tableprefix".'sales'; + $sales_itemsTable="$tableprefix".'sales_items'; + $suppliersTable="$tableprefix".'suppliers'; + $usersTable="$tableprefix".'users'; + $booksTable="$tableprefix".'books'; + + $query="OPTIMIZE TABLE $brandsTable, $categorieTable, $customersTable, $itemsTable, $salesTable, $sales_itemsTable,$suppliersTable, $usersTable, $booksTable"; + mysql_query($query,$this->conn); + } + + function closeDBlink() + { + mysql_close($this->conn); + } +} + +?> diff --git a/classes/display.php b/classes/display.php new file mode 100755 index 0000000..6ad4f7e --- /dev/null +++ b/classes/display.php @@ -0,0 +1,887 @@ +conn=$connection; + $this->lang=$language; + $this->currency_symbol=$currency_symbol; + switch($theme) + { + case $theme=='big blue': + + $this->title_color='#005B7F'; + $this->list_of_color='#247392'; + + $this->table_bgcolor='white'; + $this->cellspacing='1'; + $this->cellpadding='0'; + $this->border_style='solid'; + $this->border_width='1'; + $this->border_color='#0A6184'; + + $this->header_rowcolor='navy'; + $this->header_text_color='white'; + $this->headerfont_face='arial'; + $this->headerfont_size='2'; + + + $this->rowcolor1='#15759B'; + $this->rowcolor2='#0A6184'; + $this->rowcolor_text='white'; + $this->rowfont_face='geneva'; + $this->rowcolor_link='CCCCCC'; + $this->rowfont_size='2'; + $this->sale_bg='#015B7E'; + + break; + + case $theme=='serious': + + $this->title_color='black'; + $this->list_of_color='black'; + + $this->table_bgcolor='white'; + $this->cellspacing='1'; + $this->cellpadding='0'; + $this->border_style='solid'; + $this->border_width='1'; + $this->border_color='black'; + + $this->header_rowcolor='black'; + $this->header_text_color='white'; + $this->headerfont_face='arial'; + $this->headerfont_size='2'; + + + $this->rowcolor1='#DDDDDD'; + $this->rowcolor2='#CCCCCC'; + $this->rowcolor_text='black'; + $this->rowfont_face='geneva'; + $this->rowcolor_link='black'; + $this->rowfont_size='2'; + $this->sale_bg='#999999'; + break; + + + } + } + + function displayTitle($title) + { + //pre: Title must be a string. + //post: Applys title to page. + + echo "

$title

"; + } + + function idToField($tablename,$field,$id) + { + //pre: $tablename, field, and id all must be valid + //post: returns a specified field based on the ID from a specified table. + + $result = mysql_query("SELECT $field FROM $tablename WHERE id=\"$id\"",$this->conn); + + $row = mysql_fetch_assoc($result); + + return $row[$field]; + } + + function getNumRows($table) + { + $query="SELECT id FROM $table"; + $result=mysql_query($query,$this->conn); + + return mysql_num_rows($result); + + } + + function displayManageTable($tableprefix,$tablename,$tableheaders,$tablefields,$wherefield,$wheredata,$orderby) + { + //pre:params must be right type + //post: outputs a nice looking table that is used for manage parts of the program + + if($tablename=='brands' or $tablename=='categories') + { + $tablewidth='35%'; + } + else + { + $tablewidth='95%'; + } + + $table="$tableprefix"."$tablename"; + echo "\n".'
'; + + if($wherefield=='quantity' and $wheredata=='outofstock') + { + $result = mysql_query("SELECT * FROM $table WHERE quantity < 1 ORDER BY $orderby",$this->conn); + } + elseif($wherefield=='quantity' and $wheredata=='reorder') + { + $result = mysql_query("SELECT * FROM $table WHERE quantity <= reorder_level ORDER BY $orderby",$this->conn); + + } + elseif($wherefield!='' and $wheredata!='') + { + $result = mysql_query("SELECT * FROM $table WHERE $wherefield like \"%$wheredata%\" ORDER BY $orderby",$this->conn); + } + elseif($this->getNumRows($table) >200) + { + $result = mysql_query("SELECT * FROM $table ORDER BY $orderby LIMIT 0,200",$this->conn); + echo "{$this->lang->moreThan200} $tableprefix $table".'\'s'."{$this->lang->first200Displayed}"; + } + else + { + $result = mysql_query("SELECT * FROM $table ORDER BY $orderby",$this->conn); + } + echo '
'; + if(@mysql_num_rows($result) ==0) + { + echo "
{$this->lang->noDataInTable} $table {$this->lang->table}.
"; + exit(); + } + echo "

{$this->lang->listOf}"; + if ($tablename == "customers"){ echo " Members

"; } else { echo " $tablename

"; } + + echo "border_style $this->border_color $this->border_width px\"> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + + $rowCounter=0; + while($row=mysql_fetch_assoc($result)) + { + if($rowCounter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter++; + for($k=0;$kformatData($field,$row[$field],$tableprefix); + + + echo "\n\n"; + } + if($tablename == "customers") + { + echo " + \n + + +\n\n"; + } else { + echo " + \n\n\n"; + } + } + echo '
\n$tableheaders[$k]\n
\n$data\n\n{$this->lang->update}\nlang->confirmDelete} $table {$this->lang->table}?','process_form_$tablename.php?action=delete&id=$row[id]')\">{$this->lang->delete}\n{$this->lang->getinfo}
\n{$this->lang->update}\nlang->confirmDelete} $table {$this->lang->table}?','process_form_$tablename.php?action=delete&id=$row[id]')\">{$this->lang->delete}
'."\n"; + } + + function displayReportTable($tableprefix,$tablename,$tableheaders,$tablefields,$wherefield,$wheredata,$date1,$date2,$orderby,$subtitle) + { + echo "

$subtitle

"; + $tablewidth='85%'; + + $table="$tableprefix"."$tablename"; + echo "\n".'
'; + if($wherefield!='' and $wheredata!='' and $date1=='' and $date2=='') + { + $result = mysql_query("SELECT * FROM $table WHERE $wherefield = \"$wheredata\" ORDER BY $orderby",$this->conn); + } + elseif($wherefield!='' and $wheredata!='' and $date1!='' and $date2!='') + { + $result = mysql_query("SELECT * FROM $table WHERE $wherefield = \"$wheredata\" and date between \"$date1\" and \"$date2\" ORDER BY $orderby",$this->conn); + } + elseif($date1!='' and $date2!='') + { + $result = mysql_query("SELECT * FROM $table WHERE date between \"$date1\" and \"$date2\" ORDER BY $orderby",$this->conn); + + } + else + { + $result = mysql_query("SELECT * FROM $table ORDER BY $orderby",$this->conn); + } + echo '
'; + if(@mysql_num_rows($result) ==0) + { + echo "
{$this->lang->noDataInTable} $table {$this->lang->table}.
"; + exit(); + } + echo "border_style $this->border_color $this->border_width px\"> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + + + $rowCounter=0; + while($row=mysql_fetch_assoc($result)) + { + if($rowCounter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter++; + for($k=0;$k{$this->lang->showSaleDetails}"; + + } + else + { + if($field=='brand_id' or $field=='category_id' or $field=='supplier_id') + { + $field_data=$this->idToField("$tableprefix".'items',"$field",$row['item_id']); + $data=$this->formatData($field,$field_data,$tableprefix); + } + else + { + $data=$this->formatData($field,$row[$field],$tableprefix); + + } + } + + + echo "\n\n"; + } + + + } + echo '
\n$tableheaders[$k]\n
\n$data\n
'."\n"; + + } + + function displaySaleManagerTable($tableprefix,$where1,$where2) + { + $tablewidth='85%'; + $sales_table="$tableprefix"."sales"; + $sales_items_table="$tableprefix"."sales_items"; + + if($where1!='' and $where2!='') + { + + $sale_query="SELECT * FROM $sales_table WHERE id between \"$where1\" and \"$where2\" ORDER BY id DESC"; + $sale_result=mysql_query($sale_query,$this->conn); + + + } + else + { + $sale_query="SELECT * FROM $sales_table ORDER BY id DESC"; + $sale_result=mysql_query($sale_query,$this->conn); + + } + + $sales_tableheaders=array("{$this->lang->date}","{$this->lang->customerName}","{$this->lang->itemsPurchased}","{$this->lang->paidWith}","{$this->lang->soldBy}","{$this->lang->saleSubTotal}","{$this->lang->saleTotalCost}","{$this->lang->saleComment}"); + $sales_tablefields=array('date','customer_id','items_purchased','paid_with','sold_by','sale_sub_total','sale_total_cost','comment'); + + $sales_items_tableheaders=array("{$this->lang->itemName}","{$this->lang->brand}","{$this->lang->category}","{$this->lang->supplier}","{$this->lang->quantityPurchased}","{$this->lang->unitPrice}","{$this->lang->tax}","{$this->lang->itemTotalCost}","{$this->lang->updateItem}","{$this->lang->deleteItem}"); + $sales_items_tablefields=array('item_id','brand_id','category_id','supplier_id','quantity_purchased','item_unit_price','item_total_tax','item_total_cost'); + + + if(@mysql_num_rows($sale_result) < 1) + { + echo "
You do not have any data in the sales tables.
"; + exit(); + } + + $rowCounter1=0; + echo "
border_style $this->border_color 3 px\">

"; + while($row=mysql_fetch_assoc($sale_result)) + { + + echo "border_style $this->border_color $this->border_width px\">

{$this->lang->saleID} $row[id] + [{$this->lang->updateSale}] + [lang->confirmDelete} $sales_table {$this->lang->table}?','delete_sale.php?id=$row[id]')\">{$this->lang->deleteEntireSale}] + border_style $this->border_color $this->border_width px\"> + + header_rowcolor>\n\n"; + + for($k=0;$k< count($sales_tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + if($rowCounter1%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter1++; + for($k=0;$kformatData($field,$row[$field],$tableprefix); + + echo "\n\n"; + + + } + + echo '
\n$sales_tableheaders[$k]\n
\n$data\n
'; + $sale_items_query="SELECT * FROM $sales_items_table WHERE sale_id=\"$row[id]\""; + $sale_items_result=mysql_query($sale_items_query,$this->conn); + echo "
{$this->lang->itemsInSale}border_style $this->border_color $this->border_width px\"> + header_rowcolor>\n\n"; + + for($k=0;$k\n$sales_items_tableheaders[$k]\n\n"; + } + echo ''; + + $rowCounter2=0; + while($newrow=mysql_fetch_assoc($sale_items_result)) + { + if($rowCounter2%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + + $rowCounter2++; + for($k=0;$kidToField("$tableprefix".'items',"$field",$newrow['item_id']); + $data=$this->formatData($field,$field_data,$tableprefix); + } + else + { + $data=$this->formatData($field,$newrow[$field],$tableprefix); + } + echo "\n\n"; + } + + echo " + \n\n\n"; + + echo ''."\n\n"; + } + echo '
\n$data\n\n{$this->lang->update}\nlang->confirmDelete} $sales_items_table {$this->lang->table}?','delete_item.php?sale_id=$newrow[sale_id]&item_id=$newrow[item_id]&row_id=$newrow[id]')\">{$this->lang->delete}


'; + } + echo "
"; + } + function displayTotalsReport($tableprefix,$total_type,$tableheaders,$date1,$date2,$where1,$where2) + { + $sales_table="$tableprefix".'sales'; + $sales_items_table="$tableprefix".'sales_items'; + $items_table="$tableprefix".'items'; + $brands_table="$tableprefix".'brands'; + $categories_table="$tableprefix".'categories'; + $suppliers_table="$tableprefix".'suppliers'; + $customer_table="$tableprefix".'customers'; + $users_table="$tableprefix".'users'; + + + if($total_type=='customers') + { + echo "
{$this->lang->totalsShownBetween} $date1 {$this->lang->and} $date2
"; + echo "border_style $this->border_color $this->border_width px\">"; + + echo "header_rowcolor>\n\n"; + + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + + $query="SELECT * FROM $customer_table ORDER BY last_name"; + $customer_result=mysql_query($query,$this->conn); + $temp_cust_id=0; + + $accum_sub_total=0; + $accum_total_cost=0; + $accum_items_purhcased=0; + $row_counter=0; + while($row=mysql_fetch_assoc($customer_result)) + { + $temp_cust_id=$row['id']; + $customer_name=$this->formatData('customer_id',$temp_cust_id,$tableprefix); + $query2="SELECT * FROM $sales_table WHERE customer_id=\"$temp_cust_id\" and date between \"$date1\" and \"$date2\""; + $result2=mysql_query($query2,$this->conn); + + $sub_total=0; + $total_cost=0; + $items_purchased=0; + + while($row2=mysql_fetch_assoc($result2)) + { + $sub_total+=$row2['sale_sub_total']; + $accum_sub_total+=$row2['sale_sub_total']; + + $total_cost+=$row2['sale_total_cost']; + $accum_total_cost+=$row2['sale_total_cost']; + + $items_purchased+=$row2['items_purchased']; + $accum_items_purhcased+=$row2['items_purchased']; + } + $row_counter++; + + $sub_total=number_format($sub_total,2,'.', ''); + $total_cost=number_format($total_cost,2,'.', ''); + + + if($row_counter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + echo " + + + + "; + } + echo '
\n$tableheaders[$k]\n
\n$customer_name\n\n$items_purchased\n\n$this->currency_symbol$sub_total\n\n$this->currency_symbol$total_cost\n
'; + $accum_sub_total=number_format($accum_sub_total,2,'.', ''); + $accum_total_cost=number_format($accum_total_cost,2,'.', ''); + + echo "
"; + echo " + +
{$this->lang->totalItemsPurchased}: $accum_items_purhcased
{$this->lang->totalWithOutTax}: $this->currency_symbol$accum_sub_total
{$this->lang->totalWithTax}: $this->currency_symbol$accum_total_cost
"; + } + elseif($total_type=='employees') + { + echo "
{$this->lang->totalsShownBetween} $date1 {$this->lang->and} $date2
"; + echo "border_style $this->border_color $this->border_width px\">"; + + echo "header_rowcolor>\n\n"; + + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + + $query="SELECT * FROM $users_table ORDER BY last_name"; + $employee_result=mysql_query($query,$this->conn); + $temp_cust_id=0; + + $accum_sub_total=0; + $accum_total_cost=0; + $accum_items_purhcased=0; + $row_counter=0; + while($row=mysql_fetch_assoc($employee_result)) + { + $temp_empl_id=$row['id']; + $employee_name=$this->formatData('user_id',$temp_empl_id,$tableprefix); + $query2="SELECT * FROM $sales_table WHERE sold_by=\"$temp_empl_id\" and date between \"$date1\" and \"$date2\""; + $result2=mysql_query($query2,$this->conn); + + $sub_total=0; + $total_cost=0; + $items_purchased=0; + + while($row2=mysql_fetch_assoc($result2)) + { + $sub_total+=$row2['sale_sub_total']; + $accum_sub_total+=$row2['sale_sub_total']; + + $total_cost+=$row2['sale_total_cost']; + $accum_total_cost+=$row2['sale_total_cost']; + + $items_purchased+=$row2['items_purchased']; + $accum_items_purhcased+=$row2['items_purchased']; + } + $row_counter++; + + $sub_total=number_format($sub_total,2,'.', ''); + $total_cost=number_format($total_cost,2,'.', ''); + + + if($row_counter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + echo " + + + + "; + } + echo '
\n$tableheaders[$k]\n
\n$employee_name\n\n$items_purchased\n\n$this->currency_symbol$sub_total\n\n$this->currency_symbol$total_cost\n
'; + $accum_sub_total=number_format($accum_sub_total,2,'.', ''); + $accum_total_cost=number_format($accum_total_cost,2,'.', ''); + + echo "
"; + echo " + +
{$this->lang->totalItemsPurchased}: $accum_items_purhcased
{$this->lang->totalWithOutTax}: $this->currency_symbol$accum_sub_total
{$this->lang->totalWithTax}: $this->currency_symbol$accum_total_cost
"; + + + + } + elseif($total_type=='items') + { + echo "
{$this->lang->totalsShownBetween} $date1 {$this->lang->and} $date2
"; + echo "border_style $this->border_color $this->border_width px\">"; + + echo "header_rowcolor>\n\n"; + + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + + + $query="SELECT * FROM $items_table ORDER BY item_name"; + $item_result=mysql_query($query,$this->conn); + $temp_item_id=0; + + $accum_sub_total=0; + $accum_total_cost=0; + $accum_items_purhcased=0; + $row_counter=0; + while($row=mysql_fetch_assoc($item_result)) + { + $temp_item_id=$row['id']; + $item_name=$this->formatData('item_id',$temp_item_id,$tableprefix); + $temp_brand=$this->idToField($brands_table,'brand',$this->idToField($items_table,'brand_id',$temp_item_id)); + $temp_category=$this->idToField($categories_table,'category',$this->idToField($items_table,'category_id',$temp_item_id)); + $temp_supplier=$this->idToField($suppliers_table,'supplier',$this->idToField($items_table,'supplier_id',$temp_item_id)); + + $query2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER by id ASC",$this->conn); + $sale_row1=mysql_fetch_assoc($query2); + $low_sale_id=$sale_row1['id']; + + $query3=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER by id DESC",$this->conn); + $sale_row2=mysql_fetch_assoc($query3); + $high_sale_id=$sale_row2['id']; + + + $query4="SELECT * FROM $sales_items_table WHERE item_id=\"$temp_item_id\" and sale_id between \"$low_sale_id\" and \"$high_sale_id\""; + $result4=mysql_query($query4,$this->conn); + + $sub_total=0; + $total_cost=0; + $items_purchased=0; + + while($row2=mysql_fetch_assoc($result4)) + { + $sub_total+=$row2['item_total_cost']-$row2['item_total_tax']; + $accum_sub_total+=$row2['item_total_cost']-$row2['item_total_tax']; + + $total_cost+=$row2['item_total_cost']; + $accum_total_cost+=$row2['item_total_cost']; + + $items_purchased+=$row2['quantity_purchased']; + $accum_items_purhcased+=$row2['quantity_purchased']; + } + $row_counter++; + + $sub_total=number_format($sub_total,2,'.', ''); + $total_cost=number_format($total_cost,2,'.', ''); + + + if($row_counter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + echo " + + + + + + + + + + "; + } + echo '
\n$tableheaders[$k]\n
\n$item_name\n\n$temp_brand\n\n$temp_category\n\n$temp_supplier\n\n$items_purchased\n\n$this->currency_symbol$sub_total\n\n$this->currency_symbol$total_cost\n
'; + $accum_sub_total=number_format($accum_sub_total,2,'.', ''); + $accum_total_cost=number_format($accum_total_cost,2,'.', ''); + + echo "
"; + echo " + +
{$this->lang->totalItemsPurchased}: $accum_items_purhcased
{$this->lang->totalWithOutTax}: $this->currency_symbol$accum_sub_total
{$this->lang->totalWithTax}: $this->currency_symbol$accum_total_cost
"; + } + elseif($total_type=='item') + { + echo "
{$this->lang->totalsShownBetween} $date1 {$this->lang->and} $date2
"; + echo "border_style $this->border_color $this->border_width px\">"; + + echo "header_rowcolor>\n\n"; + + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + + $query="SELECT * FROM $items_table WHERE $where1=\"$where2\" ORDER BY item_name"; + $item_result=mysql_query($query,$this->conn); + $row=mysql_fetch_assoc($item_result); + $temp_item_id=$row['id']; + $item_name=$this->formatData('item_id',$temp_item_id,$tableprefix); + $temp_brand=$this->idToField($brands_table,'brand',$this->idToField($items_table,'brand_id',$temp_item_id)); + $temp_category=$this->idToField($categories_table,'category',$this->idToField($items_table,'category_id',$temp_item_id)); + $temp_supplier=$this->idToField($suppliers_table,'supplier',$this->idToField($items_table,'supplier_id',$temp_item_id)); + + $item_name=$this->formatData('item_id',$temp_item_id,$tableprefix); + + $query2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER by id ASC",$this->conn); + $sale_row1=mysql_fetch_assoc($query2); + $low_sale_id=$sale_row1['id']; + + $query3=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER by id DESC",$this->conn); + $sale_row2=mysql_fetch_assoc($query3); + $high_sale_id=$sale_row2['id']; + + + $query4="SELECT * FROM $sales_items_table WHERE item_id=\"$temp_item_id\" and sale_id between \"$low_sale_id\" and \"$high_sale_id\""; + $result4=mysql_query($query4,$this->conn); + + + $sub_total=0; + $total_cost=0; + $items_purchased=0; + + while($row2=mysql_fetch_assoc($result4)) + { + $sub_total+=$row2['item_total_cost']-$row2['item_total_tax']; + $total_cost+=$row2['item_total_cost']; + $items_purchased+=$row2['quantity_purchased']; + } + + $sub_total=number_format($sub_total,2,'.', ''); + $total_cost=number_format($total_cost,2,'.', ''); + + + echo "\nrowcolor1>\n"; + + echo " + + + + + + + + + "; + + echo '
\n$tableheaders[$k]\n
\n$item_name\n\n$temp_brand\n\n$temp_category\n\n$temp_supplier\n\n$items_purchased\n\n$this->currency_symbol$sub_total\n\n$this->currency_symbol$total_cost\n
'; + + } + elseif($total_type=='profit') + { + + + echo "
{$this->lang->totalsShownBetween} $date1 {$this->lang->and} $date2
"; + echo "border_style $this->border_color $this->border_width px\">"; + + echo "header_rowcolor>\n\n"; + + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + + echo ''."\n\n"; + + $query="SELECT DISTINCT date FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER by date ASC"; + $result=mysql_query($query); + + $amount_sold=0; + $profit=0; + $total_amount_sold=0; + $total_profit=0; + while($row=mysql_fetch_assoc($result)) + { + + $amount_sold=0; + $profit=0; + + $distinct_date=$row['date']; + $result2=mysql_query("SELECT * FROM $sales_table WHERE date=\"$distinct_date\"",$this->conn); + + echo "\nrowcolor1>\n"; + + echo ""; + + while($row2=mysql_fetch_assoc($result2)) + { + $amount_sold+=$row2['sale_sub_total']; + $total_amount_sold+=$row2['sale_sub_total']; + $profit+=$this->getProfit($row2['id'],$tableprefix); + $total_profit+=$this->getProfit($row2['id'],$tableprefix); + + } + + $amount_sold=number_format($amount_sold,2,'.', ''); + $profit=number_format($profit,2,'.', ''); + + echo ""; + echo ""; + + + echo ""; + } + + echo '
\n$tableheaders[$k]\n
\n$distinct_date\n\n$this->currency_symbol$amount_sold\n\n$this->currency_symbol$profit\n
'; + + + $total_amount_sold=number_format($total_amount_sold,2,'.', ''); + $total_profit=number_format($total_profit,2,'.', ''); + + echo "
"; + echo " + +
{$this->lang->totalAmountSold}: $this->currency_symbol$total_amount_sold
{$this->lang->totalProfit}: $this->currency_symbol$total_profit
"; + + + } + } + + function getProfit($sale_id,$tableprefix) + { + $sales_items_table="$tableprefix".'sales_items'; + $query="SELECT * FROM $sales_items_table WHERE sale_id=\"$sale_id\""; + $result=mysql_query($query,$this->conn); + + $profit=0; + while($row=mysql_fetch_assoc($result)) + { + $profit+=($row['item_unit_price']-$row['item_buy_price'])*$row['quantity_purchased']; + } + + return $profit; + } + + function formatData($field,$data,$tableprefix) + { + if($field=='unit_price' or $field=='total_cost' or $field=='buy_price' or $field=='sale_sub_total' or $field=='sale_total_cost' or $field=='item_unit_price' or $field=='item_total_cost' or $field=='item_total_tax' ) + { + return "$this->currency_symbol"."$data"; + } + elseif($field=='tax_percent' or $field=='percent_off') + { + return "$data".'%'; + } + elseif($field=='brand_id') + { + return $this->idToField("$tableprefix".'brands','brand',$data); + } + elseif($field=='category_id') + { + return $this->idToField("$tableprefix".'categories','category',$data); + } + elseif($field=='supplier_id') + { + return $this->idToField("$tableprefix".'suppliers','supplier',$data); + } + elseif($field=='customer_id') + { + $field_first_name=$this->idToField("$tableprefix".'customers','first_name',$data); + $field_last_name=$this->idToField("$tableprefix".'customers','last_name',$data); + return $field_first_name.' '.$field_last_name; + } + elseif($field=='user_id') + { + $field_first_name=$this->idToField("$tableprefix".'users','first_name',$data); + $field_last_name=$this->idToField("$tableprefix".'users','last_name',$data); + return $field_first_name.' '.$field_last_name; + } + elseif($field=='item_id') + { + return $this->idToField("$tableprefix".'items','item_name',$data); + } + elseif($field=='sold_by') + { + $field_first_name=$this->idToField("$tableprefix".'users','first_name',$data); + $field_last_name=$this->idToField("$tableprefix".'users','last_name',$data); + return $field_first_name.' '.$field_last_name; + } + elseif($field=='supplier_id') + { + return $this->idToField("$tableprefix".'suppliers','supplier',$data); + } + elseif($field=='password') + { + return '*******'; + + } + else + { + return "$data"; + } + + } + + + +} + + + + + +?> diff --git a/classes/form.php b/classes/form.php new file mode 100755 index 0000000..e2cf645 --- /dev/null +++ b/classes/form.php @@ -0,0 +1,309 @@ +lang=$language; + $getType=explode('_',$form_action); + $type=$getType[0]; + + if($type=='manage') + { + $url=$_SERVER['PHP_SELF']; + + if(isset($_POST['search']) or isset($_GET['outofstock']) or isset($_GET['reorder'])) + { + echo "
[{$this->lang->clearSearch}]
"; + } + + echo "
+
\n"; + } + else + { + echo " +
*{$this->lang->itemsInBoldRequired}\n
"; + } + + switch($theme) + { + //add more themes + case $theme=='serious': + $this->row_color='#DDDDDD'; + $this->text_color='black'; + + break; + + case $theme=='big blue': + $this->row_color='#15759B'; + $this->text_color='white'; + + break; + } + } + + function formBreak ($table_width,$theme) + { + + { + echo "
"; + } + + switch($theme) + { + //add more themes + case $theme=='serious': + $this->row_color='#DDDDDD'; + $this->text_color='black'; + + break; + + case $theme=='big blue': + $this->row_color='#15759B'; + $this->text_color='white'; + + break; + } + } + + + function createInputField($field_title,$input_type,$input_name,$input_value,$input_size,$td_width,$disabled=NULL) + { + //pre: all parameters are strings. + //post: creates in inputField based on parameters. + + echo" + row_color> + + + \n"; + + } + + + + function createCheckboxField($field_title,$check_name,$td_width,$disabled=NULL,$checked=NULL,$postlabel=NULL) + { + //pre: all parameters are strings option selected value is at pos 0. + //post: creates in CheckboxField based on parameters. + + echo " + row_color> + + row_color> + + + '."\n"; + + } + + + function createSelectField($field_title,$select_name,$option_values,$option_titles,$td_width,$disabled=NULL,$selected=NULL) + { + //pre: all parameters are strings option selected value is at pos 0. + //post: creates in selectField based on parameters. + + echo " + row_color> + + + '."\n"; + + } + + + + function createDateSelectField() + { + ?> + row_color ?> > + + + + + + + row_color ?> > + + + row_color> + + + + + +
$field_title
$field_title"; + + echo"$postlabel
"; + } + + function createRadioField($field_title,$radio_name,$option_values,$option_titles,$td_width,$disabled=NULL,$selected=NULL) + { + //pre: all parameters are strings option selected value is at pos 0. + //post: creates in selectField based on parameters. + + echo " +
$field_title"; + + if($option_values[0]!='') + { + echo"$option_titles[0]
"; + } + for($k=1;$k< count($option_values); $k++) + { + if($option_values[$k]!=$option_values[0] ) + { + if($selected==$option_values[$k]){ + echo "$option_titles[$k]
"; + } + else { + echo"$option_titles[$k]
";; + } + } + } + + echo ' +
$field_title +
text_color ?>>lang->fromMonth}"; ?>: text_color ?>>lang->day}"; ?>: text_color ?>>lang->year}"; ?>: text_color ?>>lang->toMonth}"; ?>: text_color ?>>lang->day}"; ?>: text_color ?>>lang->year}"; ?>:
+ +
$field_title"; + } + + function endForm() + { + //adds submit button and ends remainings tags. + echo " +
$altbutton
+
+
"; + } + + function endLibraryForm() + { + //adds submit button and ends remainings tags. + echo " + + + + + +
+"; + } + + + +} +?> diff --git a/classes/security_functions.php b/classes/security_functions.php new file mode 100755 index 0000000..4abbe5c --- /dev/null +++ b/classes/security_functions.php @@ -0,0 +1,258 @@ +conn=$dbf->conn; + $this->lang=$language; + $this->tblprefix=$dbf->tblprefix; + + if(isset($_SESSION['session_user_id'])) + { + $user_id=$_SESSION['session_user_id']; + + $tablename="$this->tblprefix".'users'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$user_id\"",$this->conn); + //echo "$result"; + $row = mysql_fetch_assoc($result); + $usertype= $row['type']; + //echo "stupid"; + + + //If the page is not public or the user is not an Admin, investigation must continue. + if($page_type!='Public' or $usertype!='Admin') + { + if($usertype!='Admin' and $usertype!='Sales Clerk' and $usertype!='Report Viewer') + { + //makes sure $usertype is not anything but Admin, Sales Clerk, Report Viewer + + echo "{$this->lang->attemptedSecurityBreech}"; + exit(); + } + elseif($page_type!='Public' and $page_type!='Admin' and $page_type!='Sales Clerk' and $page_type!='Report Viewer') + { + //makes sure $page_type is not anything but Public, Admin, Sales Clerk or Report Viewer. + + echo "{$this->lang->attemptedSecurityBreech}"; + exit(); + + } + elseif($usertype!='Admin' and $page_type=='Admin') + { + //if page is only intented for Admins but the user is not an admin, access is denied. + + echo "{$this->lang->mustBeAdmin}"; + exit(); + } + elseif(($usertype=='Sales Clerk') and $page_type =='Report Viewer') + { + //Page is only intented for Report Viewers and Admins. + + echo "{$this->lang->mustBeReportOrAdmin}"; + exit(); + } + elseif(($usertype=='Report Viewer') and $page_type =='Sales Clerk') + { + //Page is only intented for Sales Clerks and Admins. + + echo "{$this->lang->mustBeSalesClerkOrAdmin}"; + exit(); + } + } + } + /*if(!$this->isLoggedIn()){ + header("location: ../login.php"); + exit(); + } + if(!$this->isOpen()){ + header("location: ../books/openshop.php"); + exit(); + }*/ + } + + function isLoggedIn() + { + //returns boolean based on if user is logged in. + + if(isset($_SESSION['session_user_id'])) + { + $user_id=$_SESSION['session_user_id']; + $tablename="$this->tblprefix".'users'; + $result = mysql_query ("SELECT * FROM $tablename WHERE id=\"$user_id\"",$this->conn); + $num = @mysql_num_rows($result); + if($num> 0) + { + return true; + } + else + { + + return false; + } + } + return false; + } + + function checkLogin($username,$password) + { + //pre: $username and $password must be strings. ($password is encrypted) + //post: returns boolean based on if their login was succesfull. + + $tablename="$this->tblprefix".'users'; + $result = mysql_query ("SELECT * FROM $tablename WHERE username=\"$username\" and password=\"$password\"",$this->conn); + $num = @mysql_num_rows($result); + + if($num > 0) + { + return true; + } + + return false; + } + + function closeSale() + { + //deletes sessions vars + session_unregister('items_in_sale'); + session_unregister('current_sale_customer_id'); + session_unregister('current_item_search'); + session_unregister('current_customer_search'); + } + + function checkMembership($userID) + { + global $cfg_membershipID; + // Construct the join query + $memquery = "SELECT sales.id, sales_items.sale_id, sales_items.item_id, DATE_ADD( sales.date, INTERVAL 1 YEAR ) AS expires + FROM sales, sales_items + WHERE sales.id = sales_items.sale_id + AND sales_items.item_id=$cfg_membershipID + AND sales.customer_id=$userID + ORDER BY sales.date DESC + LIMIT 1;"; + //"SELECT sales.id, sales_items.sale_id, sales_items.item_id, DATE_ADD(sales.date, INTERVAL 1 YEAR) as expires ". + //"FROM sales, sales_items "."WHERE sales.id = sales_items.sale_id AND sales_items.item_id = '$cfg_membershipID' AND sales.customer_id = '$userID'"; + $memresult = mysql_query($memquery) or die(mysql_error()); + + if(mysql_num_rows($memresult) < 1){ + return false; + } + // Get expiry date + $today = date('Y-m-d'); + $row = mysql_fetch_array($memresult); + $expires = $row['expires']; + if($row[item_id] == "1" && $expires >= $today){ + return true; + }else{ + return false; + } + } + + function checkWaiver($userID) + { + // If Membership is ok, check waiver + $waiverresult = mysql_query("SELECT waiver FROM customers WHERE id='$userID'"); + if (!$waiverresult) { die("Query to check on status of liability waiver failed"); } + while ($waiverrow = mysql_fetch_array($waiverresult)) { + if ($waiverrow[waiver] == 0 || $waiverrow[waiver] == ""){ return false; } else { return true; } + } + + + + } + + function signinMember($userID, $intime, $activity) + { + global $cfg_reqmembership; + $isinresult = mysql_query("SELECT userID FROM visits WHERE endout IS NULL"); + if (!$isinresult) { die("Query to show fields from table failed"); } + + while($isinrow = mysql_fetch_array($isinresult)){ + if($userID == "$isinrow[userID]"){ + die("Bike Error!! User is already signed in..."); + } + } + + + + + // MAKE SURE THEY'VE PAID THEIR MEMBERSHIP (IF REQUIRED BY CONFIG FILE) + if($cfg_reqmembership == "1" && !$this->checkMembership($userID)){ + echo "Membership not paid or expired!
Go Home -->"; + die(''); + } + + // Have you been a naughty schoolchild and not signed your waiver? PUNISH! + if(!$this->checkWaiver($userID)){ + echo "Waiver not signed. Sign waiver, or no shop access you naughty boy!
Go Home -->"; + die(''); + } + + + + // ADD IT TO THE VISITS DATABASE + + $in = mktime($_POST[hour], $_POST[minute], 0, $_POST[month], $_POST[day], $_POST[year]); + $tdin = date('Y-m-d H:i:s'); + //$activity = $_POST[activity]; + + if($userID){ + $query = "INSERT INTO `visits` (`userID` ,`intime` ,`activity`) VALUES ('$userID', '$tdin', '$activity')"; + // echo "IT FJDSFDSA $query"; + mysql_query($query); + } + } + + function isOpen() + { + //include("settings.php"); + //echo "must open = $cfg_company"; + //if($cfg_mustOpen == "yes"){ + //echo "$this->conn"; + //return false; + //} + //return false; + //$tablename="$this->tblprefix".'users'; + //$result = mysql_query("SELECT * FROM $tablename WHERE id=\"$user_id\"",$this->conn); + + /*$today = date("Y-m-d"); + $le = mysql_query("SELECT event, date FROM books WHERE event='1' OR event='2' ORDER BY listID DESC LIMIT 1", $this->conn); + //$le = mysql_query("SELECT * FROM books");//, $this->conn) or die(mysql_error());// WHERE event='1' OR event='2' ORDER BY listID DESC LIMIT 1", $this->conn); + $lastevent = mysql_fetch_assoc($le); + if(!$lastevent || $lastevent['event'] == 2 || $lastevent[date] != $today){// || !mysql_num_rows(mysql_query("SELECT * FROM books WHERE date='$today' AND event='1'"))){ + return false; + }*/return true; + //} + return true; + } + + function isMechanicHere() + { + return mysql_fetch_array(mysql_query("SELECT userID FROM visits WHERE endout IS NULL AND activity='Mechanic'")); + } + + + function vaildMailman ($host) + { + $valid = @fsockopen("$host", 80, $errno, $errstr, 30); + if ($valid) return TRUE; + + } + +} + +?> diff --git a/customers/customers_barcode.php b/customers/customers_barcode.php new file mode 100755 index 0000000..816bf96 --- /dev/null +++ b/customers/customers_barcode.php @@ -0,0 +1,59 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(isset($_GET['generateWith'])) +{ + $generateWith=$_GET['generateWith']; +} +else +{ + $generateWith='id'; +} + +$display->displayTitle("$lang->customersBarcode"." ($generateWith)"); +echo "$lang->accountNumber / id"; + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + + +$customers_table=$cfg_tableprefix.'customers'; +$result=mysql_query("SELECT * FROM $customers_table ORDER by last_name",$dbf->conn); + +echo ' + +'; + +$counter=0; +while($row=mysql_fetch_assoc($result)) +{ + if($counter%2==0) + { + echo ''; + } + echo ""; + + $counter++; + +} + +echo '
'; + + + + + +$dbf->closeDBlink(); + +?> diff --git a/customers/error_log b/customers/error_log new file mode 100644 index 0000000..68ee600 --- /dev/null +++ b/customers/error_log @@ -0,0 +1,15 @@ +[10-Mar-2017 00:43:46 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:48 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:51 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:28 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:28 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:31 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:33 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:25 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:30 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:57:44 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:57:44 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:57:47 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:05:43 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:07:10 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 diff --git a/customers/form_customers.php b/customers/form_customers.php new file mode 100755 index 0000000..0fd3147 --- /dev/null +++ b/customers/form_customers.php @@ -0,0 +1,102 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$first_name_value=''; +$last_name_value=''; +$account_number_value=''; +$phone_number_value=''; +$email_value=''; +$street_address_value=''; +$comments_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("Update a Member"); + + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'customers'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $first_name_value=$row['first_name']; + $last_name_value=$row['last_name']; + $account_number_value=$row['account_number']; + $phone_number_value=$row['phone_number']; + $email_value=$row['email']; + $street_address_value=$row['street_address']; + $comments_value=$row['comments']; + + } + +} +else +{ + $display->displayTitle("Add a Member"); +} +//creates a form object +$f1=new form('process_form_customers.php','POST','customers','450',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->firstName: ",'text','first_name',"$first_name_value",'24','150'); +$f1->createInputField("$lang->lastName: ",'text','last_name',"$last_name_value",'24','150'); +$f1->createInputField("$lang->accountNumber: ",'text','account_number',"$account_number_value",'24','150'); +$f1->createInputField("$lang->phoneNumber ",'text','phone_number',"$phone_number_value",'24','150'); +$f1->createInputField("$lang->email:",'text','email',"$email_value",'24','150'); +$f1->createInputField("$lang->streetAddress:",'text','street_address',"$street_address_value",'24','150'); +$f1->createInputField("$lang->commentsOrOther:",'text','comments',"$comments_value",'40','150'); + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +$f1->endForm(); +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/customers/index.php b/customers/index.php new file mode 100755 index 0000000..f39a67c --- /dev/null +++ b/customers/index.php @@ -0,0 +1,57 @@ +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +$tablename = $cfg_tableprefix.'users'; +$auth = $dbf->idToField($tablename,'type',$_SESSION['session_user_id']); +$first_name = $dbf->idToField($tablename,'first_name',$_SESSION['session_user_id']); +$last_name= $dbf->idToField($tablename,'last_name',$_SESSION['session_user_id']); +$today = date("Y-m-d"); +if($auth=="Sales Clerk"){ + if(!$sec->isOpen()){ + header("location: ../books/openshop.php"); + exit(); + } +} +echo " + + + + + + + + + + +
 Members
+
+ Welcome to the Members panel! Here you can manage our members database. What would you like to do? + +
+ +"; + +$dbf->closeDBlink(); + + +?> diff --git a/customers/manage_customers.php b/customers/manage_customers.php new file mode 100755 index 0000000..e4120b4 --- /dev/null +++ b/customers/manage_customers.php @@ -0,0 +1,74 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("Manage Members"); + +$f1=new form('manage_customers.php','POST','customers','450',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForCustomer",'text','search','','24','150'); + +$option_values2=array('first_name','last_name','account_number','id'); +$option_titles2=array("$lang->firstName","$lang->lastName","$lang->accountNumber",'ID'); +$f1->createSelectField("$lang->searchBy",'searching_by',$option_values2,$option_titles2,100); + + +$f1->endForm(); + + +$tableheaders=array("$lang->rowID","$lang->lastName","$lang->firstName","$lang->phoneNumber","$lang->email","$lang->streetAddress","Update/Edit Member","Remove Member","Get User Info/Records"); +$tablefields=array('id','last_name','first_name','phone_number','email','street_address'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + $searching_by =$_POST['searching_by']; + echo "
$lang->searchedForItem: $search $lang->searchBy $searching_by
"; + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,"$searching_by","$search",'last_name'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,'','','last_name'); +} + + +$dbf->closeDBlink(); + + +?> + + diff --git a/customers/process_form_customers.php b/customers/process_form_customers.php new file mode 100755 index 0000000..05def82 --- /dev/null +++ b/customers/process_form_customers.php @@ -0,0 +1,111 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'customers'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['first_name']) and isset($_POST['last_name']) and isset($_POST['account_number']) + and isset($_POST['phone_number']) and isset($_POST['email']) and isset($_POST['street_address']) and isset($_POST['comments']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $first_name = $_POST['first_name']; + $last_name = $_POST['last_name']; + $account_number = $_POST['account_number']; + $phone_number = $_POST['phone_number']; + $email = $_POST['email']; + $street_address = $_POST['street_address']; + $comments = $_POST['comments']; + + + //insure all fields are filled in. + if($first_name=='' or $last_name=='' or $phone_number=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('first_name','last_name','account_number','phone_number','email','street_address','comments'); + $field_data=array("$first_name","$last_name","$account_number","$phone_number","$email","$street_address","$comments"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+Manage Members--> +
+Add a New Member--> + + diff --git a/docker/.Dockerfile.swp b/docker/.Dockerfile.swp new file mode 100644 index 0000000..9d8a9fc Binary files /dev/null and b/docker/.Dockerfile.swp differ diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..4266bcd --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,20 @@ +############# +# biketree # +############# +# Password is password for & + +# docker run -d --name bikebike --env VIRTUAL_HOST=bikebike.wvcompletestreets.org --expose 80 -v /home/freesource/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine + +FROM nginx:1.11-alpine + +MAINTAINER Jonathan Rosenbaum + +RUN rm -rf /usr/share/nginx/html; apk update; apk add git; apk add php5-mysql +RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html +COPY settings.php /usr/share/nginx/html +COPY default.conf /etc/nginx/conf.d +RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html +RUN chown -R nginx:nginx /var/www/html/images/ + +VOLUME /usr/share/nginx/html + diff --git a/docker/Dockerfile-fpm b/docker/Dockerfile-fpm new file mode 100644 index 0000000..9118dd9 --- /dev/null +++ b/docker/Dockerfile-fpm @@ -0,0 +1,16 @@ +############# +# biketree # +############# +# Password is password for & + +FROM php:5-fpm-alpine + +MAINTAINER Jonathan Rosenbaum + +# better hardwire www-data in the future in /etc/password +# and make sure nginx also starts with same user +RUN chown -R www-data:www-data /var/www/html; apk update; \ + apk add php5-mysql; \ + cp -a /etc/php5/* /usr/local/etc/php; \ + cp /usr/lib/php5/modules/mysql.so `php-config --extension-dir`/; \ + diff --git a/docker/codeforbikebike.tar.gz b/docker/codeforbikebike.tar.gz new file mode 100644 index 0000000..08c188c Binary files /dev/null and b/docker/codeforbikebike.tar.gz differ diff --git a/docker/default.conf b/docker/default.conf new file mode 100644 index 0000000..f855bff --- /dev/null +++ b/docker/default.conf @@ -0,0 +1,69 @@ +server { + listen 80; + #server_name localhost; + + #charset koi8-r; + #access_log /var/log/nginx/log/host.access.log main; + + location / { + root /var/www/html; + index index.php index.html index.htm; + } + + + # location ~ \.(gif)$ { + # root /var/www/html; + # } + + #error_page 404 /404.html; + + # redirect server error pages to the static page /50x.html + # + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + + # proxy the PHP scripts to Apache listening on 127.0.0.1:80 + # + #location ~ \.php$ { + # proxy_pass http://127.0.0.1; + #} + + # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 + # +# location ~ \.php$ { +#@ root html; +# fastcgi_pass fpm:9000; +# fastcgi_index index.php; +# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; +# include fastcgi_params; +# } + + + location ~ \.php$ { + fastcgi_split_path_info ^(.+\.php)(/.+)$; + fastcgi_pass fpm:9000; + fastcgi_index index.php; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name; + fastcgi_param PATH_INFO $fastcgi_path_info; + } + + +# location ~ \.php$ { +# fastcgi_pass fpm:9000; +# fastcgi_index index.php; +# include fastcgi_params; +# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; +# fastcgi_param HTTPS off; +# } + + # deny access to .htaccess files, if Apache's document root + # concurs with nginx's one + # + #location ~ /\.ht { + # deny all; + #} +} + diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..2dae29e --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,71 @@ +version: '2' + +# git clone https://github.com/fspc/biketree.git +# This compose file uses jrcs/letsencrypt-nginx-proxy-companion + +# using nginx-alpine +services: + biketree: + container_name: biketree + build: . + network_mode: "bridge" + #restart: always + environment: + - VIRTUAL_HOST=biketree.bikelover.org + - LETSENCRYPT_HOST=biketree.bikelover.org + - LETSENCRYPT_EMAIL="bike@bikelover.org" + links: + - fpm + volumes: + - fpm:/usr/share/nginx/html + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + + # https://hub.docker.com/_/php/ + fpm: + container_name: biketree-fpm + build: + context: ./ + dockerfile: Dockerfile-fpm + #image: php:5-fpm-alpine + network_mode: "bridge" + #restart: always + environment: + - PHP_INI_DIR=/etc/php/ + links: + - mysql + volumes: + - fpm:/var/www/html + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + + # https://hub.docker.com/_/mysql/ + mysql: + container_name: biketree-mysql + image: mysql:5.5 + network_mode: "bridge" + #restart: always + environment: + - MYSQL_ROOT_PASSWORD=whatever + - MYSQL_USER=biketree + - MYSQL_PASSWORD=password + - MYSQL_DATABASE=biketree + volumes: + - data:/var/lib/mysql + - ./sql:/docker-entrypoint-initdb.d + logging: + driver: "json-file" + options: + max-size: "10m" + max-file: "3" + +volumes: + data: + fpm: + diff --git a/docker/settings.php b/docker/settings.php new file mode 100755 index 0000000..c348a29 --- /dev/null +++ b/docker/settings.php @@ -0,0 +1,42 @@ + diff --git a/docker/sql/biketree.sql b/docker/sql/biketree.sql new file mode 100644 index 0000000..129bd4a --- /dev/null +++ b/docker/sql/biketree.sql @@ -0,0 +1,8368 @@ +-- phpMyAdmin SQL Dump +-- version 4.0.10.18 +-- https://www.phpmyadmin.net +-- +-- Host: localhost:3306 +-- Generation Time: Mar 10, 2017 at 01:34 AM +-- Server version: 5.6.35 +-- PHP Version: 5.6.30 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +-- +-- Database: `variousa_biketree` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `bikes` +-- + +CREATE TABLE IF NOT EXISTS `bikes` ( + `id` smallint(6) NOT NULL AUTO_INCREMENT, + `bikebrand` tinytext NOT NULL, + `bikemodel` mediumtext NOT NULL, + `bikecolor` tinytext NOT NULL, + `biketype` enum('newroad','10spd','8spdinternal','5spd','3spd','singlespeedcoaster','singlespeed','fixedgear','mountain','hybrid','chopper') NOT NULL DEFAULT '10spd', + `wheel` enum('20inch','22inch','24inch','26inch','26fractional','27inch','650','700') NOT NULL DEFAULT '27inch', + `frame` tinytext NOT NULL, + `bikestatus` enum('library','sale','repair') NOT NULL DEFAULT 'library', + `putinservice` date NOT NULL DEFAULT '0000-00-00', + `inrepair` date DEFAULT NULL, + `userID` smallint(6) NOT NULL, + `duedate` date DEFAULT NULL, + `retired` date DEFAULT NULL, + `notes` longtext, + `sold` binary(1) NOT NULL DEFAULT '0', + `saleID` smallint(6) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=58 ; + +-- +-- Dumping data for table `bikes` +-- + +INSERT INTO `bikes` (`id`, `bikebrand`, `bikemodel`, `bikecolor`, `biketype`, `wheel`, `frame`, `bikestatus`, `putinservice`, `inrepair`, `userID`, `duedate`, `retired`, `notes`, `sold`, `saleID`) VALUES +(1, 'Raleigh', 'Record', 'White/Blue', '10spd', '27inch', 'mixte', 'library', '2008-09-17', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(13, 'Free Spirit', 'Blazer', 'Black', 'mountain', '26inch', '18', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(2, 'Raleigh', 'Matterhorn', 'Red', 'hybrid', '26inch', '19', 'library', '2009-05-31', '0000-00-00', 0, NULL, '2009-07-27', 'This bike was stolen. We kept the deposit', '0', NULL), +(12, 'None', 'None', 'Blue', 'mountain', '26inch', '21', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(3, 'Rocky Mountain', 'Fusion', 'Silver', 'mountain', '26inch', '14', 'sale', '2008-09-20', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(4, 'Venture Mountaintour', 'Ridge Runner', 'red', 'mountain', '22inch', '23', 'library', '2008-09-20', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(5, 'Infinity', 'telluride', 'blue', 'mountain', '26inch', '15', 'library', '2008-09-22', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(6, 'Diamondback', 'BMX', 'Blue', 'singlespeed', '20inch', 'BMX', 'sale', '0000-00-00', NULL, 0, NULL, NULL, 'For Sale for $60 by Joseph G.', '0', NULL), +(7, 'pathfinder', 'canadiana', 'green', 'mountain', '26inch', '18', 'sale', '0000-00-00', NULL, 0, NULL, NULL, 'rdy to be sold. $50.00', '0', NULL), +(9, 'Giant', 'Boulder', 'blue and silver', 'mountain', '26inch', '14', 'sale', '0000-00-00', NULL, 0, NULL, NULL, '17$ worth of new parts added in the process of making it great\r\nThanks Mike!', '0', NULL), +(8, 'Apollo', 'Mixte', 'Blue', '10spd', '27inch', '15', 'sale', '0000-00-00', NULL, 0, NULL, NULL, 'Its all good. A nice bike. Sell for 80 bones. (Sold for 70 to make up for a membership that I failed to sale to una chica (Kirsten Wiren)', '0', NULL), +(10, 'Scott', 'MTN. Express', 'Black/Pink', 'mountain', '26inch', '16', 'sale', '0000-00-00', NULL, 0, NULL, NULL, 'was a library bike, but then stolen. ', '0', NULL), +(11, 'jk', 'jk', 'jk', 'newroad', '26fractional', '23', 'repair', '2009-03-13', '2009-03-13', 85, '2009-03-18', NULL, 'dsf', '0', NULL), +(14, 'North Country', '750', 'Teal', 'mountain', '24inch', '15', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(15, 'Raleigh', 'Sprite', 'Red', '5spd', '26inch', '20', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:RG103059\r\nbent downtube*', '0', NULL), +(16, 'Apollo', 'Kuuahara', 'Maroon', 'newroad', '26inch', '22', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'Brand new front tire was put on this bike\r\n\r\nserial number:850758424', '0', NULL), +(17, 'Raleigh', 'Sprite', 'Green', '10spd', '27inch', '22', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:993203', '0', NULL), +(18, 'Brentwood', 'City', 'Silver/Blue', '3spd', '26inch', '22', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'needs to be fized, and by that I mean fixed\r\nserial number:N076440X39S8874049', '0', NULL), +(19, 'Fila', 'Tahquitz', 'Purple', 'mountain', '26inch', '19', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'I emailed her on June 21st. Don''t forget to take her late fees off her deposit!\r\nserial number:A950500513', '0', NULL), +(20, 'Talisman', 'Prelude VI', 'Bronze', '5spd', '26inch', '22', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(21, 'Raleigh', 'Sprite', 'Green', '5spd', '26inch', '23', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(22, 'Eaton', 'none', 'Green', 'singlespeed', '26inch', '21', 'library', '2009-03-18', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:A5084340', '0', NULL), +(23, 'Apollo', 'None', 'Green', '10spd', '27inch', '22', 'library', '2009-04-28', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:22266', '0', NULL), +(24, 'tech', 'projectile', 'turquoise', 'hybrid', '26inch', '18', 'library', '2009-06-06', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(25, 'Miyata', 'Ninety', 'silver', 'newroad', '27inch', '51 cn', 'library', '2009-06-06', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(26, 'CCM', 'Tour Du Canada', 'blue and purple', 'newroad', '', '?', 'library', '2009-06-10', '0000-00-00', 0, NULL, '0000-00-00', 'May need repair. Check it out dude...', '0', NULL), +(27, 'Sekine', 'Mixt', 'Red', 'newroad', '', '?', 'library', '2009-06-10', '0000-00-00', 0, NULL, '0000-00-00', 'May need repairs. Check it out dude..\r\nserial number:FU04053', '0', NULL), +(28, 'Monarch', 'n/a', 'Red Apple', '5spd', '24inch', '18', 'library', '2009-06-11', '0000-00-00', 0, NULL, '2010-04-24', 'serial number:E090984', '0', NULL), +(29, 'Miyata', 'Ninety', 'Red Apple', 'newroad', '26inch', '22', 'library', '2009-06-11', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:M459516', '0', NULL), +(30, 'Butterfield & Robinson', 'Mistral', 'grey leopard', 'newroad', '700', '20', 'library', '2009-06-11', '0000-00-00', 0, NULL, '2009-12-16', 'sold for $50, was just a frame, brake, and crank', '0', NULL), +(31, 'Raleigh', 'none', 'electric blue', 'singlespeedcoaster', '22inch', '15', 'library', '2009-06-11', '0000-00-00', 0, NULL, '0000-00-00', 'cute small bike\r\nserial number: RH300290', '0', NULL), +(32, 'unknown', 'unknown', 'unknown', 'newroad', '', '?', 'library', '2009-06-21', '0000-00-00', 0, NULL, '0000-00-00', 'THis bike was leant out under the wrong number (#1) and the software isn''t accepting the number on the frame, so I''ve created a new number for it. Please put this new number on the frame, and input the information when its returned.', '0', NULL), +(33, 'unknown', 'unknown', 'unknown', 'newroad', '', '?', 'library', '2009-06-21', '0000-00-00', 0, NULL, '0000-00-00', 'THis bike was leant out under the wrong number (#1) and the software isn''t accepting the number on the frame, so I''ve created a new number for it. Please put this new number on the frame, and input the information when its returned.', '0', NULL), +(34, 'Specialized', 'Rock Hopper', 'Black', 'mountain', '26inch', '16', 'library', '2009-06-24', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(35, 'Savoy ', 'Titania', 'silver', 'mountain', '26inch', '18', 'library', '2009-06-24', '0000-00-00', 0, NULL, '0000-00-00', '-Built by Bike MIKE!!!!', '0', NULL), +(36, 'Myata ', '750 SR', 'blue', 'newroad', '700', '21', 'library', '2009-06-24', '0000-00-00', 0, NULL, '2010-04-24', '', '0', NULL), +(50, 'Manhattan', 'Green', 'Black', '3spd', '700', '16', 'library', '2010-04-24', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(37, 'Norco', 'Bigfoot', 'Blue', 'mountain', '26inch', '18', 'library', '2009-06-28', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(38, 'Sekine', 'Medialle', 'Red', 'hybrid', '27inch', '20', 'library', '2009-07-15', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(39, 'CCM', 'Marauder', 'Red', 'mountain', '26inch', '22', 'library', '2009-08-04', '0000-00-00', 0, NULL, '0000-00-00', 'serial number:BD08071', '0', NULL), +(40, 'Tech', 'xtc', 'White/Blue', 'mountain', '26fractional', '16', 'library', '2009-08-12', '0000-00-00', 0, NULL, '0000-00-00', 'serial number: H2A0026', '0', NULL), +(41, 'Raleigh', 'Century', 'red', 'mountain', '26inch', '18', 'library', '2009-08-17', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(49, 'Trailblazer', 'BRC', 'turquoise', 'hybrid', '27inch', '17', 'library', '2010-04-22', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(42, 'Apollo', 'Sport 10', 'Blue', '10spd', '27inch', '24', 'library', '2009-08-24', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(48, 'Free Spirit', 'Galaxy ', 'Blue', 'mountain', '26inch', '17', 'library', '2010-04-17', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(43, 'Precision', 'PR6030', 'Orange & Black', 'mountain', '26inch', '21', 'library', '2009-09-12', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(44, 'univeg', 'rover 305', 'blue', 'mountain', '26inch', '?', 'library', '2009-09-28', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(45, 'Super Cycle', 'Classic Cruiser', 'Red and white', 'hybrid', '26inch', '18', 'library', '2009-10-18', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(46, 'Fila', 'Telluride', 'Silver', 'mountain', '26inch', '18', 'library', '2009-10-29', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(47, 'Manhattan', 'Green', 'Black', '3spd', '700', '16', 'library', '2010-01-18', '0000-00-00', 0, NULL, '2010-02-22', '', '0', NULL), +(51, 'Manhattan', 'Green', 'Black', '3spd', '700', '17', 'library', '2010-04-24', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(52, 'Cruiser', 'with basket', 'Black', 'singlespeedcoaster', '650', '18', 'library', '2010-05-20', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(53, 'Supercycle', 'Commuter Six', 'Light blue', '5spd', '26inch', '19', 'library', '2010-06-08', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(54, 'Supercycle', 'no model', 'Tangerine', '10spd', '27inch', '19', 'library', '2010-06-15', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(55, 'Manhattan', 'Green', 'Black', '3spd', '700', '18', 'library', '2010-06-17', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(56, 'Sierra', 'Renegade', 'Black', 'mountain', '26inch', '17', 'library', '2010-06-17', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL), +(57, 'BRC', 'Columbus', 'Orange', 'mountain', '26inch', '22', 'library', '2010-06-25', '0000-00-00', 0, NULL, '0000-00-00', '', '0', NULL); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `books` +-- + +CREATE TABLE IF NOT EXISTS `books` ( + `listID` int(11) NOT NULL AUTO_INCREMENT, + `date` date NOT NULL DEFAULT '0000-00-00', + `event` int(15) DEFAULT NULL COMMENT '1=open,2=close,3=remainopen,4=deposit,4=payout', + `user` int(15) DEFAULT NULL, + `ammount` int(11) DEFAULT NULL, + `data` text, + PRIMARY KEY (`listID`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=196 ; + +-- +-- Dumping data for table `books` +-- + +INSERT INTO `books` (`listID`, `date`, `event`, `user`, `ammount`, `data`) VALUES +(85, '2009-03-13', 1, 2, 12300, '37'), +(86, '2009-03-13', 1, 2, 0, '0'), +(87, '2009-03-13', 2, 0, 0, '0'), +(88, '2009-03-13', 1, 5, 0, '13'), +(89, '2009-03-14', 1, 4, 47860, '50'), +(90, '2009-03-14', 1, 5, 49395, '0'), +(91, '2009-03-14', 2, 0, 49395, '0'), +(92, '2009-03-16', 1, 27, 49360, '13'), +(93, '2009-03-16', 1, 27, 49360, '12'), +(94, '2009-03-16', 1, 5, 58510, '0'), +(95, '2009-03-16', 2, 0, 58510, '0'), +(96, '2009-03-17', 1, 21, 56877, '2'), +(97, '2009-03-17', 1, 21, 57877, '0'), +(98, '2009-03-17', 2, 0, 57877, '0'), +(99, '2009-03-18', 1, 31, 59566, '49'), +(100, '2009-03-18', 5, 0, 8254, 'Godwin^Cleaning supplies, Water Flter, Coffee Press, Coffee Cream'), +(101, '2009-03-18', 1, 31, 52338, '0'), +(102, '2009-03-19', 1, 20, 52338, '13'), +(103, '2009-03-19', 5, 0, 2099, 'godwin^pizza! long thursday!'), +(104, '2009-03-19', 4, 0, 61200, 'jordan'), +(105, '2009-03-19', 1, 2, 61200, '0'), +(106, '2009-03-21', 1, 5, 43239, '50'), +(107, '2009-03-23', 1, 27, 65210, '12'), +(108, '2009-03-23', 1, 27, 72650, '0'), +(109, '2009-03-24', 1, 21, 72643, '123'), +(110, '2009-03-24', 4, 0, 40000, 'Me'), +(111, '2009-03-24', 1, 21, 33329, '0'), +(112, '2009-03-24', 2, 0, 33329, '0'), +(113, '2009-03-25', 1, 31, 33324, '49'), +(114, '2009-03-25', 1, 31, 35949, '0'), +(115, '2009-03-25', 2, 0, 35949, '0'), +(116, '2009-03-26', 1, 20, 35949, '37'), +(117, '2009-03-26', 4, 0, 34459, 'jordan'), +(118, '2009-03-28', 1, 4, 34448, '50'), +(119, '2009-03-28', 1, 4, 36917, '0'), +(120, '2009-03-30', 1, 21, 39617, '12'), +(121, '2009-03-30', 1, 21, 44617, '0'), +(122, '2009-03-30', 2, 0, 44617, '0'), +(123, '2009-03-30', 1, 21, 0, '13'), +(124, '2009-03-30', 2, 0, 0, '0'), +(125, '2009-03-31', 1, 27, 44725, '37'), +(126, '2009-03-31', 1, 27, 45650, '0'), +(127, '2009-04-01', 1, 31, 41717, '49'), +(128, '2009-04-01', 1, 31, 44717, '0'), +(129, '2009-04-01', 2, 0, 44717, '0'), +(130, '2009-04-02', 1, 20, 44717, '37'), +(131, '2009-04-02', 4, 0, 44717, 'jordan'), +(132, '2009-04-03', 1, 5, 44717, '37'), +(133, '2009-04-03', 1, 35, 45653, '0'), +(134, '2009-04-03', 2, 0, 45653, '0'), +(135, '2009-04-04', 1, 4, 45653, '50'), +(136, '2009-04-04', 5, 0, 500, 'Alex^photocopies & printing'), +(137, '2009-04-04', 1, 4, 53263, '0'), +(138, '2009-04-05', 1, 27, 53263, '118'), +(139, '2009-04-06', 1, 21, 59261, '12'), +(140, '2009-04-06', 1, 21, 68271, '0'), +(141, '2009-04-06', 2, 0, 68271, '0'), +(142, '2009-04-07', 1, 21, 68271, '13'), +(143, '2009-04-08', 1, 31, 50538, '49'), +(144, '2009-04-08', 1, 31, 53337, '0'), +(145, '2009-04-08', 2, 0, 53337, '0'), +(146, '2009-04-09', 1, 20, 53337, '37'), +(147, '2009-04-10', 1, 35, 58636, '37'), +(148, '2009-04-10', 1, 35, 60636, '0'), +(149, '2009-04-10', 2, 0, 60636, '0'), +(150, '2009-04-11', 1, 4, 61636, '50'), +(151, '2009-04-13', 1, 31, 63711, '12'), +(152, '2009-04-13', 5, 0, 723, 'Sarah^Electrical tape'), +(153, '2009-04-13', 2, 0, 62988, '0'), +(154, '2009-04-14', 1, 27, 62950, '123'), +(155, '2009-04-15', 1, 31, 62988, '49'), +(156, '2009-04-15', 1, 31, 67664, '0'), +(157, '2009-04-15', 2, 0, 67664, '0'), +(158, '2009-04-16', 1, 20, 67664, '13'), +(159, '2009-04-17', 1, 35, 72000, '37'), +(160, '2009-04-17', 1, 35, 73105, '0'), +(161, '2009-04-17', 2, 0, 73105, '0'), +(162, '2009-04-18', 1, 27, 0, '13'), +(163, '2009-04-20', 1, 21, 81200, '12'), +(164, '2009-04-20', 1, 21, 86200, '0'), +(165, '2009-04-20', 2, 0, 86200, '0'), +(166, '2009-04-20', 1, 21, 86200, '13'), +(167, '2009-04-20', 1, 21, 0, '0'), +(168, '2009-04-20', 2, 0, 0, '0'), +(169, '2009-04-21', 1, 5, 0, '13'), +(170, '2009-04-22', 1, 20, 40020, '13'), +(171, '2009-04-22', 4, 0, 52220, 'jordan'), +(172, '2009-04-22', 1, 20, 52220, '0'), +(173, '2009-04-23', 1, 30, 0, '13'), +(174, '2009-04-24', 1, 35, 63884, '49'), +(175, '2009-04-24', 1, 21, 71998, '0'), +(176, '2009-04-24', 2, 0, 71998, '0'), +(177, '2009-04-25', 1, 21, 71999, '13'), +(178, '2009-04-25', 1, 21, 82947, '0'), +(179, '2009-04-25', 2, 0, 82947, '0'), +(180, '2009-04-27', 1, 21, 81952, '13'), +(181, '2009-04-28', 1, 31, 37147, '13'), +(182, '2009-04-28', 1, 31, 41647, '0'), +(183, '2009-04-28', 2, 0, 41647, '0'), +(184, '2009-04-29', 1, 31, 41647, '13'), +(185, '2009-04-29', 1, 31, 56067, '0'), +(186, '2009-04-29', 2, 0, 56067, '0'), +(187, '2009-04-29', 1, 31, 56067, '13'), +(188, '2009-04-29', 1, 31, 50067, '0'), +(189, '2009-04-29', 2, 0, 50067, '0'), +(190, '2009-04-30', 1, 20, 50000, '37'), +(191, '2009-04-30', 1, 21, 65600, '0'), +(192, '2009-04-30', 2, 0, 65600, '0'), +(193, '2009-05-01', 1, 5, 0, '13'), +(194, '2009-05-28', 5, 0, 2000, 'Sarah Brandreth^Observatory fee'), +(195, '2009-06-06', 5, 0, 5500, 'Kelsey^food for volunteers doing bike pick up'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `brands` +-- + +CREATE TABLE IF NOT EXISTS `brands` ( + `brand` varchar(30) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains brands that items use to be more descriptive' AUTO_INCREMENT=15 ; + +-- +-- Dumping data for table `brands` +-- + +INSERT INTO `brands` (`brand`, `id`) VALUES +('Non-tangible Items', 1), +('Shimano', 2), +('American Cycle Systems (ACS)', 3), +('KK (karrimor?)', 4), +('Jagwire (JAG)', 5), +('Avid', 6), +('Panracer', 7), +('Kenda', 8), +('Axiom', 9), +('Bulk', 10), +('KMC', 11), +('Profile Design', 12), +('Co-op', 13), +('Bike Root', 14); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `categories` +-- + +CREATE TABLE IF NOT EXISTS `categories` ( + `category` varchar(30) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains categories that items use to be more descriptive' AUTO_INCREMENT=13 ; + +-- +-- Dumping data for table `categories` +-- + +INSERT INTO `categories` (`category`, `id`) VALUES +('Non-tangible Items', 1), +('New Bike Parts', 2), +('Used Bike Parts', 3), +('Tires', 4), +('Tubes', 5), +('Cassettes', 6), +('Single Speed Shit', 7), +('All Cables', 8), +('Brake Pads', 9), +('Chain', 10), +('Bike Info', 11), +('Merch', 12); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `customers` +-- + +CREATE TABLE IF NOT EXISTS `customers` ( + `first_name` varchar(75) NOT NULL DEFAULT '', + `last_name` varchar(75) NOT NULL DEFAULT '', + `account_number` varchar(10) NOT NULL DEFAULT '', + `phone_number` varchar(25) NOT NULL DEFAULT '', + `email` varchar(40) NOT NULL DEFAULT '', + `street_address` varchar(150) NOT NULL DEFAULT '', + `studentID` bigint(20) DEFAULT NULL, + `drivers` tinytext, + `cashdeposit` smallint(6) DEFAULT NULL, + `warnedonce` binary(1) NOT NULL DEFAULT '0', + `warnedtwice` binary(1) NOT NULL DEFAULT '0', + `banned` binary(1) NOT NULL DEFAULT '0', + `comments` blob NOT NULL, + `id` int(8) NOT NULL AUTO_INCREMENT, + `maillist1` binary(1) NOT NULL DEFAULT '0', + `maillist2` binary(1) NOT NULL DEFAULT '0', + `maillist3` binary(1) NOT NULL DEFAULT '0', + `membertype` enum('member','paidmechanic','paidgreaser','volunteer','uofcstaff','uofcstudent','uofccommunity','uofcvolunteer','uofcorganizer') NOT NULL DEFAULT 'member', + `waiver` binary(1) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Customer Info.' AUTO_INCREMENT=836 ; + +-- +-- Dumping data for table `customers` +-- + +INSERT INTO `customers` (`first_name`, `last_name`, `account_number`, `phone_number`, `email`, `street_address`, `studentID`, `drivers`, `cashdeposit`, `warnedonce`, `warnedtwice`, `banned`, `comments`, `id`, `maillist1`, `maillist2`, `maillist3`, `membertype`, `waiver`) VALUES +('Lance', 'Ayer', '', '123-456-7890', 'fakeemail@gmail.com', '123 Address Rd NW\r\nCalgary, Alberta\r\nT2N4C9', 0, '', 0, '0', '0', '0', 0x7374696e6b79, 49, '1', '1', '1', 'uofcorganizer', '1'), +('Kelsey', 'Lavoie', '', '123-456-7890', 'fakeemail@gmail.com', '123 Address Ave NW\r\nCalgary, AB\r\nT2N 1L1', 0, '', 0, '0', '0', '0', 0x766572792063757465, 17, '1', '1', '0', 'uofcorganizer', '1'), +('Finley', 'Brandreth', '', '123-456-7890', 'fakeemail@gmail.com', 'Address ave NW\r\nCalgary, AB\r\nT2N 1E5', 281542, '', 0, '0', '0', '0', '', 27, '1', '1', '1', 'uofcorganizer', '1'), +('Mark', 'Leigh', '', '', 'fakeemail@gmail.com', 'Address Ave NW\r\nCalgary, AB\r\nT2N 1A3', 0, '', 0, '0', '0', '0', 0x486520697320434f4f4c21, 85, '1', '0', '0', 'uofcorganizer', '1'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `discounts` +-- + +CREATE TABLE IF NOT EXISTS `discounts` ( + `item_id` int(8) NOT NULL DEFAULT '0', + `percent_off` varchar(60) NOT NULL DEFAULT '', + `comment` blob NOT NULL, + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='This table keeps track of item discounts' AUTO_INCREMENT=1 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `items` +-- + +CREATE TABLE IF NOT EXISTS `items` ( + `item_name` varchar(30) NOT NULL DEFAULT '', + `item_number` varchar(15) NOT NULL DEFAULT '', + `description` blob NOT NULL, + `brand_id` int(8) NOT NULL DEFAULT '0', + `category_id` int(8) NOT NULL DEFAULT '0', + `supplier_id` int(8) NOT NULL DEFAULT '0', + `buy_price` varchar(30) NOT NULL DEFAULT '', + `unit_price` varchar(30) NOT NULL DEFAULT '', + `supplier_catalogue_number` varchar(60) NOT NULL DEFAULT '', + `tax_percent` varchar(5) NOT NULL DEFAULT '', + `total_cost` varchar(40) NOT NULL DEFAULT '', + `quantity` int(8) NOT NULL DEFAULT '0', + `reorder_level` int(8) NOT NULL DEFAULT '0', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Item Info.' AUTO_INCREMENT=37 ; + +-- +-- Dumping data for table `items` +-- + +INSERT INTO `items` (`item_name`, `item_number`, `description`, `brand_id`, `category_id`, `supplier_id`, `buy_price`, `unit_price`, `supplier_catalogue_number`, `tax_percent`, `total_cost`, `quantity`, `reorder_level`, `id`) VALUES +('CO-OP MEMBERSHIP', '', '', 1, 1, 1, '0.00', '10.00', '', '0', '10.00', 2147482790, 0, 1), +('Cash Donation', '', '', 1, 1, 1, '0.00', '0.00', '', '0', '0.00', 2147483599, 0, 2), +('Maindrive Single Speed Hub, 16', '', '', 3, 7, 3, '6.33', '10.50', '255348-02', '0', '10.50', 7, 5, 4), +('Single Speed Conversion Kit', '', '', 4, 7, 3, '6.05', '10.00', '256013-01', '0', '10.00', 0, 2, 5), +('Road Bike Brake Cable', '', '', 5, 8, 3, '0.58', '1.00', '250185-02', '0', '1.00', 102, 25, 6), +('Mountain Bike Brake Cable', '', '', 5, 8, 3, '0.55', '1.00', '250185-01', '0', '1.00', 234, 25, 7), +('Shifter Cable', '', '', 5, 8, 3, '0.55', '1.00', '253662-02', '0', '1.00', 140, 25, 8), +('700x23/25C Tube', '', '', 9, 5, 3, '1.76', '3.00', '180371', '0', '3.00', 33, 10, 9), +('Tourney 6spd Cassete (14-28)', '', '', 2, 6, 3, '8.79', '14.50', '285441', '0', '14.50', 6, 2, 10), +('Cantilliever Brake Pads (pair)', '', '', 5, 9, 3, '1.32', '2.00', '250673-02', '0', '2.00', 32, 5, 11), +('Road Bike Brake Pads (pair)', '', '', 5, 9, 3, '1.27', '2.00', '250701-02', '0', '2.00', 28, 5, 12), +('Brake Housing Cable (per Meter', '', 0x504552204d45544552, 5, 8, 1, '0.20', '0.35', '250187', '0', '0.35', 105, 10, 13), +('7 Speed Cassette (CS-HG50)', '', '', 2, 6, 3, '12.38', '20.50', '285461', '0', '20.50', 0, 2, 14), +('V-Brake Pads (pair)', '', '', 6, 9, 3, '2.64', '4.50', '310405-02', '0', '4.50', 27, 5, 15), +('Tube - 27x1-1/4 or 1/8', '', '', 3, 8, 1, '2.00', '3.00', '160331', '0', '3.00', 47, 5, 16), +('9 Speed Cassette (HG-50)', '', '', 2, 6, 3, '15.95', '26.50', '285504', '0', '26.50', 8, 2, 17), +('HG-50 Chain (regular chain)', '', 0x312f3220627920332f3332202d20313136206c696e6b73, 2, 10, 3, '8.24', '13.50', '281092', '0', '13.50', 16, 5, 18), +('HG-53Chain (9 speed only)', '', 0x313136206c696e6b73, 2, 10, 3, '9.34', '15.50', '281092-01', '0', '15.50', 13, 3, 19), +('Mountain Bike Tire (26x2.1)', '', '', 7, 4, 3, '9.63', '16.00', '163925', '0', '16.00', 0, 2, 20), +('Mountain Bike Slick Tire (26x1', '', '', 8, 4, 3, '4.72', '7.50', '163871', '0', '7.50', 8, 2, 21), +('Shifter Housing Cable (per Met', '', 0x504552204d45544552, 5, 8, 3, '1.08', '1.75', '253664', '0', '1.75', 49, 10, 22), +('Mountain Bike Smoke Tire (26x2', '', '', 7, 4, 3, '9.63', '16.00', '163927', '0', '16.00', 5, 2, 23), +('Tube - 26x1.75 to 26x2.125', '', '', 9, 5, 3, '1.82', '3.00', '160313', '0', '3.00', 25, 5, 24), +('Tube - 26x1.75 to 26x2.125', '', '', 9, 5, 3, '1.54', '3.00', '160311', '0', '3.00', 116, 5, 25), +('Stradius Sport Tire (700x23)', '', '', 7, 4, 3, '9.63', '16.00', '163839-05', '0', '16.00', 5, 2, 26), +('---Used Parts---', '', 0x416e792075736564207061727473, 1, 3, 1, '0.00', '5.00', '', '0', '5.00', 9506, 0, 27), +('---Hold Deposit---', '', 0x4465706f736974206f6e206120616e20657870656e73697665206974656d20746f2062652070757263686173656420616e642074616b656e20686f6d652061742061206c6174657220646174652e, 1, 1, 1, '20.00', '20.00', '', '0', '20.00', 9993, 0, 28), +('---Refundable Deposit---', '', 0x4465706f736974206f6e20616e206974656d20746f2062652062726f75676874206261636b2061742061206c6174657220646174652e, 1, 1, 1, '20.00', '20.00', '', '0', '20.00', 9985, 0, 29), +('Z Freestyle Single Speed Chain', '', 0x312f3220627920312f38202d20313136206c696e6b73, 11, 10, 3, '13.59', '14.00', '', '0', '14.00', 84, 0, 30), +('Bar Tape', '', 0x526f61642048616e646c656261722054617065, 12, 2, 3, '7.00', '11.50', '', '0', '11.50', 14, 6, 31), +('27 inch tires', '', '', 8, 4, 3, '5.00', '10.00', '', '0', '10.00', 18, 38, 32), +('26 inch tires', '', '', 8, 4, 3, '5.00', '10.00', '', '0', '10.00', 27, 40, 33), +('Library Late Fees', '', '', 1, 1, 1, '0.00', '2.00', '', '0.00', '2.00', 964, 0, 34), +('Bike Path Map', '', 0x42696b652050617468204d6170206f662043616c67617279, 13, 11, 1, '2.00', '2.00', '', '0', '2.00', 9, 3, 35), +('Spoke Card', '', '', 14, 12, 1, '0.75', '1.00', '', '0', '1.00', 75, 10, 36); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `libraryloans` +-- + +CREATE TABLE IF NOT EXISTS `libraryloans` ( + `id` mediumint(9) NOT NULL AUTO_INCREMENT, + `userID` smallint(6) NOT NULL DEFAULT '0', + `bikeID` smallint(6) NOT NULL DEFAULT '0', + `bikeout` binary(1) NOT NULL DEFAULT '0', + `deposittaken` tinyblob NOT NULL, + `loandate` date NOT NULL DEFAULT '0000-00-00', + `duedate` date NOT NULL, + `returndate` date NOT NULL DEFAULT '0000-00-00', + `notes` longtext, + `latefees` smallint(6) DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=562 ; + +-- +-- Dumping data for table `libraryloans` +-- + +INSERT INTO `libraryloans` (`id`, `userID`, `bikeID`, `bikeout`, `deposittaken`, `loandate`, `duedate`, `returndate`, `notes`, `latefees`) VALUES +(1, 52, 3, '0', 0x302e3030, '2008-09-20', '2008-09-29', '2008-09-20', 'Drivers License ID:\r\nxxxxx-xxxxx-xxxxx (ONTARIO)\r\nSerial Number: T9210 0988', 0), +(2, 52, 3, '0', 0x302e3030, '2008-09-20', '2008-09-29', '2008-09-29', 'Drivers License ID: xxxxx-xxxxx-xxxxx (ONTARIO) Serial Number: T9210 0988', 0), +(3, 52, 3, '0', 0x302e3030, '2008-09-29', '2008-10-06', '2008-10-06', 'Drivers License ID:\r\nxxxxx-xxxxx-xxxxx (ONTARIO)\r\nSerial Number: T9210 0988', 0), +(4, 52, 3, '0', 0x3132332e3030, '2008-10-16', '2008-10-20', '2008-10-22', 'hnn', 0), +(5, 108, 1, '0', 0x32302e3030, '2008-10-22', '2008-10-23', '2008-10-23', 'returned and deposit given back', 0), +(6, 52, 3, '0', 0x302e3030, '2008-10-22', '2008-10-27', '2008-10-27', 'no fees owing', 0), +(7, 85, 1, '0', 0x31322e3030, '2009-03-13', '2009-03-13', '2009-03-13', '', 0), +(8, 156, 16, '0', 0x302e3030, '2009-03-30', '2009-03-31', '2009-03-31', 'Mark rules, treat him well.', 0), +(9, 190, 19, '0', 0x31302e3030, '2009-04-01', '2009-04-06', '2009-04-06', 'lock + lights', 0), +(10, 190, 19, '0', 0x302e3030, '2009-04-06', '2009-04-10', '2009-04-09', 'has renewed twice', 0), +(11, 204, 13, '0', 0x302e3030, '2009-04-08', '2009-04-08', '2009-04-08', '', 0), +(12, 204, 13, '0', 0x302e3030, '2009-04-08', '2009-04-12', '2009-04-13', '', 0), +(13, 190, 19, '0', 0x32302e3030, '2009-04-09', '2009-04-13', '2009-04-13', 'renewed twice', 0), +(14, 178, 15, '0', 0x32302e3030, '2009-04-10', '2009-04-14', '2009-04-16', '', 0), +(15, 190, 19, '0', 0x31302e3030, '2009-04-13', '2009-04-17', '2009-04-16', '4th times (a charm!) renewed', 0), +(16, 190, 19, '0', 0x302e3030, '2009-04-16', '2009-04-20', '2009-04-21', '', 0), +(17, 214, 21, '0', 0x32302e3030, '2009-04-18', '2009-04-25', '2009-04-25', 'not a student, lives in mission so I extended the due date._kelsey\r\n\r\nRenewed once -Lance', 0), +(18, 217, 15, '0', 0x32302e3030, '2009-04-20', '2009-04-24', '2009-04-28', 'Borrowing from us cuz her bike was stolen!', 0), +(19, 214, 21, '0', 0x32302e3030, '2009-04-25', '2009-04-29', '2009-04-28', 'renewed once', 0), +(20, 214, 21, '0', 0x302e3030, '2009-04-28', '2009-05-01', '2009-05-02', 'renewed twice', 0), +(21, 217, 15, '0', 0x32302e3030, '2009-04-28', '2009-05-01', '2009-05-01', 'Renewed once, $8 in late fees owing, was late because she didnt want to ride in the snowy weather!!', 0), +(22, 236, 16, '0', 0x32302e3030, '2009-04-29', '2009-05-02', '2009-04-29', '20.00 deposit', 0), +(23, 233, 20, '0', 0x32302e3030, '2009-04-29', '2009-05-05', '2009-04-29', '', 0), +(24, 233, 20, '0', 0x32302e3030, '2009-04-29', '2009-05-02', '2009-05-01', '', 0), +(25, 235, 23, '0', 0x32302e3030, '2009-04-29', '2009-05-02', '2009-04-29', 'Actually signed out bike #2 but system won''t let me sign that one out', 0), +(26, 234, 17, '0', 0x32302e3030, '2009-04-29', '2009-05-02', '2009-04-29', 'did not take bike #17, took one without a #', 0), +(27, 243, 23, '0', 0x32302e3030, '2009-05-02', '2009-05-09', '2009-05-09', '1 week loan\r\n\r\nI might have got the bike number wrong\r\n\r\nlock #122', 0), +(28, 250, 19, '0', 0x32302e3030, '2009-05-04', '2009-05-09', '2009-05-13', 'She returned this bike on time! She needs her deposit refunded by mail.', 0), +(29, 256, 22, '0', 0x32302e3030, '2009-05-06', '2009-05-13', '2009-05-13', 'This is actually bike #2 I believe (though due to the computer yelling at me I am starting to doubt myself..) but I couldn''t lend it out as bike #2. It''s the red Raleigh', 0), +(30, 243, 23, '0', 0x32302e3030, '2009-05-09', '2009-05-16', '2009-05-17', 'renewed once', 0), +(31, 97, 21, '0', 0x32302e3030, '2009-05-11', '2009-05-11', '2009-05-11', '', 0), +(32, 97, 21, '0', 0x32302e3030, '2009-05-11', '2009-05-16', '2009-05-16', '', 0), +(33, 256, 22, '0', 0x32302e3030, '2009-05-13', '2009-05-17', '2009-05-16', 'This is the red raleigh that says it is #2.', 0), +(34, 93, 16, '0', 0x302e3030, '2009-05-14', '2009-05-18', '2009-05-14', 'renewed once', 0), +(35, 277, 21, '0', 0x32302e3030, '2009-05-16', '2009-05-23', '2009-05-25', 'Amit owes $4 late fee and he is aware that he must pay because Godwin spoke to him.', 0), +(36, 284, 1, '0', 0x32302e3030, '2009-05-16', '2009-05-20', '2009-05-20', 'lock #160', 0), +(37, 272, 15, '0', 0x32302e3030, '2009-05-16', '2009-05-23', '2009-05-25', 'I might have gotten the bike number wrong. It is a red ladies frame with road tires.', 0), +(38, 243, 20, '0', 0x32302e3030, '2009-05-17', '2009-05-24', '2009-05-24', 'replace tires', 0), +(39, 293, 19, '0', 0x32302e3030, '2009-05-24', '2009-05-24', '2009-05-24', '', 0), +(40, 293, 19, '0', 0x32302e3030, '2009-05-24', '2009-05-29', '2009-05-28', '', 0), +(41, 277, 21, '0', 0x32302e3030, '2009-05-25', '2009-05-29', '2009-05-25', 'This loan has been extended. Amit owes $4 in late fees. He understands the charge because Godwin spoke to him', 0), +(42, 272, 15, '0', 0x32302e3030, '2009-05-25', '2009-05-29', '2009-05-31', '', 0), +(43, 303, 17, '0', 0x32302e3030, '2009-05-27', '2009-05-30', '2009-05-31', '', 0), +(44, 293, 19, '0', 0x32302e3030, '2009-05-28', '2009-06-01', '2009-06-04', 'Renewed once', 0), +(45, 306, 16, '0', 0x32302e3030, '2009-05-28', '2009-05-28', '2009-05-28', '', 0), +(46, 268, 16, '0', 0x32302e3030, '2009-05-28', '2009-06-01', '2009-06-03', 'First time', 0), +(47, 306, 12, '0', 0x32302e3030, '2009-05-28', '2009-05-28', '2009-05-28', 'First time', 0), +(48, 306, 12, '0', 0x32302e3030, '2009-05-28', '2009-06-01', '2009-06-03', 'Returned on time.', 0), +(49, 229, 1, '0', 0x32302e3030, '2009-05-30', '2009-05-31', '2009-06-01', 'To be returned tomorrow, rented with lock #80, under Emily Burtt''s name.', 0), +(50, 305, 4, '0', 0x32302e3030, '2009-05-30', '2009-06-02', '2009-06-03', 'derailer needs adjustment', 0), +(51, 309, 2, '0', 0x32302e3030, '2009-05-31', '2009-06-04', '2009-06-04', '', 0), +(52, 243, 20, '0', 0x32302e3030, '2009-05-31', '2009-06-04', '2009-06-03', '', 0), +(53, 288, 13, '0', 0x32302e3030, '2009-05-31', '2009-05-31', '2009-05-31', '', 0), +(54, 288, 13, '0', 0x32302e3030, '2009-05-31', '2009-06-04', '2009-06-03', 'front derailuer needs adjustment', 0), +(55, 303, 21, '0', 0x32302e3030, '2009-06-01', '2009-06-06', '2009-06-04', '', 0), +(56, 272, 15, '0', 0x32302e3030, '2009-06-01', '2009-06-05', '2009-06-04', '', 0), +(57, 243, 20, '0', 0x32302e3030, '2009-06-03', '2009-06-07', '2009-06-07', 'Lock number 26. Renewed 2nd term.', 0), +(58, 323, 17, '0', 0x302e3030, '2009-06-03', '2009-06-07', '2009-06-07', '', 0), +(59, 309, 2, '0', 0x32302e3030, '2009-06-04', '2009-06-08', '2009-06-10', 'Renewed once', 0), +(60, 325, 12, '0', 0x32302e3030, '2009-06-04', '2009-06-08', '2009-06-08', '', 0), +(61, 272, 15, '0', 0x32302e3030, '2009-06-04', '2009-06-08', '2009-06-10', 'First time renewed', 0), +(62, 147, 22, '0', 0x32302e3030, '2009-06-04', '2009-06-08', '2009-06-04', '', 0), +(63, 293, 19, '0', 0x32302e3030, '2009-06-04', '2009-06-06', '2009-06-06', 'brakes are squeaky', 0), +(64, 147, 22, '0', 0x32302e3030, '2009-06-04', '2009-06-08', '2009-06-09', 'Bike lock #353.', 0), +(65, 293, 19, '0', 0x32302e3030, '2009-06-06', '2009-06-13', '2009-06-27', '', 0), +(110, 383, 4, '0', 0x32302e3030, '2009-07-06', '2009-07-06', '2009-07-06', '', 0), +(66, 243, 20, '0', 0x32302e3030, '2009-06-07', '2009-06-11', '2009-06-11', 'Lock number 26. Renewed 3nd term.', 0), +(67, 323, 17, '0', 0x302e3030, '2009-06-07', '2009-06-11', '2009-06-20', 'Still have her health card, she''s planning on coming back Monday to trade it for a 20 bill\r\n\r\nThis is her first renew (she''s had it 4 days and will have it for another 4).', 0), +(68, 325, 12, '0', 0x32302e3030, '2009-06-08', '2009-06-08', '2009-06-08', 'renewed once for 1 week', 0), +(69, 325, 12, '0', 0x32302e3030, '2009-06-08', '2009-06-15', '2009-06-17', 'bike stolen', 0), +(70, 147, 22, '0', 0x32302e3030, '2009-06-09', '2009-06-15', '2009-06-15', '', 0), +(71, 309, 2, '0', 0x32302e3030, '2009-06-10', '2009-06-14', '2009-06-15', 'Renewed twice', 0), +(72, 209, 23, '0', 0x302e3030, '2009-06-10', '2009-06-14', '2009-06-14', 'With student ID. Lock number unknown.', 0), +(73, 334, 25, '0', 0x302e3030, '2009-06-10', '2009-06-14', '2009-06-14', 'With Student ID. Lock number unknown.', 0), +(74, 336, 14, '0', 0x32302e3030, '2009-06-11', '2009-06-18', '2009-06-13', '', 0), +(75, 337, 1, '0', 0x32302e3030, '2009-06-11', '2009-06-18', '2009-06-15', '', 0), +(76, 243, 20, '0', 0x32302e3030, '2009-06-11', '2009-06-18', '2009-06-17', '', 0), +(77, 340, 28, '0', 0x32302e3030, '2009-06-13', '2009-06-20', '2009-06-13', '', 0), +(78, 339, 28, '0', 0x32302e3030, '2009-06-13', '2009-06-20', '2009-06-20', '', 0), +(79, 13, 4, '0', 0x32302e3030, '2009-06-13', '2009-06-20', '2009-06-13', '', 0), +(80, 340, 4, '0', 0x32302e3030, '2009-06-13', '2009-06-20', '2009-06-20', '', 0), +(81, 345, 14, '0', 0x32302e3030, '2009-06-13', '2009-06-20', '2009-06-20', '', 0), +(82, 334, 25, '0', 0x302e3030, '2009-06-14', '2009-06-21', '2009-06-21', 'Lock #127', 0), +(83, 353, 22, '0', 0x32302e3030, '2009-06-15', '2009-06-15', '2009-06-15', '', 0), +(84, 353, 22, '0', 0x32302e3030, '2009-06-15', '2009-06-22', '2009-06-22', '', 0), +(85, 23, 29, '0', 0x32302e3030, '2009-06-18', '2009-06-25', '2009-06-22', '', 0), +(86, 80, 16, '0', 0x32302e3030, '2009-06-18', '2009-06-25', '2009-07-02', '', 0), +(87, 345, 14, '0', 0x32302e3030, '2009-06-20', '2009-06-27', '2009-06-27', 'Second renew.', 0), +(88, 337, 1, '0', 0x32302e3030, '2009-06-20', '2009-06-27', '2009-06-21', 'Actually #18. Lock 65.', 0), +(89, 339, 4, '0', 0x32302e3030, '2009-06-20', '2009-06-27', '2009-06-27', '', 0), +(90, 340, 2, '0', 0x32302e3030, '2009-06-20', '2009-06-27', '2009-06-27', '', 0), +(91, 337, 32, '0', 0x32302e3030, '2009-06-21', '2009-06-27', '2009-06-27', 'I created a new number for this bike because #18 isn''t working. Please enter the details when we get the bike back.\r\n~kelsey', 0), +(92, 334, 25, '0', 0x302e3030, '2009-06-21', '2009-06-28', '2009-06-29', '', 0), +(93, 353, 22, '0', 0x32302e3030, '2009-06-22', '2009-06-29', '2009-06-29', '', 0), +(102, 383, 4, '0', 0x32302e3030, '2009-06-29', '2009-07-06', '2009-07-06', '', 0), +(94, 369, 28, '0', 0x32302e3030, '2009-06-22', '2009-06-29', '2009-06-29', '', 0), +(95, 368, 17, '0', 0x32302e3030, '2009-06-22', '2009-06-29', '2009-06-29', '', 0), +(96, 268, 26, '0', 0x32302e3030, '2009-06-24', '2009-07-01', '2009-07-06', '', 0), +(97, 359, 24, '0', 0x32302e3030, '2009-06-25', '2009-07-02', '2009-07-02', 'Renewed once', 0), +(98, 376, 34, '0', 0x302e3030, '2009-06-26', '2009-07-10', '2009-08-12', '', 0), +(99, 345, 14, '0', 0x32302e3030, '2009-06-27', '2009-06-04', '2009-06-27', 'renewed.', 0), +(100, 345, 14, '0', 0x32302e3030, '2009-06-27', '2009-07-04', '2009-07-04', 'Renewed.', 0), +(101, 337, 32, '0', 0x32302e3030, '2009-06-27', '2009-07-04', '2009-07-04', '', 0), +(103, 384, 2, '0', 0x32302e3030, '2009-06-29', '2009-07-06', '2009-07-06', 'no lights.', 0), +(104, 80, 16, '0', 0x32302e3030, '2009-07-02', '2009-07-02', '2009-07-02', 'renewed once', 0), +(105, 209, 15, '0', 0x302e3030, '2009-07-02', '2009-07-09', '2009-07-13', '', 0), +(106, 117, 16, '0', 0x32302e3030, '2009-07-02', '2009-07-05', '2009-07-02', 'renewed once', 0), +(107, 359, 24, '0', 0x32302e3030, '2009-07-02', '2009-07-09', '2009-07-13', '', 0), +(108, 80, 16, '0', 0x32302e3030, '2009-07-02', '2009-07-05', '2009-07-08', 'renewed once', 0), +(109, 296, 19, '0', 0x32302e3030, '2009-07-04', '2009-07-11', '2009-07-11', 'Lock #176. No lights.', 0), +(111, 383, 4, '0', 0x32302e3030, '2009-07-06', '2009-07-13', '2009-07-13', '', 0), +(112, 391, 28, '0', 0x32302e3030, '2009-07-06', '2009-07-13', '2009-07-11', '', 0), +(113, 49, 2, '0', 0x302e3030, '2009-07-08', '2009-07-15', '2009-07-15', '', 0), +(114, 337, 18, '0', 0x32302e3030, '2009-07-08', '2009-07-15', '2009-07-15', 'We''ve been keeping her 20, it''s in the envelope. No renewals yet. Took lights and lock (key #80). Signed out by Godwin.', 0), +(115, 297, 20, '0', 0x32302e3030, '2009-07-09', '2009-07-16', '2009-07-15', '', 0), +(116, 334, 25, '0', 0x32302e3030, '2009-07-11', '2009-07-18', '2009-07-29', 'This is a renewal', 0), +(117, 296, 1, '0', 0x32302e3030, '2009-07-11', '2009-07-18', '2009-07-18', 'lock 176 no lights', 0), +(118, 209, 29, '0', 0x302e3030, '2009-07-13', '2009-07-20', '2009-07-20', '', 0), +(119, 359, 24, '0', 0x32302e3030, '2009-07-13', '2009-07-20', '2009-07-15', '2nd time', 0), +(120, 359, 24, '0', 0x32302e3030, '2009-07-15', '2009-07-22', '2009-07-20', '2nd time', 0), +(121, 256, 2, '0', 0x32302e3030, '2009-07-15', '2009-07-22', '2009-07-15', '', 0), +(122, 80, 16, '0', 0x32302e3030, '2009-07-15', '2009-07-22', '2009-07-22', 'Second time he renews', 0), +(123, 297, 19, '0', 0x32302e3030, '2009-07-16', '2009-07-23', '2009-07-22', 'lock 338. with lights and bell.', 0), +(124, 306, 37, '0', 0x32302e3030, '2009-07-18', '2009-07-18', '2009-07-18', '', 0), +(125, 306, 37, '0', 0x32302e3030, '2009-07-18', '2009-07-25', '2009-07-23', '', 0), +(126, 391, 38, '0', 0x32302e3030, '2009-07-18', '2009-07-25', '2009-07-25', '', 0), +(127, 209, 29, '0', 0x32302e3030, '2009-07-20', '2009-07-27', '2009-07-27', '', 0), +(128, 348, 24, '0', 0x32302e3030, '2009-07-20', '2009-07-27', '2009-08-01', '3rd time', 0), +(129, 405, 15, '0', 0x302e3030, '2009-07-20', '2009-07-28', '2009-07-27', '', 0), +(130, 404, 28, '0', 0x302e3030, '2009-07-20', '2009-07-20', '2009-07-20', 'shared deposit with sean ryan', 0), +(131, 404, 28, '0', 0x6865616c7468636172652063617264, '2009-07-20', '2009-07-20', '2009-07-20', 'shared deposit with sean ryan', 0), +(132, 404, 28, '0', 0x6865616c7468636172652063617264, '2009-07-20', '2009-07-28', '2009-07-27', '', 0), +(133, 80, 16, '0', 0x3230, '2009-07-22', '2009-07-29', '2009-07-29', '', 0), +(134, 256, 2, '0', 0x3230, '2009-07-22', '2009-07-29', '2009-07-27', 'Renewed once', 0), +(135, 297, 19, '0', 0x32302e3030, '2009-07-22', '2009-07-29', '2009-08-01', 'Renewed once', 0), +(136, 410, 21, '0', 0x3230, '2009-07-25', '2009-08-01', '2009-08-01', '', 0), +(137, 348, 26, '0', 0x32302e3030, '2009-07-26', '2009-07-30', '2009-07-26', 'plans to renew bike \r\nhas lock number 198\r\n', 0), +(138, 411, 26, '0', 0x32302e3030, '2009-07-26', '2009-07-30', '2009-07-30', 'plans to renew bike\r\nhas lock number 198', 0), +(139, 209, 23, '0', 0x73747564656e742063617264, '2009-07-27', '2009-08-04', '2009-08-05', '', 0), +(140, 405, 15, '0', 0x32302e3030, '2009-07-27', '2009-08-05', '2009-08-06', '', 0), +(141, 404, 37, '0', 0x32302e3030, '2009-07-27', '2009-08-05', '2009-08-06', '2nd renewal', 0), +(142, 334, 25, '0', 0x3230, '2009-07-29', '2009-08-05', '2009-08-05', 'Renewed twice,\r\nlock 254(?)\r\nShe paid late fees', 0), +(143, 411, 26, '0', 0x3230, '2009-07-30', '2009-08-06', '2009-08-06', 'renewed.\r\nhas lock number 198', 0), +(144, 416, 1, '0', 0x3230, '2009-08-01', '2009-08-08', '2009-08-08', '', 0), +(145, 384, 24, '0', 0x3230, '2009-08-01', '2009-08-08', '2009-08-06', 'I might have put in the wrong bike number. I''m really sorry.\r\n\r\n-Alex', 0), +(146, 334, 27, '0', 0x3230, '2009-08-05', '2009-08-12', '2009-08-06', '', 0), +(147, 209, 29, '0', 0x3230, '2009-08-05', '2009-08-12', '2009-08-22', 'Has NOT paid fees on bike yet, will pay at a later date...bike was returned on August 17 after shop closed', 0), +(148, 334, 25, '0', 0x3230, '2009-08-06', '2009-08-13', '2009-08-13', '', 0), +(149, 404, 37, '0', 0x3230, '2009-08-06', '2009-08-13', '2009-08-13', '', 0), +(150, 405, 4, '0', 0x3230, '2009-08-06', '2009-08-13', '2009-08-13', '', 0), +(151, 411, 26, '0', 0x3230, '2009-08-06', '2009-08-13', '2009-08-13', 'lock 198 ', 0), +(152, 416, 1, '0', 0x3230, '2009-08-08', '2009-08-15', '2009-08-15', 'Renewal', 0), +(153, 383, 20, '0', 0x3230, '2009-08-10', '2009-08-17', '2009-08-17', '', 0), +(154, 85, 31, '0', 0x6e6f6e65, '2009-08-11', '2009-08-19', '2009-08-22', 'i don''t trust this guy\r\n~kelsey', 0), +(155, 118, 21, '0', 0x30, '2009-08-13', '2009-08-13', '2009-08-13', 'Ellie is taking out two bikes for her parents and will return them later today!', 0), +(156, 118, 28, '0', 0x30, '2009-08-13', '2009-08-13', '2009-08-13', 'Ellie is taking out two bikes for her parents and will return them later today!', 0), +(157, 404, 37, '0', 0x32302e3030, '2009-08-13', '2009-08-20', '2009-08-20', '', 0), +(158, 405, 4, '0', 0x32302e3030, '2009-08-13', '2009-08-20', '2009-08-20', '', 0), +(159, 334, 25, '0', 0x3230, '2009-08-13', '2009-08-20', '2009-08-20', '', 0), +(160, 411, 26, '0', 0x3230, '2009-08-13', '2009-08-20', '2009-08-20', 'lock 198', 0), +(161, 383, 20, '0', 0x3230, '2009-08-17', '2009-08-24', '2009-08-24', 'Renewed once', 0), +(162, 369, 24, '0', 0x32302e3030, '2009-08-20', '2009-08-27', '2009-08-29', '', 0), +(163, 405, 4, '0', 0x3230, '2009-08-20', '2009-08-27', '2009-09-03', '', 0), +(164, 404, 37, '0', 0x3230, '2009-08-20', '2009-08-27', '2009-09-03', 'lock 198', 0), +(165, 98, 1, '0', 0x32302e3030, '2009-08-22', '2009-08-29', '2009-08-24', '', 0), +(166, 98, 25, '0', 0x32302e3030, '2009-08-22', '2009-08-29', '2009-08-22', '', 0), +(167, 98, 21, '0', 0x32302e3030, '2009-08-22', '2009-08-29', '2009-08-24', '', 0), +(168, 4, 31, '0', 0x6e6f6e65, '2009-08-22', '2009-08-29', '2009-08-29', '', 0), +(169, 359, 19, '0', 0x32302e3030, '2009-08-24', '2009-08-31', '2009-09-03', '', 0), +(170, 383, 22, '0', 0x3230, '2009-08-24', '2009-08-31', '2009-08-27', '', 0), +(171, 436, 27, '0', 0x3230, '2009-08-27', '2009-08-27', '2009-08-27', '', 0), +(172, 383, 22, '0', 0x3230, '2009-08-27', '2009-08-27', '2009-08-27', '', 0), +(173, 337, 17, '0', 0x3230, '2009-08-27', '2009-09-03', '2009-09-03', '', 0), +(174, 383, 22, '0', 0x3230, '2009-08-27', '2009-09-23', '2009-09-03', '', 0), +(175, 436, 27, '0', 0x3230, '2009-08-27', '2009-09-03', '2009-09-03', '', 0), +(176, 438, 40, '0', 0x32302e3030, '2009-08-29', '2009-08-29', '2009-08-29', '', 0), +(177, 438, 40, '0', 0x32302e3030, '2009-08-29', '2009-09-05', '2009-09-13', '', 0), +(178, 405, 4, '0', 0x3230, '2009-09-03', '2009-09-10', '2009-09-10', 'renewed thrice', 0), +(179, 404, 37, '0', 0x3230, '2009-09-03', '2009-09-10', '2009-09-10', 'lock 198\r\n\r\nrenewed twice', 0), +(180, 383, 39, '0', 0x3230, '2009-09-03', '2009-09-10', '2009-09-10', '', 0), +(181, 359, 24, '0', 0x3230, '2009-09-03', '2009-09-10', '2009-09-12', '', 0), +(182, 441, 29, '0', 0x3230, '2009-09-03', '2009-09-10', '2009-09-10', '', 0), +(183, 443, 21, '0', 0x32302e3030, '2009-09-05', '2009-09-12', '2009-09-12', '', 0), +(184, 444, 31, '0', 0x32302e3030, '2009-09-05', '2009-09-12', '2009-09-12', '', 0), +(185, 451, 41, '0', 0x3230, '2009-09-08', '2009-09-15', '2009-09-15', 'Has lights and lock.\r\nGodwin.', 0), +(186, 449, 22, '0', 0x30, '2009-09-08', '2009-09-15', '2009-09-15', 'Gave student ID for now but is going to trade it for money. Has lights and lock. This is the green Eaton''s single-speed.\r\nGodwin.', 0), +(187, 441, 29, '0', 0x3230, '2009-09-10', '2009-09-17', '2009-09-17', '', 0), +(188, 383, 39, '0', 0x3230, '2009-09-10', '2009-09-17', '2009-09-10', '', 0), +(189, 455, 23, '0', 0x3230, '2009-09-10', '2009-09-16', '2009-09-15', '', 0), +(190, 405, 4, '0', 0x3230, '2009-09-10', '2009-09-17', '2009-09-17', 'renewed thrice', 0), +(191, 404, 37, '0', 0x3230, '2009-09-10', '2009-09-17', '2009-09-17', 'renewed thrice', 0), +(192, 443, 21, '0', 0x3230, '2009-09-12', '2009-09-19', '2009-09-19', '', 0), +(193, 359, 24, '0', 0x3230, '2009-09-12', '2009-09-19', '2009-09-16', '', 0), +(194, 451, 41, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-23', 'renewal.', 0), +(195, 472, 25, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-19', '', 0), +(196, 449, 22, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-17', '', 0), +(197, 345, 14, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-21', '', 0), +(198, 325, 18, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-22', '', 0), +(199, 473, 23, '0', 0x3230, '2009-09-15', '2009-09-22', '2009-09-22', '', 0), +(200, 359, 24, '0', 0x3230, '2009-09-16', '2009-09-26', '2009-09-26', '', 0), +(201, 485, 15, '0', '', '2009-09-16', '2009-09-23', '2009-09-23', 'We gave Sara head and tail lights, and a lock. Andrew administered the shit outta this one. Lets hope he done did good. ', 0), +(202, 487, 17, '0', 0x3230, '2009-09-17', '2009-09-17', '2009-09-24', '', 0), +(203, 405, 4, '0', 0x3230, '2009-09-17', '2009-09-24', '2009-09-24', 'renewed 4 times!', 0), +(204, 404, 37, '0', 0x3230, '2009-09-17', '2009-09-23', '2009-09-24', 'renewed 4 times', 0), +(205, 443, 21, '0', 0x32302e3030, '2009-09-19', '2009-09-27', '2009-09-26', 'renewed the same bike because it was the only one in at the time that fit', 0), +(206, 449, 43, '0', 0x3230, '2009-09-22', '2009-09-29', '2009-09-29', 'awesome\r\nlib. lock and lights\r\npatrick', 0), +(207, 325, 18, '0', 0x3230, '2009-09-22', '2009-09-29', '2009-09-30', 'This is a renew\r\n(godwin)', 0), +(208, 503, 25, '0', 0x3230, '2009-09-22', '2009-09-29', '2009-09-26', 'Has lock and lights\r\ngodwin.', 0), +(209, 451, 39, '0', 0x3230, '2009-09-23', '2009-09-30', '2009-09-30', '', 0), +(210, 508, 23, '0', 0x3230, '2009-09-23', '2009-09-30', '2009-10-05', 'Did not take this bike, took the Blue mtn bike', 0), +(211, 487, 17, '0', 0x3230, '2009-09-24', '2009-10-30', '2009-09-24', '', 0), +(212, 487, 17, '0', 0x3230, '2009-09-24', '2009-10-01', '2009-10-05', '', 0), +(213, 404, 37, '0', 0x3230, '2009-09-24', '2009-10-01', '2009-10-01', '', 0), +(214, 405, 4, '0', 0x3230, '2009-09-24', '2009-10-01', '2009-10-01', '', 0), +(215, 334, 27, '0', 0x3230, '2009-09-24', '2009-10-01', '2009-10-01', '', 0), +(216, 512, 40, '0', 0x32302e3030, '2009-09-26', '2009-10-03', '2009-10-02', '', 0), +(217, 511, 19, '0', 0x32302e3030, '2009-09-26', '2009-09-26', '2009-09-26', '', 0), +(218, 511, 19, '0', 0x32302e3030, '2009-09-26', '2009-10-03', '2009-10-02', '', 0), +(219, 359, 16, '0', 0x32302e3030, '2009-09-26', '2009-10-03', '2009-10-01', 'may not be the number she actually has...it said 19 on the loan form but 19 was in the tent and there was no record of her having returned it', 0), +(220, 443, 21, '0', 0x32302e3030, '2009-09-26', '2009-10-03', '2009-10-03', '', 0), +(221, 492, 20, '0', 0x3230, '2009-09-29', '2009-10-06', '2009-10-08', 'This is a renewal', 0), +(222, 515, 44, '0', 0x3230, '2009-09-29', '2009-10-05', '2009-10-05', '', 0), +(223, 513, 42, '0', 0x3230, '2009-09-29', '2009-10-03', '2009-10-03', '', 0), +(224, 499, 15, '0', 0x35, '2009-09-29', '2009-10-01', '2009-09-29', '', 0), +(225, 461, 31, '0', 0x3230, '2009-09-29', '2009-10-06', '2009-09-29', '', 0), +(226, 449, 31, '0', 0x3230, '2009-09-29', '2009-10-06', '2009-10-06', '', 0), +(227, 516, 41, '0', 0x3230, '2009-09-29', '2009-10-06', '2009-10-05', '', 0), +(228, 451, 39, '0', 0x3230, '2009-09-30', '2009-10-06', '2009-10-06', 'renewal of bike w/ lights and lock.', 0), +(229, 334, 25, '0', 0x3230, '2009-10-01', '2009-10-01', '2009-10-01', '', 0), +(230, 334, 25, '0', 0x3230, '2009-10-01', '2009-10-08', '2009-10-10', '', 0), +(231, 359, 16, '0', 0x3230, '2009-10-01', '2009-10-10', '2009-10-08', 'may actually have #24. some confusion on the form and on the computer. whoooohh', 0), +(232, 512, 40, '0', 0x3230, '2009-10-02', '2009-10-09', '2009-10-09', 'lock and lights.\r\nrenewal.\r\ngodwin.', 0), +(233, 511, 19, '0', 0x3230, '2009-10-02', '2009-10-09', '2009-10-09', 'lock and lights\r\nrenewal\r\ngodwin', 0), +(234, 513, 42, '0', 0x3230, '2009-10-03', '2009-10-10', '2009-10-09', '', 0), +(235, 443, 21, '0', 0x3230, '2009-10-03', '2009-10-10', '2009-10-10', '', 0), +(236, 528, 14, '0', 0x3230, '2009-10-05', '2009-10-12', '2009-10-09', '', 0), +(237, 527, 17, '0', 0x3230, '2009-10-05', '2009-10-12', '2009-10-06', 'signed out another bike too. don''t have the # for that one though... long story. just fudge it when they come back. ', 0), +(238, 515, 44, '0', 0x3230, '2009-10-05', '2009-10-12', '2009-10-26', '', 0), +(239, 516, 41, '0', 0x3230, '2009-10-05', '2009-10-12', '2009-10-26', '', 0), +(240, 449, 31, '0', 0x3230, '2009-10-06', '2009-10-13', '2009-10-13', '', 0), +(241, 508, 12, '0', 0x3230, '2009-10-07', '2009-10-14', '2009-10-19', 'light and lock included with ride - MARK MC signed this bike out.\r\n+ RENEWAL', 0), +(242, 492, 22, '0', 0x32302e3030, '2009-10-08', '2009-10-15', '2009-10-15', 'Adam', 0), +(243, 359, 16, '0', 0x32302e3030, '2009-10-08', '2009-10-15', '2009-10-15', 'Renewed as #16 but may be a different bike\r\nOld form used.\r\nAdam', 0), +(244, 80, 27, '0', 0x3230, '2009-10-08', '2009-10-15', '2009-10-15', 'actually has #16 due to clusterfuck of library bike loans. :)', 0), +(245, 461, 42, '0', 0x3230, '2009-10-09', '2009-10-16', '2009-10-16', '', 0), +(246, 449, 31, '0', 0x3230, '2009-10-13', '2009-10-20', '2009-10-22', '', 0), +(247, 461, 16, '0', 0x3230, '2009-10-15', '2009-10-22', '2009-10-26', 'probably #24 but signed out as 16', 0), +(248, 492, 22, '0', 0x3230, '2009-10-15', '2009-10-22', '2009-10-22', '', 0), +(249, 80, 27, '0', 0x3230, '2009-10-15', '2009-10-22', '2009-10-26', '', 0), +(250, 461, 42, '0', 0x32302e3030, '2009-10-16', '2009-10-23', '2009-10-24', 'Rental extended by one week (2nd renewal) OK''d', 0), +(251, 334, 25, '0', 0x3230, '2009-10-17', '2009-10-24', '2009-10-31', '', 0), +(252, 541, 14, '0', 0x3230, '2009-10-20', '2009-10-27', '2009-10-28', 'lock122', 0), +(253, 538, 40, '0', 0x3230, '2009-10-20', '2009-10-27', '2009-10-27', 'lock 155, with lights', 0), +(254, 449, 31, '0', 0x32302e3030, '2009-10-22', '2009-10-27', '2009-10-27', 'Late and granted a second extension on the bike. $4 late fees was not assessed at the time of the extension. Collect when he returns?\r\nAdam H', 0), +(255, 492, 38, '0', 0x3230, '2009-10-22', '2009-10-28', '2009-10-22', '', 0), +(256, 492, 38, '0', 0x3230, '2009-10-22', '2009-10-28', '2009-11-02', '', 0), +(257, 515, 44, '0', 0x3230, '2009-10-26', '2009-11-09', '2009-11-09', 'bg', 0), +(258, 516, 41, '0', 0x3230, '2009-10-26', '2009-11-09', '2009-11-09', 'bg', 0), +(259, 469, 24, '0', 0x30, '2009-10-26', '2009-11-09', '2009-11-09', 'bg', 0), +(260, 538, 40, '0', 0x3230, '2009-10-27', '2009-11-30', '2009-10-27', '', 0), +(261, 538, 40, '0', 0x3230, '2009-10-27', '2009-11-03', '2009-11-03', '', 0), +(262, 508, 12, '0', 0x3230, '2009-10-28', '2009-10-28', '2009-10-28', '', 0), +(263, 508, 12, '0', 0x3230, '2009-10-28', '2009-11-04', '2009-11-09', 'borrowed: oct. 28\r\nrenewed:', 0), +(264, 541, 14, '0', 0x3230, '2009-10-28', '2009-11-04', '2009-11-04', 'renewed: oct 28', 0), +(265, 516, 46, '0', 0x3230, '2009-10-29', '2009-11-05', '2009-10-29', '', 0), +(266, 516, 46, '0', 0x32302e3030, '2009-10-29', '2009-11-09', '2009-11-09', '', 0), +(267, 492, 38, '0', 0x3230, '2009-11-02', '2009-11-05', '2009-11-05', 'renewed: oct 27', 0), +(268, 451, 39, '0', 0x3230, '2009-11-03', '2009-11-10', '2009-11-10', '', 0), +(269, 552, 31, '0', 0x3135, '2009-11-03', '2009-11-10', '2009-11-03', '', 0), +(270, 552, 31, '0', 0x3135, '2009-11-03', '2009-11-10', '2009-11-17', 'no lock, has own', 0), +(271, 541, 43, '0', 0x32302e3030, '2009-11-04', '2009-11-11', '2009-11-10', '', 0), +(272, 492, 38, '0', 0x3230, '2009-11-05', '2009-11-12', '2009-11-14', '', 0), +(273, 508, 12, '0', 0x3230, '2009-11-09', '2009-11-12', '2009-11-17', '', 0), +(274, 515, 44, '0', 0x3230, '2009-11-09', '2009-11-23', '2009-11-23', '', 0), +(275, 516, 41, '0', 0x3230, '2009-11-09', '2009-11-23', '2009-11-23', '', 0), +(276, 451, 39, '0', 0x3230, '2009-11-10', '2009-11-17', '2009-11-18', '', 0), +(277, 538, 16, '0', 0x3230, '2009-11-10', '2009-11-17', '2009-11-17', '', 0), +(278, 492, 38, '0', 0x3230, '2009-11-14', '2009-11-14', '2009-11-14', '', 0), +(279, 492, 38, '0', 0x3230, '2009-11-14', '2009-11-21', '2009-11-20', '', 0), +(280, 541, 14, '0', 0x3230, '2009-11-16', '2009-11-16', '2009-11-16', '', 0), +(281, 541, 14, '0', 0x3230, '2009-11-16', '2009-11-30', '2009-12-02', 'bg', 0), +(282, 552, 31, '0', 0x3230, '2009-11-17', '2009-11-24', '2009-11-19', 'no lock, has own', 0), +(283, 538, 16, '0', 0x3230, '2009-11-17', '2009-11-24', '2009-11-24', '', 0), +(284, 562, 27, '0', 0x3230, '2009-11-18', '2009-11-25', '2009-11-25', '', 0), +(285, 561, 25, '0', 0x3230, '2009-11-18', '2009-11-25', '2009-11-25', '', 0), +(286, 451, 39, '0', 0x3230, '2009-11-18', '2009-11-18', '2009-11-23', '', 0), +(287, 552, 23, '0', 0x3135, '2009-11-19', '2009-12-03', '2009-12-15', 'Has own lock.', 0), +(288, 492, 1, '0', 0x3230, '2009-11-20', '2009-11-27', '2009-11-26', 'Has lights and lock.\r\nThis is _not_ a renewal.\r\n\r\nGodwin.', 0), +(289, 515, 44, '0', 0x3230, '2009-11-23', '2009-12-14', '2009-11-23', 'bg', 0), +(290, 515, 44, '0', 0x3230, '2009-11-23', '2009-12-14', '2009-12-14', 'bg', 0), +(291, 516, 41, '0', 0x3230, '2009-11-23', '2009-12-14', '2009-12-02', 'bg', 0), +(292, 451, 39, '0', 0x3230, '2009-11-23', '2009-11-25', '2009-11-25', '', 0), +(293, 562, 27, '0', 0x3230, '2009-11-25', '2009-12-02', '2009-12-02', 'renewed once', 0), +(294, 561, 25, '0', 0x3230, '2009-11-25', '2009-12-02', '2009-12-02', '', 0), +(295, 348, 39, '0', 0x32302e3030, '2009-11-25', '2009-12-02', '2009-11-30', '', 0), +(296, 359, 24, '0', 0x32302e3030, '2009-11-25', '2009-12-02', '2009-12-07', '', 0), +(297, 492, 1, '0', 0x3230, '2009-11-26', '2009-12-02', '2009-12-03', '', 0), +(298, 568, 4, '0', 0x42494b45, '2009-11-27', '2009-12-04', '2009-12-07', 'Took a bike as a deposit. Has lock(341) and lights. The bike was left on the inside rack with her name on it. Godwin.', 0), +(299, 348, 28, '0', 0x3230, '2009-12-01', '2009-12-08', '2009-12-01', '', 0), +(300, 571, 28, '0', 0x3230, '2009-12-01', '2009-12-08', '2009-12-08', '', 0), +(301, 572, 19, '0', 0x3230, '2009-12-01', '2009-12-08', '2009-12-08', '', 0), +(302, 574, 17, '0', 0x32302e3030, '2009-12-02', '2009-12-02', '2009-12-02', '', 0), +(303, 574, 17, '0', 0x32302e3030, '2009-12-02', '2009-12-10', '2009-12-09', 'Lost key, deposit has not been returned yet.', 0), +(304, 541, 14, '0', 0x32302e3030, '2009-12-03', '2009-12-10', '2009-12-14', 'Lock #160\r\nReturning after just one week.', 0), +(305, 492, 1, '0', 0x3230, '2009-12-03', '2009-12-10', '2009-12-12', 'didn''t pay late fees', 0), +(306, 568, 4, '0', 0x30, '2009-12-07', '2009-12-11', '2009-12-14', 'Took a bike as a deposit. Has lock(341) and lights. The bike was left on the inside rack with her name on it. Godwin.', 0), +(307, 359, 24, '0', 0x3230, '2009-12-07', '2009-12-17', '2009-12-17', '', 0), +(308, 348, 25, '0', 0x3230, '2009-12-07', '2009-12-21', '2010-01-06', 'No late fees owing. Clerical error on our part.', 0), +(309, 571, 28, '0', 0x3230, '2009-12-08', '2009-12-15', '2009-12-16', '', 0), +(310, 572, 19, '0', 0x3230, '2009-12-08', '2009-12-15', '2009-12-16', '', 0), +(311, 573, 41, '0', 0x3230, '2009-12-09', '2009-12-16', '2009-12-16', '$20 deposit, lock, lights.\r\ngodwin.', 0), +(312, 515, 44, '0', 0x3230, '2009-12-14', '2009-12-20', '2009-12-14', '', 0), +(313, 580, 19, '0', 0x32302e3030, '2010-01-06', '2010-01-06', '2010-01-06', 'front and rear light, bike lock # 80', 0), +(314, 581, 39, '0', 0x32302e3030, '2010-01-06', '2010-01-20', '2010-01-25', 'front and rear lights, lock #341', 0), +(315, 580, 19, '0', 0x32302e3030, '2010-01-06', '2010-01-20', '2010-01-25', 'bike lock #80, front and rear lights', 0), +(316, 583, 41, '0', 0x3230, '2010-01-14', '2010-01-14', '2010-01-14', '', 0), +(317, 583, 41, '0', 0x32302e3030, '2010-01-14', '2010-01-21', '2010-01-22', '', 0), +(318, 591, 12, '0', 0x3430, '2010-01-16', '2010-04-30', '2010-04-30', '', 0), +(319, 80, 4, '0', 0x32302e3030, '2010-01-18', '2010-02-01', '2010-01-21', 'Nothing special about this loan!', 0), +(320, 449, 47, '0', 0x32302e3030, '2010-01-18', '2010-02-01', '2010-01-25', 'Daniel is bringing the deposit in tomorrow (Jan. 10). Please confirm this on the loan sheet.', 0), +(321, 583, 41, '0', 0x3230, '2010-01-22', '2010-01-29', '2010-01-29', '', 0), +(322, 80, 28, '0', 0x32302e3030, '2010-01-25', '2010-02-08', '2010-02-25', 'Lock: #7892', 0), +(323, 580, 19, '0', 0x32302e3030, '2010-01-25', '2010-02-08', '2010-02-08', '', 0), +(324, 581, 39, '0', 0x32302e3030, '2010-01-25', '2010-02-08', '2010-02-08', '', 0), +(325, 537, 21, '0', 0x32302e3030, '2010-01-25', '2010-02-08', '2010-01-27', 'Lock: #1408', 0), +(326, 449, 47, '0', 0x32302e3030, '2010-01-25', '2010-02-08', '2010-02-10', '', 0), +(327, 583, 41, '0', 0x3230, '2010-01-29', '2010-02-05', '2010-02-08', '', 0), +(328, 588, 26, '0', 0x3230, '2010-02-02', '2010-02-09', '2010-02-11', '', 0), +(329, 602, 17, '0', 0x32302e3030, '2010-02-04', '2010-02-04', '2010-02-04', 'Lock combo 1907', 0), +(330, 348, 17, '0', 0x32302e3030, '2010-02-04', '2010-02-18', '2010-02-04', 'Lock combo 1907', 0), +(331, 602, 17, '0', 0x3230, '2010-02-04', '2010-02-18', '2010-02-17', 'Combo 1907', 0), +(332, 583, 41, '0', 0x3138, '2010-02-08', '2010-02-15', '2010-02-12', 'owes $6', 0), +(333, 348, 39, '0', 0x302e3030, '2010-02-08', '2010-02-22', '2010-02-22', 'renew', 0), +(334, 580, 19, '0', 0x302e3030, '2010-02-08', '2010-02-22', '2010-02-22', 'renew', 0), +(335, 449, 47, '0', 0x3230, '2010-02-10', '2010-02-17', '2010-02-17', '$2 Late fees owing from last week ', 0), +(336, 588, 26, '0', 0x32302e3030, '2010-02-11', '2010-02-18', '2010-02-18', '', 0), +(337, 602, 17, '0', 0x3230, '2010-02-17', '2010-02-19', '2010-02-25', 'combo 1907', 0), +(338, 449, 15, '0', 0x3230, '2010-02-17', '2010-02-24', '2010-02-24', 'lock 353', 0), +(339, 588, 41, '0', 0x32302e3030, '2010-02-18', '2010-02-25', '2010-02-25', '', 0), +(340, 580, 19, '0', 0x32302e3030, '2010-02-22', '2010-03-08', '2010-03-11', 'renewed for two weeks (confirmed by Lance)', 0), +(341, 581, 39, '0', 0x32302e3030, '2010-02-22', '2010-03-08', '2010-03-05', 'renewed for two weeks (confirmed by Lance)', 0), +(342, 449, 15, '0', 0x32302e3030, '2010-02-24', '2010-03-11', '2010-03-10', 'lock 353', 0), +(343, 588, 29, '0', 0x3230, '2010-02-26', '2010-03-05', '2010-03-04', '', 0), +(344, 602, 26, '0', 0x32302e3030, '2010-03-04', '2010-03-04', '2010-03-04', '', 0), +(345, 602, 26, '0', 0x32302e3030, '2010-03-04', '2010-03-12', '2010-03-25', '', 0), +(346, 588, 29, '0', 0x32302e3030, '2010-03-04', '2010-03-11', '2010-03-11', '', 0), +(347, 528, 45, '0', 0x3230, '2010-03-05', '2010-03-12', '2010-03-19', '', 0), +(348, 581, 27, '0', 0x3230, '2010-03-05', '2010-03-12', '2010-03-05', '', 0), +(349, 581, 27, '0', 0x3230, '2010-03-05', '2010-03-19', '2010-03-19', '', 0), +(350, 624, 41, '0', 0x3230, '2010-03-06', '2010-03-13', '2010-03-13', '', 0), +(351, 508, 36, '0', 0x3230, '2010-03-09', '2010-03-16', '2010-04-24', 'not coming back.', 0), +(352, 630, 28, '0', 0x3230, '2010-03-10', '2010-03-10', '2010-03-10', 'combo is 1127', 0), +(353, 630, 28, '0', 0x3230, '2010-03-10', '2010-03-24', '2010-04-24', 'combo is 1127\r\n\r\nNot coming back.', 0), +(354, 449, 15, '0', 0x3230, '2010-03-10', '2010-03-24', '2010-03-26', 'combo is 1277', 0), +(355, 345, 4, '0', 0x3230, '2010-03-10', '2010-03-24', '2010-03-11', '', 0), +(356, 580, 19, '0', 0x32302e3030, '2010-03-11', '2010-03-18', '2010-03-25', 'member was told she could borrow a bike for 2 weeks at a time. Bike was entered as only being loaned out for 1 week. She does not owe fees.', 0), +(357, 588, 23, '0', 0x32302e3030, '2010-03-11', '2010-03-19', '2010-03-18', '', 0), +(358, 345, 24, '0', 0x3230, '2010-03-11', '2010-03-25', '2010-03-26', '', 0), +(359, 624, 41, '0', 0x3230, '2010-03-13', '2010-03-20', '2010-03-20', '', 0), +(360, 348, 29, '0', 0x32302e3030, '2010-03-15', '2010-03-22', '2010-03-22', '', 0), +(361, 210, 25, '0', 0x3230, '2010-03-16', '2010-03-23', '2010-03-29', '', 0), +(362, 639, 38, '0', 0x3230, '2010-03-17', '2010-03-31', '2010-03-17', 'bike combo 1204\r\nfront light', 0), +(363, 588, 23, '0', 0x3230, '2010-03-18', '2010-03-15', '2010-03-18', '', 0), +(364, 588, 23, '0', 0x3230, '2010-03-18', '2010-03-25', '2010-03-25', '', 0), +(365, 581, 27, '0', 0x3230, '2010-03-19', '2010-04-02', '2010-03-31', '', 0), +(366, 648, 46, '0', 0x3230, '2010-03-19', '2010-04-02', '2010-04-05', '', 0), +(367, 649, 45, '0', 0x3230, '2010-03-19', '2010-03-26', '2010-03-26', '', 0), +(368, 271, 38, '0', 0x3230, '2010-03-19', '2010-03-26', '2010-03-26', '', 0), +(369, 623, 44, '0', 0x32302e3030, '2010-03-20', '2010-03-27', '2010-03-26', 'Renewal', 0), +(370, 348, 29, '0', 0x32302e3030, '2010-03-22', '2010-03-29', '2010-03-22', 'Renewing until bike is coming from the UK', 0), +(371, 348, 29, '0', 0x32302e3030, '2010-03-22', '2010-03-29', '2010-03-22', 'Renewing until his bike arrives from the UK', 0), +(372, 635, 29, '0', 0x32302e3030, '2010-03-22', '2010-03-29', '2010-03-30', 'Renewing until his bike arrives from the UK', 0), +(373, 588, 17, '0', 0x32302e3030, '2010-03-25', '2010-03-01', '2010-03-25', '', 0), +(374, 588, 17, '0', 0x32302e3030, '2010-03-25', '2010-04-01', '2010-04-01', '', 0), +(375, 659, 31, '0', 0x32302e3030, '2010-03-25', '2010-04-01', '2010-04-01', '', 0), +(376, 580, 19, '0', 0x32302e3030, '2010-03-25', '2010-04-08', '2010-04-08', '', 0), +(377, 660, 23, '0', 0x3230, '2010-03-25', '2010-03-25', '2010-03-26', '', 0), +(378, 602, 26, '0', 0x3230, '2010-03-25', '2010-03-08', '2010-03-25', '$5 in fines, renewed once', 0), +(379, 602, 26, '0', 0x32302e3030, '2010-03-25', '2010-04-08', '2010-04-07', '$5 in fines, renewed once', 0), +(380, 623, 44, '0', 0x3230, '2010-03-26', '2010-04-10', '2010-04-12', '', 0), +(381, 660, 23, '0', 0x3230, '2010-03-26', '2010-04-01', '2010-04-08', '', 0), +(382, 449, 15, '0', 0x3230, '2010-03-26', '2010-04-10', '2010-04-12', '', 0), +(383, 345, 24, '0', 0x3230, '2010-03-26', '2010-04-02', '2010-04-06', 'Renewed once.', 0), +(384, 210, 25, '0', 0x32302e3030, '2010-03-29', '2010-04-05', '2010-04-06', 'Paid $12.00 in late fees', 0), +(385, 624, 41, '0', 0x3230, '2010-03-30', '2010-04-06', '2010-04-10', '', 0), +(386, 635, 29, '0', 0x3230, '2010-03-30', '2010-04-06', '2010-04-06', '', 0), +(387, 590, 18, '0', 0x3130, '2010-03-30', '2010-04-06', '2010-04-08', '10$ deposit\r\n\r\nlock kept at 6808', 0), +(388, 581, 27, '0', 0x3230, '2010-03-31', '2010-04-14', '2010-04-14', 'front and rear lights\r\ncombo 2402', 0), +(389, 666, 39, '0', 0x3230, '2010-03-31', '2010-03-31', '2010-03-31', 'combo 8819\r\nrear and front light', 0), +(390, 666, 39, '0', 0x3230, '2010-03-31', '2010-03-31', '2010-03-31', '', 0), +(391, 666, 39, '0', 0x3230, '2010-03-31', '2010-04-14', '2010-04-14', 'combo 8819\r\nr + f lights', 0), +(392, 665, 4, '0', 0x3230, '2010-03-31', '2010-04-14', '2010-04-14', 'combo 9671\r\nr + f lights', 0), +(393, 588, 17, '0', 0x32302e3030, '2010-04-01', '2010-04-08', '2010-04-08', '', 0), +(394, 659, 31, '0', 0x3230, '2010-04-01', '2010-04-01', '2010-04-01', '', 0), +(395, 16, 20, '0', 0x32302e3030, '2010-04-05', '2010-04-05', '2010-04-05', 'The deposit is his VISA card', 0), +(396, 16, 20, '0', 0x32302e3030, '2010-04-05', '2010-04-12', '2010-04-12', 'the deposit is his VISA card', 0), +(397, 210, 25, '0', 0x3230, '2010-04-06', '2010-04-12', '2010-04-13', '', 0), +(398, 345, 24, '0', 0x3230, '2010-04-06', '2010-04-06', '2010-04-06', '2nd Renewal', 0), +(399, 345, 24, '0', 0x3230, '2010-04-06', '2010-04-13', '2010-04-21', '3rd Renewal', 0), +(400, 602, 26, '0', 0x3230, '2010-04-07', '2010-04-22', '2010-04-28', 'lights borrowed, combo 1907. Owing $12.', 0), +(401, 659, 31, '0', 0x3230, '2010-04-08', '2010-04-16', '2010-04-27', '', 0), +(402, 580, 19, '0', 0x32302e3030, '2010-04-08', '2010-04-22', '2010-04-13', '', 0), +(403, 588, 17, '0', 0x32302e3030, '2010-04-08', '2010-04-08', '2010-04-08', '', 0), +(404, 588, 17, '0', 0x32302e3030, '2010-04-08', '2010-04-15', '2010-04-16', '', 0), +(405, 679, 46, '1', 0x3230, '2010-04-09', '2010-04-25', '0000-00-00', '', 0), +(406, 603, 21, '0', 0x3230, '2010-04-10', '2010-04-17', '2010-04-16', '', 0), +(407, 624, 41, '0', 0x3230, '2010-04-10', '2010-04-17', '2010-04-16', '', 0), +(408, 16, 20, '0', 0x32302e3030, '2010-04-12', '2010-04-19', '2010-04-21', 'VISA card is his deposit', 0), +(409, 348, 44, '0', 0x32302e3030, '2010-04-12', '2010-04-19', '2010-04-12', '', 0), +(410, 623, 44, '0', 0x32302e3030, '2010-04-12', '2010-04-19', '2010-04-20', '', 0), +(411, 449, 15, '0', 0x32302e3030, '2010-04-12', '2010-04-19', '2010-04-19', '', 0), +(412, 550, 22, '0', 0x32302e3030, '2010-04-13', '2010-04-22', '2010-04-22', 'Loaned until April 22nd. She''s a leaving on a jet plan the next day.', 0), +(413, 210, 25, '0', 0x32302e3030, '2010-04-13', '2010-04-20', '2010-04-27', '', 0), +(414, 635, 29, '0', 0x3230, '2010-04-13', '2010-04-20', '2010-04-20', '', 0), +(415, 681, 45, '0', 0x3230, '2010-04-13', '2010-04-20', '2010-04-27', '', 0), +(416, 359, 19, '0', 0x3230, '2010-04-13', '2010-04-21', '2010-04-22', '', 0), +(417, 581, 27, '0', 0x3230, '2010-04-14', '2010-04-28', '2010-04-30', '2402, front and rear', 0), +(418, 666, 39, '0', 0x32302e3030, '2010-04-14', '2010-04-28', '2010-05-14', '8819 rear and front', 0), +(419, 665, 4, '0', 0x3230, '2010-04-14', '2010-04-28', '2010-05-13', '', 0), +(420, 624, 41, '0', 0x3230, '2010-04-16', '2010-05-16', '2010-06-17', '', 0), +(421, 588, 43, '0', 0x3230, '2010-04-16', '2010-04-23', '2010-04-28', 'Owing $10', 0), +(422, 443, 48, '0', 0x3230, '2010-04-17', '2010-05-01', '2010-06-01', 'this borrower believed that he had this bike on a long term loan. considering this, i waived the fee, and instructed him to make sure that the administrator that helps him next time, to note the long term loan. Maryrose', 0), +(423, 449, 15, '0', 0x3230, '2010-04-19', '2010-04-26', '2010-04-26', '', 0), +(424, 687, 17, '0', 0x3230, '2010-04-20', '2010-04-27', '2010-04-26', 'Rear light only', 0), +(425, 623, 44, '0', 0x3230, '2010-04-20', '2010-05-03', '2010-04-29', '', 0), +(426, 689, 38, '0', 0x32302e3030, '2010-04-20', '2010-05-03', '2010-04-23', '', 0), +(427, 635, 29, '0', 0x32302e3030, '2010-04-20', '2010-05-03', '2010-05-07', '', 0), +(428, 16, 20, '0', 0x766973612063617264, '2010-04-21', '2010-05-05', '2010-05-07', '', 0), +(429, 345, 24, '0', 0x3230, '2010-04-21', '2010-05-05', '2010-04-30', 'lock and rear light', 0), +(430, 359, 37, '0', 0x32302e3030, '2010-04-22', '2010-04-29', '2010-05-13', '', 0), +(431, 580, 19, '0', 0x32302e3030, '2010-04-22', '2010-05-17', '2010-05-20', '', 0), +(432, 445, 21, '0', 0x32302e3030, '2010-04-22', '2010-04-29', '2010-04-26', '', 0), +(433, 445, 22, '0', 0x32302e3030, '2010-04-22', '2010-04-29', '2010-04-26', '', 0), +(434, 348, 50, '0', 0x3230, '2010-04-24', '2010-05-01', '2010-06-10', 'Loaned out a bike I shouldn''t have because we didn''t have any. Combo 4012. Godwin. ', 0), +(435, 449, 15, '0', 0x32302e3030, '2010-04-26', '2010-05-03', '2010-05-03', '', 0), +(436, 687, 17, '0', 0x32302e3030, '2010-04-26', '2010-05-03', '2010-05-08', '', 0), +(437, 610, 38, '0', 0x3230, '2010-04-29', '2010-05-05', '2010-05-04', 'Did not take lights.', 0), +(438, 706, 44, '0', 0x3230, '2010-04-30', '2010-05-06', '2010-05-08', '', 0), +(439, 591, 12, '0', 0x3430, '2010-04-30', '2010-05-07', '2010-05-11', 'waive fee- emailed to let us know when she would be coming in, but email was not checked in time. ', 0), +(440, 693, 25, '0', 0x32302e3030, '2010-04-30', '2010-05-07', '2010-05-07', '6742', 0), +(441, 681, 43, '0', 0x32302e3030, '2010-05-03', '2010-05-10', '2010-05-14', 'From Germany!', 0), +(442, 449, 15, '0', 0x32302e3030, '2010-05-03', '2010-05-10', '2010-05-17', '', 0), +(443, 714, 26, '0', 0x32302e3030, '2010-05-03', '2010-05-10', '2010-05-13', '', 0), +(444, 610, 38, '0', 0x32302e3030, '2010-05-04', '2010-05-10', '2010-05-10', '', 0), +(445, 16, 20, '0', 0x32302e3030, '2010-05-07', '2010-05-14', '2010-05-14', '', 0), +(446, 722, 22, '0', 0x32302e3030, '2010-05-07', '2010-05-14', '2010-05-14', 'Bike 2 is out to Taryn Bemister, even though the library says it is retired.', 0), +(447, 693, 25, '0', 0x32302e3030, '2010-05-07', '2010-05-14', '2010-05-21', '6742', 0), +(448, 724, 24, '0', 0x32302e3030, '2010-05-07', '2010-05-14', '2010-05-14', '', 0), +(449, 706, 44, '0', 0x3230, '2010-05-08', '2010-05-15', '2010-05-14', 'Renewed.', 0), +(450, 451, 17, '0', 0x3135, '2010-05-08', '2010-05-13', '2010-05-13', '', 0), +(451, 727, 38, '0', 0x32302e3030, '2010-05-10', '2010-05-17', '2010-05-14', '', 0), +(452, 591, 12, '0', 0x32302e3030, '2010-05-11', '2010-05-25', '2010-06-14', '', 0), +(453, 728, 31, '0', 0x32302e3030, '2010-05-11', '2010-05-18', '2010-05-18', '', 0), +(454, 451, 17, '0', 0x31352e3030, '2010-05-13', '2010-05-20', '2010-05-20', 'renewal 2nd week SVC', 0), +(455, 734, 45, '0', 0x32302e3030, '2010-05-13', '2010-05-20', '2010-07-19', '', 0), +(456, 714, 26, '0', 0x32302e3030, '2010-05-13', '2010-05-20', '2010-05-20', '', 0), +(457, 359, 37, '0', 0x32302e3030, '2010-05-13', '2010-05-20', '2010-05-25', 'Asked her to bring it back within 1 week for tune-up, chain cleaning, oiling', 0), +(458, 724, 24, '0', 0x32302e3030, '2010-05-14', '2010-05-21', '2010-05-28', '', 0), +(459, 722, 29, '0', 0x32302e3030, '2010-05-14', '2010-05-14', '2010-05-14', 'renewed once', 0), +(460, 722, 29, '0', 0x32302e3030, '2010-05-14', '2010-05-21', '2010-05-21', 'renewed once', 0), +(461, 681, 43, '0', 0x32302e3030, '2010-05-14', '2010-05-21', '2010-05-25', '', 0), +(462, 666, 39, '0', 0x3230, '2010-05-14', '2010-05-21', '2010-05-20', '', 0), +(463, 727, 38, '0', 0x32302e3030, '2010-05-14', '2010-05-21', '2010-05-20', '', 0), +(464, 549, 44, '0', 0x32302e3030, '2010-05-14', '2010-05-21', '2010-06-05', '', 0), +(465, 742, 15, '0', 0x32302e3030, '2010-05-18', '2010-05-25', '2010-05-25', '', 0), +(466, 728, 31, '0', 0x32302e3030, '2010-05-18', '2010-05-18', '2010-05-18', '', 0), +(467, 728, 31, '0', 0x32302e3030, '2010-05-18', '2010-05-25', '2010-06-01', '', 0), +(468, 727, 38, '0', 0x3230, '2010-05-20', '2010-05-27', '2010-05-27', '', 0), +(469, 714, 26, '0', 0x32302e3030, '2010-05-20', '2010-05-27', '2010-05-27', 'renewal after tune-up by Jay McIsaac\r\n', 0), +(470, 714, 26, '0', 0x32302e3030, '2010-05-20', '2010-05-27', '2010-05-27', 'renewal after tune-up by Jay McIsaac\r\n', 0), +(471, 580, 19, '0', 0x32302e3030, '2010-05-20', '2010-05-27', '2010-05-20', 'Paid $6.00 in late fees from previous rental', 0), +(472, 666, 39, '0', 0x32302e3030, '2010-05-20', '2010-05-27', '2010-05-27', 'Lock #8819', 0), +(473, 580, 52, '0', 0x32302e3030, '2010-05-20', '2010-05-27', '2010-05-27', '', 0), +(474, 722, 29, '0', 0x3230, '2010-05-21', '2010-05-28', '2010-06-03', '', 0), +(475, 693, 25, '0', 0x3230, '2010-05-21', '2010-05-28', '2010-05-25', '', 0), +(476, 742, 15, '0', 0x32302e3030, '2010-05-25', '2010-06-02', '2010-06-01', '', 0), +(477, 723, 1, '0', 0x32302e3030, '2010-05-25', '2010-06-01', '2010-06-01', '', 0), +(478, 751, 21, '0', 0x32302e3030, '2010-05-25', '2010-06-08', '2010-06-18', '', 0), +(479, 359, 37, '0', 0x32302e3030, '2010-05-25', '2010-05-25', '2010-05-25', 'member was told that next time she would be charged late fees. she stated she was not aware of late fees and that she was not charged in the past for late fees.', 0), +(480, 359, 37, '0', 0x32302e3030, '2010-05-25', '2010-06-08', '2010-06-08', '', 0), +(481, 681, 43, '0', 0x32302e3030, '2010-05-25', '2010-06-02', '2010-06-03', '', 0), +(482, 693, 25, '0', 0x32302e3030, '2010-05-25', '2010-06-11', '2010-06-15', '', 0), +(483, 727, 38, '0', 0x32302e3030, '2010-05-27', '2010-06-04', '2010-06-03', '', 0), +(484, 666, 39, '0', 0x32302e3030, '2010-05-27', '2010-06-04', '2010-06-04', '', 0), +(485, 580, 52, '0', 0x32302e3030, '2010-05-27', '2010-06-04', '2010-06-03', '', 0), +(486, 750, 20, '0', 0x3230, '2010-05-29', '2010-06-05', '2010-06-05', 'Lock borrowed.', 0), +(487, 602, 22, '0', 0x3230, '2010-05-29', '2010-05-29', '2010-05-29', 'no lock/lights.', 0), +(488, 602, 22, '0', 0x3230, '2010-05-29', '2010-06-05', '2010-06-18', '', 0), +(489, 756, 24, '0', 0x3230, '2010-05-29', '2010-06-05', '2010-06-22', '', 0), +(490, 742, 15, '0', 0x32302e3030, '2010-06-01', '2010-06-08', '2010-06-10', '', 0), +(491, 723, 1, '0', 0x32302e3030, '2010-06-01', '2010-06-02', '2010-06-01', '', 0), +(492, 723, 1, '0', 0x32302e3030, '2010-06-01', '2010-06-03', '2010-06-03', '', 0), +(493, 451, 23, '0', 0x32302e3030, '2010-06-01', '2010-06-08', '2010-06-08', '', 0), +(494, 256, 31, '0', 0x32302e3030, '2010-06-01', '2010-06-08', '2010-06-14', '', 0), +(495, 727, 38, '0', 0x32302e3030, '2010-06-03', '2010-06-10', '2010-06-10', '', 0), +(496, 681, 43, '0', 0x32302e3030, '2010-06-03', '2010-06-10', '2010-06-10', '', 0), +(497, 722, 29, '0', 0x32302e3030, '2010-06-03', '2010-06-10', '2010-06-11', '', 0), +(498, 580, 52, '0', 0x32302e3030, '2010-06-03', '2010-06-10', '2010-06-10', '', 0), +(499, 714, 26, '0', 0x32302e3030, '2010-06-03', '2010-06-10', '2010-06-10', '', 0), +(500, 665, 4, '0', 0x32302e3030, '2010-06-04', '2010-06-11', '2010-06-10', '', 0), +(501, 348, 39, '0', 0x32302e3030, '2010-06-04', '2010-06-11', '2010-06-05', '', 0), +(502, 348, 16, '0', 0x32302e3030, '2010-06-04', '2010-06-11', '2010-06-04', '', 0), +(503, 771, 16, '0', 0x32302e3030, '2010-06-04', '2010-06-11', '2010-06-11', '', 0), +(504, 666, 39, '0', 0x3230, '2010-06-05', '2010-06-11', '2010-06-10', '', 0), +(505, 699, 44, '0', 0x3230, '2010-06-05', '2010-06-11', '2010-06-11', '', 0), +(506, 750, 20, '0', 0x3230, '2010-06-05', '2010-06-11', '2010-06-12', '', 0), +(507, 451, 23, '0', 0x32302e3030, '2010-06-08', '2010-06-15', '2010-06-11', '', 0), +(508, 359, 37, '0', 0x32302e3030, '2010-06-08', '2010-06-15', '2010-06-25', '', 0), +(509, 742, 15, '0', 0x32302e3030, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(510, 681, 43, '0', 0x32302e3030, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(511, 727, 38, '0', 0x3230, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(512, 714, 26, '0', 0x3230, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(513, 580, 52, '0', 0x3230, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(514, 665, 4, '0', 0x3230, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(515, 666, 39, '0', 0x3230, '2010-06-10', '2010-06-17', '2010-06-17', '', 0), +(516, 723, 53, '0', 0x32302e3030, '2010-06-11', '2010-06-18', '2010-06-21', '', 0), +(517, 771, 16, '0', 0x3230, '2010-06-11', '2010-06-11', '2010-06-11', '', 0), +(518, 771, 16, '0', 0x3230, '2010-06-11', '2010-06-18', '2010-06-18', '', 0), +(519, 699, 44, '0', 0x3230, '2010-06-11', '2010-06-18', '2010-06-18', '', 0), +(520, 784, 23, '0', 0x3230, '2010-06-11', '2010-06-18', '2010-06-22', '', 0), +(521, 788, 29, '0', 0x3230, '2010-06-12', '2010-06-20', '2010-06-18', '', 0), +(522, 786, 20, '0', 0x3230, '2010-06-12', '2010-06-19', '2010-06-15', '', 0), +(523, 591, 12, '1', 0x32302e3030, '2010-06-14', '2010-09-02', '0000-00-00', '', 0), +(524, 693, 25, '0', 0x32302e3030, '2010-06-15', '2010-06-29', '2010-06-29', '', 0), +(525, 681, 43, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-07-02', '', 0), +(526, 742, 15, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-21', '', 0), +(527, 666, 39, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-25', '', 0), +(528, 580, 52, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-25', '', 0), +(529, 665, 4, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-24', '', 0), +(530, 727, 38, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-24', '', 0), +(531, 714, 26, '0', 0x32302e3030, '2010-06-17', '2010-06-25', '2010-06-25', 'Will be returning Friday as she will out of town on Thursday (the 24th)', 0); +INSERT INTO `libraryloans` (`id`, `userID`, `bikeID`, `bikeout`, `deposittaken`, `loandate`, `duedate`, `returndate`, `notes`, `latefees`) VALUES +(532, 624, 41, '0', 0x32302e3030, '2010-06-17', '2010-06-24', '2010-06-24', 'This $20 deposit is to be kept to cover late fees. Also she needs to return this bike ASAP to the lending library', 0), +(533, 798, 20, '0', 0x3230, '2010-06-18', '2010-06-25', '2010-06-19', '', 0), +(534, 788, 21, '0', 0x3230, '2010-06-18', '2010-07-02', '2010-07-05', '', 0), +(535, 602, 22, '0', 0x3230, '2010-06-18', '2010-06-25', '2010-06-25', '', 0), +(536, 777, 1, '0', 0x3230, '2010-06-19', '2010-06-26', '2010-06-29', '', 0), +(537, 179, 20, '0', 0x3230, '2010-06-19', '2010-06-26', '2010-07-13', '', 0), +(538, 742, 15, '0', 0x32302e3030, '2010-06-21', '2010-06-28', '2010-06-29', '', 0), +(539, 723, 53, '0', 0x32302e3030, '2010-06-21', '2010-06-28', '2010-06-29', '', 0), +(540, 785, 24, '0', 0x32302e3030, '2010-06-22', '2010-06-25', '2010-06-22', '', 0), +(541, 756, 24, '0', 0x32302e3030, '2010-06-22', '2010-06-25', '2010-06-25', '', 0), +(542, 727, 38, '0', 0x3230, '2010-06-24', '2010-07-01', '2010-07-23', '', 0), +(543, 802, 29, '0', 0x3230, '2010-06-24', '2010-07-01', '2010-07-15', '', 0), +(544, 803, 23, '0', 0x3230, '2010-06-24', '2010-07-01', '2010-07-02', 'lock #1985', 0), +(545, 665, 4, '0', 0x3230, '2010-06-24', '2010-07-01', '2010-07-16', 'renewed', 0), +(546, 256, 31, '1', 0x3230, '2010-06-24', '2010-07-01', '0000-00-00', '', 0), +(547, 756, 24, '0', 0x3230, '2010-06-25', '2010-07-02', '2010-07-06', '', 0), +(548, 602, 22, '0', 0x3230, '2010-06-25', '2010-07-02', '2010-07-06', '', 0), +(549, 714, 26, '0', 0x3230, '2010-06-25', '2010-07-02', '2010-07-08', '', 0), +(550, 580, 52, '0', 0x3230, '2010-06-25', '2010-07-09', '2010-07-13', '', 0), +(551, 666, 39, '0', 0x3230, '2010-06-25', '2010-07-09', '2010-07-16', '', 0), +(552, 359, 37, '0', 0x3230, '2010-06-25', '2010-06-29', '2010-06-29', '', 0), +(553, 742, 15, '0', 0x32302e3030, '2010-06-29', '2010-07-13', '2010-07-14', '', 0), +(554, 681, 43, '0', 0x32302e3030, '2010-07-02', '2010-07-09', '2010-07-08', '', 0), +(555, 785, 23, '0', 0x32302e3030, '2010-07-02', '2010-07-09', '2010-07-15', '2.00 in late fees', 0), +(556, 756, 24, '0', 0x32302e3030, '2010-07-06', '2010-07-07', '2010-07-15', '', 0), +(557, 602, 22, '1', 0x32302e3030, '2010-07-06', '2010-07-07', '0000-00-00', '', 0), +(558, 681, 43, '0', 0x32302e3030, '2010-07-08', '2010-07-08', '2010-07-15', 'Phillip has paid his deposit. He is continuing to take out the bike each time his loan period ends because it is his primary means of transportation. He needs to continue taking it out past the time when the shop will close. Special arrangements will need to be made with him. Someone should speak with him from the shop who has a bit more authority (ie. Lance) to set up an arrangement with him. He seems nice and trustworthy. We should lend him a bike for good. ', 0), +(559, 714, 26, '0', 0x30, '2010-07-08', '2010-07-23', '2010-07-23', 'extenuating renewal, as she is leaving the city in 2 weeks', 0), +(560, 580, 52, '0', 0x32302e3030, '2010-07-13', '2010-07-15', '2010-07-16', '', 0), +(561, 803, 23, '0', 0x32302e3030, '2010-07-15', '2010-07-22', '2010-07-26', '', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `sales` +-- + +CREATE TABLE IF NOT EXISTS `sales` ( + `date` date NOT NULL DEFAULT '0000-00-00', + `customer_id` int(8) NOT NULL DEFAULT '0', + `sale_sub_total` varchar(12) NOT NULL DEFAULT '', + `sale_total_cost` varchar(30) NOT NULL DEFAULT '', + `paid_with` varchar(25) NOT NULL DEFAULT '', + `items_purchased` int(8) NOT NULL DEFAULT '0', + `sold_by` int(8) NOT NULL DEFAULT '0', + `comment` varchar(100) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains overall sale details' AUTO_INCREMENT=1594 ; + +-- +-- Dumping data for table `sales` +-- + +INSERT INTO `sales` (`date`, `customer_id`, `sale_sub_total`, `sale_total_cost`, `paid_with`, `items_purchased`, `sold_by`, `comment`, `id`) VALUES +('2008-09-17', 1, '10.00', '10.00', 'Cash', 1, 2, '', 10), +('2008-09-17', 2, '10.00', '10.00', 'Cash', 1, 2, '', 11), +('2008-09-17', 4, '10.00', '10.00', 'Cash', 1, 2, '', 12), +('2008-09-17', 5, '10.00', '10.00', 'Cash', 1, 2, '', 13), +('2008-09-17', 6, '10.00', '10.00', 'Cash', 1, 2, '', 14), +('2008-09-17', 7, '10.00', '10.00', 'Cash', 1, 2, '', 15), +('2008-09-17', 8, '10.00', '10.00', 'Cash', 1, 2, '', 16), +('2008-09-17', 9, '10.00', '10.00', 'Cash', 1, 2, '', 17), +('2008-09-17', 10, '10.00', '10.00', 'Cash', 1, 2, '', 18), +('2008-09-17', 3, '10.00', '10.00', 'Cash', 1, 2, '', 19), +('2008-09-17', 11, '10.00', '10.00', 'Cash', 1, 2, '', 20), +('2008-09-17', 12, '10.00', '10.00', 'Cash', 1, 2, '', 21), +('2008-09-17', 13, '10.00', '10.00', 'Cash', 1, 2, '', 22), +('2008-09-17', 14, '10.00', '10.00', 'Cash', 1, 2, '', 23), +('2008-09-17', 15, '10.00', '10.00', 'Cash', 1, 2, '', 24), +('2008-09-17', 16, '10.00', '10.00', 'Cash', 1, 2, '', 25), +('2008-09-17', 18, '10.00', '10.00', 'Cash', 1, 2, '', 26), +('2008-09-17', 19, '10.00', '10.00', 'Cash', 1, 2, '', 27), +('2008-09-17', 20, '10.00', '10.00', 'Cash', 1, 2, '', 28), +('2008-09-17', 21, '10.00', '10.00', 'Cash', 1, 2, '', 29), +('2008-09-17', 22, '10.00', '10.00', 'Cash', 1, 2, '', 30), +('2008-09-17', 23, '10.00', '10.00', 'Cash', 1, 2, '', 31), +('2008-09-17', 24, '10.00', '10.00', 'Cash', 1, 2, '', 32), +('2008-09-17', 25, '10.00', '10.00', 'Cash', 1, 2, '', 33), +('2008-09-17', 26, '10.00', '10.00', 'Cash', 1, 2, '', 34), +('2008-09-17', 27, '10.00', '10.00', 'Cash', 1, 2, '', 35), +('2008-09-17', 28, '10.00', '10.00', 'Cash', 1, 2, '', 36), +('2008-09-17', 29, '10.00', '10.00', 'Cash', 1, 2, '', 37), +('2008-09-17', 17, '10.00', '10.00', 'Cash', 1, 2, '', 38), +('2008-09-17', 30, '10.00', '10.00', 'Cash', 1, 2, '', 39), +('2008-09-17', 31, '10.00', '10.00', 'Cash', 1, 2, '', 40), +('2008-09-17', 32, '10.00', '10.00', 'Cash', 1, 2, '', 41), +('2008-09-17', 33, '10.00', '10.00', 'Cash', 1, 2, '', 42), +('2008-09-17', 34, '10.00', '10.00', 'Cash', 1, 2, '', 43), +('2008-09-18', 35, '10.00', '10.00', 'Cash', 1, 2, '', 44), +('2008-09-18', 36, '10.00', '10.00', 'Cash', 1, 2, '', 45), +('2008-09-18', 37, '10.00', '10.00', 'Cash', 1, 2, '', 46), +('2008-09-18', 38, '10.00', '10.00', 'Cash', 1, 2, '', 47), +('2008-09-18', 39, '10.00', '10.00', 'Cash', 1, 2, '', 48), +('2008-09-18', 40, '10.00', '10.00', 'Cash', 1, 2, '', 49), +('2008-09-18', 41, '10.00', '10.00', 'Cash', 1, 2, '', 50), +('2008-09-18', 42, '10.00', '10.00', 'Cash', 1, 2, '', 51), +('2008-09-18', 43, '10.00', '10.00', 'Cash', 1, 2, '', 52), +('2008-09-18', 44, '10.00', '10.00', 'Cash', 1, 2, '', 53), +('2008-09-18', 45, '10.00', '10.00', 'Cash', 1, 2, '', 54), +('2008-09-18', 46, '10.00', '10.00', 'Cash', 1, 2, '', 55), +('2008-09-18', 47, '10.00', '10.00', 'Cash', 1, 2, '', 56), +('2008-09-18', 48, '10.00', '10.00', 'Cash', 1, 2, 'Gave 5$ CAD + 5$ USD, If he feels like it maybe swap when he has real money. Godwin.', 57), +('2008-09-20', 49, '10.00', '10.00', 'Cash', 1, 2, '', 58), +('2008-09-20', 50, '10.00', '10.00', 'Cash', 1, 2, '', 59), +('2008-09-20', 51, '10.00', '10.00', 'Cash', 1, 2, '', 60), +('2008-09-20', 52, '10.00', '10.00', 'Cash', 1, 2, '', 61), +('2008-09-22', 54, '10.00', '10.00', 'Cash', 1, 2, '', 63), +('2008-09-22', 55, '10.00', '10.00', 'Cash', 1, 2, '', 64), +('2008-09-22', 56, '60.00', '60.00', 'Cash', 2, 2, 'Couldn''t process used parts (not really a donation)', 65), +('2008-09-22', 57, '10.00', '10.00', 'Cash', 1, 2, '', 66), +('2008-09-22', 58, '10.00', '10.00', 'Cash', 1, 2, '', 67), +('2008-09-22', 59, '10.00', '10.00', 'Cash', 1, 2, '', 68), +('2008-09-22', 56, '3.00', '3.00', 'Cash', 1, 2, 'a used derailer', 69), +('2008-09-22', 12, '15.00', '15.00', 'Cash', 1, 2, '1 used tire, used shifter, one bolt for head set', 70), +('2008-09-22', 61, '10.00', '10.00', 'Cash', 1, 2, '', 71), +('2008-09-22', 62, '10.00', '10.00', 'Cash', 1, 2, '', 72), +('2008-09-22', 63, '10.00', '10.00', 'Cash', 1, 2, '', 73), +('2008-09-22', 6, '40.00', '40.00', 'Cash', 5, 2, '', 74), +('2008-09-22', 12, '7.00', '7.00', 'Cash', 1, 2, 'a used seat', 75), +('2008-09-24', 64, '10.00', '10.00', 'Cash', 1, 2, '', 76), +('2008-09-24', 65, '10.00', '10.00', 'Cash', 1, 2, '', 77), +('2008-09-24', 67, '10.00', '10.00', 'Cash', 1, 2, '', 78), +('2008-09-24', 68, '10.00', '10.00', 'Cash', 1, 2, '', 79), +('2008-09-25', 71, '10.00', '10.00', 'Cash', 1, 2, '', 80), +('2008-09-25', 72, '10.00', '10.00', 'Cash', 1, 2, '', 81), +('2008-09-25', 73, '10.00', '10.00', 'Cash', 1, 2, '', 82), +('2008-09-25', 74, '10.00', '10.00', 'Cash', 1, 2, '', 83), +('2008-09-27', 75, '0.00', '0.00', 'Cash', 1, 2, '', 84), +('2008-09-29', 76, '10.00', '10.00', 'Cash', 1, 21, '', 89), +('2008-09-29', 77, '10.00', '10.00', 'Cash', 1, 21, '', 90), +('2008-09-29', 78, '10.00', '10.00', 'Cash', 1, 21, '', 91), +('2008-09-29', 79, '10.00', '10.00', 'Cash', 1, 22, '', 92), +('2008-09-29', 70, '10.00', '10.00', 'Cash', 1, 5, 'he has not really paid, ask justin', 93), +('2008-09-29', 80, '10.00', '10.00', 'Cash', 1, 5, '', 94), +('2008-09-29', 76, '48.00', '48.00', 'Cash', 5, 21, '', 95), +('2008-10-01', 81, '10.00', '10.00', 'Cash', 1, 21, '', 96), +('2008-10-01', 82, '10.00', '10.00', 'Cash', 1, 21, '', 97), +('2008-10-01', 83, '10.00', '10.00', 'Cash', 1, 21, '', 98), +('2008-10-01', 84, '0.00', '0.00', 'Cash', 1, 21, '', 99), +('2008-10-01', 85, '10.00', '10.00', 'Cash', 1, 21, '', 100), +('2008-10-01', 80, '2.99', '2.99', 'Cash', 1, 21, '', 101), +('2008-10-01', 86, '10.00', '10.00', 'Cash', 1, 21, '', 102), +('2008-10-01', 86, '0.00', '0.00', 'Cash', 1, 21, 'he bought a frame, brown dirty free spirit', 103), +('2008-10-02', 83, '5.00', '5.00', 'Cash', 1, 5, 'Used 6 speed cassette', 104), +('2008-10-02', 87, '10.00', '10.00', 'Cash', 1, 5, '', 105), +('2008-10-02', 87, '5.00', '5.00', 'Cash', 1, 5, 'Used Wheel', 106), +('2008-10-04', 1, '0.00', '0.00', 'Cash', 3, 18, '', 107), +('2008-10-06', 88, '10.00', '10.00', 'Cash', 1, 21, '', 108), +('2008-10-06', 89, '10.00', '10.00', 'Cash', 1, 21, '', 109), +('2008-10-06', 90, '10.00', '10.00', 'Cash', 1, 21, 'paid, bitches', 110), +('2008-10-06', 90, '5.00', '5.00', 'Cash', 1, 21, 'pedals, cog, bb hardware, still owes $5, wil be in Wed to settle up', 111), +('2008-10-06', 91, '10.00', '10.00', 'Cash', 1, 21, 'has not paid!! this is just to get her in the system', 112), +('2008-10-08', 92, '10.00', '10.00', 'Cash', 1, 25, '', 113), +('2008-10-08', 93, '10.00', '10.00', 'Cash', 1, 25, '', 114), +('2008-10-08', 94, '10.00', '10.00', 'Cash', 1, 25, '', 115), +('2008-10-09', 67, '1.00', '1.00', 'Cash', 1, 4, '', 116), +('2008-10-09', 67, '13.59', '13.59', 'Cash', 1, 4, '', 117), +('2008-10-11', 33, '2.90', '2.90', 'Cash', 1, 20, '', 118), +('2008-10-11', 95, '10.00', '10.00', 'Cash', 1, 20, '', 119), +('2008-10-11', 5, '9.98', '9.98', 'Cash', 1, 20, '', 120), +('2008-10-16', 72, '4.36', '4.36', 'Cash', 1, 5, '', 121), +('2008-10-16', 98, '10.00', '10.00', 'Cash', 1, 5, '', 122), +('2008-10-18', 97, '10.00', '10.00', 'Cash', 1, 21, '', 123), +('2008-10-18', 99, '10.00', '10.00', 'Cash', 1, 21, '', 124), +('2008-10-18', 100, '10.00', '10.00', 'Cash', 1, 21, '', 125), +('2008-10-18', 101, '10.00', '10.00', 'Cash', 1, 21, '', 126), +('2008-10-18', 7, '5.00', '5.00', 'Cash', 1, 21, 'a used rack', 127), +('2008-10-18', 92, '5.00', '5.00', 'Cash', 1, 21, '', 128), +('2008-10-18', 103, '10.00', '10.00', 'Cash', 1, 21, '', 129), +('2008-10-18', 53, '70.00', '70.00', 'Cash', 2, 21, 'one used frame and one canadiana bike', 130), +('2008-10-18', 37, '5.80', '5.80', 'Cash', 2, 21, '', 131), +('2008-10-20', 70, '7.00', '7.00', 'Cash', 1, 21, '', 132), +('2008-10-20', 105, '10.00', '10.00', 'Cash', 1, 21, '', 133), +('2008-10-20', 107, '10.00', '10.00', 'Cash', 1, 21, '', 134), +('2008-10-20', 22, '20.00', '20.00', 'Cash', 1, 5, 'Deposit on chrome GT Mountian Bike', 135), +('2008-10-22', 108, '10.00', '10.00', 'Cash', 1, 21, '', 136), +('2008-10-22', 106, '10.00', '10.00', 'Cash', 1, 21, '', 137), +('2008-10-22', 106, '4.00', '4.00', 'Cash', 1, 21, '', 138), +('2008-10-23', 57, '4.36', '4.36', 'Cash', 1, 27, '', 139), +('2008-10-23', 36, '1.00', '1.00', 'Cash', 1, 27, '', 140), +('2008-10-25', 109, '10.00', '10.00', 'Cash', 1, 18, '', 141), +('2008-10-25', 110, '10.00', '10.00', 'Cash', 1, 18, '', 142), +('2008-10-25', 111, '10.00', '10.00', 'Cash', 1, 18, '', 143), +('2008-10-25', 109, '30.00', '30.00', 'Cash', 1, 18, '', 144), +('2008-10-25', 58, '2.90', '2.90', 'Cash', 1, 18, '', 145), +('2008-10-27', 49, '24.03', '24.03', 'Cash', 2, 21, '', 146), +('2008-10-27', 4, '12.32', '12.32', 'Cash', 4, 21, '', 147), +('2008-10-27', 56, '20.00', '20.00', 'Cash', 1, 17, 'Used frame wheel and seat/seatpost', 148), +('2008-10-29', 112, '10.00', '10.00', 'Cash', 1, 27, '', 149), +('2008-10-29', 112, '10.00', '10.00', 'Cash', 2, 27, '', 150), +('2008-10-29', 113, '1.00', '1.00', 'Cash', 1, 27, '', 151), +('2008-10-30', 114, '10.00', '10.00', 'Cash', 1, 20, '', 152), +('2008-10-30', 115, '10.00', '10.00', 'Cash', 1, 20, '', 153), +('2008-10-30', 115, '70.00', '70.00', 'Cash', 1, 20, 'Sold Blue Apollo for $70', 154), +('2008-11-01', 116, '10.00', '10.00', 'Cash', 1, 21, '', 155), +('2008-11-01', 50, '50.00', '50.00', 'Cash', 1, 21, 'Miyata 310 Frame', 156), +('2008-11-03', 56, '10.00', '10.00', 'Cash', 2, 21, 'yuhuh', 157), +('2008-11-03', 118, '60.00', '60.00', 'Cash', 2, 21, '', 158), +('2008-11-05', 120, '10.00', '10.00', 'Cash', 1, 5, '', 159), +('2008-11-05', 119, '10.00', '10.00', 'Cash', 1, 5, '', 160), +('2008-11-06', 1, '2.00', '2.00', 'Cash', 2, 5, '', 161), +('2008-11-08', 121, '10.00', '10.00', 'Cash', 1, 21, '', 162), +('2008-11-08', 122, '10.00', '10.00', 'Cash', 1, 21, '', 163), +('2008-11-08', 22, '200.00', '200.00', 'Cash', 1, 21, '', 164), +('2008-11-08', 50, '10.44', '10.44', 'Cash', 1, 21, '', 165), +('2008-11-08', 121, '5.00', '5.00', 'Cash', 1, 21, 'used crank arm', 166), +('2008-11-08', 122, '10.00', '10.00', 'Cash', 2, 21, '', 167), +('2008-11-12', 124, '20.00', '20.00', 'Cash', 3, 27, 'the used part is actually an IRC roadlite tire', 169), +('2008-11-12', 125, '10.00', '10.00', 'Cash', 1, 27, '', 170), +('2008-11-12', 1, '17.59', '17.59', 'Cash', 5, 27, '', 171), +('2008-11-12', 12, '5.00', '5.00', 'Cash', 1, 27, '', 172), +('2008-11-13', 123, '10.00', '10.00', 'Cash', 1, 5, '', 173), +('2008-11-13', 127, '10.00', '10.00', 'Cash', 1, 5, '', 174), +('2008-11-15', 128, '10.00', '10.00', 'Cash', 1, 18, '', 175), +('2008-11-15', 53, '5.00', '5.00', 'Cash', 1, 18, '', 176), +('2008-11-15', 129, '10.00', '10.00', 'Cash', 1, 18, '', 177), +('2008-11-15', 50, '10.44', '10.44', 'Cash', 1, 18, '', 178), +('2008-11-15', 97, '2.90', '2.90', 'Cash', 1, 18, '', 179), +('2008-11-17', 97, '2.90', '2.90', 'Cash', 1, 21, '', 180), +('2008-11-19', 17, '3.34', '3.34', 'Cash', 4, 27, '', 181), +('2008-11-19', 17, '6.66', '6.66', 'Cash', 1, 27, '', 182), +('2008-11-20', 128, '50.00', '50.00', 'Cash', 1, 20, '', 183), +('2008-11-22', 130, '10.00', '10.00', 'Cash', 1, 21, '', 184), +('2008-11-22', 131, '10.00', '10.00', 'Cash', 1, 21, '', 185), +('2008-11-22', 53, '30.00', '30.00', 'Cash', 1, 21, 'an as-is peugot', 186), +('2008-11-22', 40, '50.00', '50.00', 'Cash', 2, 21, '', 187), +('2008-11-24', 13, '2.00', '2.00', 'Cash', 1, 21, '', 188), +('2008-11-24', 2, '150.00', '150.00', 'Cash', 1, 21, 'incomplete gj full suspension mountain bike', 189), +('2008-11-24', 120, '1.00', '1.00', 'Cash', 1, 21, 'used part', 191), +('2008-11-24', 132, '10.00', '10.00', 'Cash', 1, 21, '', 192), +('2008-11-24', 97, '20.00', '20.00', 'Cash', 1, 21, 'a giantic blue sekine frame', 194), +('2008-11-26', 119, '2.90', '2.90', 'Cash', 1, 27, '', 195), +('2008-11-26', 133, '10.00', '10.00', 'Cash', 1, 27, '', 196), +('2008-11-26', 134, '10.00', '10.00', 'Cash', 1, 27, '', 197), +('2008-11-26', 134, '5.00', '5.00', 'Cash', 1, 27, '', 198), +('2008-11-26', 134, '5.00', '5.00', 'Cash', 1, 27, '', 199), +('2008-11-27', 4, '5.00', '5.00', 'Cash', 1, 20, '', 200), +('2008-11-27', 135, '10.00', '10.00', 'Cash', 1, 5, '', 201), +('2008-11-27', 25, '2.00', '2.00', 'Cash', 3, 5, '', 202), +('2008-11-27', 137, '10.00', '10.00', 'Cash', 1, 5, '', 203), +('2008-11-29', 97, '2.78', '2.78', 'Cash', 2, 21, '', 204), +('2008-11-29', 125, '20.00', '20.00', 'Cash', 1, 21, 'handle bars, frames, and assorted parts', 205), +('2008-12-01', 132, '5.00', '5.00', 'Cash', 1, 21, '', 206), +('2008-12-01', 12, '10.00', '10.00', 'Cash', 1, 29, 'swing arm', 207), +('2008-12-03', 47, '60.00', '60.00', 'Cash', 1, 21, 'used bike, diapace', 208), +('2008-12-04', 5, '24.03', '24.03', 'Cash', 2, 4, '', 209), +('2008-12-08', 138, '10.00', '10.00', 'Cash', 1, 29, '', 210), +('2008-12-10', 120, '20.00', '20.00', 'Cash', 1, 21, 'wheel and pedals', 211), +('2008-12-13', 120, '60.00', '60.00', 'Cash', 1, 21, '2 used bikes, 2 used wheels', 212), +('2008-12-15', 138, '5.00', '5.00', 'Cash', 1, 5, '', 213), +('2008-12-15', 12, '5.00', '5.00', 'Cash', 1, 5, 'kick stand', 214), +('2008-12-17', 1, '0.00', '0.00', 'Cash', 3, 4, '', 215), +('2008-12-17', 58, '136.21', '136.21', 'Cash', 6, 5, '', 216), +('2009-01-05', 139, '10.00', '10.00', 'Cash', 1, 17, '', 217), +('2009-01-06', 140, '10.00', '10.00', 'Cash', 1, 5, '', 218), +('2009-01-08', 120, '50.00', '50.00', 'Cash', 1, 5, '2 road frames + 4 27in wheels', 219), +('2009-01-10', 118, '2.00', '2.00', 'Cash', 2, 4, '', 220), +('2009-01-12', 141, '10.00', '10.00', 'Cash', 1, 21, '', 221), +('2009-01-12', 142, '10.00', '10.00', 'Cash', 1, 21, '', 222), +('2009-01-14', 143, '10.00', '10.00', 'Cash', 1, 31, '', 223), +('2009-01-15', 36, '50.00', '50.00', 'Cash', 7, 2, 'This is for the Glider and parts', 224), +('2009-01-15', 48, '2.99', '2.99', 'Cash', 1, 2, '', 225), +('2009-01-15', 145, '15.00', '15.00', 'Cash', 2, 2, '', 226), +('2009-01-15', 145, '45.00', '45.00', 'Cash', 1, 2, '', 227), +('2009-01-17', 146, '17.50', '17.50', 'Cash', 2, 18, '', 228), +('2009-01-17', 146, '10.00', '10.00', 'Cash', 1, 18, '', 229), +('2009-01-17', 15, '4.36', '4.36', 'Cash', 1, 18, '', 230), +('2009-01-19', 147, '10.00', '10.00', 'Cash', 1, 21, '', 231), +('2009-01-19', 148, '10.00', '10.00', 'Cash', 1, 21, '', 232), +('2009-01-20', 126, '0.00', '0.00', 'Other', 1, 27, 'ask alex', 233), +('2009-01-20', 149, '10.00', '10.00', 'Cash', 1, 27, '', 234), +('2009-01-20', 150, '10.00', '10.00', 'Cash', 1, 27, '', 235), +('2009-01-24', 153, '10.00', '10.00', 'Cash', 1, 4, '', 236), +('2009-01-27', 154, '10.00', '10.00', 'Cash', 1, 2, '', 237), +('2009-01-27', 90, '9.98', '9.98', 'Cash', 1, 2, '', 238), +('2009-01-27', 155, '10.00', '10.00', 'Cash', 1, 5, '', 239), +('2009-01-27', 157, '10.00', '10.00', 'Cash', 1, 27, '', 240), +('2009-01-27', 158, '10.00', '10.00', 'Cash', 1, 27, '', 241), +('2009-01-28', 159, '40.00', '40.00', 'Cash', 2, 4, '', 242), +('2009-01-28', 160, '5.00', '5.00', 'Cash', 1, 4, '', 243), +('2009-01-29', 156, '10.00', '10.00', 'Cash', 1, 20, '', 244), +('2009-01-29', 156, '5.00', '5.00', 'Cash', 1, 20, '', 245), +('2009-01-29', 156, '45.00', '45.00', 'Cash', 1, 20, '', 246), +('2009-01-31', 138, '24.00', '24.00', 'Cash', 4, 4, '', 247), +('2009-02-02', 161, '10.00', '10.00', 'Cash', 1, 21, '', 248), +('2009-02-02', 159, '10.00', '10.00', 'Cash', 1, 21, 'used bike', 249), +('2009-02-02', 163, '10.00', '10.00', 'Cash', 1, 21, '', 250), +('2009-02-02', 162, '10.00', '10.00', 'Cash', 1, 21, '', 251), +('2009-02-05', 164, '10.00', '10.00', 'Cash', 1, 20, '', 252), +('2009-02-07', 109, '5.00', '5.00', 'Cash', 1, 4, '', 253), +('2009-02-09', 162, '10.00', '10.00', 'Cash', 1, 5, 'shifters', 254), +('2009-02-09', 54, '2.18', '2.18', 'Cash', 1, 5, '', 255), +('2009-02-09', 159, '40.00', '40.00', 'Cash', 1, 5, 'paid in full, a red triumph', 256), +('2009-02-12', 141, '50.00', '50.00', 'Cash', 1, 4, '', 257), +('2009-02-24', 167, '60.00', '60.00', 'Cash', 2, 27, 'used part= bicycle', 259), +('2009-02-27', 168, '10.00', '10.00', 'Cash', 1, 21, '', 260), +('2009-03-07', 170, '10.00', '10.00', 'Cash', 1, 4, '', 261), +('2009-03-09', 168, '15.88', '15.88', 'Cash', 1, 21, '', 262), +('2009-03-12', 133, '180.00', '180.00', 'Cash', 1, 20, 'Tim may bring it back if he can''t adjust the handle bars to fit his cycling position of choice', 263), +('2009-03-14', 173, '10.00', '10.00', 'Cash', 1, 4, '', 264), +('2009-03-14', 173, '5.00', '5.00', 'Cash', 1, 4, 'Thank you!', 265), +('2009-03-16', 170, '10.00', '10.00', 'Cash', 1, 27, '', 266), +('2009-03-16', 175, '82.50', '82.50', 'Cash', 8, 27, 'new parts on bike were sold seperatly', 268), +('2009-03-17', 176, '10.00', '10.00', 'Cash', 1, 21, '', 269), +('2009-03-18', 177, '10.00', '10.00', 'Cash', 1, 31, '', 270), +('2009-03-19', 174, '10.00', '10.00', 'Cash', 1, 20, '', 271), +('2009-03-19', 178, '60.00', '60.00', 'Cash', 2, 20, '', 272), +('2009-03-19', 179, '10.00', '10.00', 'Cash', 1, 20, '', 273), +('2009-03-19', 180, '50.00', '50.00', 'Cash', 2, 2, '', 274), +('2009-03-21', 181, '10.00', '10.00', 'Cash', 1, 5, '', 275), +('2009-03-21', 182, '45.00', '45.00', 'Cash', 2, 5, '35 of 40 for bike', 276), +('2009-03-23', 16, '18.87', '18.87', 'Cash', 2, 27, '', 277), +('2009-03-23', 184, '45.00', '45.00', 'Cash', 2, 27, 'used item is bike frame', 278), +('2009-03-24', 184, '6.86', '6.86', 'Cash', 6, 21, '', 279), +('2009-03-25', 186, '10.00', '10.00', 'Cash', 1, 31, '', 280), +('2009-03-25', 13, '3.78', '3.78', 'Cash', 3, 31, 'also bought some handle bar tape for $12.50', 281), +('2009-03-25', 184, '12.38', '12.38', 'Cash', 1, 31, '', 282), +('2009-03-26', 187, '10.00', '10.00', 'Cash', 1, 20, '', 283), +('2009-03-28', 111, '5.00', '5.00', 'Cash', 1, 4, '', 284), +('2009-03-28', 188, '10.00', '10.00', 'Cash', 1, 4, '', 285), +('2009-03-28', 1, '0.00', '0.00', 'Cash', 3, 4, '', 286), +('2009-03-28', 188, '36.68', '36.68', 'Cash', 4, 4, '', 287), +('2009-03-30', 174, '50.00', '50.00', 'Cash', 1, 21, '', 288), +('2009-03-31', 189, '10.00', '10.00', 'Cash', 1, 27, '', 289), +('2009-04-01', 190, '10.00', '10.00', 'Cash', 1, 31, '', 290), +('2009-04-01', 191, '10.00', '10.00', 'Cash', 1, 31, '', 291), +('2009-04-01', 190, '10.00', '10.00', 'Cash', 1, 31, '+ 5 Euros', 292), +('2009-04-03', 67, '9.36', '9.36', 'Cash', 3, 35, '', 293), +('2009-04-04', 192, '10.00', '10.00', 'Cash', 1, 4, '', 294), +('2009-04-04', 111, '1.09', '1.09', 'Cash', 1, 4, '', 295), +('2009-04-04', 193, '60.00', '60.00', 'Cash', 2, 4, '', 296), +('2009-04-04', 194, '10.00', '10.00', 'Cash', 1, 4, '', 297), +('2009-04-05', 195, '10.00', '10.00', 'Cash', 1, 27, '', 298), +('2009-04-05', 196, '10.00', '10.00', 'Cash', 1, 27, '', 299), +('2009-04-05', 198, '10.00', '10.00', 'Cash', 1, 27, '', 300), +('2009-04-05', 199, '10.00', '10.00', 'Cash', 1, 27, '', 301), +('2009-04-05', 200, '10.00', '10.00', 'Cash', 1, 27, '', 302), +('2009-04-05', 202, '10.00', '10.00', 'Cash', 1, 27, '', 303), +('2009-04-06', 203, '45.00', '45.00', 'Cash', 2, 21, 'membership and a bike', 304), +('2009-04-06', 204, '10.00', '10.00', 'Cash', 1, 21, '', 305), +('2009-04-06', 16, '1.00', '1.00', 'Cash', 1, 21, 'a single brake pad', 306), +('2009-04-06', 203, '12.08', '12.08', 'Cash', 9, 21, '', 307), +('2009-04-06', 181, '23.01', '23.01', 'Cash', 7, 21, '', 308), +('2009-04-07', 193, '3.00', '3.00', 'Cash', 1, 21, '', 309), +('2009-04-07', 205, '10.00', '10.00', 'Cash', 1, 21, '', 310), +('2009-04-07', 206, '10.00', '10.00', 'Cash', 1, 21, '', 311), +('2009-04-07', 45, '6.86', '6.86', 'Cash', 6, 20, '', 312), +('2009-04-08', 207, '10.00', '10.00', 'Cash', 1, 31, '', 313), +('2009-04-08', 138, '3.00', '3.00', 'Cash', 1, 31, '', 314), +('2009-04-08', 208, '10.00', '10.00', 'Cash', 1, 31, '', 315), +('2009-04-08', 207, '5.00', '5.00', 'Cash', 2, 31, '', 316), +('2009-04-09', 210, '10.00', '10.00', 'Cash', 1, 20, '', 317), +('2009-04-09', 15, '5.00', '5.00', 'Cash', 1, 20, '', 318), +('2009-04-09', 142, '1.00', '1.00', 'Cash', 1, 20, '', 319), +('2009-04-09', 180, '34.99', '34.99', 'Cash', 5, 20, '', 320), +('2009-04-09', 180, '4.00', '4.00', 'Cash', 4, 20, '', 321), +('2009-04-11', 169, '10.00', '10.00', 'Cash', 1, 4, '', 322), +('2009-04-11', 149, '5.00', '5.00', 'Cash', 1, 4, '', 323), +('2009-04-11', 123, '13.72', '13.72', 'Cash', 10, 4, '', 324), +('2009-04-15', 72, '31.76', '31.76', 'Cash', 2, 31, '', 325), +('2009-04-16', 212, '10.00', '10.00', 'Cash', 1, 20, '', 326), +('2009-04-16', 213, '60.00', '60.00', 'Cash', 2, 20, '', 327), +('2009-04-16', 68, '15.41', '15.41', 'Cash', 1, 20, '', 328), +('2009-04-18', 215, '15.00', '15.00', 'Cash', 2, 27, '', 329), +('2009-04-18', 214, '30.00', '30.00', 'Cash', 2, 27, '', 330), +('2009-04-18', 181, '20.42', '20.42', 'Cash', 1, 27, '', 331), +('2009-04-18', 216, '10.00', '10.00', 'Cash', 1, 27, '', 332), +('2009-04-18', 117, '6.46', '6.46', 'Cash', 7, 27, '', 333), +('2009-04-20', 217, '10.00', '10.00', 'Cash', 1, 21, '', 334), +('2009-04-20', 170, '3.00', '3.00', 'Cash', 1, 21, '', 335), +('2009-04-20', 218, '10.00', '10.00', 'Cash', 1, 21, '', 336), +('2009-04-20', 219, '10.00', '10.00', 'Cash', 1, 21, '', 337), +('2009-04-20', 219, '2.18', '2.18', 'Cash', 1, 21, '', 338), +('2009-04-20', 53, '7.18', '7.18', 'Cash', 2, 21, '', 339), +('2009-04-21', 220, '10.00', '10.00', 'Cash', 1, 4, '', 340), +('2009-04-21', 220, '1.00', '1.00', 'Cash', 1, 21, '', 341), +('2009-04-21', 156, '20.16', '20.16', 'Cash', 6, 21, '', 342), +('2009-04-22', 221, '60.00', '60.00', 'Cash', 2, 20, '', 343), +('2009-04-22', 202, '42.00', '42.00', 'Cash', 10, 20, 'used bike & seat', 344), +('2009-04-22', 222, '10.00', '10.00', 'Cash', 1, 20, '', 345), +('2009-04-22', 223, '10.00', '10.00', 'Cash', 1, 20, '', 346), +('2009-04-23', 139, '2.99', '2.99', 'Cash', 1, 37, '', 347), +('2009-04-23', 224, '10.00', '10.00', 'Cash', 1, 37, '', 348), +('2009-04-23', 54, '2.90', '2.90', 'Cash', 1, 37, '', 349), +('2009-04-23', 225, '10.00', '10.00', 'Cash', 1, 37, '', 350), +('2009-04-23', 225, '40.00', '40.00', 'Cash', 1, 37, '', 351), +('2009-04-23', 226, '10.00', '10.00', 'Cash', 1, 37, '', 352), +('2009-04-23', 225, '3.78', '3.78', 'Cash', 3, 27, '', 353), +('2009-04-23', 123, '9.43', '9.43', 'Cash', 5, 27, '', 354), +('2009-04-23', 156, '5.78', '5.78', 'Cash', 5, 27, '', 355), +('2009-04-24', 161, '80.00', '80.00', 'Cash', 2, 35, '', 356), +('2009-04-24', 161, '1.17', '1.17', 'Cash', 2, 35, '', 357), +('2009-04-25', 227, '10.00', '10.00', 'Cash', 1, 21, '', 358), +('2009-04-25', 228, '10.00', '10.00', 'Cash', 1, 21, '', 359), +('2009-04-25', 228, '44.29', '44.29', 'Cash', 8, 21, 'used parts are actually 2 new 27 tires', 360), +('2009-04-25', 229, '35.18', '35.18', 'Cash', 8, 21, 'used parts are acutally new tires', 361), +('2009-04-25', 230, '10.00', '10.00', 'Cash', 1, 21, '', 362), +('2009-04-27', 231, '10.00', '10.00', 'Cash', 1, 21, '', 363), +('2009-04-27', 221, '30.00', '30.00', 'Cash', 1, 21, 'a used mountain bike', 364), +('2009-04-27', 155, '2.00', '2.00', 'Cash', 1, 21, '', 365), +('2009-04-28', 53, '5.00', '5.00', 'Cash', 1, 31, 'seat post', 366), +('2009-04-28', 229, '40.00', '40.00', 'Cash', 1, 31, 'used bike', 367), +('2009-04-29', 232, '10.00', '10.00', 'Cash', 1, 31, '', 368), +('2009-04-29', 233, '10.00', '10.00', 'Cash', 1, 31, '', 369), +('2009-04-29', 234, '30.00', '30.00', 'Cash', 2, 31, 'borrowed a bike Apr 29, 2009', 370), +('2009-04-29', 235, '30.00', '30.00', 'Cash', 2, 31, 'borrowed a bike Apr 29, 2009', 371), +('2009-04-29', 236, '30.00', '30.00', 'Cash', 2, 31, 'borrowed a bike Apr 29, 2009', 372), +('2009-04-29', 232, '2.18', '2.18', 'Cash', 1, 31, '', 373), +('2009-04-29', 225, '1.00', '1.00', 'Cash', 1, 31, '', 374), +('2009-04-29', 225, '11.00', '11.00', 'Cash', 2, 31, '', 375), +('2009-04-30', 237, '10.00', '10.00', 'Cash', 1, 5, '', 376), +('2009-04-30', 238, '10.00', '10.00', 'Cash', 1, 5, '', 377), +('2009-04-30', 239, '10.00', '10.00', 'Cash', 1, 5, '', 378), +('2009-04-30', 240, '10.00', '10.00', 'Cash', 1, 5, '', 379), +('2009-04-30', 241, '50.00', '50.00', 'Cash', 2, 5, '', 380), +('2009-04-30', 239, '1.00', '1.00', 'Cash', 1, 21, '', 381), +('2009-04-30', 239, '7.78', '7.78', 'Cash', 3, 21, '', 382), +('2009-05-01', 233, '2.99', '2.99', 'Cash', 1, 5, '', 383), +('2009-05-01', 231, '3.00', '3.00', 'Cash', 2, 5, '', 384), +('2009-05-01', 15, '18.39', '18.39', 'Cash', 2, 5, '', 385), +('2009-05-02', 117, '10.00', '10.00', 'Cash', 1, 4, '', 386), +('2009-05-02', 117, '15.00', '15.00', 'Cash', 2, 4, '', 387), +('2009-05-02', 243, '30.00', '30.00', 'Cash', 2, 4, '', 388), +('2009-05-02', 244, '10.00', '10.00', 'Cash', 1, 4, '', 389), +('2009-05-02', 245, '10.00', '10.00', 'Cash', 1, 4, '', 390), +('2009-05-02', 242, '17.70', '17.70', 'Cash', 6, 4, '', 391), +('2009-05-02', 246, '10.00', '10.00', 'Cash', 1, 4, '', 392), +('2009-05-02', 247, '10.00', '10.00', 'Cash', 1, 4, '', 393), +('2009-05-04', 248, '10.00', '10.00', 'Cash', 1, 35, '', 394), +('2009-05-04', 249, '10.00', '10.00', 'Cash', 1, 35, '', 395), +('2009-05-04', 248, '13.59', '13.59', 'Cash', 1, 35, '', 396), +('2009-05-04', 27, '0.00', '0.00', 'Cash', 1, 35, 'Used bottle holder', 397), +('2009-05-04', 250, '10.00', '10.00', 'Cash', 1, 35, '', 398), +('2009-05-04', 90, '19.98', '19.98', 'Cash', 3, 35, '', 399), +('2009-05-04', 251, '83.00', '83.00', 'Cash', 3, 35, '', 400), +('2009-05-04', 252, '74.71', '74.71', 'Cash', 10, 35, '', 401), +('2009-05-04', 249, '12.00', '12.00', 'Cash', 1, 35, '', 402), +('2009-05-06', 253, '25.80', '25.80', 'Cash', 5, 35, '', 403), +('2009-05-06', 254, '10.00', '10.00', 'Cash', 1, 35, '', 404), +('2009-05-06', 255, '10.00', '10.00', 'Cash', 1, 35, '', 405), +('2009-05-06', 256, '10.00', '10.00', 'Cash', 1, 27, '', 406), +('2009-05-06', 257, '10.00', '10.00', 'Cash', 1, 27, '', 407), +('2009-05-06', 17, '2.90', '2.90', 'Cash', 1, 27, '', 408), +('2009-05-06', 257, '6.00', '6.00', 'Cash', 2, 27, '', 409), +('2009-05-07', 252, '2.00', '2.00', 'Cash', 1, 20, '', 410), +('2009-05-07', 118, '2.09', '2.09', 'Cash', 1, 20, '', 411), +('2009-05-07', 258, '10.00', '10.00', 'Cash', 1, 20, '', 412), +('2009-05-07', 259, '85.00', '85.00', 'Cash', 3, 20, '', 413), +('2009-05-09', 26, '2.18', '2.18', 'Cash', 1, 21, '', 414), +('2009-05-09', 146, '23.39', '23.39', 'Cash', 3, 21, '', 415), +('2009-05-09', 260, '10.00', '10.00', 'Cash', 1, 21, '', 416), +('2009-05-09', 261, '10.00', '10.00', 'Cash', 1, 21, '', 417), +('2009-05-09', 261, '8.72', '8.72', 'Cash', 2, 4, '', 418), +('2009-05-09', 255, '65.47', '65.47', 'Cash', 6, 4, '', 419), +('2009-05-11', 264, '10.00', '10.00', 'Cash', 1, 2, '', 420), +('2009-05-11', 265, '10.00', '10.00', 'Cash', 1, 2, '', 421), +('2009-05-11', 266, '10.00', '10.00', 'Cash', 1, 2, '', 422), +('2009-05-11', 267, '10.00', '10.00', 'Cash', 1, 2, '', 423), +('2009-05-11', 268, '10.00', '10.00', 'Cash', 1, 2, '', 424), +('2009-05-11', 269, '10.00', '10.00', 'Cash', 1, 2, '', 425), +('2009-05-11', 187, '24.18', '24.18', 'Cash', 4, 2, '', 426), +('2009-05-11', 64, '3.99', '3.99', 'Cash', 2, 2, '', 427), +('2009-05-11', 269, '45.00', '45.00', 'Cash', 2, 2, '', 428), +('2009-05-11', 271, '10.00', '10.00', 'Cash', 1, 19, '', 429), +('2009-05-13', 239, '2.50', '2.50', 'Cash', 1, 5, '', 430), +('2009-05-13', 267, '60.00', '60.00', 'Cash', 1, 5, 'Have fun on your new bike!', 431), +('2009-05-13', 273, '35.00', '35.00', 'Cash', 1, 4, '', 432), +('2009-05-13', 192, '2.34', '2.34', 'Cash', 3, 27, '', 433), +('2009-05-13', 275, '10.00', '10.00', 'Cash', 1, 27, '', 434), +('2009-05-13', 273, '10.00', '10.00', 'Cash', 1, 27, '', 435), +('2009-05-13', 274, '10.00', '10.00', 'Cash', 1, 27, '', 436), +('2009-05-14', 276, '40.00', '40.00', 'Cash', 3, 31, 'Thank you for the donation!', 437), +('2009-05-14', 264, '26.90', '26.90', 'Cash', 7, 31, '', 438), +('2009-05-16', 277, '30.00', '30.00', 'Cash', 2, 35, '', 439), +('2009-05-16', 246, '1.34', '1.34', 'Cash', 2, 35, '', 440), +('2009-05-16', 278, '10.00', '10.00', 'Cash', 1, 35, '', 441), +('2009-05-16', 279, '10.00', '10.00', 'Cash', 1, 35, '', 442), +('2009-05-16', 280, '10.00', '10.00', 'Cash', 1, 35, '', 443), +('2009-05-16', 281, '80.00', '80.00', 'Cash', 2, 35, '', 444), +('2009-05-16', 161, '4.95', '4.95', 'Cash', 5, 21, '', 445), +('2009-05-16', 282, '10.00', '10.00', 'Cash', 1, 4, '', 446), +('2009-05-16', 284, '30.00', '30.00', 'Cash', 2, 4, '', 447), +('2009-05-16', 264, '5.00', '5.00', 'Cash', 1, 4, '', 448), +('2009-05-16', 264, '5.00', '5.00', 'Cash', 1, 4, 'Sorry for the two receipts. Apparently computers are tricky. -Alex', 449), +('2009-05-16', 264, '13.59', '13.59', 'Cash', 1, 4, '', 450), +('2009-05-16', 285, '25.00', '25.00', 'Cash', 2, 4, '', 451), +('2009-05-16', 246, '1.17', '1.17', 'Cash', 2, 4, '', 452), +('2009-05-16', 283, '25.00', '25.00', 'Cash', 2, 4, '', 453), +('2009-05-17', 287, '0.00', '0.00', 'Cash', 1, 2, '', 454), +('2009-05-17', 288, '10.00', '10.00', 'Cash', 1, 2, '', 455), +('2009-05-20', 49, '25.00', '25.00', 'Cash', 1, 5, '', 456), +('2009-05-21', 289, '10.00', '10.00', 'Cash', 1, 31, '', 457), +('2009-05-21', 290, '28.00', '28.00', 'Cash', 2, 31, '', 458), +('2009-05-21', 291, '10.00', '10.00', 'Cash', 1, 31, '', 459), +('2009-05-21', 53, '12.00', '12.00', 'Cash', 2, 31, 'Tristan Abbot (no membership?)', 460), +('2009-05-23', 49, '30.00', '30.00', 'Cash', 1, 18, '', 461), +('2009-05-23', 48, '10.29', '10.29', 'Cash', 2, 18, '', 462), +('2009-05-23', 50, '0.00', '0.00', 'Cash', 1, 18, '', 463), +('2009-05-23', 50, '20.00', '20.00', 'Cash', 1, 18, '', 464), +('2009-05-24', 287, '10.00', '10.00', 'Cash', 1, 20, '', 465), +('2009-05-24', 292, '12.68', '12.68', 'Cash', 5, 20, '', 466), +('2009-05-24', 283, '18.06', '18.06', 'Cash', 4, 20, '', 467), +('2009-05-24', 293, '10.00', '10.00', 'Cash', 1, 20, '', 468), +('2009-05-24', 294, '10.00', '10.00', 'Cash', 1, 20, '', 469), +('2009-05-25', 295, '10.00', '10.00', 'Cash', 1, 20, '', 470), +('2009-05-25', 296, '10.00', '10.00', 'Cash', 1, 20, '', 471), +('2009-05-25', 297, '10.00', '10.00', 'Cash', 1, 20, '', 472), +('2009-05-25', 298, '10.00', '10.00', 'Cash', 1, 20, '', 473), +('2009-05-25', 299, '85.00', '85.00', 'Cash', 2, 19, '', 474), +('2009-05-25', 300, '15.00', '15.00', 'Cash', 2, 19, '', 475), +('2009-05-25', 301, '60.00', '60.00', 'Cash', 2, 19, '', 476), +('2009-05-25', 302, '60.00', '60.00', 'Cash', 2, 19, '', 477), +('2009-05-27', 282, '2.90', '2.90', 'Cash', 1, 5, '', 478), +('2009-05-27', 282, '2.90', '2.90', 'Cash', 1, 5, '', 479), +('2009-05-27', 304, '10.00', '10.00', 'Cash', 1, 27, '', 480), +('2009-05-27', 305, '10.00', '10.00', 'Cash', 1, 27, '', 481), +('2009-05-28', 268, '25.00', '25.00', 'Cash', 1, 41, 'Bought bike to fix', 482), +('2009-05-28', 306, '10.00', '10.00', 'Cash', 1, 41, '', 483), +('2009-05-28', 273, '2.00', '2.00', 'Cash', 1, 41, '', 484), +('2009-05-28', 307, '11.00', '11.00', 'Cash', 3, 41, 'Used part: Derailer', 485), +('2009-05-30', 308, '10.00', '10.00', 'Cash', 1, 4, '', 486), +('2009-05-30', 190, '10.00', '10.00', 'Cash', 2, 4, '', 487), +('2009-05-30', 163, '24.36', '24.36', 'Cash', 4, 4, '', 488), +('2009-05-31', 309, '10.00', '10.00', 'Cash', 1, 2, '', 489), +('2009-05-31', 310, '10.00', '10.00', 'Cash', 1, 2, '', 490), +('2009-05-31', 125, '20.42', '20.42', 'Cash', 1, 2, '', 491), +('2009-05-31', 311, '10.00', '10.00', 'Cash', 1, 2, '', 492), +('2009-06-01', 312, '10.00', '10.00', 'Cash', 1, 20, '', 493), +('2009-06-01', 313, '10.00', '10.00', 'Cash', 1, 20, '', 494), +('2009-06-01', 313, '1.00', '1.00', 'Cash', 1, 20, '', 495), +('2009-06-01', 314, '10.00', '10.00', 'Cash', 1, 20, '', 496), +('2009-06-01', 315, '10.00', '10.00', 'Cash', 1, 19, '', 497), +('2009-06-01', 316, '10.00', '10.00', 'Cash', 1, 19, '', 498), +('2009-06-01', 314, '18.19', '18.19', 'Cash', 3, 19, '', 499), +('2009-06-03', 317, '10.00', '10.00', 'Cash', 1, 21, '', 500), +('2009-06-03', 318, '10.00', '10.00', 'Cash', 1, 21, '', 501), +('2009-06-03', 253, '10.00', '10.00', 'Cash', 1, 21, '', 502), +('2009-06-03', 320, '10.00', '10.00', 'Cash', 1, 27, '', 503), +('2009-06-03', 321, '70.00', '70.00', 'Cash', 3, 27, '', 504), +('2009-06-03', 322, '10.00', '10.00', 'Cash', 1, 27, '', 505), +('2009-06-03', 319, '55.00', '55.00', 'Cash', 2, 27, 'used parts = bike', 506), +('2009-06-03', 103, '24.03', '24.03', 'Cash', 2, 27, '', 507), +('2009-06-03', 323, '10.00', '10.00', 'Cash', 1, 27, '', 508), +('2009-06-03', 324, '10.00', '10.00', 'Cash', 1, 27, '', 509), +('2009-06-03', 17, '5.02', '5.02', 'Cash', 2, 27, '', 510), +('2009-06-04', 325, '10.00', '10.00', 'Cash', 1, 41, '', 511), +('2009-06-04', 326, '10.00', '10.00', 'Cash', 1, 41, '', 512), +('2009-06-04', 326, '30.00', '30.00', 'Cash', 1, 41, 'Bought bike, Red Sekine', 513), +('2009-06-06', 327, '35.00', '35.00', 'Cash', 5, 35, '', 514), +('2009-06-06', 155, '20.00', '20.00', 'Cash', 1, 35, '', 515), +('2009-06-06', 328, '10.00', '10.00', 'Cash', 1, 27, '', 516), +('2009-06-06', 329, '10.00', '10.00', 'Cash', 1, 4, '', 517), +('2009-06-06', 155, '2.34', '2.34', 'Cash', 3, 4, '', 518), +('2009-06-06', 330, '17.09', '17.09', 'Cash', 4, 4, '', 519), +('2009-06-06', 330, '95.00', '95.00', 'Cash', 1, 4, '', 520), +('2009-06-06', 331, '10.00', '10.00', 'Cash', 1, 4, '', 521), +('2009-06-07', 332, '10.00', '10.00', 'Cash', 1, 5, '', 522), +('2009-06-07', 333, '50.00', '50.00', 'Cash', 2, 5, '', 523), +('2009-06-07', 332, '55.00', '55.00', 'Cash', 2, 5, 'Brakes and Bianchi Road Bike', 524), +('2009-06-08', 159, '10.00', '10.00', 'Cash', 1, 19, 'Moldy Goldy with ape hangers', 525), +('2009-06-08', 81, '3.90', '3.90', 'Cash', 3, 19, '', 526), +('2009-06-10', 49, '0.00', '0.00', 'Cash', 1, 21, '', 527), +('2009-06-10', 209, '10.00', '10.00', 'Cash', 1, 35, '', 528), +('2009-06-10', 334, '10.00', '10.00', 'Cash', 1, 35, '', 529), +('2009-06-10', 13, '10.00', '10.00', 'Cash', 1, 27, '', 530), +('2009-06-10', 335, '10.00', '10.00', 'Cash', 1, 27, '', 531), +('2009-06-11', 336, '10.00', '10.00', 'Cash', 1, 41, '', 532), +('2009-06-11', 337, '10.00', '10.00', 'Cash', 1, 41, '', 533), +('2009-06-11', 12, '1.00', '1.00', 'Cash', 1, 41, '', 534), +('2009-06-11', 338, '10.00', '10.00', 'Cash', 1, 41, '', 535), +('2009-06-11', 308, '10.00', '10.00', 'Cash', 4, 41, '', 536), +('2009-06-13', 339, '30.00', '30.00', 'Cash', 2, 4, '', 537), +('2009-06-13', 340, '30.00', '30.00', 'Cash', 2, 4, '', 538), +('2009-06-13', 342, '25.00', '25.00', 'Other', 1, 4, 'Family membership paid with calgary dollars, 25 Calgary Dollars change needs to be given by Bike Roo', 539), +('2009-06-13', 343, '10.00', '10.00', 'Cash', 1, 4, '', 540), +('2009-06-13', 344, '10.00', '10.00', 'Cash', 1, 4, '', 541), +('2009-06-13', 345, '10.00', '10.00', 'Cash', 1, 4, '', 542), +('2009-06-13', 343, '85.00', '85.00', 'Cash', 1, 4, '2 bikes', 543), +('2009-06-13', 341, '50.00', '50.00', 'Cash', 2, 4, '', 544), +('2009-06-14', 346, '10.00', '10.00', 'Cash', 1, 4, '', 545), +('2009-06-14', 347, '10.00', '10.00', 'Cash', 1, 4, '', 546), +('2009-06-14', 349, '10.00', '10.00', 'Cash', 1, 4, '', 547), +('2009-06-14', 348, '40.00', '40.00', 'Cash', 2, 4, '', 548), +('2009-06-14', 351, '10.00', '10.00', 'Other', 1, 4, 'Calgary dollars', 549), +('2009-06-14', 145, '8.72', '8.72', 'Cash', 2, 4, '', 550), +('2009-06-15', 352, '10.00', '10.00', 'Cash', 1, 20, '', 551), +('2009-06-15', 353, '10.00', '10.00', 'Cash', 1, 20, '', 552), +('2009-06-15', 354, '10.00', '10.00', 'Cash', 1, 20, '', 553), +('2009-06-15', 355, '40.00', '40.00', 'Cash', 2, 20, '', 554), +('2009-06-15', 165, '10.00', '10.00', 'Cash', 1, 20, '', 555), +('2009-06-15', 357, '60.00', '60.00', 'Cash', 2, 20, '', 556), +('2009-06-15', 358, '10.00', '10.00', 'Cash', 1, 19, '', 557), +('2009-06-15', 352, '10.44', '10.44', 'Cash', 1, 19, '', 558), +('2009-06-15', 165, '5.00', '5.00', 'Cash', 1, 19, '', 559), +('2009-06-15', 36, '22.75', '22.75', 'Cash', 6, 19, '', 560), +('2009-06-17', 359, '10.00', '10.00', 'Cash', 1, 21, '', 561), +('2009-06-17', 290, '2.51', '2.51', 'Cash', 1, 27, '', 562), +('2009-06-17', 323, '32.17', '32.17', 'Cash', 4, 27, '', 563), +('2009-06-18', 332, '5.00', '5.00', 'Cash', 1, 41, '', 564), +('2009-06-18', 361, '10.00', '10.00', 'Cash', 1, 41, '', 565), +('2009-06-18', 362, '10.00', '10.00', 'Cash', 1, 41, '', 566), +('2009-06-18', 363, '10.00', '10.00', 'Cash', 1, 41, '', 567), +('2009-06-18', 282, '5.00', '5.00', 'Cash', 1, 41, '', 568), +('2009-06-20', 154, '5.00', '5.00', 'Cash', 1, 35, '', 569), +('2009-06-20', 364, '10.00', '10.00', 'Cash', 1, 4, '', 570), +('2009-06-20', 30, '5.00', '5.00', 'Cash', 1, 4, '', 571), +('2009-06-21', 25, '2.51', '2.51', 'Cash', 1, 27, '', 572), +('2009-06-21', 365, '140.00', '140.00', 'Cash', 5, 27, 'used parts= bicycle', 573), +('2009-06-21', 320, '5.00', '5.00', 'Cash', 3, 27, '', 574), +('2009-06-21', 361, '30.00', '30.00', 'Cash', 1, 27, '', 575), +('2009-06-21', 366, '10.00', '10.00', 'Cash', 1, 27, '', 576), +('2009-06-22', 348, '2.51', '2.51', 'Cash', 1, 20, '', 577), +('2009-06-22', 368, '10.00', '10.00', 'Cash', 1, 35, '', 578), +('2009-06-22', 369, '10.00', '10.00', 'Cash', 1, 35, '', 579), +('2009-06-22', 361, '5.00', '5.00', 'Cash', 2, 35, '', 580), +('2009-06-22', 145, '5.00', '5.00', 'Cash', 2, 35, '', 581), +('2009-06-22', 370, '10.00', '10.00', 'Cash', 1, 35, '', 582), +('2009-06-24', 329, '10.00', '10.00', 'Cash', 2, 5, 'Some parts', 583), +('2009-06-24', 348, '10.00', '10.00', 'Cash', 2, 5, 'Some parts', 584), +('2009-06-24', 233, '2.51', '2.51', 'Cash', 1, 5, '', 585), +('2009-06-24', 320, '5.00', '5.00', 'Cash', 1, 5, 'Kickstand', 586), +('2009-06-24', 118, '2.17', '2.17', 'Cash', 1, 5, '', 587), +('2009-06-24', 372, '95.00', '95.00', 'Cash', 3, 27, '', 588), +('2009-06-24', 2, '43.00', '43.00', 'Cash', 1, 27, '', 589), +('2009-06-25', 374, '10.00', '10.00', 'Cash', 1, 41, '', 590), +('2009-06-25', 375, '60.00', '60.00', 'Cash', 2, 41, 'Bought bike, Brown Orions', 591), +('2009-06-25', 373, '5.00', '5.00', 'Cash', 1, 41, '', 592), +('2009-06-25', 373, '45.00', '45.00', 'Cash', 1, 41, 'Bought pink Raleigh and seat', 593), +('2009-06-27', 287, '2.02', '2.02', 'Cash', 4, 35, '', 594), +('2009-06-27', 378, '10.00', '10.00', 'Cash', 1, 4, '', 595), +('2009-06-27', 121, '15.98', '15.98', 'Cash', 3, 4, '', 596), +('2009-06-28', 379, '10.00', '10.00', 'Cash', 1, 20, '', 597), +('2009-06-28', 90, '5.00', '5.00', 'Cash', 1, 21, '', 598), +('2009-06-29', 71, '6.36', '6.36', 'Cash', 3, 20, '', 599), +('2009-06-29', 71, '6.36', '6.36', 'Cash', 3, 20, '', 600), +('2009-06-29', 380, '10.00', '10.00', 'Cash', 1, 20, '', 601), +('2009-06-29', 381, '23.59', '23.59', 'Cash', 2, 20, '', 602), +('2009-06-29', 382, '10.00', '10.00', 'Cash', 1, 20, '', 603), +('2009-06-29', 12, '40.00', '40.00', 'Cash', 1, 20, '', 604), +('2009-06-29', 291, '5.80', '5.80', 'Cash', 2, 20, '', 605), +('2009-06-29', 50, '30.00', '30.00', 'Cash', 1, 20, '', 606), +('2009-06-29', 383, '10.00', '10.00', 'Cash', 1, 35, '', 607), +('2009-06-29', 384, '10.00', '10.00', 'Cash', 1, 35, '', 608), +('2009-06-29', 377, '65.00', '65.00', 'Cash', 3, 35, '', 609), +('2009-07-01', 229, '2.18', '2.18', 'Cash', 1, 27, '', 610), +('2009-07-02', 147, '2.50', '2.50', 'Cash', 1, 31, '', 611), +('2009-07-04', 387, '10.00', '10.00', 'Cash', 1, 35, '', 612), +('2009-07-04', 388, '10.00', '10.00', 'Cash', 1, 35, '', 613), +('2009-07-04', 155, '2.50', '2.50', 'Cash', 1, 35, '', 614), +('2009-07-04', 386, '48.78', '48.78', 'Cash', 4, 35, '', 615), +('2009-07-04', 388, '4.34', '4.34', 'Cash', 5, 4, '', 616), +('2009-07-06', 390, '25.00', '25.00', 'Cash', 1, 20, '', 617), +('2009-07-06', 268, '15.78', '15.78', 'Cash', 7, 20, '', 618), +('2009-07-06', 268, '10.00', '10.00', 'Cash', 1, 20, '', 619), +('2009-07-06', 391, '10.00', '10.00', 'Cash', 1, 20, '', 620), +('2009-07-06', 385, '10.00', '10.00', 'Cash', 1, 37, '', 621), +('2009-07-06', 386, '5.00', '5.00', 'Cash', 1, 37, '', 622), +('2009-07-06', 229, '5.00', '5.00', 'Cash', 1, 37, '', 623), +('2009-07-06', 390, '5.00', '5.00', 'Cash', 1, 37, '', 624), +('2009-07-06', 149, '5.00', '5.00', 'Cash', 1, 37, '', 625), +('2009-07-06', 48, '1.00', '1.00', 'Cash', 1, 37, '', 626), +('2009-07-08', 134, '30.00', '30.00', 'Cash', 1, 5, 'Blue Sekine Road Bike', 627), +('2009-07-08', 4, '25.00', '25.00', 'Cash', 1, 5, 'Money mader at Calgary Dollars Potluck', 628), +('2009-07-09', 12, '150.00', '150.00', 'Cash', 2, 31, '2 bikes - green bianchi, red fuji', 629), +('2009-07-11', 392, '10.00', '10.00', 'Cash', 1, 4, '', 630), +('2009-07-11', 163, '4.96', '4.96', 'Cash', 3, 4, '', 631), +('2009-07-11', 393, '10.00', '10.00', 'Cash', 1, 4, '', 632), +('2009-07-12', 392, '5.00', '5.00', 'Cash', 1, 5, 'Rack and reflector', 633), +('2009-07-13', 394, '10.00', '10.00', 'Cash', 1, 20, '', 634), +('2009-07-13', 395, '10.00', '10.00', 'Cash', 1, 20, '', 635), +('2009-07-13', 396, '10.00', '10.00', 'Cash', 1, 20, '', 636), +('2009-07-15', 233, '2.99', '2.99', 'Cash', 1, 41, '', 637), +('2009-07-15', 397, '10.00', '10.00', 'Cash', 1, 41, '', 638), +('2009-07-15', 398, '10.00', '10.00', 'Cash', 1, 41, '', 639), +('2009-07-15', 274, '5.00', '5.00', 'Cash', 1, 41, 'Used tire', 640), +('2009-07-15', 274, '5.00', '5.00', 'Cash', 1, 41, '', 641), +('2009-07-16', 336, '5.00', '5.00', 'Cash', 4, 35, '', 642), +('2009-07-16', 398, '50.00', '50.00', 'Cash', 1, 35, '', 643), +('2009-07-18', 233, '2.51', '2.51', 'Cash', 1, 18, '', 644), +('2009-07-18', 72, '12.99', '12.99', 'Cash', 3, 18, '', 645), +('2009-07-18', 386, '2.50', '2.50', 'Cash', 1, 18, '', 646), +('2009-07-18', 399, '10.00', '10.00', 'Cash', 1, 18, '', 647), +('2009-07-18', 149, '6.34', '6.34', 'Cash', 3, 18, '', 648), +('2009-07-19', 287, '8.72', '8.72', 'Cash', 2, 43, '', 649), +('2009-07-19', 400, '10.00', '10.00', 'Cash', 1, 43, '', 650), +('2009-07-19', 400, '2.00', '2.00', 'Cash', 1, 43, 'crank arm', 651), +('2009-07-20', 352, '74.91', '74.91', 'Cash', 6, 37, '', 652), +('2009-07-20', 401, '10.00', '10.00', 'Cash', 1, 37, '', 653), +('2009-07-20', 402, '51.34', '51.34', 'Cash', 4, 37, '', 654), +('2009-07-20', 210, '5.00', '5.00', 'Cash', 1, 27, '', 655), +('2009-07-20', 274, '2.78', '2.78', 'Cash', 2, 27, '', 656), +('2009-07-20', 399, '5.00', '5.00', 'Cash', 1, 27, '', 657), +('2009-07-20', 174, '65.00', '65.00', 'Cash', 1, 27, '', 658), +('2009-07-20', 258, '5.00', '5.00', 'Cash', 1, 27, '', 659), +('2009-07-20', 404, '10.00', '10.00', 'Cash', 1, 27, '', 661), +('2009-07-20', 405, '10.00', '10.00', 'Cash', 1, 27, '', 662), +('2009-07-20', 403, '11.00', '11.00', 'Cash', 2, 27, '', 663), +('2009-07-20', 149, '10.75', '10.75', 'Cash', 13, 27, '', 664), +('2009-07-20', 48, '2.51', '2.51', 'Cash', 1, 27, '', 665), +('2009-07-22', 406, '10.00', '10.00', 'Cash', 1, 41, '', 666), +('2009-07-22', 407, '10.00', '10.00', 'Cash', 1, 41, '', 667), +('2009-07-22', 408, '10.00', '10.00', 'Cash', 1, 41, '', 668), +('2009-07-22', 409, '20.00', '20.00', 'Cash', 1, 41, 'Blue bike frame', 669), +('2009-07-22', 409, '10.00', '10.00', 'Cash', 1, 41, '', 670), +('2009-07-22', 190, '3.00', '3.00', 'Cash', 1, 41, '', 671), +('2009-07-25', 410, '10.00', '10.00', 'Cash', 1, 4, '', 672), +('2009-07-26', 411, '10.00', '10.00', 'Cash', 1, 43, '', 673), +('2009-07-26', 154, '5.00', '5.00', 'Cash', 1, 43, 'used partrs=forks', 674), +('2009-07-27', 156, '3.50', '3.50', 'Cash', 1, 20, '', 675), +('2009-07-27', 341, '10.00', '10.00', 'Cash', 1, 27, '', 676), +('2009-07-27', 156, '4.00', '4.00', 'Cash', 4, 27, '', 677), +('2009-07-27', 329, '5.00', '5.00', 'Other', 1, 27, 'calgary dollars', 678), +('2009-07-27', 329, '5.00', '5.00', 'Other', 1, 27, 'calgary dollars', 679), +('2009-07-27', 18, '15.00', '15.00', 'Cash', 1, 27, '', 680), +('2009-07-29', 49, '4.00', '4.00', 'Cash', 1, 41, 'folk fest goodies', 681), +('2009-07-29', 413, '10.00', '10.00', 'Cash', 1, 41, '', 682), +('2009-07-29', 413, '3.00', '3.00', 'Cash', 1, 41, 'skewer and cable', 683), +('2009-07-29', 18, '2.18', '2.18', 'Cash', 1, 41, '', 684), +('2009-07-30', 265, '7.00', '7.00', 'Cash', 3, 35, '', 685), +('2009-07-30', 155, '2.50', '2.50', 'Cash', 1, 35, '', 686), +('2009-07-30', 155, '5.00', '5.00', 'Cash', 1, 35, '', 687), +('2009-08-01', 415, '51.89', '51.89', 'Cash', 4, 4, '', 688), +('2009-08-01', 416, '10.00', '10.00', 'Cash', 1, 4, '', 689), +('2009-08-04', 199, '11.00', '11.00', 'Cash', 4, 42, '', 690), +('2009-08-04', 199, '9.00', '9.00', 'Cash', 1, 42, '', 691), +('2009-08-04', 417, '45.00', '45.00', 'Cash', 2, 42, 'purchased membership and used bike', 693), +('2009-08-05', 418, '10.00', '10.00', 'Cash', 1, 21, '', 694), +('2009-08-05', 419, '10.00', '10.00', 'Cash', 1, 21, '', 695), +('2009-08-05', 420, '10.00', '10.00', 'Cash', 1, 21, '', 696), +('2009-08-06', 30, '1.00', '1.00', 'Cash', 1, 37, '', 697), +('2009-08-06', 421, '60.00', '60.00', 'Cash', 2, 37, 'Blue Gary Fisher ', 698), +('2009-08-08', 422, '10.00', '10.00', 'Cash', 1, 21, '', 699), +('2009-08-08', 422, '5.00', '5.00', 'Cash', 1, 21, 'Used frame', 700), +('2009-08-08', 229, '44.36', '44.36', 'Cash', 8, 21, '', 701), +('2009-08-08', 118, '10.00', '10.00', 'Cash', 6, 21, '', 702), +('2009-08-08', 423, '12.90', '12.90', 'Cash', 2, 4, '', 703), +('2009-08-08', 424, '10.00', '10.00', 'Cash', 1, 4, '', 704), +('2009-08-08', 424, '5.00', '5.00', 'Cash', 1, 4, '', 705), +('2009-08-08', 41, '10.00', '10.00', 'Cash', 1, 4, '', 706), +('2009-08-10', 274, '6.00', '6.00', 'Cash', 2, 41, '', 707), +('2009-08-10', 380, '2.50', '2.50', 'Cash', 1, 41, '', 708), +('2009-08-13', 428, '55.00', '55.00', 'Cash', 2, 37, 'Nishiki road bike ', 709), +('2009-08-13', 296, '5.00', '5.00', 'Cash', 1, 37, '', 710), +('2009-08-13', 429, '10.00', '10.00', 'Cash', 1, 37, '', 711), +('2009-08-13', 36, '5.00', '5.00', 'Cash', 1, 37, '', 712), +('2009-08-13', 36, '35.00', '35.00', 'Cash', 1, 37, '', 713), +('2009-08-15', 430, '1.53', '1.53', 'Cash', 1, 21, '', 714), +('2009-08-15', 430, '10.00', '10.00', 'Cash', 1, 21, '', 715), +('2009-08-17', 274, '1.25', '1.25', 'Cash', 2, 41, '', 716), +('2009-08-17', 431, '10.00', '10.00', 'Cash', 1, 41, '', 717), +('2009-08-17', 432, '10.00', '10.00', 'Cash', 1, 41, '', 718), +('2009-08-17', 432, '40.00', '40.00', 'Cash', 2, 41, 'Rim and 8 speed cassette', 719), +('2009-08-17', 149, '5.25', '5.25', 'Cash', 4, 41, '', 720), +('2009-08-20', 433, '15.00', '15.00', 'Cash', 2, 37, '', 721), +('2009-08-20', 2, '25.00', '25.00', 'Cash', 1, 37, '', 722), +('2009-08-22', 424, '2.78', '2.78', 'Cash', 2, 43, '', 723), +('2009-08-22', 434, '11.89', '11.89', 'Cash', 3, 4, '', 724), +('2009-08-24', 435, '10.00', '10.00', 'Cash', 1, 41, '', 725), +('2009-08-24', 435, '12.00', '12.00', 'Cash', 3, 41, 'Shifters and Seat', 726), +('2009-08-27', 436, '10.00', '10.00', 'Cash', 1, 19, '', 727), +('2009-08-27', 421, '15.37', '15.37', 'Cash', 2, 19, '', 728), +('2009-08-27', 36, '1.00', '1.00', 'Cash', 1, 19, '', 729), +('2009-08-27', 437, '12.18', '12.18', 'Cash', 2, 19, '', 730), +('2009-08-27', 36, '16.98', '16.98', 'Cash', 4, 19, '', 731), +('2009-08-29', 438, '10.00', '10.00', 'Cash', 1, 21, '', 732), +('2009-08-29', 28, '5.00', '5.00', 'Cash', 1, 4, '', 733), +('2009-09-03', 439, '10.00', '10.00', 'Cash', 1, 31, '', 734), +('2009-09-03', 440, '10.00', '10.00', 'Cash', 1, 31, '', 735), +('2009-09-03', 440, '8.00', '8.00', 'Cash', 2, 31, 'used tire', 736), +('2009-09-05', 442, '10.00', '10.00', 'Cash', 1, 18, '', 737), +('2009-09-05', 443, '10.00', '10.00', 'Cash', 1, 18, '', 738), +('2009-09-05', 444, '10.00', '10.00', 'Cash', 1, 18, '', 739), +('2009-09-05', 442, '7.84', '7.84', 'Cash', 2, 18, '', 740), +('2009-09-05', 445, '10.00', '10.00', 'Cash', 1, 18, '', 741), +('2009-09-05', 447, '10.00', '10.00', 'Cash', 1, 18, '', 742), +('2009-09-05', 448, '10.00', '10.00', 'Cash', 1, 18, '', 743), +('2009-09-05', 448, '46.32', '46.32', 'Cash', 2, 18, '', 744), +('2009-09-05', 447, '28.04', '28.04', 'Cash', 2, 43, '', 745), +('2009-09-06', 439, '2.51', '2.51', 'Cash', 1, 4, '', 746), +('2009-09-06', 448, '2.51', '2.51', 'Cash', 1, 4, '', 747), +('2009-09-08', 59, '23.59', '23.59', 'Cash', 2, 5, '', 748), +('2009-09-08', 191, '1.00', '1.00', 'Cash', 1, 5, '', 749), +('2009-09-08', 449, '10.00', '10.00', 'Cash', 1, 5, '', 750), +('2009-09-08', 450, '10.00', '10.00', 'Cash', 1, 5, '', 751), +('2009-09-08', 451, '10.00', '10.00', 'Cash', 1, 5, '', 752), +('2009-09-09', 452, '10.00', '10.00', 'Cash', 1, 5, '', 753), +('2009-09-09', 453, '10.00', '10.00', 'Cash', 1, 5, '', 754), +('2009-09-09', 454, '10.00', '10.00', 'Cash', 1, 5, '', 755), +('2009-09-09', 454, '5.36', '5.36', 'Cash', 2, 5, '', 756), +('2009-09-10', 456, '10.00', '10.00', 'Cash', 1, 21, '', 757), +('2009-09-10', 455, '10.00', '10.00', 'Cash', 1, 21, '', 758), +('2009-09-10', 457, '10.00', '10.00', 'Cash', 1, 21, '', 759), +('2009-09-10', 457, '5.00', '5.00', 'Cash', 1, 21, '', 760), +('2009-09-10', 458, '50.00', '50.00', 'Cash', 2, 21, 'used part is a bike', 761), +('2009-09-10', 436, '10.00', '10.00', 'Cash', 1, 21, '', 762), +('2009-09-10', 460, '10.00', '10.00', 'Cash', 1, 21, '', 763), +('2009-09-10', 461, '30.00', '30.00', 'Cash', 2, 21, 'parts were 2 tires!', 764), +('2009-09-10', 462, '10.00', '10.00', 'Cash', 1, 21, '', 765), +('2009-09-10', 463, '10.00', '10.00', 'Cash', 1, 21, '', 766), +('2009-09-10', 465, '10.00', '10.00', 'Cash', 1, 21, '', 767), +('2009-09-10', 466, '10.00', '10.00', 'Cash', 1, 21, '', 768), +('2009-09-10', 12, '10.19', '10.19', 'Cash', 1, 21, '', 769), +('2009-09-13', 467, '10.00', '10.00', 'Cash', 1, 43, '', 770), +('2009-09-13', 468, '30.00', '30.00', 'Cash', 2, 43, '', 771), +('2009-09-13', 445, '4.18', '4.18', 'Cash', 2, 43, '', 772), +('2009-09-14', 469, '10.00', '10.00', 'Cash', 1, 30, '', 773), +('2009-09-14', 470, '10.00', '10.00', 'Cash', 1, 46, '', 774), +('2009-09-14', 471, '10.00', '10.00', 'Cash', 1, 46, '', 775), +('2009-09-14', 275, '18.39', '18.39', 'Cash', 2, 46, '', 776), +('2009-09-14', 275, '1.61', '1.61', 'Cash', 1, 46, '', 777), +('2009-09-15', 473, '2.51', '2.51', 'Cash', 1, 47, '', 778), +('2009-09-15', 231, '2.18', '2.18', 'Cash', 1, 47, '', 779), +('2009-09-15', 476, '10.00', '10.00', 'Cash', 1, 47, '', 780), +('2009-09-15', 475, '10.00', '10.00', 'Cash', 1, 47, '', 781), +('2009-09-15', 474, '10.00', '10.00', 'Cash', 1, 47, '', 782), +('2009-09-15', 473, '10.00', '10.00', 'Cash', 1, 47, '', 783), +('2009-09-15', 477, '10.00', '10.00', 'Cash', 1, 47, '', 784), +('2009-09-15', 478, '10.00', '10.00', 'Cash', 1, 47, '', 785), +('2009-09-15', 479, '10.00', '10.00', 'Cash', 1, 47, '', 786), +('2009-09-15', 90, '5.00', '5.00', 'Cash', 1, 47, '', 787), +('2009-09-15', 90, '49.98', '49.98', 'Cash', 2, 47, '', 788), +('2009-09-16', 480, '10.00', '10.00', 'Cash', 1, 31, '', 789), +('2009-09-16', 481, '10.00', '10.00', 'Cash', 1, 31, '', 790), +('2009-09-16', 482, '10.00', '10.00', 'Cash', 1, 31, '', 791), +('2009-09-16', 483, '10.00', '10.00', 'Cash', 1, 31, '', 792), +('2009-09-16', 484, '10.00', '10.00', 'Cash', 1, 47, '', 793), +('2009-09-16', 110, '10.00', '10.00', 'Cash', 1, 47, '', 794), +('2009-09-16', 484, '40.00', '40.00', 'Cash', 1, 47, 'Used bike, (long term loan)', 795), +('2009-09-16', 265, '7.50', '7.50', 'Cash', 1, 47, '', 796), +('2009-09-16', 485, '10.00', '10.00', 'Cash', 1, 47, '', 797), +('2009-09-17', 486, '10.00', '10.00', 'Cash', 1, 37, '', 798), +('2009-09-17', 487, '10.00', '10.00', 'Cash', 1, 37, '', 799), +('2009-09-17', 488, '10.00', '10.00', 'Cash', 1, 37, '', 800), +('2009-09-17', 489, '10.00', '10.00', 'Cash', 1, 37, '', 801), +('2009-09-17', 490, '10.00', '10.00', 'Cash', 1, 37, '', 802), +('2009-09-17', 67, '10.00', '10.00', 'Cash', 1, 48, '', 803), +('2009-09-17', 492, '10.00', '10.00', 'Cash', 1, 48, '', 804), +('2009-09-19', 472, '10.00', '10.00', 'Cash', 1, 18, '', 805), +('2009-09-19', 494, '39.04', '39.04', 'Cash', 4, 18, '', 806), +('2009-09-19', 12, '10.00', '10.00', 'Cash', 1, 18, '', 807), +('2009-09-19', 495, '10.00', '10.00', 'Cash', 1, 18, '', 808), +('2009-09-19', 47, '10.00', '10.00', 'Cash', 1, 18, '', 809), +('2009-09-19', 472, '35.00', '35.00', 'Cash', 1, 18, '', 810), +('2009-09-19', 47, '2.00', '2.00', 'Cash', 1, 18, 'used pedals', 811), +('2009-09-21', 496, '10.00', '10.00', 'Cash', 1, 46, '', 812), +('2009-09-21', 427, '10.00', '10.00', 'Cash', 1, 46, '', 813); +INSERT INTO `sales` (`date`, `customer_id`, `sale_sub_total`, `sale_total_cost`, `paid_with`, `items_purchased`, `sold_by`, `comment`, `id`) VALUES +('2009-09-21', 497, '10.00', '10.00', 'Cash', 1, 46, '', 814), +('2009-09-21', 49, '10.00', '10.00', 'Cash', 1, 46, '', 815), +('2009-09-21', 469, '0.00', '0.00', 'Cash', 1, 46, '', 816), +('2009-09-21', 469, '6.50', '6.50', 'Cash', 1, 46, '', 817), +('2009-09-21', 498, '10.00', '10.00', 'Cash', 1, 46, '', 818), +('2009-09-22', 499, '55.00', '55.00', 'Cash', 2, 35, '', 819), +('2009-09-22', 500, '10.00', '10.00', 'Cash', 1, 35, '', 820), +('2009-09-22', 156, '25.00', '25.00', 'Cash', 1, 35, 'Lemond Carbon Fork', 821), +('2009-09-22', 502, '10.00', '10.00', 'Cash', 1, 35, '', 822), +('2009-09-22', 35, '10.00', '10.00', 'Cash', 1, 35, '', 823), +('2009-09-22', 501, '10.00', '10.00', 'Cash', 1, 35, '', 824), +('2009-09-22', 503, '10.00', '10.00', 'Cash', 1, 35, '', 825), +('2009-09-22', 504, '10.00', '10.00', 'Cash', 1, 35, '', 826), +('2009-09-23', 37, '10.00', '10.00', 'Cash', 1, 5, '', 827), +('2009-09-23', 505, '10.00', '10.00', 'Cash', 1, 5, '', 828), +('2009-09-23', 506, '10.00', '10.00', 'Cash', 1, 5, '', 829), +('2009-09-23', 37, '10.00', '10.00', 'Cash', 1, 5, 'Godwin is awesome', 830), +('2009-09-23', 507, '10.00', '10.00', 'Cash', 1, 5, '', 831), +('2009-09-23', 44, '10.00', '10.00', 'Cash', 1, 5, '', 832), +('2009-09-23', 508, '10.00', '10.00', 'Cash', 1, 5, '', 833), +('2009-09-24', 491, '10.00', '10.00', 'Cash', 1, 39, '', 834), +('2009-09-24', 509, '10.00', '10.00', 'Cash', 1, 48, '', 835), +('2009-09-24', 190, '5.00', '5.00', 'Cash', 1, 48, '', 836), +('2009-09-24', 509, '10.00', '10.00', 'Cash', 2, 48, '', 837), +('2009-09-24', 111, '5.00', '5.00', 'Cash', 1, 48, '', 838), +('2009-09-26', 510, '10.00', '10.00', 'Cash', 1, 43, '', 839), +('2009-09-26', 50, '10.00', '10.00', 'Cash', 1, 43, '', 840), +('2009-09-26', 511, '10.00', '10.00', 'Cash', 1, 43, '', 841), +('2009-09-26', 512, '10.00', '10.00', 'Cash', 1, 43, '', 842), +('2009-09-26', 513, '10.00', '10.00', 'Cash', 1, 43, '', 843), +('2009-09-27', 4, '10.00', '10.00', 'Cash', 1, 4, '', 844), +('2009-09-27', 138, '5.00', '5.00', 'Cash', 1, 4, '', 845), +('2009-09-28', 155, '0.00', '0.00', 'Cash', 1, 46, '', 846), +('2009-09-28', 514, '10.00', '10.00', 'Cash', 1, 46, '', 847), +('2009-09-28', 515, '10.00', '10.00', 'Cash', 1, 46, '', 848), +('2009-09-28', 174, '5.00', '5.00', 'Cash', 1, 46, '', 849), +('2009-09-28', 174, '5.00', '5.00', 'Cash', 1, 46, '', 850), +('2009-09-28', 461, '30.00', '30.00', 'Cash', 1, 46, '', 851), +('2009-09-28', 514, '35.00', '35.00', 'Cash', 1, 46, '', 852), +('2009-09-29', 28, '10.00', '10.00', 'Cash', 1, 47, '', 853), +('2009-09-29', 516, '10.00', '10.00', 'Cash', 1, 47, '', 854), +('2009-09-29', 16, '10.00', '10.00', 'Cash', 1, 47, '', 855), +('2009-09-30', 517, '10.00', '10.00', 'Cash', 1, 44, '', 856), +('2009-09-30', 518, '10.00', '10.00', 'Cash', 1, 44, '', 857), +('2009-09-30', 519, '10.00', '10.00', 'Cash', 1, 44, '', 858), +('2009-09-30', 363, '15.00', '15.00', 'Cash', 1, 44, '', 859), +('2009-09-30', 518, '6.00', '6.00', 'Cash', 2, 44, '', 860), +('2009-09-30', 520, '10.00', '10.00', 'Cash', 1, 44, '', 861), +('2009-09-30', 520, '50.00', '50.00', 'Cash', 1, 51, 'Used bike, (long term loan)', 862), +('2009-10-01', 187, '10.00', '10.00', 'Cash', 1, 52, '', 863), +('2009-10-01', 509, '10.69', '10.69', 'Cash', 2, 52, '', 864), +('2009-10-01', 275, '2.90', '2.90', 'Cash', 1, 52, '', 865), +('2009-10-01', 522, '5.00', '5.00', 'Cash', 1, 52, '', 866), +('2009-10-01', 416, '40.00', '40.00', 'Cash', 1, 48, '', 867), +('2009-10-02', 78, '10.00', '10.00', 'Cash', 1, 5, '', 868), +('2009-10-02', 523, '40.00', '40.00', 'Cash', 2, 5, '', 869), +('2009-10-02', 524, '40.00', '40.00', 'Cash', 2, 5, 'Used Peugeot Fraser Pro MTN Bike', 870), +('2009-10-03', 447, '13.59', '13.59', 'Cash', 1, 50, '', 871), +('2009-10-03', 447, '5.00', '5.00', 'Cash', 1, 50, '', 872), +('2009-10-03', 265, '8.09', '8.09', 'Cash', 3, 50, '', 873), +('2009-10-03', 525, '15.84', '15.84', 'Cash', 6, 50, '', 874), +('2009-10-03', 117, '10.00', '10.00', 'Cash', 1, 50, '', 875), +('2009-10-04', 27, '10.00', '10.00', 'Cash', 1, 31, 'Sarah Rocks! She''s paid her membership!', 876), +('2009-10-04', 526, '10.00', '10.00', 'Cash', 1, 31, '', 877), +('2009-10-05', 527, '10.00', '10.00', 'Cash', 1, 46, '', 878), +('2009-10-05', 528, '10.00', '10.00', 'Cash', 1, 46, '', 879), +('2009-10-05', 529, '10.00', '10.00', 'Cash', 1, 46, '', 880), +('2009-10-05', 36, '10.00', '10.00', 'Cash', 1, 46, '', 881), +('2009-10-06', 530, '10.00', '10.00', 'Cash', 1, 47, '', 882), +('2009-10-06', 524, '5.00', '5.00', 'Cash', 1, 47, '', 883), +('2009-10-06', 138, '2.00', '2.00', 'Cash', 1, 47, '', 884), +('2009-10-07', 531, '10.00', '10.00', 'Cash', 1, 44, '', 885), +('2009-10-07', 503, '40.00', '40.00', 'Cash', 1, 44, '', 886), +('2009-10-07', 508, '5.00', '5.00', 'Cash', 1, 44, '', 887), +('2009-10-07', 67, '5.00', '5.00', 'Cash', 1, 50, '', 888), +('2009-10-08', 80, '10.00', '10.00', 'Cash', 1, 48, '', 889), +('2009-10-08', 532, '10.00', '10.00', 'Cash', 1, 48, '', 890), +('2009-10-08', 12, '20.00', '20.00', 'Cash', 1, 48, '', 891), +('2009-10-09', 533, '15.00', '15.00', 'Cash', 2, 46, '', 892), +('2009-10-09', 533, '5.00', '5.00', 'Cash', 1, 46, '', 893), +('2009-10-11', 287, '13.50', '13.50', 'Cash', 1, 52, '', 894), +('2009-10-13', 414, '10.00', '10.00', 'Cash', 1, 47, '', 895), +('2009-10-13', 414, '-10.00', '-10.00', 'Cash', 1, 47, '', 896), +('2009-10-14', 533, '5.00', '5.00', 'Cash', 1, 44, '', 897), +('2009-10-14', 478, '40.00', '40.00', 'Cash', 1, 5, 'MTN bike', 898), +('2009-10-14', 264, '1.00', '1.00', 'Cash', 1, 5, '', 899), +('2009-10-15', 533, '5.00', '5.00', 'Cash', 1, 48, 'Used brakes', 900), +('2009-10-16', 441, '10.00', '10.00', 'Cash', 1, 55, '', 901), +('2009-10-16', 534, '15.00', '15.00', 'Cash', 2, 55, '', 902), +('2009-10-17', 535, '10.00', '10.00', 'Cash', 1, 18, '', 903), +('2009-10-17', 535, '5.00', '5.00', 'Cash', 1, 18, '', 904), +('2009-10-17', 536, '10.00', '10.00', 'Cash', 1, 50, '', 905), +('2009-10-19', 537, '13.00', '13.00', 'Cash', 2, 46, '', 906), +('2009-10-19', 538, '10.00', '10.00', 'Cash', 1, 46, '', 907), +('2009-10-19', 469, '5.00', '5.00', 'Cash', 1, 46, '', 908), +('2009-10-19', 539, '10.00', '10.00', 'Cash', 1, 46, '', 909), +('2009-10-19', 540, '13.00', '13.00', 'Cash', 2, 46, '', 910), +('2009-10-20', 541, '10.00', '10.00', 'Cash', 1, 35, '', 916), +('2009-10-20', 537, '3.00', '3.00', 'Cash', 1, 35, '', 917), +('2009-10-20', 149, '1.00', '1.00', 'Cash', 1, 35, '', 918), +('2009-10-20', 539, '2.00', '2.00', 'Cash', 2, 35, '', 919), +('2009-10-20', 16, '15.50', '15.50', 'Cash', 1, 35, '', 920), +('2009-10-21', 38, '10.00', '10.00', 'Cash', 1, 31, '', 921), +('2009-10-21', 27, '1.00', '1.00', 'Cash', 1, 31, '', 922), +('2009-10-21', 542, '20.00', '20.00', 'Cash', 2, 5, 'Fork and brake', 923), +('2009-10-22', 543, '10.00', '10.00', 'Cash', 1, 48, '', 924), +('2009-10-23', 441, '40.00', '40.00', 'Cash', 1, 55, '20.00 owing 23 Oct 2009', 925), +('2009-10-23', 544, '13.00', '13.00', 'Cash', 2, 55, '', 926), +('2009-10-24', 35, '5.00', '5.00', 'Cash', 1, 50, '', 927), +('2009-10-24', 392, '4.50', '4.50', 'Cash', 1, 50, '', 928), +('2009-10-24', 35, '73.10', '73.10', 'Cash', 9, 50, '', 929), +('2009-10-24', 392, '5.00', '5.00', 'Cash', 1, 50, '', 930), +('2009-10-26', 523, '5.00', '5.00', 'Cash', 1, 46, '', 931), +('2009-10-26', 545, '10.00', '10.00', 'Cash', 1, 46, '', 932), +('2009-10-27', 49, '3.00', '3.00', 'Cash', 1, 47, '', 933), +('2009-10-27', 456, '14.00', '14.00', 'Cash', 1, 47, '', 934), +('2009-10-28', 546, '10.00', '10.00', 'Cash', 1, 46, '', 935), +('2009-10-28', 97, '10.00', '10.00', 'Cash', 1, 46, 'yesh!', 936), +('2009-10-29', 539, '4.50', '4.50', 'Cash', 1, 31, '', 937), +('2009-10-29', 547, '10.00', '10.00', 'Cash', 1, 48, '', 938), +('2009-10-29', 548, '10.00', '10.00', 'Cash', 1, 48, '', 939), +('2009-10-30', 264, '2.70', '2.70', 'Cash', 4, 21, '', 940), +('2009-10-31', 334, '20.00', '20.00', 'Cash', 1, 18, '', 941), +('2009-10-31', 334, '14.00', '14.00', 'Cash', 1, 18, '', 942), +('2009-10-31', 549, '10.00', '10.00', 'Cash', 1, 18, '', 943), +('2009-11-03', 550, '10.00', '10.00', 'Cash', 1, 47, '', 944), +('2009-11-03', 551, '10.00', '10.00', 'Cash', 1, 47, '', 945), +('2009-11-03', 552, '10.00', '10.00', 'Cash', 1, 47, '', 946), +('2009-11-03', 118, '10.00', '10.00', 'Cash', 1, 47, '', 947), +('2009-11-04', 523, '5.00', '5.00', 'Cash', 1, 31, '', 948), +('2009-11-05', 553, '10.00', '10.00', 'Cash', 1, 54, 'Calgary Dollars', 949), +('2009-11-05', 523, '5.00', '5.00', 'Cash', 1, 54, '', 950), +('2009-11-05', 554, '10.00', '10.00', 'Cash', 1, 48, '', 951), +('2009-11-05', 554, '5.00', '5.00', 'Cash', 1, 48, '', 952), +('2009-11-06', 523, '5.00', '5.00', 'Cash', 1, 21, 'Shifters', 953), +('2009-11-06', 106, '11.50', '11.50', 'Cash', 1, 21, '', 954), +('2009-11-06', 156, '10.00', '10.00', 'Cash', 1, 21, 'Good Work everyone.', 955), +('2009-11-08', 253, '20.00', '20.00', 'Cash', 2, 52, '', 956), +('2009-11-09', 555, '10.00', '10.00', 'Cash', 1, 46, '', 957), +('2009-11-09', 84, '10.00', '10.00', 'Cash', 1, 46, '', 958), +('2009-11-10', 557, '5.00', '5.00', 'Cash', 1, 47, '', 959), +('2009-11-10', 557, '55.00', '55.00', 'Cash', 2, 47, '', 960), +('2009-11-11', 557, '34.00', '34.00', 'Cash', 2, 56, '', 961), +('2009-11-13', 558, '10.00', '10.00', 'Cash', 1, 5, '', 962), +('2009-11-13', 554, '5.00', '5.00', 'Cash', 1, 5, 'Used wheel', 963), +('2009-11-14', 558, '7.00', '7.00', 'Cash', 2, 50, '', 964), +('2009-11-14', 5, '10.00', '10.00', 'Cash', 1, 50, '', 965), +('2009-11-14', 117, '12.25', '12.25', 'Cash', 4, 50, '', 966), +('2009-11-16', 559, '10.00', '10.00', 'Cash', 1, 46, '', 967), +('2009-11-16', 559, '34.00', '34.00', 'Cash', 2, 46, '', 968), +('2009-11-17', 508, '10.00', '10.00', 'Cash', 1, 47, 'Late fee for library bike', 969), +('2009-11-18', 106, '10.00', '10.00', 'Other', 1, 21, 'calgary dollars', 970), +('2009-11-18', 106, '0.00', '0.00', 'Cash', 1, 21, '', 971), +('2009-11-18', 106, '5.00', '5.00', 'Cash', 1, 21, '', 972), +('2009-11-18', 560, '10.00', '10.00', 'Cash', 1, 21, '', 973), +('2009-11-18', 561, '10.00', '10.00', 'Cash', 1, 21, '', 974), +('2009-11-18', 562, '10.00', '10.00', 'Cash', 1, 21, '', 975), +('2009-11-18', 563, '0.00', '0.00', 'Cash', 1, 21, '', 976), +('2009-11-18', 106, '6.00', '6.00', 'Cash', 1, 21, '', 977), +('2009-11-18', 563, '0.00', '0.00', 'Cash', 2, 21, '', 978), +('2009-11-18', 451, '2.00', '2.00', 'Cash', 1, 21, '', 979), +('2009-11-19', 560, '5.35', '5.35', 'Cash', 2, 54, '', 980), +('2009-11-19', 560, '0.20', '0.20', 'Cash', 1, 54, '', 981), +('2009-11-19', 36, '50.00', '50.00', 'Cash', 1, 54, '', 982), +('2009-11-19', 184, '10.00', '10.00', 'Cash', 1, 48, '', 983), +('2009-11-19', 296, '5.00', '5.00', 'Cash', 1, 48, '', 984), +('2009-11-20', 72, '3.00', '3.00', 'Cash', 1, 5, '', 985), +('2009-11-20', 35, '1.35', '1.35', 'Cash', 2, 5, '', 986), +('2009-11-21', 534, '5.00', '5.00', 'Cash', 1, 50, '', 987), +('2009-11-21', 564, '10.00', '10.00', 'Cash', 1, 50, '', 988), +('2009-11-21', 564, '2.50', '2.50', 'Cash', 2, 50, '', 989), +('2009-11-21', 184, '3.35', '3.35', 'Cash', 3, 50, '', 990), +('2009-11-25', 562, '2.00', '2.00', 'Cash', 1, 21, '', 991), +('2009-11-25', 566, '10.00', '10.00', 'Cash', 1, 21, '', 992), +('2009-11-25', 565, '10.00', '10.00', 'Cash', 1, 21, '', 993), +('2009-11-26', 567, '10.00', '10.00', 'Cash', 1, 54, '', 994), +('2009-11-27', 568, '10.00', '10.00', 'Cash', 1, 5, '', 995), +('2009-11-27', 569, '10.00', '10.00', 'Cash', 1, 5, '', 996), +('2009-11-29', 184, '5.00', '5.00', 'Cash', 1, 52, '', 997), +('2009-12-01', 570, '10.00', '10.00', 'Cash', 1, 47, '', 998), +('2009-12-01', 16, '3.00', '3.00', 'Cash', 1, 47, '', 999), +('2009-12-01', 571, '10.00', '10.00', 'Cash', 1, 53, '', 1000), +('2009-12-01', 572, '10.00', '10.00', 'Cash', 1, 53, '', 1001), +('2009-12-02', 541, '4.00', '4.00', 'Cash', 2, 58, '', 1002), +('2009-12-02', 291, '3.00', '3.00', 'Cash', 1, 58, '', 1003), +('2009-12-02', 573, '10.00', '10.00', 'Cash', 1, 56, '', 1004), +('2009-12-02', 574, '10.00', '10.00', 'Cash', 1, 56, '', 1005), +('2009-12-08', 575, '10.00', '10.00', 'Cash', 1, 47, '', 1006), +('2009-12-08', 28, '3.00', '3.00', 'Cash', 1, 47, '', 1007), +('2009-12-08', 296, '150.00', '150.00', 'Cash', 1, 47, '', 1008), +('2009-12-08', 575, '15.50', '15.50', 'Cash', 1, 47, '', 1009), +('2009-12-09', 264, '10.00', '10.00', 'Cash', 1, 5, 'A bunch of reflectors, generator, and bottle cage', 1010), +('2009-12-10', 576, '10.00', '10.00', 'Cash', 1, 48, '', 1011), +('2009-12-10', 37, '0.00', '0.00', 'Cash', 1, 48, '', 1012), +('2009-12-16', 17, '10.00', '10.00', 'Cash', 1, 5, '', 1013), +('2009-12-16', 61, '10.00', '10.00', 'Cash', 1, 21, '', 1014), +('2009-12-16', 156, '20.00', '20.00', 'Cash', 1, 21, 'frame and handle bars', 1015), +('2009-12-16', 503, '150.00', '150.00', 'Cash', 1, 21, 'Kona Fire Mountain bike', 1016), +('2009-12-16', 319, '55.00', '55.00', 'Cash', 2, 21, 'a frame and a seat post', 1017), +('2009-12-16', 572, '2.00', '2.00', 'Cash', 1, 21, '', 1018), +('2009-12-16', 571, '2.00', '2.00', 'Cash', 1, 21, '', 1019), +('2009-12-16', 577, '46.00', '46.00', 'Cash', 3, 4, '', 1020), +('2009-12-17', 578, '10.00', '10.00', 'Cash', 1, 43, '', 1021), +('2009-12-18', 578, '5.50', '5.50', 'Cash', 2, 58, '', 1022), +('2010-01-06', 579, '10.00', '10.00', 'Cash', 1, 21, '', 1023), +('2010-01-06', 580, '10.00', '10.00', 'Cash', 1, 58, '', 1024), +('2010-01-06', 580, '2.00', '2.00', 'Cash', 1, 58, '', 1025), +('2010-01-06', 581, '10.00', '10.00', 'Cash', 1, 58, '', 1026), +('2010-01-06', 581, '2.00', '2.00', 'Cash', 1, 58, '', 1027), +('2010-01-09', 582, '10.00', '10.00', 'Cash', 1, 50, '', 1028), +('2010-01-10', 138, '10.00', '10.00', 'Cash', 1, 52, '', 1029), +('2010-01-11', 583, '10.00', '10.00', 'Cash', 1, 54, '', 1030), +('2010-01-12', 222, '35.00', '35.00', 'Cash', 1, 21, 'a used bike and some cables', 1031), +('2010-01-12', 174, '10.80', '10.80', 'Cash', 1, 21, 'discount cause hes a mechanic', 1032), +('2010-01-12', 584, '10.00', '10.00', 'Cash', 1, 21, '', 1033), +('2010-01-12', 585, '10.00', '10.00', 'Cash', 1, 21, '', 1034), +('2010-01-13', 586, '10.00', '10.00', 'Cash', 1, 58, '', 1035), +('2010-01-13', 586, '2.00', '2.00', 'Cash', 1, 58, '', 1036), +('2010-01-14', 584, '2.00', '2.00', 'Cash', 1, 59, '', 1037), +('2010-01-14', 587, '10.00', '10.00', 'Cash', 1, 60, '', 1038), +('2010-01-14', 588, '10.00', '10.00', 'Cash', 1, 60, '', 1039), +('2010-01-14', 587, '7.88', '7.88', 'Cash', 4, 60, '', 1040), +('2010-01-14', 544, '3.00', '3.00', 'Cash', 1, 50, '', 1041), +('2010-01-15', 589, '10.00', '10.00', 'Cash', 1, 48, '', 1042), +('2010-01-15', 590, '10.00', '10.00', 'Cash', 1, 48, '', 1043), +('2010-01-16', 127, '10.00', '10.00', 'Cash', 1, 52, '', 1044), +('2010-01-16', 127, '6.88', '6.88', 'Cash', 3, 52, '', 1045), +('2010-01-16', 591, '10.00', '10.00', 'Cash', 1, 52, '', 1046), +('2010-01-18', 9, '10.00', '10.00', 'Cash', 1, 54, '', 1047), +('2010-01-18', 592, '40.00', '40.00', 'Cash', 2, 54, 'Used part is actually a bike! Paper receipt, too', 1048), +('2010-01-19', 593, '30.00', '30.00', 'Cash', 1, 47, '', 1049), +('2010-01-19', 593, '10.00', '10.00', 'Cash', 1, 47, '', 1050), +('2010-01-19', 594, '10.00', '10.00', 'Cash', 1, 21, '', 1051), +('2010-01-20', 87, '10.00', '10.00', 'Cash', 1, 58, '', 1052), +('2010-01-20', 319, '10.00', '10.00', 'Cash', 1, 56, '', 1053), +('2010-01-22', 595, '10.00', '10.00', 'Cash', 1, 52, '', 1054), +('2010-01-26', 590, '10.00', '10.00', 'Cash', 1, 47, '', 1055), +('2010-01-26', 590, '-10.00', '-10.00', 'Cash', 1, 47, '', 1056), +('2010-01-26', 285, '3.00', '3.00', 'Cash', 1, 47, '', 1057), +('2010-01-26', 539, '1.88', '1.88', 'Cash', 2, 47, '', 1058), +('2010-01-26', 597, '10.00', '10.00', 'Cash', 1, 47, '', 1059), +('2010-01-26', 597, '5.00', '5.00', 'Cash', 1, 47, '', 1060), +('2010-01-27', 479, '30.00', '30.00', 'Cash', 1, 56, '$20.00 C$ and $10.00 cash', 1061), +('2010-01-27', 12, '2.25', '2.25', 'Cash', 1, 56, '', 1062), +('2010-01-28', 598, '60.00', '60.00', 'Cash', 2, 50, 'Used part is actually a bike! ', 1063), +('2010-01-29', 45, '10.00', '10.00', 'Cash', 1, 48, '', 1064), +('2010-01-29', 45, '8.70', '8.70', 'Cash', 6, 48, '', 1065), +('2010-02-01', 45, '2.00', '2.00', 'Cash', 1, 54, '', 1066), +('2010-02-02', 471, '0.88', '0.88', 'Cash', 1, 61, '', 1067), +('2010-02-02', 599, '10.00', '10.00', 'Cash', 1, 61, '', 1068), +('2010-02-03', 600, '10.00', '10.00', 'Cash', 1, 58, '', 1069), +('2010-02-03', 523, '50.00', '50.00', 'Cash', 1, 58, '', 1070), +('2010-02-03', 601, '10.00', '10.00', 'Cash', 1, 58, '', 1071), +('2010-02-03', 601, '40.00', '40.00', 'Cash', 1, 58, '', 1072), +('2010-02-04', 602, '10.00', '10.00', 'Cash', 1, 50, '', 1073), +('2010-02-05', 523, '48.05', '48.05', 'Cash', 7, 21, '', 1074), +('2010-02-05', 7, '10.00', '10.00', 'Cash', 1, 21, '', 1075), +('2010-02-05', 539, '30.00', '30.00', 'Cash', 1, 48, '', 1076), +('2010-02-06', 253, '3.00', '3.00', 'Cash', 1, 52, '', 1077), +('2010-02-06', 253, '4.00', '4.00', 'Cash', 2, 52, '', 1078), +('2010-02-09', 253, '3.00', '3.00', 'Cash', 1, 47, '', 1079), +('2010-02-09', 603, '10.00', '10.00', 'Cash', 1, 61, '', 1080), +('2010-02-11', 604, '10.00', '10.00', 'Cash', 1, 60, '', 1081), +('2010-02-11', 604, '3.00', '3.00', 'Cash', 1, 60, '', 1082), +('2010-02-11', 603, '5.00', '5.00', 'Cash', 1, 60, '', 1083), +('2010-02-12', 605, '10.00', '10.00', 'Cash', 1, 48, '', 1084), +('2010-02-12', 605, '1.00', '1.00', 'Cash', 1, 48, '', 1085), +('2010-02-12', 605, '1.00', '1.00', 'Cash', 1, 48, '', 1086), +('2010-02-12', 601, '1.00', '1.00', 'Cash', 1, 48, '', 1087), +('2010-02-12', 601, '5.70', '5.70', 'Cash', 3, 48, '', 1088), +('2010-02-13', 246, '19.00', '19.00', 'Cash', 2, 52, '', 1089), +('2010-02-13', 189, '10.50', '10.50', 'Cash', 1, 52, '', 1090), +('2010-02-13', 189, '1.35', '1.35', 'Cash', 2, 52, '', 1091), +('2010-02-16', 67, '5.40', '5.40', 'Cash', 2, 53, '', 1092), +('2010-02-16', 602, '10.00', '10.00', 'Cash', 1, 53, '', 1093), +('2010-02-17', 523, '8.75', '8.75', 'Cash', 4, 4, '', 1094), +('2010-02-18', 597, '5.00', '5.00', 'Cash', 1, 62, '', 1095), +('2010-02-18', 597, '30.00', '30.00', 'Cash', 3, 62, '', 1096), +('2010-02-18', 597, '5.00', '5.00', 'Cash', 1, 62, '', 1097), +('2010-02-18', 606, '0.00', '0.00', 'Cash', 1, 62, '', 1098), +('2010-02-18', 33, '10.00', '10.00', 'Cash', 1, 62, '', 1099), +('2010-02-18', 346, '8.20', '8.20', 'Cash', 8, 52, '', 1100), +('2010-02-19', 607, '10.00', '10.00', 'Cash', 1, 47, '', 1101), +('2010-02-19', 607, '5.00', '5.00', 'Cash', 1, 47, '', 1102), +('2010-02-22', 608, '10.00', '10.00', 'Cash', 1, 64, '', 1103), +('2010-02-22', 609, '10.00', '10.00', 'Cash', 1, 64, '', 1104), +('2010-02-22', 156, '11.50', '11.50', 'Cash', 1, 64, '', 1105), +('2010-02-22', 609, '40.00', '40.00', 'Cash', 1, 64, '', 1106), +('2010-02-22', 609, '10.00', '10.00', 'Cash', 1, 64, '', 1107), +('2010-02-22', 609, '40.00', '40.00', 'Cash', 1, 64, '', 1108), +('2010-02-23', 610, '10.00', '10.00', 'Cash', 1, 47, '', 1109), +('2010-02-23', 611, '10.00', '10.00', 'Cash', 1, 61, '', 1110), +('2010-02-23', 357, '16.00', '16.00', 'Cash', 2, 61, '', 1111), +('2010-02-25', 612, '10.00', '10.00', 'Cash', 1, 59, '', 1112), +('2010-02-25', 80, '10.00', '10.00', 'Cash', 2, 59, '', 1113), +('2010-02-25', 612, '20.00', '20.00', 'Cash', 1, 62, '', 1114), +('2010-02-25', 480, '3.00', '3.00', 'Cash', 1, 62, '', 1115), +('2010-02-26', 614, '18.75', '18.75', 'Cash', 5, 21, '', 1116), +('2010-02-26', 615, '10.00', '10.00', 'Cash', 1, 48, '', 1117), +('2010-02-27', 329, '0.00', '0.00', 'Cash', 3, 52, 'Paid with volunteer hours', 1118), +('2010-03-01', 133, '10.00', '10.00', 'Cash', 1, 64, '', 1119), +('2010-03-02', 617, '10.00', '10.00', 'Cash', 1, 47, '', 1120), +('2010-03-02', 618, '10.00', '10.00', 'Cash', 1, 47, '', 1121), +('2010-03-03', 106, '13.50', '13.50', 'Cash', 1, 58, '', 1122), +('2010-03-03', 12, '2.00', '2.00', 'Cash', 2, 58, '', 1123), +('2010-03-03', 422, '14.00', '14.00', 'Cash', 1, 58, '', 1124), +('2010-03-03', 619, '10.00', '10.00', 'Cash', 1, 58, '', 1125), +('2010-03-03', 557, '2.00', '2.00', 'Cash', 3, 58, '', 1126), +('2010-03-04', 620, '10.00', '10.00', 'Cash', 1, 59, '', 1127), +('2010-03-04', 557, '2.58', '2.58', 'Cash', 2, 53, '', 1128), +('2010-03-04', 621, '10.00', '10.00', 'Cash', 1, 53, '', 1129), +('2010-03-05', 596, '10.00', '10.00', 'Cash', 1, 21, '', 1130), +('2010-03-05', 605, '15.00', '15.00', 'Cash', 1, 48, '', 1131), +('2010-03-05', 575, '13.50', '13.50', 'Cash', 1, 48, '', 1132), +('2010-03-05', 622, '10.00', '10.00', 'Cash', 1, 48, '', 1133), +('2010-03-06', 624, '10.00', '10.00', 'Cash', 1, 52, '', 1134), +('2010-03-06', 137, '10.00', '10.00', 'Cash', 1, 52, '', 1135), +('2010-03-06', 625, '10.00', '10.00', 'Cash', 1, 52, '', 1136), +('2010-03-06', 625, '3.00', '3.00', 'Cash', 1, 52, '', 1137), +('2010-03-08', 610, '15.00', '15.00', 'Cash', 1, 64, 'bike frame', 1138), +('2010-03-08', 460, '5.00', '5.00', 'Cash', 1, 64, 'used pair of tires', 1140), +('2010-03-08', 626, '10.00', '10.00', 'Cash', 1, 21, '', 1141), +('2010-03-09', 479, '1.00', '1.00', 'Cash', 1, 47, '', 1142), +('2010-03-09', 627, '10.00', '10.00', 'Cash', 1, 47, '', 1143), +('2010-03-09', 101, '10.00', '10.00', 'Cash', 1, 61, '', 1144), +('2010-03-10', 628, '10.00', '10.00', 'Cash', 1, 58, '', 1145), +('2010-03-10', 629, '10.00', '10.00', 'Cash', 1, 58, '', 1146), +('2010-03-10', 630, '10.00', '10.00', 'Cash', 1, 58, '', 1147), +('2010-03-10', 631, '25.00', '25.00', 'Cash', 3, 58, '', 1148), +('2010-03-10', 138, '3.00', '3.00', 'Cash', 1, 58, '', 1149), +('2010-03-10', 563, '0.00', '0.00', 'Cash', 2, 58, '', 1150), +('2010-03-10', 632, '20.00', '20.00', 'Cash', 3, 56, '', 1151), +('2010-03-11', 633, '10.00', '10.00', 'Cash', 1, 59, '', 1152), +('2010-03-11', 550, '5.00', '5.00', 'Cash', 1, 62, '', 1153), +('2010-03-11', 59, '14.00', '14.00', 'Cash', 1, 62, '', 1154), +('2010-03-11', 47, '4.50', '4.50', 'Cash', 1, 62, '', 1155), +('2010-03-11', 135, '10.00', '10.00', 'Cash', 1, 60, '', 1156), +('2010-03-11', 112, '10.00', '10.00', 'Cash', 1, 60, '', 1157), +('2010-03-11', 112, '10.00', '10.00', 'Cash', 2, 60, '', 1158), +('2010-03-11', 135, '14.85', '14.85', 'Cash', 3, 60, '', 1159), +('2010-03-11', 112, '25.00', '25.00', 'Cash', 2, 60, '', 1160), +('2010-03-12', 273, '1.00', '1.00', 'Cash', 1, 20, '', 1161), +('2010-03-12', 5, '10.00', '10.00', 'Cash', 1, 20, '', 1162), +('2010-03-12', 491, '5.00', '5.00', 'Cash', 1, 48, '', 1163), +('2010-03-13', 149, '10.00', '10.00', 'Cash', 1, 52, '', 1164), +('2010-03-13', 149, '3.00', '3.00', 'Cash', 1, 52, '', 1165), +('2010-03-13', 422, '5.00', '5.00', 'Cash', 1, 52, '', 1166), +('2010-03-13', 634, '10.00', '10.00', 'Cash', 1, 52, '', 1167), +('2010-03-15', 130, '10.00', '10.00', 'Cash', 1, 64, '', 1168), +('2010-03-15', 195, '10.00', '10.00', 'Cash', 1, 64, '', 1169), +('2010-03-15', 20, '10.00', '10.00', 'Cash', 1, 64, '', 1170), +('2010-03-15', 191, '13.50', '13.50', 'Cash', 1, 64, '', 1171), +('2010-03-15', 7, '11.50', '11.50', 'Cash', 1, 64, '', 1172), +('2010-03-15', 636, '10.00', '10.00', 'Cash', 1, 64, '', 1173), +('2010-03-15', 195, '52.35', '52.35', 'Cash', 5, 64, '', 1174), +('2010-03-16', 637, '10.00', '10.00', 'Cash', 1, 47, '', 1175), +('2010-03-16', 155, '10.00', '10.00', 'Cash', 1, 47, '', 1176), +('2010-03-16', 638, '10.00', '10.00', 'Cash', 1, 47, '', 1177), +('2010-03-16', 523, '5.00', '5.00', 'Cash', 1, 61, '', 1178), +('2010-03-16', 274, '5.00', '5.00', 'Cash', 1, 61, '', 1179), +('2010-03-16', 639, '45.00', '45.00', 'Cash', 2, 21, '', 1180), +('2010-03-16', 274, '10.00', '10.00', 'Cash', 2, 21, '', 1181), +('2010-03-17', 640, '10.00', '10.00', 'Cash', 1, 58, '', 1182), +('2010-03-17', 642, '10.00', '10.00', 'Cash', 1, 58, '', 1183), +('2010-03-18', 205, '5.00', '5.00', 'Cash', 1, 21, '', 1184), +('2010-03-18', 641, '10.00', '10.00', 'Cash', 1, 21, '', 1185), +('2010-03-18', 643, '10.00', '10.00', 'Cash', 1, 21, '', 1186), +('2010-03-18', 644, '58.00', '58.00', 'Cash', 4, 21, '', 1187), +('2010-03-18', 645, '20.00', '20.00', 'Cash', 2, 50, '', 1188), +('2010-03-19', 647, '10.00', '10.00', 'Cash', 1, 48, '', 1189), +('2010-03-19', 134, '10.00', '10.00', 'Cash', 1, 48, '', 1190), +('2010-03-19', 619, '3.35', '3.35', 'Cash', 2, 48, '', 1191), +('2010-03-19', 648, '10.00', '10.00', 'Cash', 1, 48, '', 1192), +('2010-03-19', 649, '10.00', '10.00', 'Cash', 1, 21, '', 1193), +('2010-03-19', 650, '10.00', '10.00', 'Cash', 1, 21, '', 1194), +('2010-03-19', 652, '10.00', '10.00', 'Cash', 1, 21, '', 1195), +('2010-03-20', 111, '10.00', '10.00', 'Cash', 1, 52, '', 1196), +('2010-03-20', 653, '10.00', '10.00', 'Cash', 1, 52, '', 1197), +('2010-03-20', 654, '10.00', '10.00', 'Cash', 1, 52, '', 1198), +('2010-03-20', 603, '1.35', '1.35', 'Cash', 2, 52, '', 1199), +('2010-03-20', 655, '10.00', '10.00', 'Cash', 1, 18, '', 1200), +('2010-03-20', 654, '19.00', '19.00', 'Cash', 2, 18, '', 1201), +('2010-03-20', 653, '19.00', '19.00', 'Cash', 2, 18, '', 1202), +('2010-03-20', 156, '2.00', '2.00', 'Cash', 1, 53, '', 1203), +('2010-03-22', 227, '13.00', '13.00', 'Cash', 2, 64, '', 1204), +('2010-03-23', 479, '2.00', '2.00', 'Cash', 1, 47, '', 1205), +('2010-03-23', 656, '10.00', '10.00', 'Cash', 1, 47, '', 1206), +('2010-03-23', 139, '10.00', '10.00', 'Cash', 1, 47, '', 1207), +('2010-03-23', 36, '3.00', '3.00', 'Cash', 2, 47, '', 1208), +('2010-03-23', 444, '4.63', '4.63', 'Cash', 4, 5, '', 1209), +('2010-03-24', 657, '10.00', '10.00', 'Cash', 1, 21, '', 1210), +('2010-03-24', 657, '3.00', '3.00', 'Cash', 1, 21, '', 1211), +('2010-03-24', 588, '5.00', '5.00', 'Cash', 1, 21, 'frame', 1212), +('2010-03-24', 421, '5.00', '5.00', 'Cash', 1, 21, '', 1213), +('2010-03-24', 657, '5.00', '5.00', 'Cash', 1, 21, '', 1214), +('2010-03-24', 658, '10.00', '10.00', 'Cash', 1, 56, '', 1215), +('2010-03-25', 659, '10.00', '10.00', 'Cash', 1, 21, '', 1216), +('2010-03-25', 138, '25.00', '25.00', 'Cash', 4, 62, '', 1217), +('2010-03-25', 660, '10.00', '10.00', 'Cash', 1, 62, '', 1218), +('2010-03-25', 12, '11.63', '11.63', 'Cash', 1, 5, '', 1219), +('2010-03-25', 12, '8.63', '8.63', 'Cash', 1, 5, '', 1220), +('2010-03-26', 657, '5.00', '5.00', 'Cash', 1, 48, '', 1221), +('2010-03-26', 661, '10.00', '10.00', 'Cash', 1, 48, '', 1222), +('2010-03-26', 617, '20.85', '20.85', 'Cash', 3, 48, '', 1223), +('2010-03-27', 639, '3.00', '3.00', 'Cash', 1, 52, '', 1224), +('2010-03-29', 662, '10.00', '10.00', 'Cash', 1, 64, '', 1225), +('2010-03-29', 210, '12.00', '12.00', 'Cash', 6, 64, '', 1226), +('2010-03-30', 663, '10.00', '10.00', 'Cash', 1, 47, '', 1227), +('2010-03-30', 664, '20.00', '20.00', 'Cash', 3, 31, 'used pedals and derailieur', 1228), +('2010-03-30', 26, '10.00', '10.00', 'Cash', 1, 31, '', 1229), +('2010-03-30', 664, '3.00', '3.00', 'Cash', 2, 31, '', 1230), +('2010-03-31', 665, '10.00', '10.00', 'Cash', 1, 58, '', 1231), +('2010-03-31', 666, '10.00', '10.00', 'Cash', 1, 58, '', 1232), +('2010-03-31', 504, '5.00', '5.00', 'Cash', 4, 58, '', 1233), +('2010-03-31', 667, '10.00', '10.00', 'Cash', 1, 56, '', 1234), +('2010-03-31', 668, '10.00', '10.00', 'Cash', 1, 56, '', 1235), +('2010-03-31', 348, '1.00', '1.00', 'Cash', 1, 56, '', 1236), +('2010-04-01', 138, '2.00', '2.00', 'Cash', 2, 59, '', 1237), +('2010-04-01', 295, '3.75', '3.75', 'Cash', 3, 50, '', 1238), +('2010-04-01', 174, '10.00', '10.00', 'Cash', 1, 50, '', 1239), +('2010-04-05', 669, '10.00', '10.00', 'Cash', 1, 64, '', 1240), +('2010-04-05', 670, '10.00', '10.00', 'Cash', 1, 64, '', 1241), +('2010-04-05', 671, '10.00', '10.00', 'Cash', 1, 64, '', 1242), +('2010-04-05', 672, '10.00', '10.00', 'Cash', 1, 64, '', 1243), +('2010-04-05', 673, '10.00', '10.00', 'Cash', 1, 64, '', 1244), +('2010-04-06', 421, '10.00', '10.00', 'Cash', 1, 47, '', 1245), +('2010-04-06', 421, '-5.00', '-5.00', 'Cash', 1, 47, '', 1246), +('2010-04-06', 664, '10.00', '10.00', 'Cash', 2, 61, '', 1247), +('2010-04-07', 120, '8.00', '8.00', 'Cash', 2, 58, '', 1248), +('2010-04-07', 421, '5.00', '5.00', 'Cash', 1, 58, '', 1249), +('2010-04-07', 303, '10.00', '10.00', 'Cash', 1, 58, '', 1250), +('2010-04-08', 674, '23.50', '23.50', 'Cash', 2, 21, '', 1251), +('2010-04-08', 675, '10.00', '10.00', 'Cash', 1, 60, '', 1252), +('2010-04-08', 676, '10.00', '10.00', 'Cash', 1, 60, '', 1253), +('2010-04-08', 448, '3.00', '3.00', 'Cash', 3, 60, '', 1254), +('2010-04-09', 677, '10.00', '10.00', 'Cash', 1, 48, '', 1255), +('2010-04-09', 677, '50.00', '50.00', 'Cash', 1, 48, '', 1256), +('2010-04-09', 678, '50.00', '50.00', 'Cash', 1, 48, '', 1257), +('2010-04-09', 679, '10.00', '10.00', 'Cash', 1, 48, '', 1258), +('2010-04-10', 680, '10.00', '10.00', 'Cash', 1, 52, '', 1259), +('2010-04-10', 639, '6.35', '6.35', 'Cash', 3, 52, '', 1260), +('2010-04-12', 675, '3.00', '3.00', 'Cash', 1, 64, '', 1261), +('2010-04-13', 544, '10.00', '10.00', 'Cash', 2, 61, '', 1262), +('2010-04-13', 681, '10.00', '10.00', 'Cash', 1, 61, '', 1263), +('2010-04-14', 36, '5.00', '5.00', 'Cash', 1, 58, '', 1264), +('2010-04-14', 682, '10.00', '10.00', 'Cash', 1, 56, '', 1265), +('2010-04-14', 683, '10.00', '10.00', 'Cash', 1, 56, '', 1266), +('2010-04-14', 683, '2.75', '2.75', 'Cash', 2, 56, '', 1267), +('2010-04-15', 685, '30.00', '30.00', 'Cash', 2, 60, '', 1268), +('2010-04-15', 686, '10.00', '10.00', 'Cash', 1, 60, '', 1269), +('2010-04-15', 686, '3.00', '3.00', 'Cash', 1, 60, '', 1270), +('2010-04-15', 683, '5.00', '5.00', 'Cash', 5, 60, '', 1271), +('2010-04-17', 184, '20.00', '20.00', 'Cash', 2, 52, '', 1272), +('2010-04-17', 184, '20.00', '20.00', 'Cash', 1, 52, '', 1273), +('2010-04-17', 187, '1.00', '1.00', 'Cash', 1, 52, '', 1274), +('2010-04-20', 590, '3.00', '3.00', 'Cash', 1, 47, '', 1275), +('2010-04-20', 687, '10.00', '10.00', 'Cash', 1, 47, '', 1276), +('2010-04-20', 688, '10.00', '10.00', 'Cash', 1, 47, '', 1277), +('2010-04-20', 689, '10.00', '10.00', 'Cash', 1, 31, '', 1278), +('2010-04-20', 690, '10.00', '10.00', 'Cash', 1, 31, '', 1279), +('2010-04-20', 274, '10.00', '10.00', 'Cash', 2, 31, 'Bike rack and seat', 1280), +('2010-04-21', 16, '4.00', '4.00', 'Cash', 2, 58, '', 1281), +('2010-04-21', 690, '12.00', '12.00', 'Cash', 4, 58, '', 1282), +('2010-04-21', 691, '10.00', '10.00', 'Cash', 1, 58, '', 1283), +('2010-04-22', 692, '10.00', '10.00', 'Cash', 1, 59, '', 1284), +('2010-04-22', 329, '5.00', '5.00', 'Other', 1, 59, 'paide wit volunteer hours', 1285), +('2010-04-22', 693, '10.00', '10.00', 'Cash', 1, 59, '', 1286), +('2010-04-22', 695, '20.00', '20.00', 'Cash', 2, 59, 'bike parts = bike frame', 1287), +('2010-04-22', 692, '10.00', '10.00', 'Cash', 1, 62, '', 1288), +('2010-04-22', 597, '2.00', '2.00', 'Cash', 2, 62, '', 1289), +('2010-04-22', 684, '0.70', '0.70', 'Cash', 2, 62, '', 1290), +('2010-04-22', 551, '8.63', '8.63', 'Cash', 1, 62, '', 1291), +('2010-04-22', 696, '10.00', '10.00', 'Cash', 1, 62, '', 1292), +('2010-04-22', 694, '80.00', '80.00', 'Cash', 2, 62, '', 1293), +('2010-04-23', 274, '2.00', '2.00', 'Cash', 1, 66, '', 1294), +('2010-04-24', 697, '10.00', '10.00', 'Cash', 1, 5, '', 1295), +('2010-04-24', 698, '10.00', '10.00', 'Cash', 1, 5, '', 1296), +('2010-04-24', 699, '10.00', '10.00', 'Cash', 1, 5, '', 1297), +('2010-04-24', 117, '2.35', '2.35', 'Cash', 3, 5, '', 1298), +('2010-04-26', 700, '10.00', '10.00', 'Cash', 1, 64, '', 1299), +('2010-04-26', 701, '10.00', '10.00', 'Cash', 1, 64, '', 1300), +('2010-04-26', 702, '10.00', '10.00', 'Cash', 1, 64, '', 1301), +('2010-04-26', 343, '1.00', '1.00', 'Cash', 1, 64, '', 1302), +('2010-04-27', 703, '15.00', '15.00', 'Cash', 2, 61, '', 1303), +('2010-04-27', 700, '15.00', '15.00', 'Cash', 1, 61, 'new shimano 7speed freewheel', 1304), +('2010-04-27', 27, '15.38', '15.38', 'Cash', 1, 61, '', 1305), +('2010-04-27', 274, '1.35', '1.35', 'Cash', 2, 61, '', 1306), +('2010-04-28', 537, '3.00', '3.00', 'Cash', 1, 67, '', 1307), +('2010-04-28', 704, '10.00', '10.00', 'Cash', 1, 67, '', 1308), +('2010-04-28', 690, '5.00', '5.00', 'Cash', 1, 67, 'for bike lock rental.', 1309), +('2010-04-29', 329, '87.35', '87.35', 'Cash', 10, 5, '', 1310), +('2010-04-29', 705, '15.00', '15.00', 'Cash', 2, 5, '', 1311), +('2010-04-29', 597, '5.00', '5.00', 'Cash', 3, 30, '', 1312), +('2010-04-30', 706, '10.00', '10.00', 'Cash', 1, 2, '', 1313), +('2010-04-30', 706, '2.00', '2.00', 'Cash', 1, 2, '', 1314), +('2010-04-30', 707, '10.00', '10.00', 'Cash', 1, 2, '', 1315), +('2010-04-30', 287, '5.00', '5.00', 'Cash', 1, 2, '', 1316), +('2010-04-30', 85, '0.00', '0.00', 'Cash', 1, 2, '', 1317), +('2010-04-30', 504, '35.00', '35.00', 'Cash', 3, 2, '', 1318), +('2010-05-01', 505, '13.50', '13.50', 'Cash', 1, 31, '', 1319), +('2010-05-01', 179, '10.00', '10.00', 'Cash', 1, 31, '', 1320), +('2010-05-01', 287, '3.35', '3.35', 'Cash', 4, 31, '', 1321), +('2010-05-01', 287, '1.15', '1.15', 'Cash', 1, 31, '', 1322), +('2010-05-01', 35, '2.00', '2.00', 'Cash', 2, 31, '', 1323), +('2010-05-01', 708, '10.00', '10.00', 'Cash', 1, 31, '', 1324), +('2010-05-01', 709, '15.00', '15.00', 'Cash', 2, 31, 'used derailieur', 1325), +('2010-05-01', 710, '10.00', '10.00', 'Cash', 1, 31, '', 1326), +('2010-05-01', 711, '10.00', '10.00', 'Cash', 1, 31, '', 1327), +('2010-05-03', 396, '3.00', '3.00', 'Cash', 1, 64, '', 1328), +('2010-05-03', 712, '10.00', '10.00', 'Cash', 1, 64, '', 1329), +('2010-05-03', 714, '10.00', '10.00', 'Cash', 1, 64, '', 1330), +('2010-05-03', 713, '10.00', '10.00', 'Cash', 1, 64, '', 1331), +('2010-05-03', 156, '10.00', '10.00', 'Cash', 1, 64, '', 1332), +('2010-05-03', 715, '10.00', '10.00', 'Cash', 1, 64, '', 1333), +('2010-05-03', 715, '5.00', '5.00', 'Cash', 1, 64, '', 1334), +('2010-05-04', 716, '10.00', '10.00', 'Cash', 1, 59, '', 1335), +('2010-05-04', 712, '10.00', '10.00', 'Cash', 2, 59, '', 1336), +('2010-05-04', 712, '4.00', '4.00', 'Cash', 1, 59, '1x brake lever, fork sprocket set, cranks ', 1337), +('2010-05-04', 716, '13.50', '13.50', 'Cash', 1, 59, '', 1338), +('2010-05-04', 717, '10.00', '10.00', 'Cash', 1, 59, '', 1339), +('2010-05-04', 718, '17.00', '17.00', 'Cash', 3, 66, '', 1340), +('2010-05-07', 635, '20.00', '20.00', 'Cash', 4, 21, '', 1341), +('2010-05-07', 719, '60.00', '60.00', 'Cash', 2, 21, 'used part is a used nishiki cross bike', 1342), +('2010-05-07', 720, '10.00', '10.00', 'Cash', 1, 21, '', 1343), +('2010-05-07', 49, '80.00', '80.00', 'Cash', 1, 21, '', 1344), +('2010-05-07', 253, '10.00', '10.00', 'Cash', 1, 21, '', 1345), +('2010-05-07', 721, '10.00', '10.00', 'Cash', 1, 64, '', 1346), +('2010-05-07', 722, '10.00', '10.00', 'Cash', 1, 64, '', 1347), +('2010-05-07', 723, '10.00', '10.00', 'Cash', 1, 64, '', 1348), +('2010-05-07', 18, '10.00', '10.00', 'Cash', 1, 64, '', 1349), +('2010-05-07', 678, '10.00', '10.00', 'Cash', 1, 64, '', 1350), +('2010-05-07', 724, '10.00', '10.00', 'Cash', 1, 64, '', 1351), +('2010-05-07', 18, '3.00', '3.00', 'Cash', 1, 64, '', 1352), +('2010-05-08', 554, '13.85', '13.85', 'Cash', 4, 35, '', 1353), +('2010-05-08', 155, '0.15', '0.15', 'Cash', 1, 35, '', 1354), +('2010-05-08', 725, '10.00', '10.00', 'Cash', 1, 35, '', 1355), +('2010-05-10', 120, '5.00', '5.00', 'Cash', 1, 64, '', 1356), +('2010-05-10', 726, '24.50', '24.50', 'Cash', 3, 64, '', 1357), +('2010-05-10', 559, '3.00', '3.00', 'Cash', 2, 64, '', 1358), +('2010-05-10', 559, '10.00', '10.00', 'Cash', 1, 64, '', 1359), +('2010-05-10', 727, '10.00', '10.00', 'Cash', 1, 64, '', 1360), +('2010-05-10', 256, '10.00', '10.00', 'Cash', 1, 64, '', 1361), +('2010-05-11', 729, '10.00', '10.00', 'Cash', 1, 59, '', 1362), +('2010-05-11', 730, '10.00', '10.00', 'Cash', 1, 59, '', 1363), +('2010-05-11', 210, '10.00', '10.00', 'Cash', 1, 59, '', 1364), +('2010-05-11', 731, '10.00', '10.00', 'Cash', 1, 59, '', 1365), +('2010-05-11', 694, '11.00', '11.00', 'Cash', 3, 59, '3 x chain guards, rear fender, bike seat cover', 1366), +('2010-05-11', 732, '10.00', '10.00', 'Cash', 1, 66, '', 1367), +('2010-05-11', 733, '10.00', '10.00', 'Cash', 1, 66, '', 1368), +('2010-05-13', 441, '3.00', '3.00', 'Cash', 1, 55, '', 1369), +('2010-05-13', 734, '10.00', '10.00', 'Cash', 1, 55, '', 1370), +('2010-05-13', 735, '10.00', '10.00', 'Cash', 1, 55, '', 1371), +('2010-05-13', 377, '3.00', '3.00', 'Cash', 1, 55, '', 1372), +('2010-05-14', 736, '10.00', '10.00', 'Cash', 1, 31, '', 1373), +('2010-05-14', 737, '10.00', '10.00', 'Cash', 1, 31, '', 1374), +('2010-05-14', 329, '5.00', '5.00', 'Cash', 1, 31, '', 1375), +('2010-05-14', 563, '4.00', '4.00', 'Cash', 4, 31, '', 1376), +('2010-05-15', 738, '50.00', '50.00', 'Cash', 2, 35, '', 1377), +('2010-05-15', 740, '10.00', '10.00', 'Cash', 1, 35, '', 1378), +('2010-05-15', 712, '5.00', '5.00', 'Cash', 3, 35, '', 1379), +('2010-05-17', 30, '10.00', '10.00', 'Cash', 1, 21, '', 1380), +('2010-05-17', 449, '14.00', '14.00', 'Cash', 7, 21, '', 1381), +('2010-05-17', 449, '100.00', '100.00', 'Check', 1, 21, 'terry''s consignment bike', 1382), +('2010-05-17', 735, '6.00', '6.00', 'Cash', 2, 21, 'used part is a seat', 1383), +('2010-05-18', 335, '10.00', '10.00', 'Cash', 1, 59, '', 1384), +('2010-05-18', 741, '10.00', '10.00', 'Cash', 1, 59, '', 1385), +('2010-05-18', 742, '10.00', '10.00', 'Cash', 1, 59, '', 1386), +('2010-05-18', 743, '10.00', '10.00', 'Cash', 1, 59, '', 1387), +('2010-05-18', 743, '3.00', '3.00', 'Cash', 1, 59, '', 1388), +('2010-05-18', 584, '40.00', '40.00', 'Cash', 1, 66, '', 1389), +('2010-05-18', 744, '10.00', '10.00', 'Cash', 1, 66, '', 1390), +('2010-05-18', 274, '10.00', '10.00', 'Cash', 1, 66, '', 1391), +('2010-05-18', 745, '10.00', '10.00', 'Cash', 1, 66, '', 1392), +('2010-05-18', 718, '5.00', '5.00', 'Cash', 1, 66, 'bells', 1393), +('2010-05-18', 348, '5.00', '5.00', 'Cash', 1, 66, '', 1394), +('2010-05-18', 668, '19.50', '19.50', 'Cash', 3, 66, '', 1395), +('2010-05-20', 18, '6.75', '6.75', 'Cash', 4, 21, '', 1396), +('2010-05-20', 746, '10.00', '10.00', 'Cash', 1, 55, '', 1397), +('2010-05-20', 747, '10.00', '10.00', 'Cash', 1, 55, '', 1398), +('2010-05-20', 748, '10.00', '10.00', 'Cash', 1, 55, '', 1399), +('2010-05-20', 580, '6.00', '6.00', 'Cash', 3, 55, '', 1400), +('2010-05-20', 747, '5.00', '5.00', 'Cash', 1, 55, '', 1401), +('2010-05-20', 668, '9.70', '9.70', 'Cash', 7, 55, '', 1402), +('2010-05-21', 749, '10.00', '10.00', 'Cash', 1, 21, '', 1403), +('2010-05-21', 693, '11.00', '11.00', 'Cash', 6, 21, '', 1404), +('2010-05-25', 750, '10.00', '10.00', 'Cash', 1, 59, '', 1405), +('2010-05-25', 751, '10.00', '10.00', 'Cash', 1, 59, '', 1406), +('2010-05-25', 294, '3.00', '3.00', 'Cash', 1, 59, '', 1407), +('2010-05-25', 505, '5.00', '5.00', 'Cash', 1, 66, '', 1408), +('2010-05-25', 273, '10.00', '10.00', 'Cash', 1, 66, '', 1409), +('2010-05-25', 741, '9.00', '9.00', 'Cash', 1, 66, '', 1410), +('2010-05-25', 752, '10.00', '10.00', 'Cash', 1, 66, '', 1411), +('2010-05-27', 753, '10.00', '10.00', 'Cash', 1, 55, '', 1412), +('2010-05-27', 294, '10.00', '10.00', 'Cash', 1, 55, '', 1413), +('2010-05-28', 198, '10.00', '10.00', 'Cash', 1, 64, '', 1414), +('2010-05-28', 754, '10.00', '10.00', 'Cash', 1, 64, '', 1415), +('2010-05-28', 253, '0.00', '0.00', 'Cash', 1, 64, 'A guy gave us $10 for helping him out', 1416), +('2010-05-28', 754, '19.50', '19.50', 'Cash', 3, 64, '', 1417), +('2010-05-29', 755, '10.00', '10.00', 'Cash', 1, 18, '', 1418), +('2010-05-29', 748, '6.00', '6.00', 'Cash', 2, 18, '', 1419), +('2010-05-29', 756, '10.00', '10.00', 'Cash', 1, 18, '', 1420), +('2010-05-29', 741, '10.00', '10.00', 'Cash', 1, 18, '', 1421), +('2010-05-29', 155, '3.00', '3.00', 'Cash', 1, 18, '', 1422), +('2010-06-01', 757, '10.00', '10.00', 'Cash', 1, 59, '', 1423), +('2010-06-01', 758, '10.00', '10.00', 'Cash', 1, 66, '', 1424), +('2010-06-01', 759, '10.00', '10.00', 'Cash', 1, 66, '', 1425), +('2010-06-01', 758, '5.00', '5.00', 'Cash', 1, 66, '', 1426), +('2010-06-03', 760, '10.00', '10.00', 'Cash', 1, 55, '', 1427), +('2010-06-03', 761, '10.00', '10.00', 'Cash', 1, 55, '', 1428), +('2010-06-03', 760, '3.00', '3.00', 'Cash', 1, 55, '', 1429), +('2010-06-03', 446, '1.35', '1.35', 'Cash', 2, 55, '', 1430), +('2010-06-03', 762, '10.00', '10.00', 'Cash', 1, 55, '', 1431), +('2010-06-03', 763, '10.00', '10.00', 'Cash', 1, 55, '', 1432), +('2010-06-03', 764, '10.00', '10.00', 'Cash', 1, 55, '', 1433), +('2010-06-03', 765, '10.00', '10.00', 'Cash', 1, 55, '', 1434), +('2010-06-03', 766, '10.00', '10.00', 'Cash', 1, 55, '', 1435), +('2010-06-03', 763, '25.00', '25.00', 'Cash', 1, 55, 'bike from graveyard', 1436), +('2010-06-03', 764, '0.00', '0.00', 'Cash', 1, 55, 'bike from graveyard', 1437), +('2010-06-03', 767, '10.00', '10.00', 'Cash', 1, 55, '', 1438), +('2010-06-04', 768, '10.00', '10.00', 'Cash', 1, 64, '', 1439), +('2010-06-04', 769, '10.00', '10.00', 'Cash', 1, 64, '', 1440), +('2010-06-04', 770, '10.00', '10.00', 'Cash', 1, 64, '', 1441), +('2010-06-04', 17, '10.00', '10.00', 'Cash', 1, 64, '', 1442), +('2010-06-04', 17, '11.50', '11.50', 'Cash', 1, 64, '', 1443), +('2010-06-04', 299, '5.00', '5.00', 'Cash', 1, 64, '', 1444), +('2010-06-04', 30, '1.00', '1.00', 'Cash', 1, 64, '', 1445), +('2010-06-04', 610, '35.00', '35.00', 'Cash', 5, 64, '', 1446), +('2010-06-04', 764, '10.00', '10.00', 'Cash', 9, 64, '', 1447), +('2010-06-04', 763, '3.00', '3.00', 'Cash', 3, 64, '', 1448), +('2010-06-04', 771, '10.00', '10.00', 'Cash', 1, 64, '', 1449), +('2010-06-04', 772, '10.00', '10.00', 'Cash', 1, 64, '', 1450), +('2010-06-04', 772, '5.00', '5.00', 'Cash', 1, 64, '', 1451), +('2010-06-05', 773, '10.00', '10.00', 'Cash', 1, 35, '', 1452), +('2010-06-05', 558, '7.25', '7.25', 'Cash', 3, 35, '', 1453), +('2010-06-05', 774, '60.00', '60.00', 'Cash', 2, 35, '', 1454), +('2010-06-05', 668, '5.00', '5.00', 'Cash', 1, 35, '', 1455), +('2010-06-05', 668, '28.10', '28.10', 'Cash', 8, 35, '', 1456), +('2010-06-05', 155, '1.90', '1.90', 'Cash', 1, 35, '', 1457), +('2010-06-08', 688, '3.00', '3.00', 'Cash', 1, 59, '', 1458), +('2010-06-08', 775, '15.00', '15.00', 'Cash', 2, 59, '', 1459), +('2010-06-08', 776, '3.00', '3.00', 'Cash', 1, 66, '', 1460), +('2010-06-08', 777, '10.00', '10.00', 'Cash', 1, 66, '', 1461), +('2010-06-08', 680, '1.00', '1.00', 'Cash', 1, 66, '', 1462), +('2010-06-08', 778, '10.00', '10.00', 'Cash', 1, 66, '', 1463), +('2010-06-08', 668, '5.00', '5.00', 'Cash', 1, 66, '', 1464), +('2010-06-10', 767, '0.35', '0.35', 'Cash', 1, 66, '', 1465), +('2010-06-10', 781, '10.00', '10.00', 'Cash', 1, 66, '', 1466), +('2010-06-10', 782, '10.00', '10.00', 'Cash', 1, 66, '', 1467), +('2010-06-10', 774, '5.00', '5.00', 'Cash', 1, 66, '', 1468), +('2010-06-10', 778, '1.00', '1.00', 'Cash', 1, 66, '', 1469), +('2010-06-10', 783, '10.00', '10.00', 'Cash', 1, 66, '', 1470), +('2010-06-11', 714, '3.00', '3.00', 'Cash', 1, 52, '', 1471), +('2010-06-11', 763, '5.00', '5.00', 'Cash', 1, 52, '', 1472), +('2010-06-11', 784, '10.00', '10.00', 'Cash', 1, 52, '', 1473), +('2010-06-12', 785, '0.00', '0.00', 'Cash', 1, 21, '', 1474), +('2010-06-12', 786, '10.00', '10.00', 'Cash', 1, 21, '', 1475), +('2010-06-12', 400, '5.00', '5.00', 'Cash', 1, 21, '', 1476), +('2010-06-12', 787, '10.00', '10.00', 'Cash', 1, 21, '', 1477), +('2010-06-12', 788, '10.00', '10.00', 'Cash', 1, 21, '', 1478), +('2010-06-12', 773, '2.00', '2.00', 'Cash', 2, 21, '', 1479), +('2010-06-14', 789, '10.00', '10.00', 'Cash', 1, 64, '', 1480), +('2010-06-14', 790, '10.00', '10.00', 'Cash', 1, 64, '', 1481), +('2010-06-14', 791, '10.00', '10.00', 'Cash', 1, 64, '', 1482), +('2010-06-14', 505, '3.75', '3.75', 'Cash', 3, 64, '', 1483), +('2010-06-15', 741, '3.00', '3.00', 'Cash', 1, 59, '', 1484), +('2010-06-15', 792, '10.00', '10.00', 'Cash', 1, 59, '', 1485), +('2010-06-15', 792, '40.00', '40.00', 'Cash', 1, 59, '', 1486), +('2010-06-15', 759, '40.00', '40.00', 'Cash', 1, 66, 'Blue Cannondale Frame', 1487), +('2010-06-15', 793, '10.00', '10.00', 'Cash', 1, 66, '', 1488), +('2010-06-15', 793, '20.00', '20.00', 'Cash', 3, 66, '', 1489), +('2010-06-15', 563, '2.00', '2.00', 'Cash', 1, 66, '', 1490), +('2010-06-15', 794, '10.00', '10.00', 'Cash', 1, 66, '', 1491), +('2010-06-15', 773, '1.00', '1.00', 'Cash', 1, 66, '', 1492), +('2010-06-17', 795, '10.00', '10.00', 'Cash', 1, 55, '', 1493), +('2010-06-17', 631, '18.00', '18.00', 'Cash', 3, 55, '', 1494), +('2010-06-17', 796, '10.00', '10.00', 'Cash', 1, 55, '', 1495), +('2010-06-17', 294, '3.00', '3.00', 'Cash', 1, 55, '', 1496), +('2010-06-17', 705, '16.00', '16.00', 'Cash', 4, 55, '', 1497), +('2010-06-17', 785, '10.00', '10.00', 'Cash', 2, 55, '', 1498), +('2010-06-17', 705, '5.00', '5.00', 'Cash', 1, 55, '', 1499), +('2010-06-17', 790, '61.40', '61.40', 'Cash', 14, 55, '', 1500), +('2010-06-18', 191, '10.00', '10.00', 'Cash', 1, 52, '', 1501), +('2010-06-18', 797, '10.00', '10.00', 'Cash', 1, 52, '', 1502), +('2010-06-18', 798, '10.00', '10.00', 'Cash', 1, 52, '', 1503), +('2010-06-18', 799, '10.00', '10.00', 'Cash', 1, 52, '', 1504), +('2010-06-18', 442, '4.00', '4.00', 'Cash', 2, 52, '', 1505), +('2010-06-18', 563, '3.00', '3.00', 'Cash', 1, 52, '', 1506), +('2010-06-18', 442, '16.00', '16.00', 'Cash', 4, 52, '', 1507), +('2010-06-18', 799, '5.00', '5.00', 'Cash', 3, 52, '', 1508), +('2010-06-19', 442, '3.00', '3.00', 'Cash', 1, 21, '', 1509), +('2010-06-19', 554, '5.00', '5.00', 'Cash', 1, 21, 'a bell, new actually', 1510), +('2010-06-19', 800, '10.00', '10.00', 'Cash', 1, 21, '', 1511), +('2010-06-21', 216, '10.00', '10.00', 'Cash', 1, 64, '', 1512), +('2010-06-21', 505, '6.00', '6.00', 'Cash', 1, 64, '', 1513), +('2010-06-21', 555, '2.75', '2.75', 'Cash', 2, 64, '', 1514), +('2010-06-22', 801, '10.00', '10.00', 'Cash', 1, 59, '', 1515), +('2010-06-22', 801, '15.00', '15.00', 'Cash', 1, 59, '', 1516), +('2010-06-22', 741, '3.00', '3.00', 'Cash', 1, 66, '', 1517), +('2010-06-22', 597, '1.00', '1.00', 'Cash', 1, 66, '', 1518), +('2010-06-22', 441, '15.00', '15.00', 'Cash', 3, 66, '', 1519), +('2010-06-24', 802, '10.00', '10.00', 'Cash', 1, 52, '', 1520), +('2010-06-24', 803, '10.00', '10.00', 'Cash', 1, 68, '', 1521), +('2010-06-24', 804, '10.00', '10.00', 'Cash', 1, 68, '', 1522), +('2010-06-24', 563, '9.00', '9.00', 'Cash', 1, 68, '', 1523), +('2010-06-24', 624, '20.00', '20.00', 'Cash', 1, 68, '', 1524), +('2010-06-24', 805, '10.00', '10.00', 'Cash', 1, 68, '', 1525), +('2010-06-24', 399, '3.00', '3.00', 'Cash', 1, 68, '', 1526), +('2010-06-24', 806, '10.00', '10.00', 'Cash', 1, 68, '', 1527), +('2010-06-24', 804, '32.00', '32.00', 'Cash', 2, 68, '', 1528), +('2010-06-25', 807, '2.00', '2.00', 'Cash', 1, 52, '', 1529), +('2010-06-25', 808, '10.00', '10.00', 'Cash', 1, 52, '', 1530), +('2010-06-25', 807, '10.00', '10.00', 'Cash', 1, 52, '', 1531), +('2010-06-26', 184, '10.50', '10.50', 'Cash', 1, 21, '', 1532), +('2010-06-26', 303, '10.23', '10.23', 'Cash', 7, 21, '', 1533), +('2010-06-29', 469, '3.00', '3.00', 'Cash', 1, 52, '', 1534), +('2010-06-29', 639, '10.00', '10.00', 'Cash', 1, 52, '', 1535), +('2010-06-29', 809, '10.00', '10.00', 'Cash', 1, 52, '', 1536), +('2010-06-29', 311, '10.00', '10.00', 'Cash', 1, 52, '', 1537), +('2010-06-29', 810, '10.00', '10.00', 'Cash', 1, 52, '', 1538), +('2010-06-29', 18, '20.00', '20.00', 'Cash', 2, 66, '', 1539), +('2010-06-29', 812, '10.00', '10.00', 'Cash', 1, 66, '', 1540), +('2010-06-29', 813, '10.00', '10.00', 'Cash', 1, 66, '', 1541), +('2010-06-29', 812, '7.50', '7.50', 'Cash', 4, 66, '', 1542), +('2010-07-05', 758, '18.00', '18.00', 'Cash', 2, 64, '', 1543), +('2010-07-05', 814, '10.00', '10.00', 'Cash', 1, 64, '', 1544), +('2010-07-05', 815, '10.00', '10.00', 'Cash', 1, 64, '', 1545), +('2010-07-05', 814, '40.00', '40.00', 'Cash', 1, 64, '', 1546), +('2010-07-05', 116, '15.00', '15.00', 'Cash', 2, 64, '', 1547), +('2010-07-08', 816, '10.00', '10.00', 'Cash', 1, 70, 'Total Goddess.', 1548), +('2010-07-08', 817, '23.00', '23.00', 'Cash', 3, 70, '', 1549), +('2010-07-08', 357, '10.00', '10.00', 'Cash', 1, 68, 'Membership Updated as of July 8, 2010', 1550), +('2010-07-12', 818, '12.00', '12.00', 'Cash', 2, 64, '', 1551), +('2010-07-13', 375, '10.00', '10.00', 'Cash', 1, 71, '', 1552), +('2010-07-13', 357, '3.00', '3.00', 'Cash', 2, 71, '', 1553), +('2010-07-13', 375, '3.00', '3.00', 'Cash', 1, 71, '', 1554), +('2010-07-13', 819, '50.00', '50.00', 'Cash', 2, 66, '$40 for used bike', 1555), +('2010-07-13', 628, '8.63', '8.63', 'Cash', 1, 66, '', 1556), +('2010-07-13', 639, '3.50', '3.50', 'Cash', 2, 66, '', 1557), +('2010-07-15', 640, '16.00', '16.00', 'Cash', 1, 70, '', 1558), +('2010-07-15', 820, '10.00', '10.00', 'Cash', 1, 70, '', 1559), +('2010-07-15', 770, '15.50', '15.50', 'Cash', 2, 70, '', 1560), +('2010-07-15', 820, '1.00', '1.00', 'Cash', 1, 68, '', 1561), +('2010-07-15', 785, '15.00', '15.00', 'Cash', 1, 21, 'blue apollo', 1562), +('2010-07-19', 785, '20.00', '20.00', 'Cash', 1, 64, '', 1563), +('2010-07-20', 821, '10.00', '10.00', 'Cash', 1, 71, '', 1564), +('2010-07-20', 770, '0.50', '0.50', 'Cash', 5, 66, '', 1565), +('2010-07-22', 822, '10.00', '10.00', 'Cash', 1, 72, 'Made by Connor', 1566), +('2010-07-22', 680, '10.00', '10.00', 'Cash', 1, 72, 'Panier rack rear', 1567), +('2010-07-22', 823, '0.00', '0.00', 'Cash', 1, 72, '', 1568), +('2010-07-22', 822, '13.50', '13.50', 'Cash', 1, 72, '', 1569), +('2010-07-22', 823, '2.00', '2.00', 'Cash', 2, 68, '', 1570), +('2010-07-22', 824, '10.00', '10.00', 'Cash', 1, 68, '', 1571), +('2010-07-22', 640, '1.00', '1.00', 'Cash', 1, 68, '', 1572), +('2010-07-22', 824, '3.00', '3.00', 'Cash', 3, 68, '', 1573), +('2010-07-23', 118, '6.45', '6.45', 'Cash', 2, 53, '', 1574), +('2010-07-23', 118, '-6.45', '-6.45', 'Cash', 1, 53, '', 1575), +('2010-07-23', 118, '6.05', '6.05', 'Cash', 2, 53, '', 1576), +('2010-07-23', 555, '5.35', '5.35', 'Cash', 2, 52, '', 1577), +('2010-07-26', 159, '40.00', '40.00', 'Cash', 1, 64, '', 1578), +('2010-09-20', 825, '10.00', '10.00', 'Cash', 1, 21, '', 1579), +('2010-09-24', 49, '10.00', '10.00', 'Cash', 1, 21, '', 1580), +('2010-09-24', 828, '10.00', '10.00', 'Cash', 1, 21, '', 1581), +('2010-09-24', 443, '20.00', '20.00', 'Cash', 1, 21, '', 1582), +('2010-09-24', 448, '10.00', '10.00', 'Cash', 1, 21, '', 1583), +('2010-09-24', 294, '2.00', '2.00', 'Cash', 2, 21, '', 1584), +('2010-09-24', 16, '10.00', '10.00', 'Cash', 1, 21, '', 1585), +('2010-09-24', 830, '10.00', '10.00', 'Cash', 1, 21, '', 1586), +('2010-09-24', 831, '10.00', '10.00', 'Cash', 1, 21, '', 1587), +('2010-10-01', 473, '74.50', '74.50', 'Check', 4, 21, '', 1588), +('2010-10-01', 551, '30.00', '30.00', 'Cash', 1, 21, '', 1589), +('2010-10-01', 833, '10.00', '10.00', 'Cash', 1, 21, '', 1590), +('2010-10-01', 834, '10.00', '10.00', 'Cash', 1, 74, '', 1591), +('2010-10-01', 835, '10.00', '10.00', 'Cash', 1, 74, '', 1592), +('2017-03-10', 85, '10.00', '10.00', 'Cash', 1, 2, '', 1593); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `sales_items` +-- + +CREATE TABLE IF NOT EXISTS `sales_items` ( + `sale_id` int(8) NOT NULL DEFAULT '0', + `item_id` int(8) NOT NULL DEFAULT '0', + `quantity_purchased` int(8) NOT NULL DEFAULT '0', + `item_unit_price` varchar(15) NOT NULL DEFAULT '', + `item_buy_price` varchar(30) NOT NULL DEFAULT '', + `item_tax_percent` varchar(10) NOT NULL DEFAULT '', + `item_total_tax` varchar(12) NOT NULL DEFAULT '', + `item_total_cost` varchar(12) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Table that holds item information for sales' AUTO_INCREMENT=2136 ; + +-- +-- Dumping data for table `sales_items` +-- + +INSERT INTO `sales_items` (`sale_id`, `item_id`, `quantity_purchased`, `item_unit_price`, `item_buy_price`, `item_tax_percent`, `item_total_tax`, `item_total_cost`, `id`) VALUES +(10, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 15), +(11, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 16), +(12, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 17), +(13, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 18), +(14, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 19), +(15, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 20), +(16, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 21), +(17, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 22), +(18, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 23), +(19, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 24), +(20, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 25), +(21, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 26), +(22, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 27), +(23, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 28), +(24, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 29), +(25, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 30), +(26, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 31), +(27, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 32), +(28, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 33), +(29, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 34), +(30, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 35), +(31, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 36), +(32, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 37), +(33, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 38), +(34, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 39), +(35, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 40), +(36, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 41), +(37, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 42), +(38, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 43), +(39, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 44), +(40, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 45), +(41, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 46), +(42, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 47), +(43, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 48), +(44, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 49), +(45, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 50), +(46, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 51), +(47, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 52), +(48, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 53), +(49, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 54), +(50, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 55), +(51, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 56), +(52, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 57), +(53, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 58), +(54, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 59), +(55, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 60), +(56, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 61), +(57, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 62), +(58, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 63), +(59, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 64), +(60, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 65), +(61, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 66), +(63, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 68), +(64, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 69), +(65, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 70), +(65, 2, 1, '50.00', '0.00', '0', '0.00', '50.00', 71), +(66, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 72), +(67, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 73), +(68, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 74), +(69, 2, 1, '3.00', '0.00', '0', '0.00', '3.00', 75), +(70, 2, 1, '15.00', '0.00', '0', '0.00', '15.00', 76), +(71, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 77), +(72, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 78), +(73, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 79), +(74, 13, 1, '8.00', '0.20', '0', '0.00', '8.00', 80), +(74, 7, 2, '6.00', '0.58', '0', '0.00', '12.00', 81), +(74, 11, 2, '10.00', '1.32', '0', '0.00', '20.00', 82), +(75, 2, 1, '7.00', '0.00', '0', '0.00', '7.00', 83), +(76, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 84), +(77, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 85), +(78, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 86), +(79, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 87), +(80, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 88), +(81, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 89), +(82, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 90), +(83, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 91), +(84, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 92), +(89, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 97), +(90, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 98), +(91, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 99), +(92, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 100), +(93, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 101), +(94, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 102), +(95, 26, 2, '15.88', '9.63', '0', '0.00', '31.76', 103), +(95, 9, 2, '2.90', '1.76', '0', '0.00', '5.80', 104), +(95, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 105), +(96, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 106), +(97, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 107), +(98, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 108), +(99, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 109), +(100, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 110), +(101, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 111), +(102, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 112), +(103, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 113), +(104, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 114), +(105, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 115), +(106, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 116), +(107, 22, 2, '0.00', '1.08', '0', '0.00', '0.00', 117), +(107, 8, 1, '0.00', '0.55', '0', '0.00', '0.00', 118), +(108, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 119), +(109, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 120), +(110, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 121), +(111, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 122), +(112, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 123), +(113, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 124), +(114, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 125), +(115, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 126), +(116, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 127), +(117, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 128), +(118, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 129), +(119, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 130), +(120, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 131), +(121, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 132), +(122, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 133), +(123, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 134), +(124, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 135), +(125, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 136), +(126, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 137), +(127, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 138), +(128, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 139), +(129, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 140), +(130, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 141), +(130, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 142), +(131, 9, 2, '2.90', '1.76', '0', '0.00', '5.80', 143), +(132, 27, 1, '7.00', '0.00', '0', '0.00', '7.00', 144), +(133, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 145), +(134, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 146), +(135, 28, 1, '20.00', '20.00', '0', '0.00', '20.00', 147), +(136, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 148), +(137, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 149), +(138, 27, 1, '4.00', '0.00', '0', '0.00', '4.00', 150), +(139, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 151), +(139, 15, 0, '4.36', '2.64', '0', '0.00', '0.00', 152), +(140, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 153), +(141, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 154), +(142, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 155), +(143, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 156), +(144, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 157), +(145, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 158), +(146, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 159), +(146, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 160), +(147, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 161), +(147, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 162), +(147, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 163), +(148, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 164), +(149, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 165), +(150, 27, 1, '7.00', '0.00', '0', '0.00', '7.00', 166), +(150, 2, 1, '3.00', '0.00', '0', '0.00', '3.00', 167), +(151, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 168), +(152, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 169), +(153, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 170), +(154, 27, 1, '70.00', '0.00', '0', '0.00', '70.00', 171), +(155, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 172), +(156, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 173), +(157, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 174), +(158, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 175), +(158, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 176), +(159, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 177), +(160, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 178), +(161, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 179), +(162, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 180), +(163, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 181), +(164, 27, 1, '200.00', '0.00', '0', '0.00', '200.00', 182), +(165, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 183), +(166, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 184), +(167, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 185), +(169, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 189), +(169, 27, 1, '7.82', '0.00', '0', '0.00', '7.82', 190), +(169, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 191), +(170, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 192), +(171, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 193), +(171, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 194), +(171, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 195), +(172, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 196), +(173, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 197), +(174, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 198), +(175, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 199), +(176, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 200), +(177, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 201), +(178, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 202), +(179, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 203), +(180, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 204), +(181, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 205), +(181, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 206), +(181, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 207), +(181, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 208), +(182, 27, 1, '6.66', '0.00', '0', '0.00', '6.66', 209), +(183, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 210), +(184, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 211), +(185, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 212), +(186, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 213), +(187, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 214), +(187, 27, 1, '49.00', '0.00', '0', '0.00', '49.00', 215), +(188, 13, 1, '2.00', '0.20', '0', '0.00', '2.00', 216), +(189, 27, 1, '150.00', '0.00', '0', '0.00', '150.00', 217), +(191, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 219), +(192, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 220), +(194, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 222), +(195, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 223), +(196, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 224), +(197, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 225), +(198, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 226), +(199, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 227), +(200, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 228), +(201, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 229), +(202, 8, 1, '1.00', '0.55', '0', '0.00', '0.66', 230), +(202, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 231), +(202, 2, 1, '0.34', '0.00', '0', '0.00', '0.34', 232), +(203, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 233), +(204, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 234), +(204, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 235), +(205, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 236), +(206, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 237), +(207, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 238), +(208, 27, 1, '60.00', '0.00', '0', '0.00', '60.00', 239), +(209, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 240), +(209, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 241), +(210, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 242), +(211, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 243), +(212, 27, 1, '60.00', '0.00', '0', '0.00', '60.00', 244), +(213, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 245), +(214, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 246), +(215, 18, 1, '0.00', '8.24', '0', '0.00', '0.00', 247), +(215, 6, 1, '0.00', '0.58', '0', '0.00', '0.00', 248), +(215, 8, 1, '0.00', '0.55', '0', '0.00', '0.00', 249), +(216, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 250), +(216, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 251), +(216, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 252), +(216, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 253), +(216, 27, 2, '30.00', '0.00', '0', '0.00', '60.00', 254), +(217, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 255), +(218, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 256), +(219, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 257), +(220, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 258), +(221, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 259), +(222, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 260), +(223, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 261), +(224, 13, 3, '0.34', '0.20', '0', '0.00', '1.02', 262), +(224, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 263), +(224, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 264), +(224, 27, 1, '33.39', '0.00', '0', '0.00', '33.39', 265), +(225, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 266), +(226, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 267), +(226, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 268), +(227, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 269), +(228, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 270), +(228, 27, 1, '7.50', '0.00', '0', '0.00', '7.50', 271), +(229, 2, 1, '10.00', '0.00', '0', '0.00', '10.00', 272), +(230, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 273), +(231, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 274), +(232, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 275), +(233, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 276), +(234, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 277), +(235, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 278), +(236, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 279), +(237, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 280), +(238, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 281), +(239, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 282), +(240, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 283), +(241, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 284), +(242, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 285), +(242, 28, 1, '30.00', '20.00', '0', '0.00', '30.00', 286), +(243, 1, 1, '5.00', '0.00', '0', '0.00', '5.00', 287), +(244, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 288), +(245, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 289), +(246, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 290), +(247, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 291), +(247, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 292), +(247, 27, 1, '21.66', '0.00', '0', '0.00', '21.66', 293), +(248, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 294), +(249, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 295), +(250, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 296), +(251, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 297), +(252, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 298), +(253, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 299), +(254, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 300), +(255, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 301), +(256, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 302), +(257, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 303), +(259, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 305), +(259, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 306), +(260, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 307), +(261, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 308), +(262, 20, 1, '15.88', '9.63', '0', '0.00', '15.88', 309), +(263, 27, 1, '180.00', '0.00', '0', '0.00', '180.00', 310), +(264, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 311), +(265, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 312), +(266, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 313), +(268, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 315), +(268, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 316), +(268, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 317), +(268, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 318), +(268, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 319), +(268, 24, 2, '2.99', '1.82', '0', '0.00', '5.98', 320), +(268, 27, 1, '61.74', '0.00', '0', '0.00', '61.74', 321), +(269, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 322), +(270, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 323), +(271, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 324), +(272, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 325), +(272, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 326), +(273, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 327), +(274, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 328), +(274, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 329), +(275, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 330), +(276, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 331), +(276, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 332), +(277, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 333), +(277, 20, 1, '15.88', '9.63', '0', '0.00', '15.88', 334), +(278, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 335), +(278, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 336), +(279, 12, 2, '2.09', '1.27', '0', '0.00', '4.18', 337), +(279, 13, 2, '0.34', '0.20', '0', '0.00', '0.68', 338), +(279, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 339), +(280, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 340), +(281, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 341), +(281, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 342), +(281, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 343), +(282, 31, 1, '12.38', '7.50', '0', '0.00', '12.38', 344), +(283, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 345), +(284, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 346), +(285, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 347), +(286, 31, 1, '0.00', '7.50', '0', '0.00', '0.00', 348), +(286, 8, 2, '0.00', '0.55', '0', '0.00', '0.00', 349), +(287, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 350), +(287, 13, 2, '0.34', '0.20', '0', '0.00', '0.68', 351), +(287, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 352), +(288, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 353), +(289, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 354), +(290, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 355), +(291, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 356), +(292, 29, 1, '10.00', '20.00', '0', '0.00', '10.00', 357), +(293, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 358), +(293, 16, 2, '2.18', '1.32', '0', '0.00', '4.36', 359), +(294, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 360), +(295, 13, 0, '0.34', '0.20', '0', '0.00', '0.09', 361), +(295, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 362), +(296, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 363), +(296, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 364), +(297, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 365), +(298, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 366), +(299, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 367), +(300, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 368), +(301, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 369), +(302, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 370), +(303, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 371), +(304, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 372), +(304, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 373), +(305, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 374), +(306, 12, 1, '1.00', '1.27', '0', '0.00', '1.00', 375), +(307, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 376), +(307, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 377), +(307, 22, 2, '1.78', '1.08', '0', '0.00', '3.56', 378), +(307, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 379), +(307, 12, 2, '2.09', '1.27', '0', '0.00', '4.18', 380), +(308, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 381), +(308, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 382), +(308, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 383), +(308, 22, 1, '1.78', '1.08', '0', '0.00', '0.89', 384), +(308, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 385), +(308, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 386), +(309, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 387), +(310, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 388), +(311, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 389), +(312, 13, 2, '0.34', '0.20', '0', '0.00', '0.68', 390), +(312, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 391), +(312, 12, 2, '2.09', '1.27', '0', '0.00', '4.18', 392), +(313, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 393), +(314, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 394), +(315, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 395), +(316, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 396), +(316, 2, 1, '2.10', '0.00', '0', '0.00', '2.10', 397), +(317, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 398), +(318, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 399), +(319, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 400), +(320, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 401), +(320, 10, 1, '14.45', '8.79', '0', '0.00', '14.45', 402), +(320, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 403), +(320, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 404), +(320, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 405), +(321, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 406), +(321, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 407), +(322, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 408), +(323, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 409), +(324, 13, 2, '0.34', '0.20', '0', '0.00', '0.51', 410), +(324, 11, 3, '2.18', '1.32', '0', '0.00', '6.54', 411), +(324, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 412), +(324, 22, 2, '1.78', '1.08', '0', '0.00', '2.67', 413), +(324, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 414), +(325, 20, 2, '15.88', '9.63', '0', '0.00', '31.76', 415), +(326, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 416), +(327, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 417), +(327, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 418), +(328, 19, 1, '15.41', '9.34', '0', '0.00', '15.41', 419), +(329, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 420), +(329, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 421), +(330, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 422), +(330, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 423), +(331, 14, 1, '20.42', '12.38', '0', '0.00', '20.42', 424), +(332, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 425), +(333, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 426), +(333, 13, 2, '0.34', '0.20', '0', '0.00', '0.68', 427), +(333, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 428), +(333, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 429), +(334, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 430), +(335, 16, 1, '3.00', '1.32', '0', '0.00', '3.00', 431), +(336, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 432), +(337, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 433), +(338, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 434), +(339, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 435), +(339, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 436), +(340, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 437), +(341, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 438), +(342, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 439), +(342, 16, 2, '2.18', '1.32', '0', '0.00', '4.36', 440), +(342, 9, 2, '2.90', '1.76', '0', '0.00', '5.80', 441), +(343, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 442), +(343, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 443), +(344, 27, 7, '5.00', '0.00', '0', '0.00', '35.00', 444), +(344, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 445), +(344, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 446), +(345, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 447), +(346, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 448), +(347, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 449), +(348, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 450), +(349, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 451), +(350, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 452), +(351, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 453), +(352, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 454), +(353, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 455), +(353, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 456), +(354, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 457), +(354, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 458), +(354, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 459), +(354, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 460), +(354, 12, 1, '2.09', '1.27', '0', '0.00', '2.09', 461), +(355, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 462), +(355, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 463), +(355, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 464), +(356, 27, 2, '40.00', '0.00', '0', '0.00', '80.00', 465), +(357, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 466), +(357, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 467), +(358, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 468), +(359, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 469), +(360, 27, 2, '7.50', '0.00', '0', '0.00', '15.00', 470), +(360, 24, 2, '2.99', '1.82', '0', '0.00', '5.98', 471), +(360, 14, 1, '20.42', '12.38', '0', '0.00', '20.42', 472), +(360, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 473), +(360, 22, 1, '1.78', '1.08', '0', '0.00', '0.89', 474), +(361, 31, 1, '7.50', '7.50', '0', '0.00', '7.50', 475), +(361, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 476), +(361, 27, 2, '7.50', '0.00', '0', '0.00', '15.00', 477), +(361, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 478), +(361, 13, 2, '0.34', '0.20', '0', '0.00', '0.68', 479), +(362, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 480), +(363, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 481), +(364, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 482), +(365, 16, 1, '2.00', '1.32', '0', '0.00', '2.00', 483), +(366, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 484), +(367, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 485), +(368, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 486), +(369, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 487), +(370, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 488), +(370, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 489), +(371, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 490), +(371, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 491), +(372, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 492), +(372, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 493), +(373, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 494), +(374, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 495), +(375, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 496), +(375, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 497), +(376, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 498), +(377, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 499), +(378, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 500), +(379, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 501), +(380, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 502), +(380, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 503), +(381, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 504), +(382, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 505), +(382, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 506), +(382, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 507), +(383, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 508), +(384, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 509), +(384, 2, 1, '0.82', '0.00', '0', '0.00', '0.82', 510), +(385, 23, 1, '15.88', '9.63', '0', '0.00', '15.88', 511), +(385, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 512), +(386, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 513), +(387, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 514), +(387, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 515), +(388, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 516), +(388, 28, 1, '20.00', '20.00', '0', '0.00', '20.00', 517), +(389, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 518), +(390, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 519), +(391, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 520), +(391, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 521), +(391, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 522), +(391, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 523), +(391, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 524), +(391, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 525), +(392, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 526), +(393, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 527), +(394, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 528), +(395, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 529), +(396, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 530), +(397, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 531), +(398, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 532), +(399, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 533), +(399, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 534), +(400, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 535), +(400, 27, 1, '60.00', '0.00', '0', '0.00', '60.00', 536), +(400, 27, 1, '13.00', '0.00', '0', '0.00', '13.00', 537), +(401, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 538), +(401, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 539), +(401, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 540), +(401, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 541), +(401, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 542), +(401, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 543), +(401, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 544), +(401, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 545), +(402, 27, 1, '12.00', '0.00', '0', '0.00', '12.00', 546), +(403, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 547), +(403, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 548), +(403, 9, 2, '2.90', '1.76', '0', '0.00', '5.80', 549), +(404, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 550), +(405, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 551), +(406, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 552), +(407, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 553), +(408, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 554), +(409, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 555), +(409, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 556), +(410, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 557), +(411, 12, 1, '2.09', '1.27', '0', '0.00', '2.09', 558), +(412, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 559), +(413, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 560), +(413, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 561), +(413, 27, 1, '66.41', '0.00', '0', '0.00', '66.41', 562), +(414, 11, 1, '2.18', '1.32', '0', '0.00', '2.18', 563), +(415, 20, 1, '15.88', '9.63', '0', '0.00', '15.88', 564), +(415, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 565), +(415, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 566), +(416, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 567), +(417, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 568), +(418, 15, 2, '4.36', '2.64', '0', '0.00', '8.72', 569), +(419, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 570), +(419, 26, 1, '15.88', '9.63', '0', '0.00', '15.88', 571), +(419, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 572), +(419, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 573), +(419, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 574), +(419, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 575), +(420, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 576), +(421, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 577), +(422, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 578), +(423, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 579), +(424, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 580), +(425, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 581), +(426, 33, 2, '10.00', '5.00', '0', '0.00', '20.00', 582), +(426, 12, 2, '2.09', '1.27', '0', '0.00', '4.18', 583), +(427, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 584), +(427, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 585), +(428, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 586), +(428, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 587), +(429, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 588), +(430, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 589), +(431, 27, 1, '60.00', '0.00', '0', '0.00', '60.00', 590), +(432, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 591), +(433, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 592), +(433, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 593), +(434, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 594), +(435, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 595), +(436, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 596), +(437, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 597), +(437, 19, 1, '15.41', '9.34', '0', '0.00', '15.41', 598), +(437, 2, 1, '14.59', '0.00', '0', '0.00', '14.59', 599), +(438, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 600), +(438, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 601), +(438, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 602), +(438, 32, 2, '10.00', '5.00', '0', '0.00', '20.00', 603), +(439, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 604), +(439, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 605), +(440, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 606), +(440, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 607), +(441, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 608), +(442, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 609), +(443, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 610), +(444, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 611), +(444, 27, 1, '70.00', '0.00', '0', '0.00', '70.00', 612), +(445, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 613), +(445, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 614), +(445, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 615), +(445, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 616), +(446, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 617), +(447, 28, 1, '20.00', '20.00', '0', '0.00', '20.00', 618), +(447, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 619), +(448, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 620), +(449, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 621), +(450, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 622), +(451, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 623), +(451, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 624), +(452, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 625), +(452, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 626), +(453, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 627), +(453, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 628), +(454, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 629), +(455, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 630), +(456, 2, 1, '25.00', '0.00', '0', '0.00', '25.00', 631), +(457, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 632), +(458, 1, 1, '25.00', '0.00', '0', '0.00', '25.00', 633), +(458, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 634), +(459, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 635), +(460, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 636), +(460, 16, 1, '2.00', '1.32', '0', '0.00', '2.00', 637), +(461, 2, 1, '30.00', '0.00', '0', '0.00', '30.00', 638), +(462, 21, 1, '7.79', '4.72', '0', '0.00', '7.79', 639), +(462, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 640), +(463, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 641), +(464, 2, 1, '20.00', '0.00', '0', '0.00', '20.00', 642), +(465, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 643), +(466, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 644), +(466, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 645), +(466, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 646), +(466, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 647), +(466, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 648), +(467, 26, 1, '7.94', '9.63', '0', '0.00', '7.94', 649), +(467, 26, 1, '7.94', '9.63', '0', '0.00', '7.94', 650), +(467, 16, 1, '1.09', '1.32', '0', '0.00', '1.09', 651), +(467, 16, 1, '1.09', '1.32', '0', '0.00', '1.09', 652), +(468, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 653), +(469, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 654), +(470, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 655), +(471, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 656), +(472, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 657), +(473, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 658), +(474, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 659), +(474, 27, 1, '75.00', '0.00', '0', '0.00', '75.00', 660), +(475, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 661), +(475, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 662), +(476, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 663), +(476, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 664), +(477, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 665), +(477, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 666), +(478, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 667), +(479, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 668), +(480, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 669), +(481, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 670), +(482, 27, 1, '25.00', '0.00', '0', '0.00', '25.00', 671), +(483, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 672), +(484, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 673), +(485, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 674), +(485, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 675), +(485, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 676), +(486, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 677), +(487, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 678), +(488, 32, 2, '10.00', '5.00', '0', '0.00', '20.00', 679), +(488, 16, 2, '2.18', '1.32', '0', '0.00', '4.36', 680), +(489, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 681), +(490, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 682), +(491, 14, 1, '20.42', '12.38', '0', '0.00', '20.42', 683), +(492, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 684), +(493, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 685), +(494, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 686), +(495, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 687), +(496, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 688), +(497, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 689), +(498, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 690), +(499, 19, 1, '15.41', '9.34', '0', '0.00', '15.41', 691), +(499, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 692), +(499, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 693), +(500, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 694), +(501, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 695), +(502, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 696), +(503, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 697), +(504, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 698), +(504, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 699), +(504, 27, 1, '55.64', '0.00', '0', '0.00', '55.64', 700), +(505, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 701), +(506, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 702), +(506, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 703), +(507, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 704), +(507, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 705), +(508, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 706), +(509, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 707), +(510, 25, 2, '2.51', '1.54', '0', '0.00', '5.02', 708), +(511, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 709), +(512, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 710), +(513, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 711), +(514, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 712), +(514, 33, 2, '10.00', '5.00', '0', '0.00', '20.00', 713), +(514, 25, 2, '2.50', '1.54', '0', '0.00', '5.00', 714), +(515, 2, 1, '20.00', '0.00', '0', '0.00', '20.00', 715), +(516, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 716), +(517, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 717), +(518, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 718), +(518, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 719), +(518, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 720), +(519, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 721), +(519, 13, 0, '0.34', '0.20', '0', '0.00', '0.09', 722), +(519, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 723), +(519, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 724), +(519, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 725), +(520, 27, 1, '95.00', '0.00', '0', '0.00', '95.00', 726), +(521, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 727), +(522, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 728), +(523, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 729), +(523, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 730), +(524, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 731), +(524, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 732), +(525, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 733), +(526, 22, 2, '1.78', '1.08', '0', '0.00', '3.56', 734), +(526, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 735), +(527, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 736), +(528, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 737), +(529, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 738), +(530, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 739), +(531, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 740), +(532, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 741), +(533, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 742), +(534, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 743), +(535, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 744), +(536, 9, 3, '2.90', '1.76', '0', '0.00', '8.70', 745), +(536, 6, 1, '1.30', '0.58', '0', '0.00', '1.30', 746), +(537, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 747), +(537, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 748), +(538, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 749), +(538, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 750), +(539, 1, 1, '25.00', '0.00', '0', '0.00', '25.00', 751), +(540, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 752), +(541, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 753), +(542, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 754), +(543, 27, 1, '85.00', '0.00', '0', '0.00', '85.00', 755), +(544, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 756), +(544, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 757), +(545, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 758), +(546, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 759), +(547, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 760), +(548, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 761), +(548, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 762), +(549, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 763), +(550, 15, 2, '4.36', '2.64', '0', '0.00', '8.72', 764), +(551, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 765), +(552, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 766), +(553, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 767), +(554, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 768), +(554, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 769), +(555, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 770), +(556, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 771), +(556, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 772), +(557, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 773), +(558, 4, 1, '10.44', '6.33', '0', '0.00', '10.44', 774), +(559, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 775), +(560, 27, 0, '5.00', '0.00', '0', '0.00', '0.00', 776), +(560, 19, 1, '15.41', '9.34', '0', '0.00', '15.41', 777), +(560, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 778), +(560, 22, 3, '1.78', '1.08', '0', '0.00', '5.34', 779), +(561, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 780), +(562, 33, 0, '10.00', '5.00', '0', '0.00', '0.00', 781), +(562, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 782), +(563, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 783), +(563, 13, 1, '0.34', '0.20', '0', '0.00', '0.17', 784), +(563, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 785), +(564, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 786), +(565, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 787), +(566, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 788), +(567, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 789), +(568, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 790), +(569, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 791), +(570, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 792), +(571, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 793), +(572, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 794), +(573, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 795), +(573, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 796), +(573, 22, 0, '1.78', '1.08', '0', '0.00', '0.45', 797), +(573, 25, 2, '2.51', '1.54', '0', '0.00', '5.02', 798), +(573, 27, 1, '123.53', '0.00', '0', '0.00', '123.53', 799), +(574, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 800), +(574, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 801), +(575, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 802), +(576, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 803), +(577, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 804), +(578, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 805), +(579, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 806), +(580, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 807), +(580, 12, 1, '2.10', '1.27', '0', '0.00', '2.10', 808), +(581, 25, 2, '2.50', '1.54', '0', '0.00', '5.00', 809), +(582, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 810), +(583, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 811), +(584, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 812), +(585, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 813), +(586, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 814), +(587, 9, 1, '2.17', '1.76', '0', '0.00', '2.17', 815), +(588, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 816), +(588, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 817), +(588, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 818), +(589, 27, 1, '43.00', '0.00', '0', '0.00', '43.00', 819), +(590, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 820), +(591, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 821), +(591, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 822), +(592, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 823), +(593, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 824), +(594, 7, 2, '0.75', '0.58', '0', '0.00', '1.50', 825), +(594, 13, 2, '0.26', '0.20', '0', '0.00', '0.52', 826), +(595, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 827), +(596, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 828), +(596, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 829), +(596, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 830), +(597, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 831), +(598, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 832), +(599, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 833), +(599, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 834), +(600, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 835), +(600, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 836), +(601, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 837), +(602, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 838), +(602, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 839), +(603, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 840), +(604, 2, 1, '40.00', '0.00', '0', '0.00', '40.00', 841), +(605, 9, 2, '2.90', '1.76', '0', '0.00', '5.80', 842), +(606, 2, 1, '30.00', '0.00', '0', '0.00', '30.00', 843), +(607, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 844), +(608, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 845), +(609, 27, 1, '41.41', '0.00', '0', '0.00', '41.41', 846), +(609, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 847), +(609, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 848), +(610, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 849), +(611, 25, 1, '2.50', '1.54', '0', '0.00', '2.50', 850), +(612, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 851), +(613, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 852), +(614, 25, 1, '2.50', '1.54', '0', '0.00', '2.50', 853), +(615, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 854), +(615, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 855), +(615, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 856), +(616, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 857), +(616, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 858), +(616, 7, 2, '1.00', '0.58', '0', '0.00', '2.00', 859), +(617, 1, 1, '25.00', '0.00', '0', '0.00', '25.00', 860), +(618, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 861), +(618, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 862), +(618, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 863), +(618, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 864), +(618, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 865), +(618, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 866), +(618, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 867), +(619, 33, 1, '10.00', '5.00', '0', '0.00', '10.00', 868), +(620, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 869), +(621, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 870), +(622, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 871), +(623, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 872), +(624, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 873), +(625, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 874), +(626, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 875), +(627, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 876), +(628, 2, 1, '25.00', '0.00', '0', '0.00', '25.00', 877), +(629, 27, 1, '100.00', '0.00', '0', '0.00', '100.00', 878), +(629, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 879), +(630, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 880), +(631, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 881), +(631, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 882), +(631, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 883), +(632, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 884), +(633, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 885), +(634, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 886), +(635, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 887), +(636, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 888), +(637, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 889), +(638, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 890), +(639, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 891), +(640, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 892), +(641, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 893), +(642, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 894), +(642, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 895), +(642, 2, 1, '2.66', '0.00', '0', '0.00', '2.66', 896), +(643, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 897), +(644, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 898), +(645, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 899), +(645, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 900), +(646, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 901), +(647, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 902), +(648, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 903), +(648, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 904), +(648, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 905), +(649, 15, 2, '4.36', '2.64', '0', '0.00', '8.72', 906), +(650, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 907), +(651, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 908), +(652, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 909), +(652, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 910), +(652, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 911), +(652, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 912), +(652, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 913), +(652, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 914), +(653, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 915), +(654, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 916), +(654, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 917), +(654, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 918), +(654, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 919), +(655, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 920), +(656, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 921), +(656, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 922), +(657, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 923), +(658, 27, 1, '65.00', '0.00', '0', '0.00', '65.00', 924), +(659, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 925), +(661, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 928), +(662, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 929), +(663, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 930), +(663, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 931), +(664, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 932), +(664, 6, 4, '1.00', '0.58', '0', '0.00', '4.00', 933), +(664, 13, 5, '0.34', '0.20', '0', '0.00', '1.70', 934), +(664, 24, 1, '2.99', '1.82', '0', '0.00', '2.99', 935), +(664, 27, 1, '0.06', '0.00', '0', '0.00', '0.06', 936), +(665, 33, 0, '10.00', '5.00', '0', '0.00', '0.00', 937), +(665, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 938), +(666, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 939), +(667, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 940), +(668, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 941), +(669, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 942); +INSERT INTO `sales_items` (`sale_id`, `item_id`, `quantity_purchased`, `item_unit_price`, `item_buy_price`, `item_tax_percent`, `item_total_tax`, `item_total_cost`, `id`) VALUES +(670, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 943), +(671, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 944), +(672, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 945), +(673, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 946), +(674, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 947), +(675, 13, 1, '3.50', '0.20', '0', '0.00', '3.50', 948), +(676, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 949), +(677, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 950), +(677, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 951), +(678, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 952), +(679, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 953), +(680, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 954), +(681, 2, 1, '4.00', '0.00', '0', '0.00', '4.00', 955), +(682, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 956), +(683, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 957), +(684, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 958), +(685, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 959), +(685, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 960), +(686, 25, 1, '2.50', '1.54', '0', '0.00', '2.50', 961), +(687, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 962), +(688, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 963), +(688, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 964), +(688, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 965), +(688, 22, 1, '1.78', '1.08', '0', '0.00', '0.89', 966), +(689, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 967), +(690, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 968), +(690, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 969), +(690, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 970), +(690, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 971), +(691, 2, 1, '9.00', '0.00', '0', '0.00', '9.00', 972), +(693, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 975), +(693, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 976), +(694, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 977), +(695, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 978), +(696, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 979), +(697, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 980), +(698, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 981), +(698, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 982), +(699, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 983), +(700, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 984), +(701, 32, 2, '10.00', '5.00', '0', '0.00', '20.00', 985), +(701, 31, 1, '5.00', '7.50', '0', '0.00', '5.00', 986), +(701, 16, 2, '2.18', '1.32', '0', '0.00', '4.36', 987), +(701, 27, 3, '5.00', '0.00', '0', '0.00', '15.00', 988), +(702, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 989), +(702, 8, 3, '1.00', '0.55', '0', '0.00', '3.00', 990), +(702, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 991), +(703, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 992), +(703, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 993), +(704, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 994), +(705, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 995), +(706, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 996), +(707, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 997), +(707, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 998), +(708, 25, 1, '2.50', '1.54', '0', '0.00', '2.50', 999), +(709, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 1000), +(709, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1001), +(710, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1002), +(711, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1003), +(712, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1004), +(713, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 1005), +(714, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1006), +(714, 22, 0, '1.78', '1.08', '0', '0.00', '0.53', 1007), +(715, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1008), +(716, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1009), +(716, 13, 1, '0.25', '0.20', '0', '0.00', '0.25', 1010), +(717, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1011), +(718, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1012), +(719, 14, 1, '20.00', '12.38', '0', '0.00', '20.00', 1013), +(719, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1014), +(720, 11, 2, '2.00', '1.32', '0', '0.00', '4.00', 1015), +(720, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1016), +(720, 13, 1, '0.25', '0.20', '0', '0.00', '0.25', 1017), +(721, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1018), +(721, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1019), +(722, 27, 1, '25.00', '0.00', '0', '0.00', '25.00', 1020), +(723, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1021), +(723, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 1022), +(724, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1023), +(724, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1024), +(724, 22, 1, '1.78', '1.08', '0', '0.00', '0.89', 1025), +(725, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1026), +(726, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1027), +(726, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1028), +(727, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1029), +(728, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 1030), +(728, 22, 1, '1.78', '1.08', '0', '0.00', '1.78', 1031), +(729, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1032), +(730, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1033), +(730, 11, 1, '2.18', '1.32', '0', '0.00', '2.18', 1034), +(731, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1035), +(731, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1036), +(731, 13, 1, '0.34', '0.20', '0', '0.00', '0.22', 1037), +(731, 22, 1, '1.78', '1.08', '0', '0.00', '1.17', 1038), +(731, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 1039), +(732, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1040), +(733, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1041), +(734, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1042), +(735, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1043), +(736, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1044), +(736, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1045), +(737, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1046), +(738, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1047), +(739, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1048), +(740, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 1049), +(740, 27, 1, '7.50', '0.00', '0', '0.00', '7.50', 1050), +(741, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1051), +(742, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1052), +(743, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1053), +(744, 17, 1, '26.32', '15.95', '0', '0.00', '26.32', 1054), +(744, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1055), +(745, 10, 1, '14.45', '8.79', '0', '0.00', '14.45', 1056), +(745, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 1057), +(746, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 1058), +(747, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 1059), +(748, 30, 1, '13.59', '13.59', '0', '0.00', '13.59', 1060), +(748, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1061), +(749, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1062), +(750, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1063), +(751, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1064), +(752, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1065), +(753, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1066), +(754, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1067), +(755, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1068), +(756, 15, 1, '4.36', '2.64', '0', '0.00', '4.36', 1069), +(756, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1070), +(757, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1071), +(758, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1072), +(759, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1073), +(760, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1074), +(761, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1075), +(761, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1076), +(762, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1077), +(763, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1078), +(764, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1079), +(764, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1080), +(765, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1081), +(766, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1082), +(767, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1083), +(768, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1084), +(769, 18, 1, '10.19', '8.24', '0', '0.00', '10.19', 1085), +(770, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1086), +(771, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1087), +(771, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1088), +(772, 11, 1, '2.18', '1.32', '0', '0.00', '2.18', 1089), +(772, 13, 1, '2.00', '0.20', '0', '0.00', '2.00', 1090), +(773, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1091), +(774, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1092), +(775, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1093), +(776, 20, 1, '15.88', '9.63', '0', '0.00', '15.88', 1094), +(776, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 1095), +(777, 2, 1, '1.61', '0.00', '0', '0.00', '1.61', 1096), +(778, 25, 1, '2.51', '1.54', '0', '0.00', '2.51', 1097), +(779, 16, 1, '2.18', '1.32', '0', '0.00', '2.18', 1098), +(780, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1099), +(781, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1100), +(782, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1101), +(783, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1102), +(784, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1103), +(785, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1104), +(786, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1105), +(787, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1106), +(788, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1107), +(788, 5, 1, '9.98', '6.05', '0', '0.00', '9.98', 1108), +(789, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1109), +(790, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1110), +(791, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1111), +(792, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1112), +(793, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1113), +(794, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1114), +(795, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1115), +(796, 27, 1, '7.50', '0.00', '0', '0.00', '7.50', 1116), +(797, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1117), +(798, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1118), +(799, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1119), +(800, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1120), +(801, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1121), +(802, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1122), +(803, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1123), +(804, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1124), +(805, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1125), +(806, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1126), +(806, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1127), +(806, 10, 1, '14.45', '8.79', '0', '0.00', '14.45', 1128), +(806, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 1129), +(807, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1130), +(808, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1131), +(809, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1132), +(810, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 1133), +(811, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 1134), +(812, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1135), +(813, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1136), +(814, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1137), +(815, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1138), +(816, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 1139), +(817, 2, 1, '6.50', '0.00', '0', '0.00', '6.50', 1140), +(818, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1141), +(819, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1142), +(819, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 1143), +(820, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1144), +(821, 27, 1, '25.00', '0.00', '0', '0.00', '25.00', 1145), +(822, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1146), +(823, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1147), +(824, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1148), +(825, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1149), +(826, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1150), +(827, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1151), +(828, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1152), +(829, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1153), +(830, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1154), +(831, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1155), +(832, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1156), +(833, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1157), +(834, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1158), +(835, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1159), +(836, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1160), +(837, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1161), +(837, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1162), +(838, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1163), +(839, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1164), +(840, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1165), +(841, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1166), +(842, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1167), +(843, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1168), +(844, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1169), +(845, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1170), +(846, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 1171), +(847, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1172), +(848, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1173), +(849, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1174), +(850, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1175), +(851, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1176), +(852, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 1177), +(853, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1178), +(854, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1179), +(855, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1180), +(856, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1181), +(857, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1182), +(858, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1183), +(859, 28, 1, '15.00', '20.00', '0', '0.00', '15.00', 1184), +(860, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1185), +(860, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1186), +(861, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1187), +(862, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1188), +(863, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1189), +(864, 21, 1, '7.79', '4.72', '0', '0.00', '7.79', 1190), +(864, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 1191), +(865, 9, 1, '2.90', '1.76', '0', '0.00', '2.90', 1192), +(866, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1193), +(867, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1194), +(868, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1195), +(869, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1196), +(869, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1197), +(870, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1198), +(870, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1199), +(871, 18, 1, '13.59', '8.24', '0', '0.00', '13.59', 1200), +(872, 32, 1, '5.00', '5.00', '0', '0.00', '5.00', 1201), +(873, 12, 1, '2.09', '1.27', '0', '0.00', '2.09', 1202), +(873, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1203), +(873, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1204), +(874, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1205), +(874, 13, 1, '0.34', '0.20', '0', '0.00', '0.34', 1206), +(874, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1207), +(874, 7, 1, '1.00', '0.58', '0', '0.00', '1.00', 1208), +(874, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 1209), +(875, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1210), +(876, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1211), +(877, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1212), +(878, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1213), +(879, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1214), +(880, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1215), +(881, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1216), +(882, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1217), +(883, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1218), +(884, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 1219), +(885, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1220), +(886, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1221), +(887, 34, 1, '5.00', '0.00', '0.00', '0.00', '5.00', 1222), +(888, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1223), +(889, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1224), +(890, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1225), +(891, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1226), +(892, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1227), +(892, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1228), +(893, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1229), +(894, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1230), +(895, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1231), +(896, 1, 1, '-10.00', '0.00', '0', '0.00', '-10.00', 1232), +(897, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1233), +(898, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1234), +(899, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1235), +(900, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1236), +(901, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1237), +(902, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1238), +(902, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1239), +(903, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1240), +(904, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1241), +(905, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1242), +(906, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1243), +(906, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1244), +(907, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1245), +(908, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1246), +(909, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1247), +(910, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1248), +(910, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1249), +(916, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1255), +(917, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1256), +(918, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1257), +(919, 2, 1, '1.00', '0.00', '0', '0.00', '1.00', 1258), +(919, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1259), +(920, 19, 1, '15.50', '9.34', '0', '0.00', '15.50', 1260), +(921, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1261), +(922, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 1262), +(923, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1263), +(923, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1264), +(924, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1265), +(925, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1266), +(926, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1267), +(926, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1268), +(927, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1269), +(928, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1270), +(929, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1271), +(929, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1272), +(929, 33, 2, '10.00', '5.00', '0', '0.00', '20.00', 1273), +(929, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1274), +(929, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1275), +(929, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1276), +(929, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1277), +(930, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1278), +(931, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1279), +(932, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1280), +(933, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1281), +(934, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1282), +(935, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1283), +(936, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1284), +(937, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1285), +(938, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1286), +(939, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1287), +(940, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 1288), +(940, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1289), +(941, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 1290), +(942, 29, 1, '14.00', '20.00', '0', '0.00', '14.00', 1291), +(943, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1292), +(944, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1293), +(945, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1294), +(946, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1295), +(947, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1296), +(948, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1297), +(949, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1298), +(950, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1299), +(951, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1300), +(952, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1301), +(953, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1302), +(954, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1303), +(955, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1304), +(956, 33, 2, '10.00', '5.00', '0', '0.00', '20.00', 1305), +(957, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1306), +(958, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1307), +(959, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1308), +(960, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 1309), +(960, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1310), +(961, 14, 1, '20.50', '12.38', '0', '0.00', '20.50', 1311), +(961, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1312), +(962, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1313), +(963, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1314), +(964, 0, 1, '2.50', '0.00', '0', '0.00', '2.50', 1315), +(964, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1316), +(965, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1317), +(966, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1318), +(966, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1319), +(966, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1320), +(966, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1321), +(967, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1322), +(968, 14, 1, '20.50', '12.38', '0', '0.00', '20.50', 1323), +(968, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1324), +(969, 29, 1, '10.00', '20.00', '0', '0.00', '10.00', 1325), +(970, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1326), +(971, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 1327), +(972, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 1328), +(973, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1329), +(974, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1330), +(975, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1331), +(976, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 1332), +(977, 2, 1, '6.00', '0.00', '0', '0.00', '6.00', 1333), +(978, 23, 2, '0.00', '9.63', '0', '0.00', '0.00', 1334), +(979, 34, 1, '2.00', '0.00', '0.00', '0.00', '2.00', 1335), +(980, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1336), +(980, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1337), +(981, 8, 1, '0.20', '0.55', '0', '0.00', '0.20', 1338), +(982, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1339), +(983, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1340), +(984, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1341), +(985, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1342), +(986, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1343), +(986, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1344), +(987, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1345), +(988, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1346), +(989, 11, 1, '2.00', '1.32', '0', '0.00', '2.00', 1347), +(989, 6, 1, '1.00', '0.58', '0', '0.00', '0.50', 1348), +(990, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1349), +(990, 6, 1, '1.00', '0.58', '0', '0.00', '0.50', 1350), +(990, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 1351), +(991, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1352), +(992, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1353), +(993, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1354), +(994, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1355), +(995, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1356), +(996, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1357), +(997, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1358), +(998, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1359), +(999, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1360), +(1000, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1361), +(1001, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1362), +(1002, 34, 2, '2.00', '0.00', '0.00', '0.00', '4.00', 1363), +(1003, 16, 1, '3.00', '1.32', '0', '0.00', '3.00', 1364), +(1004, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1365), +(1005, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1366), +(1006, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1367), +(1007, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1368), +(1008, 27, 1, '150.00', '0.00', '0', '0.00', '150.00', 1369), +(1009, 19, 1, '15.50', '9.34', '0', '0.00', '15.50', 1370), +(1010, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1371), +(1011, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1372), +(1012, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 1373), +(1013, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1374), +(1014, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1375), +(1015, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1376), +(1016, 27, 1, '150.00', '0.00', '0', '0.00', '150.00', 1377), +(1017, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1378), +(1017, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1379), +(1018, 34, 1, '2.00', '0.00', '0.00', '0.00', '2.00', 1380), +(1019, 34, 1, '2.00', '0.00', '0.00', '0.00', '2.00', 1381), +(1020, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1382), +(1020, 14, 1, '20.50', '12.38', '0', '0.00', '20.50', 1383), +(1020, 19, 1, '15.50', '9.34', '0', '0.00', '15.50', 1384), +(1021, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1385), +(1022, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1386), +(1022, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1387), +(1023, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1388), +(1024, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1389), +(1025, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1390), +(1026, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1391), +(1027, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1392), +(1028, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1393), +(1029, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1394), +(1030, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1395), +(1031, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 1396), +(1032, 18, 1, '10.80', '8.24', '0', '0.00', '10.80', 1397), +(1033, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1398), +(1034, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1399), +(1035, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1400), +(1036, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1401), +(1037, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1402), +(1038, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1403), +(1039, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1404), +(1040, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 1405), +(1040, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1406), +(1040, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1407), +(1041, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1408), +(1042, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1409), +(1043, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1410), +(1044, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1411), +(1045, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1412), +(1045, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1413), +(1045, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 1414), +(1046, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1415), +(1047, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1416), +(1048, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1417), +(1048, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1418), +(1049, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1419), +(1050, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1420), +(1051, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1421), +(1052, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1422), +(1053, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1423), +(1054, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1424), +(1055, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1425), +(1056, 1, 1, '-10.00', '0.00', '0', '0.00', '-10.00', 1426), +(1057, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1427), +(1058, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1428), +(1058, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 1429), +(1059, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1430), +(1060, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1431), +(1061, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1432), +(1062, 16, 1, '2.25', '2.00', '0', '0.00', '2.25', 1433), +(1063, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1434), +(1063, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1435), +(1064, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1436), +(1065, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1437), +(1065, 11, 4, '2.00', '1.32', '0', '0.00', '8.00', 1438), +(1066, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1439), +(1067, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 1440), +(1068, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1441), +(1069, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1442), +(1070, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1443), +(1071, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1444), +(1072, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1445), +(1073, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1446), +(1074, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1447), +(1074, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1448), +(1074, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 1449), +(1074, 13, 3, '0.35', '0.20', '0', '0.00', '1.05', 1450), +(1075, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1451), +(1076, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 1452), +(1077, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1453), +(1078, 12, 2, '2.00', '1.27', '0', '0.00', '4.00', 1454), +(1079, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1455), +(1080, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1456), +(1081, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1457), +(1082, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1458), +(1083, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1459), +(1084, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1460), +(1085, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1461), +(1086, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1462), +(1087, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1463), +(1088, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1464), +(1088, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1465), +(1089, 20, 1, '16.00', '9.63', '0', '0.00', '16.00', 1466), +(1089, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1467), +(1090, 4, 1, '10.50', '6.33', '0', '0.00', '10.50', 1468), +(1091, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1469), +(1091, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1470), +(1092, 9, 2, '2.70', '1.76', '0', '0.00', '5.40', 1471), +(1093, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1472), +(1094, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1473), +(1094, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1474), +(1094, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1475), +(1095, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1476), +(1096, 28, 1, '20.00', '20.00', '0', '0.00', '20.00', 1477), +(1096, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1478), +(1097, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1479), +(1098, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 1480), +(1099, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1481), +(1100, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1482), +(1100, 22, 2, '1.75', '1.08', '0', '0.00', '3.50', 1483), +(1100, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1484), +(1100, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1485), +(1101, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1486), +(1102, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1487), +(1103, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1488), +(1104, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1489), +(1105, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1490), +(1106, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1491), +(1107, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1492), +(1108, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1493), +(1109, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1494), +(1110, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1495), +(1111, 12, 1, '2.00', '1.27', '0', '0.00', '2.00', 1496), +(1111, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1497), +(1112, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1498), +(1113, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1499), +(1113, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1500), +(1114, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1501), +(1115, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1502), +(1116, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1503), +(1116, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1504), +(1116, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1505), +(1116, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1506), +(1117, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1507), +(1118, 27, 2, '0.00', '0.00', '0', '0.00', '0.00', 1508), +(1118, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 1509), +(1119, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1510), +(1120, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1511), +(1121, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1512), +(1122, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1513), +(1123, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1514), +(1124, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1515), +(1125, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1516), +(1126, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1517), +(1126, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 1518), +(1126, 2, 1, '0.12', '0.00', '0', '0.00', '0.12', 1519), +(1127, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1520), +(1128, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1521), +(1128, 22, 0, '1.75', '1.08', '0', '0.00', '0.58', 1522), +(1128, 36, 1, '1.00', '0.75', '0', '0.00', '1.00', 1523), +(1129, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1524), +(1130, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1525), +(1131, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 1526), +(1132, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1527), +(1133, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1528), +(1134, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1529), +(1135, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1530), +(1136, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1531), +(1137, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1532), +(1138, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 1533), +(1140, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1535), +(1141, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1536), +(1142, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 1537), +(1143, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1538), +(1144, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1539), +(1145, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1540), +(1146, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1541), +(1147, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1542), +(1148, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 1543), +(1148, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1544), +(1148, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1545), +(1149, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1546), +(1150, 18, 1, '0.00', '8.24', '0', '0.00', '0.00', 1547), +(1150, 14, 1, '0.00', '12.38', '0', '0.00', '0.00', 1548), +(1151, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1549), +(1151, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1550), +(1152, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1551), +(1153, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1552), +(1154, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1553), +(1155, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1554), +(1156, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1555), +(1157, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1556), +(1158, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1557), +(1159, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1558), +(1159, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1559), +(1159, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1560), +(1160, 19, 1, '15.50', '9.34', '0', '0.00', '15.50', 1561), +(1160, 27, 1, '9.50', '0.00', '0', '0.00', '9.50', 1562), +(1161, 36, 1, '1.00', '0.75', '0', '0.00', '1.00', 1563), +(1162, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1564), +(1163, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1565), +(1164, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1566), +(1165, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1567), +(1166, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1568), +(1167, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1569), +(1168, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1570), +(1169, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1571), +(1170, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1572), +(1171, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1573), +(1172, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1574), +(1173, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1575), +(1174, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1576), +(1174, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1577), +(1174, 27, 1, '4.00', '0.00', '0', '0.00', '4.00', 1578), +(1174, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 1579), +(1174, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1580), +(1175, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1581), +(1176, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1582), +(1177, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1583), +(1178, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1584), +(1179, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1585), +(1180, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1586), +(1180, 27, 1, '35.00', '0.00', '0', '0.00', '35.00', 1587), +(1181, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1588), +(1181, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1589), +(1182, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1590), +(1183, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1591), +(1184, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1592), +(1185, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1593), +(1186, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1594), +(1187, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1595), +(1187, 36, 1, '1.00', '0.75', '0', '0.00', '1.00', 1596), +(1187, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1597), +(1187, 27, 1, '45.00', '0.00', '0', '0.00', '45.00', 1598), +(1188, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1599), +(1188, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1600), +(1189, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1601), +(1190, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1602), +(1191, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1603), +(1191, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1604), +(1192, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1605), +(1193, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1606), +(1194, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1607), +(1195, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1608), +(1196, 28, 0, '20.00', '20.00', '0', '0.00', '0.00', 1609), +(1196, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1610), +(1197, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1611), +(1198, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1612), +(1199, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1613), +(1199, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1614), +(1200, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1615), +(1201, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1616), +(1201, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1617), +(1202, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1618), +(1202, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 1619), +(1203, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 1620), +(1204, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1621), +(1204, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1622), +(1205, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1623), +(1206, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1624), +(1207, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1625), +(1208, 11, 2, '1.50', '1.32', '0', '0.00', '3.00', 1626), +(1209, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1627), +(1209, 22, 2, '1.75', '1.08', '0', '0.00', '2.63', 1628), +(1210, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1629), +(1211, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1630), +(1212, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1631), +(1213, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1632), +(1214, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1633), +(1215, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1634), +(1216, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1635), +(1217, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 1636), +(1217, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1637), +(1217, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 1638), +(1217, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 1639), +(1218, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1640), +(1219, 19, 1, '11.63', '9.34', '0', '0.00', '11.63', 1641), +(1220, 31, 1, '8.63', '7.00', '0', '0.00', '8.63', 1642), +(1221, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1643), +(1222, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1644), +(1223, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1645), +(1223, 19, 1, '15.50', '9.34', '0', '0.00', '15.50', 1646), +(1223, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1647), +(1224, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1648), +(1225, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1649), +(1226, 34, 6, '2.00', '0.00', '0.00', '0.00', '12.00', 1650), +(1227, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1651), +(1228, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1652), +(1228, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1653), +(1228, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1654), +(1229, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1655), +(1230, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1656), +(1230, 22, 1, '1.75', '1.08', '0', '0.00', '2.00', 1657), +(1231, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1658), +(1232, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1659), +(1233, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1660), +(1233, 22, 2, '1.75', '1.08', '0', '0.00', '3.50', 1661), +(1233, 2, 1, '0.50', '0.00', '0', '0.00', '0.50', 1662), +(1234, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1663), +(1235, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1664), +(1236, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1665), +(1237, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1666), +(1238, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1667), +(1238, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1668), +(1239, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1669), +(1240, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1670), +(1241, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1671), +(1242, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1672), +(1243, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1673), +(1244, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1674), +(1245, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1675), +(1246, 27, 1, '-5.00', '0.00', '0', '0.00', '-5.00', 1676), +(1247, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1677), +(1248, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1678), +(1248, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1679), +(1249, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1680), +(1250, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1681), +(1251, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1682), +(1251, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1683), +(1252, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1684), +(1253, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1685), +(1254, 8, 3, '1.00', '0.55', '0', '0.00', '3.00', 1686), +(1255, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1687), +(1256, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1688), +(1257, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1689), +(1258, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1690), +(1259, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1691), +(1260, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1692), +(1260, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1693), +(1260, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1694), +(1261, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1695), +(1262, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 1696), +(1263, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1697), +(1264, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1698), +(1265, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1699), +(1266, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1700), +(1267, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1701), +(1267, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1702), +(1268, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 1703), +(1268, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1704), +(1269, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1705), +(1270, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1706), +(1271, 6, 5, '1.00', '0.58', '0', '0.00', '5.00', 1707), +(1272, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1708), +(1272, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1709), +(1273, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 1710), +(1274, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1711), +(1275, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1712), +(1276, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1713), +(1277, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1714), +(1278, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1715), +(1279, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1716), +(1280, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1717), +(1280, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1718), +(1281, 34, 2, '2.00', '0.00', '0.00', '0.00', '4.00', 1719), +(1282, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1720), +(1282, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1721), +(1282, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1722), +(1283, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1723), +(1284, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1724), +(1285, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1725), +(1286, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1726), +(1287, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1727), +(1287, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1728), +(1288, 33, 1, '10.00', '5.00', '0', '0.00', '10.00', 1729), +(1289, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1730), +(1290, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1731), +(1291, 31, 1, '8.63', '7.00', '0', '0.00', '8.63', 1732), +(1292, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1733), +(1293, 27, 2, '40.00', '0.00', '0', '0.00', '80.00', 1734), +(1294, 11, 1, '2.00', '1.32', '0', '0.00', '2.00', 1735), +(1295, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1736), +(1296, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1737), +(1297, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1738), +(1298, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1739), +(1298, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1740), +(1298, 36, 1, '1.00', '0.75', '0', '0.00', '1.00', 1741), +(1299, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1742), +(1300, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1743), +(1301, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1744), +(1302, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1745), +(1303, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1746), +(1303, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1747), +(1304, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 1748), +(1305, 14, 1, '15.38', '12.38', '0', '0.00', '15.38', 1749), +(1306, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1750), +(1306, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1751), +(1307, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1752), +(1308, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1753), +(1309, 29, 1, '5.00', '20.00', '0', '0.00', '5.00', 1754), +(1310, 31, 1, '9.78', '7.00', '0', '0.00', '9.78', 1755), +(1310, 30, 1, '11.90', '13.59', '0', '0.00', '11.90', 1756), +(1310, 18, 1, '11.48', '8.24', '0', '0.00', '11.48', 1757), +(1310, 13, 4, '0.30', '0.20', '0', '0.00', '1.05', 1758), +(1310, 14, 1, '17.43', '12.38', '0', '0.00', '17.43', 1759), +(1310, 19, 1, '13.18', '9.34', '0', '0.00', '13.18', 1760), +(1310, 17, 1, '22.53', '15.95', '0', '0.00', '22.53', 1761), +(1311, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1762), +(1311, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1763), +(1312, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1764), +(1312, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1765), +(1313, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1766), +(1314, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1767), +(1315, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1768), +(1316, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1769), +(1317, 27, 1, '0.00', '0.00', '0', '0.00', '0.00', 1770), +(1318, 20, 2, '16.00', '9.63', '0', '0.00', '32.00', 1771), +(1318, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1772), +(1319, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1773), +(1320, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1774), +(1321, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1775), +(1321, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1776), +(1321, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1777), +(1322, 13, 0, '0.35', '0.20', '0', '0.00', '0.15', 1778), +(1322, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1779), +(1323, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 1780), +(1324, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1781), +(1325, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1782), +(1325, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1783), +(1326, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1784), +(1327, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1785), +(1328, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1786), +(1329, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1787), +(1330, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1788), +(1331, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1789), +(1332, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1790), +(1333, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1791), +(1334, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1792), +(1335, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1793), +(1336, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1794), +(1336, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1795), +(1337, 27, 1, '4.00', '0.00', '0', '0.00', '4.00', 1796), +(1338, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1797), +(1339, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1798), +(1340, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1799), +(1340, 35, 1, '2.00', '2.00', '0', '0.00', '2.00', 1800), +(1340, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1801), +(1341, 34, 3, '2.00', '0.00', '0.00', '0.00', '6.00', 1802), +(1341, 2, 1, '14.00', '0.00', '0', '0.00', '14.00', 1803), +(1342, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1804), +(1342, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1805), +(1343, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1806), +(1344, 2, 1, '80.00', '0.00', '0', '0.00', '80.00', 1807), +(1345, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1808), +(1346, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1809), +(1347, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1810), +(1348, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1811), +(1349, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1812), +(1350, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1813), +(1351, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1814), +(1352, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1815), +(1353, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1816), +(1353, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1817), +(1353, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1818), +(1354, 2, 1, '0.15', '0.00', '0', '0.00', '0.15', 1819), +(1355, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1820), +(1356, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1821), +(1357, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1822), +(1357, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1823), +(1357, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1824), +(1358, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1825), +(1358, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 1826), +(1359, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1827), +(1360, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1828), +(1361, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1829), +(1362, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1830), +(1363, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1831), +(1364, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1832), +(1365, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1833), +(1366, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1834), +(1366, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 1835), +(1366, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1836), +(1367, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1837); +INSERT INTO `sales_items` (`sale_id`, `item_id`, `quantity_purchased`, `item_unit_price`, `item_buy_price`, `item_tax_percent`, `item_total_tax`, `item_total_cost`, `id`) VALUES +(1368, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1838), +(1369, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1839), +(1370, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1840), +(1371, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1841), +(1372, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1842), +(1373, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1843), +(1374, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1844), +(1375, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 1845), +(1376, 34, 2, '2.00', '0.00', '0.00', '0.00', '4.00', 1846), +(1376, 19, 1, '0.00', '9.34', '0', '0.00', '0.00', 1847), +(1376, 30, 1, '0.00', '13.59', '0', '0.00', '0.00', 1848), +(1377, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1849), +(1377, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1850), +(1378, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1851), +(1379, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1852), +(1379, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1853), +(1379, 2, 1, '3.65', '0.00', '0', '0.00', '3.65', 1854), +(1380, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1855), +(1381, 34, 7, '2.00', '0.00', '0.00', '0.00', '14.00', 1856), +(1382, 27, 1, '100.00', '0.00', '0', '0.00', '100.00', 1857), +(1383, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1858), +(1383, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1859), +(1384, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1860), +(1385, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1861), +(1386, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1862), +(1387, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1863), +(1388, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1864), +(1389, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1865), +(1390, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1866), +(1391, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1867), +(1392, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1868), +(1393, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1869), +(1394, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1870), +(1395, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1871), +(1395, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1872), +(1395, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1873), +(1396, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1874), +(1396, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1875), +(1396, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1876), +(1397, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1877), +(1398, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1878), +(1399, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1879), +(1400, 34, 3, '2.00', '0.00', '0.00', '0.00', '6.00', 1880), +(1401, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1881), +(1402, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1882), +(1402, 13, 2, '0.35', '0.20', '0', '0.00', '0.70', 1883), +(1402, 6, 4, '1.00', '0.58', '0', '0.00', '4.00', 1884), +(1403, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1885), +(1404, 34, 6, '2.00', '0.00', '0.00', '0.00', '11.00', 1886), +(1405, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1887), +(1406, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1888), +(1407, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1889), +(1408, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1890), +(1409, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1891), +(1410, 27, 1, '9.00', '0.00', '0', '0.00', '9.00', 1892), +(1411, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1893), +(1412, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1894), +(1413, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1895), +(1414, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1896), +(1415, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1897), +(1416, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 1898), +(1417, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1899), +(1417, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 1900), +(1417, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1901), +(1418, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1902), +(1419, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1903), +(1419, 36, 1, '1.00', '0.75', '0', '0.00', '1.00', 1904), +(1420, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1905), +(1421, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1906), +(1422, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 1907), +(1423, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1908), +(1424, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1909), +(1425, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1910), +(1426, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1911), +(1427, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1912), +(1428, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1913), +(1429, 25, 1, '3.00', '1.54', '0', '0.00', '3.00', 1914), +(1430, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1915), +(1430, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 1916), +(1431, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1917), +(1432, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1918), +(1433, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1919), +(1434, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1920), +(1435, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1921), +(1436, 2, 1, '25.00', '0.00', '0', '0.00', '25.00', 1922), +(1437, 2, 1, '0.00', '0.00', '0', '0.00', '0.00', 1923), +(1438, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1924), +(1439, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1925), +(1440, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1926), +(1441, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1927), +(1442, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1928), +(1443, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 1929), +(1444, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1930), +(1445, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1931), +(1446, 27, 3, '5.00', '0.00', '0', '0.00', '15.00', 1932), +(1446, 33, 2, '10.00', '5.00', '0', '0.00', '20.00', 1933), +(1447, 13, 2, '0.50', '0.20', '0', '0.00', '1.00', 1934), +(1447, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 1935), +(1447, 22, 2, '1.75', '1.08', '0', '0.00', '3.50', 1936), +(1447, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 1937), +(1447, 2, 1, '1.50', '0.00', '0', '0.00', '1.50', 1938), +(1448, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 1939), +(1448, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1940), +(1449, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1941), +(1450, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1942), +(1451, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1943), +(1452, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1944), +(1453, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1945), +(1453, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1946), +(1453, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 1947), +(1454, 27, 1, '50.00', '0.00', '0', '0.00', '50.00', 1948), +(1454, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1949), +(1455, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1950), +(1456, 27, 5, '5.00', '0.00', '0', '0.00', '25.00', 1951), +(1456, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1952), +(1456, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1953), +(1456, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1954), +(1457, 2, 1, '1.90', '0.00', '0', '0.00', '1.90', 1955), +(1458, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1956), +(1459, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1957), +(1459, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1958), +(1460, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1959), +(1461, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1960), +(1462, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 1961), +(1463, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1962), +(1464, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1963), +(1465, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 1964), +(1466, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1965), +(1467, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1966), +(1468, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1967), +(1469, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1968), +(1470, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1969), +(1471, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 1970), +(1472, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1971), +(1473, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1972), +(1474, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 1973), +(1475, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1974), +(1476, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1975), +(1477, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1976), +(1478, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1977), +(1479, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 1978), +(1479, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 1979), +(1480, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1980), +(1481, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1981), +(1482, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1982), +(1483, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 1983), +(1483, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 1984), +(1484, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1985), +(1485, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1986), +(1486, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1987), +(1487, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 1988), +(1488, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1989), +(1489, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 1990), +(1489, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1991), +(1489, 2, 1, '5.00', '0.00', '0', '0.00', '5.00', 1992), +(1490, 12, 1, '2.00', '1.27', '0', '0.00', '2.00', 1993), +(1491, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1994), +(1492, 6, 1, '1.00', '0.58', '0', '0.00', '1.00', 1995), +(1493, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 1996), +(1494, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 1997), +(1494, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 1998), +(1494, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 1999), +(1495, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2000), +(1496, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 2001), +(1497, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 2002), +(1497, 27, 3, '5.00', '0.00', '0', '0.00', '15.00', 2003), +(1498, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 2004), +(1499, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 2005), +(1500, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 2006), +(1500, 13, 4, '0.35', '0.20', '0', '0.00', '1.40', 2007), +(1500, 22, 4, '1.75', '1.08', '0', '0.00', '7.00', 2008), +(1500, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 2009), +(1500, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2010), +(1500, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 2011), +(1501, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2012), +(1502, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2013), +(1503, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2014), +(1504, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2015), +(1505, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 2016), +(1505, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 2017), +(1506, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 2018), +(1507, 16, 2, '3.00', '2.00', '0', '0.00', '6.00', 2019), +(1507, 27, 2, '5.00', '0.00', '0', '0.00', '10.00', 2020), +(1508, 12, 2, '2.00', '1.27', '0', '0.00', '4.00', 2021), +(1508, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 2022), +(1509, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 2023), +(1510, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 2024), +(1511, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2025), +(1512, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2026), +(1513, 27, 1, '6.00', '0.00', '0', '0.00', '6.00', 2027), +(1514, 22, 1, '1.75', '1.08', '0', '0.00', '1.75', 2028), +(1514, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2029), +(1515, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2030), +(1516, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 2031), +(1517, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 2032), +(1518, 27, 1, '1.00', '0.00', '0', '0.00', '1.00', 2033), +(1519, 13, 1, '0.50', '0.20', '0', '0.00', '0.50', 2034), +(1519, 31, 1, '11.50', '7.00', '0', '0.00', '11.50', 2035), +(1519, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 2036), +(1520, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2037), +(1521, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2038), +(1522, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2039), +(1523, 2, 1, '9.00', '0.00', '0', '0.00', '9.00', 2040), +(1524, 34, 1, '20.00', '0.00', '0.00', '0.00', '20.00', 2041), +(1525, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2042), +(1526, 27, 1, '3.00', '0.00', '0', '0.00', '3.00', 2043), +(1527, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2044), +(1528, 23, 2, '16.00', '9.63', '0', '0.00', '32.00', 2045), +(1529, 12, 1, '2.00', '1.27', '0', '0.00', '2.00', 2046), +(1530, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2047), +(1531, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2048), +(1532, 4, 1, '10.50', '6.33', '0', '0.00', '10.50', 2049), +(1533, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 2050), +(1533, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 2051), +(1533, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 2052), +(1533, 22, 1, '1.75', '1.08', '0', '0.00', '0.88', 2053), +(1533, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 2054), +(1534, 24, 1, '3.00', '1.82', '0', '0.00', '3.00', 2055), +(1535, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 2056), +(1536, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2057), +(1537, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2058), +(1538, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2059), +(1539, 32, 1, '10.00', '5.00', '0', '0.00', '10.00', 2060), +(1539, 2, 1, '10.00', '0.00', '0', '0.00', '10.00', 2061), +(1540, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2062), +(1541, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2063), +(1542, 15, 1, '4.50', '2.64', '0', '0.00', '4.50', 2064), +(1542, 6, 2, '1.00', '0.58', '0', '0.00', '2.00', 2065), +(1542, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2066), +(1543, 32, 1, '15.00', '5.00', '0', '0.00', '15.00', 2067), +(1543, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 2068), +(1544, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2069), +(1545, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2070), +(1546, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 2071), +(1547, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2072), +(1547, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 2073), +(1548, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2074), +(1549, 33, 1, '10.00', '5.00', '0', '0.00', '10.00', 2075), +(1549, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2076), +(1549, 9, 1, '3.00', '1.76', '0', '0.00', '3.00', 2077), +(1550, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2078), +(1551, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2079), +(1551, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 2080), +(1552, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2081), +(1553, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2082), +(1553, 27, 1, '2.00', '0.00', '0', '0.00', '2.00', 2083), +(1554, 16, 1, '3.00', '2.00', '0', '0.00', '3.00', 2084), +(1555, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2085), +(1555, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 2086), +(1556, 31, 1, '8.63', '7.00', '0', '0.00', '8.63', 2087), +(1557, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2088), +(1557, 27, 1, '2.50', '0.00', '0', '0.00', '2.50', 2089), +(1558, 20, 1, '16.00', '9.63', '0', '0.00', '16.00', 2090), +(1559, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2091), +(1560, 10, 1, '14.50', '8.79', '0', '0.00', '14.50', 2092), +(1560, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2093), +(1561, 8, 1, '1.00', '0.55', '0', '0.00', '1.00', 2094), +(1562, 27, 1, '15.00', '0.00', '0', '0.00', '15.00', 2095), +(1563, 27, 1, '20.00', '0.00', '0', '0.00', '20.00', 2096), +(1564, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2097), +(1565, 7, 4, '0.00', '0.55', '0', '0.00', '0.00', 2098), +(1565, 8, 1, '0.50', '0.55', '0', '0.00', '0.50', 2099), +(1566, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2100), +(1567, 27, 1, '10.00', '0.00', '0', '0.00', '10.00', 2101), +(1568, 1, 1, '0.00', '0.00', '0', '0.00', '0.00', 2102), +(1569, 18, 1, '13.50', '8.24', '0', '0.00', '13.50', 2103), +(1570, 13, 1, '1.00', '0.20', '0', '0.00', '1.00', 2104), +(1570, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 2105), +(1571, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2106), +(1572, 7, 1, '1.00', '0.55', '0', '0.00', '1.00', 2107), +(1573, 13, 1, '1.00', '0.20', '0', '0.00', '1.00', 2108), +(1573, 7, 2, '1.00', '0.55', '0', '0.00', '2.00', 2109), +(1574, 27, 1, '4.45', '0.00', '0', '0.00', '4.45', 2110), +(1574, 12, 1, '2.00', '1.27', '0', '0.00', '2.00', 2111), +(1575, 27, 1, '-6.45', '0.00', '0', '0.00', '-6.45', 2112), +(1576, 27, 1, '4.45', '0.00', '0', '0.00', '4.45', 2113), +(1576, 12, 1, '1.60', '1.27', '0', '0.00', '1.60', 2114), +(1577, 27, 1, '5.00', '0.00', '0', '0.00', '5.00', 2115), +(1577, 13, 1, '0.35', '0.20', '0', '0.00', '0.35', 2116), +(1578, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 2117), +(1579, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2118), +(1580, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2119), +(1581, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2120), +(1582, 29, 1, '20.00', '20.00', '0', '0.00', '20.00', 2121), +(1583, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2122), +(1584, 8, 2, '1.00', '0.55', '0', '0.00', '2.00', 2123), +(1585, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2124), +(1586, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2125), +(1587, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2126), +(1588, 27, 1, '40.00', '0.00', '0', '0.00', '40.00', 2127), +(1588, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2128), +(1588, 4, 1, '10.50', '6.33', '0', '0.00', '10.50', 2129), +(1588, 30, 1, '14.00', '13.59', '0', '0.00', '14.00', 2130), +(1589, 27, 1, '30.00', '0.00', '0', '0.00', '30.00', 2131), +(1590, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2132), +(1591, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2133), +(1592, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2134), +(1593, 1, 1, '10.00', '0.00', '0', '0.00', '10.00', 2135); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `suppliers` +-- + +CREATE TABLE IF NOT EXISTS `suppliers` ( + `supplier` varchar(60) NOT NULL DEFAULT '', + `address` varchar(100) NOT NULL DEFAULT '', + `phone_number` varchar(40) NOT NULL DEFAULT '', + `contact` varchar(60) NOT NULL DEFAULT '', + `email` varchar(50) NOT NULL DEFAULT '', + `other` varchar(150) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Hold information about suppliers' AUTO_INCREMENT=4 ; + +-- +-- Dumping data for table `suppliers` +-- + +INSERT INTO `suppliers` (`supplier`, `address`, `phone_number`, `contact`, `email`, `other`, `id`) VALUES +('Non-tangible Items ', 'Bike Root', '403-481-4221', 'Mark', '', '', 1), +('Norco', '1465 Kebet Way, Port Coquitlam, BC, V3C6L3', '604-552-2930', 'Joe at The Bike Shop', '', '', 3); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `todolist` +-- + +CREATE TABLE IF NOT EXISTS `todolist` ( + `id` mediumint(9) NOT NULL AUTO_INCREMENT, + `name` tinytext NOT NULL, + `content` mediumtext NOT NULL, + `completed` binary(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=28 ; + +-- +-- Dumping data for table `todolist` +-- + +INSERT INTO `todolist` (`id`, `name`, `content`, `completed`) VALUES +(1, 'Install the sink', 'Mark: Luc is buying the parts this week. Will install Jan 19th, 2009\r\nAlex: Dude, it''s totally after Jan 19th\r\nMark says: Talked to Luc today, it will likely be done this weekend. Price may have gone up, as he changed jobs (doesn''t get same discount).', '1'), +(2, 'Remove all doors.', 'bob: don''t like doors\r\n\r\nlance: wtf?', '1'), +(3, '...name goes here{i', 'Install wood panels', '1'), +(4, 'Install wood panels', 'Waiting on the University to do...', '1'), +(5, 'HI KELSEY!', 'We''re over in mac hall...', '1'), +(6, '...name goes here', 'Description goes here..', '1'), +(7, 'Install New Bike Hanging System', 'Do it John, we will help.', '1'), +(8, 'Build Library Bikes', 'Build one Today!', '1'), +(9, 'HEY GODWIN', 'Mark says: I''m at work accessing the bike root software. I suspect this is a security concern we need to address. Do you know how to ''deny from all'' in apache config?\r\n\r\nno I have no idea...\r\n~Godwin\r\n\r\nI did it... from work. Just excepted my own IP address so I can still get on from work. It''s 8pm, this means someone left the shop computer running at close today....\r\n~mark', '1'), +(10, 'When signing in mech in training', 'Please enter their hours on the spreadsheet called volunteers on the desktop', '1'), +(11, 'Add all parts to sale list', 'Please add all new parts for sale to the Sales list... missing: Tire-RoadliteII 27inch', '0'), +(12, 'Jordan', 'charge victoria for membership and $5 spare parts', '1'), +(13, 'Pam: Late bike', 'Mark phoned and left voicemail on monday May 11, 2009', '1'), +(14, 'Samuel Aquino', 'Borrowing two wrenches until Sunday May 31st', '1'), +(15, 'everyone', 'look over library bikes!!!', '1'), +(16, 'Gabriel Baeza', 'Owes $4 for late return. Hunt her down.', '1'), +(17, 'Catherine Anne''s bike', 'Catherine Anne phoned on Sunday June 14 to say that the library bike she has out has a broken chain and she can''t ride it back to the U. She will get a friend to drive her up here sometime this week and was very apologetic --Alex', '1'), +(18, 'Mate Salat', 'Owes $2.51 for a 26'' tube.', '1'), +(19, 'Shopping List', 'COFFEEEEEE!!', '1'), +(20, '...name goes here', 'Has someone contacted David Mitchel yet?', '1'), +(21, 'anyone!', 'Description goes here..', '1'), +(22, 'Stuff', 'organize bikes returned folder', '1'), +(24, '- organise Bikes Returned folder', 'Description goes here..', '1'), +(23, 'orgaanise', 'Description goes here..', '1'), +(25, 'on going... repair orange ribbon library bikes', 'Description goes here..', '0'), +(26, 'make a Late Bike template for notice emails', 'Description goes here..', '1'), +(27, 'make a Late BIke template for emails', 'Description goes here..', '0'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `users` +-- + +CREATE TABLE IF NOT EXISTS `users` ( + `first_name` varchar(50) NOT NULL DEFAULT '', + `last_name` varchar(50) NOT NULL DEFAULT '', + `username` varchar(20) NOT NULL DEFAULT '', + `password` varchar(60) NOT NULL DEFAULT '', + `type` varchar(30) NOT NULL DEFAULT '', + `id` int(8) NOT NULL AUTO_INCREMENT, + `customerID` mediumint(9) DEFAULT NULL, + `settings` bigint(20) NOT NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='User info. that the program needs' AUTO_INCREMENT=75 ; + +-- +-- Dumping data for table `users` +-- + +INSERT INTO `users` (`first_name`, `last_name`, `username`, `password`, `type`, `id`, `customerID`, `settings`) VALUES +('Mark', 'Leigh', 'mark', '', 'Sales Clerk', 2, 85, 0), +('Kelsey', 'Lavoie', 'kelsey', '', 'Admin', 3, NULL, 0), +('Alex', 'Blue', 'Alex', '', 'Sales Clerk', 4, 4, 1), +('Michael', 'Godwin', 'Godwin', '', 'Sales Clerk', 5, 37, 1), +('Spencer', 'Hall', 's.hall', '', 'Sales Clerk', 17, NULL, 0), +('Joseph', 'Gladysz', 'joseph', '', 'Sales Clerk', 18, 50, 1), +('Justin', 'Brown', 'justin', '', 'Sales Clerk', 19, 97, 1), +('Jordan', 'Brown', 'jordan', '', 'Sales Clerk', 20, 5, 0), +('Lance', 'Ayer', 'Lance', '', 'Sales Clerk', 21, 49, 1), +('Alex', 'Blue', 'Alex', '', 'Sales Clerk', 22, NULL, 0), +('John', 'Beriault', 'Johnb', '', 'Sales Clerk', 25, NULL, 0), +('Kelsey', 'lavoie', 'kelseyattendant', '', 'Sales Clerk', 27, 17, 1), +('Dave', 'Hoang', 'Dave', '', 'Admin', 28, NULL, 0), +('Josh', 'Munro', 'Josh', '', 'Sales Clerk', 29, NULL, 0), +('Michael', 'Godwin', 'AdminGodwin', '', 'Admin', 30, NULL, 0), +('Sarah', 'Brandreth', 'Sarah', '', 'Sales Clerk', 31, 27, 1), +('Jordan', 'Brown', 'AdminJordan', '', 'Admin', 32, NULL, 0), +('Adam', 'Lazenby', 'Adam', '', 'Sales Clerk', 33, NULL, 0), +('mark', 'leigh', 'markadmin', '', 'Admin', 34, NULL, 0), +('Melody', 'Lu', 'Melody', '', 'Sales Clerk', 35, 155, 0), +('Lance', 'Ayer', 'LanceAdmin', '', 'Admin', 36, NULL, 0), +('Mike', 'Lam', 'MikeLam', '', 'Sales Clerk', 37, 12, 1), +('justin', 'brown', 'justinadmin', '', 'Admin', 38, NULL, 0), +('Mike', 'Lam', 'AdminLam', '', 'Admin', 39, NULL, 0), +('Sarah', 'Brandreth', 'Sare', '', 'Admin', 40, NULL, 0), +('David', 'Gill', 'David G', '', 'Sales Clerk', 0, 93, 1), +('duyen', 'nguyen', 'duyen', '', 'Sales Clerk', 42, 199, 0), +('Nicole', 'Tufts', 'nicole', '', 'Sales Clerk', 43, 154, 0), +('Andrew', 'Blackmore', 'Andrew.Blackmore', '', 'Sales Clerk', 44, 448, 1), +('Melody', 'Lu', 'AdminMelody', '', 'Admin', 45, NULL, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `visits` +-- + +CREATE TABLE IF NOT EXISTS `visits` ( + `visitID` mediumint(9) NOT NULL AUTO_INCREMENT, + `userID` mediumint(9) NOT NULL, + `intime` datetime NOT NULL, + `endout` datetime DEFAULT NULL, + `activity` tinytext NOT NULL, + PRIMARY KEY (`visitID`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3494 ; + +-- +-- Dumping data for table `visits` +-- + +INSERT INTO `visits` (`visitID`, `userID`, `intime`, `endout`, `activity`) VALUES +(1, 1, '2008-09-17 13:00:00', '2008-09-17 15:01:12', 'volunteering'), +(2, 2, '2008-09-17 12:00:00', '2008-09-17 14:57:00', 'Working'), +(3, 6, '2008-09-17 12:54:01', '2008-09-17 14:54:01', 'using'), +(4, 8, '2008-09-17 12:00:49', '2008-09-17 13:59:49', 'using'), +(5, 14, '2008-09-17 12:48:02', '2008-09-17 14:48:02', 'using'), +(6, 1, '2008-09-17 14:21:56', '2008-09-17 16:21:56', 'volunteering'), +(7, 17, '2008-09-17 13:56:46', '2008-09-17 15:56:46', 'volunteering'), +(8, 4, '2008-09-18 10:00:00', '2008-09-18 12:02:20', 'volunteering'), +(9, 5, '2008-09-25 10:00:00', '2008-09-25 14:00:00', 'volunteering'), +(10, 7, '2008-09-15 15:00:00', '2008-09-15 18:00:00', 'using'), +(11, 1, '2008-09-18 14:30:56', '2008-09-18 16:30:56', 'volunteering'), +(12, 30, '2008-09-18 16:08:48', '2008-09-18 18:08:48', 'using'), +(13, 36, '2008-09-18 16:41:43', '2008-09-18 18:41:43', 'volunteering'), +(14, 37, '2008-09-18 16:42:01', '2008-09-18 18:42:01', 'volunteering'), +(15, 38, '2008-09-18 16:08:50', '2008-09-18 18:08:50', 'using'), +(16, 39, '2008-09-18 16:08:51', '2008-09-18 18:08:51', 'using'), +(17, 17, '2008-09-18 14:29:26', '2008-09-18 16:29:26', 'volunteering'), +(18, 48, '2008-09-18 16:40:00', '2008-09-18 18:08:53', 'using'), +(19, 41, '2008-09-18 16:50:00', '2008-09-18 17:49:58', 'using'), +(21, 49, '2008-09-20 10:16:16', '2008-09-20 12:16:16', 'using'), +(22, 13, '2008-09-20 10:16:19', '2008-09-20 12:16:19', 'volunteering'), +(23, 49, '2008-09-20 13:08:45', '2008-09-20 15:08:45', 'volunteering'), +(24, 50, '2008-09-20 13:08:44', '2008-09-20 15:08:44', 'volunteering'), +(25, 51, '2008-09-20 12:32:12', '2008-09-20 14:32:12', 'using'), +(26, 13, '2008-09-21 18:37:55', '2008-09-21 21:37:55', 'using'), +(27, 12, '2008-09-25 10:10:00', '2008-09-25 10:40:00', 'using'), +(28, 2, '2008-09-22 12:00:00', '2008-09-22 15:42:31', 'volunteering'), +(29, 4, '2008-09-22 12:24:06', '2008-09-22 14:24:06', 'volunteering'), +(30, 7, '2008-09-22 12:02:28', '2008-09-22 14:02:28', 'dogfucking'), +(31, 15, '2008-09-22 11:13:27', '2008-09-22 13:13:27', 'using'), +(32, 37, '2008-09-22 13:30:00', '2008-09-22 13:45:26', 'using'), +(33, 37, '2008-09-22 11:48:01', '2008-09-22 13:48:01', 'volunteering'), +(34, 49, '2008-09-22 15:56:16', '2008-09-22 17:56:16', 'volunteering'), +(35, 6, '2008-09-22 16:00:42', '2008-09-22 18:00:42', 'using'), +(36, 55, '2008-09-22 12:22:50', '2008-09-22 14:22:50', 'using'), +(37, 47, '2008-09-22 13:06:52', '2008-09-22 15:06:52', 'using'), +(38, 56, '2008-09-22 12:33:53', '2008-09-22 14:33:53', 'using'), +(39, 61, '2008-09-22 15:00:43', '2008-09-22 18:00:43', 'volunteering'), +(40, 62, '2008-09-22 15:21:44', '2008-09-22 17:21:44', 'volunteering'), +(41, 47, '2008-09-22 12:59:52', '2008-09-22 15:59:52', 'using'), +(42, 37, '2008-09-22 16:06:00', '2008-09-22 18:00:43', 'volunteering'), +(43, 12, '2008-09-22 16:00:00', '2008-09-22 17:56:00', 'using'), +(44, 49, '2008-09-24 14:12:43', '2008-09-24 16:12:43', 'volunteering'), +(45, 64, '2008-09-24 13:02:26', '2008-09-24 16:02:26', 'volunteering'), +(46, 58, '2008-09-24 14:02:24', '2008-09-24 16:02:24', 'using'), +(47, 37, '2008-09-24 13:02:25', '2008-09-24 16:02:25', 'dogfucking'), +(48, 5, '2008-09-25 10:07:18', '2008-09-25 12:07:18', 'volunteering'), +(49, 4, '2008-09-25 10:07:20', '2008-09-25 12:07:20', 'volunteering'), +(50, 12, '2008-09-25 09:00:00', '2008-09-25 10:59:00', 'using'), +(51, 17, '2008-09-25 10:28:38', '2008-09-25 10:28:51', 'using'), +(52, 37, '2008-09-25 18:04:52', '2008-09-25 18:34:23', 'volunteering'), +(53, 49, '2008-09-27 12:07:50', '2008-09-27 15:04:11', 'volunteering'), +(54, 4, '2008-09-27 12:07:56', '2008-09-27 12:07:59', 'using'), +(55, 4, '2008-09-27 12:08:06', '2008-09-27 15:04:10', 'volunteering'), +(56, 75, '2008-09-27 12:08:16', '2008-09-27 13:09:55', 'volunteering'), +(57, 58, '2008-09-27 13:03:32', '2008-09-27 15:00:40', 'using'), +(63, 12, '2008-09-29 12:27:07', '2008-09-29 17:34:30', 'using'), +(62, 13, '2008-09-29 12:26:56', '2008-09-29 12:27:09', 'using'), +(61, 2, '2008-09-29 12:24:07', '2008-09-29 14:46:19', 'volunteering'), +(64, 49, '2008-09-29 12:35:32', '2008-09-29 12:35:42', 'using'), +(65, 4, '2008-09-29 12:53:14', '2008-09-29 16:03:06', 'volunteering'), +(66, 76, '2008-09-29 12:55:43', '2008-09-29 16:54:24', 'using'), +(67, 79, '2008-09-29 13:22:24', '2008-09-29 13:54:30', 'using'), +(68, 77, '2008-09-29 13:23:08', '2008-09-29 13:23:12', 'using'), +(69, 37, '2008-09-29 13:23:56', '2008-09-29 13:44:04', 'dogfucking'), +(70, 49, '2008-09-29 13:36:46', '2008-09-29 18:20:42', 'volunteering'), +(71, 61, '2008-09-29 15:12:30', '2008-09-29 18:20:43', 'volunteering'), +(72, 70, '2008-09-29 15:21:26', '2008-09-29 16:24:00', 'using'), +(73, 67, '2008-09-29 15:21:39', '2008-09-29 18:20:44', 'volunteering'), +(74, 80, '2008-09-29 15:36:44', '2008-09-29 17:53:31', 'using'), +(75, 37, '2008-09-29 16:03:28', '2008-09-29 16:32:06', 'dogfucking'), +(76, 58, '2008-09-29 16:54:34', '2008-09-29 17:41:27', 'using'), +(77, 5, '2008-09-29 17:05:28', '2008-09-29 17:41:30', 'using'), +(78, 77, '2008-10-01 12:05:20', '2008-10-01 13:57:51', 'using'), +(79, 49, '2008-10-01 12:05:30', '2008-10-01 15:18:46', 'volunteering'), +(80, 2, '2008-10-01 12:05:38', '2008-10-01 15:13:55', 'volunteering'), +(81, 58, '2008-10-01 12:12:24', '2008-10-01 15:13:54', 'using'), +(82, 12, '2008-10-01 12:28:51', '2008-10-01 14:36:54', 'using'), +(83, 67, '2008-10-01 12:50:57', '2008-10-01 13:57:49', 'using'), +(84, 81, '2008-10-01 12:53:42', '2008-10-01 13:24:35', 'using'), +(85, 35, '2008-10-01 13:20:19', '2008-10-01 13:56:20', 'using'), +(86, 81, '2008-10-01 13:24:46', '2008-10-01 13:49:50', 'dogfucking'), +(87, 36, '2008-10-01 13:55:12', '2008-10-01 14:18:31', 'using'), +(88, 77, '2008-10-01 13:58:38', '2008-10-01 14:07:11', 'using'), +(89, 63, '2008-10-01 14:06:49', '2008-10-01 14:18:45', 'using'), +(90, 77, '2008-10-01 14:07:18', '2008-10-01 14:26:23', 'volunteering'), +(91, 80, '2008-10-01 14:18:24', '2008-10-01 15:13:53', 'using'), +(92, 54, '2008-10-01 14:44:19', '2008-10-01 15:13:52', 'using'), +(93, 49, '2008-10-01 15:18:52', '2008-10-01 15:23:41', 'volunteering'), +(94, 5, '2008-10-02 10:04:29', '2008-10-02 12:22:25', 'volunteering'), +(95, 4, '2008-10-02 10:12:56', '2008-10-02 12:26:31', 'volunteering'), +(96, 81, '2008-10-02 11:38:20', '2008-10-02 13:52:17', 'volunteering'), +(97, 58, '2008-10-02 11:39:13', '2008-10-02 13:31:38', 'using'), +(98, 37, '2008-10-02 12:15:37', '2008-10-02 13:52:19', 'volunteering'), +(99, 36, '2008-10-02 16:16:18', '2008-10-02 18:49:40', 'volunteering'), +(100, 41, '2008-10-02 16:16:40', '2008-10-02 16:17:38', 'using'), +(101, 83, '2008-10-02 16:17:03', '2008-10-02 16:43:46', 'using'), +(102, 48, '2008-10-02 16:17:47', '2008-10-02 16:50:49', 'using'), +(103, 73, '2008-10-02 16:17:59', '2008-10-02 17:13:31', 'using'), +(104, 37, '2008-10-02 17:13:48', '2008-10-02 18:49:40', 'volunteering'), +(105, 87, '2008-10-02 17:41:07', '2008-10-02 18:49:42', 'using'), +(106, 13, '2008-10-04 12:07:10', '2008-10-04 12:07:14', 'using'), +(107, 49, '2008-10-04 12:07:24', '2008-10-04 14:57:30', 'volunteering'), +(108, 50, '2008-10-04 12:07:42', '2008-10-04 14:57:32', 'volunteering'), +(109, 63, '2008-10-04 12:14:36', '2008-10-04 12:27:37', 'using'), +(110, 36, '2008-10-04 13:48:50', '2008-10-04 15:02:37', 'using'), +(111, 49, '2008-10-06 12:04:05', '2008-10-06 13:04:59', 'volunteering'), +(112, 2, '2008-10-06 12:04:14', '2008-10-06 14:45:30', 'volunteering'), +(113, 77, '2008-10-06 12:16:51', '2008-10-06 18:00:51', 'volunteering'), +(114, 67, '2008-10-06 12:16:59', '2008-10-06 15:35:29', 'using'), +(115, 90, '2008-10-06 12:48:08', '2008-10-06 16:57:05', 'using'), +(116, 4, '2008-10-06 13:03:00', '2008-10-06 15:36:55', 'volunteering'), +(117, 49, '2008-10-06 13:36:40', '2008-10-06 18:00:52', 'volunteering'), +(118, 80, '2008-10-06 13:51:00', '2008-10-06 15:35:40', 'using'), +(119, 28, '2008-10-06 15:08:34', '2008-10-06 15:33:46', 'using'), +(120, 61, '2008-10-06 15:33:40', '2008-10-06 18:00:53', 'volunteering'), +(121, 88, '2008-10-06 16:13:11', '2008-10-06 16:29:46', 'using'), +(122, 91, '2008-10-06 17:03:39', '2008-10-06 17:30:27', 'using'), +(123, 77, '2008-10-08 12:07:12', '2008-10-08 15:00:31', 'volunteering'), +(124, 2, '2008-10-08 12:07:29', '2008-10-08 15:00:32', 'volunteering'), +(125, 49, '2008-10-08 12:07:40', '2008-10-08 15:00:32', 'volunteering'), +(126, 12, '2008-10-08 12:23:28', '2008-10-08 15:00:34', 'using'), +(127, 58, '2008-10-08 12:47:37', '2008-10-08 13:07:33', 'using'), +(128, 37, '2008-10-08 13:36:03', '2008-10-08 14:37:31', 'dogfucking'), +(129, 4, '2008-10-09 10:10:13', '2008-10-09 11:58:56', 'volunteering'), +(130, 81, '2008-10-09 11:07:06', '2008-10-09 14:01:54', 'volunteering'), +(131, 37, '2008-10-09 12:20:55', '2008-10-09 15:22:47', 'volunteering'), +(132, 59, '2008-10-09 12:23:48', '2008-10-09 13:22:34', 'using'), +(133, 77, '2008-10-09 13:48:23', '2008-10-09 14:01:52', 'using'), +(134, 36, '2008-10-09 15:59:25', '2008-10-09 18:56:32', 'volunteering'), +(135, 87, '2008-10-09 16:02:00', '2008-10-09 18:56:34', 'using'), +(136, 67, '2008-10-09 16:54:59', '2008-10-09 18:56:35', 'volunteering'), +(137, 50, '2008-10-11 12:12:18', '2008-10-11 15:05:12', 'volunteering'), +(138, 5, '2008-10-11 12:12:28', '2008-10-11 15:05:14', 'volunteering'), +(139, 33, '2008-10-11 12:37:17', '2008-10-11 13:19:38', 'using'), +(140, 37, '2008-10-11 12:50:45', '2008-10-11 15:05:16', 'volunteering'), +(141, 49, '2008-10-15 12:10:20', '2008-10-15 17:55:28', 'volunteering'), +(142, 2, '2008-10-15 12:10:27', '2008-10-15 17:55:26', 'volunteering'), +(143, 77, '2008-10-15 12:46:00', '2008-10-15 15:04:06', 'volunteering'), +(144, 7, '2008-10-15 12:46:06', '2008-10-15 13:14:01', 'volunteering'), +(145, 17, '2008-10-15 14:14:31', '2008-10-15 17:55:39', 'using'), +(146, 4, '2008-10-16 10:02:21', '2008-10-16 12:10:03', 'volunteering'), +(147, 5, '2008-10-16 10:10:59', '2008-10-16 12:10:02', 'volunteering'), +(148, 81, '2008-10-16 10:58:42', '2008-10-16 16:45:49', 'volunteering'), +(149, 37, '2008-10-16 12:16:38', '2008-10-16 15:16:38', 'volunteering'), +(150, 36, '2008-10-16 16:46:08', '2008-10-16 19:26:13', 'volunteering'), +(151, 87, '2008-10-16 16:46:22', '2008-10-16 18:04:34', 'using'), +(152, 72, '2008-10-16 17:05:53', '2008-10-16 18:04:35', 'using'), +(153, 98, '2008-10-16 18:08:17', '2008-10-16 19:17:14', 'using'), +(154, 49, '2008-10-18 11:26:30', '2008-10-18 14:26:30', 'volunteering'), +(155, 37, '2008-10-18 11:26:39', '2008-10-18 14:26:39', 'volunteering'), +(156, 50, '2008-10-18 11:33:28', '2008-10-18 14:33:28', 'volunteering'), +(157, 4, '2008-10-18 12:42:23', '2008-10-18 18:04:45', 'volunteering'), +(158, 42, '2008-10-18 12:42:49', '2008-10-18 12:57:11', 'using'), +(159, 7, '2008-10-18 12:43:00', '2008-10-18 15:26:53', 'volunteering'), +(160, 17, '2008-10-18 13:19:10', '2008-10-18 15:20:45', 'volunteering'), +(161, 5, '2008-10-18 13:19:18', '2008-10-18 16:26:31', 'volunteering'), +(162, 97, '2008-10-18 13:50:57', '2008-10-18 14:52:30', 'dogfucking'), +(163, 15, '2008-10-18 14:02:43', '2008-10-18 14:52:27', 'using'), +(164, 93, '2008-10-18 14:09:29', '2008-10-18 15:26:48', 'using'), +(165, 100, '2008-10-18 14:21:30', '2008-10-18 15:26:47', 'using'), +(166, 47, '2008-10-18 14:22:54', '2008-10-18 15:26:42', 'using'), +(167, 64, '2008-10-18 14:43:58', '2008-10-18 15:26:29', 'volunteering'), +(168, 97, '2008-10-18 14:52:45', '2008-10-18 14:52:50', 'dogfucking'), +(169, 97, '2008-10-18 14:53:00', '2008-10-18 16:26:29', 'volunteering'), +(170, 17, '2008-10-18 15:20:55', '2008-10-18 15:21:05', 'dogfucking'), +(171, 17, '2008-10-18 15:21:14', '2008-10-18 16:47:08', 'volunteering'), +(172, 92, '2008-10-18 15:22:45', '2008-10-18 15:26:27', 'using'), +(173, 27, '2008-10-18 15:27:06', '2008-10-18 16:26:26', 'using'), +(174, 23, '2008-10-18 16:05:52', '2008-10-18 17:05:33', 'using'), +(175, 49, '2008-10-20 12:04:00', '2008-10-20 15:04:00', 'volunteering'), +(176, 2, '2008-10-20 12:04:11', '2008-10-20 15:20:42', 'volunteering'), +(177, 70, '2008-10-20 12:04:22', '2008-10-20 12:49:50', 'using'), +(178, 77, '2008-10-20 12:11:06', '2008-10-20 15:59:09', 'volunteering'), +(179, 4, '2008-10-20 13:02:27', '2008-10-20 16:42:33', 'volunteering'), +(180, 7, '2008-10-20 15:05:46', '2008-10-20 16:42:32', 'using'), +(181, 70, '2008-10-20 15:06:29', '2008-10-20 16:29:23', 'using'), +(182, 61, '2008-10-20 15:20:52', '2008-10-20 18:04:20', 'volunteering'), +(183, 49, '2008-10-22 11:57:42', '2008-10-22 15:20:03', 'volunteering'), +(184, 108, '2008-10-22 12:51:12', '2008-10-22 12:51:15', 'using'), +(185, 17, '2008-10-22 13:03:28', '2008-10-22 15:19:32', 'volunteering'), +(186, 106, '2008-10-22 13:18:41', '2008-10-22 14:13:18', 'using'), +(187, 21, '2008-10-22 13:23:40', '2008-10-22 13:42:27', 'dogfucking'), +(188, 59, '2008-10-22 13:44:25', '2008-10-22 13:48:12', 'using'), +(189, 4, '2008-10-23 10:19:36', '2008-10-23 12:19:56', 'volunteering'), +(190, 81, '2008-10-23 11:04:54', '2008-10-23 14:04:12', 'volunteering'), +(191, 17, '2008-10-23 12:17:06', '2008-10-23 14:04:19', 'volunteering'), +(192, 44, '2008-10-23 12:38:41', '2008-10-23 12:38:49', 'using'), +(193, 17, '2008-10-23 15:25:21', '2008-10-23 16:23:47', 'volunteering'), +(194, 36, '2008-10-23 16:10:14', '2008-10-23 18:19:49', 'volunteering'), +(195, 57, '2008-10-23 16:14:56', '2008-10-23 17:29:13', 'using'), +(196, 33, '2008-10-23 17:29:25', '2008-10-23 18:02:51', 'using'), +(197, 13, '2008-10-25 12:39:27', '2008-10-25 12:39:29', 'using'), +(198, 50, '2008-10-25 12:39:39', '2008-10-25 12:40:06', 'using'), +(199, 50, '2008-10-25 12:40:19', '2008-10-25 15:04:04', 'volunteering'), +(200, 98, '2008-10-25 12:52:17', '2008-10-25 14:43:40', 'using'), +(201, 58, '2008-10-25 13:04:11', '2008-10-25 14:42:42', 'using'), +(202, 63, '2008-10-25 13:10:58', '2008-10-25 13:11:01', 'using'), +(203, 6, '2008-10-25 13:16:40', '2008-10-25 15:04:03', 'using'), +(204, 67, '2008-10-25 13:18:25', '2008-10-25 14:53:50', 'using'), +(205, 109, '2008-10-25 14:28:02', '2008-10-25 14:43:54', 'using'), +(206, 4, '2008-10-25 14:40:49', '2008-10-25 15:04:03', 'volunteering'), +(207, 111, '2008-10-25 14:46:23', '2008-10-25 15:04:02', 'using'), +(208, 49, '2008-10-27 12:13:10', '2008-10-27 17:58:32', 'volunteering'), +(209, 2, '2008-10-27 12:13:15', '2008-10-27 15:57:01', 'volunteering'), +(210, 77, '2008-10-27 12:13:24', '2008-10-27 13:58:12', 'volunteering'), +(211, 4, '2008-10-27 13:04:47', '2008-10-27 15:56:41', 'volunteering'), +(212, 77, '2008-10-27 13:58:16', '2008-10-27 14:11:39', 'using'), +(213, 67, '2008-10-27 14:16:33', '2008-10-27 16:24:49', 'using'), +(214, 101, '2008-10-27 15:49:56', '2008-10-27 17:47:50', 'using'), +(215, 61, '2008-10-27 15:57:13', '2008-10-27 17:58:31', 'volunteering'), +(216, 46, '2008-10-27 16:48:33', '2008-10-27 17:34:03', 'using'), +(217, 17, '2008-10-29 12:11:17', '2008-10-29 15:04:37', 'volunteering'), +(218, 58, '2008-10-29 12:11:26', '2008-10-29 12:34:17', 'using'), +(219, 49, '2008-10-29 12:11:42', '2008-10-29 15:04:37', 'volunteering'), +(220, 12, '2008-10-29 12:20:08', '2008-10-29 13:19:12', 'using'), +(221, 112, '2008-10-29 13:19:06', '2008-10-29 13:47:40', 'using'), +(222, 12, '2008-10-29 13:19:24', '2008-10-29 14:50:42', 'volunteering'), +(223, 4, '2008-10-30 10:05:17', '2008-10-30 12:10:29', 'volunteering'), +(224, 5, '2008-10-30 10:28:19', '2008-10-30 12:32:26', 'volunteering'), +(225, 81, '2008-10-30 11:03:23', '2008-10-30 13:40:36', 'volunteering'), +(226, 37, '2008-10-30 13:01:24', '2008-10-30 13:40:38', 'volunteering'), +(227, 36, '2008-10-30 16:13:38', '2008-10-30 19:13:38', 'volunteering'), +(228, 5, '2008-10-30 16:13:50', '2008-10-30 18:14:46', 'using'), +(229, 40, '2008-10-30 16:13:57', '2008-10-30 18:14:50', 'using'), +(230, 114, '2008-10-30 16:51:44', '2008-10-30 18:14:51', 'using'), +(231, 107, '2008-10-30 18:15:16', '2008-10-30 21:15:16', 'using'), +(232, 5, '2008-10-30 18:38:55', '2008-10-30 21:38:55', 'volunteering'), +(233, 49, '2008-11-01 12:13:05', '2008-11-01 15:24:42', 'volunteering'), +(234, 50, '2008-11-01 12:13:13', '2008-11-01 15:24:41', 'volunteering'), +(235, 111, '2008-11-01 13:12:40', '2008-11-01 15:03:43', 'using'), +(236, 116, '2008-11-01 13:46:21', '2008-11-01 15:13:06', 'using'), +(237, 97, '2008-11-01 14:36:10', '2008-11-01 15:24:40', 'using'), +(238, 49, '2008-11-03 12:08:43', '2008-11-03 18:03:59', 'volunteering'), +(239, 12, '2008-11-03 12:22:39', '2008-11-03 14:54:15', 'volunteering'), +(240, 2, '2008-11-03 12:38:02', '2008-11-03 15:29:32', 'volunteering'), +(241, 37, '2008-11-03 13:08:59', '2008-11-03 14:13:02', 'volunteering'), +(242, 61, '2008-11-03 15:29:30', '2008-11-03 18:03:58', 'volunteering'), +(243, 37, '2008-11-03 16:04:31', '2008-11-03 18:03:57', 'volunteering'), +(244, 88, '2008-11-03 16:09:18', '2008-11-03 16:24:59', 'using'), +(245, 5, '2008-11-03 16:18:47', '2008-11-03 17:43:19', 'volunteering'), +(246, 90, '2008-11-03 16:25:24', '2008-11-03 17:43:18', 'using'), +(247, 36, '2008-11-05 12:24:15', '2008-11-05 12:44:23', 'using'), +(248, 27, '2008-11-05 12:24:20', '2008-11-05 13:02:42', 'using'), +(249, 49, '2008-11-05 12:24:28', '2008-11-05 12:44:21', 'volunteering'), +(250, 17, '2008-11-05 12:24:36', '2008-11-05 14:55:45', 'volunteering'), +(251, 12, '2008-11-05 12:25:08', '2008-11-05 14:55:27', 'volunteering'), +(252, 49, '2008-11-05 12:45:03', '2008-11-05 14:58:19', 'volunteering'), +(253, 27, '2008-11-05 14:19:42', '2008-11-05 14:55:24', 'volunteering'), +(254, 101, '2008-11-05 14:19:51', '2008-11-05 14:44:45', 'volunteering'), +(255, 119, '2008-11-05 14:55:10', '2008-11-05 14:55:23', 'using'), +(256, 120, '2008-11-05 14:55:19', '2008-11-05 14:55:21', 'using'), +(257, 5, '2008-11-06 10:05:46', '2008-11-06 12:06:38', 'volunteering'), +(258, 4, '2008-11-06 10:14:33', '2008-11-06 11:59:57', 'volunteering'), +(259, 81, '2008-11-06 10:56:17', '2008-11-06 14:02:48', 'volunteering'), +(260, 2, '2008-11-06 11:59:55', '2008-11-06 12:06:35', 'volunteering'), +(261, 92, '2008-11-06 13:09:20', '2008-11-06 14:02:49', 'using'), +(262, 36, '2008-11-06 17:05:43', '2008-11-06 18:03:14', 'volunteering'), +(263, 37, '2008-11-06 17:05:58', '2008-11-06 18:03:15', 'volunteering'), +(264, 49, '2008-11-08 12:05:26', '2008-11-08 15:05:09', 'volunteering'), +(265, 50, '2008-11-08 12:05:37', '2008-11-08 15:05:08', 'volunteering'), +(266, 121, '2008-11-08 12:42:02', '2008-11-08 15:05:07', 'using'), +(267, 37, '2008-11-08 13:02:48', '2008-11-08 17:17:44', 'volunteering'), +(268, 122, '2008-11-08 13:16:49', '2008-11-08 17:17:46', 'using'), +(269, 22, '2008-11-08 14:14:29', '2008-11-08 14:21:20', 'using'), +(270, 37, '2008-11-10 12:01:24', '2008-11-10 13:38:51', 'volunteering'), +(271, 49, '2008-11-12 12:04:15', '2008-11-12 14:50:53', 'volunteering'), +(272, 17, '2008-11-12 12:04:22', '2008-11-12 14:50:54', 'volunteering'), +(273, 77, '2008-11-12 12:17:42', '2008-11-12 13:58:39', 'using'), +(274, 12, '2008-11-12 12:22:56', '2008-11-12 13:58:37', 'using'), +(275, 59, '2008-11-12 13:12:54', '2008-11-12 13:47:19', 'using'), +(276, 124, '2008-11-12 13:17:19', '2008-11-12 13:24:41', 'using'), +(277, 119, '2008-11-12 13:17:30', '2008-11-12 13:54:36', 'volunteering'), +(278, 125, '2008-11-12 13:44:23', '2008-11-12 14:41:45', 'using'), +(279, 77, '2008-11-12 13:58:45', '2008-11-12 14:41:47', 'volunteering'), +(280, 12, '2008-11-12 13:58:52', '2008-11-12 14:50:55', 'volunteering'), +(281, 4, '2008-11-13 10:07:08', '2008-11-13 11:39:02', 'volunteering'), +(282, 5, '2008-11-13 10:07:16', '2008-11-13 11:53:52', 'volunteering'), +(283, 81, '2008-11-13 11:01:58', '2008-11-13 14:05:13', 'volunteering'), +(284, 37, '2008-11-13 12:47:27', '2008-11-13 14:05:14', 'volunteering'), +(285, 36, '2008-11-13 16:12:56', '2008-11-13 19:01:28', 'volunteering'), +(286, 37, '2008-11-13 16:13:04', '2008-11-13 19:01:29', 'volunteering'), +(287, 48, '2008-11-13 16:21:59', '2008-11-13 18:56:58', 'using'), +(288, 123, '2008-11-13 16:30:43', '2008-11-13 18:54:36', 'using'), +(289, 58, '2008-11-13 16:42:28', '2008-11-13 18:54:33', 'using'), +(290, 50, '2008-11-15 12:09:29', '2008-11-15 12:09:32', 'using'), +(291, 13, '2008-11-15 12:09:35', '2008-11-15 12:09:37', 'volunteering'), +(292, 50, '2008-11-15 12:09:47', '2008-11-15 15:19:10', 'volunteering'), +(293, 49, '2008-11-15 12:12:46', '2008-11-15 15:19:09', 'volunteering'), +(294, 128, '2008-11-15 12:48:42', '2008-11-15 14:38:45', 'using'), +(295, 123, '2008-11-15 13:19:46', '2008-11-15 14:04:40', 'using'), +(296, 125, '2008-11-15 13:19:54', '2008-11-15 15:14:51', 'volunteering'), +(297, 129, '2008-11-15 14:38:42', '2008-11-15 14:54:05', 'using'), +(298, 97, '2008-11-15 15:02:25', '2008-11-15 15:19:19', 'using'), +(299, 49, '2008-11-17 12:09:54', '2008-11-17 18:02:49', 'volunteering'), +(300, 2, '2008-11-17 12:10:00', '2008-11-17 15:26:07', 'volunteering'), +(301, 4, '2008-11-17 12:53:15', '2008-11-17 16:00:27', 'volunteering'), +(302, 22, '2008-11-17 13:42:22', '2008-11-17 13:43:36', 'using'), +(303, 61, '2008-11-17 15:26:05', '2008-11-17 18:02:48', 'volunteering'), +(304, 118, '2008-11-17 16:52:33', '2008-11-17 18:02:47', 'using'), +(305, 97, '2008-11-17 17:08:32', '2008-11-17 17:51:47', 'using'), +(306, 88, '2008-11-17 17:08:59', '2008-11-17 17:18:32', 'using'), +(307, 17, '2008-11-19 12:12:05', '2008-11-19 16:23:53', 'volunteering'), +(308, 49, '2008-11-19 12:12:13', '2008-11-19 16:23:51', 'volunteering'), +(309, 12, '2008-11-19 12:21:12', '2008-11-19 16:23:49', 'volunteering'), +(310, 125, '2008-11-19 12:47:31', '2008-11-19 14:47:30', 'using'), +(311, 64, '2008-11-19 13:25:13', '2008-11-19 14:06:37', 'volunteering'), +(312, 17, '2008-11-19 16:24:32', '2008-11-19 19:03:03', 'using'), +(313, 5, '2008-11-20 10:09:39', '2008-11-20 11:46:31', 'volunteering'), +(314, 40, '2008-11-20 10:13:41', '2008-11-20 11:18:47', 'using'), +(315, 4, '2008-11-20 10:30:04', '2008-11-20 12:05:59', 'volunteering'), +(316, 128, '2008-11-20 11:13:11', '2008-11-20 11:18:40', 'using'), +(317, 91, '2008-11-20 11:16:43', '2008-11-20 11:18:33', 'using'), +(318, 81, '2008-11-20 11:19:01', '2008-11-20 13:57:56', 'volunteering'), +(319, 37, '2008-11-20 13:01:03', '2008-11-20 16:01:03', 'volunteering'), +(320, 36, '2008-11-20 16:52:25', '2008-11-20 22:10:34', 'volunteering'), +(321, 58, '2008-11-20 16:52:49', '2008-11-20 22:10:11', 'using'), +(322, 2, '2008-11-20 17:13:12', '2008-11-20 17:51:35', 'volunteering'), +(323, 123, '2008-11-20 17:14:44', '2008-11-20 17:56:49', 'volunteering'), +(324, 49, '2008-11-22 12:01:23', '2008-11-22 15:17:18', 'volunteering'), +(325, 50, '2008-11-22 12:29:24', '2008-11-22 15:57:53', 'volunteering'), +(326, 130, '2008-11-22 12:29:39', '2008-11-22 13:00:35', 'using'), +(327, 13, '2008-11-22 13:00:11', '2008-11-22 13:00:13', 'using'), +(328, 5, '2008-11-22 13:00:24', '2008-11-22 16:13:52', 'using'), +(329, 119, '2008-11-22 13:07:15', '2008-11-22 14:08:02', 'using'), +(330, 40, '2008-11-22 13:15:19', '2008-11-22 15:17:16', 'using'), +(331, 97, '2008-11-22 13:55:06', '2008-11-22 15:11:04', 'using'), +(332, 131, '2008-11-22 14:08:10', '2008-11-22 15:11:03', 'using'), +(333, 118, '2008-11-22 14:13:17', '2008-11-22 15:11:02', 'using'), +(334, 119, '2008-11-22 14:20:24', '2008-11-22 14:57:23', 'using'), +(335, 49, '2008-11-24 12:11:33', '2008-11-24 13:48:57', 'volunteering'), +(336, 2, '2008-11-24 12:12:15', '2008-11-24 15:28:32', 'volunteering'), +(337, 106, '2008-11-24 12:41:08', '2008-11-24 13:56:57', 'volunteering'), +(338, 17, '2008-11-24 12:41:16', '2008-11-24 13:48:54', 'volunteering'), +(339, 12, '2008-11-24 12:57:23', '2008-11-24 14:55:32', 'using'), +(340, 4, '2008-11-24 13:49:06', '2008-11-24 16:45:24', 'volunteering'), +(341, 125, '2008-11-24 14:06:03', '2008-11-24 17:58:34', 'using'), +(342, 61, '2008-11-24 15:21:06', '2008-11-24 17:58:39', 'volunteering'), +(343, 7, '2008-11-24 15:21:16', '2008-11-24 16:45:25', 'dogfucking'), +(344, 49, '2008-11-24 15:36:34', '2008-11-24 17:58:38', 'volunteering'), +(345, 12, '2008-11-24 16:21:32', '2008-11-24 16:52:58', 'using'), +(346, 91, '2008-11-24 16:44:45', '2008-11-24 17:20:34', 'using'), +(347, 132, '2008-11-24 16:52:55', '2008-11-24 17:23:24', 'using'), +(348, 97, '2008-11-24 16:53:06', '2008-11-24 17:58:36', 'using'), +(349, 37, '2008-11-24 17:14:44', '2008-11-24 17:58:35', 'using'), +(350, 49, '2008-11-26 12:07:46', '2008-11-26 15:12:30', 'volunteering'), +(351, 17, '2008-11-26 12:08:03', '2008-11-26 15:12:25', 'volunteering'), +(352, 12, '2008-11-26 12:26:52', '2008-11-26 15:10:45', 'volunteering'), +(353, 119, '2008-11-26 13:19:43', '2008-11-26 13:52:12', 'volunteering'), +(354, 125, '2008-11-26 13:22:27', '2008-11-26 15:10:50', 'using'), +(355, 81, '2008-11-26 13:35:12', '2008-11-26 13:49:37', 'using'), +(356, 27, '2008-11-26 14:31:56', '2008-11-26 14:53:38', 'volunteering'), +(357, 133, '2008-11-26 14:35:30', '2008-11-26 15:06:19', 'using'), +(358, 128, '2008-11-26 14:53:29', '2008-11-26 15:06:16', 'using'), +(359, 5, '2008-11-27 10:03:21', '2008-11-27 12:20:53', 'volunteering'), +(360, 40, '2008-11-27 10:03:27', '2008-11-27 11:51:35', 'using'), +(361, 4, '2008-11-27 10:07:47', '2008-11-27 12:09:10', 'volunteering'), +(362, 128, '2008-11-27 11:10:16', '2008-11-27 12:20:52', 'using'), +(363, 2, '2008-11-27 11:10:35', '2008-11-27 11:47:57', 'dogfucking'), +(364, 81, '2008-11-27 11:10:52', '2008-11-27 14:16:14', 'volunteering'), +(365, 2, '2008-11-27 11:48:03', '2008-11-27 12:20:46', 'volunteering'), +(366, 37, '2008-11-27 13:29:51', '2008-11-27 14:16:15', 'volunteering'), +(367, 135, '2008-11-27 13:34:29', '2008-11-27 14:16:16', 'using'), +(368, 5, '2008-11-27 13:42:00', '2008-11-27 14:16:00', 'Working'), +(369, 37, '2008-11-27 16:04:59', '2008-11-27 18:58:41', 'volunteering'), +(370, 36, '2008-11-27 16:05:20', '2008-11-27 18:58:42', 'volunteering'), +(371, 25, '2008-11-27 16:07:03', '2008-11-27 18:19:25', 'using'), +(372, 5, '2008-11-27 16:19:00', '2008-11-27 18:19:00', 'Working'), +(373, 49, '2008-11-29 12:03:58', '2008-11-29 15:02:00', 'volunteering'), +(374, 50, '2008-11-29 12:04:10', '2008-11-29 15:02:01', 'volunteering'), +(375, 125, '2008-11-29 12:26:38', '2008-11-29 14:58:58', 'using'), +(376, 123, '2008-11-29 14:37:25', '2008-11-29 14:59:12', 'using'), +(377, 97, '2008-11-29 14:37:33', '2008-11-29 14:56:59', 'using'), +(378, 49, '2008-12-01 12:13:05', '2008-12-01 12:13:10', 'using'), +(379, 13, '2008-12-01 12:13:06', '2008-12-01 12:13:09', 'using'), +(380, 49, '2008-12-01 12:13:17', '2008-12-01 17:49:54', 'volunteering'), +(381, 2, '2008-12-01 12:13:27', '2008-12-01 14:57:29', 'volunteering'), +(382, 12, '2008-12-01 12:19:51', '2008-12-01 14:53:02', 'using'), +(383, 4, '2008-12-01 12:52:14', '2008-12-01 16:27:53', 'volunteering'), +(384, 58, '2008-12-01 15:52:00', '2008-12-01 16:27:52', 'volunteering'), +(385, 12, '2008-12-01 16:27:04', '2008-12-01 17:49:54', 'volunteering'), +(386, 61, '2008-12-01 16:28:05', '2008-12-01 17:49:53', 'volunteering'), +(387, 13, '2008-12-03 11:57:09', '2008-12-03 11:57:15', 'volunteering'), +(388, 37, '2008-12-03 11:57:22', '2008-12-03 14:31:41', 'using'), +(389, 17, '2008-12-03 11:57:31', '2008-12-03 15:02:46', 'volunteering'), +(390, 49, '2008-12-03 11:59:27', '2008-12-03 15:01:23', 'volunteering'), +(391, 4, '2008-12-04 10:18:37', '2008-12-04 13:52:28', 'volunteering'), +(392, 5, '2008-12-04 10:34:12', '2008-12-04 13:52:30', 'volunteering'), +(393, 81, '2008-12-04 11:40:38', '2008-12-04 14:05:43', 'volunteering'), +(394, 50, '2008-12-06 12:05:04', '2008-12-06 15:03:27', 'volunteering'), +(395, 49, '2008-12-06 12:05:17', '2008-12-06 15:03:26', 'volunteering'), +(396, 58, '2008-12-08 12:44:55', '2008-12-08 17:05:26', 'volunteering'), +(397, 2, '2008-12-08 12:45:29', '2008-12-08 17:05:23', 'volunteering'), +(398, 37, '2008-12-08 14:43:55', '2008-12-08 17:43:55', 'dogfucking'), +(399, 49, '2008-12-08 15:14:07', '2008-12-08 18:14:07', 'volunteering'), +(400, 88, '2008-12-08 17:05:32', '2008-12-08 17:29:48', 'using'), +(401, 49, '2008-12-10 12:03:21', '2008-12-10 15:59:37', 'volunteering'), +(402, 49, '2008-12-13 12:41:02', '2008-12-13 15:46:04', 'volunteering'), +(403, 50, '2008-12-13 12:41:10', '2008-12-13 15:38:24', 'volunteering'), +(404, 58, '2008-12-13 14:12:45', '2008-12-13 15:46:03', 'using'), +(405, 120, '2008-12-13 15:38:41', '2008-12-13 15:42:33', 'using'), +(406, 2, '2008-12-15 12:51:27', '2008-12-15 17:47:56', 'volunteering'), +(407, 58, '2008-12-15 12:51:51', '2008-12-15 16:05:21', 'volunteering'), +(408, 37, '2008-12-15 12:51:56', '2008-12-15 12:51:58', 'using'), +(409, 37, '2008-12-15 12:52:05', '2008-12-15 18:05:39', 'volunteering'), +(410, 138, '2008-12-15 13:29:09', '2008-12-15 16:05:25', 'using'), +(411, 12, '2008-12-15 14:07:46', '2008-12-15 18:05:38', 'volunteering'), +(412, 49, '2008-12-15 14:50:10', '2008-12-15 18:05:37', 'volunteering'), +(413, 4, '2008-12-17 12:15:40', '2008-12-17 15:00:02', 'volunteering'), +(414, 58, '2008-12-17 13:05:33', '2008-12-17 16:05:33', 'using'), +(415, 5, '2008-12-17 13:35:49', '2008-12-17 15:29:51', 'using'), +(416, 7, '2008-12-17 13:36:00', '2008-12-17 15:00:04', 'using'), +(417, 37, '2008-12-17 15:00:00', '2008-12-17 19:54:08', 'volunteering'), +(418, 5, '2008-12-17 15:30:05', '2008-12-17 15:51:33', 'volunteering'), +(419, 61, '2009-01-05 12:09:22', '2009-01-05 14:57:25', 'volunteering'), +(420, 49, '2009-01-05 12:09:34', '2009-01-05 14:57:24', 'volunteering'), +(421, 139, '2009-01-05 13:58:27', '2009-01-05 13:58:30', 'using'), +(422, 17, '2009-01-06 11:59:54', '2009-01-06 15:08:04', 'volunteering'), +(423, 36, '2009-01-06 12:00:13', '2009-01-06 15:07:58', 'using'), +(424, 2, '2009-01-06 12:10:12', '2009-01-06 15:07:59', 'volunteering'), +(425, 37, '2009-01-06 12:21:13', '2009-01-06 15:08:01', 'dogfucking'), +(426, 112, '2009-01-06 14:35:30', '2009-01-06 15:08:02', 'using'), +(427, 37, '2009-01-06 16:44:46', '2009-01-06 19:44:46', 'using'), +(428, 36, '2009-01-06 16:44:53', '2009-01-06 19:44:53', 'using'), +(429, 36, '2009-01-07 12:17:02', '2009-01-07 14:55:59', 'volunteering'), +(430, 48, '2009-01-07 12:17:09', '2009-01-07 14:03:04', 'volunteering'), +(431, 49, '2009-01-07 14:03:10', '2009-01-07 14:55:58', 'volunteering'), +(432, 47, '2009-01-07 14:03:38', '2009-01-07 14:55:57', 'using'), +(433, 37, '2009-01-08 15:16:07', '2009-01-08 17:49:56', 'volunteering'), +(434, 2, '2009-01-08 15:16:19', '2009-01-08 17:48:08', 'volunteering'), +(435, 120, '2009-01-08 15:57:56', '2009-01-08 17:48:07', 'using'), +(436, 47, '2009-01-08 15:58:30', '2009-01-08 17:48:07', 'using'), +(437, 4, '2009-01-10 12:01:19', '2009-01-10 15:27:54', 'volunteering'), +(438, 50, '2009-01-10 12:01:33', '2009-01-10 15:27:55', 'volunteering'), +(439, 118, '2009-01-10 12:49:04', '2009-01-10 15:17:53', 'using'), +(440, 37, '2009-01-10 15:17:52', '2009-01-10 15:28:10', 'volunteering'), +(441, 47, '2009-01-10 15:18:41', '2009-01-10 15:28:09', 'dogfucking'), +(442, 49, '2009-01-12 11:59:54', '2009-01-12 14:58:38', 'volunteering'), +(443, 37, '2009-01-12 12:00:14', '2009-01-12 13:07:52', 'using'), +(444, 61, '2009-01-12 12:04:40', '2009-01-12 14:58:37', 'volunteering'), +(445, 12, '2009-01-12 12:30:59', '2009-01-12 14:58:36', 'volunteering'), +(446, 141, '2009-01-12 12:40:15', '2009-01-12 14:58:35', 'using'), +(447, 142, '2009-01-12 13:11:14', '2009-01-12 13:11:17', 'using'), +(448, 37, '2009-01-13 12:23:25', '2009-01-13 16:03:35', 'volunteering'), +(449, 2, '2009-01-13 12:23:35', '2009-01-13 12:23:37', 'using'), +(450, 2, '2009-01-13 12:23:48', '2009-01-13 15:32:42', 'volunteering'), +(451, 17, '2009-01-13 13:15:51', '2009-01-13 16:03:36', 'volunteering'), +(452, 47, '2009-01-13 13:16:12', '2009-01-13 13:16:16', 'using'), +(453, 13, '2009-01-14 12:14:42', '2009-01-14 12:14:47', 'volunteering'), +(454, 49, '2009-01-14 12:15:06', '2009-01-14 12:33:07', 'volunteering'), +(455, 36, '2009-01-14 12:15:23', '2009-01-14 15:15:23', 'volunteering'), +(456, 37, '2009-01-14 12:15:38', '2009-01-14 12:49:38', 'volunteering'), +(457, 27, '2009-01-14 12:15:51', '2009-01-14 15:21:07', 'volunteering'), +(458, 37, '2009-01-14 14:30:59', '2009-01-14 17:30:59', 'volunteering'), +(459, 49, '2009-01-14 14:37:13', '2009-01-14 17:37:13', 'volunteering'), +(460, 4, '2009-01-14 15:21:41', '2009-01-14 18:21:41', 'volunteering'), +(461, 37, '2009-01-15 12:14:00', '2009-01-15 15:14:00', 'Working'), +(462, 85, '2009-01-15 13:15:00', '2009-01-15 17:36:47', 'Working'), +(463, 2, '2009-01-15 14:00:00', '2009-01-15 16:33:57', 'Working'), +(464, 5, '2009-01-15 14:42:07', '2009-01-15 14:55:21', 'volunteering'), +(465, 5, '2009-01-15 14:55:30', '2009-01-15 18:20:25', 'Working'), +(466, 47, '2009-01-15 15:04:13', '2009-01-15 18:20:23', 'volunteering'), +(467, 36, '2009-01-15 15:47:36', '2009-01-15 16:07:49', 'volunteering'), +(468, 145, '2009-01-15 18:00:00', '2009-01-15 15:30:00', 'using'), +(469, 50, '2009-01-17 12:09:14', '2009-01-17 15:26:55', 'Working'), +(470, 49, '2009-01-17 12:09:52', '2009-01-17 14:46:40', 'Working'), +(471, 15, '2009-01-17 12:10:08', '2009-01-17 15:19:07', 'volunteering'), +(472, 146, '2009-01-17 14:36:05', '2009-01-17 14:54:34', 'using'), +(473, 26, '2009-01-17 14:46:35', '2009-01-17 15:26:52', 'using'), +(474, 47, '2009-01-17 14:54:56', '2009-01-17 15:18:18', 'volunteering'), +(475, 49, '2009-01-19 12:07:47', '2009-01-19 14:54:33', 'Working'), +(476, 37, '2009-01-19 12:07:58', '2009-01-19 13:13:15', 'using'), +(477, 61, '2009-01-19 12:08:07', '2009-01-19 14:54:31', 'Working'), +(478, 12, '2009-01-19 12:10:07', '2009-01-19 14:49:10', 'using'), +(479, 147, '2009-01-19 13:20:15', '2009-01-19 13:20:17', 'using'), +(480, 148, '2009-01-19 13:22:35', '2009-01-19 13:22:37', 'using'), +(481, 128, '2009-01-19 13:53:00', '2009-01-19 14:54:14', 'volunteering'), +(482, 2, '2009-01-20 12:15:06', '2009-01-20 12:15:12', 'volunteering'), +(483, 13, '2009-01-20 12:15:16', '2009-01-20 12:17:46', 'Working'), +(484, 17, '2009-01-20 12:15:28', '2009-01-20 15:31:42', 'Working'), +(485, 2, '2009-01-20 12:17:54', '2009-01-20 15:16:33', 'Working'), +(486, 142, '2009-01-20 13:59:18', '2009-01-20 15:31:44', 'using'), +(487, 27, '2009-01-21 12:06:50', '2009-01-21 15:04:44', 'Working'), +(488, 36, '2009-01-21 12:08:45', '2009-01-21 14:50:20', 'Working'), +(489, 106, '2009-01-21 12:09:08', '2009-01-21 14:41:47', 'volunteering'), +(490, 47, '2009-01-21 12:41:02', '2009-01-21 14:32:16', 'using'), +(491, 37, '2009-01-21 12:45:23', '2009-01-21 13:14:46', 'volunteering'), +(492, 54, '2009-01-21 13:04:51', '2009-01-21 13:48:50', 'using'), +(493, 59, '2009-01-21 13:06:01', '2009-01-21 13:23:31', 'using'), +(494, 94, '2009-01-21 13:14:40', '2009-01-21 15:00:11', 'volunteering'), +(495, 4, '2009-01-21 14:20:14', '2009-01-21 15:00:09', 'volunteering'), +(496, 5, '2009-01-22 14:56:37', '2009-01-22 18:32:56', 'Working'), +(497, 37, '2009-01-22 14:56:51', '2009-01-22 18:32:57', 'Working'), +(498, 2, '2009-01-22 14:58:47', '2009-01-22 15:17:56', 'using'), +(499, 47, '2009-01-22 15:05:42', '2009-01-22 18:32:15', 'using'), +(500, 128, '2009-01-22 15:08:57', '2009-01-22 17:18:36', 'using'), +(501, 12, '2009-01-22 15:16:09', '2009-01-22 18:32:16', 'using'), +(502, 27, '2009-01-22 16:56:09', '2009-01-22 18:32:11', 'using'), +(503, 4, '2009-01-24 12:05:39', '2009-01-24 15:07:38', 'Working'), +(504, 50, '2009-01-24 12:05:54', '2009-01-24 15:07:36', 'Working'), +(505, 118, '2009-01-24 12:15:00', '2009-01-24 15:04:40', 'volunteering'), +(506, 83, '2009-01-24 12:48:46', '2009-01-24 12:53:30', 'using'), +(507, 148, '2009-01-24 13:51:05', '2009-01-24 15:06:51', 'using'), +(508, 153, '2009-01-24 13:57:29', '2009-01-24 15:06:52', 'using'), +(509, 7, '2009-01-24 14:08:00', '2009-01-24 15:07:35', 'using'), +(510, 12, '2009-01-26 12:03:00', '2009-01-26 15:00:00', 'volunteering'), +(511, 5, '2009-01-26 13:07:56', '2009-01-26 13:51:50', 'using'), +(512, 49, '2009-01-26 12:07:00', '2009-01-26 15:08:10', 'Working'), +(513, 61, '2009-01-26 12:08:00', '2009-01-26 15:08:46', 'Working'), +(514, 85, '2009-01-27 10:24:44', '2009-01-27 15:09:56', 'volunteering'), +(515, 5, '2009-01-27 10:24:52', '2009-01-27 12:14:26', 'volunteering'), +(516, 37, '2009-01-27 11:59:05', '2009-01-27 16:20:20', 'volunteering'), +(517, 2, '2009-01-27 12:05:44', '2009-01-27 16:08:30', 'Working'), +(518, 17, '2009-01-27 12:06:00', '2009-01-27 16:20:18', 'Working'), +(519, 49, '2009-01-27 12:53:13', '2009-01-27 16:20:17', 'volunteering'), +(520, 4, '2009-01-28 11:57:38', '2009-01-28 14:45:51', 'Working'), +(521, 36, '2009-01-28 11:57:48', '2009-01-28 14:45:49', 'Working'), +(522, 47, '2009-01-28 12:23:01', '2009-01-28 14:45:53', 'using'), +(523, 5, '2009-01-28 12:37:00', '2009-01-28 12:57:29', 'using'), +(524, 37, '2009-01-28 12:44:45', '2009-01-28 12:57:30', 'dogfucking'), +(525, 160, '2009-01-28 13:24:39', '2009-01-28 14:01:48', 'using'), +(526, 37, '2009-01-29 15:19:54', '2009-01-29 18:11:33', 'Working'), +(527, 12, '2009-01-29 15:20:01', '2009-01-29 18:11:34', 'volunteering'), +(528, 5, '2009-01-29 15:20:11', '2009-01-29 18:11:36', 'Working'), +(529, 156, '2009-01-29 15:23:02', '2009-01-29 18:03:21', 'using'), +(530, 47, '2009-01-29 16:06:19', '2009-01-29 18:11:38', 'using'), +(531, 149, '2009-01-29 17:25:15', '2009-01-29 18:09:19', 'using'), +(532, 4, '2009-01-31 12:15:58', '2009-01-31 15:02:06', 'Working'), +(533, 35, '2009-01-31 12:16:08', '2009-01-31 15:02:05', 'volunteering'), +(534, 50, '2009-01-31 12:16:19', '2009-01-31 15:02:04', 'Working'), +(535, 138, '2009-01-31 12:49:15', '2009-01-31 14:51:00', 'using'), +(536, 49, '2009-02-02 12:22:48', '2009-02-02 15:00:28', 'Working'), +(537, 61, '2009-02-02 12:22:57', '2009-02-02 15:00:29', 'Working'), +(538, 12, '2009-02-02 12:23:35', '2009-02-02 14:50:07', 'volunteering'), +(539, 8, '2009-02-02 12:23:55', '2009-02-02 12:37:56', 'using'), +(540, 145, '2009-02-02 12:24:55', '2009-02-02 14:10:09', 'using'), +(541, 129, '2009-02-02 13:10:27', '2009-02-02 13:10:30', 'using'), +(542, 163, '2009-02-02 14:10:00', '2009-02-02 14:10:05', 'using'), +(543, 8, '2009-02-02 14:11:47', '2009-02-02 14:57:32', 'using'), +(544, 2, '2009-02-03 12:08:43', '2009-02-03 15:06:11', 'Working'), +(545, 17, '2009-02-03 12:09:07', '2009-02-03 15:10:02', 'Working'), +(546, 123, '2009-02-03 12:47:31', '2009-02-03 14:50:06', 'volunteering'), +(547, 142, '2009-02-03 13:10:50', '2009-02-03 15:06:14', 'using'), +(548, 163, '2009-02-03 13:32:37', '2009-02-03 15:05:52', 'using'), +(549, 88, '2009-02-03 14:25:14', '2009-02-03 14:38:21', 'using'), +(550, 27, '2009-02-04 12:00:00', '2009-02-04 15:19:51', 'Working'), +(551, 49, '2009-02-04 12:00:00', '2009-02-04 15:19:39', 'Working'), +(552, 37, '2009-02-04 12:00:00', '2009-02-04 12:35:13', 'volunteering'), +(553, 148, '2009-02-04 12:07:33', '2009-02-04 14:04:57', 'using'), +(554, 138, '2009-02-04 12:00:00', '2009-02-04 12:49:58', 'using'), +(555, 5, '2009-02-04 12:59:59', '2009-02-04 15:19:49', 'volunteering'), +(556, 4, '2009-02-04 14:30:00', '2009-02-04 15:19:53', 'volunteering'), +(557, 37, '2009-02-04 15:07:49', '2009-02-04 15:19:35', 'volunteering'), +(558, 37, '2009-02-05 15:00:00', '2009-02-05 18:27:21', 'Working'), +(559, 5, '2009-02-05 15:00:00', '2009-02-05 18:27:20', 'Working'), +(560, 17, '2009-02-05 16:11:16', '2009-02-05 18:27:17', 'volunteering'), +(561, 4, '2009-02-05 16:11:41', '2009-02-05 18:10:54', 'volunteering'), +(562, 47, '2009-02-05 16:16:44', '2009-02-05 18:16:42', 'using'), +(563, 149, '2009-02-05 16:32:33', '2009-02-05 18:27:18', 'using'), +(564, 156, '2009-02-05 16:42:24', '2009-02-05 18:10:51', 'using'), +(565, 4, '2009-02-07 12:05:52', '2009-02-07 14:52:05', 'Working'), +(566, 50, '2009-02-07 12:06:55', '2009-02-07 14:54:12', 'Working'), +(567, 109, '2009-02-07 12:07:02', '2009-02-07 12:15:13', 'using'), +(568, 128, '2009-02-07 13:36:58', '2009-02-07 14:46:56', 'using'), +(569, 127, '2009-02-07 14:18:09', '2009-02-07 14:54:10', 'using'), +(570, 162, '2009-02-09 11:58:44', '2009-02-09 13:33:50', 'using'), +(571, 27, '2009-02-09 12:03:18', '2009-02-09 15:00:54', 'using'), +(572, 49, '2009-02-09 12:03:50', '2009-02-09 15:00:52', 'volunteering'), +(573, 61, '2009-02-09 12:04:00', '2009-02-09 15:00:50', 'volunteering'), +(574, 141, '2009-02-09 12:08:04', '2009-02-09 15:00:48', 'using'), +(575, 8, '2009-02-09 12:48:04', '2009-02-09 15:07:20', 'using'), +(576, 25, '2009-02-09 13:33:45', '2009-02-09 13:33:48', 'using'), +(577, 54, '2009-02-09 13:33:59', '2009-02-09 13:40:54', 'using'), +(578, 9, '2009-02-09 13:34:14', '2009-02-09 15:00:47', 'volunteering'), +(579, 47, '2009-02-09 12:21:00', '2009-02-09 14:27:00', 'using'), +(580, 17, '2009-02-10 12:16:47', '2009-02-10 12:26:48', 'Working'), +(581, 2, '2009-02-10 12:16:55', '2009-02-10 15:20:30', 'Working'), +(582, 37, '2009-02-10 12:26:35', '2009-02-10 13:24:29', 'Working'), +(583, 83, '2009-02-10 00:00:00', '2009-02-10 03:00:00', 'volunteering'), +(584, 17, '2009-02-10 14:13:19', '2009-02-10 15:20:34', 'Working'), +(585, 142, '2009-02-10 13:38:00', '2009-02-10 15:20:37', 'volunteering'), +(586, 49, '2009-02-11 12:00:00', '2009-02-11 15:00:00', 'Working'), +(587, 27, '2009-02-11 12:00:00', '2009-02-11 15:00:00', 'Working'), +(588, 141, '2009-02-11 12:00:00', '2009-02-11 13:45:00', 'using'), +(589, 101, '2009-02-11 12:36:21', '2009-02-11 12:52:46', 'using'), +(590, 156, '2009-02-11 12:44:00', '2009-02-11 15:00:00', 'using'), +(591, 4, '2009-02-12 14:56:13', '2009-02-12 18:05:28', 'Working'), +(592, 141, '2009-02-12 15:12:01', '2009-02-12 15:12:47', 'using'), +(593, 36, '2009-02-12 15:13:06', '2009-02-12 18:05:26', 'Working'), +(594, 164, '2009-02-12 16:55:12', '2009-02-12 18:05:25', 'using'), +(595, 156, '2009-02-12 17:06:20', '2009-02-12 18:05:23', 'using'), +(596, 131, '2009-02-12 17:22:37', '2009-02-12 17:52:35', 'using'), +(597, 49, '2009-02-23 12:07:47', '2009-02-23 14:59:23', 'volunteering'), +(598, 17, '2009-02-23 12:23:53', '2009-02-23 14:59:21', 'Working'), +(599, 13, '2009-02-23 12:59:00', '2009-02-23 13:48:00', 'volunteering'), +(600, 12, '2009-02-23 12:59:00', '2009-02-23 14:59:20', 'volunteering'), +(601, 2, '2009-02-24 12:00:00', '2009-02-24 15:18:33', 'Working'), +(602, 17, '2009-02-24 12:00:00', '2009-02-24 15:19:06', 'Working'), +(603, 142, '2009-02-24 13:00:00', '2009-02-24 15:19:08', 'volunteering'), +(604, 123, '2009-02-24 13:03:00', '2009-02-24 15:18:36', 'volunteering'), +(605, 145, '2009-02-24 14:26:14', '2009-02-24 15:18:37', 'using'), +(606, 27, '2009-02-25 12:00:00', '2009-02-25 15:03:08', 'Working'), +(607, 37, '2009-02-25 12:00:00', '2009-02-25 12:45:54', 'volunteering'), +(608, 49, '2009-02-25 12:00:00', '2009-02-25 15:03:09', 'Working'), +(609, 37, '2009-02-26 15:25:30', '2009-02-26 18:45:32', 'Working'), +(610, 36, '2009-02-26 15:25:38', '2009-02-26 18:45:33', 'using'), +(611, 47, '2009-02-26 15:29:58', '2009-02-26 16:45:38', 'dogfucking'), +(612, 4, '2009-02-28 11:58:51', '2009-02-28 14:59:12', 'Working'), +(613, 50, '2009-02-28 12:01:36', '2009-02-28 14:59:20', 'Working'), +(614, 49, '2009-03-02 12:06:38', '2009-03-02 15:01:07', 'Working'), +(615, 12, '2009-03-02 12:24:55', '2009-03-02 15:01:09', 'Working'), +(616, 17, '2009-03-03 12:03:56', '2009-03-03 15:27:44', 'Working'), +(617, 47, '2009-03-03 12:29:06', '2009-03-03 14:58:19', 'using'), +(618, 37, '2009-03-03 12:29:39', '2009-03-03 15:27:45', 'Working'), +(619, 142, '2009-03-03 13:00:42', '2009-03-03 15:36:40', 'volunteering'), +(620, 168, '2009-03-03 13:02:10', '2009-03-03 14:58:28', 'using'), +(621, 2, '2009-03-03 13:50:09', '2009-03-03 14:58:31', 'volunteering'), +(622, 123, '2009-03-03 13:50:18', '2009-03-03 14:58:24', 'volunteering'), +(623, 27, '2009-03-03 14:01:46', '2009-03-03 15:36:42', 'using'), +(624, 27, '2009-03-04 12:00:58', '2009-03-04 15:04:39', 'Working'), +(625, 49, '2009-03-04 12:01:08', '2009-03-04 14:13:25', 'Working'), +(626, 37, '2009-03-04 12:01:40', '2009-03-04 12:02:54', 'volunteering'), +(627, 37, '2009-03-04 12:21:58', '2009-03-04 12:55:05', 'volunteering'), +(628, 47, '2009-03-04 12:32:58', '2009-03-04 14:13:28', 'volunteering'), +(629, 49, '2009-03-04 14:13:36', '2009-03-04 15:04:40', 'Working'), +(630, 37, '2009-03-04 14:23:23', '2009-03-04 14:29:28', 'volunteering'), +(631, 37, '2009-03-05 15:02:21', '2009-03-05 18:03:32', 'Working'), +(632, 5, '2009-03-05 15:02:31', '2009-03-05 18:03:34', 'Working'), +(633, 47, '2009-03-05 15:33:11', '2009-03-05 18:00:48', 'using'), +(634, 4, '2009-03-07 12:08:40', '2009-03-07 14:54:26', 'Working'), +(635, 50, '2009-03-07 12:08:52', '2009-03-07 16:49:59', 'Working'), +(636, 47, '2009-03-07 13:54:29', '2009-03-07 16:49:58', 'volunteering'), +(637, 37, '2009-03-07 13:54:57', '2009-03-07 17:04:11', 'volunteering'), +(638, 97, '2009-03-07 13:58:00', '2009-03-07 16:49:56', 'volunteering'), +(639, 5, '2009-03-07 18:07:07', '2009-03-07 18:53:56', 'volunteering'), +(640, 97, '2009-03-07 18:07:15', '2009-03-07 18:53:58', 'volunteering'), +(641, 49, '2009-03-09 12:10:08', '2009-03-09 15:26:47', 'Working'), +(642, 12, '2009-03-09 12:27:01', '2009-03-09 15:26:42', 'Working'), +(643, 37, '2009-03-10 12:22:45', '2009-03-10 15:48:27', 'volunteering'), +(644, 2, '2009-03-10 12:22:53', '2009-03-10 15:46:19', 'Working'), +(645, 17, '2009-03-10 12:23:02', '2009-03-10 15:48:25', 'Working'), +(646, 123, '2009-03-10 12:42:52', '2009-03-10 15:48:23', 'volunteering'), +(647, 142, '2009-03-10 13:32:02', '2009-03-10 15:49:10', 'volunteering'), +(648, 156, '2009-03-10 14:16:35', '2009-03-10 15:09:40', 'using'), +(649, 49, '2009-03-11 12:13:51', '2009-03-11 14:57:54', 'Working'), +(650, 155, '2009-03-11 12:14:32', '2009-03-11 14:10:05', 'volunteering'), +(651, 27, '2009-03-11 12:17:00', '2009-03-11 14:57:56', 'Working'), +(652, 37, '2009-03-12 15:00:22', '2009-03-12 18:00:22', 'Working'), +(653, 5, '2009-03-12 15:00:32', '2009-03-12 18:00:29', 'Working'), +(654, 36, '2009-03-12 15:00:41', '2009-03-12 15:54:59', 'volunteering'), +(655, 47, '2009-03-12 15:00:50', '2009-03-12 18:00:50', 'using'), +(656, 12, '2009-03-12 15:18:57', '2009-03-12 21:05:38', 'volunteering'), +(657, 37, '2009-03-13 14:28:57', '2009-03-13 15:29:30', 'volunteering'), +(658, 85, '2009-03-13 15:29:15', '2009-03-13 15:29:30', 'Administrator'), +(659, 37, '2009-03-13 15:51:14', '2009-03-13 16:10:03', 'Administrator'), +(660, 85, '2009-03-13 16:10:08', '2009-03-13 16:10:12', 'Administrator'), +(661, 85, '2009-03-13 16:34:49', '2009-03-13 17:33:46', 'Administrator'), +(662, 4, '2009-03-14 12:23:52', '2009-03-14 15:23:52', 'Administrator'), +(663, 50, '2009-03-14 12:03:42', '2009-03-14 15:03:42', 'Mechanic'), +(664, 37, '2009-03-14 18:04:02', '2009-03-14 20:04:02', 'using'), +(665, 173, '2009-03-14 12:11:40', '2009-03-14 15:11:40', 'using'), +(666, 37, '2009-03-14 20:07:20', '2009-03-14 20:07:33', 'Administrator'), +(667, 17, '2009-03-16 12:14:43', '2009-03-16 12:15:11', 'Administrator'), +(668, 12, '2009-03-16 12:15:11', '2009-03-16 15:22:28', 'Mechanic'), +(669, 17, '2009-03-16 12:15:11', '2009-03-16 14:31:03', 'Administrator'), +(670, 170, '2009-03-16 12:05:13', '2009-03-16 14:05:13', 'using'), +(671, 128, '2009-03-16 12:25:39', '2009-03-16 14:25:39', 'using'), +(672, 175, '2009-03-16 12:30:40', '2009-03-16 14:30:40', 'using'), +(673, 17, '2009-03-16 14:33:59', '2009-03-16 15:22:52', 'Administrator'), +(674, 37, '2009-03-16 15:23:04', '2009-03-16 19:11:59', 'Administrator'), +(675, 47, '2009-03-16 17:09:35', '2009-03-16 19:09:35', 'using'), +(676, 37, '2009-03-16 19:11:59', '2009-03-16 19:12:11', 'Administrator'), +(677, 49, '2009-03-17 12:13:49', '2009-03-17 15:02:13', 'Administrator'), +(678, 2, '2009-03-17 12:00:32', '2009-03-17 14:58:32', 'Mechanic'), +(679, 37, '2009-03-17 12:00:28', '2009-03-17 14:58:28', 'volunteering'), +(680, 16, '2009-03-17 11:56:31', '2009-03-17 13:56:31', 'using'), +(681, 142, '2009-03-17 12:00:26', '2009-03-17 13:56:26', 'volunteering'), +(682, 156, '2009-03-17 11:58:31', '2009-03-17 14:58:31', 'using'), +(683, 128, '2009-03-17 11:58:30', '2009-03-17 14:58:30', 'using'), +(684, 49, '2009-03-17 15:02:13', '2009-03-17 15:02:36', 'Administrator'), +(685, 27, '2009-03-18 12:10:07', '2009-03-18 15:04:47', 'Administrator'), +(686, 49, '2009-03-18 12:00:00', '2009-03-18 15:04:14', 'Working'), +(687, 37, '2009-03-18 11:03:13', '2009-03-18 13:03:13', 'volunteering'), +(688, 156, '2009-03-18 13:04:06', '2009-03-18 15:04:06', 'using'), +(689, 37, '2009-03-18 13:04:11', '2009-03-18 15:04:11', 'volunteering'), +(690, 128, '2009-03-18 13:50:00', '2009-03-18 15:04:12', 'volunteering'), +(691, 16, '2009-03-18 13:20:00', '2009-03-18 15:04:09', 'using'), +(692, 27, '2009-03-18 15:45:19', '2009-03-18 15:47:05', 'Administrator'), +(693, 27, '2009-03-18 15:47:05', '2009-03-18 15:47:26', 'Administrator'), +(694, 5, '2009-03-19 11:50:25', '2009-03-19 14:50:25', 'Administrator'), +(695, 36, '2009-03-19 15:31:39', '2009-03-19 18:31:39', 'using'), +(696, 174, '2009-03-19 15:31:57', '2009-03-19 18:31:57', 'using'), +(697, 128, '2009-03-19 12:00:46', '2009-03-19 13:12:46', 'using'), +(698, 179, '2009-03-19 12:00:31', '2009-03-19 13:52:31', 'using'), +(699, 128, '2009-03-19 14:00:15', '2009-03-19 18:54:15', 'using'), +(700, 37, '2009-03-19 15:00:20', '2009-03-19 18:54:20', 'Mechanic'), +(701, 12, '2009-03-19 15:54:07', '2009-03-19 18:54:07', 'using'), +(702, 85, '2009-03-19 15:17:47', '2009-03-19 17:17:47', 'volunteering'), +(703, 47, '2009-03-19 15:54:08', '2009-03-19 18:54:08', 'using'), +(704, 156, '2009-03-19 15:54:10', '2009-03-19 18:54:10', 'using'), +(705, 97, '2009-03-19 15:31:53', '2009-03-19 18:31:53', 'volunteering'), +(706, 17, '2009-03-19 15:54:11', '2009-03-19 18:54:11', 'using'), +(707, 180, '2009-03-19 16:54:04', '2009-03-19 18:54:04', 'using'), +(708, 36, '2009-03-19 16:54:18', '2009-03-19 18:54:18', 'volunteering'), +(709, 85, '2009-03-19 18:59:35', '2009-03-19 21:59:35', 'Administrator'), +(710, 37, '2009-03-21 13:37:43', '2009-03-21 13:40:24', 'Administrator'), +(711, 37, '2009-03-21 13:40:24', '2009-03-21 16:40:24', 'Administrator'), +(712, 50, '2009-03-21 15:03:20', '2009-03-21 18:03:20', 'Mechanic'), +(713, 67, '2009-03-21 15:03:15', '2009-03-21 18:03:15', 'using'), +(714, 5, '2009-03-21 15:03:21', '2009-03-21 18:03:21', 'volunteering'), +(715, 47, '2009-03-21 11:58:17', '2009-03-21 14:58:17', 'using'), +(716, 36, '2009-03-21 15:03:13', '2009-03-21 18:03:13', 'volunteering'), +(717, 47, '2009-03-21 15:03:12', '2009-03-21 18:03:12', 'volunteering'), +(718, 17, '2009-03-23 12:12:25', '2009-03-23 12:23:13', 'Administrator'), +(719, 17, '2009-03-23 12:23:13', '2009-03-23 13:23:26', 'Administrator'), +(720, 12, '2009-03-23 12:00:00', '2009-03-23 15:41:10', 'Working'), +(721, 27, '2009-03-23 12:09:45', '2009-03-23 15:09:45', 'volunteering'), +(722, 154, '2009-03-23 11:12:11', '2009-03-23 14:12:11', 'volunteering'), +(723, 37, '2009-03-23 12:00:42', '2009-03-23 13:50:49', 'volunteering'), +(724, 13, '2009-03-23 12:00:54', '2009-03-23 13:50:54', 'using'), +(725, 156, '2009-03-23 12:00:44', '2009-03-23 13:50:44', 'using'), +(726, 174, '2009-03-23 12:00:58', '2009-03-23 13:50:58', 'using'), +(727, 184, '2009-03-23 12:03:26', '2009-03-23 15:03:26', 'using'), +(728, 17, '2009-03-23 13:24:05', '2009-03-23 13:32:09', 'Administrator'), +(729, 47, '2009-03-23 12:00:07', '2009-03-23 15:41:07', 'volunteering'), +(730, 17, '2009-03-23 13:35:28', '2009-03-23 15:58:48', 'Administrator'), +(731, 4, '2009-03-23 12:09:47', '2009-03-23 15:09:47', 'volunteering'), +(732, 17, '2009-03-23 15:58:48', '2009-03-23 15:59:01', 'Administrator'), +(733, 49, '2009-03-24 12:05:46', '2009-03-24 12:07:16', 'Administrator'), +(734, 49, '2009-03-24 12:07:16', '2009-03-24 15:27:42', 'Administrator'), +(735, 180, '2009-03-24 12:00:53', '2009-03-24 15:19:53', 'using'), +(736, 123, '2009-03-24 12:00:21', '2009-03-24 15:24:21', 'Mechanic'), +(737, 142, '2009-03-24 12:00:17', '2009-03-24 15:24:17', 'volunteering'), +(738, 184, '2009-03-24 12:19:37', '2009-03-24 15:19:37', 'using'), +(739, 101, '2009-03-24 12:24:18', '2009-03-24 15:24:18', 'using'), +(740, 49, '2009-03-24 15:27:42', '2009-03-24 15:27:59', 'Administrator'), +(741, 37, '2009-03-25 11:53:40', '2009-03-25 12:11:50', 'Administrator'), +(742, 27, '2009-03-25 12:10:53', '2009-03-25 12:11:50', 'Administrator'), +(743, 27, '2009-03-25 12:11:50', '2009-03-25 14:51:57', 'Administrator'); +INSERT INTO `visits` (`visitID`, `userID`, `intime`, `endout`, `activity`) VALUES +(744, 49, '2009-03-25 12:00:00', '2009-03-25 15:05:00', 'Working'), +(745, 184, '2009-03-25 12:00:00', '2009-03-25 14:45:07', 'using'), +(746, 156, '2009-03-25 01:00:00', '2009-03-25 04:00:00', 'using'), +(747, 156, '2009-03-25 12:04:40', '2009-03-25 15:04:40', 'using'), +(748, 27, '2009-03-25 15:02:59', '2009-03-25 15:09:17', 'Administrator'), +(749, 27, '2009-03-25 15:09:17', '2009-03-25 15:09:53', 'Administrator'), +(750, 5, '2009-03-26 15:00:09', '2009-03-26 15:05:25', 'Administrator'), +(751, 37, '2009-03-26 15:05:25', '2009-03-26 17:54:20', 'Mechanic'), +(752, 5, '2009-03-26 15:05:25', '2009-03-26 17:55:34', 'Administrator'), +(753, 180, '2009-03-26 14:54:22', '2009-03-26 17:54:22', 'using'), +(754, 4, '2009-03-28 12:11:07', '2009-03-28 12:26:21', 'Administrator'), +(755, 4, '2009-03-28 12:26:21', '2009-03-28 15:02:56', 'Administrator'), +(756, 50, '2009-03-28 12:01:08', '2009-03-28 15:01:08', 'Mechanic'), +(757, 111, '2009-03-28 11:55:44', '2009-03-28 14:55:44', 'using'), +(758, 188, '2009-03-28 12:01:06', '2009-03-28 15:01:06', 'using'), +(759, 4, '2009-03-28 15:02:56', '2009-03-28 18:02:56', 'Administrator'), +(760, 49, '2009-03-30 12:15:21', '2009-03-30 12:16:05', 'Administrator'), +(761, 49, '2009-03-30 12:16:05', '2009-03-30 15:21:04', 'Administrator'), +(762, 12, '2009-03-30 12:14:19', '2009-03-30 15:14:19', 'Mechanic'), +(763, 155, '2009-03-30 12:14:22', '2009-03-30 15:14:22', 'volunteering'), +(764, 156, '2009-03-30 12:14:21', '2009-03-30 15:14:21', 'using'), +(765, 49, '2009-03-30 15:21:04', '2009-03-30 15:21:21', 'Administrator'), +(766, 49, '2009-03-30 18:14:44', '2009-03-30 18:14:55', 'Administrator'), +(767, 49, '2009-03-30 18:14:55', '2009-03-30 18:25:15', 'Administrator'), +(768, 17, '2009-03-31 12:15:47', '2009-03-31 12:54:08', 'Administrator'), +(769, 17, '2009-03-31 12:54:08', '2009-03-31 13:09:50', 'Administrator'), +(770, 128, '2009-03-31 12:07:37', '2009-03-31 13:07:37', 'using'), +(771, 156, '2009-03-31 12:07:38', '2009-03-31 13:07:38', 'using'), +(772, 37, '2009-03-31 12:04:39', '2009-03-31 15:04:39', 'Mechanic'), +(773, 2, '2009-03-31 12:00:00', '2009-03-31 13:55:00', 'volunteering'), +(774, 142, '2009-03-31 12:04:40', '2009-03-31 15:04:40', 'volunteering'), +(775, 12, '2009-03-31 10:55:21', '2009-03-31 13:55:21', 'dogfucking'), +(776, 17, '2009-03-31 13:54:51', '2009-03-31 15:05:34', 'Administrator'), +(777, 27, '2009-03-31 12:04:37', '2009-03-31 15:04:37', 'dogfucking'), +(778, 189, '2009-03-03 13:00:00', '2009-03-03 16:00:00', 'volunteering'), +(779, 2, '2009-03-31 12:04:44', '2009-03-31 15:04:44', 'volunteering'), +(780, 17, '2009-03-31 15:05:34', '2009-03-31 15:05:57', 'Administrator'), +(781, 37, '2009-04-01 12:09:42', '2009-04-01 12:29:46', 'Administrator'), +(782, 27, '2009-04-01 12:38:12', '2009-04-01 12:38:46', 'Administrator'), +(783, 27, '2009-04-01 12:38:46', '2009-04-01 13:32:04', 'Administrator'), +(784, 37, '2009-04-01 12:00:00', '2009-04-01 13:24:10', 'volunteering'), +(785, 49, '2009-04-01 12:00:00', '2009-04-01 15:00:00', 'Working'), +(786, 156, '2009-04-01 01:15:00', '2009-04-01 03:00:00', 'volunteering'), +(787, 85, '2009-04-01 12:42:44', '2009-04-01 15:42:44', 'volunteering'), +(788, 27, '2009-04-01 13:47:28', '2009-04-01 14:44:13', 'Administrator'), +(789, 179, '2009-04-01 02:00:00', '2009-04-01 03:00:00', 'using'), +(790, 27, '2009-04-01 15:41:03', '2009-04-01 15:50:02', 'Administrator'), +(791, 27, '2009-04-01 15:50:02', '2009-04-01 15:53:01', 'Administrator'), +(792, 5, '2009-04-02 15:15:21', '2009-04-02 15:16:18', 'Administrator'), +(793, 37, '2009-04-02 15:16:18', '2009-04-02 17:54:06', 'Mechanic'), +(794, 5, '2009-04-02 15:16:18', '2009-04-02 17:55:04', 'Administrator'), +(795, 12, '2009-04-02 16:20:04', '2009-04-02 17:54:04', 'using'), +(796, 156, '2009-04-02 16:20:00', '2009-04-02 17:54:00', 'using'), +(797, 13, '2009-04-02 16:19:58', '2009-04-02 17:53:58', 'using'), +(798, 37, '2009-04-03 15:18:27', '2009-04-03 15:28:45', 'Administrator'), +(799, 37, '2009-04-03 15:28:45', '2009-04-03 15:29:07', 'Administrator'), +(800, 155, '2009-04-03 15:33:42', '2009-04-03 16:13:10', 'Administrator'), +(801, 37, '2009-04-03 15:03:44', '2009-04-03 18:03:44', 'Mechanic'), +(802, 67, '2009-04-03 14:58:04', '2009-04-03 16:32:04', 'using'), +(803, 9, '2009-04-03 14:41:09', '2009-04-03 16:15:09', 'dogfucking'), +(804, 174, '2009-04-03 14:58:10', '2009-04-03 16:32:10', 'using'), +(805, 156, '2009-04-03 16:29:30', '2009-04-03 18:03:30', 'using'), +(806, 155, '2009-04-03 16:14:18', '2009-04-03 17:11:54', 'Administrator'), +(807, 12, '2009-04-03 16:29:29', '2009-04-03 18:03:29', 'using'), +(808, 47, '2009-04-03 16:23:20', '2009-04-03 17:57:20', 'using'), +(809, 155, '2009-04-03 17:57:14', '2009-04-03 18:04:01', 'Administrator'), +(810, 155, '2009-04-03 18:04:01', '2009-04-03 18:07:13', 'Administrator'), +(811, 4, '2009-04-04 12:54:28', '2009-04-04 13:08:18', 'Administrator'), +(812, 50, '2009-04-04 13:08:18', '2009-04-04 15:08:31', 'Mechanic'), +(813, 4, '2009-04-04 13:08:18', '2009-04-04 15:08:17', 'Administrator'), +(814, 111, '2009-04-04 13:23:06', '2009-04-04 14:57:06', 'using'), +(815, 4, '2009-04-04 15:08:25', '2009-04-04 15:18:43', 'Administrator'), +(816, 4, '2009-04-04 15:18:43', '2009-04-04 18:18:43', 'Administrator'), +(817, 17, '2009-04-05 13:52:49', '2009-04-05 13:53:47', 'Administrator'), +(818, 118, '2009-04-05 13:53:47', '2009-04-05 17:53:56', 'Mechanic'), +(819, 17, '2009-04-05 13:53:47', '2009-04-05 17:54:00', 'Administrator'), +(820, 4, '2009-04-05 14:05:37', '2009-04-05 17:05:37', 'volunteering'), +(821, 27, '2009-04-05 14:05:35', '2009-04-05 17:05:35', 'volunteering'), +(822, 187, '2009-04-05 15:31:32', '2009-04-05 17:05:32', 'using'), +(823, 155, '2009-04-05 14:05:16', '2009-04-05 17:05:16', 'volunteering'), +(824, 200, '2009-04-05 15:31:30', '2009-04-05 17:05:30', 'using'), +(825, 199, '2009-04-05 15:31:28', '2009-04-05 17:05:28', 'using'), +(826, 198, '2009-04-05 15:31:26', '2009-04-05 17:05:26', 'using'), +(827, 197, '2009-04-05 15:31:24', '2009-04-05 17:05:24', 'using'), +(828, 196, '2009-04-05 15:31:22', '2009-04-05 17:05:22', 'using'), +(829, 195, '2009-04-05 15:31:21', '2009-04-05 17:05:21', 'using'), +(830, 25, '2009-04-05 15:31:19', '2009-04-05 17:05:19', 'using'), +(831, 49, '2009-04-06 12:03:31', '2009-04-06 12:03:49', 'Administrator'), +(832, 49, '2009-04-06 12:03:49', '2009-04-06 16:49:58', 'Administrator'), +(833, 12, '2009-04-06 12:22:28', '2009-04-06 15:22:28', 'Mechanic'), +(834, 36, '2009-04-06 11:46:09', '2009-04-06 13:20:09', 'using'), +(835, 5, '2009-04-06 11:35:45', '2009-04-06 13:09:45', 'using'), +(836, 203, '2009-04-06 14:52:23', '2009-04-06 16:26:23', 'using'), +(837, 156, '2009-04-06 15:15:38', '2009-04-06 16:49:38', 'using'), +(838, 181, '2009-04-06 15:13:29', '2009-04-06 16:47:29', 'using'), +(839, 16, '2009-04-06 13:41:27', '2009-04-06 15:15:27', 'using'), +(840, 61, '2009-04-06 13:48:42', '2009-04-06 15:22:42', 'using'), +(841, 49, '2009-04-06 16:49:58', '2009-04-06 16:50:18', 'Administrator'), +(842, 49, '2009-04-07 12:14:46', '2009-04-07 12:14:57', 'Administrator'), +(843, 49, '2009-04-07 12:14:57', '2009-04-07 15:14:57', 'Administrator'), +(844, 179, '2009-04-07 11:56:59', '2009-04-07 13:30:59', 'using'), +(845, 174, '2009-04-07 10:49:05', '2009-04-07 12:23:05', 'using'), +(846, 120, '2009-04-07 10:52:07', '2009-04-07 12:26:07', 'using'), +(847, 156, '2009-04-07 11:00:00', '2009-04-07 12:34:00', 'using'), +(848, 198, '2009-04-07 11:56:29', '2009-04-07 13:30:29', 'using'), +(849, 193, '2009-04-07 11:56:56', '2009-04-07 13:30:56', 'using'), +(850, 128, '2009-04-07 11:56:34', '2009-04-07 13:30:34', 'using'), +(851, 123, '2009-04-07 12:16:56', '2009-04-07 15:16:56', 'Mechanic'), +(852, 142, '2009-04-07 12:16:59', '2009-04-07 15:16:59', 'volunteering'), +(853, 5, '2009-04-07 13:22:36', '2009-04-07 16:22:36', 'Administrator'), +(854, 45, '2009-04-07 13:42:57', '2009-04-07 15:16:57', 'using'), +(855, 27, '2009-04-07 13:42:44', '2009-04-07 15:16:44', 'dogfucking'), +(856, 47, '2009-04-07 12:17:00', '2009-04-07 15:17:00', 'volunteering'), +(857, 27, '2009-04-08 12:14:21', '2009-04-08 12:16:56', 'Administrator'), +(858, 27, '2009-04-08 12:16:56', '2009-04-08 15:16:46', 'Administrator'), +(859, 49, '2009-04-08 12:00:00', '2009-04-08 15:09:21', 'Working'), +(860, 156, '2009-04-08 12:00:00', '2009-04-08 14:56:46', 'using'), +(861, 47, '2009-04-08 12:00:00', '2009-04-08 14:56:47', 'using'), +(862, 138, '2009-04-08 12:00:00', '2009-04-08 14:46:17', 'using'), +(863, 207, '2009-04-08 12:00:00', '2009-04-08 13:21:07', 'using'), +(864, 174, '2009-04-08 11:23:04', '2009-04-08 12:57:04', 'using'), +(865, 128, '2009-04-08 13:22:49', '2009-04-08 14:56:49', 'using'), +(866, 207, '2009-04-08 14:00:00', '2009-04-08 14:56:51', 'using'), +(867, 210, '2009-04-08 14:00:00', '2009-04-08 14:56:52', 'using'), +(868, 27, '2009-04-08 15:16:46', '2009-04-08 15:17:18', 'Administrator'), +(869, 5, '2009-04-09 14:49:05', '2009-04-09 14:50:09', 'Administrator'), +(870, 37, '2009-04-09 14:50:09', '2009-04-09 17:50:09', 'Mechanic'), +(871, 5, '2009-04-09 14:50:09', '2009-04-09 17:50:09', 'Administrator'), +(872, 156, '2009-04-09 17:13:48', '2009-04-09 18:47:48', 'using'), +(873, 36, '2009-04-09 17:13:50', '2009-04-09 18:47:50', 'using'), +(874, 137, '2009-04-09 19:38:51', '2009-04-09 21:12:51', 'using'), +(875, 7, '2009-04-09 15:03:42', '2009-04-09 16:37:42', 'using'), +(876, 174, '2009-04-09 17:02:57', '2009-04-09 18:36:57', 'using'), +(877, 210, '2009-04-09 19:38:50', '2009-04-09 21:12:50', 'using'), +(878, 178, '2009-04-09 18:00:00', '2009-04-09 21:12:00', 'using'), +(879, 47, '2009-04-09 15:03:39', '2009-04-09 16:37:39', 'using'), +(880, 15, '2009-04-09 15:03:37', '2009-04-09 16:37:37', 'using'), +(881, 180, '2009-04-09 19:38:47', '2009-04-09 21:12:47', 'using'), +(882, 37, '2009-04-09 21:27:52', '2009-04-09 21:29:38', 'Administrator'), +(883, 155, '2009-04-10 15:17:12', '2009-04-10 15:17:46', 'Administrator'), +(884, 155, '2009-04-10 15:17:46', '2009-04-10 18:24:47', 'Administrator'), +(885, 37, '2009-04-10 15:19:50', '2009-04-10 18:19:50', 'Mechanic'), +(886, 47, '2009-04-10 14:07:08', '2009-04-10 15:41:08', 'using'), +(887, 12, '2009-04-10 16:45:51', '2009-04-10 18:19:51', 'using'), +(888, 187, '2009-04-10 15:08:13', '2009-04-10 16:42:13', 'using'), +(889, 123, '2009-04-10 15:59:58', '2009-04-10 17:33:58', 'using'), +(890, 47, '2009-04-10 15:08:27', '2009-04-10 16:42:27', 'using'), +(891, 155, '2009-04-10 18:24:55', '2009-04-10 18:25:16', 'Administrator'), +(892, 155, '2009-04-10 18:25:16', '2009-04-10 18:25:29', 'Administrator'), +(893, 4, '2009-04-11 12:12:33', '2009-04-11 12:18:45', 'Administrator'), +(894, 4, '2009-04-11 12:18:45', '2009-04-11 15:14:05', 'Administrator'), +(895, 50, '2009-04-11 12:13:35', '2009-04-11 15:13:35', 'Mechanic'), +(896, 37, '2009-04-11 12:13:33', '2009-04-11 15:13:33', 'volunteering'), +(897, 169, '2009-04-11 13:34:06', '2009-04-11 15:08:06', 'using'), +(898, 211, '2009-04-11 11:13:51', '2009-04-11 14:13:51', 'volunteering'), +(899, 123, '2009-04-11 12:30:15', '2009-04-11 14:04:15', 'using'), +(900, 149, '2009-04-11 12:30:01', '2009-04-11 14:04:01', 'using'), +(901, 123, '2009-04-11 13:34:05', '2009-04-11 15:08:05', 'using'), +(902, 85, '2009-04-11 18:47:27', '2009-04-11 21:47:27', 'Administrator'), +(903, 27, '2009-04-13 12:09:49', '2009-04-13 12:10:17', 'Administrator'), +(904, 27, '2009-04-13 12:10:17', '2009-04-13 15:08:35', 'Administrator'), +(905, 12, '2009-04-13 12:08:09', '2009-04-13 15:08:09', 'Mechanic'), +(906, 37, '2009-04-13 12:08:14', '2009-04-13 15:08:14', 'volunteering'), +(907, 156, '2009-04-13 12:08:16', '2009-04-13 15:08:16', 'volunteering'), +(908, 155, '2009-04-13 11:38:19', '2009-04-13 13:12:19', 'dogfucking'), +(909, 16, '2009-04-13 11:50:00', '2009-04-13 13:24:00', 'using'), +(910, 4, '2009-04-13 12:45:03', '2009-04-13 14:19:03', 'dogfucking'), +(911, 155, '2009-04-13 12:45:16', '2009-04-13 14:19:16', 'dogfucking'), +(912, 4, '2009-04-13 13:34:13', '2009-04-13 15:08:13', 'dogfucking'), +(913, 155, '2009-04-13 13:34:11', '2009-04-13 15:08:11', 'using'), +(914, 37, '2009-04-13 15:27:13', '2009-04-13 18:27:13', 'Administrator'), +(915, 17, '2009-04-14 12:10:23', '2009-04-14 12:46:50', 'Administrator'), +(916, 17, '2009-04-14 12:46:50', '2009-04-14 15:10:53', 'Administrator'), +(917, 123, '2009-04-14 12:10:22', '2009-04-14 15:10:22', 'Mechanic'), +(918, 30, '2009-04-14 12:16:58', '2009-04-14 13:50:58', 'using'), +(919, 142, '2009-04-14 12:09:56', '2009-04-14 15:09:56', 'volunteering'), +(920, 202, '2009-04-14 13:36:06', '2009-04-14 15:10:06', 'using'), +(921, 27, '2009-04-15 11:58:30', '2009-04-15 11:59:04', 'Administrator'), +(922, 27, '2009-04-15 11:59:04', '2009-04-15 15:11:13', 'Administrator'), +(923, 72, '2009-04-15 12:03:10', '2009-04-15 13:37:10', 'using'), +(924, 10, '2009-04-15 12:03:12', '2009-04-15 13:37:12', 'using'), +(925, 12, '2009-04-15 12:00:00', '2009-04-15 15:04:50', 'volunteering'), +(926, 37, '2009-04-15 12:03:08', '2009-04-15 13:37:08', 'dogfucking'), +(927, 49, '2009-04-15 12:00:00', '2009-04-15 15:04:52', 'Working'), +(928, 15, '2009-04-15 13:30:53', '2009-04-15 15:04:53', 'using'), +(929, 27, '2009-04-15 15:11:13', '2009-04-15 15:11:24', 'Administrator'), +(930, 5, '2009-04-16 15:20:23', '2009-04-16 15:20:51', 'Administrator'), +(931, 13, '2009-04-16 15:20:51', '2009-04-16 15:39:24', 'Mechanic'), +(932, 5, '2009-04-16 15:20:51', '2009-04-16 18:20:51', 'Administrator'), +(933, 88, '2009-04-16 14:13:36', '2009-04-16 15:47:36', 'using'), +(934, 12, '2009-04-16 15:51:44', '2009-04-16 18:51:44', 'volunteering'), +(935, 212, '2009-04-16 14:24:48', '2009-04-16 15:58:48', 'using'), +(936, 37, '2009-04-16 18:11:11', '2009-04-16 21:11:11', 'Mechanic'), +(937, 15, '2009-04-16 17:17:46', '2009-04-16 18:51:46', 'using'), +(938, 68, '2009-04-16 17:17:42', '2009-04-16 18:51:42', 'using'), +(939, 123, '2009-04-16 19:23:45', '2009-04-16 20:57:45', 'using'), +(940, 2, '2009-04-16 17:57:48', '2009-04-16 20:57:48', 'volunteering'), +(941, 155, '2009-04-17 15:15:19', '2009-04-17 15:21:05', 'Administrator'), +(942, 155, '2009-04-17 15:21:05', '2009-04-17 18:46:31', 'Administrator'), +(943, 99, '2009-04-17 16:25:11', '2009-04-17 17:59:11', 'using'), +(944, 37, '2008-04-17 15:00:00', '2009-04-17 18:39:41', 'Working'), +(945, 156, '2009-04-17 15:39:44', '2009-04-17 18:39:44', 'volunteering'), +(946, 49, '2009-04-17 15:39:42', '2009-04-17 18:39:42', 'volunteering'), +(947, 12, '2009-04-17 17:05:45', '2009-04-17 18:39:45', 'using'), +(948, 155, '2009-04-17 18:46:37', '2009-04-17 18:46:48', 'Administrator'), +(949, 155, '2009-04-17 18:46:48', '2009-04-17 18:46:58', 'Administrator'), +(950, 17, '2009-04-18 12:11:16', '2009-04-18 12:50:06', 'Administrator'), +(951, 17, '2009-04-18 12:50:06', '2009-04-18 14:02:18', 'Administrator'), +(952, 181, '2009-04-18 12:41:55', '2009-04-18 14:15:55', 'using'), +(953, 50, '2009-04-18 12:46:58', '2009-04-18 15:46:58', 'Mechanic'), +(954, 214, '2009-04-18 12:21:55', '2009-04-18 13:55:55', 'using'), +(955, 215, '2009-04-18 12:22:12', '2009-04-18 13:56:12', 'using'), +(956, 117, '2009-04-18 12:22:27', '2009-04-18 13:56:27', 'using'), +(957, 117, '2009-04-18 14:13:00', '2009-04-18 15:47:00', 'using'), +(958, 37, '2009-04-18 12:47:01', '2009-04-18 15:47:01', 'volunteering'), +(959, 17, '2009-04-18 14:06:30', '2009-04-18 17:06:30', 'Administrator'), +(960, 18, '2009-04-18 02:19:00', '2009-04-18 05:19:00', 'volunteering'), +(961, 49, '2009-04-20 12:30:30', '2009-04-20 12:30:47', 'Administrator'), +(962, 49, '2009-04-20 12:30:47', '2009-04-20 14:56:34', 'Administrator'), +(963, 12, '2009-04-20 11:56:34', '2009-04-20 14:56:34', 'Mechanic'), +(964, 170, '2009-04-20 13:09:49', '2009-04-20 14:43:49', 'using'), +(965, 218, '2009-04-20 13:09:47', '2009-04-20 14:43:47', 'using'), +(966, 219, '2009-04-20 13:09:45', '2009-04-20 14:43:45', 'using'), +(967, 49, '2009-04-20 14:56:34', '2009-04-20 14:56:47', 'Administrator'), +(968, 49, '2009-04-20 15:00:20', '2009-04-20 15:00:34', 'Administrator'), +(969, 49, '2009-04-20 15:00:34', '2009-04-20 15:12:10', 'Administrator'), +(970, 49, '2009-04-20 15:12:10', '2009-04-20 15:12:17', 'Administrator'), +(971, 37, '2009-04-21 11:14:13', '2009-04-21 11:14:22', 'Administrator'), +(972, 37, '2009-04-21 11:14:22', '2009-04-21 11:16:16', 'Administrator'), +(973, 4, '2009-04-21 11:53:23', '2009-04-21 13:13:42', 'Administrator'), +(974, 207, '2009-04-21 13:44:49', '2009-04-21 15:18:49', 'using'), +(975, 123, '2009-04-22 09:15:21', '2009-04-22 12:15:21', 'Mechanic'), +(976, 220, '2009-04-21 12:37:05', '2009-04-21 14:11:05', 'using'), +(977, 37, '2009-04-22 09:15:21', '2009-04-22 12:15:21', 'volunteering'), +(978, 49, '2009-04-21 13:32:14', '2009-04-21 15:17:46', 'Administrator'), +(979, 156, '2009-04-22 10:41:21', '2009-04-22 12:15:21', 'dogfucking'), +(980, 118, '2009-04-21 13:27:22', '2009-04-21 16:27:22', 'volunteering'), +(981, 27, '2009-04-22 09:15:21', '2009-04-22 12:15:21', 'volunteering'), +(982, 36, '2009-04-21 14:53:29', '2009-04-21 16:27:29', 'dogfucking'), +(983, 5, '2009-04-22 12:01:43', '2009-04-22 12:15:21', 'Administrator'), +(984, 5, '2009-04-22 12:15:21', '2009-04-22 15:13:51', 'Administrator'), +(985, 27, '2009-04-22 12:13:03', '2009-04-22 15:13:03', 'Mechanic'), +(986, 207, '2009-04-22 13:01:13', '2009-04-22 14:35:13', 'using'), +(987, 40, '2009-04-22 13:38:59', '2009-04-22 15:12:59', 'using'), +(988, 25, '2009-04-22 13:01:09', '2009-04-22 14:35:09', 'using'), +(989, 202, '2009-04-22 13:01:11', '2009-04-22 14:35:11', 'using'), +(990, 7, '2009-04-22 13:39:00', '2009-04-22 15:13:00', 'using'), +(991, 97, '2009-04-22 12:13:01', '2009-04-22 15:13:01', 'volunteering'), +(992, 5, '2009-04-22 15:13:51', '2009-04-22 18:13:51', 'Administrator'), +(993, 37, '2009-04-23 19:24:10', '2009-04-23 22:24:10', 'Mechanic'), +(994, 12, '2009-04-23 15:07:38', '2009-04-23 19:04:27', 'Administrator'), +(995, 2, '2009-04-23 16:03:52', '2009-04-23 17:37:52', 'dogfucking'), +(996, 156, '2009-04-23 14:14:51', '2009-04-23 15:48:51', 'using'), +(997, 156, '2009-04-23 20:50:08', '2009-04-23 22:24:08', 'using'), +(998, 206, '2009-04-23 16:03:47', '2009-04-23 17:37:47', 'using'), +(999, 2, '2009-04-23 18:37:24', '2009-04-23 21:37:24', 'volunteering'), +(1000, 54, '2009-04-23 19:40:38', '2009-04-23 21:14:38', 'using'), +(1001, 225, '2009-04-23 20:03:15', '2009-04-23 21:37:15', 'using'), +(1002, 226, '2009-04-23 20:03:17', '2009-04-23 21:37:17', 'using'), +(1003, 17, '2009-04-23 19:04:37', '2009-04-23 22:24:15', 'Administrator'), +(1004, 7, '2009-04-23 20:03:20', '2009-04-23 21:37:20', 'using'), +(1005, 123, '2009-04-23 20:03:22', '2009-04-23 21:37:22', 'using'), +(1006, 155, '2009-04-24 15:28:49', '2009-04-24 15:29:08', 'Administrator'), +(1007, 155, '2009-04-24 15:29:08', '2009-04-24 18:18:28', 'Administrator'), +(1008, 49, '2009-04-24 15:12:34', '2009-04-24 18:12:34', 'Mechanic'), +(1009, 37, '2009-04-24 14:51:14', '2009-04-24 16:25:14', 'using'), +(1010, 145, '2009-04-24 16:38:35', '2009-04-24 18:12:35', 'using'), +(1011, 161, '2009-04-24 16:38:37', '2009-04-24 18:12:37', 'using'), +(1012, 61, '2009-04-24 16:38:26', '2009-04-24 18:12:26', 'dogfucking'), +(1013, 218, '2009-04-24 16:38:28', '2009-04-24 18:12:28', 'dogfucking'), +(1014, 2, '2009-04-24 16:38:27', '2009-04-24 18:12:27', 'dogfucking'), +(1015, 37, '2009-04-24 16:38:29', '2009-04-24 18:12:29', 'dogfucking'), +(1016, 123, '2009-04-24 15:35:31', '2009-04-24 17:09:31', 'using'), +(1017, 123, '2009-04-24 16:38:30', '2009-04-24 18:12:30', 'dogfucking'), +(1018, 97, '2009-04-24 16:38:32', '2009-04-24 18:12:32', 'dogfucking'), +(1019, 49, '2009-04-24 18:18:28', '2009-04-24 18:18:37', 'Administrator'), +(1020, 49, '2009-04-25 12:35:23', '2009-04-25 12:35:35', 'Administrator'), +(1021, 49, '2009-04-25 12:35:35', '2009-04-25 15:39:09', 'Administrator'), +(1022, 50, '2009-04-25 12:38:33', '2009-04-25 15:38:33', 'Mechanic'), +(1023, 227, '2009-04-25 13:02:44', '2009-04-25 14:36:44', 'using'), +(1024, 127, '2009-04-25 12:33:05', '2009-04-25 14:07:05', 'using'), +(1025, 228, '2009-04-25 13:49:15', '2009-04-25 15:23:15', 'using'), +(1026, 49, '2009-04-25 15:39:09', '2009-04-25 15:39:19', 'Administrator'), +(1027, 49, '2009-04-27 12:24:31', '2009-04-27 12:27:35', 'Administrator'), +(1028, 49, '2009-04-27 12:27:35', '2009-04-27 15:13:41', 'Administrator'), +(1029, 222, '2009-04-27 12:35:39', '2009-04-27 14:09:39', 'using'), +(1030, 12, '2009-04-27 12:13:37', '2009-04-27 15:13:37', 'Mechanic'), +(1031, 198, '2009-04-27 13:26:21', '2009-04-27 15:00:21', 'using'), +(1032, 15, '2009-04-27 12:53:35', '2009-04-27 14:27:35', 'using'), +(1033, 223, '2009-04-27 13:26:25', '2009-04-27 15:00:25', 'using'), +(1034, 156, '2009-04-27 13:39:35', '2009-04-27 15:13:35', 'using'), +(1035, 49, '2009-04-27 15:18:53', '2009-04-27 15:19:15', 'Administrator'), +(1036, 85, '2009-04-27 21:08:24', '2009-04-27 21:09:27', 'Administrator'), +(1037, 85, '2009-04-27 21:09:47', '2009-04-28 00:09:47', 'Administrator'), +(1038, 27, '2009-04-28 12:19:26', '2009-04-28 12:19:57', 'Administrator'), +(1039, 27, '2009-04-28 12:19:57', '2009-04-28 16:03:12', 'Administrator'), +(1040, 123, '2009-04-28 12:15:00', '2009-04-28 16:02:30', 'Working'), +(1041, 198, '2009-04-28 13:00:00', '2009-04-28 15:33:18', 'volunteering'), +(1042, 149, '2009-04-28 14:28:26', '2009-04-28 16:02:26', 'using'), +(1043, 157, '2009-04-28 14:28:00', '2009-04-28 14:35:13', 'using'), +(1044, 27, '2009-04-28 16:03:12', '2009-04-28 16:03:22', 'Administrator'), +(1045, 27, '2009-04-29 12:04:54', '2009-04-29 12:06:45', 'Administrator'), +(1046, 27, '2009-04-29 12:06:45', '2009-04-29 15:56:14', 'Administrator'), +(1047, 170, '2009-04-29 14:21:36', '2009-04-29 15:55:36', 'using'), +(1048, 37, '2009-04-29 12:55:39', '2009-04-29 15:55:39', 'Mechanic'), +(1049, 198, '2009-04-29 00:00:00', '2009-04-29 03:00:00', 'volunteering'), +(1050, 7, '2009-04-29 14:21:35', '2009-04-29 15:55:35', 'using'), +(1051, 225, '2009-04-29 13:00:00', '2009-04-29 15:55:34', 'using'), +(1052, 226, '2009-04-29 13:00:00', '2009-04-29 15:55:34', 'using'), +(1053, 232, '2009-04-29 12:30:00', '2009-04-29 15:55:33', 'using'), +(1054, 222, '2009-04-29 14:21:30', '2009-04-29 15:55:30', 'using'), +(1055, 156, '2009-04-29 12:37:12', '2009-04-29 15:37:12', 'volunteering'), +(1056, 78, '2009-04-29 12:31:20', '2009-04-29 14:05:20', 'using'), +(1057, 187, '2009-04-29 14:00:00', '2009-04-29 15:09:52', 'using'), +(1058, 27, '2009-04-29 15:56:14', '2009-04-29 15:56:28', 'Administrator'), +(1059, 27, '2009-04-29 16:10:24', '2009-04-29 16:10:49', 'Administrator'), +(1060, 27, '2009-04-29 16:10:49', '2009-04-29 16:13:18', 'Administrator'), +(1061, 27, '2009-04-29 16:13:18', '2009-04-29 16:13:30', 'Administrator'), +(1062, 5, '2009-04-30 15:38:42', '2009-04-30 15:42:28', 'Administrator'), +(1063, 5, '2009-04-30 15:42:28', '2009-04-30 21:12:22', 'Administrator'), +(1064, 37, '2009-04-30 18:12:00', '2009-04-30 21:12:00', 'Mechanic'), +(1065, 49, '2009-04-30 18:12:02', '2009-04-30 21:12:02', 'volunteering'), +(1066, 7, '2009-04-30 16:48:47', '2009-04-30 18:22:47', 'using'), +(1067, 187, '2009-04-30 15:52:28', '2009-04-30 17:26:28', 'using'), +(1068, 71, '2009-04-30 16:08:31', '2009-04-30 17:42:31', 'using'), +(1069, 156, '2009-04-30 19:38:00', '2009-04-30 21:12:00', 'using'), +(1070, 2, '2009-04-30 19:38:01', '2009-04-30 21:12:01', 'using'), +(1071, 233, '2009-04-30 17:38:25', '2009-04-30 19:12:25', 'using'), +(1072, 97, '2009-04-30 19:37:59', '2009-04-30 21:11:59', 'dogfucking'), +(1073, 125, '2009-04-30 19:38:01', '2009-04-30 21:12:01', 'using'), +(1074, 206, '2009-04-30 18:10:42', '2009-04-30 19:44:42', 'using'), +(1075, 239, '2009-04-30 19:38:02', '2009-04-30 21:12:02', 'using'), +(1076, 49, '2009-04-30 21:12:22', '2009-04-30 21:12:29', 'Administrator'), +(1077, 37, '2009-05-01 15:03:15', '2009-05-01 15:03:51', 'Administrator'), +(1078, 37, '2009-05-01 15:03:51', '2009-05-01 18:33:33', 'Administrator'), +(1079, 136, '2009-05-01 14:52:29', '2009-05-01 16:26:29', 'using'), +(1080, 47, '2009-05-01 16:59:30', '2009-05-01 18:33:30', 'using'), +(1081, 231, '2009-05-01 14:52:36', '2009-05-01 16:26:36', 'using'), +(1082, 203, '2009-05-01 16:59:31', '2009-05-01 18:33:31', 'using'), +(1083, 206, '2009-05-01 13:27:43', '2009-05-01 16:27:43', 'Mechanic'), +(1084, 37, '2009-05-01 19:09:39', '2009-05-01 19:10:12', ''), +(1085, 37, '2009-05-01 19:11:05', '2009-05-01 19:11:34', 'Administrator'), +(1086, 4, '2009-05-02 11:58:37', '2009-05-02 13:10:57', 'Administrator'), +(1087, 50, '2009-05-02 11:40:56', '2009-05-02 14:40:56', 'Mechanic'), +(1088, 85, '2009-05-02 12:50:55', '2009-05-02 14:24:55', 'using'), +(1089, 37, '2009-05-02 12:48:12', '2009-05-02 15:48:12', 'volunteering'), +(1090, 15, '2009-05-02 11:25:00', '2009-05-02 14:25:00', 'volunteering'), +(1091, 4, '2009-05-02 13:11:01', '2009-05-02 14:24:48', 'Administrator'), +(1092, 242, '2009-05-02 16:56:56', '2009-05-02 18:30:56', 'using'), +(1093, 4, '2009-05-02 14:24:52', '2009-05-02 15:48:01', 'Administrator'), +(1094, 4, '2009-05-02 15:48:09', '2009-05-02 18:31:00', 'Administrator'), +(1095, 4, '2009-05-02 18:31:07', '2009-05-02 18:35:47', 'Administrator'), +(1096, 49, '2009-05-04 15:09:03', '2009-05-04 15:43:51', 'Administrator'), +(1097, 155, '2009-05-04 12:44:11', '2009-05-04 15:44:11', 'volunteering'), +(1098, 155, '2009-05-04 15:44:47', '2009-05-04 21:22:08', 'Administrator'), +(1099, 49, '2009-05-04 17:38:21', '2009-05-04 20:38:21', 'Mechanic'), +(1100, 248, '2009-05-04 15:29:09', '2009-05-04 17:03:09', 'using'), +(1101, 249, '2009-05-04 19:28:36', '2009-05-04 21:02:36', 'using'), +(1102, 196, '2009-05-04 16:09:52', '2009-05-04 17:43:52', 'using'), +(1103, 15, '2009-05-04 19:04:14', '2009-05-04 20:38:14', 'using'), +(1104, 27, '2009-05-04 16:04:21', '2009-05-04 17:38:21', 'using'), +(1105, 36, '2009-05-04 19:33:08', '2009-05-04 21:07:08', 'using'), +(1106, 97, '2009-05-04 18:07:04', '2009-05-04 21:07:04', 'volunteering'), +(1107, 49, '2009-05-06 17:13:51', '2009-05-06 17:17:18', 'Administrator'), +(1108, 155, '2009-05-06 17:17:24', '2009-05-06 19:10:22', 'Administrator'), +(1109, 49, '2009-05-06 17:27:57', '2009-05-06 20:27:57', 'Mechanic'), +(1110, 97, '2009-05-06 16:05:00', '2009-05-06 19:05:00', 'volunteering'), +(1111, 47, '2009-05-06 19:41:58', '2009-05-06 21:15:58', 'using'), +(1112, 145, '2009-05-06 16:41:50', '2009-05-06 18:15:50', 'using'), +(1113, 148, '2009-05-06 18:16:00', '2009-05-06 21:16:00', 'volunteering'), +(1114, 125, '2009-05-06 17:30:58', '2009-05-06 19:04:58', 'using'), +(1115, 15, '2009-05-06 19:41:59', '2009-05-06 21:15:59', 'using'), +(1116, 125, '2009-05-06 18:32:03', '2009-05-06 20:06:03', 'using'), +(1117, 50, '2009-05-06 18:16:01', '2009-05-06 21:16:01', 'volunteering'), +(1118, 17, '2009-05-06 19:10:38', '2009-05-06 21:16:28', 'Administrator'), +(1119, 188, '2009-05-06 19:42:00', '2009-05-06 21:16:00', 'using'), +(1120, 5, '2009-05-07 17:47:03', '2009-05-07 21:18:02', 'Administrator'), +(1121, 36, '2009-05-07 19:43:55', '2009-05-07 21:17:55', 'using'), +(1122, 15, '2009-05-07 19:11:44', '2009-05-07 20:45:44', 'using'), +(1123, 2, '2009-05-07 17:16:30', '2009-05-07 20:16:30', 'volunteering'), +(1124, 37, '2009-05-07 18:15:32', '2009-05-07 21:15:32', 'Mechanic'), +(1125, 175, '2009-05-07 15:43:06', '2009-05-07 18:43:06', 'volunteering'), +(1126, 258, '2009-05-07 19:43:56', '2009-05-07 21:17:56', 'using'), +(1127, 259, '2009-05-07 19:43:57', '2009-05-07 21:17:57', 'using'), +(1128, 49, '2009-05-09 13:10:03', '2009-05-09 16:02:01', 'Administrator'), +(1129, 26, '2009-05-09 13:52:32', '2009-05-09 15:26:32', 'using'), +(1130, 146, '2009-05-09 13:55:35', '2009-05-09 15:29:35', 'using'), +(1131, 121, '2009-05-09 17:34:51', '2009-05-09 19:08:51', 'using'), +(1132, 50, '2009-05-09 16:08:54', '2009-05-09 19:08:54', 'Mechanic'), +(1133, 4, '2009-05-09 16:02:07', '2009-05-09 19:53:37', 'Administrator'), +(1134, 36, '2009-05-09 16:26:26', '2009-05-09 18:00:26', 'using'), +(1135, 155, '2009-05-09 18:19:20', '2009-05-09 19:53:20', 'using'), +(1136, 111, '2009-05-09 16:24:19', '2009-05-09 17:58:19', 'using'), +(1137, 261, '2009-05-09 17:03:38', '2009-05-09 18:37:38', 'using'), +(1138, 255, '2009-05-09 17:34:50', '2009-05-09 19:08:50', 'using'), +(1139, 145, '2009-05-09 17:34:49', '2009-05-09 19:08:49', 'using'), +(1140, 2, '2009-05-09 15:07:23', '2009-05-09 18:07:23', 'volunteering'), +(1141, 37, '2009-05-09 18:19:34', '2009-05-09 19:53:34', 'dogfucking'), +(1142, 2, '2009-05-09 18:19:35', '2009-05-09 19:53:35', 'dogfucking'), +(1143, 85, '2009-05-11 15:04:31', '2009-05-11 18:02:40', 'Administrator'), +(1144, 123, '2009-05-11 15:14:16', '2009-05-11 18:14:16', 'Mechanic'), +(1145, 264, '2009-05-11 19:49:06', '2009-05-11 21:23:06', 'using'), +(1146, 64, '2009-05-11 16:54:38', '2009-05-11 18:28:38', 'using'), +(1147, 37, '2009-05-11 17:57:39', '2009-05-11 20:57:39', 'volunteering'), +(1148, 145, '2009-05-11 19:23:42', '2009-05-11 20:57:42', 'using'), +(1149, 266, '2009-05-11 14:39:07', '2009-05-11 16:13:07', 'using'), +(1150, 265, '2009-05-11 14:39:04', '2009-05-11 16:13:04', 'using'), +(1151, 269, '2009-05-11 16:54:40', '2009-05-11 18:28:40', 'using'), +(1152, 30, '2009-05-11 19:35:26', '2009-05-11 21:09:26', 'using'), +(1153, 85, '2009-05-11 18:06:52', '2009-05-11 18:10:33', 'Administrator'), +(1154, 97, '2009-05-11 15:27:58', '2009-05-11 18:27:58', 'volunteering'), +(1155, 97, '2009-05-11 18:28:06', '2009-05-11 18:28:49', 'Administrator'), +(1156, 97, '2009-05-11 18:32:08', '2009-05-11 22:02:12', 'Administrator'), +(1157, 36, '2008-05-11 17:00:00', '2008-05-11 20:00:00', 'Working'), +(1158, 36, '2009-05-11 17:00:00', '2009-05-11 21:59:45', 'Working'), +(1159, 5, '2009-05-12 13:53:16', '2009-05-12 15:25:22', 'Administrator'), +(1160, 37, '2009-05-13 17:12:41', '2009-05-13 19:19:01', 'Administrator'), +(1161, 49, '2009-05-13 18:08:20', '2009-05-13 21:08:20', 'Mechanic'), +(1162, 47, '2009-05-13 18:13:04', '2009-05-13 19:47:04', 'using'), +(1163, 30, '2009-05-13 18:09:23', '2009-05-13 19:43:23', 'using'), +(1164, 267, '2009-05-13 18:09:25', '2009-05-13 19:43:25', 'using'), +(1165, 239, '2009-05-13 18:09:28', '2009-05-13 19:43:28', 'using'), +(1166, 273, '2009-05-13 18:09:04', '2009-05-13 19:43:04', 'using'), +(1167, 192, '2009-05-13 19:34:20', '2009-05-13 21:08:20', 'using'), +(1168, 4, '2009-05-13 19:19:07', '2009-05-13 20:41:25', 'Administrator'), +(1169, 17, '2009-05-13 17:42:11', '2009-05-13 20:42:11', 'volunteering'), +(1170, 17, '2009-05-13 20:42:41', '2009-05-13 21:05:12', 'Administrator'), +(1171, 37, '2009-05-13 18:01:20', '2009-05-13 21:01:20', 'volunteering'), +(1172, 17, '2009-05-13 21:06:31', '2009-05-13 21:08:25', 'Administrator'), +(1173, 17, '2009-05-13 21:14:05', '2009-05-13 22:16:11', 'Administrator'), +(1174, 27, '2009-05-14 18:10:18', '2009-05-14 21:09:08', 'Administrator'), +(1175, 271, '2009-05-14 18:34:59', '2009-05-14 20:08:59', 'using'), +(1176, 137, '2009-05-14 18:07:22', '2009-05-14 19:41:22', 'using'), +(1177, 93, '2009-05-14 16:37:06', '2009-05-14 19:37:06', 'volunteering'), +(1178, 37, '2009-05-14 18:00:00', '2009-05-14 19:23:56', 'Working'), +(1179, 2, '2009-05-14 18:00:00', '2009-05-14 20:20:08', 'volunteering'), +(1180, 47, '2009-05-14 19:31:28', '2009-05-14 21:05:28', 'using'), +(1181, 264, '2009-05-14 18:46:20', '2009-05-14 20:20:20', 'using'), +(1182, 269, '2009-05-14 17:31:46', '2009-05-14 19:05:46', 'using'), +(1183, 23, '2009-05-14 18:28:08', '2009-05-14 20:02:08', 'using'), +(1184, 276, '2009-05-14 17:31:50', '2009-05-14 19:05:50', 'using'), +(1185, 37, '2009-05-14 18:09:01', '2009-05-14 21:09:01', 'Mechanic'), +(1186, 155, '2009-05-16 13:18:04', '2009-05-16 17:04:32', 'Administrator'), +(1187, 49, '2009-05-16 14:04:40', '2009-05-16 17:04:40', 'Mechanic'), +(1188, 246, '2009-05-16 12:21:34', '2009-05-16 13:55:34', 'using'), +(1189, 264, '2009-05-16 15:58:45', '2009-05-16 17:32:45', 'using'), +(1190, 47, '2009-05-16 15:30:12', '2009-05-16 17:04:12', 'using'), +(1191, 267, '2009-05-16 13:26:58', '2009-05-16 15:00:58', 'using'), +(1192, 278, '2009-05-16 14:18:36', '2009-05-16 15:52:36', 'using'), +(1193, 279, '2009-05-16 15:30:09', '2009-05-16 17:04:09', 'using'), +(1194, 280, '2009-05-16 15:30:07', '2009-05-16 17:04:07', 'using'), +(1195, 97, '2009-05-16 15:39:55', '2009-05-16 17:13:55', 'using'), +(1196, 161, '2009-05-16 15:30:05', '2009-05-16 17:04:05', 'using'), +(1197, 246, '2009-05-16 17:42:13', '2009-05-16 19:16:13', 'using'), +(1198, 281, '2009-05-16 15:41:14', '2009-05-16 17:15:14', 'using'), +(1199, 4, '2009-05-16 17:04:37', '2009-05-16 19:16:16', 'Administrator'), +(1200, 50, '2009-05-16 16:16:14', '2009-05-16 19:16:14', 'Mechanic'), +(1201, 85, '2009-05-17 12:11:08', '2009-05-17 15:07:25', 'Administrator'), +(1202, 287, '2009-05-17 12:07:03', '2009-05-17 15:07:03', 'Mechanic'), +(1203, 288, '2009-05-17 13:33:23', '2009-05-17 15:07:23', 'using'), +(1204, 36, '2009-05-17 12:30:53', '2009-05-17 14:04:53', 'using'), +(1205, 5, '2009-05-18 13:32:48', '2009-05-18 16:32:48', 'Administrator'), +(1206, 49, '2009-05-18 12:50:49', '2009-05-18 15:50:49', 'volunteering'), +(1207, 12, '2009-05-18 14:41:47', '2009-05-18 17:41:47', 'Mechanic'), +(1208, 36, '2009-05-18 18:00:00', '2009-05-18 22:30:00', 'Working'), +(1209, 97, '2009-05-18 22:16:22', '2009-05-18 22:18:27', 'Administrator'), +(1210, 97, '2009-05-18 22:18:39', '2009-05-18 22:18:46', 'Administrator'), +(1211, 5, '2009-05-19 15:41:38', '2009-05-19 15:44:59', 'Administrator'), +(1212, 5, '2009-05-19 16:08:40', '2009-05-19 19:08:40', 'Administrator'), +(1213, 37, '2009-05-20 17:10:03', '2009-05-20 21:00:26', 'Administrator'), +(1214, 49, '2009-05-20 18:00:37', '2009-05-20 21:00:37', 'Mechanic'), +(1215, 155, '2009-05-20 19:32:08', '2009-05-20 21:06:08', 'using'), +(1216, 17, '2009-05-20 19:58:30', '2009-05-20 22:34:13', 'Administrator'), +(1217, 50, '2009-05-20 19:00:00', '2009-05-20 21:00:00', 'Working'), +(1218, 5, '2009-05-21 12:43:58', '2009-05-21 13:01:37', 'Administrator'), +(1219, 27, '2009-05-21 18:10:33', '2009-05-21 19:34:55', 'Administrator'), +(1220, 18, '2009-05-21 18:00:41', '2009-05-21 19:34:41', 'using'), +(1221, 2, '2009-05-21 18:26:02', '2009-05-21 21:26:02', 'Mechanic'), +(1222, 289, '2009-05-21 18:38:20', '2009-05-21 20:12:20', 'using'), +(1223, 37, '2009-05-21 19:34:50', '2009-05-21 21:26:14', 'Administrator'), +(1224, 27, '2009-05-21 19:54:43', '2009-05-21 21:27:04', 'Administrator'), +(1225, 290, '2009-05-21 18:38:13', '2009-05-21 20:12:13', 'using'), +(1226, 155, '2009-05-21 19:52:01', '2009-05-21 21:26:01', 'using'), +(1227, 50, '2009-05-23 15:58:38', '2009-05-23 18:58:38', 'Mechanic'), +(1228, 17, '2009-05-23 15:58:39', '2009-05-23 18:58:39', 'volunteering'), +(1229, 5, '2009-05-24 12:04:44', '2009-05-24 15:04:44', 'Administrator'), +(1230, 287, '2009-05-24 12:16:41', '2009-05-24 15:16:41', 'Mechanic'), +(1231, 8, '2009-05-24 10:45:28', '2009-05-24 12:19:28', 'using'), +(1232, 283, '2009-05-24 13:28:12', '2009-05-24 15:02:12', 'using'), +(1233, 282, '2009-05-25 13:28:55', '2009-05-25 15:02:55', 'using'), +(1234, 156, '2009-05-25 13:29:08', '2009-05-25 15:03:08', 'using'), +(1235, 147, '2009-05-25 13:29:09', '2009-05-25 15:03:09', 'using'), +(1236, 2, '2009-05-24 13:42:50', '2009-05-24 15:16:50', 'using'), +(1237, 49, '2009-05-25 12:03:18', '2009-05-25 15:03:18', 'volunteering'), +(1238, 17, '2009-05-25 12:03:18', '2009-05-25 15:03:18', 'volunteering'), +(1239, 119, '2009-05-25 13:29:10', '2009-05-25 15:03:10', 'using'), +(1240, 227, '2009-05-25 13:29:11', '2009-05-25 15:03:11', 'using'), +(1241, 25, '2009-05-25 13:29:12', '2009-05-25 15:03:12', 'using'), +(1242, 202, '2009-05-25 13:29:13', '2009-05-25 15:03:13', 'using'), +(1243, 2, '2009-05-25 12:03:19', '2009-05-25 15:03:19', 'volunteering'), +(1244, 12, '2009-05-25 15:28:13', '2009-05-25 18:28:13', 'Mechanic'), +(1245, 2, '2009-05-25 13:56:59', '2009-05-25 15:30:59', 'using'), +(1246, 2, '2009-05-25 12:43:00', '2009-05-25 15:43:00', 'volunteering'), +(1247, 116, '2009-05-25 14:03:41', '2009-05-25 15:37:41', 'using'), +(1248, 37, '2009-05-25 18:08:33', '2009-05-25 21:08:33', 'volunteering'), +(1249, 295, '2009-05-25 16:30:13', '2009-05-25 18:04:13', 'using'), +(1250, 155, '2009-05-25 19:20:04', '2009-05-25 20:54:04', 'using'), +(1251, 40, '2009-05-25 16:30:15', '2009-05-25 18:04:15', 'using'), +(1252, 36, '2009-05-25 15:28:15', '2009-05-25 18:28:15', 'volunteering'), +(1253, 298, '2009-05-25 19:20:15', '2009-05-25 20:54:15', 'using'), +(1254, 97, '2009-05-25 18:18:30', '2009-05-25 18:20:06', 'Administrator'), +(1255, 97, '2009-05-25 18:27:58', '2009-05-25 21:10:59', 'Administrator'), +(1256, 36, '2009-05-25 18:10:52', '2009-05-25 21:10:52', 'Mechanic'), +(1257, 12, '2009-05-25 17:54:08', '2009-05-25 20:54:08', 'volunteering'), +(1258, 23, '2009-05-25 19:34:34', '2009-05-25 21:08:34', 'using'), +(1259, 37, '2009-05-27 17:08:34', '2009-05-27 19:23:25', 'Administrator'), +(1260, 49, '2009-05-27 16:33:16', '2009-05-27 19:33:16', 'Mechanic'), +(1261, 233, '2009-05-27 16:39:24', '2009-05-27 18:13:24', 'using'), +(1262, 103, '2009-05-27 17:49:07', '2009-05-27 19:23:07', 'using'), +(1263, 30, '2009-05-27 17:49:05', '2009-05-27 19:23:05', 'using'), +(1264, 47, '2009-05-27 17:49:10', '2009-05-27 19:23:10', 'using'), +(1265, 147, '2009-05-27 17:49:12', '2009-05-27 19:23:12', 'using'), +(1266, 17, '2009-05-27 19:28:48', '2009-05-27 22:06:29', 'Administrator'), +(1267, 50, '2009-05-27 18:24:43', '2009-05-27 21:24:43', 'Mechanic'), +(1268, 189, '2009-05-27 19:06:27', '2009-05-27 22:06:27', 'Mechanic'), +(1269, 27, '2009-05-28 17:39:09', '2009-05-28 17:57:51', 'Administrator'), +(1270, 93, '2009-05-28 18:03:34', '2009-05-28 21:34:42', 'Administrator'), +(1271, 299, '2009-05-28 18:18:51', '2009-05-28 19:52:51', 'using'), +(1272, 268, '2009-05-28 17:32:41', '2009-05-28 19:06:41', 'using'), +(1273, 37, '2009-05-28 16:52:54', '2009-05-28 19:52:54', 'volunteering'), +(1274, 2, '2009-05-28 17:38:15', '2009-05-28 20:38:15', 'Mechanic'), +(1275, 241, '2009-05-28 17:30:32', '2009-05-28 19:04:32', 'using'), +(1276, 27, '2009-05-28 18:00:00', '2009-05-28 19:48:41', 'Working'), +(1277, 307, '2009-05-28 18:58:15', '2009-05-28 20:32:15', 'using'), +(1278, 47, '2009-05-28 18:13:16', '2009-05-28 19:47:16', 'using'), +(1279, 47, '2009-05-30 10:41:38', '2009-05-30 13:41:38', 'volunteering'), +(1280, 27, '2009-05-30 12:07:37', '2009-05-30 13:41:37', 'train_mech'), +(1281, 304, '2009-05-30 12:07:34', '2009-05-30 13:41:34', 'using'), +(1282, 155, '2009-05-30 13:41:25', '2009-05-30 13:41:45', 'Administrator'), +(1283, 155, '2009-05-30 13:41:49', '2009-05-30 16:14:47', 'Administrator'), +(1284, 12, '2009-05-30 13:14:45', '2009-05-30 16:14:45', 'Mechanic'), +(1285, 47, '2009-05-30 13:52:33', '2009-05-30 15:26:33', 'using'), +(1286, 187, '2009-05-30 14:40:43', '2009-05-30 16:14:43', 'using'), +(1287, 71, '2009-05-30 16:22:54', '2009-05-30 17:56:54', 'using'), +(1288, 47, '2009-05-30 16:22:57', '2009-05-30 17:56:57', 'using'), +(1289, 206, '2009-05-30 14:16:29', '2009-05-30 15:50:29', 'using'), +(1290, 4, '2009-05-30 16:14:53', '2009-05-30 19:12:04', 'Administrator'), +(1291, 50, '2009-05-30 16:11:59', '2009-05-30 19:11:59', 'Mechanic'), +(1292, 72, '2009-05-30 17:08:14', '2009-05-30 18:42:14', 'using'), +(1293, 190, '2009-05-30 16:48:30', '2009-05-30 18:22:30', 'using'), +(1294, 308, '2009-05-30 17:38:00', '2009-05-30 19:12:00', 'using'), +(1295, 163, '2009-05-30 15:00:00', '2009-05-30 19:12:00', 'using'), +(1296, 85, '2009-05-31 11:29:42', '2009-05-31 15:15:00', 'Administrator'), +(1297, 287, '2009-05-31 12:14:53', '2009-05-31 15:14:53', 'Mechanic'), +(1298, 163, '2009-05-31 13:40:54', '2009-05-31 15:14:54', 'using'), +(1299, 310, '2009-05-31 13:40:55', '2009-05-31 15:14:55', 'using'), +(1300, 125, '2009-05-31 13:40:55', '2009-05-31 15:14:55', 'using'), +(1301, 311, '2009-05-31 13:40:56', '2009-05-31 15:14:56', 'using'), +(1302, 5, '2009-06-01 13:57:53', '2009-06-01 18:28:45', 'Administrator'), +(1303, 12, '2009-06-01 16:20:36', '2009-06-01 19:20:36', 'Mechanic'), +(1304, 156, '2009-06-01 19:26:56', '2009-06-01 21:00:56', 'using'), +(1305, 145, '2009-06-01 14:08:09', '2009-06-01 15:42:09', 'using'), +(1306, 303, '2009-06-01 16:21:12', '2009-06-01 17:55:12', 'using'), +(1307, 312, '2009-06-01 17:46:04', '2009-06-01 19:20:04', 'using'), +(1308, 313, '2009-06-01 15:09:34', '2009-06-01 16:43:34', 'using'), +(1309, 314, '2009-06-01 19:26:58', '2009-06-01 21:00:58', 'using'), +(1310, 170, '2009-06-01 19:26:59', '2009-06-01 21:00:59', 'using'), +(1311, 97, '2009-06-01 18:28:52', '2009-06-01 21:24:42', 'Administrator'), +(1312, 285, '2009-06-01 19:27:00', '2009-06-01 21:01:00', 'using'), +(1313, 36, '2009-06-01 18:00:00', '2009-06-01 21:30:00', 'using'), +(1314, 37, '2009-06-02 09:38:34', '2009-06-02 12:38:34', 'Administrator'), +(1315, 49, '2009-06-03 17:10:47', '2009-06-03 19:15:12', 'Administrator'), +(1316, 155, '2009-06-03 17:29:35', '2009-06-03 20:29:35', 'volunteering'), +(1317, 318, '2009-06-03 16:59:33', '2009-06-03 18:33:33', 'using'), +(1318, 253, '2009-06-03 17:34:13', '2009-06-03 19:08:13', 'using'), +(1319, 103, '2009-06-03 20:16:26', '2009-06-03 21:50:26', 'using'), +(1320, 47, '2009-06-03 18:50:28', '2009-06-03 21:50:28', 'volunteering'), +(1321, 280, '2009-06-03 18:55:31', '2009-06-03 20:29:31', 'using'), +(1322, 17, '2009-06-03 19:15:02', '2009-06-03 22:20:21', 'Administrator'), +(1323, 50, '2009-06-03 19:20:16', '2009-06-03 22:20:16', 'Mechanic'), +(1324, 37, '2009-06-03 19:20:13', '2009-06-03 22:20:13', 'volunteering'), +(1325, 37, '2009-06-03 22:22:43', '2009-06-04 01:22:43', 'Administrator'), +(1326, 93, '2009-06-04 18:05:36', '2009-06-04 21:18:10', 'Administrator'), +(1327, 253, '2009-06-04 17:46:27', '2009-06-04 19:20:27', 'dogfucking'), +(1328, 27, '2009-06-04 18:18:01', '2009-06-04 21:18:01', 'Mechanic'), +(1329, 303, '2009-06-04 17:06:17', '2009-06-04 18:40:17', 'using'), +(1330, 2, '2009-06-04 18:14:07', '2009-06-04 21:14:07', 'volunteering'), +(1331, 309, '2009-06-04 17:13:32', '2009-06-04 18:47:32', 'using'), +(1332, 155, '2009-06-04 18:18:03', '2009-06-04 21:18:03', 'volunteering'), +(1333, 147, '2009-06-04 19:06:27', '2009-06-04 20:40:27', 'using'), +(1334, 272, '2009-06-04 18:43:00', '2009-06-04 20:17:00', 'using'), +(1335, 37, '2009-06-05 14:45:23', '2009-06-05 15:10:36', 'Administrator'), +(1336, 49, '2009-06-06 13:03:07', '2009-06-06 13:11:18', 'Administrator'), +(1337, 155, '2009-06-06 13:11:23', '2009-06-06 16:35:14', 'Administrator'), +(1338, 49, '2009-06-06 13:35:51', '2009-06-06 16:35:51', 'Mechanic'), +(1339, 17, '2009-06-06 14:04:58', '2009-06-06 15:38:58', 'using'), +(1340, 17, '2009-06-06 15:54:17', '2009-06-06 18:54:17', 'volunteering'), +(1341, 4, '2009-06-06 16:35:21', '2009-06-06 18:54:21', 'Administrator'), +(1342, 155, '2009-06-06 14:06:31', '2009-06-06 17:06:31', 'volunteering'), +(1343, 50, '2009-06-06 15:54:18', '2009-06-06 18:54:18', 'Mechanic'), +(1344, 49, '2009-06-06 14:58:28', '2009-06-06 17:58:28', 'volunteering'), +(1345, 118, '2009-06-06 15:54:16', '2009-06-06 18:54:16', 'volunteering'), +(1346, 331, '2009-06-06 16:56:52', '2009-06-06 18:30:52', 'using'), +(1347, 330, '2009-06-06 16:21:21', '2009-06-06 17:55:21', 'using'), +(1348, 329, '2009-06-06 15:00:00', '2009-06-06 18:54:00', 'volunteering'), +(1349, 4, '2009-06-06 19:08:12', '2009-06-06 19:10:09', 'Administrator'), +(1350, 37, '2009-06-07 12:07:21', '2009-06-07 15:56:06', 'Administrator'), +(1351, 287, '2009-06-07 12:56:04', '2009-06-07 15:56:04', 'Mechanic'), +(1352, 310, '2009-06-07 14:22:04', '2009-06-07 15:56:04', 'using'), +(1353, 319, '2009-06-07 14:22:03', '2009-06-07 15:56:03', 'using'), +(1354, 332, '2009-06-07 14:22:03', '2009-06-07 15:56:03', 'using'), +(1355, 49, '2009-06-08 15:10:49', '2009-06-08 18:22:13', 'Administrator'), +(1356, 12, '2009-06-08 14:59:06', '2009-06-08 17:59:06', 'Mechanic'), +(1357, 81, '2009-06-08 19:32:43', '2009-06-08 21:06:43', 'using'), +(1358, 47, '2009-06-08 17:24:26', '2009-06-08 18:58:26', 'using'), +(1359, 36, '2009-06-08 18:19:50', '2009-06-08 21:19:50', 'Mechanic'), +(1360, 97, '2009-06-08 18:22:28', '2009-06-08 21:21:42', 'Administrator'), +(1361, 61, '2009-06-08 16:52:57', '2009-06-08 18:26:57', 'dogfucking'), +(1362, 285, '2009-06-08 17:36:35', '2009-06-08 19:10:35', 'using'), +(1363, 329, '2009-06-08 18:00:00', '2009-06-08 20:27:00', 'volunteering'), +(1364, 170, '2009-06-08 17:24:23', '2009-06-08 18:58:23', 'using'), +(1365, 251, '2009-06-08 17:51:22', '2009-06-08 19:25:22', 'using'), +(1366, 118, '2009-06-08 19:00:00', '2009-06-08 21:06:42', 'using'), +(1367, 49, '2009-06-09 18:03:28', '2009-06-09 20:07:11', 'Administrator'), +(1368, 253, '2009-06-09 18:33:07', '2009-06-09 20:07:07', 'using'), +(1369, 2, '2009-06-09 17:06:58', '2009-06-09 20:06:58', 'Mechanic'), +(1370, 49, '2009-06-10 15:00:52', '2009-06-10 15:02:52', 'Administrator'), +(1371, 155, '2009-06-10 17:09:27', '2009-06-10 20:01:54', 'Administrator'), +(1372, 37, '2009-06-10 17:02:31', '2009-06-10 20:02:31', 'Mechanic'), +(1373, 47, '2009-06-10 18:30:17', '2009-06-10 20:04:17', 'using'), +(1374, 274, '2009-06-10 16:35:26', '2009-06-10 18:09:26', 'using'), +(1375, 179, '2009-06-10 20:03:28', '2009-06-10 21:37:28', 'using'), +(1376, 268, '2009-06-10 20:03:30', '2009-06-10 21:37:30', 'using'), +(1377, 17, '2009-06-10 20:02:02', '2009-06-10 21:48:14', 'Administrator'), +(1378, 329, '2009-06-10 18:00:00', '2009-06-10 21:37:00', 'volunteering'), +(1379, 50, '2009-06-10 18:48:11', '2009-06-10 21:48:11', 'Mechanic'), +(1380, 273, '2009-06-10 19:51:49', '2009-06-10 21:25:49', 'using'), +(1381, 93, '2009-06-11 17:18:10', '2009-06-11 23:13:03', 'Administrator'), +(1382, 27, '2009-06-11 20:13:01', '2009-06-11 23:13:01', 'Mechanic'), +(1383, 2, '2009-06-11 18:46:50', '2009-06-11 21:46:50', 'volunteering'), +(1384, 49, '2009-06-11 20:12:35', '2009-06-11 23:12:35', 'volunteering'), +(1385, 155, '2009-06-11 19:27:33', '2009-06-11 22:27:33', 'volunteering'), +(1386, 243, '2009-06-11 20:12:31', '2009-06-11 21:46:31', 'using'), +(1387, 308, '2009-06-11 21:39:00', '2009-06-11 23:13:00', 'using'), +(1388, 49, '2009-06-11 23:12:55', '2009-06-12 02:12:55', 'Administrator'), +(1389, 4, '2009-06-13 13:20:02', '2009-06-13 18:51:58', 'Administrator'), +(1390, 49, '2009-06-13 13:28:58', '2009-06-13 16:28:58', 'Mechanic'), +(1391, 317, '2009-06-13 14:58:03', '2009-06-13 16:32:03', 'using'), +(1392, 332, '2009-06-13 14:58:11', '2009-06-13 16:32:11', 'using'), +(1393, 18, '2009-06-13 15:45:30', '2009-06-13 17:19:30', 'using'), +(1394, 50, '2009-06-13 15:51:54', '2009-06-13 18:51:54', 'Mechanic'), +(1395, 341, '2009-06-13 17:17:48', '2009-06-13 18:51:48', 'using'), +(1396, 4, '2009-06-14 11:57:34', '2009-06-14 15:12:30', 'Administrator'), +(1397, 287, '2009-06-14 12:12:19', '2009-06-14 15:12:19', 'Mechanic'), +(1398, 261, '2009-06-14 13:38:12', '2009-06-14 15:12:12', 'using'), +(1399, 145, '2009-06-14 13:38:17', '2009-06-14 15:12:17', 'using'), +(1400, 348, '2009-06-14 13:38:13', '2009-06-14 15:12:13', 'using'), +(1401, 27, '2009-06-14 13:38:15', '2009-06-14 15:12:15', 'using'), +(1402, 311, '2009-06-14 13:38:15', '2009-06-14 15:12:15', 'using'), +(1403, 5, '2009-06-15 15:04:10', '2009-06-15 19:11:50', 'Administrator'), +(1404, 12, '2009-06-15 16:11:36', '2009-06-15 19:11:36', 'Mechanic'), +(1405, 352, '2009-06-15 18:11:56', '2009-06-15 19:45:56', 'using'), +(1406, 13, '2009-06-15 18:12:05', '2009-06-15 19:46:05', 'using'), +(1407, 326, '2009-06-15 18:11:59', '2009-06-15 19:45:59', 'using'), +(1408, 355, '2009-06-15 16:26:02', '2009-06-15 18:00:02', 'using'), +(1409, 356, '2009-06-15 18:53:35', '2009-06-15 20:27:35', 'using'), +(1410, 36, '2009-06-15 16:12:39', '2009-06-15 19:12:39', 'volunteering'), +(1411, 97, '2009-06-15 16:12:15', '2009-06-15 19:12:15', 'volunteering'), +(1412, 97, '2009-06-15 19:12:34', '2009-06-15 21:24:38', 'Administrator'), +(1413, 36, '2009-06-15 18:24:34', '2009-06-15 21:24:34', 'Mechanic'), +(1414, 5, '2009-06-15 18:12:01', '2009-06-15 19:46:01', 'using'), +(1415, 49, '2009-06-17 17:30:09', '2009-06-17 19:15:47', 'Administrator'), +(1416, 155, '2009-06-17 16:05:27', '2009-06-17 19:05:27', 'volunteering'), +(1417, 264, '2009-06-17 17:00:12', '2009-06-17 18:34:12', 'using'), +(1418, 119, '2009-06-17 18:10:58', '2009-06-17 19:44:58', 'using'), +(1419, 360, '2009-06-17 17:28:35', '2009-06-17 19:02:35', 'using'), +(1420, 323, '2009-06-17 19:54:35', '2009-06-17 21:28:35', 'using'), +(1421, 50, '2009-06-17 18:28:36', '2009-06-17 21:28:36', 'Mechanic'), +(1422, 17, '2009-06-17 19:15:54', '2009-06-17 21:28:40', 'Administrator'), +(1423, 155, '2009-06-17 17:02:14', '2009-06-17 20:02:14', 'volunteering'), +(1424, 49, '2009-06-17 18:28:34', '2009-06-17 21:28:34', 'volunteering'), +(1425, 290, '2009-06-17 19:32:42', '2009-06-17 21:06:42', 'using'), +(1426, 93, '2009-06-18 18:08:18', '2009-06-18 21:30:08', 'Administrator'), +(1427, 27, '2009-06-18 18:29:56', '2009-06-18 21:29:56', 'Mechanic'), +(1428, 319, '2009-06-18 19:23:18', '2009-06-18 20:57:18', 'using'), +(1429, 37, '2009-06-18 18:51:25', '2009-06-18 20:25:25', 'dogfucking'), +(1430, 12, '2009-06-18 17:47:30', '2009-06-18 20:47:30', 'volunteering'), +(1431, 2, '2009-06-18 17:25:32', '2009-06-18 20:25:32', 'volunteering'), +(1432, 361, '2009-06-18 18:01:50', '2009-06-18 19:35:50', 'using'), +(1433, 23, '2009-06-18 18:14:35', '2009-06-18 19:48:35', 'using'), +(1434, 362, '2009-06-18 18:01:54', '2009-06-18 19:35:54', 'using'), +(1435, 282, '2009-06-18 19:36:14', '2009-06-18 21:10:14', 'using'), +(1436, 80, '2009-06-18 18:47:44', '2009-06-18 20:21:44', 'using'), +(1437, 30, '2009-06-18 19:36:17', '2009-06-18 21:10:17', 'using'), +(1438, 9, '2009-06-18 17:33:14', '2009-06-18 20:33:14', 'volunteering'), +(1439, 349, '2009-06-18 19:13:29', '2009-06-18 20:47:29', 'using'), +(1440, 155, '2009-06-20 13:18:00', '2009-06-20 16:29:31', 'Administrator'), +(1441, 49, '2009-06-20 13:29:28', '2009-06-20 16:29:28', 'Mechanic'), +(1442, 4, '2009-06-20 16:29:36', '2009-06-20 19:36:10', 'Administrator'), +(1443, 50, '2009-06-20 16:36:07', '2009-06-20 19:36:07', 'Mechanic'), +(1444, 49, '2009-06-20 14:22:59', '2009-06-20 17:22:59', 'volunteering'), +(1445, 145, '2009-06-20 17:18:28', '2009-06-20 18:52:28', 'using'), +(1446, 348, '2009-06-20 17:18:29', '2009-06-20 18:52:29', 'using'), +(1447, 364, '2009-06-20 15:22:40', '2009-06-20 18:22:40', 'volunteering'), +(1448, 30, '2009-06-20 16:48:41', '2009-06-20 18:22:41', 'using'), +(1449, 17, '2009-06-21 13:04:01', '2009-06-21 14:59:13', 'Administrator'), +(1450, 287, '2009-06-21 12:00:00', '2009-06-21 15:27:30', 'Working'), +(1451, 361, '2009-06-21 13:53:24', '2009-06-21 15:27:24', 'using'), +(1452, 25, '2009-06-21 12:31:00', '2009-06-21 14:05:00', 'using'), +(1453, 18, '2009-06-21 13:26:05', '2009-06-21 15:00:05', 'using'), +(1454, 320, '2009-06-21 13:53:29', '2009-06-21 15:27:29', 'using'), +(1455, 17, '2009-06-21 15:00:01', '2009-06-21 15:51:32', 'Administrator'), +(1456, 366, '2009-06-21 14:05:16', '2009-06-21 15:39:16', 'using'), +(1457, 5, '2009-06-22 14:38:15', '2009-06-22 18:19:38', 'Administrator'), +(1458, 12, '2009-06-22 15:20:00', '2009-06-22 18:20:00', 'Mechanic'), +(1459, 361, '2009-06-22 17:05:03', '2009-06-22 18:39:03', 'using'), +(1460, 30, '2009-06-22 17:05:08', '2009-06-22 18:39:08', 'using'), +(1461, 367, '2009-06-22 14:32:41', '2009-06-22 16:06:41', 'using'), +(1462, 39, '2009-06-22 17:14:41', '2009-06-22 18:48:41', 'using'), +(1463, 348, '2009-06-22 16:25:20', '2009-06-22 17:59:20', 'using'), +(1464, 155, '2009-06-22 18:19:56', '2009-06-22 21:53:33', 'Administrator'), +(1465, 12, '2009-06-22 18:46:44', '2009-06-22 21:46:44', 'volunteering'), +(1466, 61, '2009-06-22 18:27:03', '2009-06-22 21:27:03', 'Mechanic'), +(1467, 145, '2009-06-22 16:53:30', '2009-06-22 18:27:30', 'using'), +(1468, 361, '2009-06-22 18:30:31', '2009-06-22 20:04:31', 'using'), +(1469, 338, '2009-06-22 19:53:05', '2009-06-22 21:27:05', 'using'), +(1470, 37, '2009-06-24 17:10:35', '2009-06-24 19:49:15', 'Administrator'), +(1471, 49, '2009-06-24 17:05:32', '2009-06-24 20:05:32', 'Mechanic'), +(1472, 47, '2009-06-24 20:49:33', '2009-06-24 22:23:33', 'using'); +INSERT INTO `visits` (`visitID`, `userID`, `intime`, `endout`, `activity`) VALUES +(1473, 320, '2009-06-24 15:46:34', '2009-06-24 17:20:34', 'using'), +(1474, 329, '2009-06-24 15:47:00', '2009-06-24 17:21:00', 'using'), +(1475, 320, '2009-06-24 20:49:32', '2009-06-24 22:23:32', 'using'), +(1476, 329, '2009-06-24 19:23:24', '2009-06-24 22:23:24', 'volunteering'), +(1477, 271, '2009-06-24 17:45:51', '2009-06-24 19:19:51', 'using'), +(1478, 176, '2009-06-24 17:45:52', '2009-06-24 19:19:52', 'using'), +(1479, 233, '2009-06-24 20:49:28', '2009-06-24 22:23:28', 'using'), +(1480, 363, '2009-06-24 19:22:58', '2009-06-24 20:56:58', 'using'), +(1481, 268, '2009-06-24 20:49:25', '2009-06-24 22:23:25', 'using'), +(1482, 17, '2009-06-24 19:50:50', '2009-06-24 22:59:25', 'Administrator'), +(1483, 12, '2009-06-24 19:23:35', '2009-06-24 22:23:35', 'Mechanic'), +(1484, 93, '2009-06-25 17:59:25', '2009-06-25 21:14:49', 'Administrator'), +(1485, 27, '2009-06-25 18:14:40', '2009-06-25 21:14:40', 'Mechanic'), +(1486, 12, '2009-06-25 18:14:41', '2009-06-25 21:14:41', 'volunteering'), +(1487, 47, '2009-06-25 18:37:59', '2009-06-25 20:11:59', 'using'), +(1488, 357, '2009-06-25 17:32:37', '2009-06-25 19:06:37', 'using'), +(1489, 49, '2009-06-25 17:40:38', '2009-06-25 19:14:38', 'using'), +(1490, 5, '2009-06-25 17:40:40', '2009-06-25 19:14:40', 'using'), +(1491, 373, '2009-06-25 19:26:40', '2009-06-25 21:00:40', 'using'), +(1492, 372, '2009-06-25 17:40:30', '2009-06-25 19:14:30', 'using'), +(1493, 147, '2009-06-25 17:13:32', '2009-06-25 18:47:32', 'using'), +(1494, 37, '2009-06-25 18:37:55', '2009-06-25 20:11:55', 'using'), +(1495, 155, '2009-06-25 18:14:42', '2009-06-25 21:14:42', 'volunteering'), +(1496, 49, '2009-06-26 19:18:03', '2009-06-26 19:20:29', 'Administrator'), +(1497, 155, '2009-06-27 13:10:07', '2009-06-27 14:36:23', 'Administrator'), +(1498, 49, '2009-06-27 11:36:02', '2009-06-27 14:36:02', 'Mechanic'), +(1499, 47, '2009-06-27 13:02:20', '2009-06-27 14:36:20', 'using'), +(1500, 210, '2009-06-27 12:01:00', '2009-06-27 13:35:00', 'using'), +(1501, 261, '2009-06-27 12:30:52', '2009-06-27 14:04:52', 'using'), +(1502, 155, '2009-06-27 14:38:30', '2009-06-27 16:20:56', 'Administrator'), +(1503, 49, '2009-06-27 13:21:04', '2009-06-27 16:21:04', 'Mechanic'), +(1504, 47, '2009-06-27 14:14:05', '2009-06-27 15:48:05', 'using'), +(1505, 47, '2009-06-27 14:40:50', '2009-06-27 16:14:50', 'using'), +(1506, 4, '2009-06-27 16:21:02', '2009-06-27 18:54:40', 'Administrator'), +(1507, 50, '2009-06-27 15:54:37', '2009-06-27 18:54:37', 'Mechanic'), +(1508, 121, '2009-06-27 17:00:17', '2009-06-27 18:34:17', 'using'), +(1509, 329, '2009-06-27 15:54:37', '2009-06-27 18:54:37', 'volunteering'), +(1510, 378, '2009-06-27 16:50:31', '2009-06-27 18:24:31', 'using'), +(1511, 5, '2009-06-28 12:09:57', '2009-06-28 15:43:44', 'Administrator'), +(1512, 287, '2009-06-28 12:43:35', '2009-06-28 15:43:35', 'Mechanic'), +(1513, 329, '2009-06-28 13:51:00', '2009-06-28 16:51:00', 'volunteering'), +(1514, 90, '2009-06-28 15:40:21', '2009-06-28 17:14:21', 'using'), +(1515, 49, '2009-06-28 15:43:50', '2009-06-28 17:14:26', 'Administrator'), +(1516, 5, '2009-06-29 15:38:08', '2009-06-29 18:18:49', 'Administrator'), +(1517, 12, '2009-06-29 15:25:17', '2009-06-29 18:25:17', 'Mechanic'), +(1518, 294, '2009-06-29 15:21:31', '2009-06-29 16:55:31', 'using'), +(1519, 71, '2009-06-29 15:21:29', '2009-06-29 16:55:29', 'using'), +(1520, 223, '2009-06-29 19:33:29', '2009-06-29 21:07:29', 'using'), +(1521, 47, '2009-06-29 19:33:28', '2009-06-29 21:07:28', 'using'), +(1522, 25, '2009-06-29 16:40:13', '2009-06-29 18:14:13', 'using'), +(1523, 377, '2009-06-29 19:49:06', '2009-06-29 21:23:06', 'using'), +(1524, 291, '2009-06-29 16:25:11', '2009-06-29 17:59:11', 'using'), +(1525, 80, '2009-06-29 19:33:24', '2009-06-29 21:07:24', 'using'), +(1526, 155, '2009-06-29 18:20:33', '2009-06-29 19:51:12', 'Administrator'), +(1527, 118, '2009-06-29 18:23:05', '2009-06-29 21:23:05', 'Mechanic'), +(1528, 12, '2009-06-29 18:23:08', '2009-06-29 21:23:08', 'volunteering'), +(1529, 48, '2009-06-29 19:33:23', '2009-06-29 21:07:23', 'using'), +(1530, 246, '2009-06-29 19:49:07', '2009-06-29 21:23:07', 'using'), +(1531, 155, '2009-06-29 19:52:50', '2009-06-29 21:23:22', 'Administrator'), +(1532, 17, '2009-07-01 17:42:04', '2009-07-01 20:56:31', 'Administrator'), +(1533, 49, '2009-07-01 17:56:26', '2009-07-01 20:56:26', 'Mechanic'), +(1534, 377, '2009-07-01 18:47:57', '2009-07-01 20:21:57', 'using'), +(1535, 61, '2009-07-01 17:56:20', '2009-07-01 20:56:20', 'volunteering'), +(1536, 125, '2009-07-01 18:15:13', '2009-07-01 19:49:13', 'using'), +(1537, 229, '2009-07-01 19:22:18', '2009-07-01 20:56:18', 'using'), +(1538, 27, '2009-07-02 17:16:25', '2009-07-02 21:21:24', 'Administrator'), +(1539, 12, '2009-07-02 17:55:42', '2009-07-02 20:55:42', 'volunteering'), +(1540, 285, '2009-07-02 17:42:09', '2009-07-02 19:16:09', 'using'), +(1541, 147, '2009-07-02 18:47:46', '2009-07-02 20:21:46', 'using'), +(1542, 282, '2009-07-02 17:42:00', '2009-07-02 19:16:00', 'using'), +(1543, 2, '2009-07-02 17:55:39', '2009-07-02 20:55:39', 'Mechanic'), +(1544, 123, '2009-07-02 19:21:38', '2009-07-02 20:55:38', 'using'), +(1545, 47, '2009-07-02 18:47:48', '2009-07-02 20:21:48', 'using'), +(1546, 155, '2009-07-04 13:04:18', '2009-07-04 16:10:36', 'Administrator'), +(1547, 49, '2009-07-04 13:10:15', '2009-07-04 16:10:15', 'Mechanic'), +(1548, 386, '2009-07-04 14:32:54', '2009-07-04 16:06:54', 'using'), +(1549, 387, '2009-07-06 13:33:26', '2009-07-06 15:07:26', 'using'), +(1550, 388, '2009-07-06 13:33:26', '2009-07-06 15:07:26', 'using'), +(1551, 121, '2009-07-04 15:25:21', '2009-07-04 16:59:21', 'using'), +(1552, 50, '2009-07-06 12:07:24', '2009-07-06 15:07:24', 'Mechanic'), +(1553, 4, '2009-07-04 16:11:13', '2009-07-04 18:50:42', 'Administrator'), +(1554, 246, '2009-07-06 13:33:28', '2009-07-06 15:07:28', 'using'), +(1555, 5, '2009-07-06 15:07:19', '2009-07-06 18:31:00', 'Administrator'), +(1556, 12, '2009-07-06 15:30:46', '2009-07-06 18:30:46', 'Mechanic'), +(1557, 47, '2009-07-06 19:21:55', '2009-07-06 20:55:55', 'using'), +(1558, 390, '2009-07-06 15:04:26', '2009-07-06 16:38:26', 'using'), +(1559, 48, '2009-07-06 19:30:12', '2009-07-06 21:04:12', 'using'), +(1560, 308, '2009-07-06 15:38:45', '2009-07-06 17:12:45', 'using'), +(1561, 294, '2009-07-06 15:52:54', '2009-07-06 17:26:54', 'using'), +(1562, 149, '2009-07-06 19:30:13', '2009-07-06 21:04:13', 'using'), +(1563, 386, '2009-07-06 19:21:47', '2009-07-06 20:55:47', 'using'), +(1564, 268, '2009-07-06 16:18:05', '2009-07-06 17:52:05', 'using'), +(1565, 174, '2009-07-06 19:21:50', '2009-07-06 20:55:50', 'using'), +(1566, 36, '2009-07-06 18:33:01', '2009-07-06 21:33:01', 'Mechanic'), +(1567, 12, '2009-07-06 18:31:09', '2009-07-06 21:31:09', 'Administrator'), +(1568, 229, '2009-07-06 18:04:14', '2009-07-06 21:04:14', 'volunteering'), +(1572, 12, '2009-06-08 17:55:00', '2009-07-08 21:17:01', 'using'), +(1570, 37, '2009-07-08 17:00:00', '2009-07-08 21:17:04', 'Administrator'), +(1573, 121, '2009-07-08 17:56:21', '2009-07-08 19:21:59', 'using'), +(1571, 123, '2009-06-08 05:00:00', '2009-06-08 08:00:00', 'Mechanic'), +(1574, 50, '2009-07-08 18:17:02', '2009-07-08 21:17:02', 'Mechanic'), +(1575, 37, '2009-07-09 12:14:59', '2009-07-09 12:15:11', 'Administrator'), +(1576, 27, '2009-07-09 18:02:39', '2009-07-09 21:05:59', 'Administrator'), +(1577, 179, '2009-07-09 17:09:26', '2009-07-09 18:43:26', 'using'), +(1578, 179, '2009-07-09 18:05:50', '2009-07-09 21:05:50', 'volunteering'), +(1579, 2, '2009-07-09 17:52:43', '2009-07-09 20:52:43', 'Mechanic'), +(1580, 377, '2009-07-09 18:11:26', '2009-07-09 19:45:26', 'using'), +(1581, 4, '2009-07-11 13:13:57', '2009-07-11 19:04:45', 'Administrator'), +(1582, 392, '2009-07-11 13:49:58', '2009-07-11 15:23:58', 'using'), +(1583, 145, '2009-07-11 16:30:59', '2009-07-11 18:04:59', 'using'), +(1584, 163, '2009-07-11 15:57:15', '2009-07-11 17:31:15', 'using'), +(1585, 123, '2009-07-11 15:05:00', '2009-07-11 18:05:00', 'Mechanic'), +(1586, 386, '2009-07-11 14:38:21', '2009-07-11 16:12:21', 'using'), +(1587, 50, '2009-07-11 15:05:02', '2009-07-11 18:05:02', 'volunteering'), +(1588, 364, '2009-07-11 16:30:58', '2009-07-11 18:04:58', 'using'), +(1589, 50, '2009-07-11 16:04:42', '2009-07-11 19:04:42', 'Mechanic'), +(1590, 37, '2009-07-12 14:08:34', '2009-07-12 15:16:58', 'Administrator'), +(1591, 287, '2009-07-12 12:00:00', '2009-07-12 15:16:44', 'Mechanic'), +(1592, 392, '2009-07-12 13:00:00', '2009-07-12 14:38:20', 'using'), +(1593, 30, '2009-07-12 12:00:00', '2009-07-12 14:00:44', 'volunteering'), +(1594, 5, '2009-07-13 15:11:53', '2009-07-13 20:58:55', 'Administrator'), +(1595, 12, '2009-07-13 15:10:38', '2009-07-13 18:10:38', 'Mechanic'), +(1596, 179, '2009-07-13 19:24:50', '2009-07-13 20:58:50', 'using'), +(1597, 118, '2009-07-13 17:58:42', '2009-07-13 20:58:42', 'Mechanic'), +(1598, 12, '2009-07-13 17:58:48', '2009-07-13 20:58:48', 'volunteering'), +(1599, 18, '2009-07-13 19:24:49', '2009-07-13 20:58:49', 'using'), +(1600, 5, '2009-07-13 21:13:08', '2009-07-13 21:13:31', 'Administrator'), +(1601, 93, '2009-07-15 18:00:39', '2009-07-15 21:25:48', 'Administrator'), +(1602, 12, '2009-07-15 19:41:52', '2009-07-15 21:15:52', 'dogfucking'), +(1603, 49, '2009-07-15 18:25:39', '2009-07-15 21:25:39', 'Mechanic'), +(1604, 233, '2009-07-15 17:40:08', '2009-07-15 19:14:08', 'using'), +(1605, 256, '2009-07-15 18:06:48', '2009-07-15 19:40:48', 'using'), +(1606, 80, '2009-07-15 18:49:21', '2009-07-15 20:23:21', 'using'), +(1607, 274, '2009-07-15 19:41:54', '2009-07-15 21:15:54', 'using'), +(1608, 398, '2009-07-15 19:13:38', '2009-07-15 20:47:38', 'using'), +(1609, 155, '2009-07-16 18:28:45', '2009-07-16 20:57:53', 'Administrator'), +(1610, 36, '2009-07-16 17:56:39', '2009-07-16 20:56:39', 'Mechanic'), +(1611, 302, '2009-07-16 17:00:55', '2009-07-16 18:34:55', 'using'), +(1612, 398, '2009-07-16 18:41:20', '2009-07-16 20:15:20', 'using'), +(1613, 274, '2009-07-16 17:20:15', '2009-07-16 18:54:15', 'using'), +(1614, 2, '2009-07-16 17:55:06', '2009-07-16 20:55:06', 'volunteering'), +(1615, 12, '2009-07-16 17:55:06', '2009-07-16 20:55:06', 'volunteering'), +(1616, 80, '2009-07-16 18:58:34', '2009-07-16 20:32:34', 'using'), +(1617, 336, '2009-07-16 18:22:37', '2009-07-16 19:56:37', 'using'), +(1618, 111, '2009-07-16 18:58:33', '2009-07-16 20:32:33', 'using'), +(1619, 50, '2009-07-18 16:15:47', '2009-07-18 18:57:29', 'Administrator'), +(1620, 149, '2009-07-18 17:00:38', '2009-07-18 18:34:38', 'using'), +(1621, 233, '2009-07-18 15:24:20', '2009-07-18 16:58:20', 'using'), +(1622, 48, '2009-07-18 17:00:39', '2009-07-18 18:34:39', 'using'), +(1623, 344, '2009-07-18 17:00:41', '2009-07-18 18:34:41', 'using'), +(1624, 12, '2009-07-19 09:23:14', '2009-07-19 12:23:14', 'Mechanic'), +(1625, 386, '2009-07-18 17:00:42', '2009-07-18 18:34:42', 'using'), +(1626, 399, '2009-07-18 17:23:14', '2009-07-18 18:57:14', 'using'), +(1627, 85, '2009-07-19 12:18:09', '2009-07-19 12:18:16', 'Administrator'), +(1628, 287, '2009-07-19 12:19:03', '2009-07-19 15:19:03', 'Mechanic'), +(1629, 154, '2009-07-19 12:19:05', '2009-07-19 15:19:05', 'volunteering'), +(1630, 176, '2009-07-19 13:12:50', '2009-07-19 14:46:50', 'using'), +(1631, 400, '2009-07-19 13:20:29', '2009-07-19 14:54:29', 'using'), +(1632, 5, '2009-07-20 15:11:16', '2009-07-20 16:41:15', 'Administrator'), +(1633, 12, '2009-07-20 13:42:24', '2009-07-20 16:42:24', 'Mechanic'), +(1634, 352, '2009-07-20 17:53:03', '2009-07-20 19:27:03', 'using'), +(1635, 49, '2009-07-20 14:40:52', '2009-07-20 17:40:52', 'Mechanic'), +(1636, 399, '2009-07-20 17:52:57', '2009-07-20 19:26:57', 'using'), +(1637, 274, '2009-07-20 17:53:08', '2009-07-20 19:27:08', 'using'), +(1638, 17, '2009-07-20 17:41:03', '2009-07-20 20:46:29', 'Administrator'), +(1639, 12, '2009-07-20 15:27:09', '2009-07-20 18:27:09', 'Mechanic'), +(1640, 210, '2009-07-20 19:41:08', '2009-07-20 21:15:08', 'using'), +(1641, 12, '2009-07-20 18:13:06', '2009-07-20 21:13:06', 'volunteering'), +(1642, 118, '2009-07-20 18:03:00', '2009-07-20 21:52:37', 'Working'), +(1643, 401, '2009-07-20 19:41:05', '2009-07-20 21:15:05', 'using'), +(1644, 174, '2009-07-20 18:58:42', '2009-07-20 20:32:42', 'using'), +(1645, 149, '2009-07-20 19:41:07', '2009-07-20 21:15:07', 'using'), +(1646, 258, '2009-07-20 19:39:10', '2009-07-20 21:13:10', 'using'), +(1647, 48, '2009-07-20 19:39:05', '2009-07-20 21:13:05', 'using'), +(1648, 17, '2009-07-20 20:48:40', '2009-07-20 21:54:54', 'Administrator'), +(1649, 85, '2009-07-20 18:38:00', '2009-07-20 21:00:00', 'volunteering'), +(1650, 199, '2009-07-21 15:34:47', '2009-07-21 17:28:32', 'Administrator'), +(1651, 93, '2009-07-22 17:54:17', '2009-07-22 21:39:34', 'Administrator'), +(1652, 174, '2009-07-22 19:56:48', '2009-07-22 21:30:48', 'using'), +(1653, 49, '2009-07-22 18:39:26', '2009-07-22 21:39:26', 'Mechanic'), +(1654, 263, '2009-07-22 18:19:13', '2009-07-22 19:53:13', 'using'), +(1655, 398, '2009-07-22 17:33:59', '2009-07-22 19:07:59', 'using'), +(1656, 406, '2009-07-22 18:06:25', '2009-07-22 19:40:25', 'using'), +(1657, 61, '2009-07-22 17:04:09', '2009-07-22 18:38:09', 'using'), +(1658, 407, '2009-07-22 18:06:33', '2009-07-22 19:40:33', 'using'), +(1659, 352, '2009-07-22 18:05:57', '2009-07-22 19:39:57', 'using'), +(1660, 80, '2009-07-22 18:19:10', '2009-07-22 19:53:10', 'using'), +(1661, 190, '2009-07-22 19:39:31', '2009-07-22 21:13:31', 'using'), +(1662, 261, '2009-07-22 19:39:30', '2009-07-22 21:13:30', 'using'), +(1663, 12, '2009-07-23 18:14:35', '2009-07-23 21:29:05', 'Administrator'), +(1664, 36, '2009-07-23 18:28:59', '2009-07-23 21:28:59', 'Mechanic'), +(1665, 155, '2009-07-23 17:56:55', '2009-07-23 20:56:55', 'volunteering'), +(1666, 4, '2009-07-25 15:57:17', '2009-07-25 19:01:11', 'Administrator'), +(1667, 50, '2009-07-25 16:00:00', '2009-07-25 19:00:00', 'Working'), +(1668, 136, '2009-07-25 15:30:00', '2009-07-25 18:37:08', 'using'), +(1669, 154, '2009-07-26 12:30:40', '2009-07-26 15:03:26', 'Administrator'), +(1670, 287, '2009-07-26 12:03:18', '2009-07-26 15:03:18', 'Mechanic'), +(1671, 5, '2009-07-27 15:07:24', '2009-07-27 17:54:26', 'Administrator'), +(1672, 12, '2009-07-27 14:55:18', '2009-07-27 17:55:18', 'Mechanic'), +(1673, 156, '2009-07-27 18:36:00', '2009-07-27 20:10:00', 'using'), +(1674, 298, '2009-07-27 19:09:46', '2009-07-27 20:43:46', 'using'), +(1675, 12, '2009-07-27 17:55:45', '2009-07-27 18:01:14', 'Administrator'), +(1676, 17, '2009-07-27 18:01:20', '2009-07-27 21:32:11', 'Administrator'), +(1677, 12, '2009-07-27 16:59:59', '2009-07-27 19:59:59', 'Mechanic'), +(1678, 118, '2009-07-27 18:32:24', '2009-07-27 21:32:24', 'Mechanic'), +(1679, 412, '2009-07-27 19:42:52', '2009-07-27 21:16:52', 'using'), +(1680, 329, '2009-07-27 19:10:04', '2009-07-27 20:44:04', 'using'), +(1681, 18, '2009-07-27 19:58:25', '2009-07-27 21:32:25', 'using'), +(1682, 17, '2009-07-27 21:32:19', '2009-07-27 21:33:07', 'Administrator'), +(1683, 93, '2009-07-29 17:53:03', '2009-07-29 20:53:03', 'Administrator'), +(1684, 49, '2009-07-30 15:28:42', '2009-07-30 18:28:42', 'Mechanic'), +(1685, 12, '2009-07-29 16:27:26', '2009-07-29 19:27:26', 'volunteering'), +(1686, 9, '2009-07-29 16:27:24', '2009-07-29 19:27:24', 'volunteering'), +(1687, 274, '2009-07-29 16:58:05', '2009-07-29 18:32:05', 'using'), +(1688, 123, '2009-07-29 17:17:31', '2009-07-29 18:51:31', 'using'), +(1689, 100, '2009-07-29 19:35:38', '2009-07-29 21:09:38', 'using'), +(1690, 363, '2009-07-29 19:35:49', '2009-07-29 21:09:49', 'using'), +(1691, 18, '2009-07-29 18:20:02', '2009-07-29 19:54:02', 'using'), +(1692, 334, '2009-07-29 18:19:12', '2009-07-29 19:53:12', 'using'), +(1693, 413, '2009-07-29 18:19:43', '2009-07-29 19:53:43', 'using'), +(1694, 170, '2009-07-29 19:35:51', '2009-07-29 21:09:51', 'using'), +(1695, 227, '2009-07-29 19:35:53', '2009-07-29 21:09:53', 'using'), +(1696, 155, '2009-07-30 18:28:22', '2009-07-30 21:32:37', 'Administrator'), +(1697, 36, '2009-07-30 18:32:30', '2009-07-30 21:32:30', 'Mechanic'), +(1698, 2, '2009-07-30 17:25:19', '2009-07-30 20:25:19', 'volunteering'), +(1699, 265, '2009-07-30 18:58:09', '2009-07-30 20:32:09', 'using'), +(1700, 206, '2009-07-30 18:51:18', '2009-07-30 20:25:18', 'using'), +(1701, 414, '2009-05-14 18:00:00', '2009-05-14 20:00:00', 'volunteering'), +(1702, 414, '2009-07-30 18:00:00', '2009-07-30 20:25:21', 'volunteering'), +(1703, 12, '2009-07-30 19:18:07', '2009-07-30 20:52:07', 'using'), +(1704, 12, '2009-07-30 19:58:30', '2009-07-30 21:32:30', 'dogfucking'), +(1705, 85, '2009-08-01 14:34:16', '2009-08-01 16:16:37', 'Administrator'), +(1706, 388, '2009-08-01 14:20:44', '2009-08-01 15:54:44', 'using'), +(1707, 387, '2009-08-01 14:42:34', '2009-08-01 16:16:34', 'using'), +(1708, 4, '2009-08-01 16:16:41', '2009-08-01 19:10:37', 'Administrator'), +(1709, 36, '2009-08-01 16:10:33', '2009-08-01 19:10:33', 'Mechanic'), +(1710, 85, '2009-08-01 15:00:44', '2009-08-01 16:34:44', 'dogfucking'), +(1711, 387, '2009-08-01 17:10:51', '2009-08-01 18:44:51', 'using'), +(1712, 18, '2009-08-01 15:00:41', '2009-08-01 16:34:41', 'using'), +(1713, 137, '2009-08-01 15:35:03', '2009-08-01 17:09:03', 'using'), +(1714, 415, '2009-08-01 17:10:50', '2009-08-01 18:44:50', 'using'), +(1715, 199, '2009-08-04 15:32:05', '2009-08-04 17:02:01', 'Administrator'), +(1716, 199, '2009-08-04 17:03:42', '2009-08-04 17:30:58', 'Administrator'), +(1717, 199, '2009-08-04 17:33:20', '2009-08-04 17:35:17', 'Administrator'), +(1718, 49, '2009-08-05 18:10:49', '2009-08-05 20:58:03', 'Administrator'), +(1719, 170, '2009-08-05 19:20:56', '2009-08-05 20:54:56', 'using'), +(1720, 419, '2009-08-05 19:21:04', '2009-08-05 20:55:04', 'using'), +(1721, 12, '2009-08-06 17:54:07', '2009-08-06 21:13:20', 'Administrator'), +(1722, 414, '2009-08-06 17:09:21', '2009-08-06 20:09:21', 'volunteering'), +(1723, 30, '2009-08-06 19:38:43', '2009-08-06 21:12:43', 'using'), +(1724, 265, '2009-08-06 19:38:44', '2009-08-06 21:12:44', 'using'), +(1725, 49, '2009-08-08 12:54:49', '2009-08-08 16:25:59', 'Administrator'), +(1726, 118, '2009-08-08 13:07:24', '2009-08-08 16:07:24', 'Mechanic'), +(1727, 229, '2009-08-08 14:04:56', '2009-08-08 15:38:56', 'using'), +(1728, 50, '2009-08-08 15:57:23', '2009-08-08 18:57:23', 'Mechanic'), +(1729, 4, '2009-08-08 16:26:04', '2009-08-08 18:57:34', 'Administrator'), +(1730, 423, '2009-08-08 15:20:51', '2009-08-08 16:54:51', 'using'), +(1731, 424, '2009-08-08 15:28:55', '2009-08-08 17:02:55', 'using'), +(1732, 93, '2009-08-10 18:02:30', '2009-08-10 21:17:22', 'Administrator'), +(1733, 118, '2009-08-10 18:16:40', '2009-08-10 21:16:40', 'Mechanic'), +(1734, 274, '2009-08-10 18:44:28', '2009-08-10 20:18:28', 'using'), +(1735, 100, '2009-08-10 18:44:24', '2009-08-10 20:18:24', 'using'), +(1736, 380, '2009-08-10 19:40:54', '2009-08-10 21:14:54', 'using'), +(1737, 426, '2009-08-10 19:40:55', '2009-08-10 21:14:55', 'using'), +(1738, 17, '2009-08-11 11:14:59', '2009-08-11 17:03:22', 'Administrator'), +(1739, 49, '2009-08-12 17:57:49', '2009-08-12 21:09:55', 'Administrator'), +(1740, 49, '2009-08-13 12:26:02', '2009-08-13 12:30:46', 'Administrator'), +(1741, 49, '2009-08-13 16:26:32', '2009-08-13 16:31:12', 'Administrator'), +(1742, 12, '2009-08-13 18:00:38', '2009-08-13 21:06:04', 'Administrator'), +(1743, 36, '2009-08-13 18:05:59', '2009-08-13 21:05:59', 'Mechanic'), +(1744, 2, '2009-08-13 17:06:55', '2009-08-13 20:06:55', 'volunteering'), +(1745, 414, '2009-08-13 17:06:56', '2009-08-13 20:06:56', 'volunteering'), +(1746, 296, '2009-08-13 18:01:31', '2009-08-13 19:35:31', 'using'), +(1747, 348, '2009-08-13 19:31:57', '2009-08-13 21:05:57', 'using'), +(1748, 363, '2009-08-13 18:41:57', '2009-08-13 20:15:57', 'using'), +(1749, 422, '2009-08-13 19:31:57', '2009-08-13 21:05:57', 'using'), +(1750, 49, '2009-08-15 13:11:34', '2009-08-15 19:10:22', 'Administrator'), +(1751, 111, '2009-08-15 15:37:10', '2009-08-15 17:11:10', 'using'), +(1752, 93, '2009-08-17 17:59:45', '2009-08-17 20:59:45', 'Administrator'), +(1753, 274, '2009-08-17 17:46:54', '2009-08-17 19:20:54', 'using'), +(1754, 49, '2009-08-17 18:15:37', '2009-08-17 21:15:37', 'Mechanic'), +(1755, 296, '2009-08-17 18:35:17', '2009-08-17 20:09:17', 'using'), +(1756, 420, '2009-08-17 18:35:39', '2009-08-17 20:09:39', 'using'), +(1757, 273, '2009-08-17 17:46:56', '2009-08-17 19:20:56', 'using'), +(1758, 30, '2009-08-17 18:35:50', '2009-08-17 20:09:50', 'using'), +(1759, 431, '2009-08-17 19:41:32', '2009-08-17 21:15:32', 'using'), +(1760, 12, '2009-08-20 18:14:34', '2009-08-20 21:14:34', 'Administrator'), +(1761, 36, '2009-08-22 10:12:48', '2009-08-22 13:12:48', 'Mechanic'), +(1762, 2, '2009-08-20 18:11:11', '2009-08-20 21:11:11', 'volunteering'), +(1763, 413, '2009-08-20 19:36:34', '2009-08-20 21:10:34', 'using'), +(1764, 414, '2009-08-20 18:11:11', '2009-08-20 21:11:11', 'volunteering'), +(1765, 39, '2009-08-20 19:37:10', '2009-08-20 21:11:10', 'using'), +(1766, 154, '2009-08-22 13:11:19', '2009-08-22 16:10:18', 'Administrator'), +(1767, 49, '2009-08-22 13:09:59', '2009-08-22 16:09:59', 'Mechanic'), +(1768, 424, '2009-08-22 12:42:48', '2009-08-22 14:16:48', 'using'), +(1769, 98, '2009-08-22 13:05:38', '2009-08-22 14:39:38', 'using'), +(1770, 4, '2009-08-22 16:10:07', '2009-08-22 19:03:40', 'Administrator'), +(1771, 50, '2009-08-22 16:03:37', '2009-08-22 19:03:37', 'Mechanic'), +(1772, 93, '2009-08-24 17:57:34', '2009-08-24 21:01:48', 'Administrator'), +(1773, 421, '2009-08-24 19:02:39', '2009-08-24 20:36:39', 'using'), +(1774, 35, '2009-08-24 18:38:25', '2009-08-24 20:12:25', 'using'), +(1775, 121, '2009-08-24 19:02:41', '2009-08-24 20:36:41', 'using'), +(1776, 118, '2009-08-24 18:00:51', '2009-08-24 21:00:51', 'Mechanic'), +(1777, 18, '2009-08-24 17:36:09', '2009-08-24 19:10:09', 'using'), +(1778, 435, '2009-08-24 19:26:50', '2009-08-24 21:00:50', 'using'), +(1779, 296, '2009-08-24 18:40:40', '2009-08-24 20:14:40', 'using'), +(1780, 97, '2009-08-27 18:15:27', '2009-08-27 21:42:18', 'Administrator'), +(1781, 36, '2009-08-27 18:42:13', '2009-08-27 21:42:13', 'Mechanic'), +(1782, 155, '2009-08-27 18:16:20', '2009-08-27 21:16:20', 'volunteering'), +(1783, 2, '2009-08-27 16:11:48', '2009-08-27 19:11:48', 'volunteering'), +(1784, 49, '2009-08-27 16:42:52', '2009-08-27 18:16:52', 'using'), +(1785, 49, '2009-08-27 16:11:46', '2009-08-27 19:11:46', 'volunteering'), +(1786, 35, '2009-08-27 19:42:24', '2009-08-27 21:16:24', 'using'), +(1787, 414, '2009-08-27 19:42:21', '2009-08-27 21:16:21', 'using'), +(1788, 421, '2009-08-27 19:42:18', '2009-08-27 21:16:18', 'using'), +(1789, 49, '2009-08-29 12:59:13', '2009-08-29 16:02:54', 'Administrator'), +(1790, 154, '2009-08-29 13:02:39', '2009-08-29 16:02:39', 'Mechanic'), +(1791, 28, '2009-08-29 17:15:37', '2009-08-29 18:49:37', 'using'), +(1792, 61, '2009-08-29 17:15:25', '2009-08-29 18:49:25', 'using'), +(1793, 4, '2009-08-29 16:04:33', '2009-08-29 18:49:40', 'Administrator'), +(1794, 27, '2009-09-03 17:51:28', '2009-09-03 21:13:57', 'Administrator'), +(1795, 291, '2009-09-03 16:52:27', '2009-09-03 18:26:27', 'using'), +(1796, 36, '2009-09-03 16:00:00', '2009-09-03 21:13:54', 'Mechanic'), +(1797, 414, '2009-09-03 18:00:00', '2009-09-03 18:53:49', 'volunteering'), +(1798, 264, '2009-09-03 19:34:09', '2009-09-03 21:08:09', 'using'), +(1799, 50, '2009-09-05 13:15:26', '2009-09-05 17:34:43', 'Administrator'), +(1800, 112, '2009-09-05 12:51:57', '2009-09-05 14:25:57', 'using'), +(1801, 442, '2009-09-05 13:04:26', '2009-09-05 14:38:26', 'using'), +(1802, 154, '2009-09-05 14:00:00', '2009-09-05 17:34:39', 'Mechanic'), +(1803, 444, '2009-09-05 13:52:47', '2009-09-05 15:26:47', 'using'), +(1804, 422, '2009-09-05 14:24:20', '2009-09-05 15:58:20', 'using'), +(1805, 163, '2009-09-05 13:44:06', '2009-09-05 15:18:06', 'using'), +(1806, 263, '2009-09-05 15:56:56', '2009-09-05 17:30:56', 'using'), +(1807, 446, '2009-09-05 14:24:23', '2009-09-05 15:58:23', 'using'), +(1808, 179, '2009-09-05 15:36:05', '2009-09-05 17:10:05', 'using'), +(1809, 447, '2009-09-05 15:56:55', '2009-09-05 17:30:55', 'using'), +(1810, 448, '2009-09-05 14:59:42', '2009-09-05 16:33:42', 'using'), +(1811, 138, '2009-09-05 15:36:31', '2009-09-05 17:10:31', 'using'), +(1812, 4, '2009-09-06 14:05:09', '2009-09-06 17:11:20', 'Administrator'), +(1813, 138, '2009-09-06 14:00:00', '2009-09-06 14:35:50', 'Mechanic'), +(1814, 138, '2009-09-06 13:50:31', '2009-09-06 15:24:31', 'using'), +(1815, 445, '2009-09-06 14:00:00', '2009-09-06 16:59:06', 'volunteering'), +(1816, 5, '2009-09-06 15:25:05', '2009-09-06 16:59:05', 'using'), +(1817, 439, '2009-09-06 15:25:07', '2009-09-06 16:59:07', 'using'), +(1818, 37, '2009-09-08 13:32:21', '2009-09-08 17:09:24', 'Administrator'), +(1819, 191, '2009-09-08 13:22:30', '2009-09-08 14:56:30', 'using'), +(1820, 118, '2009-09-08 14:00:00', '2009-09-08 17:09:21', 'Mechanic'), +(1821, 8, '2009-09-08 13:19:30', '2009-09-08 14:53:30', 'using'), +(1822, 61, '2009-09-08 14:31:14', '2009-09-08 16:05:14', 'dogfucking'), +(1823, 23, '2009-09-08 15:35:19', '2009-09-08 17:09:19', 'using'), +(1824, 442, '2009-09-08 15:10:40', '2009-09-08 16:44:40', 'using'), +(1825, 27, '2009-09-09 14:00:00', '2009-09-09 16:37:23', 'Mechanic'), +(1826, 37, '2009-09-09 15:09:11', '2009-09-09 17:17:30', 'Administrator'), +(1827, 442, '2009-09-09 15:43:27', '2009-09-09 17:17:27', 'using'), +(1828, 454, '2009-09-09 15:43:26', '2009-09-09 17:17:26', 'using'), +(1829, 448, '2009-09-09 14:00:00', '2009-09-09 17:17:26', 'volunteering'), +(1843, 53, '2009-09-11 14:41:15', '2009-09-11 14:41:21', 'using'), +(1832, 36, '2009-09-10 14:07:55', '2009-09-10 15:41:55', 'using'), +(1833, 36, '2009-09-10 15:43:09', '2009-09-10 15:43:53', 'using'), +(1842, 37, '2009-09-11 14:08:08', '2009-09-11 14:53:17', 'Administrator'), +(1834, 155, '2009-09-10 17:02:10', '2009-09-10 17:08:00', 'Administrator'), +(1835, 49, '2009-09-10 17:13:14', '2009-09-10 20:29:00', 'Administrator'), +(1836, 36, '2009-09-10 17:13:46', '2009-09-10 20:28:56', 'Mechanic'), +(1837, 12, '2009-09-10 17:14:19', '2009-09-10 17:47:41', 'volunteering'), +(1838, 337, '2009-09-10 17:41:46', '2009-09-10 20:10:56', 'using'), +(1839, 464, '2009-09-10 19:27:07', '2009-09-10 20:10:55', 'using'), +(1840, 37, '2009-09-11 10:43:52', '2009-09-11 10:53:38', 'Administrator'), +(1841, 36, '2009-09-11 10:44:01', '2009-09-11 10:53:36', 'using'), +(1844, 444, '2009-09-11 14:41:16', '2009-09-11 14:41:19', 'Mechanic'), +(1845, 53, '2009-09-11 14:41:41', '2009-09-11 14:41:49', 'using'), +(1846, 53, '2009-09-11 14:42:49', '2009-09-11 14:42:52', 'using'), +(1847, 53, '2009-09-11 14:44:52', '2009-09-11 14:44:54', 'using'), +(1848, 53, '2009-09-11 14:45:37', '2009-09-11 14:45:39', 'using'), +(1849, 53, '2009-09-11 14:49:11', '2009-09-11 14:49:13', 'using'), +(1850, 53, '2009-09-11 14:49:59', '2009-09-11 14:50:01', 'using'), +(1851, 50, '2009-09-12 14:11:13', '2009-09-12 17:03:45', 'Administrator'), +(1852, 462, '2009-09-12 14:12:59', '2009-09-12 15:31:13', 'using'), +(1853, 4, '2009-09-12 14:31:22', '2009-09-12 17:03:40', 'Mechanic'), +(1854, 424, '2009-09-12 15:14:11', '2009-09-12 15:49:14', 'using'), +(1855, 12, '2009-09-12 15:31:24', '2009-09-12 17:03:36', 'using'), +(1856, 444, '2009-09-12 16:03:49', '2009-09-12 17:03:34', 'volunteering'), +(1857, 296, '2009-09-12 16:21:35', '2009-09-12 17:03:35', 'using'), +(1858, 154, '2009-09-13 12:09:00', '2009-09-13 17:27:34', 'Administrator'), +(1859, 287, '2009-09-13 12:09:32', '2009-09-13 15:20:19', 'Mechanic'), +(1860, 445, '2009-09-13 12:09:53', '2009-09-13 15:20:17', 'using'), +(1861, 155, '2009-09-14 14:18:53', '2009-09-14 14:23:54', 'Administrator'), +(1862, 61, '2009-09-14 14:19:40', '2009-09-14 14:33:52', 'Mechanic'), +(1863, 469, '2009-09-14 14:34:12', '2009-09-14 17:11:02', 'Administrator'), +(1864, 61, '2009-09-14 14:34:31', '2009-09-14 17:10:56', 'Mechanic'), +(1865, 155, '2009-09-14 14:34:53', '2009-09-14 17:10:54', 'volunteering'), +(1866, 9, '2009-09-14 14:35:09', '2009-09-14 17:10:57', 'dogfucking'), +(1867, 470, '2009-09-14 15:53:03', '2009-09-14 16:30:43', 'using'), +(1868, 294, '2009-09-14 16:28:29', '2009-09-14 17:10:55', 'using'), +(1869, 37, '2009-09-14 16:31:02', '2009-09-14 17:10:54', 'volunteering'), +(1870, 49, '2009-09-14 16:31:10', '2009-09-14 17:10:53', 'volunteering'), +(1871, 471, '2009-09-14 16:36:39', '2009-09-14 17:00:36', 'using'), +(1872, 118, '2009-09-15 14:23:48', '2009-09-15 17:28:53', 'Mechanic'), +(1873, 231, '2009-09-15 15:14:48', '2009-09-15 16:48:02', 'using'), +(1874, 37, '2009-09-15 15:15:03', '2009-09-15 15:21:08', 'Administrator'), +(1875, 471, '2009-09-15 15:48:24', '2009-09-15 17:07:57', 'using'), +(1876, 473, '2009-09-15 16:49:27', '2009-09-15 16:59:03', 'using'), +(1877, 363, '2009-09-15 16:55:00', '2009-09-15 17:07:52', 'using'), +(1878, 27, '2009-09-16 13:54:22', '2009-09-16 14:50:01', 'Administrator'), +(1879, 479, '2009-09-16 13:58:51', '2009-09-16 14:50:17', 'volunteering'), +(1880, 448, '2009-09-16 14:16:31', '2009-09-16 17:16:31', 'volunteering'), +(1881, 482, '2009-09-16 14:23:03', '2009-09-16 16:03:17', 'using'), +(1882, 483, '2009-09-16 14:50:40', '2009-09-16 16:12:18', 'using'), +(1883, 265, '2009-09-16 16:11:57', '2009-09-16 19:11:57', 'using'), +(1884, 27, '2009-09-16 16:12:10', '2009-09-16 19:12:10', 'Mechanic'), +(1885, 9, '2009-09-16 16:12:37', '2009-09-16 19:12:37', 'dogfucking'), +(1886, 12, '2009-09-17 17:34:17', '2009-09-17 19:11:10', 'Administrator'), +(1887, 50, '2009-09-19 14:02:44', '2009-09-19 17:20:27', 'Administrator'), +(1888, 138, '2009-09-19 14:03:06', '2009-09-19 14:49:41', 'using'), +(1889, 154, '2009-09-19 14:17:44', '2009-09-19 17:20:24', 'Mechanic'), +(1890, 472, '2009-09-19 14:22:26', '2009-09-19 16:21:33', 'using'), +(1891, 495, '2009-09-19 15:57:48', '2009-09-19 17:07:44', 'using'), +(1892, 47, '2009-09-19 16:02:35', '2009-09-19 16:32:55', 'using'), +(1893, 111, '2009-09-19 16:09:46', '2009-09-19 17:07:48', 'using'), +(1894, 469, '2009-09-21 14:03:32', '2009-09-21 17:05:36', 'Administrator'), +(1895, 61, '2009-09-21 14:26:20', '2009-09-21 17:05:34', 'Mechanic'), +(1896, 49, '2009-09-21 14:41:00', '2009-09-21 17:05:33', 'volunteering'), +(1897, 155, '2009-09-21 15:03:46', '2009-09-21 15:38:57', 'dogfucking'), +(1898, 155, '2009-09-22 15:00:42', '2009-09-22 17:13:33', 'Administrator'), +(1899, 118, '2009-09-22 15:01:31', '2009-09-22 17:07:58', 'Mechanic'), +(1900, 156, '2009-09-22 15:07:10', '2009-09-22 17:07:59', 'dogfucking'), +(1901, 67, '2009-09-22 15:16:29', '2009-09-22 17:07:57', 'using'), +(1902, 179, '2009-09-22 15:20:01', '2009-09-22 17:07:53', 'volunteering'), +(1903, 174, '2009-09-22 15:20:42', '2009-09-22 17:07:56', 'using'), +(1904, 498, '2009-09-22 15:20:51', '2009-09-22 17:07:56', 'using'), +(1905, 456, '2009-09-22 15:21:55', '2009-09-22 17:07:55', 'using'), +(1906, 346, '2009-09-22 16:23:11', '2009-09-22 17:07:54', 'using'), +(1907, 462, '2009-09-23 14:22:17', '2009-09-23 15:08:23', 'using'), +(1908, 49, '2009-09-23 14:50:26', '2009-09-23 17:03:55', 'Mechanic'), +(1909, 506, '2009-09-23 15:12:35', '2009-09-23 15:25:11', 'using'), +(1910, 507, '2009-09-23 15:25:19', '2009-09-23 15:40:38', 'using'), +(1911, 494, '2009-09-23 15:25:27', '2009-09-23 16:58:13', 'using'), +(1912, 361, '2009-09-23 15:40:33', '2009-09-23 16:58:13', 'using'), +(1913, 98, '2009-09-23 15:56:33', '2009-09-23 15:56:35', 'using'), +(1914, 44, '2009-09-23 16:08:06', '2009-09-23 16:58:12', 'using'), +(1915, 491, '2009-09-24 17:12:29', '2009-09-24 19:11:21', 'Administrator'), +(1916, 456, '2009-09-24 17:27:52', '2009-09-24 19:14:26', 'using'), +(1917, 190, '2009-09-24 17:37:50', '2009-09-24 19:07:32', 'using'), +(1918, 174, '2009-09-24 17:39:21', '2009-09-24 19:09:36', 'using'), +(1919, 491, '2009-09-24 19:14:23', '2009-09-24 20:20:11', 'Administrator'), +(1920, 154, '2009-09-26 14:03:57', '2009-09-26 17:14:15', 'Administrator'), +(1921, 510, '2009-09-26 14:10:28', '2009-09-26 17:05:08', 'using'), +(1922, 503, '2009-09-26 14:11:09', '2009-09-26 17:04:50', 'using'), +(1923, 35, '2009-09-26 14:33:04', '2009-09-26 17:05:13', 'using'), +(1924, 50, '2009-09-26 14:38:21', '2009-09-26 17:14:11', 'Mechanic'), +(1925, 174, '2009-09-26 14:45:04', '2009-09-26 17:05:02', 'using'), +(1926, 67, '2009-09-26 15:06:01', '2009-09-26 15:06:15', 'using'), +(1927, 461, '2009-09-26 15:06:07', '2009-09-26 15:06:12', 'volunteering'), +(1928, 67, '2009-09-26 15:06:22', '2009-09-26 17:14:10', 'volunteering'), +(1929, 4, '2009-09-27 12:21:00', '2009-09-28 14:11:11', 'volunteering'), +(1930, 287, '2009-09-27 12:21:00', '2009-09-28 14:10:10', 'using'), +(1931, 80, '2009-09-27 12:24:45', '2009-09-27 13:59:20', 'using'), +(1932, 506, '2009-09-27 12:47:04', '2009-09-27 13:20:01', 'using'), +(1933, 138, '2009-09-27 13:59:00', '2009-09-28 14:10:44', 'using'), +(1934, 49, '2009-09-27 14:46:00', '2009-09-27 14:46:12', 'using'), +(1935, 469, '2009-09-28 14:05:18', '2009-09-28 17:02:02', 'Administrator'), +(1936, 138, '2009-09-28 14:21:22', '2009-09-28 17:01:57', 'using'), +(1937, 163, '2009-09-28 14:48:28', '2009-09-28 17:01:51', 'using'), +(1938, 507, '2009-09-28 16:16:37', '2009-09-28 17:01:49', 'using'), +(1939, 469, '2009-09-28 17:02:31', '2009-09-28 17:02:39', 'Administrator'), +(1940, 479, '2009-09-29 14:00:44', '2009-09-29 17:20:02', 'Administrator'), +(1941, 37, '2009-09-29 14:03:26', '2009-09-29 17:19:57', 'Mechanic'), +(1942, 499, '2009-09-29 15:21:51', '2009-09-29 16:40:14', 'using'), +(1943, 16, '2009-09-29 15:22:39', '2009-09-29 15:48:18', 'using'), +(1944, 456, '2009-09-29 15:22:45', '2009-09-29 15:32:57', 'using'), +(1945, 477, '2009-09-29 15:32:52', '2009-09-29 16:40:24', 'using'), +(1946, 448, '2009-09-30 14:03:08', '2009-09-30 17:20:17', 'Administrator'), +(1947, 518, '2009-09-30 14:53:14', '2009-09-30 16:25:34', 'using'), +(1948, 519, '2009-09-30 14:53:27', '2009-09-30 16:25:37', 'using'), +(1949, 484, '2009-09-30 15:06:58', '2009-09-30 15:40:50', 'using'), +(1950, 363, '2009-09-30 16:25:49', '2009-09-30 16:31:28', 'using'), +(1951, 520, '2009-09-30 17:19:28', '2009-09-30 20:45:54', 'using'), +(1952, 37, '2009-09-30 17:35:05', '2009-09-30 17:51:52', 'Administrator'), +(1953, 308, '2009-09-30 17:35:23', '2009-09-30 18:13:45', 'using'), +(1954, 118, '2009-09-30 17:35:32', '2009-09-30 20:32:03', 'Mechanic'), +(1955, 37, '2009-09-30 18:52:45', '2009-10-01 09:18:15', 'Administrator'), +(1956, 156, '2009-09-30 20:05:11', '2009-10-01 09:18:22', 'Administrator'), +(1957, 37, '2009-10-01 09:18:20', '2009-10-01 09:18:40', 'Administrator'), +(1958, 491, '2009-10-01 17:24:00', '2009-10-01 18:50:36', 'using'), +(1959, 416, '2009-10-01 18:19:48', '2009-10-01 19:50:01', 'using'), +(1960, 491, '2009-10-01 18:50:55', '2009-10-01 20:12:11', 'Administrator'), +(1961, 37, '2009-10-02 14:08:24', '2009-10-02 17:19:02', 'Administrator'), +(1962, 179, '2009-10-02 14:08:50', '2009-10-02 17:19:15', 'Mechanic'), +(1963, 67, '2009-10-03 15:02:03', '2009-10-03 15:02:46', 'volunteering'), +(1964, 50, '2009-10-03 14:00:00', '2009-10-03 17:21:26', 'Mechanic'), +(1965, 67, '2009-10-03 15:02:53', '2009-10-03 17:22:23', 'Administrator'), +(1967, 35, '2009-10-03 14:30:00', '2009-10-03 16:51:41', 'using'), +(1968, 138, '2009-10-03 14:00:00', '2009-10-03 16:42:51', 'using'), +(1969, 447, '2009-10-03 14:00:00', '2009-10-03 16:37:16', 'using'), +(1970, 467, '2009-10-03 14:00:00', '2009-10-03 17:21:27', 'volunteering'), +(1971, 265, '2009-10-03 15:39:37', '2009-10-03 16:37:11', 'using'), +(1973, 308, '2009-10-03 15:44:06', '2009-10-03 16:59:20', 'using'), +(1974, 447, '2009-10-03 16:37:57', '2009-10-03 16:48:38', 'using'), +(1975, 97, '2009-10-03 16:43:10', '2009-10-03 17:21:28', 'volunteering'), +(1976, 187, '2009-10-04 12:15:45', '2009-10-04 15:08:03', 'Administrator'), +(1977, 287, '2009-10-04 12:15:57', '2009-10-04 15:08:00', 'Mechanic'), +(1978, 506, '2009-10-04 14:36:17', '2009-10-04 15:02:23', 'using'), +(1979, 526, '2009-10-04 17:01:18', '2009-10-04 17:05:24', 'using'), +(1980, 118, '2009-10-04 15:00:00', '2009-10-04 17:02:19', 'Working'), +(1981, 118, '2009-10-04 17:02:24', '2009-10-04 17:05:23', 'Mechanic'), +(1982, 118, '2009-10-04 18:06:46', '2009-10-05 14:08:01', 'Administrator'), +(1983, 469, '2009-10-05 14:07:45', '2009-10-05 15:33:16', 'Administrator'), +(1984, 37, '2009-10-05 15:10:00', '2009-10-05 16:50:51', 'volunteering'), +(1985, 218, '2009-10-05 15:11:34', '2009-10-05 16:50:52', 'using'), +(1986, 469, '2009-10-05 16:49:36', '2009-10-05 16:52:02', 'Administrator'), +(1987, 479, '2009-10-06 14:18:35', '2009-10-06 16:05:00', 'Administrator'), +(1988, 37, '2009-10-06 14:18:50', '2009-10-06 17:11:14', 'volunteering'), +(1989, 118, '2009-10-06 14:22:07', '2009-10-06 17:11:13', 'Mechanic'), +(1990, 12, '2009-10-06 14:27:42', '2009-10-06 17:11:12', 'dogfucking'), +(1991, 456, '2009-10-06 14:50:19', '2009-10-06 15:31:21', 'volunteering'), +(1992, 138, '2009-10-06 15:23:12', '2009-10-06 16:54:58', 'using'), +(1993, 524, '2009-10-06 15:45:39', '2009-10-06 16:54:59', 'using'), +(1994, 479, '2009-10-06 16:26:32', '2009-10-06 17:11:16', 'Administrator'), +(1995, 363, '2009-10-06 16:26:45', '2009-10-06 17:11:13', 'using'), +(1996, 448, '2009-10-07 13:54:55', '2009-10-07 14:25:56', 'Administrator'), +(1997, 27, '2009-10-07 13:55:30', '2009-10-07 17:24:48', 'Mechanic'), +(1998, 456, '2009-10-07 13:56:00', '2009-10-07 15:44:33', 'using'), +(1999, 448, '2009-10-07 14:46:02', '2009-10-07 17:25:06', 'Administrator'), +(2000, 503, '2009-10-07 15:31:34', '2009-10-07 16:42:24', 'using'), +(2001, 508, '2009-10-07 15:45:02', '2009-10-07 18:41:02', 'using'), +(2002, 210, '2009-10-07 15:51:01', '2009-10-07 20:10:12', 'using'), +(2003, 503, '2009-10-07 16:58:38', '2009-10-07 17:24:15', 'using'), +(2004, 174, '2009-10-07 17:25:03', '2009-10-07 20:10:11', 'Mechanic'), +(2005, 156, '2009-10-07 17:26:39', '2009-10-07 20:10:15', 'Administrator'), +(2006, 67, '2009-10-07 18:41:12', '2009-10-07 19:50:36', 'using'), +(2007, 49, '2009-10-08 14:19:16', '2009-10-08 17:00:43', 'dogfucking'), +(2008, 78, '2009-10-08 14:20:25', '2009-10-08 17:00:48', 'Administrator'), +(2009, 110, '2009-10-08 14:44:19', '2009-10-08 17:00:44', 'Mechanic'), +(2010, 12, '2009-10-08 14:45:52', '2009-10-08 15:33:16', 'volunteering'), +(2011, 491, '2009-10-08 17:01:20', '2009-10-08 20:09:56', 'Administrator'), +(2012, 36, '2009-10-08 17:07:52', '2009-10-08 20:09:49', 'Mechanic'), +(2013, 469, '2009-10-09 14:07:37', '2009-10-09 16:43:21', 'Administrator'), +(2014, 179, '2009-10-09 14:23:32', '2009-10-09 16:42:54', 'Mechanic'), +(2015, 37, '2009-10-09 14:23:51', '2009-10-09 16:43:10', 'dogfucking'), +(2016, 67, '2009-10-10 14:19:49', '2009-10-10 17:15:27', 'Administrator'), +(2017, 50, '2009-10-10 14:20:31', '2009-10-10 17:15:23', 'Mechanic'), +(2018, 363, '2009-10-10 14:26:38', '2009-10-10 17:05:01', 'using'), +(2019, 467, '2009-10-10 14:29:55', '2009-10-10 14:29:58', 'using'), +(2020, 467, '2009-10-10 14:30:06', '2009-10-10 16:55:00', 'volunteering'), +(2021, 35, '2009-10-10 14:40:05', '2009-10-10 17:11:40', 'using'), +(2022, 97, '2009-10-10 16:30:01', '2009-10-10 17:10:45', 'using'), +(2023, 187, '2009-10-11 12:34:27', '2009-10-11 14:59:08', 'Administrator'), +(2024, 287, '2009-10-11 12:34:34', '2009-10-11 14:59:03', 'Mechanic'), +(2025, 179, '2009-10-11 13:03:23', '2009-10-11 14:59:02', 'using'), +(2026, 479, '2009-10-13 14:00:23', '2009-10-13 16:59:49', 'Administrator'), +(2027, 118, '2009-10-13 14:25:13', '2009-10-13 16:59:45', 'Mechanic'), +(2028, 155, '2009-10-13 15:34:47', '2009-10-13 15:35:11', 'using'), +(2029, 155, '2009-10-13 15:35:23', '2009-10-13 16:59:43', 'volunteering'), +(2030, 414, '2009-10-13 15:37:28', '2009-10-13 16:59:44', 'volunteering'), +(2031, 448, '2009-10-14 14:28:25', '2009-10-14 17:01:11', 'Administrator'), +(2032, 533, '2009-10-14 14:29:24', '2009-10-14 14:35:19', 'using'), +(2033, 27, '2009-10-14 14:32:10', '2009-10-14 17:17:44', 'Mechanic'), +(2034, 36, '2009-10-14 14:33:15', '2009-10-14 17:17:37', 'using'), +(2035, 264, '2009-10-14 14:34:31', '2009-10-14 17:53:53', 'using'), +(2036, 478, '2009-10-14 14:41:24', '2009-10-14 17:17:35', 'using'), +(2037, 37, '2009-10-14 17:01:25', '2009-10-14 19:54:37', 'Administrator'), +(2038, 27, '2009-10-14 17:18:04', '2009-10-14 18:09:45', 'dogfucking'), +(2039, 67, '2009-10-14 17:18:16', '2009-10-14 19:54:22', 'Mechanic'), +(2040, 520, '2009-10-14 17:24:13', '2009-10-14 18:45:37', 'using'), +(2041, 429, '2009-10-14 17:53:41', '2009-10-14 19:08:48', 'using'), +(2042, 37, '2009-10-15 14:35:20', '2009-10-15 20:00:06', 'Administrator'), +(2043, 110, '2009-10-15 14:35:33', '2009-10-15 17:03:49', 'Mechanic'), +(2044, 12, '2009-10-15 16:22:30', '2009-10-15 19:18:44', 'using'), +(2045, 491, '2009-10-15 16:22:51', '2009-10-15 17:03:44', 'dogfucking'), +(2046, 36, '2009-10-15 17:03:53', '2009-10-15 20:00:03', 'Mechanic'), +(2047, 491, '2009-10-15 17:56:14', '2009-10-15 20:00:01', 'volunteering'), +(2048, 441, '2009-10-16 14:31:50', '2009-10-16 17:17:46', 'Administrator'), +(2049, 179, '2009-10-16 14:33:13', '2009-10-17 13:54:37', 'Mechanic'), +(2050, 50, '2009-10-17 13:54:33', '2009-10-17 17:30:29', 'Administrator'), +(2051, 467, '2009-10-17 14:11:32', '2009-10-17 16:35:47', 'volunteering'), +(2052, 210, '2009-10-17 14:13:11', '2009-10-17 17:30:23', 'using'), +(2053, 67, '2009-10-17 14:15:09', '2009-10-17 17:09:34', 'Mechanic'), +(2054, 35, '2009-10-17 14:23:31', '2009-10-17 17:30:25', 'using'), +(2055, 535, '2009-10-17 14:57:22', '2009-10-17 15:20:55', 'using'), +(2056, 536, '2009-10-17 16:43:36', '2009-10-17 16:59:58', 'using'), +(2057, 187, '2009-10-18 12:40:06', '2009-10-18 15:16:27', 'Administrator'), +(2058, 287, '2009-10-18 12:40:17', '2009-10-18 15:16:22', 'Mechanic'), +(2059, 357, '2009-10-18 14:02:16', '2009-10-18 15:16:21', 'using'), +(2060, 469, '2009-10-19 14:04:56', '2009-10-19 17:05:47', 'Administrator'), +(2061, 49, '2009-10-19 14:06:40', '2009-10-19 16:47:41', 'dogfucking'), +(2062, 155, '2009-10-20 14:29:30', '2009-10-20 14:44:34', 'Administrator'), +(2063, 118, '2009-10-20 14:29:43', '2009-10-20 17:45:36', 'Mechanic'), +(2064, 155, '2009-10-20 14:52:51', '2009-10-20 17:51:08', 'Administrator'), +(2065, 149, '2009-10-20 15:12:13', '2009-10-20 17:24:59', 'using'), +(2066, 539, '2009-10-20 15:32:12', '2009-10-20 17:32:45', 'using'), +(2067, 414, '2009-10-20 15:46:36', '2009-10-20 17:18:14', 'volunteering'), +(2068, 518, '2009-10-20 15:52:44', '2009-10-20 15:58:00', 'using'), +(2069, 537, '2009-10-20 16:22:11', '2009-10-20 16:55:08', 'using'), +(2070, 16, '2009-10-20 17:25:03', '2009-10-20 17:33:01', 'using'), +(2071, 27, '2009-10-21 14:08:04', '2009-10-21 17:47:31', 'Administrator'), +(2072, 510, '2009-10-21 14:58:25', '2009-10-21 14:59:59', 'using'), +(2073, 16, '2009-10-21 15:59:49', '2009-10-21 17:36:31', 'using'), +(2074, 35, '2009-10-21 17:44:07', '2009-10-21 19:58:11', 'using'), +(2075, 363, '2009-10-21 17:44:20', '2009-10-21 18:41:10', 'using'), +(2076, 174, '2009-10-21 17:44:28', '2009-10-21 19:58:12', 'Mechanic'), +(2077, 37, '2009-10-21 17:47:41', '2009-10-21 19:58:15', 'Administrator'), +(2078, 37, '2009-10-21 20:07:35', '2009-10-21 20:07:40', 'Administrator'), +(2079, 78, '2009-10-22 14:00:10', '2009-10-22 16:48:54', 'Administrator'), +(2080, 110, '2009-10-22 14:00:25', '2009-10-22 19:53:16', 'Mechanic'), +(2081, 491, '2009-10-22 16:50:29', '2009-10-22 20:09:26', 'Administrator'), +(2082, 538, '2009-10-22 17:03:08', '2009-10-22 19:53:31', 'using'), +(2083, 36, '2009-10-22 16:53:00', '2009-10-22 20:09:22', 'Working'), +(2084, 441, '2009-10-23 13:59:17', '2009-10-23 17:06:35', 'Administrator'), +(2085, 179, '2009-10-23 14:01:28', '2009-10-23 17:06:31', 'Mechanic'), +(2086, 67, '2009-10-24 14:14:51', '2009-10-24 17:35:44', 'Administrator'), +(2087, 35, '2009-10-24 14:15:09', '2009-10-24 16:59:57', 'using'), +(2088, 50, '2009-10-24 14:15:16', '2009-10-24 17:35:42', 'Mechanic'), +(2089, 138, '2009-10-24 14:22:04', '2009-10-24 15:02:08', 'using'), +(2090, 543, '2009-10-24 15:01:24', '2009-10-24 17:21:51', 'using'), +(2091, 4, '2009-10-24 15:48:21', '2009-10-24 17:35:43', 'dogfucking'), +(2092, 467, '2009-10-24 16:07:33', '2009-10-24 17:28:24', 'volunteering'), +(2093, 392, '2009-10-24 16:27:21', '2009-10-24 17:21:55', 'using'), +(2094, 187, '2009-10-25 12:23:48', '2009-10-25 14:50:22', 'Administrator'), +(2095, 287, '2009-10-25 12:23:58', '2009-10-25 14:50:17', 'Mechanic'), +(2096, 478, '2009-10-25 13:38:20', '2009-10-25 14:50:16', 'using'), +(2097, 36, '2009-10-25 13:47:40', '2009-10-25 14:50:15', 'using'), +(2098, 419, '2009-10-25 13:48:44', '2009-10-25 14:50:14', 'using'), +(2099, 469, '2009-10-26 14:06:38', '2009-10-26 16:43:57', 'Administrator'), +(2100, 49, '2009-10-26 15:54:05', '2009-10-26 16:36:56', 'dogfucking'), +(2101, 479, '2009-10-27 14:08:55', '2009-10-28 13:55:55', 'Administrator'), +(2102, 118, '2009-10-27 14:15:00', '2009-10-28 14:01:09', 'Working'), +(2103, 510, '2009-10-27 15:20:13', '2009-10-27 16:21:14', 'using'), +(2104, 12, '2009-10-27 15:20:31', '2009-10-28 14:01:10', 'using'), +(2105, 469, '2009-10-28 13:52:45', '2009-10-28 17:00:10', 'Administrator'), +(2106, 27, '2009-10-28 14:02:08', '2009-10-28 17:31:39', 'Mechanic'), +(2107, 37, '2009-10-28 14:02:39', '2009-10-28 17:00:08', 'dogfucking'), +(2108, 49, '2009-10-28 15:53:38', '2009-10-28 16:44:09', 'volunteering'), +(2109, 545, '2009-10-28 16:28:06', '2009-10-28 18:58:11', 'using'), +(2110, 49, '2009-10-28 16:53:41', '2009-10-28 18:58:23', 'dogfucking'), +(2111, 37, '2009-10-28 17:00:15', '2009-10-29 17:08:15', 'Administrator'), +(2112, 174, '2009-10-28 17:31:49', '2009-10-29 13:57:13', 'Mechanic'), +(2113, 97, '2009-10-28 17:43:05', '2009-10-28 18:58:24', 'using'), +(2114, 27, '2009-10-29 13:22:27', '2009-10-29 17:08:40', 'Administrator'), +(2115, 110, '2009-10-29 13:57:24', '2009-10-29 20:01:24', 'Mechanic'), +(2116, 78, '2009-10-29 13:57:48', '2009-10-29 17:07:04', 'volunteering'), +(2117, 179, '2009-10-29 14:00:00', '2009-10-29 14:05:00', 'using'), +(2118, 491, '2009-10-29 15:21:27', '2009-10-29 17:09:21', 'Administrator'), +(2119, 547, '2009-10-29 15:55:51', '2009-10-29 17:06:59', 'using'), +(2120, 78, '2009-10-29 17:08:33', '2009-10-29 17:40:32', 'Administrator'), +(2121, 4, '2009-10-29 17:38:06', '2009-10-29 20:00:55', 'Administrator'), +(2122, 491, '2009-10-29 17:40:52', '2009-10-29 20:01:28', 'Administrator'), +(2123, 49, '2009-10-30 14:02:25', '2009-10-30 16:52:35', 'Administrator'), +(2124, 264, '2009-10-30 15:50:28', '2009-10-30 16:52:32', 'using'), +(2125, 67, '2009-10-31 14:09:51', '2009-10-31 17:12:56', 'Administrator'), +(2126, 50, '2009-10-31 14:10:00', '2009-10-31 17:12:52', 'Mechanic'), +(2127, 49, '2009-10-31 23:18:59', '2009-11-01 12:11:17', 'Administrator'), +(2128, 187, '2009-11-01 12:10:55', '2009-11-01 14:48:28', 'Administrator'), +(2129, 287, '2009-11-01 12:11:07', '2009-11-01 14:48:25', 'Mechanic'), +(2130, 469, '2009-11-02 14:15:43', '2009-11-02 16:45:48', 'Administrator'), +(2131, 37, '2009-11-03 12:34:18', '2009-11-03 12:35:23', 'Administrator'), +(2132, 479, '2009-11-03 14:12:02', '2009-11-03 17:02:20', 'Administrator'), +(2133, 37, '2009-11-03 14:12:11', '2009-11-03 15:15:44', 'volunteering'), +(2134, 550, '2009-11-03 15:15:43', '2009-11-03 17:01:51', 'using'), +(2135, 118, '2009-11-03 15:15:48', '2009-11-03 17:01:50', 'Mechanic'), +(2136, 551, '2009-11-03 15:33:47', '2009-11-03 16:04:08', 'using'), +(2137, 414, '2009-11-03 15:35:55', '2009-11-03 15:46:13', 'volunteering'), +(2138, 27, '2009-11-04 14:21:47', '2009-11-04 17:37:27', 'Administrator'), +(2139, 210, '2009-11-04 15:47:50', '2009-11-04 17:26:48', 'using'), +(2140, 421, '2009-11-04 16:59:42', '2009-11-04 17:37:24', 'using'), +(2141, 49, '2009-11-04 17:35:03', '2009-11-04 17:37:25', 'Mechanic'), +(2142, 49, '2009-11-04 17:37:33', '2009-11-04 19:59:17', 'Administrator'), +(2143, 174, '2009-11-04 17:37:47', '2009-11-04 19:59:14', 'Mechanic'), +(2144, 27, '2009-11-04 17:37:53', '2009-11-04 19:49:57', 'using'), +(2145, 421, '2009-11-04 17:37:58', '2009-11-04 18:36:39', 'using'), +(2146, 80, '2009-11-04 18:36:22', '2009-11-04 19:59:15', 'using'), +(2147, 78, '2009-11-05 14:08:17', '2009-11-05 16:59:49', 'Administrator'), +(2148, 110, '2009-11-05 14:00:00', '2009-11-05 16:59:44', 'Working'), +(2149, 363, '2009-11-05 14:28:41', '2009-11-05 14:41:35', 'using'), +(2150, 510, '2009-11-05 15:21:30', '2009-11-05 16:09:34', 'using'), +(2151, 27, '2009-11-05 15:56:19', '2009-11-05 16:31:08', 'volunteering'), +(2152, 523, '2009-11-05 16:00:00', '2009-11-05 16:59:34', 'using'), +(2153, 491, '2009-11-05 17:03:24', '2009-11-05 20:03:42', 'Administrator'), +(2154, 36, '2009-11-05 17:03:30', '2009-11-05 20:03:36', 'Mechanic'), +(2155, 49, '2009-11-06 14:07:30', '2009-11-07 14:04:38', 'Administrator'), +(2156, 179, '2009-11-06 14:08:02', '2009-11-07 14:04:48', 'Mechanic'), +(2157, 37, '2009-11-06 14:08:18', '2009-11-07 14:04:36', 'dogfucking'), +(2158, 67, '2009-11-07 14:04:30', '2009-11-07 17:15:44', 'Administrator'), +(2159, 50, '2009-11-07 14:04:56', '2009-11-07 17:15:40', 'Mechanic'), +(2160, 36, '2009-11-07 14:05:04', '2009-11-07 17:15:39', 'using'), +(2161, 421, '2009-11-07 14:23:35', '2009-11-07 17:09:13', 'using'), +(2162, 467, '2009-11-07 15:22:59', '2009-11-07 16:51:02', 'volunteering'), +(2163, 187, '2009-11-08 12:19:58', '2009-11-08 14:06:52', 'Administrator'), +(2164, 287, '2009-11-08 12:20:07', '2009-11-08 15:00:28', 'Mechanic'), +(2165, 348, '2009-11-08 12:20:08', '2009-11-08 12:20:11', 'using'), +(2166, 548, '2009-11-08 12:51:13', '2009-11-08 14:39:53', 'using'), +(2167, 421, '2009-11-08 12:53:57', '2009-11-08 15:00:28', 'using'), +(2168, 27, '2009-11-08 13:12:23', '2009-11-08 15:00:27', 'using'), +(2169, 253, '2009-11-08 14:00:33', '2009-11-08 15:00:26', 'using'), +(2170, 187, '2009-11-08 14:12:18', '2009-11-08 15:00:31', 'Administrator'), +(2171, 37, '2009-11-08 14:17:50', '2009-11-08 15:00:25', 'using'), +(2172, 4, '2009-11-08 14:31:13', '2009-11-08 15:00:24', 'volunteering'), +(2173, 469, '2009-11-09 14:02:23', '2009-11-09 16:53:08', 'Administrator'), +(2174, 421, '2009-11-09 14:08:21', '2009-11-09 16:19:38', 'using'), +(2175, 37, '2009-11-09 14:09:03', '2009-11-09 16:19:39', 'dogfucking'), +(2176, 479, '2009-11-10 14:03:59', '2009-11-10 16:44:51', 'Administrator'), +(2177, 12, '2009-11-10 14:04:08', '2009-11-10 16:59:46', 'Mechanic'), +(2178, 37, '2009-11-10 14:04:21', '2009-11-10 15:52:28', 'volunteering'), +(2179, 155, '2009-11-10 15:52:41', '2009-11-10 16:59:45', 'dogfucking'), +(2180, 414, '2009-11-10 15:52:49', '2009-11-10 15:52:51', 'using'), +(2181, 414, '2009-11-10 15:52:58', '2009-11-10 16:59:46', 'dogfucking'), +(2182, 156, '2009-11-10 16:00:32', '2009-11-10 16:59:47', 'using'), +(2183, 479, '2009-11-10 16:44:55', '2009-11-10 16:59:51', 'Administrator'), +(2184, 37, '2009-11-11 15:38:19', '2009-11-11 16:55:15', 'Administrator'), +(2185, 27, '2009-11-11 15:38:41', '2009-11-11 19:21:13', 'Mechanic'), +(2186, 12, '2009-11-11 15:38:51', '2009-11-11 19:06:30', 'using'), +(2187, 156, '2009-11-11 15:39:03', '2009-11-11 19:21:14', 'using'), +(2188, 557, '2009-11-11 15:42:25', '2009-11-11 17:27:05', 'using'), +(2189, 548, '2009-11-11 15:44:13', '2009-11-11 17:21:12', 'using'), +(2190, 510, '2009-11-11 17:21:04', '2009-11-11 19:21:18', 'Administrator'), +(2191, 78, '2009-11-12 13:58:44', '2009-11-12 16:59:53', 'Administrator'), +(2192, 110, '2009-11-12 14:00:00', '2009-11-12 16:59:29', 'using'), +(2193, 421, '2009-11-12 15:12:32', '2009-11-12 16:59:42', 'using'), +(2194, 554, '2009-11-12 15:37:39', '2009-11-12 16:59:43', 'using'), +(2195, 37, '2009-11-13 14:05:46', '2009-11-13 17:17:17', 'Administrator'), +(2196, 179, '2009-11-13 14:06:11', '2009-11-13 17:17:14', 'Mechanic'), +(2197, 554, '2009-11-13 14:41:02', '2009-11-13 17:17:14', 'using'), +(2198, 429, '2009-11-13 16:35:57', '2009-11-13 17:17:13', 'using'), +(2199, 67, '2009-11-14 13:58:28', '2009-11-14 17:03:24', 'Administrator'), +(2200, 50, '2009-11-14 13:58:39', '2009-11-14 17:03:20', 'Mechanic'), +(2201, 558, '2009-11-14 14:19:50', '2009-11-14 15:46:17', 'using'), +(2202, 554, '2009-11-14 14:41:15', '2009-11-14 17:03:21', 'using'), +(2203, 5, '2009-11-14 15:53:41', '2009-11-14 16:47:10', 'using'), +(2204, 117, '2009-11-14 16:41:08', '2009-11-14 17:03:22', 'using'); +INSERT INTO `visits` (`visitID`, `userID`, `intime`, `endout`, `activity`) VALUES +(2205, 187, '2009-11-15 12:11:39', '2009-11-15 14:56:26', 'Administrator'), +(2206, 287, '2009-11-15 12:11:45', '2009-11-15 14:56:19', 'Mechanic'), +(2207, 469, '2009-11-16 14:10:11', '2009-11-16 16:46:26', 'Administrator'), +(2208, 555, '2009-11-16 15:00:18', '2009-11-16 15:05:42', 'using'), +(2209, 469, '2009-11-16 16:53:51', '2009-11-16 16:56:03', 'Administrator'), +(2210, 479, '2009-11-17 14:03:24', '2009-11-17 17:05:20', 'Administrator'), +(2211, 118, '2009-11-17 14:03:44', '2009-11-17 16:57:42', 'Mechanic'), +(2212, 414, '2009-11-17 15:07:38', '2009-11-17 16:57:42', 'using'), +(2213, 155, '2009-11-17 15:07:46', '2009-11-17 16:57:33', 'using'), +(2214, 49, '2009-11-18 13:30:54', '2009-11-18 13:31:18', 'Administrator'), +(2215, 49, '2009-11-18 14:06:33', '2009-11-18 18:05:33', 'Administrator'), +(2216, 503, '2009-11-18 14:09:31', '2009-11-18 18:05:10', 'Mechanic'), +(2217, 106, '2009-11-18 15:06:19', '2009-11-18 17:39:49', 'volunteering'), +(2218, 329, '2009-11-18 16:04:21', '2009-11-18 17:39:47', 'volunteering'), +(2219, 563, '2009-11-18 16:18:17', '2009-11-19 13:50:34', 'volunteering'), +(2220, 510, '2009-11-18 17:15:23', '2009-11-18 17:40:02', 'using'), +(2221, 97, '2009-11-18 17:18:41', '2009-11-18 17:26:14', 'using'), +(2222, 510, '2009-11-18 17:40:16', '2009-11-18 18:06:01', 'volunteering'), +(2223, 544, '2009-11-18 18:03:25', '2009-11-18 18:24:04', 'using'), +(2224, 174, '2009-11-18 18:05:20', '2009-11-18 19:58:07', 'Mechanic'), +(2225, 510, '2009-11-18 18:06:21', '2009-11-18 19:58:44', 'Administrator'), +(2226, 78, '2009-11-19 13:46:13', '2009-11-19 17:46:44', 'Administrator'), +(2227, 110, '2009-11-19 13:48:10', '2009-11-19 17:02:50', 'Mechanic'), +(2228, 179, '2009-11-19 14:08:52', '2009-11-19 15:27:39', 'using'), +(2229, 36, '2009-11-19 17:03:15', '2009-11-19 20:13:25', 'Mechanic'), +(2230, 491, '2009-11-19 17:21:55', '2009-11-19 17:46:42', 'volunteering'), +(2231, 184, '2009-11-19 17:23:56', '2009-11-19 19:29:27', 'using'), +(2232, 491, '2009-11-19 18:04:03', '2009-11-19 20:13:41', 'Administrator'), +(2233, 274, '2009-11-19 18:18:52', '2009-11-19 19:01:15', 'using'), +(2234, 296, '2009-11-19 19:01:13', '2009-11-19 19:16:50', 'using'), +(2235, 491, '2009-11-19 20:19:09', '2009-11-19 20:21:11', 'Administrator'), +(2236, 37, '2009-11-20 14:05:28', '2009-11-20 17:14:36', 'Administrator'), +(2237, 179, '2009-11-20 14:26:04', '2009-11-20 17:14:34', 'Mechanic'), +(2238, 156, '2009-11-20 14:26:23', '2009-11-20 17:00:59', 'dogfucking'), +(2239, 329, '2009-11-20 15:11:12', '2009-11-20 17:01:25', 'volunteering'), +(2240, 67, '2009-11-21 14:06:03', '2009-11-21 17:19:38', 'Administrator'), +(2241, 50, '2009-11-21 14:06:14', '2009-11-21 17:19:35', 'Mechanic'), +(2242, 554, '2009-11-21 14:27:16', '2009-11-21 17:19:34', 'using'), +(2243, 184, '2009-11-21 14:38:11', '2009-11-21 17:19:33', 'using'), +(2244, 534, '2009-11-21 14:43:10', '2009-11-21 14:58:48', 'using'), +(2245, 564, '2009-11-21 15:46:10', '2009-11-21 17:19:32', 'using'), +(2246, 67, '2009-11-21 17:30:18', '2009-11-21 17:31:33', 'Administrator'), +(2247, 187, '2009-11-22 12:12:10', '2009-11-22 14:58:09', 'Administrator'), +(2248, 287, '2009-11-22 12:36:31', '2009-11-22 14:58:06', 'Mechanic'), +(2249, 469, '2009-11-23 14:04:19', '2009-11-23 16:46:49', 'Administrator'), +(2250, 480, '2009-11-23 14:10:09', '2009-11-23 16:45:05', 'using'), +(2251, 118, '2009-11-24 13:39:17', '2009-11-24 14:00:37', 'Administrator'), +(2252, 479, '2009-11-24 14:00:51', '2009-11-25 14:13:59', 'Administrator'), +(2253, 118, '2009-11-24 14:01:04', '2009-11-25 14:13:50', 'Mechanic'), +(2254, 184, '2009-11-24 16:00:05', '2009-11-25 14:13:48', 'using'), +(2255, 49, '2009-11-25 14:13:43', '2009-11-25 17:10:33', 'Administrator'), +(2256, 503, '2009-11-25 14:15:55', '2009-11-25 17:56:48', 'Mechanic'), +(2257, 566, '2009-11-25 15:22:20', '2009-11-25 16:02:35', 'dogfucking'), +(2258, 106, '2009-11-25 15:22:34', '2009-11-25 17:45:40', 'volunteering'), +(2259, 174, '2009-11-25 16:21:17', '2009-11-25 17:57:03', 'using'), +(2260, 510, '2009-11-25 17:09:56', '2009-11-25 17:10:53', 'volunteering'), +(2261, 510, '2009-11-25 17:46:27', '2009-11-25 20:03:03', 'Administrator'), +(2262, 174, '2009-11-25 17:57:13', '2009-11-25 20:03:12', 'Mechanic'), +(2263, 510, '2009-11-25 20:03:21', '2009-11-25 20:03:25', 'Administrator'), +(2264, 78, '2009-11-26 14:04:18', '2009-11-26 17:01:53', 'Administrator'), +(2265, 110, '2009-11-26 14:04:28', '2009-11-26 17:01:51', 'Mechanic'), +(2266, 555, '2009-11-26 14:04:42', '2009-11-26 15:21:17', 'using'), +(2267, 557, '2009-11-26 14:05:20', '2009-11-26 15:00:42', 'using'), +(2268, 567, '2009-11-26 15:21:14', '2009-11-26 16:39:50', 'using'), +(2269, 498, '2009-11-26 15:26:23', '2009-11-26 16:40:08', 'using'), +(2270, 537, '2009-11-26 16:17:47', '2009-11-26 16:24:15', 'using'), +(2271, 491, '2009-11-26 17:42:49', '2009-11-26 19:50:42', 'Administrator'), +(2272, 36, '2009-11-26 17:42:56', '2009-11-26 19:50:29', 'Mechanic'), +(2273, 554, '2009-11-26 18:03:24', '2009-11-26 19:50:39', 'using'), +(2274, 491, '2009-11-26 19:50:49', '2009-11-26 20:00:20', 'Administrator'), +(2275, 37, '2009-11-27 14:38:19', '2009-11-27 17:17:25', 'Administrator'), +(2276, 179, '2009-11-27 14:38:29', '2009-11-27 17:17:23', 'Mechanic'), +(2277, 156, '2009-11-27 14:38:42', '2009-11-27 17:17:23', 'using'), +(2278, 222, '2009-11-27 14:40:13', '2009-11-27 17:17:22', 'using'), +(2279, 480, '2009-11-27 14:40:27', '2009-11-27 17:17:21', 'using'), +(2280, 37, '2009-11-27 17:18:08', '2009-11-27 17:18:14', 'Administrator'), +(2281, 4, '2009-11-28 14:08:24', '2009-11-29 12:29:59', 'Administrator'), +(2282, 50, '2009-11-28 14:08:00', '2009-11-29 12:29:54', 'using'), +(2283, 36, '2009-11-28 14:21:43', '2009-11-28 16:37:54', 'using'), +(2284, 187, '2009-11-29 12:05:46', '2009-11-29 13:53:25', 'Administrator'), +(2285, 287, '2009-11-29 12:30:13', '2009-11-29 13:53:22', 'Mechanic'), +(2286, 36, '2009-11-29 13:11:51', '2009-11-29 13:52:51', 'using'), +(2287, 49, '2009-11-29 13:31:02', '2009-11-29 13:52:50', 'dogfucking'), +(2288, 97, '2009-11-29 13:31:09', '2009-11-29 13:52:49', 'dogfucking'), +(2289, 163, '2009-11-29 13:31:27', '2009-11-29 13:52:48', 'dogfucking'), +(2290, 187, '2009-11-29 13:57:32', '2009-11-29 15:04:40', 'Administrator'), +(2291, 287, '2009-11-29 13:57:38', '2009-11-29 15:04:38', 'Mechanic'), +(2292, 184, '2009-11-29 13:58:01', '2009-11-29 15:04:37', 'using'), +(2293, 469, '2009-11-30 14:08:02', '2009-11-30 16:48:29', 'Administrator'), +(2294, 329, '2009-11-30 15:11:58', '2009-11-30 16:34:57', 'volunteering'), +(2295, 49, '2009-11-30 15:12:12', '2009-11-30 16:48:24', 'volunteering'), +(2296, 479, '2009-12-01 14:11:25', '2009-12-01 17:37:43', 'Administrator'), +(2297, 118, '2009-12-01 14:11:37', '2009-12-01 17:37:40', 'Mechanic'), +(2298, 155, '2009-12-01 14:11:45', '2009-12-01 17:37:39', 'volunteering'), +(2299, 12, '2009-12-01 14:12:01', '2009-12-01 14:41:32', 'volunteering'), +(2300, 570, '2009-12-01 14:24:55', '2009-12-01 15:40:45', 'using'), +(2301, 329, '2009-12-01 14:33:26', '2009-12-01 17:12:34', 'volunteering'), +(2302, 414, '2009-12-01 15:40:20', '2009-12-01 15:40:33', 'using'), +(2303, 414, '2009-12-01 15:40:41', '2009-12-01 17:12:37', 'volunteering'), +(2304, 37, '2009-12-02 12:40:08', '2009-12-02 15:35:29', 'Administrator'), +(2305, 49, '2009-12-02 14:03:51', '2009-12-02 14:04:01', 'Mechanic'), +(2306, 503, '2009-12-02 14:04:07', '2009-12-02 18:07:17', 'Mechanic'), +(2307, 49, '2009-12-02 14:04:13', '2009-12-02 14:04:15', 'volunteering'), +(2308, 444, '2009-12-02 14:04:20', '2009-12-02 15:40:26', 'dogfucking'), +(2309, 194, '2009-12-02 14:14:28', '2009-12-02 15:40:39', 'using'), +(2310, 291, '2009-12-02 14:38:23', '2009-12-02 16:50:41', 'using'), +(2311, 106, '2009-12-02 15:38:57', '2009-12-02 17:28:31', 'Administrator'), +(2312, 49, '2009-12-02 15:40:36', '2009-12-02 18:07:23', 'dogfucking'), +(2313, 510, '2009-12-02 17:21:56', '2009-12-02 17:28:15', 'volunteering'), +(2314, 510, '2009-12-02 17:28:43', '2009-12-03 12:47:14', 'Administrator'), +(2315, 49, '2009-12-02 18:07:38', '2009-12-02 20:25:41', 'Mechanic'), +(2316, 78, '2009-12-03 13:55:29', '2009-12-03 16:58:59', 'Administrator'), +(2317, 110, '2009-12-03 14:00:00', '2009-12-03 16:58:45', 'using'), +(2318, 78, '2009-12-03 17:04:06', '2009-12-03 17:04:47', 'Administrator'), +(2319, 36, '2009-12-03 17:04:40', '2009-12-03 19:58:00', 'Mechanic'), +(2320, 37, '2009-12-03 17:48:37', '2009-12-03 18:57:24', 'Administrator'), +(2321, 462, '2009-12-03 17:49:02', '2009-12-03 17:51:00', 'using'), +(2322, 491, '2009-12-03 18:57:30', '2009-12-03 19:58:03', 'Administrator'), +(2323, 187, '2009-12-03 19:02:50', '2009-12-03 19:39:10', 'volunteering'), +(2324, 49, '2009-12-03 20:05:25', '2009-12-03 20:07:03', 'Administrator'), +(2325, 37, '2009-12-04 14:17:12', '2009-12-05 14:06:48', 'Administrator'), +(2326, 118, '2009-12-04 14:17:40', '2009-12-04 16:45:19', 'dogfucking'), +(2327, 179, '2009-12-04 14:17:58', '2009-12-05 14:07:00', 'Mechanic'), +(2328, 67, '2009-12-05 14:06:32', '2009-12-05 17:05:25', 'Administrator'), +(2329, 50, '2009-12-05 14:07:09', '2009-12-05 17:05:18', 'Mechanic'), +(2330, 37, '2009-12-05 17:06:42', '2009-12-05 17:06:47', 'Administrator'), +(2331, 187, '2009-12-06 12:19:39', '2009-12-06 15:19:32', 'Administrator'), +(2332, 287, '2009-12-06 12:20:45', '2009-12-06 15:19:21', 'Mechanic'), +(2333, 469, '2009-12-07 14:12:05', '2009-12-07 16:34:33', 'Administrator'), +(2334, 469, '2009-12-07 16:38:49', '2009-12-07 16:42:07', 'Administrator'), +(2335, 49, '2009-12-08 12:02:10', '2009-12-08 12:51:19', 'Administrator'), +(2336, 479, '2009-12-08 14:16:58', '2009-12-08 17:05:22', 'Administrator'), +(2337, 118, '2009-12-08 14:41:26', '2009-12-08 17:05:12', 'Mechanic'), +(2338, 28, '2009-12-08 14:56:50', '2009-12-08 15:30:19', 'using'), +(2339, 575, '2009-12-08 14:57:00', '2009-12-08 17:05:12', 'using'), +(2340, 37, '2009-12-09 14:21:41', '2009-12-09 20:06:15', 'Administrator'), +(2341, 503, '2009-12-09 14:37:00', '2009-12-09 18:49:00', 'Mechanic'), +(2342, 156, '2009-12-09 16:50:52', '2009-12-09 18:48:58', 'using'), +(2343, 49, '2009-12-09 16:51:00', '2009-12-09 18:48:57', 'volunteering'), +(2344, 174, '2009-12-09 18:48:30', '2009-12-09 18:49:01', 'volunteering'), +(2345, 174, '2009-12-09 18:49:15', '2009-12-09 20:06:11', 'Mechanic'), +(2346, 78, '2009-12-10 14:26:50', '2009-12-10 17:04:19', 'Administrator'), +(2347, 503, '2009-12-10 14:00:00', '2009-12-10 17:04:02', 'using'), +(2348, 37, '2009-12-10 17:55:16', '2009-12-10 18:45:27', 'Administrator'), +(2349, 36, '2009-12-10 18:01:10', '2009-12-10 19:49:34', 'Mechanic'), +(2350, 491, '2009-12-10 18:45:36', '2009-12-10 19:59:58', 'Administrator'), +(2351, 106, '2009-12-11 16:10:36', '2009-12-11 17:19:26', 'Administrator'), +(2352, 49, '2009-12-11 16:10:51', '2009-12-11 17:19:20', 'volunteering'), +(2353, 37, '2009-12-11 16:11:09', '2009-12-11 17:00:46', 'volunteering'), +(2354, 179, '2009-12-11 16:16:05', '2009-12-11 17:00:35', 'volunteering'), +(2355, 50, '2009-12-12 14:12:20', '2009-12-12 17:01:23', 'Administrator'), +(2356, 67, '2009-12-12 15:48:58', '2009-12-12 17:01:17', 'Mechanic'), +(2357, 187, '2009-12-13 12:09:35', '2009-12-13 14:52:14', 'Administrator'), +(2358, 287, '2009-12-13 12:09:47', '2009-12-13 14:52:12', 'Mechanic'), +(2359, 37, '2009-12-13 13:49:00', '2009-12-13 14:32:05', 'dogfucking'), +(2360, 491, '2009-12-14 14:05:49', '2009-12-14 15:10:56', 'Administrator'), +(2361, 469, '2009-12-14 15:10:51', '2009-12-14 16:50:20', 'Administrator'), +(2362, 80, '2009-12-14 15:11:43', '2009-12-14 15:11:51', 'Mechanic'), +(2363, 49, '2009-12-15 13:54:16', '2009-12-15 14:18:05', 'Administrator'), +(2364, 479, '2009-12-15 14:18:09', '2009-12-15 16:05:10', 'Administrator'), +(2365, 479, '2009-12-15 16:06:41', '2009-12-15 16:08:08', 'Administrator'), +(2366, 479, '2009-12-15 16:13:31', '2009-12-16 14:07:42', 'Administrator'), +(2367, 37, '2009-12-16 14:07:33', '2009-12-16 17:56:51', 'Administrator'), +(2368, 503, '2009-12-16 14:08:27', '2009-12-16 17:35:58', 'Mechanic'), +(2369, 12, '2009-12-16 14:10:41', '2009-12-16 20:18:30', 'dogfucking'), +(2370, 179, '2009-12-16 14:10:50', '2009-12-16 17:35:29', 'dogfucking'), +(2371, 49, '2009-12-16 14:10:59', '2009-12-16 20:18:28', 'volunteering'), +(2372, 17, '2009-12-16 17:36:16', '2009-12-16 17:36:31', 'Mechanic'), +(2373, 4, '2009-12-16 17:36:24', '2009-12-16 20:18:27', 'volunteering'), +(2374, 17, '2009-12-16 17:36:42', '2009-12-16 20:18:29', 'Mechanic'), +(2375, 319, '2009-12-16 17:37:55', '2009-12-16 17:37:58', 'using'), +(2376, 49, '2009-12-16 20:26:04', '2009-12-16 20:37:25', 'Administrator'), +(2377, 154, '2009-12-17 14:17:00', '2009-12-17 19:55:40', 'Administrator'), +(2378, 49, '2009-12-17 14:21:24', '2009-12-17 17:04:08', 'Mechanic'), +(2379, 222, '2009-12-17 15:19:16', '2009-12-17 18:40:44', 'using'), +(2380, 480, '2009-12-17 15:19:45', '2009-12-17 18:40:45', 'using'), +(2381, 503, '2009-12-17 17:05:32', '2009-12-17 19:54:34', 'Mechanic'), +(2382, 578, '2009-12-17 17:23:27', '2009-12-17 18:25:40', 'using'), +(2383, 106, '2009-12-18 14:06:52', '2009-12-18 17:01:58', 'Administrator'), +(2384, 49, '2009-12-18 14:08:15', '2009-12-18 17:01:48', 'volunteering'), +(2385, 179, '2009-12-18 14:08:49', '2009-12-18 17:01:20', 'volunteering'), +(2386, 50, '2009-12-19 14:12:31', '2009-12-19 16:58:33', 'Administrator'), +(2387, 179, '2009-12-19 15:55:27', '2009-12-19 16:50:06', 'using'), +(2388, 67, '2009-12-19 15:57:53', '2009-12-19 16:58:28', 'Mechanic'), +(2389, 479, '2010-01-05 14:12:57', '2010-01-05 17:00:38', 'Administrator'), +(2390, 118, '2010-01-05 14:00:00', '2010-01-05 17:00:36', 'using'), +(2391, 49, '2010-01-05 17:45:59', '2010-01-05 17:51:35', 'Administrator'), +(2392, 49, '2010-01-06 12:39:24', '2010-01-06 14:31:29', 'Administrator'), +(2393, 579, '2010-01-06 14:14:58', '2010-01-06 19:53:18', 'using'), +(2394, 106, '2010-01-06 14:31:43', '2010-01-06 17:05:42', 'Administrator'), +(2395, 49, '2010-01-06 14:32:02', '2010-01-06 18:48:46', 'volunteering'), +(2396, 460, '2010-01-06 16:44:33', '2010-01-06 18:48:35', 'using'), +(2397, 4, '2010-01-06 17:05:48', '2010-01-06 19:53:29', 'Administrator'), +(2398, 78, '2010-01-07 14:20:43', '2010-01-07 17:02:40', 'Administrator'), +(2399, 110, '2010-01-07 14:00:00', '2010-01-07 17:02:37', 'using'), +(2400, 539, '2010-01-07 14:24:11', '2010-01-07 20:06:50', 'using'), +(2401, 579, '2010-01-07 14:53:31', '2010-01-07 20:06:48', 'using'), +(2402, 49, '2010-01-07 17:53:16', '2010-01-07 19:46:28', 'Administrator'), +(2403, 222, '2010-01-07 17:54:35', '2010-01-07 20:06:47', 'using'), +(2404, 4, '2010-01-07 19:46:18', '2010-01-07 20:06:55', 'Administrator'), +(2405, 49, '2010-01-08 13:17:34', '2010-01-09 14:17:30', 'Administrator'), +(2406, 37, '2010-01-08 14:22:18', '2010-01-09 14:17:19', 'Mechanic'), +(2407, 67, '2010-01-09 14:17:13', '2010-01-10 12:13:11', 'Administrator'), +(2408, 50, '2010-01-09 14:17:27', '2010-01-09 22:42:29', 'Mechanic'), +(2409, 582, '2010-01-09 14:23:39', '2010-01-10 12:13:27', 'using'), +(2410, 49, '2010-01-09 15:23:23', '2010-01-10 12:13:32', 'Administrator'), +(2411, 329, '2010-01-09 15:24:00', '2010-01-09 17:00:00', 'volunteering'), +(2412, 187, '2010-01-10 12:13:02', '2010-01-10 14:50:37', 'Administrator'), +(2413, 179, '2010-01-10 12:14:26', '2010-01-10 14:50:34', 'Mechanic'), +(2414, 138, '2010-01-10 12:20:25', '2010-01-10 14:41:01', 'using'), +(2415, 49, '2010-01-11 10:29:51', '2010-01-11 13:54:46', 'Administrator'), +(2416, 78, '2010-01-11 13:54:51', '2010-01-11 17:03:07', 'Administrator'), +(2417, 110, '2010-01-11 14:06:16', '2010-01-11 17:03:03', 'Mechanic'), +(2418, 49, '2010-01-11 14:06:41', '2010-01-11 16:26:38', 'dogfucking'), +(2419, 241, '2010-01-11 14:06:41', '2010-01-11 14:06:45', 'using'), +(2420, 222, '2010-01-11 15:15:05', '2010-01-11 17:03:04', 'using'), +(2421, 539, '2010-01-11 16:26:37', '2010-01-11 17:03:05', 'using'), +(2422, 49, '2010-01-12 12:34:28', '2010-01-12 20:00:03', 'Administrator'), +(2423, 118, '2010-01-12 17:41:39', '2010-01-12 19:59:54', 'Mechanic'), +(2424, 80, '2010-01-12 19:32:03', '2010-01-12 19:49:35', 'using'), +(2425, 106, '2010-01-13 15:16:29', '2010-01-13 18:19:11', 'Administrator'), +(2426, 576, '2010-01-13 15:16:47', '2010-01-13 18:19:03', 'using'), +(2427, 37, '2010-01-13 15:29:26', '2010-01-13 18:18:48', 'dogfucking'), +(2428, 36, '2010-01-13 15:31:02', '2010-01-13 18:41:42', 'Mechanic'), +(2429, 491, '2010-01-13 15:31:19', '2010-01-13 18:19:01', 'dogfucking'), +(2430, 510, '2010-01-13 17:08:21', '2010-01-13 19:51:51', 'volunteering'), +(2431, 4, '2010-01-13 18:41:53', '2010-01-14 11:34:07', 'Mechanic'), +(2432, 584, '2010-01-14 11:34:00', '2010-01-14 13:59:12', 'Administrator'), +(2433, 49, '2010-01-14 15:35:35', '2010-01-14 16:39:25', 'Administrator'), +(2434, 174, '2010-01-14 16:41:23', '2010-01-14 19:59:30', 'Administrator'), +(2435, 310, '2010-01-14 16:41:36', '2010-01-14 16:41:50', 'Mechanic'), +(2436, 67, '2010-01-14 16:42:01', '2010-01-14 19:59:28', 'Mechanic'), +(2437, 587, '2010-01-14 16:45:02', '2010-01-14 18:59:52', 'using'), +(2438, 491, '2010-01-15 14:09:43', '2010-01-15 16:58:43', 'Administrator'), +(2439, 179, '2010-01-15 14:10:01', '2010-01-15 16:52:36', 'Mechanic'), +(2440, 138, '2010-01-15 14:10:25', '2010-01-15 16:35:16', 'using'), +(2441, 187, '2010-01-16 14:14:54', '2010-01-16 17:09:25', 'Administrator'), +(2442, 50, '2010-01-16 14:15:32', '2010-01-16 17:08:44', 'Mechanic'), +(2443, 127, '2010-01-16 14:17:08', '2010-01-16 17:08:42', 'using'), +(2444, 49, '2010-01-17 15:05:16', '2010-01-17 16:43:49', 'Administrator'), +(2445, 49, '2010-01-18 12:14:43', '2010-01-18 13:50:09', 'Administrator'), +(2446, 78, '2010-01-18 13:50:03', '2010-01-18 16:59:37', 'Administrator'), +(2447, 49, '2010-01-18 13:50:31', '2010-01-18 16:59:33', 'dogfucking'), +(2448, 9, '2010-01-18 13:53:02', '2010-01-18 14:17:25', 'dogfucking'), +(2449, 138, '2010-01-18 14:00:11', '2010-01-18 15:40:59', 'using'), +(2450, 110, '2010-01-18 14:10:10', '2010-01-18 16:59:34', 'Mechanic'), +(2451, 61, '2010-01-18 14:46:18', '2010-01-18 16:09:53', 'dogfucking'), +(2452, 49, '2010-01-19 14:21:35', '2010-01-19 14:48:35', 'Administrator'), +(2453, 479, '2010-01-19 14:48:39', '2010-01-19 17:11:48', 'Administrator'), +(2454, 590, '2010-01-19 14:49:23', '2010-01-19 17:19:08', 'Mechanic'), +(2455, 37, '2010-01-19 14:49:31', '2010-01-19 17:19:07', 'dogfucking'), +(2456, 49, '2010-01-19 17:14:24', '2010-01-19 17:19:14', 'Administrator'), +(2457, 594, '2010-01-19 17:21:44', '2010-01-19 20:01:09', 'Administrator'), +(2458, 118, '2010-01-19 17:22:14', '2010-01-19 20:00:52', 'Mechanic'), +(2459, 106, '2010-01-20 14:03:10', '2010-01-20 19:49:07', 'Administrator'), +(2460, 49, '2010-01-20 14:03:27', '2010-01-20 14:03:35', 'dogfucking'), +(2461, 49, '2010-01-20 14:04:24', '2010-01-20 15:29:57', 'dogfucking'), +(2462, 319, '2010-01-20 14:39:54', '2010-01-20 17:54:06', 'using'), +(2463, 36, '2010-01-20 14:40:15', '2010-01-20 19:47:28', 'Mechanic'), +(2464, 87, '2010-01-20 14:45:35', '2010-01-20 15:10:05', 'using'), +(2465, 179, '2010-01-20 15:29:17', '2010-01-20 15:32:03', 'using'), +(2466, 37, '2010-01-20 15:29:34', '2010-01-20 15:29:42', 'using'), +(2467, 37, '2010-01-20 15:29:53', '2010-01-20 19:47:00', 'dogfucking'), +(2468, 557, '2010-01-20 16:01:20', '2010-01-20 19:47:25', 'using'), +(2469, 510, '2010-01-20 16:51:46', '2010-01-20 19:49:04', 'volunteering'), +(2470, 584, '2010-01-21 11:31:32', '2010-01-21 14:11:34', 'Administrator'), +(2471, 551, '2010-01-21 14:12:37', '2010-01-21 14:13:33', 'volunteering'), +(2472, 551, '2010-01-21 14:13:54', '2010-01-21 17:00:45', 'Administrator'), +(2473, 503, '2010-01-21 14:14:24', '2010-01-21 17:03:35', 'Mechanic'), +(2474, 37, '2010-01-21 14:14:53', '2010-01-21 17:03:24', 'dogfucking'), +(2475, 174, '2010-01-21 17:03:06', '2010-01-22 14:27:19', 'Administrator'), +(2476, 503, '2010-01-21 17:03:50', '2010-01-22 15:12:18', 'using'), +(2477, 67, '2010-01-21 17:03:00', '2010-01-22 14:27:16', 'using'), +(2478, 49, '2010-01-21 18:22:51', '2010-01-22 17:03:26', 'Administrator'), +(2479, 187, '2010-01-22 14:20:30', '2010-01-22 17:03:38', 'Administrator'), +(2480, 179, '2010-01-22 14:28:03', '2010-01-22 16:58:32', 'Mechanic'), +(2481, 187, '2010-01-23 14:09:39', '2010-01-23 16:53:05', 'Administrator'), +(2482, 50, '2010-01-23 14:09:59', '2010-01-23 16:53:03', 'Mechanic'), +(2483, 49, '2010-01-23 14:25:28', '2010-01-23 16:52:54', 'using'), +(2484, 78, '2010-01-25 14:00:45', '2010-01-25 16:57:29', 'Administrator'), +(2485, 110, '2010-01-25 14:01:00', '2010-01-25 16:57:26', 'Mechanic'), +(2486, 49, '2010-01-25 14:01:12', '2010-01-25 16:57:16', 'dogfucking'), +(2487, 37, '2010-01-25 15:23:26', '2010-01-25 16:57:26', 'dogfucking'), +(2488, 49, '2010-01-25 18:43:07', '2010-01-25 18:44:21', 'Administrator'), +(2489, 479, '2010-01-26 14:09:35', '2010-01-26 17:02:16', 'Administrator'), +(2490, 539, '2010-01-26 14:12:09', '2010-01-26 16:37:05', 'using'), +(2491, 590, '2010-01-26 15:32:07', '2010-01-26 17:15:02', 'volunteering'), +(2492, 597, '2010-01-26 16:37:03', '2010-01-26 16:48:56', 'using'), +(2493, 594, '2010-01-26 17:02:23', '2010-01-26 19:56:23', 'Administrator'), +(2494, 37, '2010-01-26 17:18:30', '2010-01-26 19:56:05', 'Mechanic'), +(2495, 106, '2010-01-27 13:57:11', '2010-01-27 16:41:01', 'Administrator'), +(2496, 49, '2010-01-27 13:57:58', '2010-01-27 17:56:38', 'dogfucking'), +(2497, 80, '2010-01-27 14:24:23', '2010-01-27 16:04:08', 'using'), +(2498, 61, '2010-01-27 14:24:50', '2010-01-27 16:03:58', 'dogfucking'), +(2499, 586, '2010-01-27 16:03:33', '2010-01-28 14:05:05', 'using'), +(2500, 503, '2010-01-27 16:03:54', '2010-01-27 17:17:00', 'Mechanic'), +(2501, 510, '2010-01-27 16:41:09', '2010-01-28 13:59:35', 'Administrator'), +(2502, 329, '2010-01-27 16:59:00', '2010-01-27 20:00:00', 'volunteering'), +(2503, 4, '2010-01-27 17:16:43', '2010-01-27 17:16:53', 'volunteering'), +(2504, 4, '2010-01-27 17:17:10', '2010-01-28 14:05:04', 'Mechanic'), +(2505, 584, '2010-01-28 11:27:44', '2010-01-28 14:03:58', 'Administrator'), +(2506, 551, '2010-01-28 14:02:00', '2010-01-28 17:06:25', 'Administrator'), +(2507, 36, '2010-01-28 14:08:51', '2010-01-28 17:06:15', 'Mechanic'), +(2508, 329, '2010-01-28 15:41:53', '2010-01-28 19:55:44', 'volunteering'), +(2509, 67, '2010-01-28 16:13:24', '2010-01-28 17:06:17', 'using'), +(2510, 67, '2010-01-28 17:06:30', '2010-01-28 20:29:55', 'Administrator'), +(2511, 491, '2010-01-29 14:05:41', '2010-01-29 17:03:36', 'Administrator'), +(2512, 179, '2010-01-29 15:35:29', '2010-01-29 17:03:30', 'Mechanic'), +(2513, 45, '2010-01-29 15:36:18', '2010-01-29 17:03:32', 'using'), +(2514, 49, '2010-01-29 17:05:31', '2010-01-29 17:06:48', 'Administrator'), +(2515, 187, '2010-01-30 14:05:38', '2010-01-30 17:08:11', 'Administrator'), +(2516, 49, '2010-01-30 14:06:00', '2010-01-30 14:07:07', 'Mechanic'), +(2517, 50, '2010-01-30 14:07:14', '2010-01-30 17:08:08', 'Mechanic'), +(2518, 78, '2010-02-01 14:13:49', '2010-02-02 15:22:21', 'Administrator'), +(2519, 49, '2010-02-01 14:13:58', '2010-02-02 15:22:36', 'Mechanic'), +(2520, 479, '2010-02-02 14:04:13', '2010-02-02 17:06:04', 'Administrator'), +(2521, 189, '2010-02-02 14:00:00', '2010-02-02 17:06:31', 'Working'), +(2522, 414, '2010-02-02 15:27:16', '2010-02-02 17:06:41', 'volunteering'), +(2523, 471, '2010-02-02 16:45:22', '2010-02-02 19:19:28', 'using'), +(2524, 594, '2010-02-02 17:06:12', '2010-02-02 20:00:36', 'Administrator'), +(2525, 118, '2010-02-02 17:08:26', '2010-02-02 20:00:28', 'Mechanic'), +(2526, 308, '2010-02-02 17:31:39', '2010-02-02 19:13:55', 'using'), +(2527, 106, '2010-02-03 14:12:17', '2010-02-03 16:58:09', 'Administrator'), +(2528, 36, '2010-02-03 14:12:30', '2010-02-03 17:18:04', 'Mechanic'), +(2529, 37, '2010-02-03 15:15:45', '2010-02-03 19:43:27', 'using'), +(2530, 510, '2010-02-03 16:59:33', '2010-02-03 19:43:30', 'Administrator'), +(2531, 27, '2010-02-03 17:18:35', '2010-02-03 19:43:04', 'Mechanic'), +(2532, 551, '2010-02-04 14:00:50', '2010-02-04 17:12:51', 'Administrator'), +(2533, 67, '2010-02-04 16:57:27', '2010-02-04 19:49:55', 'Mechanic'), +(2534, 49, '2010-02-05 14:01:45', '2010-02-05 17:00:48', 'Administrator'), +(2535, 601, '2010-02-05 14:06:32', '2010-02-05 17:00:44', 'using'), +(2536, 179, '2010-02-05 14:06:45', '2010-02-05 17:00:45', 'Mechanic'), +(2537, 491, '2010-02-05 14:06:57', '2010-02-05 17:00:43', 'volunteering'), +(2538, 187, '2010-02-06 14:01:41', '2010-02-06 17:23:35', 'Administrator'), +(2539, 391, '2010-02-06 14:02:00', '2010-02-06 14:02:00', 'using'), +(2540, 50, '2010-02-06 14:02:13', '2010-02-06 17:23:26', 'Mechanic'), +(2541, 577, '2010-02-06 14:02:53', '2010-02-06 16:18:45', 'using'), +(2542, 445, '2010-02-06 14:22:44', '2010-02-06 16:54:14', 'using'), +(2543, 27, '2010-02-06 15:17:05', '2010-02-06 17:23:32', 'using'), +(2544, 253, '2010-02-06 14:04:00', '2010-02-06 17:23:27', 'using'), +(2545, 12, '2010-02-06 14:10:00', '2010-02-06 17:23:29', 'using'), +(2546, 49, '2010-02-08 14:03:23', '2010-02-08 16:19:35', 'Administrator'), +(2547, 110, '2010-02-08 16:21:25', '2010-02-08 17:05:25', 'Administrator'), +(2548, 479, '2010-02-09 14:24:54', '2010-02-09 17:03:01', 'Administrator'), +(2549, 414, '2010-02-09 15:28:42', '2010-02-09 17:02:28', 'volunteering'), +(2550, 594, '2010-02-09 17:02:51', '2010-02-09 20:04:54', 'Administrator'), +(2551, 118, '2010-02-09 17:08:04', '2010-02-09 20:04:39', 'Mechanic'), +(2552, 603, '2010-02-09 19:05:40', '2010-02-09 20:04:51', 'using'), +(2553, 12, '2010-02-10 15:01:16', '2010-02-10 16:50:21', 'Administrator'), +(2554, 36, '2010-02-10 15:01:27', '2010-02-10 18:13:29', 'Mechanic'), +(2555, 510, '2010-02-10 16:51:01', '2010-02-10 19:54:04', 'Administrator'), +(2556, 27, '2010-02-10 18:14:27', '2010-02-10 19:54:21', 'Mechanic'), +(2557, 603, '2010-02-10 18:33:41', '2010-02-10 19:54:20', 'using'), +(2558, 510, '2010-02-10 19:54:16', '2010-02-10 19:54:24', 'Administrator'), +(2559, 584, '2010-02-11 11:08:05', '2010-02-11 13:59:25', 'Administrator'), +(2560, 551, '2010-02-11 14:07:50', '2010-02-11 20:07:39', 'Administrator'), +(2561, 599, '2010-02-11 15:13:35', '2010-02-11 20:07:36', 'using'), +(2562, 503, '2010-02-11 15:13:58', '2010-02-11 16:52:50', 'Mechanic'), +(2563, 174, '2010-02-11 16:52:56', '2010-02-12 16:32:00', 'Administrator'), +(2564, 503, '2010-02-11 16:53:21', '2010-02-11 18:15:48', 'Mechanic'), +(2565, 67, '2010-02-11 18:15:54', '2010-02-11 20:07:35', 'Mechanic'), +(2566, 491, '2010-02-12 16:31:52', '2010-02-12 17:01:51', 'Administrator'), +(2567, 491, '2010-02-12 17:06:25', '2010-02-13 14:20:27', 'Administrator'), +(2568, 187, '2010-02-13 14:20:15', '2010-02-13 17:17:50', 'Administrator'), +(2569, 50, '2010-02-13 14:20:25', '2010-02-13 17:17:45', 'Mechanic'), +(2570, 27, '2010-02-13 15:27:46', '2010-02-13 17:02:44', 'using'), +(2571, 246, '2010-02-13 15:53:08', '2010-02-13 15:55:00', 'using'), +(2572, 189, '2010-02-13 16:25:32', '2010-02-13 17:17:03', 'using'), +(2573, 491, '2010-02-16 14:02:28', '2010-02-16 16:55:05', 'Administrator'), +(2574, 601, '2010-02-16 14:31:47', '2010-02-16 16:55:02', 'using'), +(2575, 118, '2010-02-16 17:10:27', '2010-02-16 19:55:42', 'Administrator'), +(2576, 67, '2010-02-16 17:41:56', '2010-02-16 18:29:27', 'using'), +(2577, 37, '2010-02-17 16:48:29', '2010-02-17 16:48:47', 'using'), +(2578, 253, '2010-02-17 16:49:04', '2010-02-17 16:54:20', 'Administrator'), +(2579, 510, '2010-02-17 17:08:32', '2010-02-17 20:07:16', 'Administrator'), +(2580, 4, '2010-02-17 17:08:43', '2010-02-17 20:07:14', 'Mechanic'), +(2581, 27, '2010-02-17 18:58:14', '2010-02-17 20:07:13', 'using'), +(2582, 523, '2010-02-17 19:29:27', '2010-02-17 20:07:12', 'using'), +(2583, 551, '2010-02-18 14:34:02', '2010-02-18 17:07:18', 'Administrator'), +(2584, 503, '2010-02-18 14:58:02', '2010-02-18 17:08:41', 'Mechanic'), +(2585, 346, '2010-02-18 15:18:54', '2010-02-18 18:35:17', 'using'), +(2586, 606, '2010-02-18 16:07:52', '2010-02-18 19:57:32', 'using'), +(2587, 187, '2010-02-18 17:07:23', '2010-02-18 19:57:44', 'Administrator'), +(2588, 535, '2010-02-18 17:08:10', '2010-02-18 17:15:57', 'using'), +(2589, 67, '2010-02-18 17:08:46', '2010-02-18 19:57:42', 'Mechanic'), +(2590, 479, '2010-02-19 14:55:01', '2010-02-19 17:01:29', 'Administrator'), +(2591, 361, '2010-02-19 14:55:39', '2010-02-19 16:52:25', 'using'), +(2592, 179, '2010-02-19 14:00:00', '2010-02-19 17:01:25', 'using'), +(2593, 329, '2010-02-19 15:34:56', '2010-02-19 17:01:26', 'volunteering'), +(2594, 607, '2010-02-19 14:55:00', '2010-02-19 16:52:27', 'using'), +(2595, 37, '2010-02-19 17:02:20', '2010-02-19 17:02:59', 'Administrator'), +(2596, 187, '2010-02-20 14:21:22', '2010-02-20 17:09:36', 'Administrator'), +(2597, 50, '2010-02-20 14:21:50', '2010-02-22 13:48:03', 'Mechanic'), +(2598, 607, '2010-02-20 16:11:50', '2010-02-22 13:48:05', 'using'), +(2599, 361, '2010-02-20 16:13:14', '2010-02-20 17:09:29', 'using'), +(2600, 253, '2010-02-22 13:47:19', '2010-02-22 15:27:23', 'Administrator'), +(2601, 110, '2010-02-22 14:25:10', '2010-02-22 17:10:24', 'Mechanic'), +(2602, 576, '2010-02-22 15:21:08', '2010-02-22 15:23:49', 'using'), +(2603, 253, '2010-02-22 15:34:11', '2010-02-22 17:10:27', 'Administrator'), +(2604, 608, '2010-02-22 16:07:49', '2010-02-22 16:37:04', 'using'), +(2605, 609, '2010-02-22 16:37:01', '2010-02-22 16:37:02', 'using'), +(2606, 49, '2010-02-23 12:50:41', '2010-02-23 12:51:22', 'Administrator'), +(2607, 49, '2010-02-23 12:53:55', '2010-02-23 12:54:21', 'Administrator'), +(2608, 479, '2010-02-23 14:39:56', '2010-02-23 17:17:06', 'Administrator'), +(2609, 590, '2010-02-23 14:51:06', '2010-02-23 17:18:21', 'Mechanic'), +(2610, 414, '2010-02-23 15:29:56', '2010-02-23 17:18:26', 'volunteering'), +(2611, 357, '2010-02-23 15:32:10', '2010-02-23 17:19:25', 'using'), +(2612, 460, '2010-02-23 16:38:03', '2010-02-23 16:56:50', 'using'), +(2613, 174, '2010-02-23 16:51:05', '2010-02-23 19:53:36', 'using'), +(2614, 594, '2010-02-23 17:17:22', '2010-02-23 19:56:54', 'Administrator'), +(2615, 67, '2010-02-23 17:19:03', '2010-02-23 19:56:51', 'Mechanic'), +(2616, 599, '2010-02-23 19:13:54', '2010-02-23 19:53:58', 'using'), +(2617, 357, '2010-02-23 19:29:29', '2010-02-23 19:31:43', 'using'), +(2618, 49, '2010-02-24 13:01:55', '2010-02-24 13:16:08', 'Administrator'), +(2619, 106, '2010-02-24 14:03:40', '2010-02-24 17:03:35', 'Administrator'), +(2620, 253, '2010-02-24 14:04:39', '2010-02-24 16:29:43', 'using'), +(2621, 49, '2010-02-24 14:09:01', '2010-02-24 14:09:23', 'Mechanic'), +(2622, 49, '2010-02-24 14:09:35', '2010-02-24 19:58:15', 'using'), +(2623, 36, '2010-02-24 14:09:53', '2010-02-24 19:58:04', 'Mechanic'), +(2624, 16, '2010-02-24 16:30:02', '2010-02-24 19:58:14', 'using'), +(2625, 584, '2010-02-25 11:04:55', '2010-02-25 14:19:45', 'Administrator'), +(2626, 551, '2010-02-25 15:02:03', '2010-02-25 17:03:59', 'Administrator'), +(2627, 174, '2010-02-25 17:04:37', '2010-02-25 20:00:07', 'Administrator'), +(2628, 67, '2010-02-25 17:05:19', '2010-02-26 13:36:41', 'Mechanic'), +(2629, 49, '2010-02-26 13:36:30', '2010-02-26 16:50:03', 'Administrator'), +(2630, 491, '2010-02-26 14:00:09', '2010-02-26 16:56:56', 'volunteering'), +(2631, 230, '2010-02-26 14:06:34', '2010-02-26 14:06:54', 'using'), +(2632, 606, '2010-02-26 15:27:47', '2010-02-26 15:27:50', 'Mechanic'), +(2633, 606, '2010-02-26 15:28:54', '2010-02-26 15:49:39', 'using'), +(2634, 187, '2010-02-27 14:10:11', '2010-02-27 17:40:34', 'Administrator'), +(2635, 50, '2010-02-27 14:10:27', '2010-02-27 17:40:31', 'Mechanic'), +(2636, 329, '2010-02-27 14:11:06', '2010-02-27 16:57:34', 'using'), +(2637, 584, '2010-02-27 14:38:50', '2010-02-27 17:00:37', 'dogfucking'), +(2638, 611, '2010-02-27 15:52:48', '2010-02-27 17:40:30', 'using'), +(2639, 49, '2010-03-01 09:29:13', '2010-03-01 10:47:59', 'Administrator'), +(2640, 253, '2010-03-01 13:49:05', '2010-03-01 15:16:52', 'Administrator'), +(2641, 110, '2010-03-01 13:53:42', '2010-03-01 17:02:22', 'Mechanic'), +(2642, 7, '2010-03-01 14:02:03', '2010-03-01 14:30:51', 'using'), +(2643, 253, '2010-03-01 15:16:56', '2010-03-01 16:16:16', 'Administrator'), +(2644, 133, '2010-03-01 15:25:23', '2010-03-01 16:43:13', 'using'), +(2645, 253, '2010-03-01 16:16:21', '2010-03-01 17:02:25', 'Administrator'), +(2646, 12, '2010-03-01 16:43:07', '2010-03-01 17:02:21', 'using'), +(2647, 479, '2010-03-02 14:07:18', '2010-03-02 17:11:00', 'Administrator'), +(2648, 601, '2010-03-02 14:07:40', '2010-03-02 17:04:20', 'using'), +(2649, 189, '2010-03-02 14:07:44', '2010-03-02 14:23:26', 'Mechanic'), +(2650, 590, '2010-03-02 14:23:43', '2010-03-02 17:10:57', 'Mechanic'), +(2651, 617, '2010-03-02 14:24:59', '2010-03-02 17:04:19', 'using'), +(2652, 414, '2010-03-02 15:48:40', '2010-03-02 17:10:55', 'volunteering'), +(2653, 618, '2010-03-02 16:39:55', '2010-03-03 13:24:39', 'using'), +(2654, 594, '2010-03-02 17:11:06', '2010-03-02 19:51:53', 'Administrator'), +(2655, 479, '2010-03-03 12:59:08', '2010-03-03 13:24:42', 'Administrator'), +(2656, 49, '2010-03-03 13:51:32', '2010-03-03 14:31:12', 'Administrator'), +(2657, 422, '2010-03-03 13:51:48', '2010-03-03 15:02:54', 'using'), +(2658, 106, '2010-03-03 14:31:18', '2010-03-03 17:08:17', 'Administrator'), +(2659, 49, '2010-03-03 14:31:38', '2010-03-03 17:41:48', 'volunteering'), +(2660, 36, '2010-03-03 15:05:13', '2010-03-03 17:41:42', 'Mechanic'), +(2661, 619, '2010-03-03 15:23:29', '2010-03-03 17:41:45', 'using'), +(2662, 557, '2010-03-03 16:10:27', '2010-03-03 17:41:46', 'using'), +(2663, 586, '2010-03-03 16:10:41', '2010-03-03 17:41:44', 'dogfucking'), +(2664, 37, '2010-03-03 16:11:07', '2010-03-03 17:41:28', 'dogfucking'), +(2665, 510, '2010-03-03 17:08:00', '2010-03-03 19:41:00', 'Working'), +(2666, 4, '2010-03-03 17:41:35', '2010-03-04 11:52:08', 'Administrator'), +(2667, 584, '2010-03-04 11:51:57', '2010-03-04 14:09:36', 'Administrator'), +(2668, 61, '2010-03-04 11:54:07', '2010-03-04 12:51:26', 'dogfucking'), +(2669, 588, '2010-03-04 11:58:35', '2010-03-04 14:34:34', 'Mechanic'), +(2670, 551, '2010-03-04 14:09:45', '2010-03-04 17:20:36', 'Administrator'), +(2671, 251, '2010-03-04 15:11:23', '2010-03-04 16:00:21', 'using'), +(2672, 620, '2010-03-04 15:14:11', '2010-03-04 17:20:56', 'using'), +(2673, 174, '2010-03-04 16:09:53', '2010-03-04 20:05:55', 'Administrator'), +(2674, 118, '2010-03-04 17:20:08', '2010-03-04 20:06:19', 'Administrator'), +(2675, 557, '2010-03-04 17:22:50', '2010-03-04 18:50:50', 'using'), +(2676, 584, '2010-03-04 17:23:01', '2010-03-04 19:09:38', 'using'), +(2677, 9, '2010-03-04 17:23:52', '2010-03-04 17:30:10', 'dogfucking'), +(2678, 566, '2010-03-04 17:24:17', '2010-03-04 18:51:05', 'dogfucking'), +(2679, 621, '2010-03-04 19:09:51', '2010-03-04 19:33:42', 'using'), +(2680, 174, '2010-03-04 20:06:12', '2010-03-04 20:06:37', 'Administrator'), +(2681, 49, '2010-03-05 10:24:36', '2010-03-05 11:34:06', 'Administrator'), +(2682, 49, '2010-03-05 11:34:52', '2010-03-05 11:36:34', 'Administrator'), +(2683, 596, '2010-03-05 09:00:00', '2010-03-05 11:30:00', 'volunteering'), +(2684, 491, '2010-03-05 13:58:51', '2010-03-05 17:14:02', 'Administrator'), +(2685, 253, '2010-03-05 16:32:05', '2010-03-05 16:47:48', 'using'), +(2686, 535, '2010-03-05 16:41:17', '2010-03-05 16:45:02', 'using'), +(2687, 78, '2010-03-05 17:13:54', '2010-03-05 17:13:59', 'Mechanic'), +(2688, 187, '2010-03-06 14:12:56', '2010-03-06 16:55:06', 'Administrator'), +(2689, 50, '2010-03-06 14:13:05', '2010-03-06 16:55:03', 'Mechanic'), +(2690, 47, '2010-03-06 14:32:55', '2010-03-06 16:26:26', 'using'), +(2691, 137, '2010-03-06 15:39:14', '2010-03-06 16:54:20', 'using'), +(2692, 274, '2010-03-06 15:51:41', '2010-03-06 16:40:45', 'using'), +(2693, 49, '2010-03-08 11:03:46', '2010-03-08 11:10:28', 'Administrator'), +(2694, 49, '2010-03-08 11:34:01', '2010-03-08 14:04:49', 'Administrator'), +(2695, 253, '2010-03-08 14:04:59', '2010-03-08 16:54:10', 'Administrator'), +(2696, 110, '2010-03-08 14:05:11', '2010-03-08 17:16:47', 'Mechanic'), +(2697, 460, '2010-03-08 16:17:44', '2010-03-08 17:16:46', 'using'), +(2698, 253, '2010-03-08 16:56:16', '2010-03-08 17:16:49', 'Administrator'), +(2699, 49, '2010-03-08 17:38:08', '2010-03-08 17:46:01', 'Administrator'), +(2700, 626, '2010-03-08 17:46:38', '2010-03-08 18:12:44', 'Administrator'), +(2701, 49, '2010-03-08 17:47:04', '2010-03-08 18:12:42', 'dogfucking'), +(2702, 49, '2010-03-09 13:44:33', '2010-03-09 13:47:51', 'Administrator'), +(2703, 479, '2010-03-09 14:07:54', '2010-03-09 17:04:43', 'Administrator'), +(2704, 590, '2010-03-09 14:08:13', '2010-03-09 17:04:53', 'Mechanic'), +(2705, 594, '2010-03-09 17:04:35', '2010-03-09 20:04:36', 'Administrator'), +(2706, 49, '2010-03-09 17:10:43', '2010-03-09 20:04:33', 'Mechanic'), +(2707, 566, '2010-03-09 17:48:18', '2010-03-09 18:25:36', 'dogfucking'), +(2708, 601, '2010-03-09 18:56:45', '2010-03-09 19:07:26', 'using'), +(2709, 101, '2010-03-09 18:57:04', '2010-03-09 19:07:27', 'using'), +(2710, 599, '2010-03-09 19:13:52', '2010-03-09 20:04:04', 'using'), +(2711, 106, '2010-03-10 14:02:47', '2010-03-10 17:19:39', 'Administrator'), +(2712, 479, '2010-03-10 14:03:21', '2010-03-10 17:01:02', 'dogfucking'), +(2713, 61, '2010-03-10 14:03:49', '2010-03-10 15:27:43', 'dogfucking'), +(2714, 36, '2010-03-10 14:04:59', '2010-03-10 17:19:08', 'Mechanic'), +(2715, 491, '2010-03-10 14:06:49', '2010-03-10 14:15:32', 'dogfucking'), +(2716, 49, '2010-03-10 14:07:20', '2010-03-10 15:27:42', 'dogfucking'), +(2717, 138, '2010-03-10 14:16:57', '2010-03-10 17:00:58', 'using'), +(2718, 629, '2010-03-10 14:31:19', '2010-03-10 17:00:59', 'using'), +(2719, 586, '2010-03-10 16:29:37', '2010-03-10 17:19:06', 'dogfucking'), +(2720, 4, '2010-03-10 17:01:11', '2010-03-10 17:19:12', 'dogfucking'), +(2721, 4, '2010-03-10 17:19:21', '2010-03-10 19:59:39', 'Mechanic'), +(2722, 510, '2010-03-10 18:10:09', '2010-03-10 19:59:48', 'Administrator'), +(2723, 584, '2010-03-11 11:41:25', '2010-03-11 14:29:27', 'Administrator'), +(2724, 588, '2010-03-11 12:43:25', '2010-03-11 16:13:28', 'Mechanic'), +(2725, 12, '2010-03-11 13:19:16', '2010-03-11 14:51:09', 'dogfucking'), +(2726, 7, '2010-03-11 14:28:55', '2010-03-11 16:03:36', 'using'), +(2727, 551, '2010-03-11 14:29:02', '2010-03-11 16:55:12', 'Administrator'), +(2728, 59, '2010-03-11 14:47:07', '2010-03-11 16:03:38', 'using'), +(2729, 633, '2010-03-11 14:51:15', '2010-03-11 16:03:40', 'using'), +(2730, 47, '2010-03-11 14:51:29', '2010-03-11 16:03:41', 'using'), +(2731, 138, '2010-03-11 14:51:35', '2010-03-11 16:03:42', 'using'), +(2732, 47, '2010-03-11 16:48:46', '2010-03-11 17:14:55', 'using'), +(2733, 174, '2010-03-11 16:54:54', '2010-03-11 16:55:00', 'Mechanic'), +(2734, 174, '2010-03-11 16:55:18', '2010-03-12 09:25:12', 'Administrator'), +(2735, 67, '2010-03-11 16:55:00', '2010-03-11 20:00:00', 'using'), +(2736, 135, '2010-03-11 17:19:00', '2010-03-20 20:00:00', 'using'), +(2737, 112, '2010-03-11 18:00:00', '2010-03-11 20:00:00', 'using'), +(2738, 49, '2010-03-12 09:23:07', '2010-03-12 16:55:21', 'Administrator'), +(2739, 5, '2010-03-12 13:53:18', '2010-03-12 16:57:29', 'Administrator'), +(2740, 554, '2010-03-12 14:25:13', '2010-03-12 16:55:32', 'using'), +(2741, 491, '2010-03-12 16:52:21', '2010-03-12 17:10:14', 'Administrator'), +(2742, 187, '2010-03-13 14:01:01', '2010-03-13 16:59:23', 'Administrator'), +(2743, 50, '2010-03-13 14:01:21', '2010-03-13 16:42:29', 'Mechanic'), +(2744, 422, '2010-03-13 14:01:26', '2010-03-13 16:08:18', 'using'), +(2745, 35, '2010-03-13 14:34:06', '2010-03-13 16:57:12', 'using'), +(2746, 149, '2010-03-13 14:47:50', '2010-03-13 15:50:38', 'using'), +(2747, 59, '2010-03-13 15:09:51', '2010-03-13 16:59:21', 'using'), +(2748, 590, '2010-03-13 15:11:31', '2010-03-13 16:59:20', 'using'), +(2749, 253, '2010-03-15 13:58:59', '2010-03-15 14:43:06', 'Administrator'), +(2750, 110, '2010-03-15 13:59:22', '2010-03-16 14:57:55', 'Mechanic'), +(2751, 7, '2010-03-15 14:00:47', '2010-03-15 16:39:04', 'using'), +(2752, 130, '2010-03-15 14:00:54', '2010-03-15 16:39:03', 'using'), +(2753, 191, '2010-03-15 14:06:09', '2010-03-15 16:39:01', 'using'), +(2754, 195, '2010-03-15 14:12:18', '2010-03-15 16:39:00', 'using'), +(2755, 253, '2010-03-15 14:43:12', '2010-03-15 17:10:55', 'Administrator'), +(2756, 20, '2010-03-15 14:57:07', '2010-03-15 15:14:08', 'using'), +(2757, 614, '2010-03-15 15:02:40', '2010-03-15 16:23:58', 'using'), +(2758, 601, '2010-03-15 15:41:47', '2010-03-15 16:39:05', 'using'), +(2759, 479, '2010-03-16 14:57:47', '2010-03-16 17:10:33', 'Administrator'), +(2760, 590, '2010-03-16 14:00:00', '2010-03-16 18:11:06', 'using'), +(2761, 414, '2010-03-16 16:20:30', '2010-03-16 18:11:05', 'volunteering'), +(2762, 594, '2010-03-16 17:10:41', '2010-03-16 20:37:21', 'Administrator'), +(2763, 357, '2010-03-16 17:12:01', '2010-03-16 19:24:03', 'using'), +(2764, 49, '2010-03-16 17:12:06', '2010-03-16 20:28:23', 'Mechanic'), +(2765, 566, '2010-03-16 17:24:12', '2010-03-16 18:11:11', 'dogfucking'), +(2766, 523, '2010-03-16 18:02:49', '2010-03-16 18:03:31', 'using'), +(2767, 633, '2010-03-16 18:07:48', '2010-03-16 20:37:17', 'using'), +(2768, 274, '2010-03-16 18:10:23', '2010-03-16 19:23:54', 'using'), +(2769, 274, '2010-03-16 20:06:28', '2010-03-16 20:28:26', 'using'), +(2770, 49, '2010-03-16 20:28:32', '2010-03-16 20:37:18', 'Mechanic'), +(2771, 9, '2010-03-16 20:35:38', '2010-03-16 20:36:50', 'dogfucking'), +(2772, 106, '2010-03-17 14:28:53', '2010-03-17 15:28:04', 'Administrator'), +(2773, 49, '2010-03-17 14:29:13', '2010-03-17 14:29:20', 'using'), +(2774, 49, '2010-03-17 14:29:52', '2010-03-17 18:57:39', 'dogfucking'), +(2775, 36, '2010-03-17 14:29:57', '2010-03-17 16:55:06', 'Mechanic'), +(2776, 639, '2010-03-17 15:13:47', '2010-03-17 15:46:20', 'using'), +(2777, 640, '2010-03-17 15:13:57', '2010-03-17 16:17:24', 'using'), +(2778, 566, '2010-03-17 15:14:08', '2010-03-17 18:57:44', 'using'), +(2779, 12, '2010-03-17 15:14:45', '2010-03-17 16:29:22', 'dogfucking'), +(2780, 106, '2010-03-17 15:29:43', '2010-03-17 17:02:43', 'Administrator'), +(2781, 479, '2010-03-17 15:46:17', '2010-03-17 19:02:58', 'dogfucking'), +(2782, 628, '2010-03-17 16:29:36', '2010-03-17 19:03:00', 'dogfucking'), +(2783, 4, '2010-03-17 16:55:00', '2010-03-17 20:00:00', 'using'), +(2784, 36, '2010-03-17 16:55:19', '2010-03-17 19:03:02', 'dogfucking'), +(2785, 5, '2010-03-17 16:55:47', '2010-03-17 19:02:02', 'dogfucking'), +(2786, 510, '2010-03-17 17:09:28', '2010-03-17 19:25:41', 'Administrator'), +(2787, 274, '2010-03-17 18:12:42', '2010-03-17 18:57:46', 'using'), +(2788, 27, '2010-03-17 19:03:00', '2010-03-17 20:00:00', 'using'), +(2789, 118, '2010-03-17 19:03:00', '2010-03-17 10:00:00', 'using'), +(2790, 49, '2010-03-18 12:39:07', '2010-03-18 17:29:09', 'Administrator'), +(2791, 588, '2010-03-18 12:41:03', '2010-03-18 17:29:00', 'Mechanic'), +(2792, 174, '2010-03-18 12:48:00', '2010-03-18 17:29:18', 'using'), +(2793, 67, '2010-03-18 17:29:04', '2010-03-18 20:08:35', 'Administrator'), +(2794, 174, '2010-03-18 17:29:26', '2010-03-18 20:08:32', 'Mechanic'), +(2795, 645, '2010-03-18 18:59:49', '2010-03-18 19:55:17', 'using'), +(2796, 271, '2010-03-18 18:59:57', '2010-03-18 19:10:09', 'using'), +(2797, 49, '2010-03-19 11:09:41', '2010-03-19 11:10:37', 'Administrator'), +(2798, 49, '2010-03-19 11:14:51', '2010-03-19 11:15:09', 'Administrator'), +(2799, 491, '2010-03-19 14:02:32', '2010-03-19 16:20:03', 'Administrator'), +(2800, 479, '2010-03-19 14:02:50', '2010-03-19 17:01:08', 'using'), +(2801, 179, '2010-03-19 14:03:13', '2010-03-19 17:01:11', 'Mechanic'), +(2802, 47, '2010-03-19 15:19:26', '2010-03-19 17:01:09', 'using'), +(2803, 49, '2010-03-19 16:21:28', '2010-03-19 17:01:16', 'Administrator'), +(2804, 491, '2010-03-19 17:01:23', '2010-03-19 17:09:37', 'Administrator'), +(2805, 187, '2010-03-20 13:59:27', '2010-03-20 17:17:46', 'Administrator'), +(2806, 50, '2010-03-20 13:59:37', '2010-03-20 17:17:34', 'Mechanic'), +(2807, 49, '2010-03-20 14:07:19', '2010-03-20 17:17:11', 'volunteering'), +(2808, 584, '2010-03-20 14:07:35', '2010-03-20 17:17:10', 'volunteering'), +(2809, 4, '2010-03-20 14:07:44', '2010-03-20 17:17:17', 'volunteering'), +(2810, 37, '2010-03-20 14:07:52', '2010-03-20 17:17:14', 'volunteering'), +(2811, 612, '2010-03-20 14:08:13', '2010-03-20 17:17:13', 'volunteering'), +(2812, 111, '2010-03-20 14:10:07', '2010-03-20 17:17:32', 'using'), +(2813, 12, '2010-03-20 14:14:45', '2010-03-20 17:17:13', 'volunteering'), +(2814, 479, '2010-03-20 14:17:59', '2010-03-20 17:17:15', 'volunteering'), +(2815, 523, '2010-03-20 14:29:08', '2010-03-20 14:43:46', 'using'), +(2816, 329, '2010-03-20 14:20:00', '2010-03-20 17:17:16', 'volunteering'), +(2817, 603, '2010-03-20 14:58:13', '2010-03-20 17:17:30', 'using'), +(2818, 543, '2010-03-20 14:58:22', '2010-03-20 17:17:20', 'using'), +(2819, 653, '2010-03-20 15:08:33', '2010-03-20 17:17:18', 'using'), +(2820, 654, '2010-03-20 15:08:46', '2010-03-20 17:17:12', 'using'), +(2821, 9, '2010-03-20 15:12:40', '2010-03-20 17:17:01', 'volunteering'), +(2822, 27, '2010-03-20 15:33:18', '2010-03-20 17:17:03', 'volunteering'), +(2823, 101, '2010-03-20 17:10:13', '2010-03-20 17:17:37', 'dogfucking'), +(2824, 27, '2010-03-20 17:19:50', '2010-03-20 17:19:59', 'Administrator'), +(2825, 50, '2010-03-20 17:39:55', '2010-03-20 20:15:44', 'Administrator'), +(2826, 118, '2010-03-20 20:14:53', '2010-03-22 15:14:49', 'Administrator'), +(2827, 253, '2010-03-22 15:14:44', '2010-03-22 17:12:28', 'Administrator'), +(2828, 110, '2010-03-22 15:15:13', '2010-03-22 17:12:16', 'Mechanic'), +(2829, 294, '2010-03-22 16:16:40', '2010-03-22 17:05:41', 'using'), +(2830, 227, '2010-03-22 17:05:54', '2010-03-22 17:12:14', 'using'), +(2831, 479, '2010-03-23 14:13:13', '2010-03-23 18:51:12', 'Administrator'), +(2832, 590, '2010-03-23 14:49:32', '2010-03-23 20:12:16', 'Mechanic'), +(2833, 37, '2010-03-23 18:50:57', '2010-03-23 20:12:18', 'Administrator'), +(2834, 444, '2010-03-23 18:51:04', '2010-03-23 20:12:15', 'using'), +(2835, 536, '2010-03-23 19:26:19', '2010-03-23 20:12:15', 'using'), +(2836, 49, '2010-03-24 14:21:37', '2010-03-24 17:04:31', 'Administrator'), +(2837, 36, '2010-03-24 14:21:45', '2010-03-24 17:27:37', 'Mechanic'), +(2838, 617, '2010-03-24 14:22:08', '2010-03-24 18:03:02', 'using'), +(2839, 657, '2010-03-24 14:35:17', '2010-03-24 16:58:17', 'using'), +(2840, 421, '2010-03-24 15:38:26', '2010-03-24 16:25:08', 'using'), +(2841, 329, '2010-03-24 13:30:00', '2010-03-24 19:58:53', 'volunteering'), +(2842, 460, '2010-03-24 16:25:17', '2010-03-24 18:03:01', 'using'), +(2843, 510, '2010-03-24 17:04:41', '2010-03-24 19:59:00', 'Administrator'), +(2844, 4, '2010-03-24 17:27:48', '2010-03-24 19:58:55', 'Mechanic'), +(2845, 536, '2010-03-24 19:11:09', '2010-03-24 19:58:34', 'using'), +(2846, 49, '2010-03-25 11:08:10', '2010-03-25 15:11:52', 'Administrator'), +(2847, 588, '2010-03-25 11:08:44', '2010-03-25 16:44:57', 'Mechanic'), +(2848, 584, '2010-03-25 12:18:55', '2010-03-25 14:11:57', 'volunteering'), +(2849, 551, '2010-03-25 15:12:00', '2010-03-25 16:44:21', 'Administrator'), +(2850, 329, '2010-03-25 16:43:10', '2010-03-25 20:08:23', 'volunteering'), +(2851, 37, '2010-03-25 16:44:15', '2010-03-25 21:33:28', 'Administrator'), +(2852, 27, '2010-03-25 16:45:05', '2010-03-25 21:33:26', 'Mechanic'), +(2853, 645, '2010-03-25 16:46:29', '2010-03-25 20:08:15', 'using'), +(2854, 12, '2010-03-25 16:46:56', '2010-03-25 21:33:25', 'using'), +(2855, 36, '2010-03-25 16:47:03', '2010-03-25 21:33:24', 'using'), +(2856, 536, '2010-03-25 18:05:31', '2010-03-25 20:07:57', 'using'), +(2857, 295, '2010-03-25 18:41:20', '2010-03-25 21:33:24', 'using'), +(2858, 392, '2010-03-25 18:51:02', '2010-03-25 21:33:23', 'using'), +(2859, 329, '2010-03-25 20:08:46', '2010-03-25 21:33:22', 'volunteering'), +(2860, 491, '2010-03-26 14:12:46', '2010-03-26 21:04:53', 'Administrator'), +(2861, 329, '2010-03-26 14:13:05', '2010-03-26 14:13:11', 'using'), +(2862, 329, '2010-03-26 14:13:19', '2010-03-26 15:22:39', 'dogfucking'), +(2863, 253, '2010-03-26 14:13:38', '2010-03-26 15:07:06', 'dogfucking'), +(2864, 654, '2010-03-26 14:46:19', '2010-03-26 15:11:59', 'using'), +(2865, 479, '2010-03-26 15:07:23', '2010-03-26 15:30:56', 'volunteering'), +(2866, 617, '2010-03-26 15:15:34', '2010-03-26 21:03:09', 'using'), +(2867, 329, '2010-03-26 15:22:46', '2010-03-26 21:03:08', 'volunteering'), +(2868, 37, '2010-03-26 21:03:01', '2010-03-26 21:05:08', 'Administrator'), +(2869, 187, '2010-03-27 14:23:12', '2010-03-29 13:57:13', 'Administrator'), +(2870, 50, '2010-03-27 14:23:20', '2010-03-29 13:57:32', 'Mechanic'), +(2871, 27, '2010-03-27 14:23:31', '2010-03-27 14:56:22', 'volunteering'), +(2872, 639, '2010-03-27 14:56:17', '2010-03-29 13:57:33', 'using'), +(2873, 27, '2010-03-27 14:56:30', '2010-03-29 13:57:30', 'dogfucking'), +(2874, 253, '2010-03-29 13:57:05', '2010-03-29 15:16:25', 'Administrator'), +(2875, 110, '2010-03-29 14:45:53', '2010-03-29 16:56:50', 'Mechanic'), +(2876, 551, '2010-03-29 15:01:55', '2010-03-29 15:22:37', 'using'), +(2877, 566, '2010-03-29 15:02:14', '2010-03-29 15:40:45', 'dogfucking'), +(2878, 253, '2010-03-29 15:17:13', '2010-03-29 15:17:39', 'Administrator'), +(2879, 253, '2010-03-29 15:21:59', '2010-03-29 17:07:40', 'Administrator'), +(2880, 12, '2010-03-29 15:33:19', '2010-03-29 16:56:51', 'using'), +(2881, 479, '2010-03-29 15:33:32', '2010-03-29 16:56:52', 'using'), +(2882, 9, '2010-03-29 15:33:42', '2010-03-29 16:17:52', 'dogfucking'), +(2883, 329, '2010-03-29 15:50:06', '2010-03-29 16:08:49', 'using'), +(2884, 329, '2010-03-29 16:09:07', '2010-03-29 16:56:54', 'volunteering'), +(2885, 479, '2010-03-30 14:12:12', '2010-03-30 17:57:01', 'Administrator'), +(2886, 329, '2010-03-30 14:15:47', '2010-03-30 17:57:34', 'volunteering'), +(2887, 590, '2010-03-30 15:13:42', '2010-03-30 17:57:12', 'Mechanic'), +(2888, 414, '2010-03-30 15:26:25', '2010-03-30 17:57:36', 'volunteering'), +(2889, 27, '2010-03-30 17:57:09', '2010-03-30 20:20:02', 'Administrator'), +(2890, 36, '2010-03-30 17:57:15', '2010-03-30 17:57:18', 'Mechanic'), +(2891, 37, '2010-03-30 17:57:54', '2010-03-31 14:12:54', 'dogfucking'), +(2892, 664, '2010-03-30 20:13:58', '2010-03-31 14:12:56', 'using'), +(2893, 241, '2010-03-30 20:13:58', '2010-03-30 20:14:04', 'Mechanic'), +(2894, 106, '2010-03-31 14:12:41', '2010-03-31 17:06:49', 'Administrator'), +(2895, 36, '2010-03-31 14:13:01', '2010-03-31 18:17:57', 'Mechanic'), +(2896, 504, '2010-03-31 14:13:15', '2010-03-31 14:30:35', 'using'), +(2897, 504, '2010-03-31 14:34:19', '2010-03-31 16:18:40', 'using'), +(2898, 491, '2010-03-31 16:38:26', '2010-03-31 18:17:56', 'dogfucking'), +(2899, 510, '2010-03-31 17:09:40', '2010-03-31 20:00:05', 'Administrator'), +(2900, 4, '2010-03-31 18:18:08', '2010-03-31 20:00:02', 'Mechanic'), +(2901, 329, '2010-03-31 18:18:23', '2010-03-31 19:51:29', 'volunteering'), +(2902, 584, '2010-04-01 13:39:14', '2010-04-01 15:20:30', 'Administrator'), +(2903, 12, '2010-04-01 13:39:27', '2010-04-01 18:39:02', 'dogfucking'), +(2904, 49, '2010-04-01 13:57:13', '2010-04-01 18:49:10', 'using'), +(2905, 551, '2010-04-01 15:20:25', '2010-04-01 17:05:36', 'Administrator'), +(2906, 295, '2010-04-01 16:38:36', '2010-04-01 18:09:52', 'using'), +(2907, 667, '2010-04-01 17:04:56', '2010-04-01 17:51:02', 'using'), +(2908, 67, '2010-04-01 17:05:23', '2010-04-01 19:45:00', 'Mechanic'), +(2909, 174, '2010-04-01 19:17:29', '2010-04-01 19:44:59', 'volunteering'), +(2910, 253, '2010-04-05 13:51:52', '2010-04-05 16:57:52', 'Administrator'), +(2911, 110, '2010-04-05 14:09:33', '2010-04-05 16:58:05', 'Mechanic'), +(2912, 566, '2010-04-05 14:10:07', '2010-04-05 14:10:15', 'dogfucking'), +(2913, 669, '2010-04-05 14:35:29', '2010-04-05 15:13:14', 'using'), +(2914, 491, '2010-04-05 15:57:42', '2010-04-05 16:32:06', 'using'), +(2915, 424, '2010-04-05 16:03:11', '2010-04-05 16:32:03', 'using'), +(2916, 479, '2010-04-06 15:06:45', '2010-04-06 17:00:40', 'Administrator'), +(2917, 594, '2010-04-06 17:00:46', '2010-04-06 19:54:05', 'Administrator'), +(2918, 27, '2010-04-06 17:07:06', '2010-04-06 19:54:01', 'Mechanic'); +INSERT INTO `visits` (`visitID`, `userID`, `intime`, `endout`, `activity`) VALUES +(2919, 9, '2010-04-06 17:08:35', '2010-04-06 17:21:57', 'dogfucking'), +(2920, 329, '2010-04-06 17:22:39', '2010-04-06 19:54:03', 'using'), +(2921, 664, '2010-04-06 18:40:38', '2010-04-06 19:47:02', 'using'), +(2922, 106, '2010-04-07 14:37:29', '2010-04-07 17:44:51', 'Administrator'), +(2923, 36, '2010-04-07 14:37:40', '2010-04-07 17:44:48', 'Mechanic'), +(2924, 61, '2010-04-07 14:38:02', '2010-04-07 17:14:57', 'using'), +(2925, 566, '2010-04-07 15:29:51', '2010-04-07 16:26:40', 'dogfucking'), +(2926, 45, '2010-04-07 17:15:08', '2010-04-07 17:44:46', 'using'), +(2927, 303, '2010-04-07 17:23:19', '2010-04-07 18:36:43', 'using'), +(2928, 4, '2010-04-07 17:44:55', '2010-04-08 16:19:33', 'Administrator'), +(2929, 603, '2010-04-07 18:50:52', '2010-04-07 20:03:50', 'using'), +(2930, 668, '2010-04-07 18:52:22', '2010-04-07 20:03:37', 'using'), +(2931, 49, '2010-04-08 11:26:57', '2010-04-08 16:22:47', 'Administrator'), +(2932, 584, '2010-04-08 13:20:58', '2010-04-08 16:23:01', 'Administrator'), +(2933, 329, '2010-04-08 14:05:31', '2010-04-08 16:23:48', 'Mechanic'), +(2934, 551, '2010-04-08 14:21:40', '2010-04-08 17:00:48', 'Administrator'), +(2935, 329, '2010-04-08 16:24:02', '2010-04-08 19:51:57', 'using'), +(2936, 67, '2010-04-08 16:24:09', '2010-04-08 19:52:04', 'Mechanic'), +(2937, 294, '2010-04-08 16:26:40', '2010-04-08 19:52:05', 'volunteering'), +(2938, 448, '2010-04-08 16:35:55', '2010-04-08 19:01:03', 'using'), +(2939, 174, '2010-04-08 16:58:41', '2010-04-08 17:00:31', 'volunteering'), +(2940, 174, '2010-04-08 17:01:03', '2010-04-08 19:52:11', 'Administrator'), +(2941, 49, '2010-04-09 14:10:44', '2010-04-09 14:14:52', 'Administrator'), +(2942, 491, '2010-04-09 14:15:06', '2010-04-09 17:19:33', 'Administrator'), +(2943, 294, '2010-04-09 16:09:01', '2010-04-09 17:19:30', 'using'), +(2944, 187, '2010-04-10 14:07:24', '2010-04-10 17:13:42', 'Administrator'), +(2945, 50, '2010-04-10 14:07:40', '2010-04-10 17:13:40', 'Mechanic'), +(2946, 603, '2010-04-10 14:13:18', '2010-04-10 14:35:18', 'using'), +(2947, 639, '2010-04-10 15:33:28', '2010-04-10 16:32:46', 'using'), +(2948, 628, '2010-04-10 16:32:37', '2010-04-10 16:47:55', 'dogfucking'), +(2949, 49, '2010-04-12 10:41:13', '2010-04-12 13:27:30', 'Administrator'), +(2950, 49, '2010-04-12 13:48:37', '2010-04-12 13:49:05', 'Administrator'), +(2951, 47, '2010-04-12 13:48:52', '2010-04-12 13:49:03', 'using'), +(2952, 253, '2010-04-12 13:49:14', '2010-04-12 17:23:10', 'Administrator'), +(2953, 329, '2010-04-12 13:58:34', '2010-04-12 17:11:49', 'using'), +(2954, 47, '2010-04-12 13:59:03', '2010-04-12 17:11:50', 'using'), +(2955, 640, '2010-04-12 14:00:06', '2010-04-12 14:00:08', 'Mechanic'), +(2956, 640, '2010-04-12 14:00:25', '2010-04-12 16:21:41', 'using'), +(2957, 675, '2010-04-12 16:21:22', '2010-04-12 17:11:50', 'using'), +(2958, 110, '2010-04-12 16:21:35', '2010-04-12 17:11:48', 'Mechanic'), +(2959, 78, '2010-04-13 14:09:32', '2010-04-13 17:03:33', 'Administrator'), +(2960, 414, '2010-04-13 16:15:33', '2010-04-13 17:04:18', 'volunteering'), +(2961, 594, '2010-04-13 17:04:07', '2010-04-13 19:50:13', 'Administrator'), +(2962, 49, '2010-04-13 17:04:34', '2010-04-13 17:12:36', 'Mechanic'), +(2963, 329, '2010-04-13 17:04:43', '2010-04-13 18:11:10', 'using'), +(2964, 241, '2010-04-13 17:12:37', '2010-04-13 17:12:39', 'Mechanic'), +(2965, 27, '2010-04-13 17:12:50', '2010-04-13 19:50:09', 'Mechanic'), +(2966, 675, '2010-04-13 18:11:20', '2010-04-13 18:27:57', 'using'), +(2967, 668, '2010-04-13 18:41:49', '2010-04-13 19:46:28', 'using'), +(2968, 49, '2010-04-14 13:30:55', '2010-04-14 13:31:48', 'Administrator'), +(2969, 106, '2010-04-14 14:20:37', '2010-04-14 17:14:35', 'Administrator'), +(2970, 329, '2010-04-14 14:20:55', '2010-04-14 20:06:14', 'volunteering'), +(2971, 36, '2010-04-14 14:21:01', '2010-04-14 17:15:02', 'Mechanic'), +(2972, 49, '2010-04-14 14:21:31', '2010-04-14 19:32:27', 'volunteering'), +(2973, 253, '2010-04-14 14:21:59', '2010-04-14 19:32:32', 'using'), +(2974, 37, '2010-04-14 16:18:08', '2010-04-14 17:14:57', 'using'), +(2975, 510, '2010-04-14 17:14:46', '2010-04-14 20:06:17', 'Administrator'), +(2976, 4, '2010-04-14 17:15:07', '2010-04-14 20:06:13', 'Mechanic'), +(2977, 584, '2010-04-15 12:05:30', '2010-04-15 14:10:30', 'Administrator'), +(2978, 49, '2010-04-15 12:05:55', '2010-04-15 12:06:00', 'using'), +(2979, 49, '2010-04-15 12:06:09', '2010-04-15 16:57:23', 'Mechanic'), +(2980, 551, '2010-04-15 12:13:14', '2010-04-15 16:19:29', 'using'), +(2981, 627, '2010-04-15 12:43:57', '2010-04-15 16:57:55', 'using'), +(2982, 329, '2010-04-15 13:08:18', '2010-04-15 20:06:26', 'using'), +(2983, 12, '2010-04-15 13:13:25', '2010-04-15 20:06:27', 'using'), +(2984, 551, '2010-04-15 16:20:13', '2010-04-15 16:56:47', 'Administrator'), +(2985, 174, '2010-04-15 16:56:53', '2010-04-15 20:06:31', 'Administrator'), +(2986, 67, '2010-04-15 16:57:11', '2010-04-15 16:57:25', 'volunteering'), +(2987, 67, '2010-04-15 16:57:33', '2010-04-15 20:06:25', 'Mechanic'), +(2988, 49, '2010-04-15 16:57:43', '2010-04-15 20:06:28', 'volunteering'), +(2989, 683, '2010-04-15 18:02:57', '2010-04-15 20:06:28', 'using'), +(2990, 49, '2010-04-16 11:39:15', '2010-04-16 11:43:18', 'Administrator'), +(2991, 49, '2010-04-16 14:40:40', '2010-04-17 14:07:19', 'Administrator'), +(2992, 187, '2010-04-17 14:07:10', '2010-04-17 17:09:07', 'Administrator'), +(2993, 50, '2010-04-17 14:07:38', '2010-04-17 17:09:03', 'Mechanic'), +(2994, 554, '2010-04-17 14:25:32', '2010-04-17 17:06:31', 'using'), +(2995, 329, '2010-04-17 15:10:18', '2010-04-17 17:09:02', 'using'), +(2996, 564, '2010-04-17 16:05:19', '2010-04-17 17:01:25', 'using'), +(2997, 184, '2010-04-17 16:31:25', '2010-04-17 17:01:26', 'using'), +(2998, 49, '2010-04-19 14:04:48', '2010-04-19 17:00:03', 'Administrator'), +(2999, 495, '2010-04-19 14:05:04', '2010-04-19 15:19:27', 'using'), +(3000, 388, '2010-04-19 15:19:24', '2010-04-19 16:52:08', 'using'), +(3001, 479, '2010-04-20 14:12:55', '2010-04-20 17:56:51', 'Administrator'), +(3002, 329, '2010-04-20 14:13:10', '2010-04-20 18:22:35', 'volunteering'), +(3003, 590, '2010-04-20 14:21:05', '2010-04-20 17:09:19', 'Mechanic'), +(3004, 455, '2010-04-20 14:58:44', '2010-04-20 15:29:49', 'using'), +(3005, 414, '2010-04-20 16:13:42', '2010-04-20 18:22:32', 'volunteering'), +(3006, 388, '2010-04-20 17:00:06', '2010-04-20 18:22:37', 'using'), +(3007, 27, '2010-04-20 17:09:29', '2010-04-20 20:12:40', 'Mechanic'), +(3008, 505, '2010-04-20 18:22:29', '2010-04-20 20:12:37', 'using'), +(3009, 274, '2010-04-20 18:30:23', '2010-04-20 20:12:38', 'using'), +(3010, 106, '2010-04-21 14:18:11', '2010-04-21 17:13:20', 'Administrator'), +(3011, 287, '2010-04-21 14:20:21', '2010-04-21 14:53:22', 'using'), +(3012, 303, '2010-04-21 14:20:50', '2010-04-21 17:13:09', 'using'), +(3013, 629, '2010-04-21 14:21:02', '2010-04-21 14:21:05', 'Mechanic'), +(3014, 629, '2010-04-21 14:21:15', '2010-04-21 16:25:34', 'using'), +(3015, 36, '2010-04-21 14:21:19', '2010-04-21 17:13:08', 'Mechanic'), +(3016, 677, '2010-04-21 14:27:45', '2010-04-21 17:13:11', 'using'), +(3017, 12, '2010-04-21 14:39:48', '2010-04-21 16:23:17', 'volunteering'), +(3018, 61, '2010-04-21 14:40:01', '2010-04-21 14:45:32', 'using'), +(3019, 329, '2010-04-21 15:01:19', '2010-04-21 17:13:15', 'volunteering'), +(3020, 566, '2010-04-21 15:01:43', '2010-04-21 15:31:12', 'dogfucking'), +(3021, 666, '2010-04-21 15:13:14', '2010-04-21 15:28:53', 'using'), +(3022, 690, '2010-04-21 15:19:16', '2010-04-21 17:13:12', 'using'), +(3023, 477, '2010-04-21 15:29:11', '2010-04-21 17:13:13', 'using'), +(3024, 665, '2010-04-21 15:31:44', '2010-04-21 16:25:03', 'using'), +(3025, 295, '2010-04-21 16:44:24', '2010-04-21 17:13:14', 'using'), +(3026, 691, '2010-04-21 16:54:59', '2010-04-21 17:13:16', 'using'), +(3027, 584, '2010-04-22 11:18:22', '2010-04-22 13:53:22', 'Administrator'), +(3028, 12, '2010-04-22 11:18:39', '2010-04-22 11:58:11', 'dogfucking'), +(3029, 49, '2010-04-22 11:18:53', '2010-04-22 14:17:25', 'Mechanic'), +(3030, 692, '2010-04-22 11:21:27', '2010-04-22 17:00:51', 'using'), +(3031, 551, '2010-04-22 14:01:59', '2010-04-22 17:06:21', 'Administrator'), +(3032, 617, '2010-04-22 14:02:25', '2010-04-22 17:00:52', 'using'), +(3033, 118, '2010-04-22 14:17:46', '2010-04-22 17:00:50', 'Mechanic'), +(3034, 422, '2010-04-22 14:52:15', '2010-04-22 17:00:53', 'using'), +(3035, 628, '2010-04-23 14:28:51', '2010-04-23 15:19:54', 'Administrator'), +(3036, 329, '2010-04-23 14:32:52', '2010-04-23 20:41:59', 'using'), +(3037, 274, '2010-04-23 14:34:03', '2010-04-23 15:49:10', 'using'), +(3038, 628, '2010-04-23 15:20:00', '2010-04-23 20:42:04', 'Administrator'), +(3039, 689, '2010-04-23 15:33:27', '2010-04-23 20:42:01', 'using'), +(3040, 16, '2010-04-23 15:48:10', '2010-04-23 20:42:00', 'dogfucking'), +(3041, 27, '2010-04-23 20:41:55', '2010-04-23 20:43:55', 'Administrator'), +(3042, 27, '2010-04-23 21:27:38', '2010-04-23 21:27:45', 'Administrator'), +(3043, 37, '2010-04-24 14:12:29', '2010-04-24 17:26:54', 'Administrator'), +(3044, 50, '2010-04-24 14:12:53', '2010-04-24 17:26:51', 'Mechanic'), +(3045, 642, '2010-04-24 14:13:06', '2010-04-24 14:23:20', 'using'), +(3046, 329, '2010-04-24 14:23:02', '2010-04-24 17:26:50', 'using'), +(3047, 117, '2010-04-24 14:23:17', '2010-04-24 17:26:49', 'using'), +(3048, 422, '2010-04-24 14:55:27', '2010-04-24 17:26:49', 'using'), +(3049, 37, '2010-04-26 12:59:54', '2010-04-26 14:08:57', 'Administrator'), +(3050, 253, '2010-04-26 14:09:02', '2010-04-26 17:42:16', 'Administrator'), +(3051, 429, '2010-04-26 14:09:24', '2010-04-26 14:22:02', 'using'), +(3052, 37, '2010-04-26 14:09:46', '2010-04-26 17:42:14', 'Mechanic'), +(3053, 421, '2010-04-26 14:51:12', '2010-04-26 17:00:24', 'using'), +(3054, 700, '2010-04-26 15:02:18', '2010-04-26 17:00:22', 'using'), +(3055, 687, '2010-04-26 15:03:05', '2010-04-26 16:08:09', 'using'), +(3056, 343, '2010-04-26 15:12:08', '2010-04-26 16:18:43', 'using'), +(3057, 702, '2010-04-26 16:18:51', '2010-04-26 17:36:01', 'using'), +(3058, 253, '2010-04-26 17:46:58', '2010-04-26 17:47:53', 'Administrator'), +(3059, 479, '2010-04-27 14:38:19', '2010-04-27 17:02:43', 'Administrator'), +(3060, 594, '2010-04-27 17:02:51', '2010-04-27 19:33:47', 'Administrator'), +(3061, 27, '2010-04-27 17:03:03', '2010-04-27 20:04:27', 'Mechanic'), +(3062, 690, '2010-04-27 18:01:58', '2010-04-27 18:19:18', 'using'), +(3063, 274, '2010-04-27 18:19:28', '2010-04-27 20:04:26', 'using'), +(3064, 442, '2010-04-27 19:30:53', '2010-04-27 20:04:24', 'using'), +(3065, 594, '2010-04-27 19:35:09', '2010-04-27 20:04:29', 'Administrator'), +(3066, 49, '2010-04-28 15:07:41', '2010-04-28 16:55:07', 'Administrator'), +(3067, 16, '2010-04-28 16:57:09', '2010-04-28 20:12:19', 'Administrator'), +(3068, 690, '2010-04-28 17:17:20', '2010-04-28 19:21:16', 'using'), +(3069, 12, '2010-04-28 17:26:52', '2010-04-28 20:12:02', 'Mechanic'), +(3070, 209, '2010-04-28 18:27:00', '2010-04-28 18:31:50', 'using'), +(3071, 704, '2010-04-28 18:57:55', '2010-04-28 19:04:30', 'using'), +(3072, 49, '2010-04-29 12:10:01', '2010-04-29 14:20:16', 'Administrator'), +(3073, 471, '2010-04-29 12:10:18', '2010-04-29 13:32:54', 'using'), +(3074, 37, '2010-04-29 13:09:03', '2010-04-29 16:29:13', 'Administrator'), +(3075, 49, '2010-04-29 15:33:10', '2010-04-29 17:31:26', 'Administrator'), +(3076, 610, '2010-04-29 16:27:33', '2010-04-29 17:31:19', 'using'), +(3077, 37, '2010-04-29 16:29:17', '2010-04-29 17:31:41', 'Administrator'), +(3078, 294, '2010-04-29 16:29:31', '2010-04-29 17:31:20', 'Mechanic'), +(3079, 37, '2010-04-29 17:56:27', '2010-04-29 18:05:50', 'Administrator'), +(3080, 49, '2010-04-30 12:13:32', '2010-04-30 13:43:55', 'Administrator'), +(3081, 504, '2010-04-30 14:59:04', '2010-04-30 17:04:47', 'using'), +(3082, 37, '2010-04-30 15:12:52', '2010-04-30 17:04:48', 'volunteering'), +(3083, 37, '2010-04-30 17:48:27', '2010-04-30 17:50:31', 'Administrator'), +(3084, 50, '2010-05-01 14:06:55', '2010-05-01 14:16:34', 'Administrator'), +(3085, 554, '2010-05-01 14:08:13', '2010-05-01 14:16:30', 'using'), +(3086, 27, '2010-05-01 14:16:44', '2010-05-01 17:46:15', 'Administrator'), +(3087, 50, '2010-05-01 14:16:58', '2010-05-01 17:46:01', 'Mechanic'), +(3088, 554, '2010-05-01 14:17:08', '2010-05-01 17:35:55', 'using'), +(3089, 271, '2010-05-01 14:17:25', '2010-05-01 14:19:15', 'using'), +(3090, 505, '2010-05-01 14:28:09', '2010-05-01 14:55:16', 'using'), +(3091, 35, '2010-05-01 14:40:46', '2010-05-01 17:05:58', 'using'), +(3092, 179, '2010-05-01 15:07:11', '2010-05-01 17:05:44', 'using'), +(3093, 287, '2010-05-01 15:24:32', '2010-05-01 16:58:56', 'using'), +(3094, 708, '2010-05-01 16:55:42', '2010-05-01 17:05:40', 'using'), +(3095, 709, '2010-05-01 16:58:50', '2010-05-01 17:05:41', 'using'), +(3096, 179, '2010-05-01 17:06:04', '2010-05-01 17:46:00', 'using'), +(3097, 711, '2010-05-01 17:33:19', '2010-05-01 17:35:58', 'using'), +(3098, 710, '2010-05-01 17:33:28', '2010-05-01 17:35:59', 'using'), +(3099, 253, '2010-05-03 13:59:00', '2010-05-03 17:25:52', 'Administrator'), +(3100, 681, '2010-05-03 14:05:15', '2010-05-03 14:26:27', 'using'), +(3101, 396, '2010-05-03 14:35:47', '2010-05-03 14:56:27', 'using'), +(3102, 712, '2010-05-03 14:44:15', '2010-05-03 14:54:15', 'using'), +(3103, 156, '2010-05-03 15:57:12', '2010-05-03 17:21:18', 'Mechanic'), +(3104, 715, '2010-05-03 16:19:11', '2010-05-03 17:12:02', 'using'), +(3105, 584, '2010-05-04 14:20:47', '2010-05-04 16:57:09', 'Administrator'), +(3106, 712, '2010-05-04 14:21:08', '2010-05-04 15:06:08', 'using'), +(3107, 27, '2010-05-04 14:21:15', '2010-05-04 16:57:03', 'Mechanic'), +(3108, 716, '2010-05-04 14:33:00', '2010-05-04 16:39:50', 'using'), +(3109, 703, '2010-05-04 16:40:28', '2010-05-04 16:57:06', 'using'), +(3110, 717, '2010-05-04 16:44:58', '2010-05-04 16:57:07', 'using'), +(3111, 628, '2010-05-04 17:04:37', '2010-05-04 19:49:31', 'Administrator'), +(3112, 594, '2010-05-04 17:05:21', '2010-05-04 19:45:34', 'volunteering'), +(3113, 49, '2010-05-04 17:05:59', '2010-05-04 18:31:32', 'volunteering'), +(3114, 27, '2010-05-04 17:06:24', '2010-05-04 19:45:33', 'Mechanic'), +(3115, 588, '2010-05-04 17:14:38', '2010-05-04 19:45:36', 'volunteering'), +(3116, 49, '2010-05-06 17:18:50', '2010-05-06 20:22:26', 'Administrator'), +(3117, 329, '2010-05-06 17:29:01', '2010-05-07 11:36:09', 'using'), +(3118, 49, '2010-05-07 11:29:45', '2010-05-07 11:44:09', 'Administrator'), +(3119, 49, '2010-05-07 14:02:27', '2010-05-07 14:03:25', 'Administrator'), +(3120, 253, '2010-05-07 14:03:30', '2010-05-07 16:23:30', 'Administrator'), +(3121, 179, '2010-05-07 14:03:40', '2010-05-07 17:23:58', 'Mechanic'), +(3122, 721, '2010-05-07 14:13:13', '2010-05-07 15:13:20', 'using'), +(3123, 547, '2010-05-07 15:33:14', '2010-05-07 15:55:06', 'using'), +(3124, 693, '2010-05-07 15:55:15', '2010-05-07 16:02:11', 'using'), +(3125, 18, '2010-05-07 15:57:00', '2010-05-07 16:43:38', 'using'), +(3126, 678, '2010-05-07 16:03:03', '2010-05-07 16:03:05', 'using'), +(3127, 49, '2010-05-07 16:23:26', '2010-05-07 16:23:38', 'Administrator'), +(3128, 253, '2010-05-07 16:23:35', '2010-05-07 17:24:01', 'Administrator'), +(3129, 724, '2010-05-07 16:36:03', '2010-05-07 16:36:04', 'using'), +(3130, 50, '2010-05-08 14:13:39', '2010-05-08 14:29:24', 'Administrator'), +(3131, 698, '2010-05-08 14:19:41', '2010-05-08 17:26:12', 'using'), +(3132, 155, '2010-05-08 14:29:36', '2010-05-08 18:04:25', 'Administrator'), +(3133, 50, '2010-05-08 14:29:52', '2010-05-08 17:58:56', 'Mechanic'), +(3134, 179, '2010-05-08 14:49:08', '2010-05-08 17:58:58', 'using'), +(3135, 253, '2010-05-10 14:01:52', '2010-05-10 17:43:30', 'Administrator'), +(3136, 156, '2010-05-10 14:05:35', '2010-05-10 17:43:28', 'Mechanic'), +(3137, 584, '2010-05-11 14:32:12', '2010-05-11 17:08:48', 'Administrator'), +(3138, 547, '2010-05-11 14:32:50', '2010-05-11 16:59:16', 'using'), +(3139, 27, '2010-05-11 14:33:04', '2010-05-11 17:49:29', 'Mechanic'), +(3140, 702, '2010-05-11 15:00:06', '2010-05-11 17:35:26', 'using'), +(3141, 729, '2010-05-11 15:06:50', '2010-05-11 19:55:03', 'using'), +(3142, 377, '2010-05-11 15:28:06', '2010-05-11 16:04:40', 'using'), +(3143, 730, '2010-05-11 15:50:05', '2010-05-11 15:58:46', 'using'), +(3144, 256, '2010-05-11 16:36:02', '2010-05-11 18:55:57', 'using'), +(3145, 731, '2010-05-11 16:36:17', '2010-05-11 19:55:05', 'using'), +(3146, 628, '2010-05-11 17:11:39', '2010-05-11 20:02:02', 'Administrator'), +(3147, 274, '2010-05-11 17:17:06', '2010-05-11 19:44:33', 'using'), +(3148, 588, '2010-05-11 17:49:25', '2010-05-11 17:49:31', 'volunteering'), +(3149, 588, '2010-05-11 17:49:41', '2010-05-11 19:44:27', 'Mechanic'), +(3150, 441, '2010-05-13 17:15:05', '2010-05-13 20:25:18', 'Administrator'), +(3151, 274, '2010-05-13 17:21:39', '2010-05-13 19:27:21', 'using'), +(3152, 294, '2010-05-13 17:21:48', '2010-05-13 20:25:12', 'Mechanic'), +(3153, 725, '2010-05-13 17:36:05', '2010-05-13 18:14:40', 'using'), +(3154, 665, '2010-05-13 19:27:16', '2010-05-13 19:32:37', 'using'), +(3155, 377, '2010-05-13 19:34:23', '2010-05-13 19:55:06', 'using'), +(3156, 735, '2010-05-13 19:35:35', '2010-05-13 20:25:11', 'using'), +(3157, 27, '2010-05-14 13:49:32', '2010-05-14 14:33:06', 'Administrator'), +(3158, 179, '2010-05-14 13:49:43', '2010-05-14 17:20:57', 'Mechanic'), +(3159, 27, '2010-05-14 14:48:22', '2010-05-14 17:21:03', 'Administrator'), +(3160, 678, '2010-05-14 15:05:55', '2010-05-14 16:30:31', 'using'), +(3161, 50, '2010-05-15 14:19:21', '2010-05-15 15:38:59', 'Administrator'), +(3162, 712, '2010-05-15 14:19:34', '2010-05-15 17:49:59', 'using'), +(3163, 155, '2010-05-15 15:39:04', '2010-05-15 18:28:29', 'Administrator'), +(3164, 50, '2010-05-15 15:39:23', '2010-05-15 17:56:42', 'Mechanic'), +(3165, 118, '2010-05-15 15:48:57', '2010-05-15 17:56:41', 'using'), +(3166, 668, '2010-05-15 16:35:12', '2010-05-15 16:35:17', 'using'), +(3167, 49, '2010-05-17 14:02:50', '2010-05-17 17:39:31', 'Administrator'), +(3168, 156, '2010-05-17 14:03:13', '2010-05-17 17:39:29', 'Mechanic'), +(3169, 80, '2010-05-17 14:03:24', '2010-05-17 16:09:00', 'using'), +(3170, 30, '2010-05-17 14:22:03', '2010-05-17 16:53:18', 'using'), +(3171, 735, '2010-05-17 14:42:49', '2010-05-17 16:10:08', 'using'), +(3172, 691, '2010-05-17 15:11:38', '2010-05-17 16:25:44', 'using'), +(3173, 720, '2010-05-17 16:23:43', '2010-05-17 17:38:10', 'using'), +(3174, 584, '2010-05-18 14:22:46', '2010-05-18 17:10:55', 'Administrator'), +(3175, 27, '2010-05-18 14:23:00', '2010-05-18 17:10:53', 'Mechanic'), +(3176, 174, '2010-05-18 14:23:12', '2010-05-18 17:41:34', 'using'), +(3177, 462, '2010-05-18 14:23:33', '2010-05-18 16:29:31', 'using'), +(3178, 414, '2010-05-18 15:28:15', '2010-05-18 16:23:34', 'volunteering'), +(3179, 741, '2010-05-18 16:29:47', '2010-05-18 19:50:03', 'using'), +(3180, 628, '2010-05-18 17:11:31', '2010-05-18 20:46:39', 'Administrator'), +(3181, 37, '2010-05-18 17:48:12', '2010-05-18 20:46:37', 'Mechanic'), +(3182, 67, '2010-05-18 17:48:25', '2010-05-18 20:10:58', 'using'), +(3183, 631, '2010-05-18 17:52:04', '2010-05-18 20:11:03', 'using'), +(3184, 668, '2010-05-18 18:01:21', '2010-05-18 20:46:36', 'using'), +(3185, 274, '2010-05-18 18:01:29', '2010-05-18 20:46:35', 'using'), +(3186, 392, '2010-05-18 18:17:26', '2010-05-18 19:50:57', 'using'), +(3187, 536, '2010-05-18 18:53:36', '2010-05-18 20:11:04', 'using'), +(3188, 745, '2010-05-18 19:50:49', '2010-05-18 20:11:05', 'using'), +(3189, 718, '2010-05-18 20:11:20', '2010-05-18 20:46:34', 'using'), +(3190, 49, '2010-05-20 16:45:23', '2010-05-20 17:34:59', 'Administrator'), +(3191, 727, '2010-05-20 16:46:02', '2010-05-20 17:51:26', 'using'), +(3192, 441, '2010-05-20 17:35:08', '2010-05-20 20:43:15', 'Administrator'), +(3193, 294, '2010-05-20 17:35:22', '2010-05-20 20:29:19', 'Mechanic'), +(3194, 748, '2010-05-20 17:51:35', '2010-05-20 20:27:27', 'using'), +(3195, 746, '2010-05-20 17:51:41', '2010-05-20 18:41:43', 'using'), +(3196, 747, '2010-05-20 17:51:56', '2010-05-20 19:02:07', 'using'), +(3197, 298, '2010-05-20 17:52:38', '2010-05-20 18:31:41', 'using'), +(3198, 720, '2010-05-20 17:53:42', '2010-05-20 19:02:04', 'using'), +(3199, 668, '2010-05-20 18:04:37', '2010-05-20 20:43:07', 'using'), +(3200, 49, '2010-05-21 15:20:10', '2010-05-21 17:01:30', 'Administrator'), +(3201, 584, '2010-05-25 14:04:31', '2010-05-25 17:12:13', 'Administrator'), +(3202, 27, '2010-05-25 14:04:50', '2010-05-25 17:25:32', 'Mechanic'), +(3203, 747, '2010-05-25 14:32:39', '2010-05-25 17:09:44', 'using'), +(3204, 741, '2010-05-25 14:40:09', '2010-05-25 18:52:22', 'using'), +(3205, 351, '2010-05-25 15:28:38', '2010-05-25 16:20:09', 'using'), +(3206, 351, '2010-05-25 16:20:19', '2010-05-25 19:12:36', 'volunteering'), +(3207, 628, '2010-05-25 17:25:22', '2010-05-27 17:20:52', 'Administrator'), +(3208, 274, '2010-05-25 17:25:43', '2010-05-25 18:52:38', 'volunteering'), +(3209, 505, '2010-05-25 17:27:39', '2010-05-25 18:52:43', 'volunteering'), +(3210, 752, '2010-05-25 18:52:20', '2010-05-25 19:12:34', 'using'), +(3211, 668, '2010-05-25 18:52:34', '2010-05-25 19:12:35', 'using'), +(3212, 441, '2010-05-27 17:20:34', '2010-05-27 20:00:02', 'Administrator'), +(3213, 705, '2010-05-27 18:22:57', '2010-05-27 19:51:51', 'volunteering'), +(3214, 294, '2010-05-27 16:58:00', '2010-05-27 19:59:54', 'Working'), +(3215, 668, '2010-05-27 19:52:03', '2010-05-27 19:59:53', 'using'), +(3216, 253, '2010-05-28 14:08:46', '2010-05-28 17:47:05', 'Administrator'), +(3217, 179, '2010-05-28 14:13:08', '2010-05-28 17:47:02', 'Mechanic'), +(3218, 198, '2010-05-28 14:31:14', '2010-05-28 17:29:32', 'using'), +(3219, 754, '2010-05-28 17:24:18', '2010-05-28 17:47:01', 'using'), +(3220, 50, '2010-05-29 14:16:11', '2010-05-29 14:43:58', 'Administrator'), +(3221, 748, '2010-05-29 14:16:49', '2010-05-29 17:08:37', 'using'), +(3222, 155, '2010-05-29 14:44:07', '2010-05-29 17:29:41', 'Administrator'), +(3223, 50, '2010-05-29 14:44:18', '2010-05-29 17:29:35', 'Mechanic'), +(3224, 755, '2010-05-29 16:41:15', '2010-05-29 17:08:39', 'using'), +(3225, 253, '2010-05-31 14:29:53', '2010-05-31 17:40:53', 'Administrator'), +(3226, 156, '2010-05-31 14:30:30', '2010-05-31 17:40:38', 'Mechanic'), +(3227, 584, '2010-06-01 14:05:13', '2010-06-01 17:03:14', 'Administrator'), +(3228, 27, '2010-06-01 14:05:28', '2010-06-01 20:03:09', 'Mechanic'), +(3229, 414, '2010-06-01 14:22:09', '2010-06-01 16:05:13', 'volunteering'), +(3230, 741, '2010-06-01 15:13:48', '2010-06-01 15:54:09', 'using'), +(3231, 628, '2010-06-01 17:14:34', '2010-06-01 20:03:17', 'Administrator'), +(3232, 701, '2010-06-01 17:22:32', '2010-06-01 20:03:10', 'using'), +(3233, 668, '2010-06-01 17:50:11', '2010-06-01 20:03:12', 'using'), +(3234, 758, '2010-06-01 19:07:24', '2010-06-01 20:03:13', 'using'), +(3235, 755, '2010-06-01 19:07:37', '2010-06-01 20:07:52', 'using'), +(3236, 628, '2010-06-01 20:07:58', '2010-06-01 20:08:02', 'Administrator'), +(3237, 441, '2010-06-03 17:52:02', '2010-06-03 20:36:20', 'Administrator'), +(3238, 294, '2010-06-03 17:52:18', '2010-06-03 20:29:08', 'Mechanic'), +(3239, 49, '2010-06-03 17:52:28', '2010-06-03 18:23:46', 'volunteering'), +(3240, 727, '2010-06-03 17:52:39', '2010-06-03 17:57:26', 'dogfucking'), +(3241, 668, '2010-06-03 17:52:00', '2010-06-03 20:36:16', 'using'), +(3242, 680, '2010-06-03 17:53:00', '2010-06-03 20:29:59', 'using'), +(3243, 760, '2010-06-03 18:16:13', '2010-06-03 20:29:54', 'using'), +(3244, 30, '2010-06-03 18:23:38', '2010-06-03 20:29:56', 'using'), +(3245, 761, '2010-06-03 18:23:43', '2010-06-03 20:29:45', 'using'), +(3246, 755, '2010-06-03 18:39:57', '2010-06-03 20:29:47', 'using'), +(3247, 748, '2010-06-03 19:16:12', '2010-06-03 20:29:48', 'using'), +(3248, 762, '2010-06-03 19:16:23', '2010-06-03 20:29:49', 'using'), +(3249, 253, '2010-06-04 13:35:00', '2010-06-04 18:16:22', 'Administrator'), +(3250, 748, '2010-06-04 14:06:31', '2010-06-04 17:02:07', 'using'), +(3251, 179, '2010-06-04 14:06:44', '2010-06-04 18:03:45', 'Mechanic'), +(3252, 768, '2010-06-04 14:15:12', '2010-06-04 17:38:08', 'using'), +(3253, 769, '2010-06-04 14:22:49', '2010-06-04 17:38:06', 'using'), +(3254, 770, '2010-06-04 14:53:22', '2010-06-04 14:53:23', 'using'), +(3255, 610, '2010-06-04 14:58:00', '2010-06-04 17:02:08', 'using'), +(3256, 665, '2010-06-04 15:21:11', '2010-06-04 17:02:19', 'using'), +(3257, 771, '2010-06-04 17:38:04', '2010-06-04 17:38:05', 'using'), +(3258, 17, '2010-06-04 17:43:59', '2010-06-04 18:13:34', 'using'), +(3259, 155, '2010-06-05 14:14:19', '2010-06-05 17:43:31', 'Administrator'), +(3260, 668, '2010-06-05 14:14:33', '2010-06-05 17:40:06', 'using'), +(3261, 50, '2010-06-05 14:14:58', '2010-06-05 17:43:28', 'Mechanic'), +(3262, 687, '2010-06-05 14:15:44', '2010-06-05 14:18:26', 'using'), +(3263, 558, '2010-06-05 14:18:33', '2010-06-05 15:06:10', 'using'), +(3264, 773, '2010-06-05 14:33:08', '2010-06-05 17:28:18', 'using'), +(3265, 253, '2010-06-07 14:06:28', '2010-06-07 17:09:12', 'Administrator'), +(3266, 477, '2010-06-07 15:37:57', '2010-06-07 16:05:23', 'using'), +(3267, 584, '2010-06-08 14:10:14', '2010-06-08 17:06:54', 'Administrator'), +(3268, 27, '2010-06-08 14:10:22', '2010-06-08 17:08:39', 'Mechanic'), +(3269, 768, '2010-06-08 14:20:59', '2010-06-08 15:45:10', 'using'), +(3270, 414, '2010-06-08 14:24:56', '2010-06-08 16:01:02', 'volunteering'), +(3271, 210, '2010-06-08 15:47:06', '2010-06-08 20:21:37', 'using'), +(3272, 628, '2010-06-08 17:07:20', '2010-06-08 20:27:01', 'Administrator'), +(3273, 49, '2010-06-08 17:08:50', '2010-06-08 20:26:58', 'Mechanic'), +(3274, 732, '2010-06-08 17:14:10', '2010-06-08 19:02:35', 'using'), +(3275, 767, '2010-06-08 18:34:35', '2010-06-08 20:21:38', 'using'), +(3276, 668, '2010-06-08 19:02:52', '2010-06-08 20:21:39', 'using'), +(3277, 49, '2010-06-09 20:16:31', '2010-06-10 17:03:09', 'Administrator'), +(3278, 444, '2010-06-09 20:16:51', '2010-06-09 20:17:05', 'using'), +(3279, 628, '2010-06-10 17:03:18', '2010-06-10 20:24:36', 'Administrator'), +(3280, 774, '2010-06-10 17:03:32', '2010-06-10 19:20:36', 'using'), +(3281, 294, '2010-06-10 17:03:53', '2010-06-10 20:20:23', 'Mechanic'), +(3282, 767, '2010-06-10 17:08:06', '2010-06-10 18:15:55', 'using'), +(3283, 778, '2010-06-10 18:16:23', '2010-06-10 20:20:22', 'using'), +(3284, 30, '2010-06-10 18:33:36', '2010-06-10 19:20:38', 'using'), +(3285, 4, '2010-06-10 20:24:04', '2010-06-11 14:03:50', 'Administrator'), +(3286, 187, '2010-06-11 14:03:45', '2010-06-11 17:20:47', 'Administrator'), +(3287, 179, '2010-06-11 14:04:07', '2010-06-11 16:35:30', 'Mechanic'), +(3288, 680, '2010-06-11 14:13:50', '2010-06-11 17:20:42', 'using'), +(3289, 763, '2010-06-11 15:03:04', '2010-06-11 16:32:19', 'using'), +(3290, 294, '2010-06-11 16:35:26', '2010-06-11 17:20:41', 'using'), +(3291, 49, '2010-06-11 16:35:39', '2010-06-11 17:20:43', 'Mechanic'), +(3292, 49, '2010-06-12 14:10:12', '2010-06-12 17:23:30', 'Administrator'), +(3293, 50, '2010-06-12 15:03:52', '2010-06-12 17:23:28', 'Mechanic'), +(3294, 7, '2010-06-12 15:03:58', '2010-06-12 15:51:30', 'using'), +(3295, 773, '2010-06-12 15:11:42', '2010-06-12 17:23:27', 'using'), +(3296, 762, '2010-06-12 15:11:49', '2010-06-12 15:40:52', 'using'), +(3297, 400, '2010-06-12 15:16:54', '2010-06-12 16:52:44', 'using'), +(3298, 641, '2010-06-12 15:19:51', '2010-06-12 16:52:43', 'using'), +(3299, 7, '2010-06-12 15:51:37', '2010-06-12 16:52:31', 'volunteering'), +(3300, 253, '2010-06-14 13:37:31', '2010-06-14 16:45:54', 'Administrator'), +(3301, 730, '2010-06-14 14:07:48', '2010-06-14 17:11:24', 'using'), +(3302, 156, '2010-06-14 14:12:46', '2010-06-14 17:25:16', 'Mechanic'), +(3303, 789, '2010-06-14 14:31:41', '2010-06-14 16:02:59', 'using'), +(3304, 790, '2010-06-14 15:42:17', '2010-06-14 16:21:07', 'using'), +(3305, 505, '2010-06-14 15:59:22', '2010-06-14 16:42:58', 'using'), +(3306, 791, '2010-06-14 16:33:12', '2010-06-14 17:08:05', 'using'), +(3307, 253, '2010-06-14 16:47:31', '2010-06-14 17:25:19', 'Administrator'), +(3308, 584, '2010-06-15 14:08:21', '2010-06-15 17:27:27', 'Administrator'), +(3309, 27, '2010-06-15 14:12:23', '2010-06-15 17:27:39', 'Mechanic'), +(3310, 741, '2010-06-15 14:36:22', '2010-06-15 15:26:48', 'using'), +(3311, 748, '2010-06-15 16:34:09', '2010-06-15 20:08:27', 'using'), +(3312, 628, '2010-06-15 17:24:49', '2010-06-15 17:24:51', 'using'), +(3313, 628, '2010-06-15 17:27:35', '2010-06-15 20:23:00', 'Administrator'), +(3314, 49, '2010-06-15 17:27:53', '2010-06-15 20:08:29', 'Mechanic'), +(3315, 759, '2010-06-15 17:48:03', '2010-06-15 17:49:26', 'using'), +(3316, 477, '2010-06-15 17:55:45', '2010-06-15 18:33:48', 'using'), +(3317, 793, '2010-06-15 18:15:17', '2010-06-15 20:08:24', 'using'), +(3318, 773, '2010-06-15 18:15:31', '2010-06-15 20:08:20', 'using'), +(3319, 693, '2010-06-15 18:21:20', '2010-06-15 18:34:48', 'using'), +(3320, 794, '2010-06-15 19:33:30', '2010-06-15 20:08:23', 'using'), +(3321, 118, '2010-06-15 20:08:46', '2010-06-15 20:11:29', 'using'), +(3322, 441, '2010-06-17 17:26:10', '2010-06-17 20:22:50', 'Administrator'), +(3323, 641, '2010-06-17 17:26:00', '2010-06-17 18:03:11', 'volunteering'), +(3324, 294, '2010-06-17 17:00:00', '2010-06-17 18:21:39', 'using'), +(3325, 631, '2010-06-17 17:27:24', '2010-06-17 18:21:29', 'using'), +(3326, 705, '2010-06-17 17:29:18', '2010-06-17 17:35:33', 'volunteering'), +(3327, 49, '2010-06-17 17:35:26', '2010-06-17 18:21:30', 'volunteering'), +(3328, 705, '2010-06-17 17:35:44', '2010-06-17 20:22:41', 'train_mech'), +(3329, 795, '2010-06-17 17:39:29', '2010-06-17 20:22:44', 'train_mech'), +(3330, 294, '2010-06-17 17:00:00', '2010-06-17 20:22:42', 'using'), +(3331, 763, '2010-06-17 19:26:23', '2010-06-17 19:46:01', 'using'), +(3332, 790, '2010-06-17 19:45:46', '2010-06-17 20:22:43', 'using'), +(3333, 133, '2010-06-17 20:02:08', '2010-06-17 20:22:44', 'using'), +(3334, 668, '2010-06-17 20:02:20', '2010-06-17 20:22:45', 'using'), +(3335, 187, '2010-06-18 14:08:44', '2010-06-18 17:15:24', 'Administrator'), +(3336, 49, '2010-06-18 14:09:03', '2010-06-18 16:06:00', 'Mechanic'), +(3337, 30, '2010-06-18 14:10:46', '2010-06-18 16:06:02', 'using'), +(3338, 792, '2010-06-18 14:41:34', '2010-06-18 17:02:59', 'using'), +(3339, 442, '2010-06-18 14:55:08', '2010-06-18 17:15:22', 'using'), +(3340, 45, '2010-06-18 15:34:34', '2010-06-18 16:05:55', 'using'), +(3341, 30, '2010-06-18 16:06:08', '2010-06-18 17:03:01', 'Mechanic'), +(3342, 799, '2010-06-18 16:19:02', '2010-06-18 17:15:21', 'using'), +(3343, 50, '2010-06-19 14:09:24', '2010-06-19 16:57:28', 'Administrator'), +(3344, 49, '2010-06-19 14:13:03', '2010-06-19 16:55:14', 'Mechanic'), +(3345, 554, '2010-06-19 14:13:27', '2010-06-19 16:55:13', 'using'), +(3346, 422, '2010-06-19 15:31:07', '2010-06-19 16:11:22', 'using'), +(3347, 442, '2010-06-19 15:31:14', '2010-06-19 16:11:24', 'using'), +(3348, 179, '2010-06-19 16:18:40', '2010-06-19 16:42:51', 'using'), +(3349, 253, '2010-06-21 13:59:58', '2010-06-21 17:21:17', 'Administrator'), +(3350, 708, '2010-06-21 14:08:54', '2010-06-21 14:36:36', 'using'), +(3351, 441, '2010-06-21 14:46:57', '2010-06-21 17:02:42', 'using'), +(3352, 555, '2010-06-21 15:08:35', '2010-06-21 16:58:22', 'using'), +(3353, 730, '2010-06-21 15:14:22', '2010-06-21 16:58:24', 'using'), +(3354, 505, '2010-06-21 15:25:09', '2010-06-21 17:02:40', 'using'), +(3355, 216, '2010-06-21 15:25:23', '2010-06-21 16:48:01', 'using'), +(3356, 763, '2010-06-21 15:56:53', '2010-06-21 16:58:21', 'using'), +(3357, 536, '2010-06-21 16:10:55', '2010-06-21 16:40:53', 'using'), +(3358, 792, '2010-06-21 16:36:15', '2010-06-21 17:02:40', 'using'), +(3359, 584, '2010-06-22 14:04:36', '2010-06-22 17:09:15', 'Administrator'), +(3360, 27, '2010-06-22 14:05:22', '2010-06-22 20:16:06', 'Mechanic'), +(3361, 414, '2010-06-22 14:49:09', '2010-06-22 15:22:05', 'volunteering'), +(3362, 801, '2010-06-22 15:04:27', '2010-06-22 17:02:18', 'using'), +(3363, 441, '2010-06-22 15:08:19', '2010-06-22 20:16:07', 'using'), +(3364, 294, '2010-06-22 17:01:58', '2010-06-22 20:16:09', 'using'), +(3365, 628, '2010-06-22 17:11:02', '2010-06-24 15:18:22', 'Administrator'), +(3366, 184, '2010-06-22 17:14:06', '2010-06-22 20:16:10', 'using'), +(3367, 741, '2010-06-22 17:19:58', '2010-06-22 20:16:11', 'using'), +(3368, 597, '2010-06-22 17:29:23', '2010-06-22 20:16:12', 'using'), +(3369, 451, '2010-06-22 18:06:30', '2010-06-22 20:16:13', 'using'), +(3370, 187, '2010-06-24 15:16:13', '2010-06-24 15:18:33', 'Administrator'), +(3371, 187, '2010-06-24 15:25:36', '2010-06-24 15:26:47', 'Administrator'), +(3372, 187, '2010-06-24 15:50:06', '2010-06-24 16:02:28', 'Administrator'), +(3373, 49, '2010-06-24 16:38:36', '2010-06-24 17:10:00', 'Administrator'), +(3374, 179, '2010-06-24 16:56:22', '2010-06-24 17:09:57', 'Mechanic'), +(3375, 641, '2010-06-24 17:24:12', '2010-06-24 20:25:12', 'Administrator'), +(3376, 294, '2010-06-24 17:24:40', '2010-06-24 20:25:07', 'Mechanic'), +(3377, 804, '2010-06-24 18:27:18', '2010-06-24 20:06:27', 'using'), +(3378, 399, '2010-06-24 18:29:30', '2010-06-24 19:11:32', 'using'), +(3379, 748, '2010-06-24 18:37:32', '2010-06-24 20:00:47', 'using'), +(3380, 49, '2010-06-24 20:48:24', '2010-06-24 20:57:24', 'Administrator'), +(3381, 49, '2010-06-25 13:11:46', '2010-06-25 14:03:25', 'Administrator'), +(3382, 187, '2010-06-25 14:03:33', '2010-06-25 17:09:56', 'Administrator'), +(3383, 724, '2010-06-25 14:10:25', '2010-06-25 14:10:27', 'using'), +(3384, 606, '2010-06-25 14:18:41', '2010-06-25 16:29:14', 'using'), +(3385, 49, '2010-06-25 14:23:51', '2010-06-25 17:09:54', 'Mechanic'), +(3386, 808, '2010-06-25 15:43:49', '2010-06-25 16:29:15', 'using'), +(3387, 791, '2010-06-25 16:29:43', '2010-06-25 16:59:50', 'using'), +(3388, 49, '2010-06-26 14:16:16', '2010-06-26 14:16:28', 'Administrator'), +(3389, 303, '2010-06-26 14:20:19', '2010-06-26 16:25:20', 'using'), +(3390, 477, '2010-06-26 14:21:28', '2010-06-26 16:25:19', 'using'), +(3391, 569, '2010-06-26 14:21:44', '2010-06-26 16:25:21', 'train_mech'), +(3392, 49, '2010-06-26 16:25:15', '2010-06-26 17:07:46', 'Administrator'), +(3393, 49, '2010-06-28 15:24:20', '2010-06-28 15:32:53', 'Administrator'), +(3394, 49, '2010-06-29 12:07:22', '2010-06-29 12:11:08', 'Administrator'), +(3395, 187, '2010-06-29 14:06:18', '2010-06-29 17:44:40', 'Administrator'), +(3396, 639, '2010-06-29 15:15:00', '2010-06-29 16:44:39', 'using'), +(3397, 49, '2010-06-29 15:48:02', '2010-06-29 17:05:29', 'Mechanic'), +(3398, 191, '2010-06-29 16:18:47', '2010-06-29 16:44:41', 'using'), +(3399, 311, '2010-06-29 16:47:32', '2010-06-29 19:52:28', 'using'), +(3400, 30, '2010-06-29 16:48:50', '2010-06-29 19:52:27', 'using'), +(3401, 27, '2010-06-29 17:05:36', '2010-06-29 19:52:30', 'Mechanic'), +(3402, 810, '2010-06-29 17:19:25', '2010-06-29 19:52:26', 'using'), +(3403, 628, '2010-06-29 18:12:55', '2010-06-29 20:01:15', 'Administrator'), +(3404, 18, '2010-06-29 18:13:48', '2010-06-29 19:52:25', 'using'), +(3405, 749, '2010-06-29 18:53:14', '2010-06-29 19:52:24', 'using'), +(3406, 551, '2010-07-02 16:23:36', '2010-07-02 18:09:01', 'Administrator'), +(3407, 253, '2010-07-05 14:24:45', '2010-07-05 17:00:02', 'Administrator'), +(3408, 156, '2010-07-05 14:24:54', '2010-07-05 16:59:59', 'Mechanic'), +(3409, 441, '2010-07-05 14:25:11', '2010-07-05 15:02:49', 'volunteering'), +(3410, 770, '2010-07-05 15:02:47', '2010-07-05 16:37:18', 'using'), +(3411, 814, '2010-07-05 16:17:53', '2010-07-05 16:19:21', 'using'), +(3412, 628, '2010-07-06 17:33:39', '2010-07-06 19:58:27', 'Administrator'), +(3413, 813, '2010-07-06 18:31:52', '2010-07-06 19:58:14', 'using'), +(3414, 668, '2010-07-06 18:32:04', '2010-07-06 19:58:16', 'using'), +(3415, 785, '2010-07-08 14:14:37', '2010-07-08 14:32:00', 'volunteering'), +(3416, 767, '2010-07-08 14:32:44', '2010-07-08 17:40:21', 'Mechanic'), +(3417, 785, '2010-07-08 16:56:48', '2010-07-08 17:11:43', 'Administrator'), +(3418, 681, '2010-07-08 17:05:07', '2010-07-08 20:01:44', 'dogfucking'), +(3419, 641, '2010-07-08 17:11:49', '2010-07-08 20:05:57', 'Administrator'), +(3420, 294, '2010-07-08 17:40:35', '2010-07-08 20:05:54', 'Mechanic'), +(3421, 816, '2010-07-08 17:42:18', '2010-07-08 20:01:27', 'using'), +(3422, 274, '2010-07-08 17:55:49', '2010-07-08 20:01:46', 'using'), +(3423, 668, '2010-07-08 18:38:32', '2010-07-08 20:05:53', 'dogfucking'), +(3424, 253, '2010-07-12 14:16:47', '2010-07-12 17:12:42', 'Administrator'), +(3425, 816, '2010-07-12 14:16:58', '2010-07-12 15:52:15', 'using'), +(3426, 156, '2010-07-12 14:22:47', '2010-07-12 17:12:39', 'Mechanic'), +(3427, 7, '2010-07-13 14:40:14', '2010-07-13 17:13:44', 'Administrator'), +(3428, 357, '2010-07-13 14:48:30', '2010-07-13 16:42:12', 'using'), +(3429, 375, '2010-07-13 15:19:05', '2010-07-13 16:42:11', 'using'), +(3430, 639, '2010-07-13 17:13:38', '2010-07-13 19:55:10', 'using'), +(3431, 628, '2010-07-13 17:13:50', '2010-07-13 20:02:17', 'Administrator'), +(3432, 27, '2010-07-13 17:14:04', '2010-07-13 19:55:13', 'Mechanic'), +(3433, 819, '2010-07-13 19:19:59', '2010-07-13 19:55:16', 'using'), +(3434, 49, '2010-07-14 12:44:20', '2010-07-14 14:28:52', 'Administrator'), +(3435, 785, '2010-07-15 14:29:00', '2010-07-15 17:11:55', 'Administrator'), +(3436, 816, '2010-07-15 14:29:32', '2010-07-15 17:12:04', 'volunteering'), +(3437, 767, '2010-07-15 14:30:48', '2010-07-15 17:12:06', 'Mechanic'), +(3438, 641, '2010-07-15 17:12:01', '2010-07-15 18:46:57', 'Administrator'), +(3439, 294, '2010-07-15 17:12:19', '2010-07-15 20:45:44', 'Mechanic'), +(3440, 184, '2010-07-15 17:14:14', '2010-07-15 18:01:54', 'using'), +(3441, 30, '2010-07-15 18:33:44', '2010-07-15 19:52:52', 'using'), +(3442, 641, '2010-07-15 18:47:02', '2010-07-15 20:42:40', 'Administrator'), +(3443, 668, '2010-07-15 18:47:21', '2010-07-15 21:05:59', 'using'), +(3444, 626, '2010-07-15 18:54:57', '2010-07-15 21:30:01', 'volunteering'), +(3445, 49, '2010-07-15 18:58:30', '2010-07-15 21:30:00', 'dogfucking'), +(3446, 12, '2010-07-15 20:11:31', '2010-07-15 20:45:49', 'volunteering'), +(3447, 179, '2010-07-15 20:13:08', '2010-07-15 21:30:05', 'volunteering'), +(3448, 187, '2010-07-16 13:52:49', '2010-07-16 16:59:16', 'Administrator'), +(3449, 49, '2010-07-16 14:10:57', '2010-07-16 16:59:14', 'Mechanic'), +(3450, 640, '2010-07-16 14:39:08', '2010-07-16 15:35:29', 'using'), +(3451, 80, '2010-07-16 15:03:55', '2010-07-16 16:59:12', 'using'), +(3452, 253, '2010-07-19 14:02:20', '2010-07-19 17:06:00', 'Administrator'), +(3453, 770, '2010-07-19 14:38:17', '2010-07-19 15:21:41', 'using'), +(3454, 770, '2010-07-19 15:54:23', '2010-07-19 16:19:06', 'using'), +(3455, 7, '2010-07-20 14:55:06', '2010-07-20 17:18:40', 'Administrator'), +(3456, 821, '2010-07-20 15:00:59', '2010-07-22 19:13:32', 'using'), +(3457, 49, '2010-07-20 15:01:14', '2010-07-22 17:09:55', 'volunteering'), +(3458, 628, '2010-07-20 17:18:51', '2010-07-22 13:23:02', 'Administrator'), +(3459, 27, '2010-07-20 17:25:10', '2010-07-22 14:02:39', 'Mechanic'), +(3460, 274, '2010-07-20 17:32:00', '2010-07-22 19:13:30', 'using'), +(3461, 187, '2010-07-22 12:55:21', '2010-07-22 13:23:46', 'Administrator'), +(3462, 767, '2010-07-22 14:02:49', '2010-07-22 20:14:12', 'Mechanic'), +(3463, 770, '2010-07-22 14:37:43', '2010-07-22 15:00:31', 'using'), +(3464, 769, '2010-07-22 15:56:21', '2010-07-22 17:13:28', 'Administrator'), +(3465, 822, '2010-07-22 16:15:19', '2010-07-22 19:13:29', 'using'), +(3466, 640, '2010-07-22 16:37:54', '2010-07-22 18:01:08', 'using'), +(3467, 823, '2010-07-22 17:09:44', '2010-07-22 19:13:27', 'using'), +(3468, 641, '2010-07-22 17:13:37', '2010-07-22 20:14:16', 'Administrator'), +(3469, 37, '2010-07-22 18:00:18', '2010-07-22 19:36:25', 'using'), +(3470, 49, '2010-07-22 18:02:00', '2010-07-22 18:26:48', 'volunteering'), +(3471, 824, '2010-07-22 18:29:00', '2010-07-22 20:14:09', 'using'), +(3472, 701, '2010-07-22 19:27:59', '2010-07-22 19:40:39', 'using'), +(3473, 49, '2010-07-23 13:52:48', '2010-07-23 17:30:23', 'Administrator'), +(3474, 555, '2010-07-23 14:32:29', '2010-07-23 16:39:36', 'using'), +(3475, 118, '2010-07-23 13:29:00', '2010-07-23 17:30:06', 'using'), +(3476, 187, '2010-07-23 16:39:55', '2010-07-23 17:30:34', 'Administrator'), +(3477, 253, '2010-07-26 15:18:08', '2010-07-26 19:17:17', 'Administrator'), +(3478, 49, '2010-07-26 18:46:05', '2010-07-26 19:17:35', 'Administrator'), +(3479, 253, '2010-07-26 19:17:22', '2010-09-17 16:06:25', 'Administrator'), +(3480, 49, '2010-07-27 16:57:32', '2010-09-20 10:05:11', 'Administrator'), +(3481, 49, '2010-09-20 10:05:15', '2010-09-20 10:06:31', 'Administrator'), +(3482, 596, '2010-09-20 10:05:31', '2010-09-20 10:06:29', 'using'), +(3483, 49, '2010-09-20 14:51:57', '2010-09-20 15:35:09', 'Administrator'), +(3484, 49, '2010-09-24 16:32:38', '2010-09-24 16:34:22', 'Administrator'), +(3485, 49, '2010-09-28 17:31:31', '2010-09-28 17:31:48', 'Administrator'), +(3486, 49, '2010-09-28 17:43:31', '2010-09-28 18:03:13', 'Administrator'), +(3487, 49, '2010-09-29 16:08:52', '2010-09-29 16:17:04', 'Administrator'), +(3488, 49, '2010-10-01 13:19:20', '2010-10-01 14:05:50', 'Administrator'), +(3489, 49, '2010-10-05 13:23:03', '2010-10-08 14:02:34', 'Administrator'), +(3490, 596, '2010-10-08 13:03:35', '2010-10-08 14:03:46', 'Administrator'), +(3491, 49, '2010-10-27 15:56:06', '2010-10-27 16:11:39', 'Administrator'), +(3492, 641, '2010-10-29 11:23:42', '2010-10-29 11:38:24', 'Administrator'), +(3493, 641, '2010-10-29 11:54:54', '2011-02-08 14:26:29', 'Administrator'); + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/general_public_license.txt b/general_public_license.txt new file mode 100755 index 0000000..5b6e7c6 --- /dev/null +++ b/general_public_license.txt @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/generaltodo.php b/generaltodo.php new file mode 100755 index 0000000..28be87b --- /dev/null +++ b/generaltodo.php @@ -0,0 +1,43 @@ +

  General To-Do

+conn); + echo mysql_error(); +while($todoarray = mysql_fetch_array($todoquery)){ + + echo " +
+ To Do: $todoarray[name] +
+ + [Info/Edit +/-]"; +echo "
"; +echo "
"; +echo ""; +echo "
"; +echo "[Task Completed]"; +echo "
"; + + //FORM FOR NEW TO DO ITEMS +echo "

"; + } + + echo " +
+ To Do: Add a new item +
"; +echo "
"; +echo ""; +echo "
"; +echo ""; +echo "
"; +echo "
"; + + +echo "

"; + +?> + + diff --git a/home.php b/home.php new file mode 100755 index 0000000..8efd67f --- /dev/null +++ b/home.php @@ -0,0 +1,382 @@ +=NOW()"));//SELECT id FROM customers")); +} + +function getvolunteerhours() { + + /*$vquery = "SELECT *, DATE_FORMAT(endout,'%l:%i %p') as humanout, DATE_FORMAT(intime,'%b %e, %Y') as humanindate, DATE_FORMAT(intime,'%l:%i %p') as humanintime, UNIX_TIMESTAMP(intime) as unixin, UNIX_TIMESTAMP(endout) as unixout FROM visits WHERE endout IS NOT NULL AND activity!='dogfucking' AND activity!='using'";* / + $vresult = mysql_query($vquery); + if (!$vresult) { echo mysql_error(); } + $totalseconds=0; + while($row = mysql_fetch_array($vresult)){ + $timespent = $row[unixout] - $row[unixin]; + $totalseconds = $totalseconds + $timespent; + } + return round($totalseconds/3600);*/ + $vquery = "SELECT ROUND(SUM(TIMESTAMPDIFF(MINUTE,intime,endout))/60) AS total FROM visits WHERE activity NOT IN ('volunteering', 'Administrator', 'Mechanic');"; + $vresult = mysql_query($vquery); + $row = mysql_fetch_array($vresult); + return $row[total]; +} + +function getmonth($m=0) { + return (($m==0 ) ? date("F") : date("F", mktime(0,0,0,$m))); +} + + +$lang=new language(); +$dbf=new db_functions($cfg_server,$cfg_username,$cfg_password,$cfg_database,$cfg_tableprefix,$cfg_theme,$lang); +$sec=new security_functions($dbf,'Public',$lang); + + +if(!$sec->isLoggedIn()){ + header ("location: login.php"); + exit(); +} + +$tablename = $cfg_tableprefix.'users'; +$auth = $dbf->idToField($tablename,'type',$_SESSION['session_user_id']); +$first_name = $dbf->idToField($tablename,'first_name',$_SESSION['session_user_id']); +$last_name= $dbf->idToField($tablename,'last_name',$_SESSION['session_user_id']); + +if(cfg_mustOpen && !$sec->isOpen()){ + header("location: books/openshop.php"); + exit(); +} + +$name=$first_name.' '.$last_name; +$dbf->optimizeTables(); + +?> + + + + + + + + + + +

+ home ?>

+

welcomeTo $cfg_company's -BikeTree- bike co-op management software."; ?>

+ + + +
+ +
Quick Tasks & Stats +Today's Cash: $Visitors Today: Current Member Count: Total Volunteer Hours:
+ + +idToField($cfg_tableprefix.'users', 'settings', $userLogin); +$firstlast = $data;// & 1); +$query = "SELECT id,first_name,last_name FROM customers ORDER BY "; +$sortedlink = "First + Last"; +}else{ + $query.= "last_name ASC"; + $sortedlink.= "\">Last, First"; +} +$result = mysql_query($query); +if (!$result) { + die("Query to show fields from table failed"); +} +$fields_num = mysql_num_fields($result); +?> + + +
+
+Sign In (): + + Doing: + + + +
+
+
+ Library sign in/out +   + +
+ + +
+ +
+
+

+
+
+ +
+

+ + +
+ + + +
+

+
+ + + +
+ + + + + + + + + +
+ home"?>
+

welcomeTo $cfg_company $lang->reportViewerHomeWelcomeMessage"; ?> + + +closeDBlink(); + +?> diff --git a/images/config.gif b/images/config.gif new file mode 100755 index 0000000..d3c361f Binary files /dev/null and b/images/config.gif differ diff --git a/images/customers.gif b/images/customers.gif new file mode 100755 index 0000000..485d204 Binary files /dev/null and b/images/customers.gif differ diff --git a/images/home_print.gif b/images/home_print.gif new file mode 100755 index 0000000..e30f26b Binary files /dev/null and b/images/home_print.gif differ diff --git a/images/install_pos.gif b/images/install_pos.gif new file mode 100755 index 0000000..ca66e70 Binary files /dev/null and b/images/install_pos.gif differ diff --git a/images/items.gif b/images/items.gif new file mode 100755 index 0000000..6e4099c Binary files /dev/null and b/images/items.gif differ diff --git a/images/login.gif b/images/login.gif new file mode 100755 index 0000000..7fcd11a Binary files /dev/null and b/images/login.gif differ diff --git a/images/login_01.gif b/images/login_01.gif new file mode 100755 index 0000000..93e57d2 Binary files /dev/null and b/images/login_01.gif differ diff --git a/images/login_02.gif b/images/login_02.gif new file mode 100755 index 0000000..853af14 Binary files /dev/null and b/images/login_02.gif differ diff --git a/images/login_03.gif b/images/login_03.gif new file mode 100755 index 0000000..f025749 Binary files /dev/null and b/images/login_03.gif differ diff --git a/images/login_04.gif b/images/login_04.gif new file mode 100755 index 0000000..06d610a Binary files /dev/null and b/images/login_04.gif differ diff --git a/images/login_05.gif b/images/login_05.gif new file mode 100755 index 0000000..dce126b Binary files /dev/null and b/images/login_05.gif differ diff --git a/images/login_06.gif b/images/login_06.gif new file mode 100755 index 0000000..3ea145f Binary files /dev/null and b/images/login_06.gif differ diff --git a/images/login_07.gif b/images/login_07.gif new file mode 100755 index 0000000..abe892f Binary files /dev/null and b/images/login_07.gif differ diff --git a/images/login_08.gif b/images/login_08.gif new file mode 100755 index 0000000..36f9ea3 Binary files /dev/null and b/images/login_08.gif differ diff --git a/images/login_09.gif b/images/login_09.gif new file mode 100755 index 0000000..c3aead4 Binary files /dev/null and b/images/login_09.gif differ diff --git a/images/login_10.gif b/images/login_10.gif new file mode 100755 index 0000000..6ba5ca2 Binary files /dev/null and b/images/login_10.gif differ diff --git a/images/login_bg.gif b/images/login_bg.gif new file mode 100755 index 0000000..81d966b Binary files /dev/null and b/images/login_bg.gif differ diff --git a/images/menubar_01.gif b/images/menubar_01.gif new file mode 100755 index 0000000..fd03823 Binary files /dev/null and b/images/menubar_01.gif differ diff --git a/images/menubar_02.gif b/images/menubar_02.gif new file mode 100755 index 0000000..9183ca4 Binary files /dev/null and b/images/menubar_02.gif differ diff --git a/images/menubar_03.gif b/images/menubar_03.gif new file mode 100755 index 0000000..444fa92 Binary files /dev/null and b/images/menubar_03.gif differ diff --git a/images/menubar_04.gif b/images/menubar_04.gif new file mode 100755 index 0000000..a714577 Binary files /dev/null and b/images/menubar_04.gif differ diff --git a/images/menubar_05.gif b/images/menubar_05.gif new file mode 100755 index 0000000..d0d7307 Binary files /dev/null and b/images/menubar_05.gif differ diff --git a/images/menubar_06.gif b/images/menubar_06.gif new file mode 100755 index 0000000..d2720d9 Binary files /dev/null and b/images/menubar_06.gif differ diff --git a/images/menubar_07.gif b/images/menubar_07.gif new file mode 100755 index 0000000..f62e189 Binary files /dev/null and b/images/menubar_07.gif differ diff --git a/images/menubar_bg.gif b/images/menubar_bg.gif new file mode 100755 index 0000000..ec760a0 Binary files /dev/null and b/images/menubar_bg.gif differ diff --git a/images/menubar_bottom.gif b/images/menubar_bottom.gif new file mode 100755 index 0000000..f7cbfac Binary files /dev/null and b/images/menubar_bottom.gif differ diff --git a/images/menubar_reports_01.gif b/images/menubar_reports_01.gif new file mode 100755 index 0000000..9a6e0c4 Binary files /dev/null and b/images/menubar_reports_01.gif differ diff --git a/images/menubar_reports_02.gif b/images/menubar_reports_02.gif new file mode 100755 index 0000000..149f83f Binary files /dev/null and b/images/menubar_reports_02.gif differ diff --git a/images/menubar_reports_03.gif b/images/menubar_reports_03.gif new file mode 100755 index 0000000..8c60fbc Binary files /dev/null and b/images/menubar_reports_03.gif differ diff --git a/images/menubar_reports_04.gif b/images/menubar_reports_04.gif new file mode 100755 index 0000000..0640c67 Binary files /dev/null and b/images/menubar_reports_04.gif differ diff --git a/images/menubar_reports_05.gif b/images/menubar_reports_05.gif new file mode 100755 index 0000000..2670e86 Binary files /dev/null and b/images/menubar_reports_05.gif differ diff --git a/images/menubar_reports_06.gif b/images/menubar_reports_06.gif new file mode 100755 index 0000000..17581e2 Binary files /dev/null and b/images/menubar_reports_06.gif differ diff --git a/images/menubar_sales_01.gif b/images/menubar_sales_01.gif new file mode 100755 index 0000000..74471de Binary files /dev/null and b/images/menubar_sales_01.gif differ diff --git a/images/menubar_sales_02.gif b/images/menubar_sales_02.gif new file mode 100755 index 0000000..a84b0c4 Binary files /dev/null and b/images/menubar_sales_02.gif differ diff --git a/images/menubar_sales_03.gif b/images/menubar_sales_03.gif new file mode 100755 index 0000000..8c60fbc Binary files /dev/null and b/images/menubar_sales_03.gif differ diff --git a/images/menubar_sales_04.gif b/images/menubar_sales_04.gif new file mode 100755 index 0000000..47a1224 Binary files /dev/null and b/images/menubar_sales_04.gif differ diff --git a/images/menubar_sales_05.gif b/images/menubar_sales_05.gif new file mode 100755 index 0000000..77fde7d Binary files /dev/null and b/images/menubar_sales_05.gif differ diff --git a/images/menubar_sales_06.gif b/images/menubar_sales_06.gif new file mode 100755 index 0000000..e88c880 Binary files /dev/null and b/images/menubar_sales_06.gif differ diff --git a/images/reports.gif b/images/reports.gif new file mode 100755 index 0000000..3ab9f33 Binary files /dev/null and b/images/reports.gif differ diff --git a/images/sales.gif b/images/sales.gif new file mode 100755 index 0000000..4c74d96 Binary files /dev/null and b/images/sales.gif differ diff --git a/images/spacer.gif b/images/spacer.gif new file mode 100755 index 0000000..5caf438 Binary files /dev/null and b/images/spacer.gif differ diff --git a/images/uhohbg.gif b/images/uhohbg.gif new file mode 100755 index 0000000..b39f5bc Binary files /dev/null and b/images/uhohbg.gif differ diff --git a/index.php b/index.php new file mode 100755 index 0000000..68ba9bc --- /dev/null +++ b/index.php @@ -0,0 +1,45 @@ +install page."; + exit; +} + + +include ("language/$cfg_language"); +include ("classes/db_functions.php"); +include ("classes/security_functions.php"); + +//create 3 objects that are needed in this script. +$lang=new language(); +$dbf=new db_functions($cfg_server,$cfg_username,$cfg_password,$cfg_database,$cfg_tableprefix,$cfg_theme,$lang); +$sec=new security_functions($dbf,'Public',$lang); + + if(!$sec->isLoggedIn()) + { + header ("location: login.php"); + exit(); + } + +$dbf->optimizeTables(); +$dbf->closeDBlink(); + +?> + + + + +The Bike Tree :: Bike Co-op Management + + + + + + + <body bgcolor="#FFFFFF" text="#000000"> + + </body> + + diff --git a/install/index.php b/install/index.php new file mode 100755 index 0000000..bd0410e --- /dev/null +++ b/install/index.php @@ -0,0 +1,31 @@ + + +Language Select + + + + +

+
+Language Select: + + +
+
+ + diff --git a/install/installer.php b/install/installer.php new file mode 100755 index 0000000..a209237 --- /dev/null +++ b/install/installer.php @@ -0,0 +1,181 @@ +"; + $open = fopen( "../settings.php", "w+" ) or die ( "Operation Failed!" ); + fputs( $open, "$info" ); + fclose( $open ); + + +include("../settings.php"); +include("../language/$cfg_language"); +$lang=new language(); +?> + + +PHP Point of Sale <?php echo $lang->installation ?> + + + + +

+

+
+

      + installerWelcomeMessage ?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

companyName ?>:

+

+

+

address ?>:

+
+

phoneNumber ?>:

+
+

email ?>: +

+
+

fax ?>: +

+
+

website ?>: +

+
+

other ?>: +

+
  
+

databaseServer ?>:

+
+

databaseName ?>:

+
+

databaseUsername ?>:

+
+

databasePassword ?>:

+
+

defaultTaxRate ?>:

  + %
+

currencySymbol ?>:

  +
+

theme ?>:

  +
+

tablePrefix ?>:

  + _
+

numberToUseForBarcode ?>:

  + +
+

language ?>:

  +
+

      *whenYouFirstLogIn ?>:admin and ?> yourPasswordIs ?>:pointofsale

+ +
+

      *itemsInBoldRequired ?>
+
+      +

+
+


+
+    

+ + + + diff --git a/install/makeinstall.php b/install/makeinstall.php new file mode 100755 index 0000000..7142797 --- /dev/null +++ b/install/makeinstall.php @@ -0,0 +1,332 @@ + + +PHP Point Of Sale + + +$lang->forgottenFields"; + exit; + +} +else +{ + if(!(@mysql_connect("$databaseServer", "$databaseUsername", "$databasePassword")) or !(@mysql_select_db($databaseName))) + { + echo"
+ + + + +
+
$lang->problemConnectingToDB
+
"; + exit; + + } + else + { + /*Writes the info to a settings file which the program needs for all database connections + and displaying info about the company. + */ + $info=""; + $open = fopen( "../settings.php", "w+" ) or die ( "Operation Failed!" ); + fputs( $open, "$info" ); + fclose( $open ); + + //Creates the Database the user wants + include ("../settings.php"); + $db = mysql_connect("$databaseServer", "$databaseUsername", "$databasePassword"); + mysql_select_db("$databaseName",$db); + + + + //Puts the correct table structure in the database, so the user can begin to use the program! + $brands=$tableprefix.'brands'; + $categories=$tableprefix.'categories'; + $customers=$tableprefix.'customers'; + $discounts=$tableprefix.'discounts'; + $items=$tableprefix.'items'; + $sales=$tableprefix.'sales'; + $sales_items=$tableprefix.'sales_items'; + $suppliers=$tableprefix.'suppliers'; + $users=$tableprefix.'users'; + + + + $MAKETABLES=" + + # phpMyAdmin SQL Dump + # version 2.5.6 + # http://www.phpmyadmin.net + # + # Host: localhost + # Generation Time: Aug 17, 2004 at 05:30 PM + # Server version: 4.0.15 + # PHP Version: 4.3.6 + # + # Database : `pos` + # + + # -------------------------------------------------------- + + # + # Table structure for table `brands` + # + + CREATE TABLE $brands ( + brand varchar(30) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Contains brands that items use to be more descriptive'; + + # + # Dumping data for table `brands` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `categories` + # + + CREATE TABLE $categories ( + category varchar(30) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Contains categories that items use to be more descriptive'; + + # + # Dumping data for table `categories` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `customers` + # + + CREATE TABLE $customers ( + first_name varchar(75) NOT NULL default '', + last_name varchar(75) NOT NULL default '', + account_number varchar(10) NOT NULL default '', + phone_number varchar(25) NOT NULL default '', + email varchar(40) NOT NULL default '', + street_address varchar(150) NOT NULL default '', + comments blob NOT NULL, + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Customer Info.'; + + # + # Dumping data for table `customers` + # + + # -------------------------------------------------------- + + # + # Table structure for table `discounts` + # + + CREATE TABLE $discounts ( + item_id int(8) NOT NULL default '0', + percent_off varchar(60) NOT NULL default '' , + comment blob NOT NULL, + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='This table keeps track of item discounts'; + # + # Dumping data for table `discounts` + # + + # -------------------------------------------------------- + + # + # Table structure for table `items` + # + + CREATE TABLE $items ( + item_name varchar(30) NOT NULL default '', + item_number varchar(15) NOT NULL default '', + description blob NOT NULL, + brand_id int(8) NOT NULL default '0', + category_id int(8) NOT NULL default '0', + supplier_id int(8) NOT NULL default '0', + buy_price varchar(30) NOT NULL default '', + unit_price varchar(30) NOT NULL default '', + supplier_catalogue_number varchar(60) NOT NULL default '', + tax_percent varchar(5) NOT NULL default '', + total_cost varchar(40) NOT NULL default '', + quantity int(8) NOT NULL default '0', + reorder_level int(8) NOT NULL default '0', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Item Info.'; + + # + # Dumping data for table `items` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `sales` + # + + CREATE TABLE $sales ( + date date NOT NULL default '0000-00-00', + customer_id int(8) NOT NULL default '0', + sale_sub_total varchar(12) NOT NULL default '', + sale_total_cost varchar(30) NOT NULL default '', + paid_with varchar(25) NOT NULL default '', + items_purchased int(8) NOT NULL default '0', + sold_by int(8) NOT NULL default '0', + comment varchar(100) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Contains overall sale details'; + + # + # Dumping data for table `sales` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `sales_items` + # + + CREATE TABLE $sales_items ( + sale_id int(8) NOT NULL default '0', + item_id int(8) NOT NULL default '0', + quantity_purchased int(8) NOT NULL default '0', + item_unit_price varchar(15) NOT NULL default '', + item_buy_price varchar(30) NOT NULL default '', + item_tax_percent varchar(10) NOT NULL default '', + item_total_tax varchar(12) NOT NULL default '', + item_total_cost varchar(12) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Table that holds item information for sales'; + + # + # Dumping data for table `sales_items` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `suppliers` + # + + CREATE TABLE $suppliers ( + supplier varchar(60) NOT NULL default '', + address varchar(100) NOT NULL default '', + phone_number varchar(40) NOT NULL default '', + contact varchar(60) NOT NULL default '', + email varchar(50) NOT NULL default '', + other varchar(150) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='Hold information about suppliers'; + + # + # Dumping data for table `suppliers` + # + + + # -------------------------------------------------------- + + # + # Table structure for table `users` + # + + CREATE TABLE $users ( + first_name varchar(50) NOT NULL default '', + last_name varchar(50) NOT NULL default '', + username varchar(20) NOT NULL default '', + password varchar(60) NOT NULL default '', + type varchar(30) NOT NULL default '', + id int(8) NOT NULL auto_increment, + PRIMARY KEY (id) + ) TYPE=MyISAM COMMENT='User info. that the program needs'; + + # + # Dumping data for table `users` + # + + INSERT INTO $users VALUES ('John', 'Doe', 'admin', '439a6de57d475c1a0ba9bcb1c39f0af6', 'Admin', 1); + + "; + + //Does the query to put it in the database. + $array =explode (';' ,$MAKETABLES ); + foreach($array as $single_query ) + { + $result =mysql_query ($single_query ,$db ); + } + + echo"
+ + + + +
+
$lang->installSuccessfull
+
"; + exit; + + } +} + + +?> + + \ No newline at end of file diff --git a/install/message.gif b/install/message.gif new file mode 100755 index 0000000..400a8e1 Binary files /dev/null and b/install/message.gif differ diff --git a/items/brands/form_brands.php b/items/brands/form_brands.php new file mode 100755 index 0000000..7aa62bd --- /dev/null +++ b/items/brands/form_brands.php @@ -0,0 +1,85 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$brand_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateBrand"); + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'brands'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $brand_value=$row['brand']; + + } + +} +else +{ + $display->displayTitle("$lang->addBrand"); + +} +//creates a form object +$f1=new form('process_form_brands.php','POST','brands','300',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->brandName:",'text','brand',"$brand_value",'24','150'); + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + +?> + + + + + + diff --git a/items/brands/manage_brands.php b/items/brands/manage_brands.php new file mode 100755 index 0000000..92cbebc --- /dev/null +++ b/items/brands/manage_brands.php @@ -0,0 +1,68 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageBrands"); + +$f1=new form('manage_brands.php','POST','brands','425',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForBrand",'text','search','','24','350'); +$f1->endForm(); + +$tableheaders=array("$lang->rowID","$lang->brandName","$lang->updateBrand","$lang->deleteBrand"); +$tablefields=array('id','brand'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + echo "
$lang->searchedForBrand: $search
"; + $display->displayManageTable("$cfg_tableprefix",'brands',$tableheaders,$tablefields,'brand',"$search",'brand'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'brands',$tableheaders,$tablefields,'','','brand'); +} + + +$dbf->closeDBlink(); + + + +?> + + \ No newline at end of file diff --git a/items/brands/process_form_brands.php b/items/brands/process_form_brands.php new file mode 100755 index 0000000..f2ebfff --- /dev/null +++ b/items/brands/process_form_brands.php @@ -0,0 +1,106 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'brands'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['brand']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $brand = $_POST['brand']; + + + //insure all fields are filled in. + if($brand=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('brand'); + $field_data=array("$brand"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageBrands" ?>--> +
+createBrand" ?>--> + + \ No newline at end of file diff --git a/items/categories/form_categories.php b/items/categories/form_categories.php new file mode 100755 index 0000000..30db44b --- /dev/null +++ b/items/categories/form_categories.php @@ -0,0 +1,86 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$category_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateCategory"); + + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'categories'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $category_value=$row['category']; + + } + +} +else +{ + $display->displayTitle("$lang->addCategory"); + +} +//creates a form object +$f1=new form('process_form_categories.php','POST','categories','300',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->categoryName:",'text','category',"$category_value",'24','150'); + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/items/categories/manage_categories.php b/items/categories/manage_categories.php new file mode 100755 index 0000000..8d81d3a --- /dev/null +++ b/items/categories/manage_categories.php @@ -0,0 +1,67 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageCategories"); + +$f1=new form('manage_categories.php','POST','categories','475',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForCategory",'text','search','','24','375'); +$f1->endForm(); + +$tableheaders=array("$lang->rowID","$lang->categoryName","$lang->updateCategory","$lang->deleteCategory"); +$tablefields=array('id','category'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + echo "
$lang->searchedForCategory: $search
"; + $display->displayManageTable("$cfg_tableprefix",'categories',$tableheaders,$tablefields,'category',"$search",'category'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'categories',$tableheaders,$tablefields,'','','category'); +} + + + +$dbf->closeDBlink(); + + +?> + + \ No newline at end of file diff --git a/items/categories/process_form_categories.php b/items/categories/process_form_categories.php new file mode 100755 index 0000000..6b461a4 --- /dev/null +++ b/items/categories/process_form_categories.php @@ -0,0 +1,106 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'categories'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['category']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $category = $_POST['category']; + + + //insure all fields are filled in. + if($category=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('category'); + $field_data=array("$category"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageCategories ?>--> +
+createCategory ?>--> + + \ No newline at end of file diff --git a/items/discounts/form_discounts.php b/items/discounts/form_discounts.php new file mode 100755 index 0000000..b56627f --- /dev/null +++ b/items/discounts/form_discounts.php @@ -0,0 +1,101 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$item_id_value=''; +$percent_off_value=''; +$comment_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateDiscount"); + + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'discounts'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $item_id_value=$row['item_id']; + $percent_off_value=$row['percent_off']; + $comment_value=$row['comment']; + } + +} +else +{ + $display->displayTitle("$lang->addDiscount"); + +} +//creates a form object +$f1=new form('process_form_discounts.php','POST','discounts','300',$cfg_theme,$lang); + +//creates form parts. +$itemtable = "$cfg_tableprefix".'items'; + +$item_option_titles=$dbf->getAllElements("$itemtable",'item_name','item_name'); +$item_option_titles[0] = $dbf->idToField("$itemtable",'item_name',"$item_id_value"); +$item_option_values=$dbf->getAllElements("$itemtable",'id','item_name'); +$item_option_values[0] = $item_id_value; + +$f1->createSelectField("$lang->itemName:",'item_id',$item_option_values,$item_option_titles,'160'); + +$f1->createInputField("$lang->percentOff: (%) ",'text','percent_off',"$percent_off_value",'24','150'); +$f1->createInputField("$lang->comment: ",'text','comment',"$comment_value",'24','150'); + + + +//sends 2 hidden varibles needed for process_form_discounts.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/items/discounts/manage_discounts.php b/items/discounts/manage_discounts.php new file mode 100755 index 0000000..abe2794 --- /dev/null +++ b/items/discounts/manage_discounts.php @@ -0,0 +1,67 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageDiscounts"); + +$f1=new form('manage_discounts.php','POST','discounts','475',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForDiscount",'text','search','','24','375'); +$f1->endForm(); + +$tableheaders=array("$lang->rowID","$lang->itemName","$lang->percentOff","$lang->comment","$lang->updateDiscount","$lang->deleteDiscount"); +$tablefields=array('id','item_id','percent_off','comment'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + echo "
$lang->searchedForDiscount: $search
"; + $display->displayManageTable("$cfg_tableprefix",'discounts',$tableheaders,$tablefields,'percent_off',"$search",'percent_off'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'discounts',$tableheaders,$tablefields,'','','percent_off'); +} + + + +$dbf->closeDBlink(); + + +?> + + \ No newline at end of file diff --git a/items/discounts/process_form_discounts.php b/items/discounts/process_form_discounts.php new file mode 100755 index 0000000..eb85451 --- /dev/null +++ b/items/discounts/process_form_discounts.php @@ -0,0 +1,108 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'discounts'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['item_id']) and isset($_POST['percent_off']) and isset($_POST['comment']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $item_id=$_POST['item_id']; + $percent_off=$_POST['percent_off']; + $comment=$_POST['comment']; + + + //insure all fields are filled in. + if($item_id=='' or $percent_off=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('item_id','percent_off','comment'); + $field_data=array("$item_id","$percent_off","$comment"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageDiscounts ?>--> +
+discountAnItem ?>--> + + \ No newline at end of file diff --git a/items/form_items.php b/items/form_items.php new file mode 100755 index 0000000..57cda9e --- /dev/null +++ b/items/form_items.php @@ -0,0 +1,164 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +$brandtable=$cfg_tableprefix.'brands'; +$categorytable=$cfg_tableprefix.'categories'; +$suppliertable=$cfg_tableprefix.'suppliers'; + +$tb1=mysql_query("SELECT id FROM $brandtable",$dbf->conn); +$tb2=mysql_query("SELECT id FROM $categorytable",$dbf->conn); +$tb3=mysql_query("SELECT id FROM $suppliertable",$dbf->conn); + +if(mysql_num_rows($tb1)==0 or mysql_num_rows($tb2)==0 or mysql_num_rows($tb3)==0) +{ + echo "$lang->brandsCategoriesSupplierError"; + exit(); +} + +//set default values, these will change if $action==update. +$item_name_value=''; +$description_value=''; +$item_number_value=''; +$brand_id_value=''; +$category_id_value=''; +$supplier_id_value=''; +$buy_price_value=''; +$unit_price_value=''; +$supplier_catalogue_number_value=''; +$tax_percent_value="$cfg_default_tax_rate"; +$total_cost_value=''; +$quantity_value=''; +$reorder_level_value=''; +$id='unknown'; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateItem"); + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'items'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $item_name_value=$row['item_name']; + $item_number_value=$row['item_number']; + $description_value=$row['description']; + $brand_id_value=$row['brand_id']; + $category_id_value=$row['category_id']; + $supplier_id_value=$row['supplier_id']; + $buy_price_value=$row['buy_price']; + $unit_price_value=$row['unit_price']; + $supplier_catalogue_number_value=$row['supplier_catalogue_number']; + $tax_percent_value=$row['tax_percent']; + $total_cost_value=$row['total_cost']; + $quantity_value=$row['quantity']; + $reorder_level_value=$row['reorder_level']; + $id=$row['id']; + + + } + +} +else +{ + $display->displayTitle("$lang->addItem"); + +} +//creates a form object +$f1=new form('process_form_items.php','POST','items','400',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->itemName: ",'text','item_name',"$item_name_value",'24','160'); +$f1->createInputField("$lang->description: ",'text','description',"$description_value",'24','160'); +$f1->createInputField("$lang->itemNumber: ",'text','item_number',"$item_number_value",'24','160'); + +$brandtable = "$cfg_tableprefix".'brands'; + +$brand_option_titles=$dbf->getAllElements("$brandtable",'brand','brand'); +$brand_option_titles[0] = $dbf->idToField("$brandtable",'brand',"$brand_id_value"); +$brand_option_values=$dbf->getAllElements("$brandtable",'id','brand'); +$brand_option_values[0] = $brand_id_value; + +$f1->createSelectField("$lang->brand:",'brand_id',$brand_option_values,$brand_option_titles,'160'); + + +$categorytable = "$cfg_tableprefix".'categories'; + +$category_option_titles=$dbf->getAllElements("$categorytable",'category','category'); +$category_option_titles[0] = $dbf->idToField("$categorytable",'category',"$category_id_value"); +$category_option_values=$dbf->getAllElements("$categorytable",'id','category'); +$category_option_values[0] = $category_id_value; + +$f1->createSelectField("$lang->category:",'category_id',$category_option_values,$category_option_titles,'160'); + +$suppliertable = "$cfg_tableprefix".'suppliers'; + +$supplier_option_titles=$dbf->getAllElements("$suppliertable",'supplier','supplier'); +$supplier_option_titles[0] = $dbf->idToField("$suppliertable",'supplier',"$supplier_id_value"); +$supplier_option_values=$dbf->getAllElements("$suppliertable",'id','supplier'); +$supplier_option_values[0] = $supplier_id_value; + +$f1->createSelectField("$lang->supplier:",'supplier_id',$supplier_option_values,$supplier_option_titles,'160'); + +$f1->createInputField("$lang->buyingPrice:",'text','buy_price',"$buy_price_value",'10','160'); +$f1->createInputField("$lang->sellingPrice ($lang->wo $lang->tax):",'text','unit_price',"$unit_price_value",'10','160'); +$f1->createInputField("$lang->tax (%): ",'text','tax_percent',"$tax_percent_value",'4','160'); +$f1->createInputField("$lang->supplierCatalogue: ",'text','supplier_catalogue_number',"$supplier_catalogue_number_value",'24','160'); +$f1->createInputField("$lang->quantityStock: ",'text','quantity',"$quantity_value",'3','160'); +$f1->createInputField("$lang->reorderLevel: ",'text','reorder_level',"$reorder_level_value",'3','160'); + + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + +?> + + + + + + + diff --git a/items/index.php b/items/index.php new file mode 100755 index 0000000..8120f67 --- /dev/null +++ b/items/index.php @@ -0,0 +1,58 @@ +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +echo " + + + + + + +
 $lang->items
+
+ $lang->itemsWelcomeScreen + + + + + +

 

+ + + +"; +$dbf->closeDBlink(); + +?> diff --git a/items/items_barcode.php b/items/items_barcode.php new file mode 100755 index 0000000..0956de1 --- /dev/null +++ b/items/items_barcode.php @@ -0,0 +1,59 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(isset($_GET['generateWith'])) +{ + $generateWith=$_GET['generateWith']; +} +else +{ + $generateWith='id'; +} + +$display->displayTitle("$lang->itemsBarcode"." ($generateWith)"); +echo "$lang->itemNumber / id"; + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + + +$items_table=$cfg_tableprefix.'items'; +$result=mysql_query("SELECT * FROM $items_table ORDER by item_name",$dbf->conn); + +echo ' + +'; + +$counter=0; +while($row=mysql_fetch_assoc($result)) +{ + if($counter%2==0) + { + echo ''; + } + echo ""; + + $counter++; + +} + +echo '
'; + + + + + +$dbf->closeDBlink(); + +?> diff --git a/items/manage_items.php b/items/manage_items.php new file mode 100755 index 0000000..20b18d1 --- /dev/null +++ b/items/manage_items.php @@ -0,0 +1,87 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageItems"); + +$f1=new form('manage_items.php','POST','items','400',$cfg_theme,$lang); + +$f1->createInputField("$lang->searchForItemBy",'text','search','','24','150'); + +$option_values2=array('item_name','item_number','id','quantity','supplier_catalogue_number'); +$option_titles2=array("$lang->itemName","$lang->itemNumber",'ID',"$lang->quantityStock","$lang->supplierCatalogue"); +$f1->createSelectField("$lang->searchBy",'searching_by',$option_values2,$option_titles2,100); +$f1->endForm(); + +echo "$lang->showOutOfStock
"; +echo "$lang->showReorder"; + + +$tableheaders=array("$lang->rowID","$lang->itemName","$lang->itemNumber","$lang->description","$lang->brand","$lang->category","$lang->supplier","$lang->buyingPrice","$lang->sellingPrice","$lang->tax $lang->percent","$lang->finalSellingPricePerUnit","$lang->quantityStock","$lang->reorderLevel","$lang->supplierCatalogue","$lang->updateItem","$lang->deleteItem"); +$tablefields=array('id','item_name','item_number','description','brand_id','category_id','supplier_id','buy_price','unit_price','tax_percent','total_cost','quantity','reorder_level','supplier_catalogue_number'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + $searching_by =$_POST['searching_by']; + echo "
$lang->searchedForItem: $search $lang->searchBy $searching_by
"; + $display->displayManageTable("$cfg_tableprefix",'items',$tableheaders,$tablefields,"$searching_by","$search",'id'); + +} +elseif(isset($_GET['outofstock'])) +{ + echo "
$lang->outOfStock
"; + $display->displayManageTable("$cfg_tableprefix",'items',$tableheaders,$tablefields,'quantity',"outofstock",'id'); +} +elseif(isset($_GET['reorder'])) +{ + echo "
$lang->reorder
"; + $display->displayManageTable("$cfg_tableprefix",'items',$tableheaders,$tablefields,'quantity',"reorder",'id'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'items',$tableheaders,$tablefields,'','','id'); +} + + +$dbf->closeDBlink(); + +?> + + \ No newline at end of file diff --git a/items/process_form_items.php b/items/process_form_items.php new file mode 100755 index 0000000..ab752d2 --- /dev/null +++ b/items/process_form_items.php @@ -0,0 +1,124 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'items'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['item_name']) and isset($_POST['description']) and isset($_POST['item_number']) and isset($_POST['brand_id']) + and isset($_POST['category_id']) and isset($_POST['supplier_id']) and isset($_POST['buy_price']) and isset($_POST['unit_price']) and isset($_POST['tax_percent']) + and isset($_POST['supplier_catalogue_number']) and isset($_POST['quantity']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $item_name = $_POST['item_name']; + $description = $_POST['description']; + $item_number = $_POST['item_number']; + $brand_id = $_POST['brand_id']; + $category_id = $_POST['category_id']; + $supplier_id = $_POST['supplier_id']; + $buy_price = number_format($_POST['buy_price'],2,'.', ''); + $unit_price = number_format($_POST['unit_price'],2,'.', ''); + $tax_percent = $_POST['tax_percent']; + $supplier_catalogue_number = $_POST['supplier_catalogue_number']; + $quantity = $_POST['quantity']; + $reorder_level= $_POST['reorder_level']; + + //insure all fields are filled in. + if($item_name=='' or $brand_id=='' or $category_id=='' or $supplier_id=='' or $buy_price=='' or $unit_price=='' or $tax_percent=='' or $quantity=='' or $reorder_level=='' ) + { + echo "$lang->forgottenFields"; + exit(); + } + elseif( (!is_numeric($buy_price)) or (!is_numeric($unit_price)) or (!is_numeric($tax_percent)) or (!is_numeric($quantity)) or (!is_numeric($reorder_level))) + { + echo "$lang->mustEnterNumeric"; + exit(); + } + else + { + $total_cost = number_format($unit_price*(1+($tax_percent/100)),2,'.', ''); + $field_names=array('item_name','description','item_number','brand_id','category_id','supplier_id','buy_price','unit_price','tax_percent','supplier_catalogue_number','total_cost','quantity','reorder_level'); + $field_data=array("$item_name","$description","$item_number","$brand_id","$category_id","$supplier_id","$buy_price","$unit_price","$tax_percent","$supplier_catalogue_number","$total_cost","$quantity","$reorder_level"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageItems ?>--> +
+createNewItem ?>--> + + \ No newline at end of file diff --git a/items/suppliers/form_suppliers.php b/items/suppliers/form_suppliers.php new file mode 100755 index 0000000..428c7d4 --- /dev/null +++ b/items/suppliers/form_suppliers.php @@ -0,0 +1,100 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$supplier_value=''; +$address_value=''; +$phone_number_value=''; +$contact_value=''; +$email_value=''; +$other_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateSupplier"); + + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'suppliers'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $supplier_value=$row['supplier']; + $address_value=$row['address']; + $phone_number_value=$row['phone_number']; + $contact_value=$row['contact']; + $email_value=$row['email']; + $other_value=$row['other']; + } + +} +else +{ + $display->displayTitle("$lang->addSupplier"); + +} +//creates a form object +$f1=new form('process_form_suppliers.php','POST','suppliers','300',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->supplierName:",'text','supplier',"$supplier_value",'24','150'); +$f1->createInputField("$lang->address:",'text','address',"$address_value",'24','150'); +$f1->createInputField("$lang->phoneNumber:",'text','phone_number',"$phone_number_value",'24','150'); +$f1->createInputField("$lang->contact:",'text','contact',"$contact_value",'24','150'); +$f1->createInputField("$lang->email: ",'text','email',"$email_value",'24','150'); +$f1->createInputField("$lang->other: ",'text','other',"$other_value",'24','150'); + +//sends 2 hidden varibles needed for process_form_suppliers.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/items/suppliers/manage_suppliers.php b/items/suppliers/manage_suppliers.php new file mode 100755 index 0000000..377f1cc --- /dev/null +++ b/items/suppliers/manage_suppliers.php @@ -0,0 +1,67 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageSuppliers"); + +$f1=new form('manage_suppliers.php','POST','suppliers','475',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForSupplier",'text','search','','24','375'); +$f1->endForm(); + +$tableheaders=array("$lang->rowID","$lang->supplierName","$lang->address","$lang->phoneNumber","$lang->contact","$lang->email","$lang->other","$lang->updateSupplier","$lang->deleteSupplier"); +$tablefields=array('id','supplier','address','phone_number','contact','email','other'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + echo "
$lang->searchedForSupplier: $search
"; + $display->displayManageTable("$cfg_tableprefix",'suppliers',$tableheaders,$tablefields,'supplier',"$search",'supplier'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'suppliers',$tableheaders,$tablefields,'','','supplier'); +} + + + +$dbf->closeDBlink(); + + +?> + + \ No newline at end of file diff --git a/items/suppliers/process_form_suppliers.php b/items/suppliers/process_form_suppliers.php new file mode 100755 index 0000000..dcda365 --- /dev/null +++ b/items/suppliers/process_form_suppliers.php @@ -0,0 +1,111 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'suppliers'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['supplier']) and isset($_POST['address']) and isset($_POST['phone_number']) and isset($_POST['contact']) and isset($_POST['email']) and isset($_POST['other']) and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $supplier = $_POST['supplier']; + $address = $_POST['address']; + $phone_number=$_POST['phone_number']; + $contact = $_POST['contact']; + $email = $_POST['email']; + $other = $_POST['other']; + + + //insure all fields are filled in. + if($supplier=='' or $address=='' or $phone_number=='' or $contact==='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('supplier','address','phone_number','contact','email','other'); + $field_data=array("$supplier","$address","$phone_number","$contact","$email","$other"); + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageSuppliers ?>--> +
+createSupplier ?>--> + + \ No newline at end of file diff --git a/language/english.php b/language/english.php new file mode 100755 index 0000000..5300e1f --- /dev/null +++ b/language/english.php @@ -0,0 +1,509 @@ +as an administrator.
With administrative rights, you can go anywhere and do anything on this system. 
Alternatively, you may select from the following common administrative tasks:'; + + var $salesClerkHomeWelcomeMessage='Point of Sale system! To begin,
please select the Sales option from the navigation menu.'; + var $reportViewerHomeWelcomeMessage='Point of Sale system! To begin,
please select the Reports option from the navigation menu.'; + var $backupDatabase='Backup Database'; + var $processSale='Process A Sale'; + var $addRemoveManageUsers='Add, Remove or Manage Users'; + var $addRemoveManageCustomers='Add, Remove Or Manage Members'; + var $addRemoveManageItems='Add, Remove or Manage Items for Sale'; + var $viewReports='View Reports'; + var $configureSettings='Configure Bike Tree Settings'; + var $viewOnlineSupport='View Online Support'; + /*Home End*/ + + + /*Users Home Start*/ + var $createUser='Create a New User'; + var $manageUsers='Manage Users'; + /*Users Home End*/ + + + /*Users Form Start*/ + var $addUser='Add User'; + var $usedInLogin='used in login'; + var $type='Type'; + var $admin='Admin'; + var $salesClerk='Shop Attendant'; + var $reportViewer='Report Viewer'; + var $confirmPassword='Confirm Password'; + /*Users Form End*/ + + + /*Manage Users Start*/ + var $searchForUser='Search for User (By username)'; + var $searchedForUser='Searched for username'; + var $deleteUser='Delete User'; + var $updateUser='Update User'; + /*Manage Users End*/ + + + /*Customers Home Start*/ + var $customersWelcomeScreen='Welcome to the Members panel! Here you can manage our members database. What would you like to do?'; + var $createNewCustomer='Create A New Member'; + var $manageCustomers='Manage Members'; + var $customersBarcode='Members Barcode Sheet'; + /*Customers Home End*/ + + + /*Customers Form Start*/ + var $addCustomer='Add Customer'; + var $firstName='First Name'; + var $lastName='Last Name'; + var $accountNumber='Account Number'; + var $phoneNumber='Phone Number'; + var $email='E-Mail'; + var $streetAddress='Street Address'; + var $commentsOrOther='Comments/Other'; + /*Customers Form End*/ + + + /*Manage Customers Start*/ + var $updateCustomer='Update Member'; + var $deleteCustomer='Delete Member'; + var $searchForCustomer='Search for Member'; + var $searchedForCustomer='Searched for Member'; + var $listOfCustomers='List of Members'; + var $getinfo='Get Info/Records'; + + /*Manage Customers End*/ + + + /*Items Home Start*/ + var $itemsWelcomeScreen='Welcome to the Items panel.  Here you manage Items, Brands, Categories and Suppliers.  Before you can process a sale, you need to add at least one category, one brand, one supplier, and one item. 
What would + + +you like to do?'; + var $createNewItem='Create a New Item'; + var $manageItems='Manage Items'; + var $manageItems2='Manage Items NEW!'; + var $discountAnItem='Discount an item'; + var $manageDiscounts='Manage Discounts'; + var $itemsBarcode='Items Barcode Sheet'; + var $createBrand='Create a New Brand'; + var $manageBrands='Manage Brands'; + var $createCategory='Create a New Category'; + var $manageCategories='Manage Categories'; + var $createSupplier='Create a New Supplier'; + var $manageSuppliers='Manage Suppliers'; + /*Items Home End*/ + + + /*Items Form Start*/ + var $itemName='Item Name'; + var $description='Description'; + var $itemNumber='Item Number'; + var $brand='Brand'; + var $category='Category'; + var $supplier='Supplier'; + var $buyingPrice='Buying Price'; + var $sellingPrice='Selling Price'; + var $tax='Tax'; + var $supplierCatalogue='Supplier Catalogue #'; + var $quantityStock='Quantity in Stock'; + var $reorderLevel='Reorder Level'; + var $users='Users'; + var $itemsInBoldRequired='Items in bold are required'; + var $update='Update'; + var $delete='Delete'; + var $addItem='Add Item'; + var $brandsCategoriesSupplierError='You must create brands, categories, and suppliers before creating an item
Back to Items Main'; + var $finalSellingPricePerUnit='Final Selling Price per Unit'; + /*Items Form End*/ + + + /*Manage Items Start*/ + var $updateItem='Update Item'; + var $deleteItem='Delete Item'; + var $searchForItem='Search for Item (By Item Name)'; + var $searchForItemBy='Search for Item'; + var $searchBy='by'; + var $searchedForItem='Searched for item'; + var $listOfItems='List Of Items'; + var $showOutOfStock='Show Out of Stock Items'; + var $outOfStock='Out of Stock Items'; + var $showReorder='Show Items that need to be reordered'; + var $reorder='Items that need to be reordered'; + /*Manage Items End*/ + + /*Discount From Start*/ + var $addDiscount='Add Discount'; + var $percentOff='Percent Off'; + var $comment='Comment'; + /*Discount From End*/ + + + /*Manage Discounts Start*/ + var $searchForDiscount='Search for discount (By percent off)'; + var $searchedForDiscount='Searched for discount'; + var $listOfDiscounts='List Of Discounts'; + var $updateDiscount='Update Discount'; + var $deleteDiscount='Delete Discount'; + /*Manage Discounts End*/ + + /*Brands Form Start*/ + var $brandName='Brand Name'; + var $addBrand='Add Brand'; + /*Brands Form End*/ + + + /*Manage Brands Start*/ + var $searchForBrand='Search for brand (By brand name)'; + var $searchedForBrand='Searched for brand'; + var $listOfBrands='List Of Brands'; + var $updateBrand='Update Brand'; + var $deleteBrand='Delete Brand'; + /*Manage Brands End*/ + + + /*Categories Form Start*/ + var $categoryName='Category Name'; + var $addCategory='Add Category'; + /*Categories Form End*/ + + + /*Manage Categories Start*/ + var $searchForCategory='Search for category (By category name)'; + var $searchedForCategory='Searched for category'; + var $listOfCategories='List of categories'; + var $updateCategory='Update Category'; + var $deleteCategory='Delete Category'; + /*Manage Categories End*/ + + + /*Suppliers Form Start*/ + var $supplierName='Supplier Name'; + var $address='Address'; + var $contact='Contact'; + var $other='Other'; + /*Suppliers Form End*/ + + + /*Manage Suppliers Start*/ + var $listOfSuppliers='List Of Suppliers'; + var $searchForSupplier='Search for supplier (By supplier name)'; + var $searchedForSupplier='Searched for supplier'; + var $addSupplier='Add Supplier'; + var $updateSupplier='Update Supplier'; + var $deleteSupplier='Delete Supplier'; + /*Manage Suppliers End*/ + + + /*Reports Home Start*/ + var $reportsWelcomeMessage='Welcome to the Reports panel!  Here you can view reports based on sales. 
What would you like to do?'; + var $allCustomersReport='All_Members_Report'; + var $allEmployeesReport='All_Employees_Report'; + var $allBrandsReport='All_Brands_Report'; + var $allCategoriesReport='All_Categories_Report'; + var $allItemsReport='All_Items_Report'; + var $allItemsReportDateRange='All_Items_Report_(DateRange)'; + var $brandReport='Brand_Report'; + var $categoryReport='Category_Report'; + var $customerReport='Members_Report'; + var $customerReportDateRange='Member_Report_(DateRange)'; + var $dailyReport='Daily_Report'; + var $dateRangeReport='Date_Range_Report'; + var $employeeReport='Employee_Report'; + var $itemReport='Item_Report'; + var $itemReportDateRange='Item_Report_(DateRange)'; + var $profitReport='Profit_Report'; + var $taxReport='Tax_Report'; + var $notFound='was not found'; + /*Reports Home End*/ + + + /*Input Needed Form Start*/ + var $inputNeeded='Input needed for'; + var $dateRange='Date Range'; + var $today='Today'; + var $yesterday='Yesterday'; + var $last7days='Last 7 Days'; + var $lastMonth='Last Month'; + var $thisMonth='This Month'; + var $thisYear='This Year'; + var $allTime='All Time'; + var $findBrand='Find Brand'; + var $selectBrand='Select Brand'; + var $findCategory='Find Category'; + var $selectCategory='Select Category'; + var $findCustomer='Find Member'; + var $selectCustomer='Select Member'; + var $findEmployee='Find Employee'; + var $selectEmployee='Select Employee'; + var $findItem='Find Item'; + var $selectItem='Select Item'; + var $selectTax='Select Tax'; + /*Input Needed Form End*/ + + + /*"All" Reports Start*/ + + /*All Customers Report Start*/ + var $itemsPurchased='Items Purchased'; + var $moneySpentBeforeTax='Money Spent before tax'; + var $moneySpentAfterTax='Money Spent after tax'; + var $totalItemsPurchased='Total Items Purchased'; + /*All Customers Report End*/ + + /*All Brands Report Start*/ + var $totalsForBrands='Totals For Brands'; + /*All Brands Report End*/ + + /*All Categories Report Start*/ + var $totalsForCategories='Totals For Categories'; + /*All Categories Report End*/ + + /*All Employees Report Start*/ + var $totalItemsSold='Total Items Sold'; + var $moneySoldBeforeTax='Money Sold before tax'; + var $moneySoldAfterTax='Money Sold after tax'; + /*All Employees Report End*/ + + /*All Items Report Start*/ + var $numberPurchased='Number Purchased'; + var $subTotalForItem='Sub Total For Item'; + var $totalForItem='Total For Item'; + /*All Items Report End*/ + + /*"All" Reports End*/ + + + /*Other Reports Start*/ + var $paidWith='Paid With'; + var $soldBy='Sold By'; + var $saleDetails='Sale details'; + var $saleSubTotal='Sale Sub Total'; + var $saleTotalCost='Sale Total Cost'; + var $showSaleDetails='Show Sale Details'; + var $listOfSaleBy='List of Sales by'; + var $listOfSalesFor='List Of Sales for'; + var $listOfSalesBetween='List Of Sales
between dates'; + var $and='and'; + var $between='between'; + var $totalWithOutTax='Total (w/o Tax)'; + var $totalWithTax='Total (w/ Tax)'; + var $fromMonth='From Month'; + var $day='Day'; + var $year='Year'; + var $toMonth='To Month'; + var $totalAmountSoldWithOutTax='Total Amount Sold (w/o tax)'; + var $profit='Profit'; + var $totalAmountSold='Total Amount Sold'; + var $totalProfit='Total Profit'; + var $totalsShownBetween='Totals shown for sales between'; + var $totalItemCost='Total Item Cost'; + /*Other Reports End*/ + + + /*Sales Home Start*/ + var $salesWelcomeMessage='Welcome to the Sales panel!  Here you can enter sales and manage them. What would you like to do?'; + var $startSale='Start A New Sale'; + var $manageSales='Manage Sales'; + /*Sales Home End*/ + + + /*Sale Interface Start*/ + var $yourShoppingCartIsEmpty='Your Shopping Cart is Empty'; + var $addToCart='Add To Cart'; + var $clearSearch='Clear Search'; + var $saleComment='Sale Comment'; + var $addSale='Add Sale'; + var $quantity='Quantity'; + var $remove='Remove'; + var $cash='Cash'; + var $check='Check'; + var $credit='Credit'; + var $giftCertificate='Gift Certificate'; + var $account='Account'; + var $mustSelectCustomer='You must select a member'; + var $newSale='New Sale'; + var $clearSale='Clear Sale'; + var $newSaleBarcode='New Sale using barcode scanner'; + var $scanInCustomer='Scan in member'; + var $scanInItem='Scan in item'; + var $shoppingCart='Shopping Cart'; + var $customerID='Member ID'; + var $itemID='Item ID'; + var $amtTendered='Amt Tendered'; + var $amtChange='CHANGE'; + var $outOfStockWarn='OUT OF STOCK'; + var $globalSaleDiscount='Global Sale Discount (%)'; + /*Sale Interface End*/ + + + /*Sale Receipt Start*/ + var $orderBy='Order by'; + var $itemOrdered='Item Name'; + var $extendedPrice='Extended Price'; + var $saleID='Sale ID'; + var $orderFor='Order For'; + /*Sale Receipt End*/ + + + /*Manage Sales Start*/ + var $searchForSale='Search for Sale (By Sale ID Range)'; + var $searchedForSales='Searched for sales between'; + var $highID='high id'; + var $lowID='low id'; + var $incorrectSearchFormat='Incorect Search Format, please try again'; + var $updateRowID='Update row id'; + var $updateSaleID='Update Sale id'; + var $itemsInSale='Items In Sale'; + var $itemTotalCost='Item Total Cost'; + var $updateSale='Update Sale'; + var $deleteEntireSale='Delete Entire Sale'; + var $customerName='Member Name'; + var $unitPrice='Unit Price'; + /*Manage Sales End*/ + + + /*Config Start*/ + var $configurationWelcomeMessage='Welcome!  This is the Configuration panel for Bike Tree.  Here you can modify co-op information, themes, and other options. Fields in bold are required.'; + var $companyName='Co-op Name'; + var $fax='Fax'; + var $website='Website'; + var $theme='Theme'; + var $taxRate='Tax Rate'; + var $inPercent='in percent'; + var $currencySymbol='Currency Symbol'; + var $barCodeMode='Bar Code Mode'; + var $language='Language'; + var $yes='Yes'; + var $no='No'; + var $usePaidMembership='Require Paid Membership?'; + var $membershipItemID='Item ID of paid membership'; + var $sellToNonMembers='Sell to members:'; + var $everyone='All Members'; + var $onlyinshop='Only signed in members'; + var $emailFromAddress='"From" address for automatic e-mails:'; + var $dailyLateFee='Daily Late Fee for Loans'; + var $mailmanLocation='Mailman Location'; + var $mailmanListName='Name of mailing list'; + var $mailmanPass='Mailman List Password'; + var $mustOpen='Count cash at open/close?'; + var $adminAutoSignin='Auto sign in admin'; + var $mechAutoSignin='Auto sign in mechanic';//"yes", "no", "option" + var $administratorTitle="Administrator title"; + var $mechanicTitle="Mechanic title"; + + /*Config End*/ + + + /*Error Messages Start*/ + var $youDoNotHaveAnyDataInThe='You do not have any data in the'; + var $attemptedSecurityBreech='Attempted Secuirty breech, you are not a possible user type.'; + var $mustBeAdmin='You must be an Admin to view this page.'; + var $mustBeReportOrAdmin='You must be a Report Viewer or Admin to view this page.'; + var $mustBeSalesClerkOrAdmin='You must be a Sales Clerk or Admin to view this page.'; + var $youMustSelectAtLeastOneItem='You must select at least one Item'; + var $refreshAndTryAgain='Refresh and try again'; + var $noActionSpecified='No action specified! No data was inserted, changed or deleted.'; + var $mustUseForm='You must use the form in order to enter data.'; + var $forgottenFields='You have forgotten one or more of the required fields'; + var $passwordsDoNotMatch='Your passwords do not match!'; + var $logoutConfirm='Are you sure you want to logout?'; + var $usernameOrPasswordIncorrect='username or password are incorrect'; + var $mustEnterNumeric='You must enter a numeric value for price, tax percent, and quantity.'; + var $moreThan200='There are more than 200 rows in the'; + var $first200Displayed='table, only the first 200 rows are displayed. Please use the search feature.'; + var $noDataInTable='You do not have any data in the'; + var $table='table'; + var $confirmDelete='Are you sure you want to delete this from the'; + var $invalidCharactor='You have entered an invalid character in one or more of the fields, please hit back and try again'; + var $didNotEnterID='You did not enter an ID'; + var $cantDeleteBrand='You can not delete this brand because at least one of your items uses it.'; + var $cantDeleteCategory='You can not delete this category because at least one of your items uses it.'; + var $cantDeleteCustomer='You can not delete this member because he/she has purchased at least one item.'; + var $cantDeleteItem='You can not delete this item because it has been purchased at least once.'; + var $cantDeleteSupplier='You can not delete this supplier because at least one of your items uses it.'; + var $cantDeleteUserLoggedIn='You can not delete this user because you are logged in as them!'; + var $cantDeleteUserEnteredSales='You can not delete this user because he/she has entered sales.'; + var $itemWithID='Item with id'; + var $isNotValid='is not valid.'; + var $customerWithID='Member with id'; + var $configUpdatedUnsucessfully='The configuration file was not updated, please make sure the settings.php file is writeable'; + var $problemConnectingToDB='There was a problem connecting to the database,
please hit back and verify your settings.'; + /*Error Messages End*/ + + + /*Success Messages Start*/ + var $upgradeMessage='Clicking submit will upgrade the database to version 9.0. You must have version 7.0 or greater to upgrade PHP Point Of Sale.'; + var $upgradeSuccessfullMessage='PHP Point Of Sale\'s database has been successfully upgraded to version 9.0, please delete the upgrade and install folders for security purposes.'; + var $successfullyAdded='You have succesfully added this in table'; + var $successfullyUpdated='You have succesfully updated this in table'; + var $successfullyDeletedRow='You have succesfully deleted row'; + var $fromThe='from the'; + var $configUpdatedSuccessfully='The configuration file was updated successfully'; + var $installSuccessfull='The installation of PHP Point Of Sale was successfull,
please click here to login and get started!'; + /*Success Messages End*/ + + + /*Installer Start*/ + var $installation='Installation'; + var $installerWelcomeMessage='Welcome to the install process for PHP Point of Sale. We\'re very excited that you\'ve
     decided to use PHP PoS as your point of sale solution. To continue the installation process,
  + + +    please fill out the simple form below and then click the \'Install\' button. '; + var $databaseServer='Database Server'; + var $databaseName='Database Name'; + var $databaseUsername='Database Username'; + var $databasePassword='Database Password'; + var $mustExist='Must Exist'; + var $defaultTaxRate='Default Tax Rate'; + var $tablePrefix='Table Prefix'; + var $numberToUseForBarcode='Property to use when scanning barcodes at sale'; + var $whenYouFirstLogIn='Important, when you first login your username is'; + var $yourPasswordIs='your password is'; + var $install='Install'; + var $serious='Serious'; + var $bigBlue='Big Blue'; + var $percent='Percent'; + /*Installer End*/ + + + /*Generic Start*/ + var $name='Name'; + var $customer='Member'; + var $employee='Employee'; + var $date='Date'; + var $rowID='Row ID'; + var $field='Field'; + var $data='Data'; + var $quantityPurchased='Quantity Purchased'; + var $listOf='List Of'; + var $wo='w/o';//without + /*Generic End*/ + +} + +?> diff --git a/latebikes.php b/latebikes.php new file mode 100755 index 0000000..97228da --- /dev/null +++ b/latebikes.php @@ -0,0 +1,47 @@ +

  Library Loans

+conn); + +while($loanarray = mysql_fetch_array($latequery)){ + + $querytwo = "SELECT first_name, last_name FROM customers WHERE id='$loanarray[userID]'"; + $listquery = mysql_query("$querytwo",$dbf->conn); + echo mysql_error(); +while($latearray = mysql_fetch_array($listquery)){ + $dayslate = round((($todaynix-$loanarray[unixdate])/60/60/24)-1, 0); + if ($dayslate < 0){ $dayslate = abs($dayslate) . " days remaining"; + $latestyle = ""; + } + elseif ($dayslate == 0){ $dayslate = "Due today"; + $latestyle = "background: yellow;"; + } + else {$dayslate .= " days late!"; + $latestyle = "background: red;"; + } + echo "
$latearray[first_name] $latearray[last_name] [?]
($dayslate) [Info +/-]"; + +$details = ""; +$details .= "This bike (#$loanarray[bikeID]) was taken out on "; +$details .= date('M. j, Y',$loanarray['unixloan']); +$details .= " and is/was due back on "; +$details .= date('M. j, Y',$loanarray['unixdate']); +$details .= ""; +$details .= " || Sign Bike IN "; + + +echo "
$details
"; + +echo "
"; + } + +} + + +?> + + diff --git a/library/customers_barcode.php b/library/customers_barcode.php new file mode 100755 index 0000000..816bf96 --- /dev/null +++ b/library/customers_barcode.php @@ -0,0 +1,59 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(isset($_GET['generateWith'])) +{ + $generateWith=$_GET['generateWith']; +} +else +{ + $generateWith='id'; +} + +$display->displayTitle("$lang->customersBarcode"." ($generateWith)"); +echo "$lang->accountNumber / id"; + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + + +$customers_table=$cfg_tableprefix.'customers'; +$result=mysql_query("SELECT * FROM $customers_table ORDER by last_name",$dbf->conn); + +echo ' + +'; + +$counter=0; +while($row=mysql_fetch_assoc($result)) +{ + if($counter%2==0) + { + echo ''; + } + echo ""; + + $counter++; + +} + +echo '
'; + + + + + +$dbf->closeDBlink(); + +?> diff --git a/library/form_library.php b/library/form_library.php new file mode 100755 index 0000000..4e3ce4d --- /dev/null +++ b/library/form_library.php @@ -0,0 +1,162 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$userID=''; +$loanID=''; +$deposittaken=''; +$loandate=''; +$returndate=''; +$notes=''; +$latefeespaid=''; +$paid=''; +$id=-1; + + +//echo "post is $_POST[bikeID]and id is $id"; +//Destroy the world if they didn't put a valid bike number in. Then apologize. +$bikecheck = mysql_query("SELECT * FROM bikes WHERE id='$_POST[bikeID]' LIMIT 1",$dbf->conn); +echo mysql_error(); +$bikeexists = mysql_fetch_array($bikecheck); +$back = "

[Go Baaaaaack]"; +if($bikeexists['id'] == ""){ echo "
Bike Doesn't exist. Divide by zero. Did you put a bike number in the box? If you did put a number in, go back and try typing it again.$back"; die(); } +if($bikeexists['bikestatus'] == "repair"){ echo "
This is a personal bike in for repair! Take it from them and make a note! $back"; die(); } +if($bikeexists['bikestatus'] != "library"){ echo "
This is not a library bike. It is marked as $bikeexists[bikestatus]. Take it from them and tell the IT working group $back"; die(); } +if($bikeexists['putinservice'] == "" || $bikeexists['putinservice'] == "0000-00-00"){ echo "
This bike has not yet been put in service! DO NOT LOAN. Merci! $back"; die(); } +if($bikeexists['inrepair'] != "" && $bikeexists['inrepair'] != "0000-00-00"){ echo "
This bike is in repair. DO NOT LOAN. Merci! $back"; die(); } +if($bikeexists['retired'] != "" && $bikeexists['retired'] != "0000-00-00"){ echo "
This bike has been retired from the library. Do not loan. $back"; die(); } + + +//Check if bike is in or out +$inoutquery = mysql_query("SELECT * FROM libraryloans WHERE bikeID='$_POST[bikeID]' AND bikeout=1",$dbf->conn); +$loanarray = mysql_fetch_array($inoutquery); + +//decides if the form will be used to sign in or add a loan. +if($loanarray['id'] != "") +{ + $action="update"; +// print_r($loanarray); +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current loan data is. +if($action=="update") +{ + $display->displayTitle("Bike is OUT. Sign it in"); + + if(isset($_POST['bikeID'])) + { +// echo "Now it's all: $_POST[bikeID]"; + $bikeID=$_POST['bikeID']; + $tablename = "$cfg_tableprefix".'libraryloans'; + $result = mysql_query("SELECT *, UNIX_TIMESTAMP(duedate)as latedate FROM $tablename WHERE bikeID=\"$bikeID\" AND bikeout=1",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $userID=$row['userID']; + $loanID=$row['id']; + $deposittaken=$row['deposittaken']; + $loandate=$row['loandate']; + $duedate=$row['duedate']; + $returndate=$row['returndate']; + $notes=$row['notes']; + $latefees=$row['latefees']; + $latedate=$row['latedate']; + +$today = date('U'); +if($today > $latedate){ + $todayowing = round((($today-$latedate)/60/60/24)-1, 0) * $cfg_dailyLateFee; + echo "
There is \$$todayowing.00 owing in late fees.

"; +} + + } + +} +else +{ + $display->displayTitle("Bike #$_POST[bikeID] is available for loan. Use form below."); +} +//creates a form object +$f1=new form('process_form_library.php','POST','library','450',$cfg_theme,$lang); + +// Get User ID's and names for the select creation + //sidenote: if user has bike, grab user number and add SELECTED to their entry in the select (last 3 lines) +$fnamearray = array(); +$lnamearray = array(); +$userIDarray = array(); +$usrquery = mysql_query("SELECT first_name, last_name, id FROM customers ORDER BY last_name ASC"); +while ($row = mysql_fetch_assoc($usrquery)) +{ +$namearray[] = $row['last_name'] .',' . $row['first_name']; +$idstring = $row['id']; +if($userID == $row['id']){ +$idstring .= "SELECTED"; } +$userIDarray[] = $idstring; +} + +if($action == "update"){ $disabled="disabled"; } + + + +//creates form parts. +$f1->createSelectField("Member: ",'userID',$userIDarray,$namearray,'170',"$disabled"); +$f1->createInputField("Deposit Taken: $",'text','deposittaken',"$deposittaken",'24','170',"$disabled"); +if ($action == "update"){ $f1->createInputField("Due Date (YYYY-MM-DD): ",'text','duedate',"$duedate",'24','170',"$disabled"); } +if ($action == "insert"){ $f1->createSingleDateSelectField("Due Date"); } +$f1->createCheckboxField("Paying fees now?","feespaid",'170'); +//$f1->createInputField("Late Fees Paid: $ ",'text','amtpaid',"",'24','170'); +$f1->createTextareaField("Notes about this loan:",'notes','5','24',"$notes",'170'); + +//sends many hidden varibles needed for process_form_library.php. +echo " + + + + "; +if($action == "update"){ + echo ""; + echo ""; + echo ""; + echo ""; + + +} + +$f1->endLibraryForm(); +$dbf->closeDBlink(); + + +?> + + + + + + diff --git a/library/index.php b/library/index.php new file mode 100755 index 0000000..1130029 --- /dev/null +++ b/library/index.php @@ -0,0 +1,48 @@ +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(!$sec->isOpen()){ + header("location: ../books/openshop.php"); + exit(); +} + +echo " + + + + + + + + + + +
 Bike Library
+
+
+      Sign in/out - Bike Number: +   + +
+To modify a library bike, please use the bikes panel. +
+ +"; + +$dbf->closeDBlink(); + + +?> diff --git a/library/manage_rentals.php b/library/manage_rentals.php new file mode 100755 index 0000000..300a8b0 --- /dev/null +++ b/library/manage_rentals.php @@ -0,0 +1,74 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("Manage Members"); + +$f1=new form('manage_customers.php','POST','customers','450',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForCustomer",'text','search','','24','150'); + +$option_values2=array('first_name','last_name','account_number','id'); +$option_titles2=array("$lang->firstName","$lang->lastName","$lang->accountNumber",'ID'); +$f1->createSelectField("$lang->searchBy",'searching_by',$option_values2,$option_titles2,100); + + +$f1->endForm(); + + +$tableheaders=array("$lang->rowID","$lang->lastName","$lang->firstName","$lang->phoneNumber","$lang->email","$lang->streetAddress","More Info","Update/Edit Member","Remove Member"); +$tablefields=array('id','last_name','first_name','phone_number','email','street_address'); + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + $searching_by =$_POST['searching_by']; + echo "
$lang->searchedForItem: $search $lang->searchBy $searching_by
"; + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,"$searching_by","$search",'last_name'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'customers',$tableheaders,$tablefields,'','','last_name'); +} + + +$dbf->closeDBlink(); + + +?> + + diff --git a/library/process_form_library.php b/library/process_form_library.php new file mode 100755 index 0000000..476047a --- /dev/null +++ b/library/process_form_library.php @@ -0,0 +1,116 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'libraryloans'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['userID']) and isset($_POST['deposittaken']) and isset($_POST['notes']) ) + { + + $action = $_POST['action']; + $id = $_POST['id']; + $bikeID = $_POST['bikeID']; + //gets variables entered by user. + $userID = $_POST['userID']; + $deposittaken = $_POST['deposittaken']; + $duedate = "$_POST[year]-$_POST[month]-$_POST[day]"; + $paid = $_POST['feespaid']; + $notes = $_POST['notes']; + $todayowing = $_POST['todayowing']; + $today = date('Y-m-d'); + //insure all fields are filled in. + if($userID=='' or $deposittaken=='' or $duedate=='') + { + echo "$userID AND $deposittaken AND $duedate $lang->forgottenFields"; + exit(); + } + else + { + if($action == "insert"){ + $field_names=array('userID','bikeID','bikeout','deposittaken','loandate','duedate','notes'); + $field_data=array("$userID","$bikeID","1","$deposittaken","$today","$duedate","$notes"); + } + if($action == "update") + { + if($paid == "on"){ $feesowing = 0; } + $field_names=array('bikeout','returndate','notes','latefees'); + $field_data=array("0","$today","$notes","$feesowing"); + } + + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+Back to Bike Library--> +
+Go Home--> + + diff --git a/login.php b/login.php new file mode 100755 index 0000000..c7a1404 --- /dev/null +++ b/login.php @@ -0,0 +1,121 @@ +checkLogin($username,$password)) + { + $_SESSION['session_user_id'] = $dbf->getUserID($username,$password); + $auth = $dbf->idToField($cfg_tableprefix.'users','type',$_SESSION['session_user_id']); + if($auth=="Sales Clerk" && !$dbf->idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id'])){ + header("location: users/user_customer_link.php"); + exit(); + } + if($auth=="Sales Clerk"){ + $tablename="$cfg_tableprefix".'visits'; + $tdin = date('Y-m-d H:i:s'); + $field_names=array('userID','intime','activity'); + $adminID = $dbf->idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id']); + //$field_data=array("$adminID", "$tdin", "Administrator"); + //$dbf->insert($field_names, $field_data, $tablename, ""); + $sec->signinMember($adminID, $tdin, "Administrator"); + } + header("location: index.php"); + } + else + { + echo "
$lang->usernameOrPasswordIncorrect
"; + } +} + +if($sec->isLoggedIn()) +{ + header ("Location: index.php"); +} + +$dbf->closeDBlink(); + +?> + + + + +PHP Point of Sale Login + + + + +
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
login ?>
+
+
+
loginWelcomeMessage ?>
+
+
username ?>:
+ +
  +
+
password ?>:
+ +
  +
+ + + + +
+
+ + + +
+
+ + diff --git a/logout.php b/logout.php new file mode 100755 index 0000000..fdf0e0e --- /dev/null +++ b/logout.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/members/add.php b/members/add.php new file mode 100755 index 0000000..a02f6fb --- /dev/null +++ b/members/add.php @@ -0,0 +1,286 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +global $cfg_membershipID; + +if(!$sec->isLoggedIn()) +{ + //header ("location: ../login.php"); + //exit(); +} + +?> + + + + + + +
+$value) { $$key = stripslashes($value); } + +} + + +// Get expirey date +// Construct a join query which already ADDS ONE YEAR to the date of purchase to result in expirey date +$query22 = "SELECT sales.id, sales_items.sale_id, sales_items.item_id, DATE_ADD(sales.date, INTERVAL 1 YEAR) as expires ". + "FROM sales, sales_items ". + "WHERE sales.id = sales_items.sale_id AND sales_items.item_id = '1' AND sales.customer_id = '$_GET[userID]'"; +$result22 = mysql_query($query22) or die(mysql_error()); + +$today = date('Y-m-d'); + +// Print out the contents of each row into a table +$row = mysql_fetch_array($result22); +$expires = $row['expires']; +// echo "EXPIRES $expires"; + if ($row['item_id'] == "1" && $expires > $today){ + $expiredate = $expires; + } else { + $expiredate = "Not Paid (or expired $expires)
(USE SALES to sell a membership)"; + } + + +//mysql_free_result($result); +?> + +
+ + + + + + + + + + + + + + + + + + +
+

Add/Edit A Member

+ +
+

Personal Information

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
First Name:  * +      Last Name:  * +
E-mail: +  * +
Mailing Lists: + +   $cfg_mailmanListName1"; ?>   +   $cfg_mailmanListName2"; ?>   +   $cfg_mailmanListName3"; ?> + +
Phone Number: +   + * + +
Mailing Address: +  
+ * +
+

Membership

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Student ID: +   + + +
OR: Drivers License #: +  (non-student) + + +
OR: Cash Deposit:

+  (no drivers license)

+ + +
+ +  Member Type:   + + +* + + +
Liability Waiver Signed + +  > + +
+   +
Member Flags: + +   First Warning"; ?>
+   Second Warning"; ?>
+   Banned from the shop"; ?> + +
Notes About This Member: +   + * +
+ + +
+ +
+ +All information is held in confidence by TheBikeTree.
+ +Information will not be shared with any other organizations without your permission.


+
+ +
+ diff --git a/members/browse.inc b/members/browse.inc new file mode 100755 index 0000000..4e5e3e8 --- /dev/null +++ b/members/browse.inc @@ -0,0 +1,39 @@ +


Membership List

+ +Table: {$table}"; +echo ""; +// printing table headers +// echo ""; +echo "\n"; +// printing table rows +$colorbit = 1; +while($row = mysql_fetch_array($result) ) +{ + + + if ($colorbit == 1){ echo ""; + $idhide = "#CCCCCC"; + $colorbit = 2; + } else { + echo ""; + $colorbit = 1; + $idhide = "#999999"; + } + + echo ""; + echo ""; + echo "\n"; +} +mysql_free_result($result); +?> + + diff --git a/members/error_log b/members/error_log new file mode 100755 index 0000000..c172c18 --- /dev/null +++ b/members/error_log @@ -0,0 +1,63 @@ +[05-Mar-2009 16:57:18] PHP Parse error: syntax error, unexpected $end in /home/recycle/public_html/WWW_campusbike.ca/pos/members/submit.php on line 175 +[05-Mar-2009 18:57:11] PHP Parse error: syntax error, unexpected '}' in /home/recycle/public_html/WWW_campusbike.ca/pos/classes/security_functions.php on line 238 +[05-Mar-2009 18:57:18] PHP Parse error: syntax error, unexpected '}' in /home/recycle/public_html/WWW_campusbike.ca/pos/classes/security_functions.php on line 240 +[06-Mar-2009 22:01:02] PHP Parse error: syntax error, unexpected ')' in /home/recycle/public_html/WWW_campusbike.ca/pos/members/submit.php on line 203 +[10-Mar-2017 00:41:22 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:42:24 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:53 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:58 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:58 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/odb.php on line 8 +[10-Mar-2017 00:43:58 America/Toronto] PHP Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /home/variousa/public_html/pos/members/odb.php on line 8 +[10-Mar-2017 00:44:38 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:41 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:44:41 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/odb.php on line 8 +[10-Mar-2017 00:44:41 America/Toronto] PHP Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /home/variousa/public_html/pos/members/odb.php on line 8 +[10-Mar-2017 00:46:49 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:46:49 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:46:49 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:47:20 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:47:20 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:47:20 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:49:14 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:49:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:51:15 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:51:17 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:51:17 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:51:17 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:11 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:11 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:11 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:16 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:16 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:16 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:39 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:41 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:56:41 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:56:41 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:57:48 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:57:50 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:57:50 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:57:50 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:58:13 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:58:13 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:58:13 America/Toronto] PHP Warning: mysql_connect(): Access denied for user ''@'localhost' (using password: NO) in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:59:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:59:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/odb.php on line 13 +[10-Mar-2017 00:59:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 00:59:56 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:00:02 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:00:34 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:00:34 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/odb.php on line 13 +[10-Mar-2017 01:00:34 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 01:00:40 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:03:22 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:04:06 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:04:45 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:05:38 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:05:45 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:05:51 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:05:51 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/odb.php on line 13 +[10-Mar-2017 01:05:51 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/members/add.php on line 35 +[10-Mar-2017 01:06:58 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:07:03 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 01:09:42 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 diff --git a/members/getinfo.php b/members/getinfo.php new file mode 100755 index 0000000..ca6c00f --- /dev/null +++ b/members/getinfo.php @@ -0,0 +1,265 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +global $cfg_membershipID; + +if(!$sec->isLoggedIn()) +{ +// header ("location: ../login.php"); +// exit(); +} + +?> + + + + + + + + + +
+$value) { $$key = stripslashes($value); } + +} + +// Get expirey date +// Construct the bitchin join query +$query22 = "SELECT sales.id, sales_items.sale_id, sales_items.item_id, DATE_ADD(sales.date, INTERVAL 1 YEAR) as expires ". + "FROM sales, sales_items ". + "WHERE sales.id = sales_items.sale_id AND sales_items.item_id = '1' AND sales.customer_id = '$_GET[userID]'"; +$result22 = mysql_query($query22) or die(mysql_error()); + +$today = date('Y-m-d'); + +// Print out the contents of each row into a table +$row = mysql_fetch_array($result22); +$expires = $row['expires']; +// echo "EXPIRES $expires"; + if ($row['item_id'] == "1" && $expires > $today){ + $expiredate = $expires; + } else { + $expiredate = "Membership not paid (or expired $expires)"; + } + + + +//mysql_free_result($result); +?> + +
+
First NameLast NameEdit UserMore Info
$row[lname], $row[fname] Edit MemberMore Info
+ + + + + + + + + + + + + + + + + + + + + + + +
+


+ +
+

Personal Information

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Member Number: +   +
E-mail: +   +
Email Lists: + + + + + +
Phone Number: +   + + + +
Mailing Address: +   +
+

Membership

+
+ + + + + + + + + + + + + + + + +
+  Member Type:   + + +
Liability Waiver Signed? + +   + +
Membership Expires: +   + +
+ +

Member Standing / Hours

+
+ + + + + + + + + + + + + + + + + + + + + + = 1"; + $vresult = mysql_query($vquery); + if (!$result) { + die("Query to show visits from table failed"); + } + $totalseconds=0; + while($row = mysql_fetch_array($vresult)){ + echo ""; + echo " + + + + + "; + $totalseconds = $totalseconds + $timespent; + } + + $hours=round($totalseconds/3600); + echo ""; + + + + ?> + + +
Member Flags: + + + + + +
Notes About This Member: +   +

Record of Visits:
$row[humanindate]$row[humanintime] - $row[humanout]$row[activity]"; + + $timespent = $row[unixout] - $row[unixin]; + echo number_format(round($timespent / 3600*4)/4, 2) . " hrs"; + echo "[Edit This Visit]

Rounded Total:

$hours hours
+ + +
+ +
+

+ + +
+ diff --git a/members/odb.php b/members/odb.php new file mode 100755 index 0000000..4bf095b --- /dev/null +++ b/members/odb.php @@ -0,0 +1,18 @@ + diff --git a/members/signin.php b/members/signin.php new file mode 100755 index 0000000..c610a19 --- /dev/null +++ b/members/signin.php @@ -0,0 +1,290 @@ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+

Sign in/out retroactively

+ +
+

Time/Date IN

+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Name: +   + $first_name $last_name";?> + +
Date: +   + + + + + + +
Time: +   + + +: + +(24 hour time) +
 
Activity:

+   + + +

+
+
+

Time/Date OUT

+ + +
+ + + + + + + + + + + + + + + + + +
Date: +   + + + + + + +
Time: +   + + +: + +(24 hour time) +
 
+
+
"; +} +?> + + + + " > + " > +     + + +
+

+
+ + diff --git a/members/signinsubmit.php b/members/signinsubmit.php new file mode 100755 index 0000000..20a62dc --- /dev/null +++ b/members/signinsubmit.php @@ -0,0 +1,94 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +global $cfg_membershipID; + +if(!$sec->isLoggedIn()) +{ +// header ("location: ../login.php"); +// exit(); +} + + +//include('odb.php'); + + +function getmonth($m=0) { + return (($m==0 ) ? date("F") : date("F", mktime(0,0,0,$m))); +} + +$month = getmonth($_POST[month]); + + + + // MAKE SURE THEY'RE NOT ALREADY HERE! + + +//$in = mktime($_POST[hour], $_POST[minute], 0, $_POST[month], $_POST[day], $_POST[year]); +//$tdin = date('Y-m-d H:i:s'); +//$activity = $_POST[activity]; +$sec->signinMember($_POST[userID], mktime($_POST[hour], $_POST[minute], 0, $_POST[month], $_POST[day], $_POST[year]), $_POST[activity]); +/*$isinresult = mysql_query("SELECT userID FROM visits WHERE endout IS NULL"); + +if (!$isinresult) { die("Query to show fields from table failed"); } + + while ($isinrow = mysql_fetch_array($isinresult)) { + if ($_POST[userID] == "$isinrow[userID]"){ die("Bike Error!! User is already signed in..."); } + } + + + + + // MAKE SURE THEY'VE PAID THEIR MEMBERSHIP (IF REQUIRED BY CONFIG FILE) +if(!$sec->checkMembership($_POST[userID]) && $cfg_reqmembership == 1){ echo "Membership not paid (or expired $expires)!
Go Home -->"; die(''); } + + // Have you been a naughty schoolchild and not signed your waiver? PUNISH! +if(!$sec->checkWaiver($_POST[userID])){ echo "Waiver not signed. Sign waiver, or no shop access you naughty boy!
Go Home -->"; die(''); } + + + + // ADD IT TO THE VISITS DATABASE + +$in = mktime($_POST[hour], $_POST[minute], 0, $_POST[month], $_POST[day], $_POST[year]); +$tdin = date('Y-m-d H:i:s'); +$activity = $_POST[activity]; + +if (isset($_POST[userID])){ +$query = "INSERT INTO `visits` (`userID` ,`intime` ,`activity`) VALUES ('$_POST[userID]', '$tdin', '$activity')"; +// echo "IT FJDSFDSA $query"; + mysql_query($query); + + +}*/ + + + + +// sending query +if ($_POST[userID] != ""){ +// echo "userID is set: $_POST[userID]"; +$result = mysql_query("SELECT * FROM customers WHERE id='$_POST[userID]'"); +if (!$result) { + die("Query to show fields from table failed"); +} +$fields_num = mysql_num_fields($result); +$field = mysql_fetch_array($result); + +foreach($field as $key=>$value) { $$key = stripslashes($value); } + +} + +header( 'Location: /pos/home.php' ) ; + +?> + diff --git a/members/signinsubmitretro.php b/members/signinsubmitretro.php new file mode 100755 index 0000000..c7b5067 --- /dev/null +++ b/members/signinsubmitretro.php @@ -0,0 +1,56 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +global $cfg_membershipID; + +if(!$sec->isLoggedIn()) +{ +// header ("location: ../login.php"); +// exit(); +} + + + +function getmonth($m=0) { +return (($m==0 ) ? date("F") : date("F", mktime(0,0,0,$m))); +} +$month = getmonth($_POST[month]); + + // STICKUPDATE IT TO THE VISITS DATABASE + +$in = mktime($_POST[hour], $_POST[minute], 0, $_POST[month], $_POST[day], $_POST[year]); +$out = mktime($_POST[hourout], $_POST[minuteout], 0, $_POST[monthout], $_POST[dayout], $_POST[yearout]); +$tdin = date('Y-m-d H:i:s', $in); +if($_POST[ignoreout] != "on"){ $tdout = date('Y-m-d H:i:s', $out); $outquery = "endout='$tdout',"; } +$activity = $_POST[activity]; + +if (isset($_POST[userID])){ +$query = "UPDATE visits SET intime='$tdin', $outquery activity='$activity' WHERE visitID=$_POST[visitID]"; + + //REPORT BACK TO USER THAT ALL IS OK! +echo "

Sign in/out retroactively

Success


It has been made so.

Continue
"; + mysql_query($query); +echo mysql_error(); + +} +?> + diff --git a/members/signoutsubmit.php b/members/signoutsubmit.php new file mode 100755 index 0000000..9026f4b --- /dev/null +++ b/members/signoutsubmit.php @@ -0,0 +1,50 @@ +idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id']); + $field_data=array("$_GET[switchID]", "$tdin", "Mechanic"); + $dbf->insert($field_names, $field_data, $tablename, ""); +} + +if($isAdmin){ + header('Location: /pos/login.php'); +}else{ + header('Location: /pos/home.php'); +} +?> + + diff --git a/members/submit.php b/members/submit.php new file mode 100755 index 0000000..d5b52fb --- /dev/null +++ b/members/submit.php @@ -0,0 +1,220 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +global $cfg_membershipID; + +if(!$sec->isLoggedIn()) +{ +// header ("location: ../login.php"); +// exit(); +} + +?> + + + + + + +

Progress

+...If membership needs to be sold, click HERE

+ 64) + { + // local part length exceeded + $isValid = false; + } + else if ($domainLen < 1 || $domainLen > 255) + { + // domain part length exceeded + $isValid = false; + } + else if ($local[0] == '.' || $local[$localLen-1] == '.') + { + // local part starts or ends with '.' + $isValid = false; + } + else if (preg_match('/\\.\\./', $local)) + { + // local part has two consecutive dots + $isValid = false; + } + else if (!preg_match('/^[A-Za-z0-9\\-\\.]+$/', $domain)) + { + // character not valid in domain part + $isValid = false; + } + else if (preg_match('/\\.\\./', $domain)) + { + // domain part has two consecutive dots + $isValid = false; + } + else if +(!preg_match('/^(\\\\.|[A-Za-z0-9!#%&`_=\\/$\'*+?^{}|~.-])+$/', + str_replace("\\\\","",$local))) + { + // character not valid in local part unless + // local part is quoted + if (!preg_match('/^"(\\\\"|[^"])+"$/', + str_replace("\\\\","",$local))) + { + $isValid = false; + } + } + if ($isValid && !(checkdnsrr($domain,"MX") || checkdnsrr($domain,"A"))) + { + // domain not found in DNS + $isValid = false; + } + } + return $isValid; +} + + +// sending query + +//echo "userID is not set"; + + +$fname = $_POST[fname]; +$lname = $_POST[lname]; + +$maillist = $_POST[maillist]; + + +//if (!preg_match('/^(\(?[2-9]{1}[0-9]{2}\)?|[0-9]{3,3}[-. ]?)[ ][0-9]{3,3}[-. ]?[0-9]{4,4}$/', $_POST[phone1])) { +//die('Phone number invalid. Click back and try again.'); +//} + +if ($_POST[waiver] == "on"){ $waiver = "1"; } else { $waiver = "0";} +if ($_POST[maillist1] == "on"){ $maillist1 = "1"; } else { $maillist1 = "0";} +if ($_POST[maillist2] == "on"){ $maillist2 = "1"; } else { $maillist2 = "0";} +if ($_POST[maillist3] == "on"){ $maillist3 = "1"; } else { $maillist3 = "0";} +if ($_POST[warnedonce] == "on"){ $warnedonce = "1"; } else { $warnedonce = "0";} +if ($_POST[warnedtwice] == "on"){ $warnedtwice = "1"; } else { $warnedtwice = "0";} +if ($_POST[banned] == "on"){ $banned = "1"; } else { $banned = "0";} + +$phone1 = $_POST[phone1]; + +$email = $_POST[email]; +// $pass = validEmail($email); +// if ($pass) { $email = $email; } else { die('E-mail Address is not valid. Click back and try again.'); } +$email = $email; +$address = $_POST[address]; +$membertype = $_POST[membertype]; +$notes = $_POST[notes]; + + +if (!isset($_GET[userID]) || $_GET[userID] == ""){ + $query = "INSERT INTO customers (first_name, last_name, phone_number, email, maillist1, maillist2, maillist3, street_address, membertype, studentID, drivers, cashdeposit, waiver, warnedonce, warnedtwice, banned, comments) VALUES ('$fname', '$lname', '$phone1', '$email', '$maillist1', '$maillist2', '$maillist3', '$address', '$membertype', '$_POST[studentID]', '$_POST[drivers]','$_POST[cashdeposit]', '$waiver', '$warnedonce', '$warnedtwice', '$banned', '$notes')"; + +// echo "QUEERY:$query"; + + mysql_query($query) or die('Error, user not added. Consult Mark...'); + + echo "...User has been added

"; + + //$query = "FLUSH PRIVILEGES"; + //mysql_query($query) or die('Error, flush insert query failed'); + +// echo "Here is some technical jargon if you want to check what info was added...
$query"; +/* + //EMAIL WELCOME TO MEMBER! + + $headers = 'MIME-Version: 1.0' . "\r\n"; + $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; + $headers .= 'From: reciepts@goodlifebikes.ca' . "\r\n"; + $headers .= 'Reply-to: info@goodlifebikes.ca' . "\r\n"; + + $message = "

Please retain or print this receipt for your records
$body "; + + // In case any of our lines are larger than 70 characters, we should use wordwrap() + $message = wordwrap($message, 70); + + // Send + mail($customer_email, "Your E-receipt from $cfg_company", $message, $headers); + + echo "

E-Reciept has been sent to <$customer_email>

"; + +*/ + + +} else { + $query="UPDATE customers SET first_name='$fname', last_name='$lname', phone_number='$phone1', email='$email', maillist1='$maillist1', maillist2='$maillist2', maillist3='$maillist3', street_address='$address', membertype='$membertype', studentID='$_POST[studentID]', drivers='$_POST[drivers]', cashdeposit='$_POST[cashdeposit]', waiver='$waiver', comments='$notes', warnedonce='$warnedonce', warnedtwice='$warnedtwice', banned='$banned' WHERE id=$_GET[userID] "; + +// echo "QUERY : $query"; + + mysql_query($query) or die('Error, user not added. Consult Mark...'); + + echo "...User $fname $lname has been updated(if no errors appear above)

"; + + + + //$query = "FLUSH PRIVILEGES"; + //mysql_query($query) or die('Error, flush insert query failed'); + +// echo "Here is some technical jargon if you want to check what info was added...
$query"; + + +} + +if (!isset($_GET[userID]) || $_GET[userID] == ""){ + + echo "...register mailing list subscriptions"; + if($maillist1 == 1){$subscribeURL = "http://$cfg_mailmanLocation/mailman/admin/$cfg_mailmanListName1" . "_" . "$cfg_mailmanLocation/members/add?subscribees=$email&adminpw=$cfg_mailmanPass&send_welcome_msg_to_this_batch=0&send_notifications_to_list_owner=0"; + echo ""; + } +if($maillist2 == 1){$subscribeURL = "http://$cfg_mailmanLocation/mailman/admin/$cfg_mailmanListName2" . "_" . "$cfg_mailmanLocation/members/add?subscribees=$email&adminpw=$cfg_mailmanPass&send_welcome_msg_to_this_batch=0&send_notifications_to_list_owner=0"; + echo ""; + } +if($maillist3 == 1){$subscribeURL = "http://$cfg_mailmanLocation/mailman/admin/$cfg_mailmanListName3" . "_" . "$cfg_mailmanLocation/members/add?subscribees=$email&adminpw=$cfg_mailmanPass&send_welcome_msg_to_this_batch=0&send_notifications_to_list_owner=0"; + echo ""; + } + +} +echo "
...NOTE: If you are not connected to the internet, the user has NOT been added to the mailing lists."; +echo "

Finished

" +?> + Back to Member List... + diff --git a/membersin.php b/membersin.php new file mode 100755 index 0000000..1cf2bce --- /dev/null +++ b/membersin.php @@ -0,0 +1,108 @@ +

  Who's In The Shop?

+ + +"; +echo "\n"; + +$colorbit = 1; +while($row = mysql_fetch_array($userresult)){ + $userID = "$row[userID]"; + $inforesult = mysql_query("SELECT first_name,last_name FROM customers WHERE id=$userID ORDER BY last_name ASC"); + $visitID = $row[visitID]; + + while($info = mysql_fetch_array($inforesult)){ + $trcolour = "";//#DDDDDD"; + if($colorbit == 1){ + $trcolour = "#BBBBBB"; + $idhide = "#CCCCCC"; + $colorbit = 2; + }else{ + $trcolour = "#DDDDDD"; + $idhide = "#999999"; + $colorbit = 1; + } + $isAdmin = false; + $isMech = false; + $exstyle = ""; + if($row[activity] == "Mechanic"){ + //$trcolour = "#99FF99"; + $isMech = true; + $exstyle = "font-weight: bold;font-size: 10px;"; + }else if($row[activity] == "Administrator"){ + //$trcolour = "#66BBBB"; + $isAdmin = true; + $exstyle = "font-weight: bold;font-size: 10px;"; + } + //if($colorbit == 2){//trcolour != ""){ + //echo ""; + //} + + $result = mysql_query("SELECT id,first_name,last_name FROM customers ORDER BY last_name ASC"); + echo " + $info[last_name], $info[first_name]"; + if($isAdmin){ + echo " $cfg_administratorTitle"; + //echo "deposit/payout"; + //echo ""; + echo " + logoutConfirm', 'logout.php')\">Log off"; + }else if($isMech){ + echo " $cfg_mechanicTitle"; + //echo "internal sale"; + if($cfg_mechAutoSignin == "yes"){ + echo " +
+
+ Switch It Up
"; + }else{ + echo " + Sign Out + + + In/Out Retroactively + "; + } + }else{ + echo " $row[activity]"; + //echo " + echo " + Sign Out + + + In/Out Retroactively + "; + } + echo "\n"; + } +} + +echo ""; +?> + + diff --git a/menubar.php b/menubar.php new file mode 100755 index 0000000..311e1a6 --- /dev/null +++ b/menubar.php @@ -0,0 +1,267 @@ +idToField($tablename,'type',$_SESSION['session_user_id']); +$userLoginName= $dbf->idToField($tablename,'username',$_SESSION['session_user_id']); +//$isopen = $sec->isOpen(); + +$dbf->closeDBlink(); + + +// Display HTML-- +?> + + + + + + + +The Bike Tree + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
+ The Bike Tree
+ An open source mash up for Calgary's bike co-ops! +
+
+
+
+ +


    home ?>
+ +
+ +


 customers ?>
+ +
+ +


 items ?>
+ +
+ +


 reports ?>
+ +
+ +


 sales ?>
+ +
+ + + + +


 config ?>
+ +
+ + + + +


 home ?>
+ +
+ +


 Members
+ +
+ +


 Library
+ +
+ +


 Bikes
+ +
+ +


 sales ?>
+ +
+ + + + + + + + + + + + + +


 home ?>
+ + +
+ +


 reports ?>
+ + +
+ + +
+
+ + + + +
+

+

+
+
+
+ + diff --git a/openshop.php b/openshop.php new file mode 100755 index 0000000..b8bf79e --- /dev/null +++ b/openshop.php @@ -0,0 +1,34 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$body.="ok, so here we're going to have a forced opening page. To disable this for now, + comment out the if statement directly after 'if(!sec->isLoggedIn())...' in home .php"; +echo "$body"; + +?> + + + diff --git a/readme.txt b/readme.txt new file mode 100755 index 0000000..7785ba2 --- /dev/null +++ b/readme.txt @@ -0,0 +1,71 @@ + PHP Point Of Sale 9.1 +---------------------------------------------------------------- +Requirements: +---------------------------------------------------------------- +PHP 4.3 or greater recommended +My SQL +Any Windows, Mac, Or Unix Computer +Apache Web Server recommended +---------------------------------------------------------------- +Description: +---------------------------------------------------------------------------------------------- +PHP Point Of Sale is designed to help small business's with keeping track of customers, items, inventory, and generate reports based on sales. This +program works great for businesses that use cash, check, or account numbers for there sales. +---------------------------------------------------------------------------------------------- +What's New/Changed? +---------------------------------------------------------------------------------------------- +* 3 Date Range Reports added with "Find Customer" fields with expanded +capability +* Better searching capabilities for customers and items. +* Added NEW Button in menu bar (Takes user right to sale screen) +* Many minor bugs fixes + +*** PHP Point Of Sale is currently only being distributed with one language file. It is too hard +to maintain many languages without consistent translators. This will change as the product matures. + +Key Features: +-------------------------------------------------------------------------------------------------- +1. Very customizable with the ability to add keep track of each items brand,category, and supplier. Also have the ability to +search for customers and items. +2. One click ordering for a very easy to use Point of Sale application. +3. Simple layout, and can generate custom reports to view orders with ease! +4. Ability to change orders, delete and update customers, and automatically keep track of inventory. +5. Easy install process. +---------------------------------------------------------------------------------------------------- +How to Upgrade +---------------------------------------------------------------------------------------------------- +1. Unzip the Program and place all the files except settings.php in the folder where you previously installed PHP Point Of Sale. +2. In a browser go to: http://Yourwebserver.com/Path To Point Of Sale/upgrade/index.php +3. Verify you have version 7.0 or later installed. +4. Click submit. + +---------------------------------------------------------------------------------------------------- +How to install: +------------------------------------------------------------------------------------------ +1. Unzip the Program and place the folder onto a web-server with PHP and MYSQL. +2. In a browser go to: http://Yourwebserver.com/Path To Point Of Sale/install/index.php YOUR DEFAULT USERNAME IS : admin YOUR DEFAULT PASSWORD IS:pointofsale +3. Fill out the information and click install +4. The tables will be created in your selected database. +5. You will be redirected to login (admin/pointofsale) +6. Add customers, brands, categories, suppliers, and items and you are ready to start selling! +*** Make sure the database you choose is already created! +** Make sure you add brands, categories, and suppliers first then add items. +* Make sure the settings.php file is writable + +------------------------------------------------------------------------------------------ +Contact Me: +------------------------------------------------------------------------------------------ +Feel free to contact me at blasto333@users.sourceforge.net if you have any questions concerning development, support, +or requested features! +------------------------------------------------------------------------------------------ +About Me: +------------------------------------------------------------------------------------------ +My name is Chris Muench. I am an 18 year old student at the Rochester Institute of Technology. I enjoy programming and this is my first major program. It turned out pretty good. +------------------------------------------------------------------------------------------ +Other / Miscellaneous +------------------------------------------------------------------------------------------ +If you would like to improve this program or make a manual feel free, +please contact me if you contribute in any way! +blasto333@users.sourceforge.net +------------------------------------------------------------------------------------------ + diff --git a/repairsneeded.php b/repairsneeded.php new file mode 100755 index 0000000..2513a23 --- /dev/null +++ b/repairsneeded.php @@ -0,0 +1,67 @@ +

  Repairs Needed

+conn); + echo mysql_error(); +while($repairarray = mysql_fetch_array($listquery)){ + $queryuser = "SELECT first_name, last_name FROM customers WHERE id='$repairarray[userID]'"; + $userresult = mysql_query("$queryuser",$dbf->conn); + while($userarray = mysql_fetch_array($userresult)){ + $yearmonth = date('Y-m-'); + $day = date('d') + 3; + if ($day < 10){ $day = "0" . "$day"; } + $threeday = "$yearmonth$day"; + + if($repairarray[duedate] <= $threeday){ + $duestyle = "width: 180px; background: url('images/uhohbg.gif'); text-align: center; height: 27px; border: 1px solid #000000"; + $emstyle = "background: #FFFFFF; padding: 2px; border-bottom: 2px solid #000000"; + } else { $duestyle = "background: #cccccc; text-align: center;"; + $emstyle = ""; + } + //One LAST thing.... if the bike is a library bike, make that the name... + if($repairarray[bikestatus] == "library"){ $userarray[firstname] = "The "; $userarray[lastname] = "Lbirary" ; } + echo " +
+ Due on $repairarray[humandate] +
+ For: $userarray[first_name] $userarray[last_name] + A $repairarray[bikecolor] $repairarray[bikebrand] $repairarray[bikemodel] (Tag Number $repairarray[id])
+ [Info +/-]"; +echo "
$repairarray[notes]"; +echo "[Bike Pickup]"; +echo "
"; + + +echo "

"; + } + + if($repairarray[bikestatus] == "library" && $repairarray[inrepair] != 0){ + $duestyle = "background: #cccccc; text-align: center;"; + $emstyle = ""; + + //One LAST thing.... if the bike is a library bike, make that the name... + + $librarybikes .= " +
+ No Rush... +
+ For: The Library + A $repairarray[bikecolor] $repairarray[bikebrand] $repairarray[bikemodel] (Tag Number $repairarray[id])
+ [Info +/-]"; +$librarybikes .= "
$repairarray[notes]
"; + + +$librarybikes .= "

"; + } + + + } + +echo "$librarybikes"; + + +?> + + diff --git a/repairsneeded2.php b/repairsneeded2.php new file mode 100755 index 0000000..4b91332 --- /dev/null +++ b/repairsneeded2.php @@ -0,0 +1,32 @@ +

Repairs Needed

+conn); + echo mysql_error(); +while($repairarray = mysql_fetch_array($listquery)){ + $queryuser = "SELECT first_name, last_name FROM customers WHERE id='$repairarray[userID]'"; + $userresult = mysql_query("$queryuser",$dbf->conn); + while($userarray = mysql_fetch_array($userresult)){ + $yearmonth = date('Y-m-'); + $day = date('d') + 3; + $threeday = "$yearmonth$day"; + if($repairarray[duedate] <= $threeday){ echo "HOLYF FUCKN SHIT"; } + echo " +
+ Due on $repairarray[humandate] +
+ ++ For: $userarray[first_name] $userarray[last_name] + + A $repairarray[bikecolor] $repairarray[bikebrand] $repairarray[bikemodel], (number $repairarray[bikeID]) needs repairs!
+

"; + } + } + + + + +?> + + diff --git a/repairsneeded3.php b/repairsneeded3.php new file mode 100755 index 0000000..4b91332 --- /dev/null +++ b/repairsneeded3.php @@ -0,0 +1,32 @@ +

Repairs Needed

+conn); + echo mysql_error(); +while($repairarray = mysql_fetch_array($listquery)){ + $queryuser = "SELECT first_name, last_name FROM customers WHERE id='$repairarray[userID]'"; + $userresult = mysql_query("$queryuser",$dbf->conn); + while($userarray = mysql_fetch_array($userresult)){ + $yearmonth = date('Y-m-'); + $day = date('d') + 3; + $threeday = "$yearmonth$day"; + if($repairarray[duedate] <= $threeday){ echo "HOLYF FUCKN SHIT"; } + echo " +
+ Due on $repairarray[humandate] +
+ ++ For: $userarray[first_name] $userarray[last_name] + + A $repairarray[bikecolor] $repairarray[bikebrand] $repairarray[bikemodel], (number $repairarray[bikeID]) needs repairs!
+

"; + } + } + + + + +?> + + diff --git a/reports/all_brands.php b/reports/all_brands.php new file mode 100755 index 0000000..2b4bf2d --- /dev/null +++ b/reports/all_brands.php @@ -0,0 +1,117 @@ + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; + + $brands_name=array(); + $brands_id=array(); + $brands_total=array(); + $brands_subtotal=array(); +} + +$brands_table=$cfg_tableprefix.'brands'; +$sales_table=$cfg_tableprefix.'sales'; +$sales_items_table=$cfg_tableprefix.'sales_items'; + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allBrandsReport"); + +$tableheaders=array("$lang->brand","$lang->totalWithOutTax","$lang->totalWithTax","$lang->tax"); + + +$result=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id DESC",$dbf->conn); +$result2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id ASC",$dbf->conn); +$row=mysql_fetch_assoc($result); +$high_id=$row['id']; +$row=mysql_fetch_assoc($result2); +$low_id=$row['id']; + +$result3=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id BETWEEN \"$low_id\" and \"$high_id\" ORDER BY id DESC",$dbf->conn); +echo "

$lang->totalsForBrands
$lang->between $date1 $lang->and $date2

"; +echo '
'; + echo "border_style $display->border_color $display->border_width px\" align='center'> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + $rowCounter=0; + $subtotal=0; + $total=0; + + $brand_result=mysql_query("SELECT * FROM $brands_table order by brand"); + while($row=mysql_fetch_assoc($brand_result)) + { + $brands_id[]=$row['id']; + $brands_name[]=$row['brand']; + $brands_total[$row['id']]=0; + $brands_subtotal[$row['id']]=0; + + } + + while($row=mysql_fetch_assoc($result3)) + { + $brand_of_item=$dbf->idToField($cfg_tableprefix.'items','brand_id',$row['item_id']); + $brands_subtotal[$brand_of_item]+=$row['item_total_cost']-$row['item_total_tax']; + $brands_total[$brand_of_item]+=$row['item_total_cost']; + + } + + for($k=0;$krowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + $id=$brands_id[$k]; + $name=$brands_name[$k]; + $subtotal=number_format($brands_subtotal[$id],2,'.', ''); + $total=number_format($brands_total[$id],2,'.', ''); + $tax=number_format($total-$subtotal,2,'.', ''); + + echo "\n\n"; + echo "\n\n"; + echo "\n\n"; + echo "\n\n"; + + $rowCounter++; + + } + + echo '
\n$tableheaders[$k]\n
\n$name\n\n\$$subtotal\n\n\$$total\n\n\$$tax\n
'; + +?> + + \ No newline at end of file diff --git a/reports/all_categories.php b/reports/all_categories.php new file mode 100755 index 0000000..aa98d0a --- /dev/null +++ b/reports/all_categories.php @@ -0,0 +1,118 @@ + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; + + $categories_name=array(); + $categories_id=array(); + $categories_total=array(); + $categories_subtotal=array(); +} + +$categories_table=$cfg_tableprefix.'categories'; +$sales_table=$cfg_tableprefix.'sales'; +$sales_items_table=$cfg_tableprefix.'sales_items'; + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allCategoriesReport"); + +$tableheaders=array("$lang->category","$lang->totalWithOutTax","$lang->totalWithTax","$lang->tax"); + + +$result=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id DESC",$dbf->conn); +$result2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id ASC",$dbf->conn); +$row=mysql_fetch_assoc($result); +$high_id=$row['id']; +$row=mysql_fetch_assoc($result2); +$low_id=$row['id']; + +$result3=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id BETWEEN \"$low_id\" and \"$high_id\" ORDER BY id DESC",$dbf->conn); +echo "

$lang->totalsForCategories
$lang->between $date1 $lang->and $date2

"; +echo '
'; + echo "border_style $display->border_color $display->border_width px\" align='center'> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + $rowCounter=0; + $subtotal=0; + $total=0; + + $category_result=mysql_query("SELECT * FROM $categories_table order by category"); + while($row=mysql_fetch_assoc($category_result)) + { + $categories_id[]=$row['id']; + $categories_name[]=$row['category']; + $categories_total[$row['id']]=0; + $categories_subtotal[$row['id']]=0; + + } + + while($row=mysql_fetch_assoc($result3)) + { + $category_of_item=$dbf->idToField($cfg_tableprefix.'items','category_id',$row['item_id']); + $categories_subtotal[$category_of_item]+=$row['item_total_cost']-$row['item_total_tax']; + $categories_total[$category_of_item]+=$row['item_total_cost']; + + } + + for($k=0;$krowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + + $id=$categories_id[$k]; + $name=$categories_name[$k]; + $subtotal=number_format($categories_subtotal[$id],2,'.', ''); + $total=number_format($categories_total[$id],2,'.', ''); + $tax=number_format($total-$subtotal,2,'.', ''); + + echo "\n\n"; + echo "\n\n"; + echo "\n\n"; + echo "\n\n"; + + $rowCounter++; + + } + + echo '
\n$tableheaders[$k]\n
\n$name\n\n\$$subtotal\n\n\$$total\n\n\$$tax\n
'; + +?> + + \ No newline at end of file diff --git a/reports/all_customers.php b/reports/all_customers.php new file mode 100755 index 0000000..fe07577 --- /dev/null +++ b/reports/all_customers.php @@ -0,0 +1,49 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allCustomersReport"); +$tableheaders=array("$lang->customer","$lang->itemsPurchased","$lang->moneySpentBeforeTax","$lang->moneySpentAfterTax"); +$display->displayTotalsReport($cfg_tableprefix,'customers',$tableheaders,$date1,$date2,'','') +?> + + + + + \ No newline at end of file diff --git a/reports/all_employees.php b/reports/all_employees.php new file mode 100755 index 0000000..defde82 --- /dev/null +++ b/reports/all_employees.php @@ -0,0 +1,49 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allEmployeesReport"); +$tableheaders=array("$lang->employee $lang->name","$lang->totalItemsSold","$lang->moneySoldBeforeTax","$lang->moneySoldAfterTax"); +$display->displayTotalsReport($cfg_tableprefix,'employees',$tableheaders,$date1,$date2,'','') +?> + + + + + \ No newline at end of file diff --git a/reports/all_items.php b/reports/all_items.php new file mode 100755 index 0000000..124200f --- /dev/null +++ b/reports/all_items.php @@ -0,0 +1,49 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allItemsReport"); +$tableheaders=array("$lang->itemName","$lang->brand","$lang->category","$lang->supplier","$lang->numberPurchased","$lang->subTotalForItem","$lang->totalForItem"); +$display->displayTotalsReport($cfg_tableprefix,'items',$tableheaders,$date1,$date2,'','') +?> + + + + + \ No newline at end of file diff --git a/reports/all_items_date_range.php b/reports/all_items_date_range.php new file mode 100755 index 0000000..e5c9cef --- /dev/null +++ b/reports/all_items_date_range.php @@ -0,0 +1,59 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->allItemsReport"); + +if(isset($_POST['month1'])) +{ + $month1=$_POST['month1']; + $day1=$_POST['day1']; + $year1=$_POST['year1']; + $month2=$_POST['month2']; + $day2=$_POST['day2']; + $year2=$_POST['year2']; + + $date1=date("$year1-$month1-$day1"); + $date2=date("$year2-$month2-$day2"); + + +} + + +$tableheaders=array("$lang->itemName","$lang->brand","$lang->category","$lang->supplier","$lang->numberPurchased","$lang->subTotalForItem","$lang->totalForItem"); +$display->displayTotalsReport($cfg_tableprefix,'items',$tableheaders,$date1,$date2,'','') +?> + + + + + diff --git a/reports/brand.php b/reports/brand.php new file mode 100755 index 0000000..bc0be90 --- /dev/null +++ b/reports/brand.php @@ -0,0 +1,124 @@ + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['selected_brand'])) +{ + $selected_brand=$_POST['selected_brand']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$sales_table=$cfg_tableprefix.'sales'; +$sales_items_table=$cfg_tableprefix.'sales_items'; + +$display_name=$dbf->idToField($cfg_tableprefix.'brands','brand',$selected_brand); +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->brandReport"); + +$tableheaders=array("$lang->saleID","$lang->itemName","$lang->unitPrice","$lang->quantityPurchased","$lang->tax","$lang->itemTotalCost"); +$tablefields=array('sale_id','item_id','item_unit_price','quantity_purchased','item_total_tax','item_total_cost'); + +$result=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id DESC",$dbf->conn); +$result2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id ASC",$dbf->conn); +$row=mysql_fetch_assoc($result); +$high_id=$row['id']; +$row=mysql_fetch_assoc($result2); +$low_id=$row['id']; + +$result3=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id BETWEEN \"$low_id\" and \"$high_id\" ORDER BY id DESC",$dbf->conn); +echo "

$lang->listOfSalesFor $display_name
$lang->between $date1 $lang->and $date2

"; +echo '
'; + if(@mysql_num_rows($result) ==0) + { + echo "
$lang->noDataInTable $sales_table $lang->table.
"; + exit(); + } + echo "border_style $display->border_color $display->border_width px\" align='center'> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + $rowCounter=0; + $subtotal=0; + $total=0; + + while($row=mysql_fetch_assoc($result3)) + { + $brand_of_item=$dbf->idToField($cfg_tableprefix.'items','brand_id',$row['item_id']); + if($selected_brand==$brand_of_item) + { + if($rowCounter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter++; + for($k=0;$kidToField("$cfg_tableprefix".'items',"$field",$row['item_id']); + $data=$display->formatData($field,$field_data,$cfg_tableprefix); + } + else + { + $data=$display->formatData($field,$row[$field],$cfg_tableprefix); + + } + + + echo "\n\n"; + } + + @$subtotal+=$row['item_total_cost']-$row['item_total_tax']; + @$total+=$row['item_total_cost']; + + } + } + echo '
\n$tableheaders[$k]\n
\n$data\n
'."\n"; + + $subtotal=number_format($subtotal,2,'.', ''); + $total=number_format($total,2,'.', ''); + $tax=$total-$subtotal; + $tax=number_format($tax,2,'.', ''); + + echo "
"; + echo " + +
$lang->totalWithOutTax: $display->currency_symbol$subtotal
$lang->totalWithTax: $display->currency_symbol$total
$lang->tax: $display->currency_symbol$tax
"; +?> + + + + + \ No newline at end of file diff --git a/reports/category.php b/reports/category.php new file mode 100755 index 0000000..c3a3f4e --- /dev/null +++ b/reports/category.php @@ -0,0 +1,122 @@ + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['selected_category'])) +{ + $selected_category=$_POST['selected_category']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$sales_table=$cfg_tableprefix.'sales'; +$sales_items_table=$cfg_tableprefix.'sales_items'; + +$display_name=$dbf->idToField($cfg_tableprefix.'categories','category',$selected_category); +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->categoryReport"); + +$tableheaders=array("$lang->saleID","$lang->itemName","$lang->unitPrice","$lang->quantityPurchased","$lang->tax","$lang->itemTotalCost"); +$tablefields=array('sale_id','item_id','item_unit_price','quantity_purchased','item_total_tax','item_total_cost'); + +$result=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id DESC",$dbf->conn); +$result2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id ASC",$dbf->conn); +$row=mysql_fetch_assoc($result); +$high_id=$row['id']; +$row=mysql_fetch_assoc($result2); +$low_id=$row['id']; + +$result3=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id BETWEEN \"$low_id\" and \"$high_id\" ORDER BY id DESC",$dbf->conn); +echo "

$lang->listOfSalesFor $display_name
$lang->between $date1 $lang->and $date2

"; +echo '
'; + if(@mysql_num_rows($result) ==0) + { + echo "
$lang->noDataInTable $sales_table $lang->table.
"; + exit(); + } + echo "border_style $display->border_color $display->border_width px\" align='center'> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + $rowCounter=0; + $subtotal=0; + $total=0; + + while($row=mysql_fetch_assoc($result3)) + { + $category_of_item=$dbf->idToField($cfg_tableprefix.'items','category_id',$row['item_id']); + if($selected_category==$category_of_item) + { + if($rowCounter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter++; + for($k=0;$kidToField("$cfg_tableprefix".'items',"$field",$row['item_id']); + $data=$display->formatData($field,$field_data,$cfg_tableprefix); + } + else + { + $data=$display->formatData($field,$row[$field],$cfg_tableprefix); + + } + + + echo "\n\n"; + } + + @$subtotal+=$row['item_total_cost']-$row['item_total_tax']; + @$total+=$row['item_total_cost']; + + + } + } + $subtotal=number_format($subtotal,2,'.', ''); + $total=number_format($total,2,'.', ''); + $tax=$total-$subtotal; + $tax=number_format($tax,2,'.', ''); + + echo "
\n$tableheaders[$k]\n
\n$data\n
"; + echo " + +
$lang->totalWithOutTax: $display->currency_symbol$subtotal
$lang->totalWithTax: $display->currency_symbol$total
$lang->tax: $display->currency_symbol$tax
";?> + + + + + \ No newline at end of file diff --git a/reports/customer.php b/reports/customer.php new file mode 100755 index 0000000..cad8fad --- /dev/null +++ b/reports/customer.php @@ -0,0 +1,58 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['selected_customer'])) +{ + $selected_customer=$_POST['selected_customer']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$first_name=$dbf->idToField($cfg_tableprefix.'customers','first_name',$selected_customer); +$last_name=$dbf->idToField($cfg_tableprefix.'customers','last_name',$selected_customer); +$display_name=$first_name.' '.$last_name; + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->customerReport"); +$tableheaders=array("$lang->rowID","$lang->date","$lang->itemsPurchased","$lang->paidWith","$lang->soldBy","$lang->saleSubTotal","$lang->saleTotalCost","$lang->showSaleDetails"); +$tablefields=array('id','date','items_purchased','paid_with','sold_by','sale_sub_total','sale_total_cost','sale_details'); +$display->displayReportTable("$cfg_tableprefix",'sales',$tableheaders,$tablefields,'customer_id',"$selected_customer","$date1","$date2",'date',"$lang->listOfSalesFor $display_name
$lang->between $date1 $lang->and $date2"); + +?> + + + + + \ No newline at end of file diff --git a/reports/customer_date_range.php b/reports/customer_date_range.php new file mode 100755 index 0000000..2babc59 --- /dev/null +++ b/reports/customer_date_range.php @@ -0,0 +1,67 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['selected_customer'])) +{ + $selected_customer=$_POST['selected_customer']; + $date_range=$_POST['month1']; + $dates=explode(':',$date_range); + + $month1=$_POST['month1']; + $day1=$_POST['day1']; + $year1=$_POST['year1']; + $month2=$_POST['month2']; + $day2=$_POST['day2']; + $year2=$_POST['year2']; + + $date1=date("$year1-$month1-$day1"); + $date2=date("$year2-$month2-$day2"); + +} + +$first_name=$dbf->idToField($cfg_tableprefix.'customers','first_name',$selected_customer); +$last_name=$dbf->idToField($cfg_tableprefix.'customers','last_name',$selected_customer); +$display_name=$first_name.' '.$last_name; + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->customerReportDateRange"); +$tableheaders=array("$lang->rowID","$lang->date","$lang->itemsPurchased","$lang->paidWith","$lang->soldBy","$lang->saleSubTotal","$lang->saleTotalCost","$lang->showSaleDetails"); +$tablefields=array('id','date','items_purchased','paid_with','sold_by','sale_sub_total','sale_total_cost','sale_details'); +$display->displayReportTable("$cfg_tableprefix",'sales',$tableheaders,$tablefields,'customer_id',"$selected_customer","$date1","$date2",'date',"$lang->listOfSalesFor $display_name
$lang->between $date1 $lang->and $date2"); + +?> + + + + + diff --git a/reports/daily.php b/reports/daily.php new file mode 100755 index 0000000..fa98d3e --- /dev/null +++ b/reports/daily.php @@ -0,0 +1,46 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->dailyReport"); +$today=date("F j, Y"); +$todaysDate=date("Y-m-d"); +$tableheaders=array("$lang->rowID","$lang->date","$lang->customer","$lang->itemsPurchased","$lang->paidWith","$lang->soldBy","$lang->saleSubTotal","$lang->saleTotalCost","$lang->saleDetails"); +$tablefields=array('id','date','customer_id','items_purchased','paid_with','sold_by','sale_sub_total','sale_total_cost','sale_details'); +$display->displayReportTable("$cfg_tableprefix",'sales',$tableheaders,$tablefields,'date',"$todaysDate",'','','id',"$lang->listOfSalesFor $today"); + +?> + + + + + \ No newline at end of file diff --git a/reports/date_range.php b/reports/date_range.php new file mode 100755 index 0000000..884b369 --- /dev/null +++ b/reports/date_range.php @@ -0,0 +1,59 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->dateRangeReport"); + +if(isset($_POST['month1'])) +{ + $month1=$_POST['month1']; + $day1=$_POST['day1']; + $year1=$_POST['year1']; + $month2=$_POST['month2']; + $day2=$_POST['day2']; + $year2=$_POST['year2']; + + $date1=date("$year1-$month1-$day1"); + $date2=date("$year2-$month2-$day2"); + +} + +$tableheaders=array("$lang->rowID","$lang->date","$lang->customer","$lang->itemsPurchased","$lang->paidWith","$lang->soldBy","$lang->saleSubTotal","$lang->saleTotalCost","$lang->showSaleDetails"); +$tablefields=array('id','date','customer_id','items_purchased','paid_with','sold_by','sale_sub_total','sale_total_cost','sale_details'); +$display->displayReportTable("$cfg_tableprefix",'sales',$tableheaders,$tablefields,'','',"$date1","$date2",'id',"$lang->listOfSalesBetween $date1 $lang->and $date2"); + +?> + + + + + \ No newline at end of file diff --git a/reports/employee.php b/reports/employee.php new file mode 100755 index 0000000..fb00626 --- /dev/null +++ b/reports/employee.php @@ -0,0 +1,58 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['selected_employee'])) +{ + $selected_employee=$_POST['selected_employee']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$first_name=$dbf->idToField($cfg_tableprefix.'users','first_name',$selected_employee); +$last_name=$dbf->idToField($cfg_tableprefix.'users','last_name',$selected_employee); +$display_name=$first_name.' '.$last_name; + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->employeeReport"); +$tableheaders=array("$lang->rowID","$lang->date","$lang->customer","$lang->itemsPurchased","$lang->paidWith","$lang->saleSubTotal","$lang->saleTotalCost","$lang->showSaleDetails"); +$tablefields=array('id','date','customer_id','items_purchased','paid_with','sale_sub_total','sale_total_cost','sale_details'); +$display->displayReportTable("$cfg_tableprefix",'sales',$tableheaders,$tablefields,'sold_by',"$selected_employee","$date1","$date2",'date',"$lang->listOfSaleBy $display_name
$lang->between $date1 and $date2"); + +?> + + + + + \ No newline at end of file diff --git a/reports/form.php b/reports/form.php new file mode 100755 index 0000000..9ab883c --- /dev/null +++ b/reports/form.php @@ -0,0 +1,444 @@ + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. + +$day=date("d"); +$month=date("m"); +$year=date("Y"); +$today=date("Y-m-d").":".date("Y-m-d"); +$yesterday=date("Y-m-d",mktime(0,0,0,$month,$day-1,$year)).":".date("Y-m-d",mktime(0,0,0,$month,$day-1,$year)); +$week=date("Y-m-d",mktime(0,0,0,$month,$day-6,$year)).":".date("Y-m-d",mktime(0,0,0,$month,$day,$year)); +$thismonth=date("Y-m-d",mktime(0,0,0,$month,1,$year)).":".date("Y-m-d",mktime(0,0,0,$month,$day,$year)); +$lastmonth=date("Y-m-d",mktime(0,0,0,$month-1,1,$year)).":".date("Y-m-d",mktime(0,0,0,$month-1,date("t",mktime(0,0,0,$month-1,1,$year)),$year)); +$thisyear=date("Y-m-d",mktime(0,0,0,1,1,$year)).":".date("Y-m-d",mktime(0,0,0,$month,$day,$year)); +$alltime=date("Y-m-d",mktime(0,0,0,1,1,0000)).":".date("Y-m-d",mktime(0,0,0,$month,$day,$today)); + +//decides if the form will be used to update or add a user. +if(isset($_GET['report'])) +{ + $form=$_GET['report']; +} +$display->displayTitle("$lang->inputNeeded $form"); + +//if action is update, sets variables to what the current users data is. + +if($form=="$lang->allCustomersReport") +{ + $f1=new form('all_customers.php','POST','customers','215',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'95'); + $f1->endForm(); + +} +elseif($form=="$lang->allItemsReport") +{ + $f1=new form('all_items.php','POST','items','215',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'95'); + $f1->endForm(); +} +elseif($form=="$lang->allItemsReportDateRange") +{ + $f1=new form('all_items_date_range.php','POST','items','500',$cfg_theme,$lang); + $f1->createDateSelectField(); + $f1->endForm(); +} +elseif($form=="$lang->allBrandsReport") +{ + $f1=new form('all_brands.php','POST','brands','215',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'95'); + $f1->endForm(); + +} +elseif($form=="$lang->allCategoriesReport") +{ + $f1=new form('all_categories.php','POST','categories','215',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'95'); + $f1->endForm(); + +} +elseif($form=="$lang->allEmployeesReport") +{ + $f1=new form('all_employees.php','POST','employees','215',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'95'); + $f1->endForm(); +} +elseif($form=="$lang->brandReport") +{ + $option_values=array(); + $option_titles=array(); + $brands_table=$cfg_tableprefix.'brands'; + $brand_result=mysql_query("SELECT * FROM $brands_table ORDER by brand",$dbf->conn); + + if(isset($_GET['brand_search'])) + { + $search=$_GET['brand_search']; + $brand_result=mysql_query("SELECT * FROM $brands_table WHERE brand like \"%$search%\" ORDER by brand",$dbf->conn); + + } + + if(mysql_num_rows($brand_result)>0) + { + while($row=mysql_fetch_assoc($brand_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['brand']; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findBrand: + brandReport value='Go'> + +
"; + $f1=new form('brand.php','POST','brand','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectBrand",'selected_brand',$option_values,$option_titles,'150'); + $f1->endForm(); +} +elseif($form=="$lang->categoryReport") +{ + $option_values=array(); + $option_titles=array(); + $categories_table=$cfg_tableprefix.'categories'; + $category_result=mysql_query("SELECT * FROM $categories_table ORDER by category",$dbf->conn); + + if(isset($_GET['category_search'])) + { + $search=$_GET['category_search']; + $category_result=mysql_query("SELECT * FROM $categories_table WHERE category like \"%$search%\" ORDER by category",$dbf->conn); + + } + + if(mysql_num_rows($category_result)>0) + { + while($row=mysql_fetch_assoc($category_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['category']; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findCategory: + categoryReport value='Go'> + +
"; + $f1=new form('category.php','POST','category','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectCategory",'selected_category',$option_values,$option_titles,'150'); + $f1->endForm(); +} +elseif($form=="$lang->taxReport") +{ + $option_values=array(); + $option_titles=array(); + $sales_items_table=$cfg_tableprefix.'sales_items'; + $tax_result=mysql_query("SELECT DISTINCT item_tax_percent FROM $sales_items_table ORDER by item_tax_percent DESC",$dbf->conn); + + + if(mysql_num_rows($tax_result)>0) + { + while($row=mysql_fetch_assoc($tax_result)) + { + $option_values[]=$row['item_tax_percent']; + $option_titles[]=$row['item_tax_percent'].'%'; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
"; + $f1=new form('tax.php','POST','tax','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectTax %",'selected_tax',$option_values,$option_titles,'150'); + $f1->endForm(); +} +elseif($form=="$lang->customerReport") +{ + + $option_values=array(); + $option_titles=array(); + $customers_table=$cfg_tableprefix.'customers'; + $customer_result=mysql_query("SELECT first_name,last_name,id FROM $customers_table ORDER by last_name",$dbf->conn); + + if(isset($_GET['customer_search'])) + { + $search=$_GET['customer_search']; + $customer_result=mysql_query("SELECT first_name,last_name,id FROM $customers_table WHERE last_name like \"%$search%\" or first_name like \"%$search%\" ORDER by last_name",$dbf->conn); + + } + + if(mysql_num_rows($customer_result)>0) + { + while($row=mysql_fetch_assoc($customer_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['last_name'].', '.$row['first_name']; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findCustomer: + customerReport value='Go'> + +
"; + $f1=new form('customer.php','POST','customer','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectCustomer",'selected_customer',$option_values,$option_titles,'150'); + $f1->endForm(); + +} +elseif($form=="$lang->customerReportDateRange") +{ + + $option_values=array(); + $option_titles=array(); + $customers_table=$cfg_tableprefix.'customers'; + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table ORDER by last_name",$dbf->conn); + + if(isset($_GET['customer_search'])) + { + + $search=$_GET['customer_search']; + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table WHERE last_name like \"%$search%\" or first_name like \"%$search%\" or account_number like \"%$search%\" ORDER by last_name",$dbf->conn); + + } + + if(mysql_num_rows($customer_result)>0) + { + while($row=mysql_fetch_assoc($customer_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['last_name'].', '.$row['first_name'].' ('.$row['account_number'].')'; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findCustomer: + customerReportDateRange value='Go'> + +
"; + + $f1=new form('customer_date_range.php','POST','customer','500',$cfg_theme,$lang); + $f1->createDateSelectField(); + $f1->formBreak('500',$cfg_theme); + $f1->createSelectField("$lang->selectCustomer",'selected_customer',$option_values,$option_titles,'130'); + $f1->endForm(); + +} +elseif($form=="$lang->itemReport") +{ + $option_values=array(); + $option_titles=array(); + $items_table=$cfg_tableprefix.'items'; + $item_result=mysql_query("SELECT item_name,id FROM $items_table ORDER by item_name",$dbf->conn); + + if(isset($_GET['item_search'])) + { + $search=$_GET['item_search']; + $item_result=mysql_query("SELECT item_name,id FROM $items_table WHERE item_name like \"%$search%\" ORDER by item_name",$dbf->conn); + + } + + if(mysql_num_rows($item_result)>0) + { + while($row=mysql_fetch_assoc($item_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['item_name']; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findItem: + itemReport value='Go'> + +
"; + $f1=new form('item.php','POST','item','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectItem",'selected_item',$option_values,$option_titles,'150'); + $f1->endForm(); + +} +elseif($form=="$lang->itemReportDateRange") +{ + $option_values=array(); + $option_titles=array(); + $items_table=$cfg_tableprefix.'items'; + $item_result=mysql_query("SELECT item_name,item_number,id FROM $items_table ORDER by item_name",$dbf->conn); + + if(isset($_GET['item_search'])) + { + $search=$_GET['item_search']; + $item_result=mysql_query("SELECT item_name,item_number,id FROM $items_table WHERE item_name like \"%$search%\" or item_number like \"%$search%\" ORDER by item_name",$dbf->conn); + + } + + if(mysql_num_rows($item_result)>0) + { + while($row=mysql_fetch_assoc($item_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['item_name'].' ['.$row['item_number'].']'; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + + } + echo "
+ $lang->findItem: + + +
"; + $f1=new form('item_date_range.php','POST','item','500',$cfg_theme,$lang); + $f1->createDateSelectField(); + $f1->formBreak('500',$cfg_theme); + $f1->createSelectField("$lang->selectItem",'selected_item',$option_values,$option_titles,'130'); + $f1->endForm(); + +} +elseif($form=="$lang->employeeReport") +{ + + $option_values=array(); + $option_titles=array(); + $employees_table=$cfg_tableprefix.'users'; + $employee_result=mysql_query("SELECT first_name,last_name,id FROM $employees_table ORDER by last_name",$dbf->conn); + + if(isset($_GET['employee_search'])) + { + $search=$_GET['employee_search']; + $employee_result=mysql_query("SELECT first_name,last_name,id FROM $employees_table WHERE last_name like \"%$search%\" or first_name like \"%$search%\" ORDER by last_name",$dbf->conn); + + } + + if(mysql_num_rows($employee_result)>0) + { + while($row=mysql_fetch_assoc($employee_result)) + { + $option_values[]=$row['id']; + $option_titles[]=$row['last_name'].', '.$row['first_name']; + } + } + else + { + $option_values[]=$search.$lang->notFound; + $option_titles[]='"'.$search.'"'.' '.$lang->notFound; + + } + echo "
+ $lang->findEmployee: + employeeReport value='Go'> + +
"; + $f1=new form('employee.php','POST','employee','450',$cfg_theme,$lang); + $option_values2=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles2=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values2,$option_titles2,'150'); + $f1->createSelectField("$lang->selectEmployee",'selected_employee',$option_values,$option_titles,'150'); + $f1->endForm(); + +} +elseif($form=="$lang->dateRangeReport") +{ + $f1=new form('date_range.php','POST','customer','500',$cfg_theme,$lang); + + $f1->createDateSelectField(); + $f1->endForm(); +} +elseif($form=="$lang->profitReport") +{ + $option_values=array("$today","$yesterday","$week","$thismonth","$lastmonth","$thisyear","$alltime"); + $option_titles=array("$lang->today","$lang->yesterday","$lang->last7days","$lang->thisMonth","$lang->lastMonth","$lang->thisYear","$lang->allTime"); + + $f1=new form('profit.php','POST','profit','200',$cfg_theme,$lang); + $f1->createSelectField("$lang->dateRange",'date_range',$option_values,$option_titles,'200'); + $f1->endForm(); + + +} + $dbf->closeDBlink(); + + +?> + + + + + + diff --git a/reports/index.php b/reports/index.php new file mode 100755 index 0000000..eff714c --- /dev/null +++ b/reports/index.php @@ -0,0 +1,63 @@ +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +?> + + + + + + + + +
 $lang->reports
+
+ $lang->reportsWelcomeMessage + + + + +
+ +"; + +$dbf->closeDBlink(); + + +?> diff --git a/reports/item.php b/reports/item.php new file mode 100755 index 0000000..3a6345b --- /dev/null +++ b/reports/item.php @@ -0,0 +1,52 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['date_range']) and isset($_POST['selected_item'])) +{ + $selected_item=$_POST['selected_item']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->itemReport"); +$tableheaders=array("$lang->itemName","$lang->brand","$lang->category","$lang->supplier","$lang->numberPurchased","$lang->subTotalForItem","$lang->totalForItem"); +$display->displayTotalsReport($cfg_tableprefix,'item',$tableheaders,$date1,$date2,'id',"$selected_item"); +?> + + + + + \ No newline at end of file diff --git a/reports/item_date_range.php b/reports/item_date_range.php new file mode 100755 index 0000000..2d09039 --- /dev/null +++ b/reports/item_date_range.php @@ -0,0 +1,60 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['month1']) and isset($_POST['selected_item'])) +{ + $selected_item=$_POST['selected_item']; + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + + $month1=$_POST['month1']; + $day1=$_POST['day1']; + $year1=$_POST['year1']; + $month2=$_POST['month2']; + $day2=$_POST['day2']; + $year2=$_POST['year2']; + + $date1=date("$year1-$month1-$day1"); + $date2=date("$year2-$month2-$day2"); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->itemReport"); +$tableheaders=array("$lang->itemName","$lang->brand","$lang->category","$lang->supplier","$lang->numberPurchased","$lang->subTotalForItem","$lang->totalForItem"); +$display->displayTotalsReport($cfg_tableprefix,'item',$tableheaders,$date1,$date2,'id',"$selected_item"); +?> + + + + + \ No newline at end of file diff --git a/reports/profit.php b/reports/profit.php new file mode 100755 index 0000000..21205b8 --- /dev/null +++ b/reports/profit.php @@ -0,0 +1,51 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->profitReport"); +$tableheaders=array("$lang->date","$lang->totalAmountSoldWithOutTax","$lang->profit"); +$display->displayTotalsReport($cfg_tableprefix,'profit',$tableheaders,$date1,$date2,'id',''); +?> + + + + + \ No newline at end of file diff --git a/reports/show_details.php b/reports/show_details.php new file mode 100755 index 0000000..177c51e --- /dev/null +++ b/reports/show_details.php @@ -0,0 +1,46 @@ + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_GET['sale_id'])) +{ + $sale_id=$_GET['sale_id']; + $customer_id=$_GET['sale_customer_id']; + $sale_date=$_GET['sale_date']; + + $temp_first_name=$dbf->idToField("$cfg_tableprefix".'customers','first_name',$customer_id); + $temp_last_name=$dbf->idToField("$cfg_tableprefix".'customers','last_name',$customer_id); + $sale_customer_name=$temp_first_name.' '.$temp_last_name; + +} +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->saleDetails"); +$tableheaders=array("$lang->rowID","$lang->itemName","$lang->brand","$lang->category","$lang->supplier","$lang->quantityPurchased","$lang->unitPrice","$lang->totalItemCost"); +$tablefields=array('id','item_id','brand_id','category_id','supplier_id','quantity_purchased','item_unit_price','item_total_cost'); +$display->displayReportTable("$cfg_tableprefix",'sales_items',$tableheaders,$tablefields,'sale_id',"$sale_id",'','','id',"$sale_customer_name
$sale_date

Items in sale
"); + +?> + + + + + \ No newline at end of file diff --git a/reports/tax.php b/reports/tax.php new file mode 100755 index 0000000..47a0730 --- /dev/null +++ b/reports/tax.php @@ -0,0 +1,125 @@ + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['date_range'])) +{ + $date_range=$_POST['date_range']; + $dates=explode(':',$date_range); + $date1=$dates[0]; + $date2=$dates[1]; + $tax_percent=$_POST['selected_tax']; +} + +$sales_table=$cfg_tableprefix.'sales'; +$sales_items_table=$cfg_tableprefix.'sales_items'; + +$display_name=$tax_percent.'%'; +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$cfg_company $lang->taxReport"); + +$tableheaders=array("$lang->saleID","$lang->itemName","$lang->tax","$lang->saleTotalCost"); +$tablefields=array('sale_id','item_id','item_total_tax','item_total_cost'); + +$result=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id DESC",$dbf->conn); +$result2=mysql_query("SELECT * FROM $sales_table WHERE date between \"$date1\" and \"$date2\" ORDER BY id ASC",$dbf->conn); +$row=mysql_fetch_assoc($result); +$high_id=$row['id']; +$row=mysql_fetch_assoc($result2); +$low_id=$row['id']; + +$result3=mysql_query("SELECT * FROM $sales_items_table WHERE sale_id BETWEEN \"$low_id\" and \"$high_id\" ORDER BY id DESC",$dbf->conn); +echo "

$lang->listOfSalesFor $display_name
$lang->between $date1 $lang->and $date2

"; +echo '
'; + if(@mysql_num_rows($result) ==0) + { + echo "
$lang->noDataInTable $sales_table $lang->table.
"; + exit(); + } + echo "border_style $display->border_color $display->border_width px\" align='center'> + + header_rowcolor>\n\n"; + for($k=0;$k< count($tableheaders);$k++) + { + echo "\n"; + } + echo ''."\n\n"; + $rowCounter=0; + $subtotal=0; + $total=0; + + while($row=mysql_fetch_assoc($result3)) + { + $tax_percent_of_item=$row['item_tax_percent']; + if($tax_percent==$tax_percent_of_item) + { + if($rowCounter%2==0) + { + echo "\nrowcolor1>\n"; + } + else + { + echo "\nrowcolor2>\n"; + } + $rowCounter++; + for($k=0;$kidToField("$cfg_tableprefix".'items',"$field",$row['item_id']); + $data=$display->formatData($field,$field_data,$cfg_tableprefix); + } + else + { + $data=$display->formatData($field,$row[$field],$cfg_tableprefix); + + } + + + echo "\n\n"; + } + + @$subtotal+=$row['item_total_cost']-$row['item_total_tax']; + @$total+=$row['item_total_cost']; + + + } + } + echo '
\n$tableheaders[$k]\n
\n$data\n
'."\n"; + + $subtotal=number_format($subtotal,2,'.', ''); + $total=number_format($total,2,'.', ''); + $tax=$total-$subtotal; + $tax=number_format($tax,2,'.', ''); + + echo "
"; + echo " + +
$lang->totalWithOutTax: $display->currency_symbol$subtotal
$lang->totalWithTax: $display->currency_symbol$total
$lang->tax: $display->currency_symbol$tax
"; +?> + + + + + \ No newline at end of file diff --git a/sales/addsaaaale.php b/sales/addsaaaale.php new file mode 100755 index 0000000..9725e73 --- /dev/null +++ b/sales/addsaaaale.php @@ -0,0 +1,228 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$table_bg=$display->sale_bg; +$num_items=count($_SESSION['items_in_sale']); + +if($num_items==0) +{ + echo "$lang->youMustSelectAtLeastOneItem
"; + echo "$lang->refreshAndTryAgain"; + exit(); +} +$customers_table=$cfg_tableprefix.'customers'; +$items_table=$cfg_tableprefix.'items'; +$sales_items_table=$cfg_tableprefix.'sales_items'; +$sales_table=$cfg_tableprefix.'sales'; + +//general sale info +$paid_with=isset($_POST['paid_with'])?$_POST['paid_with']:''; +$comment=isset($_POST['comment'])?$_POST['comment']:''; +$customer_name=$dbf->idToField($customers_table,'first_name',$_SESSION['current_sale_customer_id']).' '.$dbf->idToField($customers_table,'last_name',$_SESSION['current_sale_customer_id']); + +//totals +$finalTax=$_POST['totalTax']; +$sale_total_cost=$_POST['finalTotal']; +$temp_total_items_purchased=$_POST['totalItemsPurchased']; + +$amt_tendered=$_POST['amt_tendered']; +$amt_change=$amt_tendered-$sale_total_cost; +$amt_tendered=number_format($amt_tendered, 2,'.',''); +$amt_change=number_format($amt_change, 2,'.',''); + +$now=date("F j, Y, g:i a"); +$body.=" +
$now
+

Order For: $customer_name [$lang->paidWith $paid_with]

+ + + + + + + + + "; + + +$todaysDate=date("Y-m-d"); +$subtotal=number_format($sale_total_cost-$finalTax,2,'.', ''); +$final_tax=number_format($finalTax,2,'.', ''); + +$field_names=array('date','customer_id','sale_sub_total','sale_total_cost','paid_with','items_purchased','sold_by','comment'); +$field_data=array($todaysDate,$_SESSION['current_sale_customer_id'],$subtotal,$sale_total_cost,$paid_with,$temp_total_items_purchased,$_SESSION['session_user_id'],$comment); +$dbf->insert($field_names,$field_data,$sales_table,false); +$saleID=mysql_insert_id(); + +$field_names=array('sale_id','item_id','quantity_purchased','item_unit_price','item_buy_price','item_tax_percent','item_total_tax','item_total_cost'); + +$temp_item_id=''; +$temp_item_name=''; +$temp_quantity_purchased=0; +$temp_item_unit_price=0; +$temp_item_buy_price=0; +$temp_item_tax_percent=0; +$temp_item_tax=0; +$temp_item_cost=0; +$item_info=array(); + +//Add to sales_items table +for($k=0;$k<$num_items;$k++) +{ + $item_info=explode(' ',$_SESSION['items_in_sale'][$k]); + + $temp_item_id=$item_info[0]; + $temp_item_name=$dbf->idToField($items_table,'item_name',$temp_item_id); + $temp_quantity_purchased=$item_info[3]; + $temp_item_unit_price=number_format($item_info[1],2,'.', ''); + $temp_item_buy_price=number_format($dbf->idToField($items_table,'buy_price',$temp_item_id),2,'.', ''); + $temp_item_tax_percent=$item_info[2]; + $temp_item_tax=number_format($temp_item_tax_percent/100*$temp_item_unit_price*$temp_quantity_purchased,2,'.', ''); + $temp_item_cost=number_format(($temp_item_unit_price*$temp_quantity_purchased)+$temp_item_tax,2,'.', ''); + + $field_data=array("$saleID","$temp_item_id","$temp_quantity_purchased","$temp_item_unit_price","$temp_item_buy_price","$temp_item_tax_percent","$temp_item_tax","$temp_item_cost"); + $new_quantity=$dbf->idToField($items_table,'quantity',$temp_item_id)-$temp_quantity_purchased; + $query="UPDATE $items_table SET quantity=\"$new_quantity\" WHERE $temp_item_id=id"; + mysql_query($query,$dbf->conn); + $dbf->insert($field_names,$field_data,$sales_items_table,false); + $body .= " + + + + "; + +} + +$body .= "
$lang->itemOrdered || $lang->unitPrice || $lang->quantity || $lang->extendedPrice
$temp_item_name$cfg_currency_symbol$temp_item_unit_price$temp_quantity_purchased$cfg_currency_symbol$temp_item_cost

+"; +$body .= ""; +$body .= ""; + +if($amt_tendered!=0) +{ + $body .= ""; + $body .= ""; + +} +$body .= "
$lang->saleSubTotal: $cfg_currency_symbol$subtotal
$lang->tax: $cfg_currency_symbol$final_tax
$lang->saleTotalCost: $cfg_currency_symbol$sale_total_cost
$lang->amtTendered: $cfg_currency_symbol$amt_tendered

$lang->amtChange: $cfg_currency_symbol$amt_change
$lang->saleID: $saleID
"; + +$sec->closeSale(); +$dbf->closeDBlink(); + +$body .= "

$lang->contact $cfg_company:

"; +if($cfg_address!='') +{ + $temp_address=nl2br($cfg_address); + $body .= "$lang->address: $temp_address
"; + +} +if($cfg_phone!='') +{ + $body .= "$lang->phoneNumber: $cfg_phone
"; + +} + +if($cfg_email!='') +{ + $body .= "$lang->email: $cfg_email
"; + +} + +if($cfg_fax!='') +{ + $body .= "$lang->fax: $cfg_fax
"; + +} + + +if($cfg_website!='') +{ + $body .= "$lang->website $cfg_website
"; + +} + + +if($cfg_other!='') +{ + $body .= "$lang->other: $cfg_other
"; + +} + + +echo "$body"; + +//EMAIL RECIEPT TO MEMBER! + +// In case any of our lines are larger than 70 characters, we should use wordwrap() +$message = wordwrap($body, 70); + +$headers = 'MIME-Version: 1.0' . "\r\n"; +$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; +$headers .= 'From: mark@goodlifebikes.ca' . "\r\n"; + +$message = " $message "; + +echo "$headers"; +// Send +mail('mark@goodlifebikes.ca', "Your Receipt from $cfg_company", $message, $headers); + + + + +?> + + +

+ + + + + diff --git a/sales/addsale.php b/sales/addsale.php new file mode 100755 index 0000000..d532fde --- /dev/null +++ b/sales/addsale.php @@ -0,0 +1,230 @@ + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$table_bg=$display->sale_bg; +$num_items=count($_SESSION['items_in_sale']); + +if($num_items==0) +{ + echo "$lang->youMustSelectAtLeastOneItem
"; + echo "$lang->refreshAndTryAgain"; + exit(); +} +$customers_table=$cfg_tableprefix.'customers'; +$items_table=$cfg_tableprefix.'items'; +$sales_items_table=$cfg_tableprefix.'sales_items'; +$sales_table=$cfg_tableprefix.'sales'; + +//general sale info +$paid_with=isset($_POST['paid_with'])?$_POST['paid_with']:''; +$comment=isset($_POST['comment'])?$_POST['comment']:''; +$customer_name=$dbf->idToField($customers_table,'first_name',$_SESSION['current_sale_customer_id']).' '.$dbf->idToField($customers_table,'last_name',$_SESSION['current_sale_customer_id']); + +$customer_email=$dbf->idToField($customers_table,'email',$_SESSION['current_sale_customer_id']); + +//totals +$finalTax=$_POST['totalTax']; +$sale_total_cost=$_POST['finalTotal']; +$temp_total_items_purchased=$_POST['totalItemsPurchased']; + +$amt_tendered=$_POST['amt_tendered']; +$amt_change=$amt_tendered-$sale_total_cost; +$amt_tendered=number_format($amt_tendered, 2,'.',''); +$amt_change=number_format($amt_change, 2,'.',''); + +$now=date("F j, Y, g:i a"); +$body.=" +

$now
+

Order For: $customer_name [$lang->paidWith $paid_with]

+ + + + + + + + + "; + + +$todaysDate=date("Y-m-d"); +$subtotal=number_format($sale_total_cost-$finalTax,2,'.', ''); +$final_tax=number_format($finalTax,2,'.', ''); + +$field_names=array('date','customer_id','sale_sub_total','sale_total_cost','paid_with','items_purchased','sold_by','comment'); +$field_data=array($todaysDate,$_SESSION['current_sale_customer_id'],$subtotal,$sale_total_cost,$paid_with,$temp_total_items_purchased,$_SESSION['session_user_id'],$comment); +$dbf->insert($field_names,$field_data,$sales_table,false); +$saleID=mysql_insert_id(); + +$field_names=array('sale_id','item_id','quantity_purchased','item_unit_price','item_buy_price','item_tax_percent','item_total_tax','item_total_cost'); + +$temp_item_id=''; +$temp_item_name=''; +$temp_quantity_purchased=0; +$temp_item_unit_price=0; +$temp_item_buy_price=0; +$temp_item_tax_percent=0; +$temp_item_tax=0; +$temp_item_cost=0; +$item_info=array(); + +//Add to sales_items table +for($k=0;$k<$num_items;$k++) +{ + $item_info=explode(' ',$_SESSION['items_in_sale'][$k]); + + $temp_item_id=$item_info[0]; + $temp_item_name=$dbf->idToField($items_table,'item_name',$temp_item_id); + $temp_quantity_purchased=$item_info[3]; + $temp_item_unit_price=number_format($item_info[1],2,'.', ''); + $temp_item_buy_price=number_format($dbf->idToField($items_table,'buy_price',$temp_item_id),2,'.', ''); + $temp_item_tax_percent=$item_info[2]; + $temp_item_tax=number_format($temp_item_tax_percent/100*$temp_item_unit_price*$temp_quantity_purchased,2,'.', ''); + $temp_item_cost=number_format(($temp_item_unit_price*$temp_quantity_purchased)+$temp_item_tax,2,'.', ''); + + $field_data=array("$saleID","$temp_item_id","$temp_quantity_purchased","$temp_item_unit_price","$temp_item_buy_price","$temp_item_tax_percent","$temp_item_tax","$temp_item_cost"); + $new_quantity=$dbf->idToField($items_table,'quantity',$temp_item_id)-$temp_quantity_purchased; + $query="UPDATE $items_table SET quantity=\"$new_quantity\" WHERE $temp_item_id=id"; + mysql_query($query,$dbf->conn); + $dbf->insert($field_names,$field_data,$sales_items_table,false); + $body .= " + + + + "; + +} + +$body .= "
$lang->itemOrdered || $lang->unitPrice || $lang->quantity || $lang->extendedPrice
$temp_item_name$cfg_currency_symbol$temp_item_unit_price$temp_quantity_purchased$cfg_currency_symbol$temp_item_cost

+"; +$body .= ""; +$body .= ""; + +if($amt_tendered!=0) +{ + $body .= ""; + $body .= ""; + +} +$body .= "
$lang->saleSubTotal: $cfg_currency_symbol$subtotal
$lang->tax: $cfg_currency_symbol$final_tax
$lang->saleTotalCost: $cfg_currency_symbol$sale_total_cost
$lang->amtTendered: $cfg_currency_symbol$amt_tendered

$lang->amtChange: $cfg_currency_symbol$amt_change
$lang->saleID: $saleID
"; + +$sec->closeSale(); +$dbf->closeDBlink(); + +$body .= "

$lang->contact $cfg_company:

"; +if($cfg_address!='') +{ + $temp_address=nl2br($cfg_address); + $body .= "$lang->address: $temp_address
"; + +} +if($cfg_phone!='') +{ + $body .= "$lang->phoneNumber: $cfg_phone
"; + +} + +if($cfg_email!='') +{ + $body .= "$lang->email: $cfg_email
"; + +} + +if($cfg_fax!='') +{ + $body .= "$lang->fax: $cfg_fax
"; + +} + + +if($cfg_website!='') +{ + $body .= "$lang->website $cfg_website
"; + +} + + +if($cfg_other!='') +{ + $body .= "$lang->other: $cfg_other
"; + +} + + +echo "$body"; + +//EMAIL RECIEPT TO MEMBER! + +$headers = 'MIME-Version: 1.0' . "\r\n"; +$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; +$headers .= "From: $cfg_emailFromAddress" . "\r\n"; + + + $message = "

Please retain or print this receipt for your records
$body "; + +// In case any of our lines are larger than 70 characters, we should use wordwrap() +$message = wordwrap($message, 70); + +// Send +mail($customer_email, "Your E-receipt from $cfg_company", $message, $headers); + +echo "

E-Reciept has been sent to <$customer_email>

"; + + +?> + + +

+ + + + + diff --git a/sales/delete.php b/sales/delete.php new file mode 100755 index 0000000..09c1bb9 --- /dev/null +++ b/sales/delete.php @@ -0,0 +1,74 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_GET['action'])) +{ + $action=$_GET['action']; + switch($action) + { + case $action=='all': + $sec->closeSale(); + break; + case $action=='item': + $pos=$_GET['pos']; + + for($k=0;$kcloseSale(); + } + break; + } + + } + break; + + case $action=='item_search': + + unset($_SESSION['current_item_search']); + + break; + + case $action=='customer_search': + unset($_SESSION['current_customer_search']); + + break; + } + +} + +header ("location: sale_ui.php"); + +$dbf->closeDBlink(); +ob_end_flush(); + +?> + + \ No newline at end of file diff --git a/sales/delete_item.php b/sales/delete_item.php new file mode 100755 index 0000000..39c57bf --- /dev/null +++ b/sales/delete_item.php @@ -0,0 +1,46 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +if(isset($_GET['item_id']) and isset($_GET['sale_id']) and isset($_GET['row_id'])) +{ + $item_id=$_GET['item_id']; + $sale_id=$_GET['sale_id']; + $row_id=$_GET['row_id']; +} + +$returned_quantity=$dbf->idToField($cfg_tableprefix.'sales_items','quantity_purchased',$row_id); +$newQuantity=$dbf->idToField($cfg_tableprefix.'items','quantity',$item_id)+$returned_quantity; +$dbf->deleteRow($cfg_tableprefix.'sales_items',$row_id); +$dbf->updateItemQuantity($item_id,$newQuantity); +$dbf->updateSaleTotals($sale_id); + +?> +
+manageSales ?>--> +
+startSale?> --> + + \ No newline at end of file diff --git a/sales/delete_sale.php b/sales/delete_sale.php new file mode 100755 index 0000000..4c882f4 --- /dev/null +++ b/sales/delete_sale.php @@ -0,0 +1,48 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'sales'; + + if(isset($_GET['id'])) + { + $id=$_GET['id']; + + } + + $dbf->deleteRow($tablename,$id); + + + +$dbf->closeDBlink(); + +?> +
+manageSales ?>--> +
+startSale ?>--> + + \ No newline at end of file diff --git a/sales/error_log b/sales/error_log new file mode 100644 index 0000000..d53db50 --- /dev/null +++ b/sales/error_log @@ -0,0 +1,56 @@ +[10-Mar-2017 00:43:19 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:21 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:23 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:34 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 +[10-Mar-2017 00:43:38 America/Toronto] PHP Warning: number_format() expects parameter 1 to be double, string given in /home/variousa/public_html/pos/sales/addsale.php on line 56 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Deprecated: Function ereg() is deprecated in /home/variousa/public_html/pos/classes/db_functions.php on line 419 +[10-Mar-2017 00:43:38 America/Toronto] PHP Fatal error: Call to undefined function session_unregister() in /home/variousa/public_html/pos/classes/security_functions.php on line 130 +[10-Mar-2017 00:43:45 America/Toronto] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/variousa/public_html/pos/classes/db_functions.php on line 24 diff --git a/sales/index.php b/sales/index.php new file mode 100755 index 0000000..bb656c8 --- /dev/null +++ b/sales/index.php @@ -0,0 +1,52 @@ +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +/*$today = date("Y-m-d"); +$result = mysql_query("SELECT * FROM books"); +$open = 0; +while($field = mysql_fetch_array($result)){ + if($field[date] == $today && $field[event] == "open"){ + $open = 1; + } +} +if($open == 0){ + header("location: ../books/openshop.php"); + exit(); +}*/ +echo " + + + + + + + + + + +
 $lang->sales
+
+ $lang->salesWelcomeMessage + +
+ +"; + +$dbf->closeDBlink(); + + +?> diff --git a/sales/info.php b/sales/info.php new file mode 100755 index 0000000..0e78a23 --- /dev/null +++ b/sales/info.php @@ -0,0 +1,4 @@ + diff --git a/sales/manage_sales.php b/sales/manage_sales.php new file mode 100755 index 0000000..727a644 --- /dev/null +++ b/sales/manage_sales.php @@ -0,0 +1,80 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageSales"); + +$f1=new form('manage_sales.php','POST','sales','450',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForSale",'text','search',"$lang->highID".'-'."$lang->lowID",'24','350'); +$f1->endForm(); + + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + $temp_search=explode('-',$search); + + if(!(ereg('-',$search))) + { + echo '
'; + exit(); + } + $id1=$temp_search[0]; + $id2=$temp_search[1]; + + if($id1 < $id2) + { + echo "
$lang->incorrectSearchFormat(ex: $id2-$id1)
"; + exit(); + + } + + echo "
$lang->searchedForSales id's $id1 $lang->and $id2:
"; + $display->displaySaleManagerTable("$cfg_tableprefix",$id2,$id1,'id'); + +} +else +{ + $display->displaySaleManagerTable("$cfg_tableprefix",'','','id'); +} + + +$dbf->closeDBlink(); + + +?> + + \ No newline at end of file diff --git a/sales/process_update_item.php b/sales/process_update_item.php new file mode 100755 index 0000000..d475830 --- /dev/null +++ b/sales/process_update_item.php @@ -0,0 +1,94 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'sales_items'; +$field_names=null; +$field_data=null; +$id=-1; + + + + + if(isset($_POST['quantity_purchased']) and isset($_POST['item_unit_price']) and isset($_POST['item_tax_percent']) and isset($_POST['item_id']) and isset($_POST['sale_id']) and isset($_POST['row_id']) and isset($_POST['old_quantity'])) + { + + if(!is_numeric($_POST['quantity_purchased']) or !is_numeric($_POST['item_unit_price']) or !is_numeric($_POST['item_tax_percent'])) + { + echo 'You must enter a numeric value for quantity purchased, Unit Price, and Tax.'; + exit(); + } + $item_id = $_POST['item_id']; + $sale_id = $_POST['sale_id']; + $row_id = $_POST['row_id']; + $old_quantity= $_POST['old_quantity']; + + //gets variables entered by user. + $quantity_purchased = $_POST['quantity_purchased']; + $item_unit_price = $_POST['item_unit_price']; + $item_tax_percent = $_POST['item_tax_percent']; + $item_total_tax=($item_unit_price*$quantity_purchased)*($item_tax_percent/100); + $item_total_cost=($item_unit_price*$quantity_purchased)+$item_total_tax; + + $item_unit_price=number_format($item_unit_price,2,'.', ''); + $item_total_tax=number_format($item_total_tax,2,'.', ''); + $item_total_cost=number_format($item_total_cost,2,'.', ''); + + $changeInQuantity=$old_quantity-$quantity_purchased; + $currentQuantity=$dbf->idToField($cfg_tableprefix.'items','quantity',$item_id); + $newQuantity=$currentQuantity+$changeInQuantity; + + //insure all fields are filled in. + if($quantity_purchased=='' or $item_unit_price=='' or $item_tax_percent=='') + { + echo "$lang->forgottenFields"; + exit(); + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + $field_names=array('quantity_purchased','item_unit_price','item_tax_percent','item_total_tax','item_total_cost'); + $field_data=array("$quantity_purchased","$item_unit_price","$item_tax_percent","$item_total_tax","$item_total_cost"); + $dbf->update($field_names,$field_data,$tablename,$row_id,true); + $dbf->updateItemQuantity($item_id,$newQuantity); + $dbf->updateSaleTotals($sale_id); + + $dbf->closeDBlink(); + +?> +
+manageSales ?>--> +
+startSale ?>--> + + \ No newline at end of file diff --git a/sales/process_update_sale.php b/sales/process_update_sale.php new file mode 100755 index 0000000..874a35e --- /dev/null +++ b/sales/process_update_sale.php @@ -0,0 +1,74 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'sales'; +$field_names=null; +$field_data=null; +$id=-1; + + + + + if(isset($_POST['paid_with']) and isset($_POST['id'])) + { + + $id = $_POST['id']; + + //gets variables entered by user. + $paid_with = $_POST['paid_with']; + $comment=$_POST['comment']; + + + //insure all fields are filled in. + if($paid_with=='') + { + echo "$lang->forgottenFields"; + exit(); + } + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + $field_names=array('paid_with','comment'); + $field_data=array("$paid_with","$comment"); + + $dbf->update($field_names,$field_data,$tablename,$id,true); + $dbf->closeDBlink(); + +?> +
+manageSales ?>--> +
+startSale ?>--> + + \ No newline at end of file diff --git a/sales/sale_ui.php b/sales/sale_ui.php new file mode 100755 index 0000000..28bb72a --- /dev/null +++ b/sales/sale_ui.php @@ -0,0 +1,479 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +$today = date("Y-m-d"); +if(cfg_mustOpen && !$sec->isOpen()){ + header("location: ../books/openshop.php"); + exit(); +} + +if(isset($_POST['customer'])) +{ + if($cfg_numberForBarcode=="Row ID") + { + if($dbf->isValidCustomer($_POST['customer'])) + { + $_SESSION['current_sale_customer_id']=$_POST['customer']; + } + } + else//try account_number + { + $id=$dbf->fieldToid($cfg_tableprefix.'customers','account_number',$_POST['customer']); + + if($dbf->isValidCustomer($id)) + { + $_SESSION['current_sale_customer_id']=$id; + } + else + { + echo "$lang->customerWithID/$lang->accountNumber ".$_POST['customer'].', '."$lang->isNotValid"; + } + } +} + +?> + + + +PHP Point Of Sale + + + + + + + + +sale_bg; +$items_table="$cfg_tableprefix".'items'; + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + + +$display->displayTitle("$lang->newSale"); + +if(empty($_SESSION['current_sale_customer_id'])) +{ + $customers_table="$cfg_tableprefix".'customers'; + + if(isset($_POST['customer_search']) and $_POST['customer_search']!='') + { + $search=$_POST['customer_search']; + $_SESSION['current_customer_search']=$search; + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table WHERE last_name like \"%$search%\" or first_name like \"%$search%\" or id =\"$search\" ORDER by last_name",$dbf->conn); + } + elseif(isset($_SESSION['current_customer_search'])) + { + $search=$_SESSION['current_customer_search']; + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table WHERE last_name like \"%$search%\" or first_name like \"%$search%\" or id =\"$search\" ORDER by last_name",$dbf->conn); + + } + elseif($dbf->getNumRows($customers_table) >200) + { + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table ORDER by last_name LIMIT 0,200",$dbf->conn); + } + else + { + $customer_result=mysql_query("SELECT first_name,last_name,account_number,id FROM $customers_table ORDER by last_name",$dbf->conn); + } + + $customer_title=isset($_SESSION['current_customer_search']) ? "$lang->selectCustomer: ":"$lang->selectCustomer: "; + + echo " + + + + +

"; + + echo " + "; + +} + +if(isset($_SESSION['current_sale_customer_id'])) +{ + if(isset($_POST['item'])) + { + $item=$_POST['item']; + $discount='0%'; + if($cfg_numberForBarcode=="Account/Item Number") + { + $item=$dbf->fieldToid($items_table,'item_number',$_POST['item']); + + } + + if($dbf->isValidItem($item)) + { + if($dbf->isItemOnDiscount($item)) + { + $discount=$dbf->getPercentDiscount($item).'%'; + $itemPrice=$dbf->getDiscountedPrice($item); + + } + else + { + $itemPrice=$dbf->idToField($items_table,'unit_price',$item); + } + $itemTax=$dbf->idToField($items_table,'tax_percent',$item); + $_SESSION['items_in_sale'][]=$item.' '.$itemPrice.' '.$itemTax.' '.'1'.' '.$discount; + + + } + else + { + echo "$lang->itemWithID/$lang->itemNumber ".$_POST['item'].', '."$lang->isNotValid"; + } + + } + + if(isset($_SESSION['items_in_sale'])) + { + $num_items=count($_SESSION['items_in_sale']); + + } + else + { + $num_items=0; + } + $temp_item_name=''; + $temp_item_id=''; + $temp_quantity=''; + $temp_price=''; + $finalSubTotal=0; + $finalTax=0; + $finalTotal=0; + $totalItemsPurchased=0; + + $item_info=array(); + + $customers_table="$cfg_tableprefix".'customers'; + $order_customer_first_name=$dbf->idToField($customers_table,'first_name',$_SESSION['current_sale_customer_id']); + $order_customer_last_name=$dbf->idToField($customers_table,'last_name',$_SESSION['current_sale_customer_id']); + $order_customer_name=$order_customer_first_name.' '.$order_customer_last_name; + + echo "
[$lang->clearSale]
"; + + + $items_table="$cfg_tableprefix".'items'; + $brands_table="$cfg_tableprefix".'brands'; + + + if(isset($_POST['item_search']) and $_POST['item_search']!='') + { + $search=$_POST['item_search']; + $_SESSION['current_item_search']=$search; + $item_result=mysql_query("SELECT item_name,unit_price,tax_percent,brand_id,item_number,quantity,id FROM $items_table WHERE item_name like \"%$search%\" or item_number= \"$search\" or id =\"$search\" ORDER by item_name",$dbf->conn); + } + elseif(isset($_SESSION['current_item_search'])) + { + $search=$_SESSION['current_item_search']; + $item_result=mysql_query("SELECT item_name,unit_price,tax_percent,brand_id,item_number,quantity,id FROM $items_table WHERE item_name like \"%$search%\" or item_number= \"$search\" or id =\"$search\" ORDER by item_name",$dbf->conn); + + } + elseif($dbf->getNumRows($items_table) >200) + { + $item_result=mysql_query("SELECT item_name,unit_price,tax_percent,brand_id,item_number,quantity,id FROM $items_table ORDER by item_name LIMIT 0,200",$dbf->conn); + } + else + { + $item_result=mysql_query("SELECT item_name,unit_price,tax_percent,brand_id,item_number,quantity,id FROM $items_table ORDER by item_name",$dbf->conn); + } + + + $item_title=isset($_SESSION['current_item_search']) ? "$lang->selectItem: ":"$lang->selectItem: "; + echo " +
$lang->findCustomer: + + [$lang->clearSearch] +
$customer_title"; + + + echo "
($lang->scanInCustomer)
"; + echo"$lang->customerID / $lang->accountNumber: +
+ "; + + echo " + +
$lang->orderFor: $order_customer_name

+ +
$lang->findItem: + [$lang->clearSearch]
+ $item_title
($lang->scanInItem)
+ $lang->itemID / $lang->itemNumber: +
"; + + + + echo "

$lang->shoppingCart

+ +
"; + echo " + + + + + + + + + "; + + for($k=0;$k<$num_items;$k++) + { + $item_info=explode(' ',$_SESSION['items_in_sale'][$k]); + $temp_item_id=$item_info[0]; + $temp_item_name=$dbf->idToField($items_table,'item_name',$temp_item_id); + $temp_price=$item_info[1]; + $temp_tax=$item_info[2]; + $temp_quantity=$item_info[3]; + $temp_discount=$item_info[4]; + + $subTotal=$temp_price*$temp_quantity; + $tax=$subTotal*($temp_tax/100); + $rowTotal=$subTotal+$tax; + $rowTotal=number_format($rowTotal,2,'.', ''); + + $finalSubTotal+=$subTotal; + $finalTax+=$tax; + $finalTotal+=$rowTotal; + $totalItemsPurchased+=$temp_quantity; + + echo " + + + + + + + + + "; + } + + + $finalSubTotal=number_format($finalSubTotal,2,'.', ''); + $finalTax=number_format($finalTax,2,'.', ''); + $finalTotal=number_format($finalTotal,2,'.', ''); + + echo '
$lang->remove$lang->itemName$lang->unitPrice$lang->tax %$lang->quantity$lang->extendedPrice$lang->update$lang->percentOff
[$lang->delete]$temp_item_name$cfg_currency_symbol$rowTotal$temp_discount $lang->percentOff
'; + + + echo "
+ + "; + if(isset($_GET['global_sale_discount'])) + { + $discount=$_GET['global_sale_discount']; + echo""; + + } + echo""; + + echo'
$lang->saleSubTotal: $cfg_currency_symbol$finalSubTotal
$lang->tax: $cfg_currency_symbol$finalTax
$discount% $lang->percentOff
$lang->saleTotalCost: $cfg_currency_symbol$finalTotal
'; + + echo "
+
+ + + +
$lang->globalSaleDiscount

"; + + echo "
+ + + + + + + + + +
+ $lang->paidWith: + + + $lang->amtTendered: +
+ $lang->saleComment: + + +
+
+ + + +
"; +} + + + +$dbf->closeDBlink(); + + +?> + + diff --git a/sales/update_item.php b/sales/update_item.php new file mode 100755 index 0000000..af46af0 --- /dev/null +++ b/sales/update_item.php @@ -0,0 +1,65 @@ + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +//checks if user is logged in. +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + + $display->displayTitle("$lang->updateItem"); + if(isset($_GET['item_id']) and isset($_GET['sale_id']) and isset($_GET['row_id'])) + { + $item_id=$_GET['item_id']; + $sale_id=$_GET['sale_id']; + $row_id=$_GET['row_id']; + $tablename = "$cfg_tableprefix".'sales_items'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$row_id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $quantity_purchased_value=$row['quantity_purchased']; + $item_unit_price_value=$row['item_unit_price']; + $item_tax_percent_value=$row['item_tax_percent']; + } + +//creates a form object +$f1=new form('process_update_item.php','POST','sale item','335',$cfg_theme,$lang); + +//creates form parts. +echo "

$lang->updateRowID $row_id
"; +$f1->createInputField("$lang->quantityPurchased:",'text','quantity_purchased',"$quantity_purchased_value",'24','160'); +$f1->createInputField("$lang->unitPrice: ",'text','item_unit_price',"$item_unit_price_value",'24','160'); +$f1->createInputField("$lang->tax %: ",'text','item_tax_percent',"$item_tax_percent_value",'24','160'); + +echo " + + + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + +?> + + \ No newline at end of file diff --git a/sales/update_sale.php b/sales/update_sale.php new file mode 100755 index 0000000..ccdd96d --- /dev/null +++ b/sales/update_sale.php @@ -0,0 +1,70 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$paid_with_value=''; +$comment_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. + + + $display->displayTitle("Update Sale"); + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'sales'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $paid_with_value=$row['paid_with']; + $comment_value=$row['comment']; + } + +//creates a form object +$f1=new form('process_update_sale.php','POST','sale','325',$cfg_theme,$lang); + +//creates form parts. +echo "

$lang->updateSaleID $id
"; +$option_values=array("$paid_with_value",'Cash','Check', 'Credit','Gift Certificate','Account','Other'); +$option_titles=array("$paid_with_value",$lang->cash,$lang->check,$lang->credit,$lang->giftCertificate,$lang->account,$lang->other); +$f1->createSelectField("$lang->paidWith:",'paid_with',$option_values,$option_titles,'130'); +$f1->createInputField("$lang->saleComment:",'text','comment',"$comment_value",'24','180'); +echo " + "; +$f1->endForm(); + +$dbf->closeDBlink(); + +?> + + + + + + diff --git a/settings.php b/settings.php new file mode 100755 index 0000000..dcdc2ba --- /dev/null +++ b/settings.php @@ -0,0 +1,38 @@ + diff --git a/settings/config_updated_failed.gif b/settings/config_updated_failed.gif new file mode 100755 index 0000000..16fb8dc Binary files /dev/null and b/settings/config_updated_failed.gif differ diff --git a/settings/config_updated_ok.gif b/settings/config_updated_ok.gif new file mode 100755 index 0000000..4cf8d7f Binary files /dev/null and b/settings/config_updated_ok.gif differ diff --git a/settings/index.php b/settings/index.php new file mode 100755 index 0000000..3b9afa1 --- /dev/null +++ b/settings/index.php @@ -0,0 +1,543 @@ +rowcolor1; +$themeRowColor2=$hDisplay->rowcolor2; +$lang=new language(); + +?> + + + + + + + +
+

 $lang->config
+
+ $lang->configurationWelcomeMessage

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "; + + + echo " + + + + + + + + "; + + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; + + echo " + + + + "; + + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; + echo " + + + + "; +?> + + + + + + + + + +

+
+ + + + +

+

$lang->companyName

+
+

+
+

$lang->address:

+
+

+
+

$lang->phoneNumber:

+
+

+
+

$lang->email:

+
global $cfg_adminAutoSignin; +global $cfg_mechAutoSignin; +global $cfg_administratorTitle; +global $cfg_mechanicTitle; +

+
+

$lang->fax:

+
+

+
+

$lang->website:

+
+

+
+

$lang->other:

+
+

+
+

$lang->theme:

+
+

+
+

$lang->taxRate:
+  ($lang->inPercent)

+
+

+
+

$lang->currencySymbol:

+
+

+
+

$lang->numberToUseForBarcode:

+
+

+
+

$lang->usePaidMembership

+
+

+
+

$lang->membershipItemID:

+
+

+
+

$lang->sellToNonMembers

+
+

+
+

$lang->emailFromAddress

+
+

+
+

$lang->dailyLateFee

+
+

$

+
+

$lang->mailmanLocation

+
+

http:///mailman/

+
+

$lang->mailmanListName #1

+
+

+
+

$lang->mailmanListName #2

+
+

+
+

$lang->mailmanListName #3

+
+

+
+

$lang->mailmanPass

+
+

+
+

$lang->adminAutoSignin

+
+

+
+

$lang->mechAutoSignin

+
+

+
+

$lang->administratorTitle

+
+

+
+

$lang->mechanicTitle

+
+

+
+

$lang->mustOpen

+
+

+
> +

language ?>:

+
+ +"; + +} + +function updateSettings($companyname,$companyaddress,$companyphone,$companyemail,$companyfax,$companywebsite,$companyother,$theme,$taxrate,$currencySymbol,$numberForBarcode,$language,$reqmembership,$membershipID,$selltononmembers,$emailFromAddress,$dailyLateFee,$mailmanLocation,$mailmanListName1,$mailmanListName2,$mailmanListName3,$mailmanPass,$adminAutoSignin,$mechAutoSignin,$administratorTitle,$mechanicTitle,$mustOpen) { + +include("../settings.php"); +$lang=new language(); +$writeConfigurationFile=""; + + @unlink("../settings.php"); + $hWriteConfiguration = @fopen("../settings.php", "w+" ) or die ("


$lang->configUpdatedUnsucessfully
"); + fputs( $hWriteConfiguration, $writeConfigurationFile); + fclose( $hWriteConfiguration ); +} + +// --------------------- Code starts here -----------------------// +$lang=new language(); +$dbf=new db_functions($cfg_server,$cfg_username,$cfg_password,$cfg_database,$cfg_tableprefix,$cfg_theme,$lang); +$sec=new security_functions($dbf,'Admin',$lang); +$hDisplay=new display($dbf,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if(isset($_POST['submitChanges'])) { + if($_POST['companyName']!="" && $_POST['companyPhone']!="" && $_POST['taxRate']!="" && $_POST['currencySymbol']!="") + { + + updateSettings($_POST['companyName'],$_POST['companyAddress'],$_POST['companyPhone'], + $_POST['companyEmail'],$_POST['companyFax'],$_POST['companyWebsite'],$_POST['companyOther'],$_POST['themeSelected'],$_POST['taxRate'],$_POST['currencySymbol'],$_POST['numberForBarcode'],$_POST['language'],$_POST[reqmembership],$_POST[membershipID],$_POST[selltononmembers],$_POST['emailFromAddress'],$_POST['dailyLateFee'],$_POST['mailmanLocation'],$_POST['mailmanListName1'],$_POST['mailmanListName2'],$_POST['mailmanListName3'],$_POST['mailmanPass'],$_POST['adminAutoSignin'],$_POST['mechAutoSignin'],$_POST['administratorTitle'],$_POST['mechanicTitle'],$_POST['mustOpen']); + echo "


$lang->configUpdatedSuccessfully
"; + } + else + { + echo "$lang->forgottenFields"; + } +} +elseif (isset($_POST['cancelChanges'])) +{ + header("Location: ../home.php"); +} +else +{ + displayUpdatePage(getFormFields()); +} + +$dbf->closeDBlink(); + + +?> + diff --git a/settingsupdate.php b/settingsupdate.php new file mode 100755 index 0000000..8de415a --- /dev/null +++ b/settingsupdate.php @@ -0,0 +1,47 @@ +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(!$sec->isLoggedIn()) +{ + header ("location: login.php"); + exit(); +} + +if(isset($_GET[mask])){ + $userLogin = $_SESSION['session_user_id']; + $data = $dbf->idToField($cfg_tableprefix.'users', 'settings', $userLogin); + switch($_GET[op]){ + case 1: + $data &= ~($_GET[mask]); + break; + default: + $data |= $_GET[mask]; + break; + } + mysql_query("UPDATE users SET settings='$data' WHERE id='$userLogin'"); +} + +$dbf->closeDBlink(); +header("location: home.php"); + +?> + + + + + + + + + + + diff --git a/shopclosed.php b/shopclosed.php new file mode 100755 index 0000000..006c610 --- /dev/null +++ b/shopclosed.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/todosubmit.php b/todosubmit.php new file mode 100755 index 0000000..4b172d9 --- /dev/null +++ b/todosubmit.php @@ -0,0 +1,109 @@ + + + + + + + +isLoggedIn()) +{ + header ("location: login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'todolist'; +$field_names=null; +$field_data=null; +$id=-1; + + + if(isset($_POST['content']) && $_GET['action'] == "update") + { + $action="update"; + $id = $_GET['id']; + + //gets variables entered by user. + $content = $_POST['content']; + + //ensure all fields are filled in. + if($content=='') + { + echo "$lang->forgottenFields"; + exit(); + } + else + { + $field_names=array('content'); + $field_data=array("$content"); + + } + + } + elseif($_GET['completed'] == "yes"){ + $action="update"; + $id = $_GET['id']; + $completed = "1"; + $field_names=array('completed'); + $field_data=array("$completed"); + + } + elseif($_GET['action'] == "insert"){ + $action="insert"; + $name="$_POST[name]"; + $content="$_POST[content]"; + $field_names=array('name','content'); + $field_data=array("$name","$content"); + + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); +; + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> + +
+Continue-->
+ + + diff --git a/upgrade/index.php b/upgrade/index.php new file mode 100755 index 0000000..90bbaed --- /dev/null +++ b/upgrade/index.php @@ -0,0 +1,95 @@ +"; + $open = fopen( "../settings.php", "a+" ) or die ( "Operation Failed!" ); + fputs( $open, "$info" ); + fclose( $open ); + + + echo "$lang->upgradeSuccessfullMessage"; + +} +else +{ +include ("../language/english.php"); +$lang=new language(); +echo "$lang->upgradeMessage"; +?> +
+
+
+language ?>:
+ + numberToUseForBarcode ?>: + +
+ + +
+ + + + diff --git a/users/form_users.php b/users/form_users.php new file mode 100755 index 0000000..3dc1b5b --- /dev/null +++ b/users/form_users.php @@ -0,0 +1,102 @@ + + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} +//set default values, these will change if $action==update. +$first_name_value=''; +$last_name_value=''; +$username_value=''; +$type_value=''; +$password_value=''; +$id=-1; + +//decides if the form will be used to update or add a user. +if(isset($_GET['action'])) +{ + $action=$_GET['action']; +} +else +{ + $action="insert"; +} + +//if action is update, sets variables to what the current users data is. +if($action=="update") +{ + $display->displayTitle("$lang->updateUser"); + if(isset($_GET['id'])) + { + $id=$_GET['id']; + $tablename = "$cfg_tableprefix".'users'; + $result = mysql_query("SELECT * FROM $tablename WHERE id=\"$id\"",$dbf->conn); + + $row = mysql_fetch_assoc($result); + $first_name_value=$row['first_name']; + $last_name_value=$row['last_name']; + $username_value=$row['username']; + $password_value="*notchanged*"; + $type_value=$row['type']; + + } + +} +else +{ + $display->displayTitle("$lang->addUser"); + +} +//creates a form object +$f1=new form('process_form_users.php','POST','users','415',$cfg_theme,$lang); + +//creates form parts. +$f1->createInputField("$lang->firstName:",'text','first_name',"$first_name_value",'24','180'); +$f1->createInputField("$lang->lastName:",'text','last_name',"$last_name_value",'24','180'); +$f1->createInputField("$lang->username:($lang->usedInLogin)",'text','username',"$username_value",'24','180'); + +$option_values=array("$type_value",'Admin','Sales Clerk', 'Report Viewer'); +$option_titles=array("$type_value","$lang->admin","$lang->salesClerk", "$lang->reportViewer"); +$f1->createSelectField("$lang->type: ",'type',$option_values,$option_titles,'180'); + +$f1->createInputField("$lang->password:",'password','password',"$password_value",'24','180'); +$f1->createInputField("$lang->confirmPassword:",'password','cpassword',"$password_value",'24','180'); + +//sends 2 hidden varibles needed for process_form_users.php. +echo " + + "; +$f1->endForm(); + +$dbf->closeDBlink(); + +?> + + + + + + diff --git a/users/index.php b/users/index.php new file mode 100755 index 0000000..32ca2d9 --- /dev/null +++ b/users/index.php @@ -0,0 +1,43 @@ + + + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); + +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display->displayTitle("$lang->users"); +$dbf->closeDBlink(); + +?> + + + + + + + + \ No newline at end of file diff --git a/users/manage_users.php b/users/manage_users.php new file mode 100755 index 0000000..cdf9ca9 --- /dev/null +++ b/users/manage_users.php @@ -0,0 +1,65 @@ + + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +$display=new display($dbf->conn,$cfg_theme,$cfg_currency_symbol,$lang); +$display->displayTitle("$lang->manageUsers"); + +$f1=new form('manage_users.php','POST','users','400',$cfg_theme,$lang); +$f1->createInputField("$lang->searchForUser",'text','search','','24','300'); +$f1->endForm(); + +$tableheaders=array("$lang->rowID","$lang->lastName","$lang->firstName","$lang->username","$lang->password","$lang->type","$lang->updateUser","$lang->deleteUser"); +$tablefields=array('id','last_name','first_name','username','password','type'); + + +if(isset($_POST['search'])) +{ + $search=$_POST['search']; + echo "
$lang->searchedForUser: $search
"; + $display->displayManageTable("$cfg_tableprefix",'users',$tableheaders,$tablefields,'username',"$search",'last_name'); +} +else +{ + $display->displayManageTable("$cfg_tableprefix",'users',$tableheaders,$tablefields,'','','last_name'); +} + +$dbf->closeDBlink(); + + +?> + + \ No newline at end of file diff --git a/users/process_form_users.php b/users/process_form_users.php new file mode 100755 index 0000000..3994e60 --- /dev/null +++ b/users/process_form_users.php @@ -0,0 +1,140 @@ + + + + + + + + +isLoggedIn()) +{ + header ("location: ../login.php"); + exit (); +} + +//variables needed globably in this file. +$tablename="$cfg_tableprefix".'users'; +$field_names=null; +$field_data=null; +$id=-1; + + + + //checks to see if action is delete and an ID is specified. (only delete uses $_GET.) + if(isset($_GET['action']) and isset($_GET['id'])) + { + $action=$_GET['action']; + $id=$_GET['id']; + } + //checks to make sure data is comming from form ($action is either delete or update) + elseif(isset($_POST['first_name']) and isset($_POST['last_name']) and isset($_POST['username']) + and isset($_POST['password']) and isset($_POST['cpassword']) and isset($_POST['type']) + and isset($_POST['id']) and isset($_POST['action']) ) + { + + $action=$_POST['action']; + $id = $_POST['id']; + + //gets variables entered by user. + $first_name = $_POST['first_name']; + $last_name = $_POST['last_name']; + $username = $_POST['username']; + $password = $_POST['password']; + $cpassword = $_POST['cpassword']; + $type = $_POST['type']; + + + //insure all fields are filled in. + if($first_name=='' or $last_name=='' or $username=='' or $password=='' or $cpassword=='' or $type=='') + { + echo "$lang->forgottenFields"; + exit(); + } + elseif($password!=$cpassword) + { + echo "$lang->passwordsDoNotMatch"; + exit(); + } + elseif($action=='insert') + { + //encrypts password for new user and creates arrays to be used later. + $password=md5($password); + $field_names=array('first_name','last_name','username','password','type'); + $field_data=array("$first_name","$last_name","$username","$password","$type"); + + } + elseif($password=="*notchanged*") + { + /* + Does NOT encrypt password because user did not change their password, but other + info might have changed and needs to be updated. Info stored in arrays. + */ + + $field_names=array('first_name','last_name','username','type'); + $field_data=array("$first_name","$last_name","$username","$type"); + } + else + { + /* + user did change password and the new password is encrypted. Stores + info in arrays + */ + + $password=md5($password); + $field_names=array('first_name','last_name','username','password','type'); + $field_data=array("$first_name","$last_name","$username","$password","$type"); + } + } + else + { + //outputs error message because user did not use form to fill out data. + echo "$lang->mustUseForm"; + exit(); + } + + + +switch ($action) +{ + //finds out what action needs to be taken and preforms it by calling methods from dbf class. + case $action=="insert": + $dbf->insert($field_names,$field_data,$tablename,true); + + break; + + case $action=="update": + $dbf->update($field_names,$field_data,$tablename,$id,true); + + break; + + case $action=="delete": + $dbf->deleteRow($tablename,$id); + + break; + + default: + echo "$lang->noActionSpecified"; + break; +} +$dbf->closeDBlink(); + +?> +
+manageUsers"; ?>--> +
+createUser"; ?>--> + + \ No newline at end of file diff --git a/users/user_customer_link.php b/users/user_customer_link.php new file mode 100755 index 0000000..d96b69e --- /dev/null +++ b/users/user_customer_link.php @@ -0,0 +1,93 @@ + + + + + + + +conn,$cfg_theme,$cfg_currency_symbol,$lang); +if(!$sec->isLoggedIn()) +{ + header ("location: ../login.php"); + exit(); +} + +if($_POST[ID]){ + $userLogin = $_SESSION['session_user_id']; + mysql_query("UPDATE users SET customerID='$_POST[ID]' WHERE id='$userLogin'"); + echo ""; +} + +$result = mysql_query("SELECT id,first_name,last_name FROM customers ORDER BY last_name ASC"); +$body.=" +
+
It appears as though your bike tree user account has not been linked with a bike root member account. + Please select your member account.
+       +     Users: + +


+
+ +
+ "; +echo "$body"; + +/*//check to make sure it's a number +if(!strval(floatval($_POST[openCount])) == strval($_POST[openCount])){ + echo ""; + exit(); +} + +//check to make sure it was the administrator who counted +if(!$_POST[counter]){ + echo ""; + exit(); +} + +//$tablename = $cfg_tableprefix.'users'; +$userLoginName = $dbf->idToField($cfg_tableprefix.'users','username',$_SESSION['session_user_id']); + + +$tablename="$cfg_tableprefix".'books'; +$field_names=null; +$field_data=null; +$today = date('Y-m-d'); +$field_names=array('date','event','user','ammount','data'); +$field_data=array("$today", "open", "$userLoginName","$_POST[openCount]","$_POST[mechID]"); + + +$dbf->insert($field_names,$field_data,$tablename,""); + +$tablename="$cfg_tableprefix".'visits'; +$tdin = date('Y-m-d H:i:s'); +$field_names=array('userID','intime','activity'); +$adminID = $dbf->idToField($cfg_tableprefix.'users','customerID',$_SESSION['session_user_id']); +$field_data=array("$adminID", "$tdin", "Administrator"); +$dbf->insert($field_names, $field_data, $tablename, ""); + +echo "";*/ + +$dbf->closeDBlink(); + + +?> + + + + + +