1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 08:53:23 -05:00

Created a new table 'options' to store interest inventory values

also ..
1). zip to Zip Code .. some day will need to make international
2) changed Fill-in Form to "Check them out!" for volunteer interest .. subject to real world testing.
This commit is contained in:
Jonathan Rosenbaum 2015-03-03 10:27:11 +00:00
parent 88d717cdca
commit cf3cfe8838
4 changed files with 17 additions and 4 deletions

View File

@ -58,8 +58,9 @@ $volunteer_interests = array(
"Repairing Bikes", "Organizing Volunteers", "Serving as a Board Member",
"Arranging Events", "Volunteering at Events", "Writing Grants",
"Answering our Phone", "Fundraising", "Bicycle Valeting",
"Publicizing", "Graphic Design", "Greeter at the Front Desk",
"Publicizing/Outreach", "Graphic Design", "Greeter at the Front Desk",
"Accounting/Record Keeping", "Ordering parts/supplies", "Picking up Donated Bikes/Parts",
"Teaching classes", "League Certified Instructor", "Pricing bikes",
"Fabricating", "Open Source Programming", "Other/Contact me for general help",
);

View File

@ -1 +1 @@
Positive Spin is a volunteer organization. Your volunteered time, and our ability to benefit the community with our exciting services and programs are directly related. Please indicate if you would be interested in helping us with any of the following management, operations, events and programs:
Positive Spin is a volunteer-run organization. Your volunteered time, and our ability to benefit the community with our exciting services and programs are directly related. Please indicate if you would be interested in helping us with any of the following management, operations, events and programs:

View File

@ -188,7 +188,7 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
<td><input id="state_abbreviation" name="state" type="text" value="<?php echo $row_Recordset1['state']; ?>" size="2" maxlength="2"></td>
</tr>
<tr >
<td><label class="contacts">zip:</label></td>
<td><label class="contacts">Zip Code:</label></td>
<td><input id="zip" type="text" name="zip" value="<?php echo $row_Recordset1['zip']; ?>" size="10"></td>
</tr>
<tr>
@ -245,7 +245,8 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
<?php } ?>
</table>
</div>
<input type="submit" id="interest_form_button" value="Fill-in Form" \>
<!-- Fill-in Form -->
<input type="submit" id="interest_form_button" value="Check them out!" \>
</td>
</tr>
<?php } ?>

View File

@ -193,3 +193,14 @@ ALTER TABLE transaction_log ADD change_fund float DEFAULT NULL;
ALTER TABLE transaction_log ADD anonymous tinyint(1) NOT NULL DEFAULT '0';
ALTER TABLE transaction_log ADD history longblob NOT NULL;
ALTER TABLE transaction_log MODIFY description text(2048) DEFAULT NULL;
-- options
-- some what borrowed from WordPress
-- Currently just for variable values like found in the Volunteer Interest inventory
-- where values may be 0 or 1 or text.
CREATE TABLE IF NOT EXISTS options (
id int(10) unsigned NOT NULL,
option_name varchar(64) NOT NULL,
option_value text NOT NULL,
PRIMARY KEY (option_name)
);