|
|
|
|
File: [Development] / p2rx-programs / LinkChecker_Programs.cfm
(download)
Revision: 1.2, Mon Jul 25 15:23:32 2005 UTC (4 years, 3 months ago) by pKanel Branch: MAIN CVS Tags: HEAD Changes since 1.1: +42 -22 lines Made enhancements to display Division |
<!--- Name: linkChecker_programs.cfm
Purpose: It retrieves the orgID, organizationName, URL and GraphicURL from the organization table
of Programs database
Date created: 06/03/2005
Dependancy: None
Variables: OrgID - ID of the organization
OrganizationName - Name of the organization
URL - Website of the organization
GraphicURL - URL of the organization's logo
Division - Division of the organization
Functions:
Date changed:
06/06/2005 Prabin Created
07/25/2005 Prabin Added Division as well as displays comments if logo
or Org URL is not available.
--->
<cfquery name="Org_links" datasource="programs">
SELECT OrgID, OrganizationName, URL, GraphicURL, division
FROM Organization
ORDER BY OrganizationName
</cfquery>
<HTML>
<HEAD>
<TITLE>Programs Directory Link Checking</TITLE>
</HEAD>
<BODY>
<P><FONT><strong>Programs Directory Link Checking</strong>
</FONT>
<P><FONT SIZE="-1">Use your link checking software to validate the program and logo URLs in the Programs Directory (see list below).
Open the <a href="../admin/home.cfm" target="_blank">Programs Directory</a> and edit programs as necessary.</FONT></p>
<table>
<cfoutput query="org_links">
<tr><td>#OrgID#</td><td><strong>#OrganizationName#</strong></td></tr>
<cfif Division is not "" and Division is not "N/A">
<tr><td> </td><td> <em><font color="##FF0000">Division: </font><strong>#Division#</strong></td></tr>
</cfif>
<tr><td> </td>
<cfif url is not "" and url is not "N/A">
<td>Program:
<cfif url Contains "http://" Or url contains "https://">
<a href="#url#">#url#</a>
<cfelse>
<a href="http://#url#">#url#</a>
</cfif></td></tr>
<cfelse>
<td><em><font color="##0000ff">No URL Listed for this Program</font></em></td>
</cfif>
<tr><td> </td>
<td><cfif #GraphicURL# is ""><em><font color="##FF0000">No Logo Listed for this Program</font></em><cfelse>Logo: <a href=#GraphicURL#>#GraphicURL#</a></cfif></td></tr>
</cfoutput>
</table>
</BODY>
</HTML>
| CVS Admin |
Powered by ViewCVS 1.0-dev |