mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -05:00
Fixes the css issue for contact_add_edit.
This commit is contained in:
parent
7f05a37f34
commit
62231e8d68
@ -60,7 +60,7 @@ $volunteer_interests = array(
|
|||||||
"Answering our Phone", "Fundraising", "Bicycle Valeting",
|
"Answering our Phone", "Fundraising", "Bicycle Valeting",
|
||||||
"Publicizing", "Graphic Design", "Working at the Front Desk",
|
"Publicizing", "Graphic Design", "Working at the Front Desk",
|
||||||
"Accounting/Record Keeping", "Ordering parts/supplies", "Picking up Donated Bikes/Parts",
|
"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
|
// Provide a comment box - true of false
|
||||||
|
@ -1,16 +1,17 @@
|
|||||||
I, and my heirs, in consideration of my participation in the Positive Spin Community
|
I, and my heirs, in consideration of my participation with Positive Spin
|
||||||
Bike Project's Open Workshop hereby release Positive Spin,
|
Incorporated hereby release Positive Spin Incorporated, its officers, directors
|
||||||
its officers, directors and agents, and any other people officially connected with this
|
and agents, and any other people officially connected with this organization,
|
||||||
organization, from any and all liability for damage to or loss of personal
|
from any and all liability for damage to or loss of personal property, sickness, or injury from whatever source, legal entanglements, imprisonment, death, or
|
||||||
property, sickness, or injury from whatever source, legal entanglements, imprisonment,
|
loss of money, which might occur while participating in said
|
||||||
death, or loss of money, which might occur while participating in said event/activity/class.
|
event/activity/class. Specifically, I release Positive Spin Incorporated from
|
||||||
Specifically, I release Positive Spin from any liability or
|
any liability or responsibility for my personal well-being, condition of tools
|
||||||
responsibility for my personal well-being, condition of tools and equipment provided
|
and equipment provided and produced thereof, including, but not limited to,
|
||||||
and produced thereof, including, but not limited to, bicycles and modes of transportation
|
bicycles and modes of transportation produced by participants. Positive Spin
|
||||||
produced by participants. The Positive Spin Community Bike Project is a working,
|
Incorporated provides a working,mechanical environment and I am aware of the
|
||||||
mechanical environment and I am aware of the risks of participation. I hereby state
|
risks of participation. I hereby state that I am in sufficient physical
|
||||||
that I am in sufficient physical condition to accept a rigorous level of physical
|
condition to accept a rigorous level of physical activity and exertion, as is
|
||||||
activity and exertion, as is sometimes the case when working in a mechanical environment.
|
sometimes the case when working in a mechanical environment. I understand that
|
||||||
I understand that participation in this program is strickly voluntary and I
|
participation in this program is strickly voluntary and I freely chose to
|
||||||
freely chose to participate. I understand Positive Spin does not provide medical coverage for me.
|
participate. I understand Positive Spin Incorporated does not provide medical
|
||||||
I verify that I will be responsible for any medical costs I incur as a result of my participation.
|
coverage for me. I verify that I will be responsible for any medical costs I
|
||||||
|
incur as a result of my participation.
|
||||||
|
@ -122,7 +122,7 @@ $row_Recordset1 = mysql_fetch_assoc($Recordset1);
|
|||||||
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php include("include_header.html"); ?>
|
<?php include("include_header_contacts.html"); ?>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
@ -224,10 +224,13 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
|||||||
$columns = 3;
|
$columns = 3;
|
||||||
$c = 0;
|
$c = 0;
|
||||||
$interest_count = count($volunteer_interests);
|
$interest_count = count($volunteer_interests);
|
||||||
while($rows < $interest_count + 1) {
|
while($rows < $interest_count + 3) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
for($i = $rows - $columns; $i < $rows; $i++) {
|
|
||||||
echo "<td><input value='$volunteer_interests[$i]' type='checkbox'>" . $volunteer_interests[$i] . "</td>";
|
for($i = $rows - $columns; $i < $rows; $i++) {
|
||||||
|
if($volunteer_interests[$i]) {
|
||||||
|
echo "<td><input value='$volunteer_interests[$i]' type='checkbox'>" . $volunteer_interests[$i] . "</td>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
$rows = $rows + $columns;
|
$rows = $rows + $columns;
|
||||||
@ -236,7 +239,7 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
|||||||
<?php if($volunteer_interest_comments) { ?>
|
<?php if($volunteer_interest_comments) { ?>
|
||||||
<tr><td> </td></tr>
|
<tr><td> </td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2"><label id="contact_comment">Comments</label>
|
<td class="center_comment" colspan="2"><label id="contact_comment">Comments</label>
|
||||||
<textarea name="comment" cols="45" rows="3"></textarea></td>
|
<textarea name="comment" cols="45" rows="3"></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
@ -3,12 +3,18 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
width: 161px;
|
width: 161px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact_comment {
|
.contact_comment {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* center label with textarea */
|
||||||
|
.center_comment * {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
#interest_form {
|
#interest_form {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -15,7 +15,6 @@ function resetTimer()
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
|
46
include_header_contacts.html
Normal file
46
include_header_contacts.html
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
<script type="text/javascript">
|
||||||
|
var t;
|
||||||
|
window.onload=resetTimer;
|
||||||
|
document.onmousedown=resetTimer;
|
||||||
|
document.onkeypress=resetTimer;
|
||||||
|
|
||||||
|
function logout()
|
||||||
|
{
|
||||||
|
location.href='shop_welcome.php'
|
||||||
|
}
|
||||||
|
function resetTimer()
|
||||||
|
{
|
||||||
|
clearTimeout(t);
|
||||||
|
//t=setTimeout(logout,1000*240) //Shop welcome after 240 seconds of inactivity
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||||
|
<title>YBDB</title>
|
||||||
|
<link href="css/contacts.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="css/css_yb_standard.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="css/jquery.nouislider.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="css/chosen.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<script src="js/jquery-2.1.1.js"></script>
|
||||||
|
<script src="js/contact.js"></script>
|
||||||
|
<script src="js/jquery.mask.js"></script>
|
||||||
|
<script src="js/jquery.jeditable.js"></script>
|
||||||
|
<script src="js/jquery.nouislider.js"></script>
|
||||||
|
<script src="js/chosen.jquery.js"></script>
|
||||||
|
<script src="js/jquery.liblink.js"></script>
|
||||||
|
<script src="js/wNumb.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="yb_standard">
|
||||||
|
<table align="center" width="1000" border="0" cellpadding="1" cellspacing="0">
|
||||||
|
<tr valign="top">
|
||||||
|
<td height="40" align="right"><a href="/shop_log.php">Current Shop</a> | <a href="/start_shop.php"> All Shops</a> | <a href="/contact_add_edit_select.php">Add/Edit Contact</a> | <a href="/stats.php">Statistics</a> | <a href="/transaction_log.php">Transaction Log</a> | <a href="http://www.positivespin.org/home2/" target="_blank">PS Home</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
@ -1,6 +1,8 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
$.ajaxSetup({async:false});
|
||||||
|
|
||||||
var contact_id = $("#contact_id").val();
|
var contact_id = $("#contact_id").val();
|
||||||
var birth_date = $("#birth_date");
|
var birth_date = $("#birth_date");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user