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

 1 pKanel 1.2 <!--- 	Name:  		linkChecker_programs.cfm
 2                	Purpose:	It retrieves the orgID, organizationName, URL and GraphicURL from the organization table
 3            					of Programs database
 4 pKanel 1.1 		Date created: 06/03/2005
 5                   	Dependancy: None
 6            		Variables: 	OrgID - ID of the organization
 7            					OrganizationName - Name of the organization
 8            					URL - Website of the organization
 9            					GraphicURL - URL of the organization's logo
10 pKanel 1.2 					Division - Division of the organization
11 pKanel 1.1 		Functions: 
12            		Date changed: 
13 pKanel 1.2 					06/06/2005			Prabin		Created
14            					07/25/2005			Prabin		Added Division as well as displays comments if logo
15            													or Org URL is not available.
16            														
17 pKanel 1.1 ---> 
18            
19 pKanel 1.2 <cfquery name="Org_links" datasource="programs">
20            SELECT 		OrgID, OrganizationName, URL, GraphicURL, division
21            FROM 		Organization
22            ORDER BY 	OrganizationName
23 pKanel 1.1 </cfquery>
24            
25 pKanel 1.2 <HTML>
26            	<HEAD>
27            		<TITLE>Programs Directory Link Checking</TITLE>
28            	</HEAD>
29            <BODY>
30            <P><FONT><strong>Programs Directory Link Checking</strong>
31            </FONT>
32             
33            <P><FONT SIZE="-1">Use your link checking software to validate the program and logo URLs in the Programs Directory (see list below).  
34            	Open the <a href="../admin/home.cfm" target="_blank">Programs Directory</a> and edit programs as necessary.</FONT></p>
35 pKanel 1.1 
36 pKanel 1.2  
37 pKanel 1.1 <table>
38 pKanel 1.2 <cfoutput query="org_links">
39 pKanel 1.1 <tr><td>#OrgID#</td><td><strong>#OrganizationName#</strong></td></tr>
40 pKanel 1.2 <cfif Division is not "" and Division is not "N/A">
41                        <tr><td>&nbsp;</td><td> <em><font color="##FF0000">Division:  </font><strong>#Division#</strong></td></tr>
42            </cfif>
43            <tr><td>&nbsp;</td>
44            <cfif url is not "" and url is not "N/A">
45                        <td>Program:&nbsp;&nbsp;
46                                    <cfif url Contains "http://" Or url contains "https://">
47                                                <a href="#url#">#url#</a>
48                                    <cfelse>
49                                                <a href="http://#url#">#url#</a>
50                                    </cfif></td></tr>
51            <cfelse>
52                        <td><em><font color="##0000ff">No URL Listed for this Program</font></em></td>
53            </cfif>
54            <tr><td>&nbsp;</td>
55            <td><cfif #GraphicURL# is ""><em><font color="##FF0000">No Logo Listed for this Program</font></em><cfelse>Logo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=#GraphicURL#>#GraphicURL#</a></cfif></td></tr>
56 pKanel 1.1 </cfoutput>
57            </table>
58 pKanel 1.2  </BODY>
59            </HTML> 

CVS Admin
Powered by
ViewCVS 1.0-dev