Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frm_submit_usage_request.cfm:
- <!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">
- <!-- DW6 -->
- <head>
- <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
- <title>SRL: Toxicology/Carcinogen Exposue Laboratory Usage Request Form</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../mm_lodging1.css" type="text/css" />
- <style type="text/css">
- <!--
- .style3 {color: #FF0000}
- .style6 {
- font-size: 14px;
- font-weight: bold;
- }
- -->
- </style>
- </head>
- <!--- Set the length of the text string for the CAPTCHA image. --->
- <cfset stringLength=6>
- <!--- Specify the list of characters used for the random text string. The following list
- limits the confusion between upper- and lowercase letters as well as between numbers and
- letters. --->
- <cfset
- stringList="2,3,4,5,6,7,8,9,a,b,d,e,f,g,h,j,n,q,r,t,y,A,B,C,D,E,F,G,H,K,L,M,N,P,Q,R,S,
- T,U,V,W,X,Y,Z">
- <cfset rndString="">
- <!--- Create a loop that builds the string from the random characters. --->
- <cfloop from="1" to="#stringLength#" index="i">
- <cfset rndNum=RandRange(1,listLen(stringList))>
- <cfset rndString=rndString & listGetAt(stringList,rndNum)>
- </cfloop>
- <!--- Hash the random string. --->
- <cfset rndHash=Hash(rndString)>
- <body bgcolor="#183a53">
- <!--- There are people on the principal_investigator table --->
- <!--- that have department id's of 0. Since this --->
- <!--- application's reporting feature will need a --->
- <!--- need a department, the pi's are required to have one.
- <cfquery name="filter_pi" datasource="OSP">
- SELECT pi_id, rtrim(principal_investigator.PI_lname) & ', ' & rtrim(principal_investigator.PI_fname) as thename
- FROM principal_investigator
- WHERE principal_investigator.pi_status in ('Y','A')
- ORDER BY principal_investigator.PI_lname+','+principal_investigator.PI_fname;
- </cfquery>
- --->
- <table width="107%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="15" nowrap="nowrap"><img src="../mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
- <td height="60" colspan="3" class="logo" nowrap="nowrap"><br />
- SEAWATER RESEARCH LABORATORY</td>
- <td width="13"> </td>
- <td width="4"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="../mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr bgcolor="#c4c4c6">
- <td width="15" nowrap="nowrap"> </td>
- <td height="19" colspan="3" bgcolor="#c4c4c6"class="navText" id="navigation"> </td>
- <td width="13"> </td>
- <td width="4"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="../mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="2" valign="top" bgcolor="#FFFFFF"><table border="0" cellspacing="0" cellpadding="0" width="15">
- <tr>
- <td width="15"> </td>
- </tr>
- </table> </td>
- <td width="50" valign="top"><img src="../mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
- <td width="775" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="1139">
- <tr>
- <td width="1139" class="pageName"><p class="style6">Toxicology/Carcinogen Exposure Laboratory Usage Request Form</p></td>
- </tr>
- <tr>
- <td class="bodyText">
- <cfform action="qry_submit_usage_request.cfm" >
- <table width="825" >
- <tr>
- <td rowspan="2" valign="top"><p><strong> Submitter:<br />
- </strong></p> </td>
- <td colspan="2"><div align="center"><strong>Name</strong></div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td colspan="3"><cfinput type="text" name="submitter" size="50" required="yes" message="Submitter's name is required." />
- <div align="center"></div></td>
- </tr>
- <tr>
- <td valign="top"><strong>Email</strong></td>
- <td colspan="3"><cfinput name="submitter_email" size="20" required="yes" message="Submitter's Email Address is required."/></td>
- </tr>
- <tr>
- <td width="286" rowspan="2" valign="top"><strong>Principal Investigator(s):<span class="style3"><br />
- </span></strong></td>
- <td colspan="2" valign="top">
- <div align="center"><strong>Name<br />
- </strong></div>
- </span></td>
- <td valign="top"> </td>
- </tr>
- <tr>
- <td colspan="2" valign="top"><cfinput type="text" name="pi1" size="50" />
- <br />
- <cfinput type="text" name="pi2" size="50" />
- <br />
- <cfinput type="text" name="pi3" size="50" /></td>
- <td valign="top"> </td>
- </tr>
- <tr>
- <td valign="top"><strong>Project Description:</strong></td>
- <td colspan="3"><cftextarea name="project_description" rows="2" cols="50" required="yes" message="Project Description required."></cftextarea></td>
- </tr>
- <tr>
- <td height="39" valign="top"><strong>Toxin(s) to be used:</strong></td>
- <td colspan="3" valign="top"><textarea name="toxins" rows="2" cols="50" required="no"></textarea></td>
- </tr>
- <tr>
- <td valign="top"><strong>Quantities of Toxins to be used:</strong></td>
- <td colspan="3">
- <cfinput type="text" name="qty_toxins" size="50"/> </td>
- </tr>
- <tr>
- <td><strong>Target organism:</strong></td>
- <td colspan="3">
- <cfinput type="text" name="target_organism" size="50" /></td>
- </tr>
- <tr>
- <td valign="top"><strong>Known exposure symptoms in humans:</strong></td>
- <td colspan="3"><textarea name="exposure_symptoms" rows="2" cols="50" required="no"></textarea>
- <label></label></td>
- </tr>
- <tr>
- <td valign="top"><strong>Method of Exposure:</strong></td>
- <td colspan="3">
- <cfselect name="exposure_method" size="3" required="yes" message="Exposure Method is required.">
- <option value="Injection">Injection</option>
- <option value="Ingestion">Ingestion</option>
- <option value="Static Bath Immersion">Static Bath Immersion</option>
- <option value="Other">Other</option>
- </cfselect> </td>
- </tr>
- <tr>
- <td valign="top"><strong>Method of decontamination:</strong></td>
- <td colspan="3"><p>
- <cfselect name="method_decontamination" size="3" required="yes" message="Method of Decontamination is required.">
- <option value="Sequestering">Sequestering</option>
- <option value="Oxidation Destruction">Oxidation Destruction</option>
- <option value="Other">Other</option>
- </cfselect>
- </p> </td>
- </tr>
- <tr>
- <td valign="top"><strong>Decontamination media:</strong></td>
- <td colspan="3"><cfinput type="text" name="decontamination_media" size="50" /></td>
- </tr>
- <tr>
- <td valign="top"><strong>Is the appropriate safety equipment available or has it been ordered for all authorized personnel?</strong></td>
- <td colspan="3" valign="top"><cfselect name="cbo_personnel" size="3" required="yes" message="Has the appropriate safety equipment been ordered for all authorized personnel?">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="NA">NA</option>
- </cfselect></td>
- </tr>
- <tr>
- <td valign="top"><strong>Have all authorized personnel received training on handling and use of hazardous substances?</strong></td>
- <td colspan="3">
- <cfselect name="authorized_personnel" size="2" required="yes" message="Has the project been approved by the IBC committee?">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="Pending">Pending</option>
- </cfselect> </td>
- </tr>
- <tr>
- <td valign="top"><strong>Is this project subject to review by the IBC committee?
- </strong></td>
- <td width="178" valign="top"><strong>
- <cfselect name="cbo_ibc" size="3" required="yes" message="Has the project been approved by the IBC committee?">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </cfselect>
- </strong></td>
- <td width="122" valign="top"><strong>If yes, has approval been received?</strong></td>
- <td width="219" valign="top"><cfselect name="cbo_ibc_app" size="2" required="no">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="Pending">Pending</option>
- </cfselect></td>
- </tr>
- <tr>
- <td valign="top"><strong>Is this project subject to review by the IACUC committee?</strong></td>
- <td valign="top"><cfselect name="cbo_iacuc" size="3" required="yes" message="Has the project been approved by the IACUC committee?">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="NA">NA</option>
- </cfselect></td>
- <td valign="top"><strong>If yes, has approval been received?</strong></td>
- <td valign="top"><cfselect name="cbo_iacuc_app" size="2" >
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="Pending">Pending</option>
- </cfselect></td>
- </tr>
- <tr>
- <td valign="top"><strong>Has the SRL Usage Request Form been submitted?</strong></td>
- <td colspan="3" valign="top"><cfselect name="cbo_srl" size="3" required="yes" message="Has the SRL Usage Request Form been submitted?">
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- <option value="Submitted with this form">Submitted with this form</option>
- </cfselect></td>
- </tr>
- </table>
- <!--- Use the randomly generated text string for the CAPTCHA image. --->
- <p>
- <cfimage action="captcha" fontSize="24" fonts="Times New Roman" width="350" height="50"
- text="#rndString#">
- <p>P<strong>lease type what you see. Password is case sensitive. <br />
- Spaces between the letters are not required.:</strong> </p>
- <p><cfinput type="text" name="userInput" required="yes" maxlength=6 message="Password is required.">
- <cfinput type="hidden" name="hashVal" value="#rndHash#">
- <p>
- <input type="Submit" value="Submit" name="Submit" /><input type="reset" value="Reset">
- </p>
- <!--- Check for the existance of this parameter. If it exists, then this form is --->
- <!--- being submitted from index.html, which is the main menu --->
- <!--- Allow them to have only the "Main Menu" button that will return them --->
- <!--- to index.html.
- <cfif isdefined("URL.pv_user")>
- <input name="btn_index_main" type="button" value="Main Menu" onclick="location.href='../ar_vims_index.html'" />
- <cfelse>--->
- <!--- Passing this url to dras_index.cfm prevents the user from having --->
- <!--- to log back in. Allows the user to bypass validation. --->
- <input name="btn_index" type="button" value="Main Menu" onclick="location.href='../ar_vims_index.html?pv_user2=2'"/>
- <!---
- </cfif>--->
- </p>
- </cfform>
- Updated April 30, 2010<br /> </td>
- </tr>
- </table> </td>
- <td width="13"> </td>
- <td width="4"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="file:///C|/Inetpub/wwwroot/web_pages/advisory_services/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr>
- <td width="15"> </td>
- <td width="29"> </td>
- <td width="50"> </td>
- <td width="775"> </td>
- <td width="13"> </td>
- <td width="4"> </td>
- </tr>
- </table>
- </body>
- </html>
- Action form, qry_submit_usage_request.cfm
- <!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">
- <!-- DW6 -->
- <head>
- <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
- <title>Seawater Research Laboratory: Toxiclogy/Carcinogen Exposure Laboratory Usage Request Form</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="../mm_lodging1.css" type="text/css" />
- <style type="text/css">
- <!--
- .style2 {color: #CC3300}
- .style3 {color: #183a53}
- .style4 {
- color: #000000;
- font-weight: bold;
- }
- .style5 {color: #183A53}
- .style6 {color: #000000}
- .style7 {color: #FF0000}
- -->
- </style>
- </head>
- <body bgcolor="#183a53">
- <!---Get the submitter's name to display in the confirmation message
- <cfquery name="filter_pi" datasource="OSP">
- SELECT pi_id, rtrim(principal_investigator.PI_fname) & ' ' & rtrim(principal_investigator.PI_lname) as thename,
- pi_email
- FROM principal_investigator
- WHERE principal_investigator.pi_status in ('Y','A')
- and pi_id = #form.cbo_submitter#;
- </cfquery>
- --->
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="15" nowrap="nowrap"><img src="../mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
- <td height="60" colspan="3" class="logo" nowrap="nowrap"><br />
- SEAWATER LABORATORY</td>
- <td width="4"> </td>
- <td width="154"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="../mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr bgcolor="#c4c4c6">
- <td width="15" nowrap="nowrap"> </td>
- <td height="19" colspan="3" id="navigation" class="navText"> </td>
- <td width="4"> </td>
- <td width="154"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="../mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="2" valign="top" bgcolor="#FFFFFF"><table border="0" cellspacing="0" cellpadding="0" width="15">
- <tr>
- <td width="15"> </td>
- </tr>
- </table> </td>
- <td width="50" valign="top"><img src="../mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
- <td width="532" valign="top"><br />
- <br />
- <table border="0" cellspacing="0" cellpadding="0" width="440">
- <tr>
- <td class="pageName"><p> </p></td>
- </tr>
- <tr>
- <td class="bodyText">
- <cfform>
- <!--- Verify whether the text entered by the user matches the CAPTCHA string. --->
- <cfif #form.hashval# eq Hash(#form.userInput#)>
- <!--- Message to display to the user on form submittal --->
- <p><strong><span class="style5">Thank you,</span> <cfoutput><span class="style2">#form.submitter#</span></cfoutput><span class="style5">.</span><br />
- <span class="style5">Your "Toxicology/Carcinogen Exposure Laboratory Usage Request Form" has been submitted.</span></strong> <span class="style5"><strong>You will be emailed a copy of the submitted form</strong> <strong>to keep for your records. You may also wish to print or save this report to your PC by using the options on your browser's toolbar.</strong></span><br />
- </p>
- <table width="505" >
- <tr>
- <th colspan="2" scope="col" bgcolor="#81a0be"><span class="style6">Toxicology/Carcinogen Exposure Laboratory Usage Request Form</span></th>
- </tr>
- <tr>
- <td colspan="2" bgcolor=""><strong>Submitter:</strong> <cfoutput><span class="style2">#form.submitter#</span></cfoutput> </td>
- </tr>
- <tr>
- <td colspan="2"><strong>Principal Investigator(s): </strong><cfoutput><span class="style2">#form.pi1#, #form.pi2#, #form.pi3#</span></cfoutput></td>
- </tr>
- <tr>
- <td colspan="2"><strong>Project Description:</strong><cfoutput><span class="style2"> #form.project_description#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Toxin(s) to be used</strong><cfoutput><span class="style2">: </span></cfoutput></td>
- <td><cfoutput><span class="style2">#form.toxins#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Quantities of toxins to be used:</strong><cfoutput></cfoutput></td>
- <td><cfoutput><span class="style2">#form.qty_toxins#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Known exposure symptons in humans: </span><cfoutput></cfoutput></td>
- <td><cfoutput><span class="style2">#form.exposure_symptoms#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Method of Exposure :</span><cfoutput></cfoutput></td>
- <td><cfoutput><span class="style2">#form.exposure_method#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Method of decontamination: </span><cfoutput></cfoutput></td>
- <td><cfoutput><span class="style2">#form.method_decontamination#</span></cfoutput></td>
- </tr>
- <tr>
- <td width="229"><span class="style4">Decontamination media:</span><cfoutput></cfoutput></td>
- <td width="193"><cfoutput><span class="style2">#form.decontamination_media#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Is the appropriate safety equipment available or has it been ordered for all authorized personnel?</span></td>
- <td valign="top"><cfoutput><span class="style2">#form.cbo_personnel#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Have all authorized personnel received training on handling and use of hazardous substances?</span></td>
- <td valign="top"><cfoutput><span class="style2">#form.authorized_personnel#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Is this project subject to review by the IBC committee?</span></td>
- <td><cfoutput><span class="style2">#form.cbo_ibc#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">If yes, has approval been received?</span></td>
- <td><cfoutput><span class="style2">#form.cbo_ibc_app#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Is this project subject to review by the IACUC committee?</span></td>
- <td><cfoutput><span class="style2">#form.cbo_iacuc#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">If yes, has approval been received?</span></td>
- <td><cfoutput><span class="style2">#form.cbo_iacuc_app#</span></cfoutput></td>
- </tr>
- <tr>
- <td><span class="style4">Has the SRL Usage Request Form been submitted?</span></td>
- <td><cfoutput><span class="style2">#form.cbo_srl#</span></cfoutput></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <p> </p>
- <a href="http://www.vims.edu/about/facilities/seawaterlab/index.php" class="style3">Back to Seawater Research Lab </a></p>
- <cfelse>
- <p class="style7">Sorry, the code you entered was incorrect. User your browser's "Back" button and try again.</p>
- </cfif>
- </cfform>
- <br /> </td>
- </tr>
- </table> </td>
- <td width="4"> </td>
- <td width="154"> </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td colspan="6"><img src="../mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
- </tr>
- <tr>
- <td width="15"> </td>
- <td width="73"> </td>
- <td width="50"> </td>
- <td width="532"> </td>
- <td width="4"> </td>
- <td width="154"> </td>
- </tr>
- </table>
- </body>
- </html>
- <!--- Define veriables that can be used to display values --->
- <!--- within the email messages.
- <cfset pv_name = filter_pi.thename>
- <cfset pv_email = filter_pi.pi_email>--->
- <!---Email to DRAS staff
- <cfmail from="#form.submitter_email#" to="jxxxx@vims.edu, jxxxxx@vims.edu, #pv_email#" subject="SRL - Toxicology/Carcinogen Exposure Laboratory Usage Request Form" type="html">--->
- <!--- Verify whether the text entered by the user matches the CAPTCHA string. --->
- <cfif #form.hashval# eq Hash(#form.userInput#)>
- <cfmail from="#form.submitter_email#" to="jxxxx@vims.edu, #form.submitter_email#" subject="SRL - Toxicology/Carcinogen Exposure Laboratory Usage Request Form" type="html">
- <table width="834" >
- <tr>
- <th colspan="2" scope="col" ><span class="style6">Toxicology/Carcinogen Exposure Laboratory Usage Request Form</span></th>
- </tr>
- <tr>
- <td colspan="2" bgcolor=""><strong>Submitter:</strong> <cfoutput><span class="style2">#form.submitter#</span></cfoutput> </td>
- </tr>
- <tr>
- <td colspan="2"><strong>Principal Investigator(s): </strong><cfoutput><span class="style2">#form.pi1#, #form.pi2#, #form.pi3#</span></cfoutput></td>
- </tr>
- <tr>
- <td colspan="2"><strong>Project Description:</strong><cfoutput><span class="style2"> #form.project_description#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Toxin(s) to be used</strong><cfoutput><span class="style2">: </span></cfoutput></td>
- <td><cfoutput><span class="style2">#form.toxins#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Quantities of toxins to be used:</strong></td>
- <td><cfoutput><span class="style2">#form.qty_toxins#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Known exposure symptons in humans: </strong></td>
- <td><cfoutput><span class="style2">#form.exposure_symptoms#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Method of Exposure :</strong></td>
- <td><cfoutput><span class="style2">#form.exposure_method#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Method of decontamination: </strong></td>
- <td><cfoutput><span class="style2">#form.method_decontamination#</span></cfoutput></td>
- </tr>
- <tr>
- <td width="322"><strong>Decontamination media:</strong></td>
- <td width="209"><cfoutput><span class="style2">#form.decontamination_media#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>Is the appropriate safety equipment available or has it been ordered for all authorized personnel?</strong></td>
- <td valign="top"><cfoutput>#form.cbo_personnel#</cfoutput></td>
- </tr>
- <tr>
- <td><strong>Have all authorized personnel received training on handling and use of hazardous substances?</strong></td>
- <td valign="top"><cfoutput>#form.authorized_personnel#</cfoutput></td>
- </tr>
- <tr>
- <td><strong>Is this project subject to review by the IBC committee?</strong></td>
- <td><cfoutput><span class="style2">#form.cbo_ibc#</span></cfoutput></td>
- </tr>
- <tr>
- <td><strong>If yes, has approval been received?</strong></td>
- <td><cfoutput>#form.cbo_ibc_app#</cfoutput></td>
- </tr>
- <tr>
- <td><strong>Is this project subject to review by the IACUC committee?</strong></td>
- <td><cfoutput>#form.cbo_iacuc#</strong></cfoutput></td>
- <td width="142"><strong>If yes, has approval been received?</strong></td>
- <td width="141"><cfoutput>#form.cbo_iacuc_app#</cfoutput></td>
- </tr>
- <tr>
- <td><strong>If yes, has approval been received?</strong></td>
- <td><cfoutput>#form.cbo_iacuc_app#</cfoutput></td>
- </tr>
- <tr>
- <td><strong>Has the SRL Usage Request Form been submitted?</strong></td>
- <td><cfoutput>#form.cbo_srl#</cfoutput></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </cfmail>
- <!--- if the has value doesn't match, then don't send email.--->
- </cfif>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement