Account Information

If you need to change your e-mail address, please e-mail bioc@indiana.edu.

If you wish to change your password, use the fields below. Passwords are case-sensitive and should only include alphanumeric characters (a-z, A-Z, 0-9).

E-Mail Address ' . $data['Email'] . '
Old Password
Password
Confirm Password

Contact Information

Name
First* Middle Last*


Address
Address Line 1*
Address Line 2
Address Line 3
City* State/Province Postal Code*
Country*


Affiliation & Other
Title/Position
Affiliation
(university, etc.)
Telephone Number
'; // if a speaker, do not display travel support question if($data['Status'] == 'speaker') { $text .= ''; } // end if speaker else { $text .= '

Travel Support

Would you like to be considered for travel support?*
'; $values = array('y', 'n'); $names = array('Yes', 'No'); for($x = 0; $x <= 1; $x++) { if($values[$x] == $data['TravelSupport']) { $text .= ' ' . $names[$x] . '
'; } else { $text .= ' ' . $names[$x] . '
'; } } $text .= '
'; } // end if not a speaker $text .= '

Directory

We will include in the workshop booklet a directory of contact information of those who were involved in the workshop. The booklet will be distributed only to those who were involved in the workshop, and the directory will not be made available online. If you would like to be included in the directory, please indicate so below:*

'; $values = array('1', '2', '3', '0'); $names = array('[1] Print my name, title, affiliation and e-mail address.', '[2] Print the items in option [1] + my address.', '[3] Print the items in option [2] + my phone number.', 'Do not include me in the directory.'); $desc = array('[1] Your name, title, affiliation, and e-mail address will be printed.', '[2] Your name, title, affiliation, e-mail address, and address will be printed.', '[3] Your name, title, affiliation, e-mail address, address, and phone number will be printed.', 'You will not be included in the directory.'); for($x = 0; $x < 4; $x++) { if($values[$x] == $data['Directory']) { $text .= ' ' . $names[$x] . '
'; } else { $text .= ' ' . $names[$x] . '
'; } } $text .= '
If you request that we print your contact information, we will use the information that you have provided above. If you request that we print an item but have not filled out the appropriate field, then that item will not be printed.

Other Information

Employer or Institute*
Role at Place of Employment*


Support for the Workshop has been provided by agencies of the US Federal Government. We are required to report information on sex and ethnicity. The information you provide will only be used in aggregate statistics; it will not be associated with your name in reports. Your response to these questions is voluntary, but they can significantly impact our ability to secure future funding.

Sex
Ethnicity

'; if($flag == 1) { $text .= ''; } $text .= '
     
'; break; // ###### travel case 'travel': $text .= '

Travel Support

'; if($data['Status'] != 'speaker') { $text .= '

If you receive travel support, you will be required to provide the following information. In an effort to expedite processing of potential reimbursements, we will collect this information from you now. Should you not receive travel support, this information will be purged from our database.


'; } else { $text .= '

Please read below for information about travel support.

'; } // if travel terms box is checked if($data['TravelTerms'] == '1') { $checked = ' checked="checked"'; } else { $checked = ''; } $text .= '

Meals

We will provide breakfast, lunch, and snacks for you during the conference. In addition, the Biocomplexity Institute will host a welcome reception and dinner.

Airfare

We will reimburse you for your airfare only, within the following guidelines and restrictions:

  1. Reimbursements will only be processed with the original receipt.
  2. Only economy or coach class airfares will be reimbursed.
  3. Indiana University Travel Management Office can only reimburse air travel from the point of departure immediately preceding arrival to Indianapolis back to the point of destination immediately following departure from Indianapolis. In short, if you will be coming to Bloomington as part of a multi-leg trip, only the Bloomington portion of your travel will be reimbursed.
  4. Change fees from previously held airline tickets will not be reimbursed.
  5. You must book your own tickets and send your itinerary to us.
  6. We will only reimburse up to US$350.00 for domestic airfares and US$950.00 for international airfares.

Please book your airfare as soon as possible as airfares will continue to increase with time. If you have difficulties located airfare that meet the price the guidelines above, please contact us.

Accommodations

We will book your hotel room for you. Once you have made your travel plans, please e-mail us your itinerary, and we will make the reservation for you.

Transportation from and to the Airport

Limousine transportation from and to the airport will be arranged for you. Once you have made your travel plans, please send your flight information to bioc@indiana.edu as soon as possible so that we may make these arrangements.

Workshop Agenda

The agenda has not yet been completed decided, however, please take into account the following when making travel plans:

I have read and understood the above terms and conditions.*

Should you have any questions or concerns, we will be happy to assist you. Please do not hesitate to contact us by phone or email with any questions or concerns that you may have.

Information

In order to process reimbursements, we require the information below. Please fill out the information below so that we may process your reimbursement and ensure that you receive your reimbursement in a timely manner.

Home Address

The address below must be that of your residence in the country of which you are a citizen.

My home address is the same as the one in the basic information form.

Address Line 1*
Address Line 2
Address Line 3
City* State/Province Postal Code*
Country*


What is your visa type or expected visa classification?*
If you are a citizen of the United States or permanent resident, select \'US Citizen/Permanent Resident\'.
'; if($data['Status'] != 'speaker') { $text .= '

NOTE

You must have a valid visa or be able to participate in the visa waiver program to receive travel support. A list of countries participating in the visa waiver program can be found here.

Your request to receive travel support does not constitute an agreement with Indiana University to provide you with such support. Decisions regarding the amount of support, if any, will be made by April 15, 2005.

'; } else { $text .= '

NOTE

You must have a valid visa or be able to participate in the visa waiver program to receive travel support. A list of countries participating in the visa waiver program can be found here.

'; } if($flag == 1) { $text .= ''; } $text .= '

     
'; break; // ###### accom case 'accom': // flight information $arrival = gen_datetime($data['AFlightTime'], 'aflight'); $departure = gen_datetime($data['DFlightTime'], 'dflight'); // visibility of questions related to hotel if($data['Hotel'] != 'other') { if($data['Hotel'] == '') { $hqvis = ' style="display: none;"'; } else {$hqvis = ' style="display: block;"'; } } else { $hqvis = ' style="display: none;"'; } $text .= '

Accommodation

To better assist you with your transportation arrangements and your stay during the workshop, we would like for you to fill out the following information. For information regarding reimbursements, please see travel support page.

I intend to stay at:*
Please see here for more accommodation information.
If you live in Bloomington, please select "other".
'; global $hotelvalues; global $hotelnames; $y = (sizeof($hotelvalues)-1); for($x = 0; $x <= $y; $x++) { if($hotelvalues[$x] == $data['Hotel']) { $text .= ' ' . $hotelnames[$x] . '
'; } else { $text .= ' ' . $hotelnames[$x] . '
'; } } $text .= '

For my room, I prefer:*
'; $values = array('ns','s'); $names = array('Non-smoking','Smoking'); for($x = 0; $x <= $y; $x++) { if($values[$x] == $data['SmokingPref']) { $text .= ' ' . $names[$x] . '
'; } else { $text .= ' ' . $names[$x] . '
'; } } $text .= '

Accessibility
If you require a handicap-accessible room or any other special arrangements, please contact bioc@indiana.edu.

'; // roommate question for those who are not speakers if($data['Status'] != 'speaker') { // roommate $text .= '
I would like help locating a roommate for the workshop.*
'; $values = array('y', 'n'); $names = array('Yes', 'No'); for($x = 0; $x <= 1; $x++) { if($values[$x] == $data['Roommate']) { $text .= ' ' . $names[$x] . '
'; } else { $text .= ' ' . $names[$x] . '
'; } } $text .= '
'; if($data['Roommate'] == 'y') { $display = ' class="vis"'; } else { $display = ' class="hid"'; } // sex $text .= '

If you require a roommate, please indicate your sex. We will only use this information for matching you with roommates of the same sex.*
'; $values = array('f', 'm'); $names = array('Female', 'Male'); for($x = 0; $x <= 1; $x++) { if($values[$x] == $data['AccomSex']) { $text .= ' ' . $names[$x] . '
'; } else { $text .= ' ' . $names[$x] . '
'; } } $text .= '
'; } else { // do not include question } // end roommate questions // travel information -- if they are not staying in 'other' $text .= '

Travel Information

Please make your travel arrangements as soon as possible. (For more information about this, please see the travel support page. Once you have made them, please e-mail us your travel itinerary as soon as possible so that we may make best prepare for your stay here. If you will be travelling by plane, please indicate your arrival and departure flight information below:

Please indicate time in 24-hour time (e.g., 8:00 PM = 20:00, 12:30 AM = 00:30).

Arrival Flight* (to Indianapolis)
Airline Flight No. Date & Time of Arrival
' . $arrival . '


Departure Flight* (from Indianapolis)
Airline Flight No. Date & Time of Departure
' . $departure . '


'; if($flag == 1) { $text .= ''; } $text .= '
   
     
'; break; // ###### presentation case 'presentation': $text .= '

Presentation Information

Title of Presentation (maximum length of 255 characters, including spaces)
Special Characters?
If your presentation title has special characters that you cannot enter in your browser, indicate so in the field above and we will use the title that you provide in your abstract. To upload your abstract, see below.


Abstract [due by April 3, 2006]
Abstract Upload Instructions

To upload your abstract for inclusion in the booklet of workshop proceedings, use the form below. The maximum file size is 1 MB (1048576 bytes).

If you uploaded the incorrect file or wish to upload a revised version, upload the new file, and the old file will automatically be replaced with the new file.

Abstract Length: the length of your abstract should be about 1740 to 2300 characters with spaces.

Please click the \'Upload File\' button only once. File uploading may take several minutes depending on network conditions.

'; // if they have uploaded a file, display a note if($data['AbstractFlag'] == 1) { $text .= '
NOTE
You have already uploaded an abstract. If you upload another file here, your old file will be deleted and replaced with the new one. Please note that this action cannot be undone.
'; } $text .= '
'; break; // ###### registration fee case 'rf': $text .= '

Registration Fee

I have read the information below and agree to remit payment according to schedule.*
'; if($data['RegFeeTerms'] == 'y') { $text .= ' Yes
'; } else { $text .= ' Yes
'; } $text .= ' No


     

Registration Fee Information

The following schedule and fees* apply to all participants of the workshop. The registration fee covers participation in all seminars, discussions, and poster sessions, computer access while at Indiana University, and admission to the Biocomplexity 7 Banquet on Tuesday, May 10, 2005 at 6:00 PM.

If you do not have a US bank account, please contact bioc@indiana.edu to discuss fee payment.

We cannot accept payments by credit card. We apologize for any inconvenience that this may cause.


Make a check or money order payable to:
Indiana University

Send payments to:
The Biocomplexity Institute
727 East Third Street
Swain West 157
Indiana University
Bloomington, IN 47405

Registration Fees*

Due to network-related problems, we have extended the early registration deadline through March 25th.

  Graduate
Student
Postdoc Jr Faculty Sr Faculty/
Industry
Early Registration
[through March 25, 2005]
$20 $50 $75 $100
Priority Registration
[March 26 - April 14, 2005]
$50 $75 $100 $125
Late Registration
[April 15 - May 1, 2005]
$100 $100 $150 $150

Registration must be submitted and payment must be received:
Early Registration: by March 25, 2005
Priority Registration: by April 14, 2005
Late Registration: by May 1, 2005

*If you have requested travel support, a portion of the registration fee may be returned. Final decisions regarding travel support will be made by April 15, 2005 and are subject to our receipt of external funding.

The registration fee is non-refundable after April 1, 2005.

'; break; // end registration fee // ###### confirmation case 'confirm': // arrays for information global $hotelsarray; $sp = array('ns' => 'Non-smoking', 's' => 'Smoking'); $yn = array('y' => 'Yes', 'n' => 'No'); $sx = array('-' => '-', 'f' => 'Female', 'm' => 'Male'); $visa = array('' => 'none', 'USC' => 'US Citizen/Permanent Resident', 'F1' => 'F1', 'J1' => 'J1', 'J2' => 'J2', 'H1B' => 'H1B', 'VW' => 'Visa Waiver'); $emp = array('' => 'none', 'grad' => 'Graduate Student', 'postdoc' => 'Postdoctoral Student', 'researcher' => 'Researcher', 'jfaculty' => 'Junior Faculty', 'sfaculty' => 'Senior Faculty'); // name if($data['MName'] != '') { $name = $data['FName'] . ' ' . $data['MName'] . ' ' . $data['LName']; } else { $name = $data['FName'] . ' ' . $data['LName']; } // address $address = $data['Addr1']; if($data['Addr2'] != '') { $address .= ' ' . $data['Addr2']; } if($data['Addr3'] != '') { $address .= ' '. $data['Addr3']; } $address .= ' ' . $data['City'] . ' ' . $data['State'] . ' ' . $data['PostalCode'] . ' ' . $data['Country'] . ' ' . 'E-mail: ' . $data['Email']; // directory $dinfo = array('1' => 'Print my name, title, affiliation, and e-mail address.', '2' => 'Print my name, title, affiliation, e-mail address, and address.', '3' => 'Print my name, title, affiliation, e-mail address, address, and phone number.', '0' => 'Do not include me in the directory.'); // travel support $info = 'Consider me for travel support? ' . $yn[$data['TravelSupport']]; // other information $info .= ' Employer: ' . $data['HomeEmployer'] . ' Employment: ' . $emp[$data['Employment']]; if($data['Sex'] != '') { $info .= ' Sex: ' . $sx[$data['Sex']]; } if($data['Ethnicity'] != '') { $info .= ' Ethnicity: ' . $data['Ethnicity']; } // travel address $taddress = $data['HomeAddr1']; if($data['HomeAddr2'] != '') { $taddress .= ' ' . $data['HomeAddr2']; } if($data['HomeAddr3'] != '') { $taddress .= ' '. $data['HomeAddr3']; } $taddress .= ' ' . $data['HomeCity'] . ' ' . $data['HomeState'] . ' ' . $data['HomePostalCode'] . ' ' . $data['HomeCountry']; // travel information $tinfo = 'Visa Type: ' . $visa[$data['VisaClassification']] ; // accommodation information $accom = 'I intend to stay at: ' . $hotelsarray[$data['Hotel']]; if($data['SmokingPref'] != '') { $accom .= ' Smoking Preference: ' . $sp[$data['SmokingPref']]; } if($data['Roommate'] != '') { $accom .= ' I would like help in locating a roommate for the workshop. ' . $yn[$data['Roommate']]; if($data['Roommate'] == 'y') { $accom .= ' Sex (to assist in finding a roommate): ' . $sx[$data['AccomSex']]; } } // travel information if($data['Status'] == 'speaker' && $data['AFlightAirline'] != '') { $flightinfo = ' Arrival Flight:   ' . $data['AFlightAirline'] . ' ' . $data['AFlightNo'] . ' @ ' . $data['AFlightTime'] . ' Departure Flight:   ' . $data['DFlightAirline'] . ' ' . $data['DFlightNo'] . ' @ ' . $data['DFlightTime']; } else { $flightinfo = ''; } $text = '

Confirmation

IMPORTANT NOTICE
To complete your registration, check the information below to verify that it is accurate. If any changes need to be made, click the links to edit the information. If all of the information is correct, submit your registration by clicking the button at the bottom of the page. Your registration is not complete until you do so.

Basic Information

' . $name . '
' . nl2br($address) . '
' . nl2br($info) . '

'; if($data['Title'] != '') { $text .= 'Title: ' . $data['Title'] . '
'; } if($data['Affiliation'] != '') { $text .= 'Affiliation: ' . $data['Affiliation'] . '
'; } if($data['Telephone'] != '') { $text .= 'Tel. No.: ' . $data['Telephone'] . '
'; } $text .= 'Directory: ' . $dinfo[$data['Directory']] . '
[Edit Basic Information]'; if($data['TravelSupport'] == 'y') { $text .= '

Travel Support

Home Address
' . nl2br($taddress) . '

Other Information
' . nl2br($tinfo) . '
[Edit Travel Support Information]'; } $text .= '

Accommodation & Travel Information

' . nl2br($accom) . ' ' . nl2br($flightinfo) . '
[Edit Accommodation Information]

'; break; // end confirm // ###### return false if undefined default: return false; break; } // end switch return $text; } // end function // ################################################################################################################## // ################################################################################################################## // ################################################################################################################## function updateinfo($form, $data, $input) { global $table; // update info based on form (which is determined by $form) switch($form) { // ###### basic case 'basicinfo': // if they have entered a new password if($data['password'] != '') { // get old password $sql = mysql_query("SELECT Password FROM $table WHERE UID ='$input'"); $oldpw = mysql_fetch_row($sql); // check to see if their old password matches if(md5(md5($data['oldpassword'])) != $oldpw[0]) { return false; } // check to see if the new password matches if($data['password'] == $data['passwordconfirm']) { // then update it $data['password'] = md5(md5($data['password'])); $sqlpw = 'Password = \'' . $data['password']. '\', '; } else { return false; } } // end if entered new password // otherwise, do not update their password else { $sqlpw = ''; } $sql = 'UPDATE ' . $table . ' SET FName = \'' . $data['fname'] . '\', MName = \'' . $data['mname'] . '\', LName = \'' . $data['lname'] . '\',' . $sqlpw . ' Addr1 = \'' . $data['address1'] . '\', Addr2 = \'' . $data['address2'] . '\', Addr3 = \'' . $data['address3'] . '\', City = \'' . $data['city'] . '\', State = \'' . $data['state'] . '\', PostalCode = \'' . $data['postalcode'] . '\', Country = \'' . $data['country'] . '\', Title = \'' . $data['title'] . '\', Affiliation = \'' . $data['affiliation'] . '\', Telephone = \'' . $data['telephone'] . '\', TravelSupport = \'' . $data['travelsupport'] . '\', Directory = \'' . $data['directory'] . '\', HomeEmployer = \'' . $data['employer'] . '\', Employment = \'' . $data['employmentrole'] . '\', Sex = \'' . $data['sex'] . '\', Ethnicity = \'' . $data['ethnicity'] . '\', ChangeDate = now() WHERE UID = \'' . $input . '\''; if(mysql_query($sql)) { return true; } else { return false; } break; // ###### travel case 'travel': $sql = 'UPDATE ' . $table . ' SET HomeAddr1 = \'' . $data['address1'] . '\', HomeAddr2 = \'' . $data['address2'] . '\', HomeAddr3 = \'' . $data['address3'] . '\', HomeCity = \'' . $data['city'] . '\', HomeState = \'' . $data['state'] . '\', HomePostalCode = \'' . $data['postalcode'] . '\', HomeCountry = \'' . $data['country'] . '\', VisaClassification = \'' . $data['visaclassification'] . '\', TravelTerms = \'' . $data['travelterms'] . '\', ChangeDate = now() WHERE UID = \'' . $input . '\''; if(mysql_query($sql)) { return true; } else { return false; } break; // ###### accom case 'accom': // do dates @$aflight = $data['aflightyear'] . '-' . $data['aflightmonth'] . '-' . $data['aflightday'] . ' ' . $data['aflighthour'] . ':' . $data['aflightminutes']; @$dflight = $data['dflightyear'] . '-' . $data['dflightmonth'] . '-' . $data['dflightday'] . ' ' . $data['dflighthour'] . ':' . $data['dflightminutes']; $sql = 'UPDATE ' . $table . ' SET Hotel = \'' . $data['hotel'] . '\', Roommate = \'' . @$data['roommate'] . '\', AccomSex = \'' . @$data['accoms'] . '\', AFlightAirline = \'' . @$data['aflightairline'] . '\', DFlightAirline = \'' . @$data['dflightairline'] . '\', AFlightNo = \'' . @$data['aflightno'] . '\', DFlightNo = \'' . @$data['dflightno'] . '\', AFlightTime = \'' . @$aflight . '\', DFlightTime = \'' . @$dflight . '\', SmokingPref = \'' . @$data['smokingpref'] . '\', ChangeDate = now() WHERE UID = \'' . $input . '\''; if(mysql_query($sql)) { return true; } else { return false; } break; // ###### presentation case 'presentation': $sql = 'UPDATE ' . $table . ' SET PresentationTitle = \'' . $data['presentationtitle'] . '\', ChangeDate = now() WHERE UID = \'' . $input . '\''; if(mysql_query($sql)) { return true; } else { return false; } break; // ###### registration fee case 'rf': if($data['agree'] == '' OR $data['agree'] == 'n') { return false; } $sql = 'UPDATE ' . $table . ' SET RegFeeTerms = \'' . $data['agree'] . '\', ChangeDate = now() WHERE UID = \'' . $input . '\''; if(mysql_query($sql)) { return true; } else { return false; } break; // ###### return false if undefined default: return false; break; } // end switch } // end function updateinfo // ################################################################################################################## // ################################################################################################################## // ################################################################################################################## function register($data) { global $table; $data['password'] = md5(md5($data['password'])); // insert information into database $sql = 'INSERT INTO ' . $table . ' SET FName = \'' . $data['fname'] . '\', MName = \'' . $data['mname'] . '\', LName = \'' . $data['lname'] . '\', Email = \'' . $data['email'] . '\', Status = \'participant\', Password = \'' . $data['password']. '\', Addr1 = \'' . $data['address1'] . '\', Addr2 = \'' . $data['address2'] . '\', Addr3 = \'' . $data['address3'] . '\', City = \'' . $data['city'] . '\', State = \'' . $data['state'] . '\', PostalCode = \'' . $data['postalcode'] . '\', Country = \'' . $data['country'] . '\', Title = \'' . $data['title'] . '\', Affiliation = \'' . $data['affiliation'] . '\', Telephone = \'' . $data['telephone'] . '\', TravelSupport = \'' . $data['travelsupport'] . '\', Directory = \'' . $data['directory'] . '\', HomeEmployer = \'' . $data['employer'] . '\', Employment = \'' . $data['employmentrole'] . '\', Sex = \'' . $data['sex'] . '\', Ethnicity = \'' . $data['ethnicity'] . '\', ChangeDate = now()'; if(mysql_query($sql)) { return 1; } else { return false; } } // end function updateinfo // ################################################################################################################## // ################################################################################################################## // ################################################################################################################## function process($data) { // add slashes to data and trim it foreach($data as $key => $value) { $data[$key] = addslashes(trim($data[$key])); } return $data; } // end function process // ################################################################################################################## // ################################################################################################################## // ################################################################################################################## function validate($form, $data) { // update info based on form (which is determined by $form) switch($form) { // ###### basic case 'basicinfo': // check fields // check email only if it is not the update form, which does have the oldpassword field if(!isset($data['oldpassword'])) { if($data['email'] == '') { return 'No e-mail address was entered. Please enter one.'; } if($data['email'] != $data['emailconfirm']) { return 'The two e-mail addresses entered did not match. Please re-enter them and ensure that they match.'; } if(strlen($data['email']) > 60) { return 'The e-mail addressed entered is too long; the maximum length is 60 characters.'; } } // end if not the update form // check password // if the form is the update one, then the old password field will be set if(isset($data['oldpassword'])) { // check password if they have entered something into the password field if($data['password'] != '') { $checkflag = 1; } else { $checkflag = 0; } } // end if old password field is not set else { $checkflag = 1; } // otherwise check it only if requested if($checkflag == 1) { if($data['password'] == '') { return 'Please enter a password.'; } if($data['password'] != $data['passwordconfirm']) { return 'The two passwords entered did not match. Please re-enter them and ensure that they match.'; } if(strlen($data['password']) < 5) { return 'The password must be at least five characters in length.'; } if(!preg_match("/^[A-Za-z0-9]+$/", $data['password'])) { return 'The password contains invalid characters. Please enter a password with only alpha-numeric characters.'; } } // address if($data['fname'] == '' OR $data['lname'] == '') { return 'Please enter both your first and last name.'; } if($data['address1'] == '' OR $data['postalcode'] == '' OR $data['country'] == '') { return 'The address was not filled out completely. Please fill in all of the required address fields.'; } // travel support if(!isset($data['travelsupport']) OR $data['travelsupport'] == '') { return 'Please indicate whether or not you need travel support.'; } // other info if($data['employer'] == '' OR $data['employmentrole'] == -1) { return 'Please enter your employer and your role at your place of employment.'; } return 1; break; // ###### travel case 'travel': // address if($data['address1'] == '' OR $data['postalcode'] == '' OR $data['country'] == '') { return 'The address was not filled out completely. Please fill in all of the required address fields.'; } if($data['visaclassification'] == -1) { return 'Please enter your visa classification or expected visa classification.'; } return 1; break; // ###### accom case 'accom': if(!isset($data['hotel']) OR $data['hotel'] == '') { return 'Please indicate which hotel at which you will be staying.'; } return 1; break; // ###### presentation case 'presentation': if($data['presentationtitle'] == '') { return 'Please enter the title of your presentation.'; } return 1; break; // ###### return 1 if undefined default: return 1; break; } // end switch } // end function updateinfo // ################################################################################################################## // ################################################################################################################## // ################################################################################################################## // to generate the type drop-down box function gen_datetime($datetime, $prefix) { $data = explode(' ', $datetime); // if null, write null values if($datetime == NULL) { $date = array(2006, 5, null); $time = array(null, null, null); } else { $date = explode('-', $data[0]); $time = explode(':', $data[1]); } $months = array('', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); // print form $form = ' at : '; return $form; } // end function gen_datetime // ################################################################################################################## ?>