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

File: [Development] / p2rx-programs / dsp_addprogramstypes.cfm (download)
Revision: 1.2, Tue Mar 22 19:39:21 2005 UTC (4 years, 8 months ago) by neenan
Branch: MAIN
Changes since 1.1: +7 -8 lines
Commented out span and image reference links.

<!--- 	Name:  dsp_Addprogramtypes.cfm
    	Purpose: It helps to add the relation between existing program types and organization in your dummy program database.
				 It also transfers all the programTypeID values that the user selects to act_addProgramTypes.cfm where 
				the actual action of inserting the association between the organization and its related program 
				types in table dOrgToProgramType
		Date created: 02/23/2005
       	Dependancy: URL.Orgid
		Variables: 	ProgramTypeID - Unique ID of each ProgramType
					ProgramType - Type of the Program organization
					OrganizationName - Name of the organization
					
		Functions: 
		Date changed: 	02/23/2005		Prabin & Neena	    Creation and Documentation
						03/22/2005		Neena				Commented out the Span tags 
---> 

<cfquery name="progtypes" datasource="#Programsdb#">
Select ProgramType, ProgramTypeID
From dProgramTypes
Where Approved = 0
</cfquery>

<cfquery name="getORG" datasource="#Programsdb#">
	SELECT 	OrganizationName
	FROM	dOrganization
	WHERE	OrgID = #URL.OrgID#
</cfquery>

<body>

<table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
        <tr> 
          <td> 
            <p>	
			<!--- <span class="subheading"> --->
				ADD A PROGRAM -> <!--- <img src="../images/siteimage/dart.gif" border="0"> --->
				PROGRAM TYPES<!--- <img src="../images/siteimage/dart.gif" border="0"></span> --->
				<!--- <span class="sublink2"> --->Step 3 <!--- <img src="../images/siteimage/dart.gif" border="0"></span> ---><br><br>
				
			
			<cfoutput query="getORG">Organization Name: &nbsp;&nbsp;&nbsp; <strong>#OrganizationName#</strong></cfoutput><br><br>
			
			Please select the program type(s) which describe your organization.<br>
			<span class="redtext"><font style="color: red">* At least One</font></span><br><br>
		<form name="addProgramsTypes" action="addeditprograms.cfm?fuseaction=AssociateServices&OrgID=<cfoutput>#URL.OrgID#</cfoutput>" onsubmit="return Validate(this)" method="post">
			<table width="95%" border="0" cellspacing="0" cellpadding="5" bgcolor="#F4FFE9">
				<cfloop query="progtypes">
					<tr>
						<cfoutput>
							<td colspan="2"><div class="formtext">
								<input type="checkbox" name="ProgramTypeID" value="#ProgramTypeID#">
							#ProgramType#</div>
							</td>
						</cfoutput>
					</tr>
				</cfloop>
				<tr> 
      				<td colspan="2"><div class="formtext">
					<INPUT type="submit" value="Submit">
	  				<INPUT type="reset" value="Reset"></div></td>
    			</tr>
		</table>
	</form>

</td>
</tr>
</table>
</p>

CVS Admin
Powered by
ViewCVS 1.0-dev