(file) Return to dsp_addcontactconfirm.cfm CVS log (file) (dir) Up to [Development] / p2rx-programs

 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            			<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            			
35            				<cfoutput>Organization Name: &nbsp;&nbsp;&nbsp; <strong>#getORGID.OrganizationName#</strong></cfoutput><br><br>
36            
37            	<!--- <form name="addContact" action="addeditprograms.cfm?fuseaction=<cfoutput>#action#</cfoutput>&OrgID=<cfoutput>#getOrgID.OrgID#</cfoutput>" method="post"> --->
38            			<table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9">
39            				<tr>
40            					<td><div class="formtext">Would you like to add more contacts?</div>
41            				</tr>
42            				<tr> 
43 neenan 1.1 					<td>&nbsp;</td>
44                  				<td><div class="formtext">
45            					<cfif #URL.fuseaction# IS "addmorecontacts">
46            					<a href="addeditprograms.cfm?fuseaction=addnewcontacts&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a> &nbsp;&nbsp;&nbsp;&nbsp;
47            	  				<a href="addeditprograms.cfm?fuseaction=AssociateProgramTypes&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div>
48            					<cfelseif #URL.fuseaction# IS "addmorecontacts1">
49            					<a href="addeditprograms.cfm?fuseaction=addnewcontacts1&OrgID=<cfoutput>#URL.orgid#</cfoutput>&confirm=yes"><strong>Yes</strong></a> &nbsp;&nbsp;&nbsp;&nbsp;
50            	  				<a href="addeditprograms.cfm?fuseaction=EditProgramTypes1&OrgID=<cfoutput>#URl.Orgid#</cfoutput>"><strong>No</strong></a></div>
51            					</cfif>
52            					</td>
53            					
54            					
55                			</tr>
56            		</table>
57            <!--- 	</form> --->
58            
59            </td>
60            </tr>
61            </table>
62            </p>
63            <!--- <cfinclude template="../cfi/global_footer.cfm"> --->

CVS Admin
Powered by
ViewCVS 1.0-dev