|
|
|
1 neenan 1.1 <!--- Name: dsp_addcontactconfirm.cfm 2 Purpose: This file displays the choice if more contacts need to be added or not. On clicking YES a variable value is compared and the 3 dsp_addcontact form is bought up for adding further contacts. It is called each time 4 a user selects "YES" to add one or more contacts.It also transfers all the form variables to act_addcontact.cfm 5 and the actual action of inserting the data into the table(contact) happens in act_addcontact.cfm 6 Date created: 02/23/2005 7 Dependancy: URl.Orgid - The organization id on the form URL to reference in Queries 8 9 Variables: getOrgID.OrganizationName and GetOrgID.OrgId are used to display newly added organization name and ID. 10 11 Functions: 12 Date changed: 13 02/23/2005 Prabin & Neena creation and Documentation 14 ---> 15 16 <cfoutput> 17 <cfquery name="GetOrgID" datasource="#ProgramsDB#"> 18 Select OrgID, OrganizationName, Times 19 From dOrganization org 20 Where org.orgid = #URL.orgid# 21 </cfquery> 22 neenan 1.1 </cfoutput> 23 24 25 <!-- #BeginEditable "Content" --> 26 <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text"> 27 <tr> 28 <td> 29 <p> | ||
30 neenan 1.3 <!--- <span class="subheading"> ---> 31 ADD A PROGRAM <!--- <img src="../images/siteimage/dart.gif" border="0"> ---> 32 CONTACT PERSON INFO <!--- <img src="../images/siteimage/dart.gif" border="0"> ---><!--- </span> ---> 33 <!--- <span class="sublink2"> --->Step 2 <!--- <img src="../images/siteimage/dart.gif" border="0"> ---><!--- </span> ---><br><br> | ||
34 neenan 1.1 35 <cfoutput>Organization Name: <strong>#getORGID.OrganizationName#</strong></cfoutput><br><br> 36 37 <table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9"> 38 <tr> 39 <td><div class="formtext">Would you like to add more contacts?</div> 40 </tr> 41 <tr> 42 <td> </td> 43 <td><div class="formtext"> 44 <cfif #URL.fuseaction# IS "addmorecontacts"> 45 <a href="addeditprograms.cfm?fuseaction=addnewcontacts&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a> 46 <a href="addeditprograms.cfm?fuseaction=AssociateProgramTypes&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div> 47 <cfelseif #URL.fuseaction# IS "addmorecontacts1"> 48 <a href="addeditprograms.cfm?fuseaction=addnewcontacts1&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a> 49 <a href="addeditprograms.cfm?fuseaction=EditProgramTypes1&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div> 50 </cfif> 51 </td> 52 53 54 </tr> 55 neenan 1.1 </table> | ||
56 neenan 1.2 | ||
57 neenan 1.1 58 </td> 59 </tr> 60 </table> 61 </p> |
| CVS Admin |
Powered by ViewCVS 1.0-dev |