1 neenan 1.1 <!--- Name: act_getPrograms.cfm
2 Purpose: This functions as the action file to retreive the organizational information entered by the current user accessing the Programadmin forms.
3 The information is displayed on the dsp_editOrganization.cfm via the "editorganization" fuseaction method.
4 This page is called in the edit mode, changes are done using the act_updateorganization.cfm form to the dorganization table.
5 Dated: 02/24/2005
6 Dependancy: URL.Orgid
7 Variables:
8
9 Functions:
10 Date changed:
11 02/24/2005 Prabin & Neena Created & Documentation
12 --->
13
14 <P>
15 <a href="../directories/programs.cfm" class="sublink2">
16 Agencies and Programs <img src="../images/siteimage/dart.gif" border="0"></a>
17 </p>
18
19 <cfquery name="provider" datasource="#programsdb#">
20 SELECT organizationname,*
21 FROM dOrganization
22 neenan 1.1 where orgID = #URL.orgid#
23 </cfquery>
24
25 <cfif #URL.fuseaction# IS "GetOrganizations">
26
27 <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
28 <tr>
29 <td>
30 <p><span class="tableheading">Programs in Region 7</span> <br><br>
31 <p><cfoutput query="provider"><a href="details.cfm?orgid=#orgid#" class="subheading">#organizationName#</a>
32 <a href="addeditprograms.cfm?FuseAction=Editorganization&OrgID=#orgid#">Edit</a>
33
34 <br><br></cfoutput>
35
36 <a href="#top"><img src="../images/SiteImage/top.gif" border="0"></a><br><br>
37
38 </tr>
39 </table>
40 </cfif>
41
42 <cfif #URL.fuseaction# IS "EDITORGANIZATIONS">
43 neenan 1.1
44 <table width="100%" border="0" cellspacing="0" cellpadding="10" name="text">
45 <tr>
46 <td>
47 <p><span class="tableheading">Programs in Region 7</span> <br><br>
48 <p><cfoutput query="provider"><a href="details.cfm?orgid=#orgid#" class="subheading">#provider.organizationName#</a>
49 <a href="addeditprograms.cfm?FuseAction=Editorg&OrgID=#orgid#">Edit</a>
50
51 <br><br></cfoutput>
52
53 <a href="#top"><img src="../images/SiteImage/top.gif" border="0"></a><br><br>
54
55 </tr>
56 </table>
57 </CFIF>
58
|