diff --git a/Connections/database_functions.php b/Connections/database_functions.php index 142aaf5..c4f4d84 100644 --- a/Connections/database_functions.php +++ b/Connections/database_functions.php @@ -60,7 +60,7 @@ $volunteer_interests = array( "Answering our Phone", "Fundraising", "Bicycle Valeting", "Publicizing", "Graphic Design", "Working at the Front Desk", "Accounting/Record Keeping", "Ordering parts/supplies", "Picking up Donated Bikes/Parts", - "Fabricating", "Open Source Programming", "Other/Contact me for general help" + "Fabricating", "Open Source Programming", "Other/Contact me for general help", ); // Provide a comment box - true of false diff --git a/Connections/waiver.txt b/Connections/waiver.txt index 3254d97..2876101 100644 --- a/Connections/waiver.txt +++ b/Connections/waiver.txt @@ -1,16 +1,17 @@ - I, and my heirs, in consideration of my participation in the Positive Spin Community - Bike Project's Open Workshop hereby release Positive Spin, - its officers, directors and agents, and any other people officially connected with this - organization, from any and all liability for damage to or loss of personal - property, sickness, or injury from whatever source, legal entanglements, imprisonment, - death, or loss of money, which might occur while participating in said event/activity/class. - Specifically, I release Positive Spin from any liability or - responsibility for my personal well-being, condition of tools and equipment provided - and produced thereof, including, but not limited to, bicycles and modes of transportation - produced by participants. The Positive Spin Community Bike Project is a working, - mechanical environment and I am aware of the risks of participation. I hereby state - that I am in sufficient physical condition to accept a rigorous level of physical - activity and exertion, as is sometimes the case when working in a mechanical environment. - I understand that participation in this program is strickly voluntary and I - freely chose to participate. I understand Positive Spin does not provide medical coverage for me. - I verify that I will be responsible for any medical costs I incur as a result of my participation. +I, and my heirs, in consideration of my participation with Positive Spin +Incorporated hereby release Positive Spin Incorporated, its officers, directors +and agents, and any other people officially connected with this organization, +from any and all liability for damage to or loss of personal property, sickness, or injury from whatever source, legal entanglements, imprisonment, death, or +loss of money, which might occur while participating in said +event/activity/class. Specifically, I release Positive Spin Incorporated from +any liability or responsibility for my personal well-being, condition of tools +and equipment provided and produced thereof, including, but not limited to, +bicycles and modes of transportation produced by participants. Positive Spin +Incorporated provides a working,mechanical environment and I am aware of the +risks of participation. I hereby state that I am in sufficient physical +condition to accept a rigorous level of physical activity and exertion, as is +sometimes the case when working in a mechanical environment. I understand that +participation in this program is strickly voluntary and I freely chose to +participate. I understand Positive Spin Incorporated does not provide medical +coverage for me. I verify that I will be responsible for any medical costs I +incur as a result of my participation. diff --git a/contact_add_edit.php b/contact_add_edit.php index 3e3e85d..473053e 100644 --- a/contact_add_edit.php +++ b/contact_add_edit.php @@ -122,7 +122,7 @@ $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); ?> - + @@ -224,10 +224,13 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1); $columns = 3; $c = 0; $interest_count = count($volunteer_interests); - while($rows < $interest_count + 1) { - echo ""; - for($i = $rows - $columns; $i < $rows; $i++) { - echo ""; + while($rows < $interest_count + 3) { + echo ""; + + for($i = $rows - $columns; $i < $rows; $i++) { + if($volunteer_interests[$i]) { + echo ""; + } } echo ""; $rows = $rows + $columns; @@ -236,7 +239,7 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1); - diff --git a/css/contacts.css b/css/contacts.css index 4359801..6a9c7cf 100644 --- a/css/contacts.css +++ b/css/contacts.css @@ -3,12 +3,18 @@ text-align: right; width: 161px; font-weight: bold; + padding-right: 5px; } .contact_comment { display: inline-block; } +/* center label with textarea */ +.center_comment * { + vertical-align: middle; +} + #interest_form { padding: 10px; display: block; diff --git a/include_header.html b/include_header.html index e90bd77..93d4a62 100644 --- a/include_header.html +++ b/include_header.html @@ -15,7 +15,6 @@ function resetTimer() } - diff --git a/include_header_contacts.html b/include_header_contacts.html new file mode 100644 index 0000000..a3db27a --- /dev/null +++ b/include_header_contacts.html @@ -0,0 +1,46 @@ + + + + + + + +YBDB + + + + + + + + + + + + + + + + + +
" . $volunteer_interests[$i] . "
" . $volunteer_interests[$i] . "
 
+
+ + + + +
Current Shop | All Shops | Add/Edit Contact | Statistics | Transaction Log | PS Home
diff --git a/js/contact.js b/js/contact.js index e472eb2..aa59b24 100644 --- a/js/contact.js +++ b/js/contact.js @@ -1,6 +1,8 @@ $(function(){ "use strict"; + + $.ajaxSetup({async:false}); var contact_id = $("#contact_id").val(); var birth_date = $("#birth_date");