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

  1 pKanel 1.1 <!--- 	Name:  index.cfm
  2                	Purpose: This file is the engine for programs application. Different functionalities are 
  3            				executed depending upon the value of pageaction. All the regional specific variables
  4            				are initialized on this file.
  5            		Date created: 05/01/2006
  6                   	Dependancy: None
  7            		Variables: 	PageAction	- Value that will determine the function that it is suppose to do.
  8            					SearchText - Search term that user will input
  9            					list - State abbreviation
 10            					orgid - Unique idenfier of organization
 11            					format - Format of data it is receiving. In future HTML will be another format
 12            							that it will support.
 13            					title - HTML Title of each page
 14            					Description - Description of each page for metatags
 15            					region - Region number assigned to each regional center
 16            					meta_keywords - Keywords of each page for metatags
 17            					mapname - file name of each regional center map
 18            					regioncenter - Unique abbreviation of each regional center
 19            					regionallogo - File location  of each regional center's logo for print friendly page
 20            					CenterName - Name of the center of each regional center for print friendly page
 21            		Date changed: 
 22 pKanel 1.1 					05/01/2006     	Prabin Kanel	Created file
 23 nbisbee 1.2 					05/12/2006		Prabin Kanel	Documentation
 24             					05/12/2006		Prabin Kanel	Added link for National Programs Directory
 25 pKanel  1.1 --->
 26             
 27             
 28             
 29             <cfparam name="pageAction" default="">
 30             <cfparam name="list" default="">
 31             <cfparam name="searchText" default="">
 32             <cfparam name="orgid" default="">
 33             <cfparam name="format" default="WDDX">
 34             <cfparam name="title" default="Pollution Prevention Agencies and Programs in EPA Region 7">
 35             <cfparam name="description" default="Locate an environmental agency, program, or consultant in EPA Region 7 (Iowa, Kansas, Missouri, Nebraska) with special expertise or services.">
 36             <cfset bad_chars = "&,"",Ã??,Ã?ÂÌ,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã?ÂÌ,Ã??,Ã??,Ã??,Ã??,Ã?ÂÌ,Ã??,Ã??,Ã?ÂÌ,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã??,Ã?ÂÌ,Ã?¡,Ã?¢,Ã?¦,Ã? ,Ã?Â¥,Ã?£,Ã?¤,Ã?§,Ã?©,Ã?ª,Ã?¨,Ã?°,Ã?«,Ã?­,Ã?®,Ã?¬,Ã?¯,Ã?±,Ã?³,Ã?´,Ã?²,Ã?¸,Ã?µ,Ã?¶,Ã??,Ã?¾,Ã?º,Ã?»,Ã?¹,Ã?¼,Ã?½,Ã?¿,Ã?¡,Ã?£,Ã?¤,Ã?Â¥,Ã?¦,Ã?§,Ã?¨,Ã?©,Ã?ª,Ã?«,Ã?¬,Ã?­,Ã?®,Ã?¯,Ã?°,Ã?±,Ã?²,Ã?³,Ã?´,Ã?µ,Ã?¶,Ã?·,Ã?¸,Ã?¹,Ã?º,Ã?»,Ã?¼,Ã?½,Ã?¾,Ã?¿,Ã??,Ã?·,Ã?¢,<,>">
 37             <cfset good_chars = "&amp;,&quot;,&AElig;,&Aacute;,&Acirc;,&Agrave;,&Aring;,&Atilde;,&Auml;,&Ccedil;,&ETH;,&Eacute;,&Ecirc;,&Egrave;,&Euml;,&Iacute;,&Icirc;,&Igrave;,&Iuml;,&Ntilde;,&Oacute;,&Ocirc;,&Ograve;,&Oslash;,&Otilde;,&Ouml;,&THORN;,&Uacute;,&Ucirc;,&Ugrave;,&Uuml;,&Yacute;,&aacute;,&acirc;,&aelig;,&agrave;,&aring;,&atilde;,&auml;,&ccedil;,&eacute;,&ecirc;,&egrave;,&eth;,&euml;,&iacute;,&icirc;,&igrave;,&iuml;,&ntilde;,&oacute;,&ocirc;,&ograve;,&oslash;,&otilde;,&ouml;,&szlig;,&thorn;,&uacute;,&ucirc;,&ugrave;,&uuml;,&yacute;,&yuml;,&iexcl;,&pound;,&curren;,&yen;,&brvbar;,&sect;,&uml;,&copy;,&ordf;,&laquo;,&not;,&shy;,&reg;,&macr;,&deg;,&plusmn;,&sup2;,&sup3;,&acute;,&micro;,&para;,&middot;,&cedil;,&sup1;,&ordm;,&raquo;,&frac14;,&frac12;,&frac34;,&iquest;,&times;,&divide;,&cent;,&lt;,&gt;">
 38             
 39             
 40             <cfparam name="region" default="7">
 41             <cfparam name="meta_keywords" default="Region 7, P2Ric, P2Rx, Pollution Prevention Regional Information Center">
 42             <cfparam name="mapname" default="region#region#_200.gif">
 43             <cfparam name="regionalcenter" default="p2ric">
 44             <cfparam name="regionallogo" default="http://www.p2ric.org/Images/p2ricshort.gif">
 45             <cfparam name="centername" default="Pollution Prevention Regional Information Center (P2Ric)">
 46 pKanel  1.1 
 47             <html>
 48             <head>
 49             	<cfinclude template="../cfi/script/nav_variables.htm">
 50             	<link rel="stylesheet" href="../css/newstyle.css" type="text/css">
 51             </head>
 52             
 53             <CFIF #PageAction# NEQ "Print">
 54             	<cfinclude template="../cfi/global_header.cfm">
 55             	<CFINCLUDE template="include/dsp_navmenu.cfm">
 56             </CFIF>
 57             <body>
 58             
 59             <CFSWITCH expression="#pageAction#">
 60             
 61             	<CFCASE value="searchByState">
 62             		<FONT size="1">
 63             			<CFINCLUDE template="include/dsp_states.cfm">
 64             			
 65             		</FONT>
 66             		<CFINCLUDE template="include/dsp_searchbystate.cfm">
 67 pKanel  1.1 	 </CFCASE>
 68             
 69             	<CFCASE value="searchByText">
 70             		<CFINCLUDE template="include/dsp_searchbytext.cfm">
 71             	</CFCASE>
 72             	
 73             	<CFCASE value="searchByService">
 74             		<FONT size="1">
 75             			<CFINCLUDE template="include/dsp_expertiselist.cfm">
 76             		</font>	
 77             		<CFINCLUDE template="include/dsp_searchbyservice.cfm">	
 78             	</CFCASE>
 79             
 80             	<CFCASE value="searchByProgramType">
 81             		<FONT size="1">
 82             			<CFINCLUDE template="include/dsp_programtypelist.cfm">	
 83             		</FONT>	
 84             		<CFINCLUDE template="include/dsp_searchbyProgramType.cfm">	
 85             	</CFCASE>
 86             
 87             	<CFCASE value="showDetail">
 88 pKanel  1.1 		<CFINCLUDE template="include/dsp_orgDetail.cfm">	
 89             		<CFINCLUDE template="include/dsp_servicesforOrg.cfm">	
 90             		<CFINCLUDE template="include/dsp_programtypeforOrg.cfm">	
 91             	</CFCASE>
 92             	
 93             	<CFCASE value="Print">
 94             		<cfoutput>
 95             			<img src="#regionallogo#"  border="0">  <h3>Information provided by : #centername# Programs Directory</h3>
 96             		</cfoutput>
 97             		<HR>
 98             		<CFINCLUDE template="include/dsp_orgDetail.cfm">	
 99             		<CFINCLUDE template="include/dsp_servicesforOrg.cfm">	
100             		<CFINCLUDE template="include/dsp_programtypeforOrg.cfm">	
101             		
102             	</CFCASE>
103             	
104             	<cfdefaultcase>
105             		<TABLE>
106             		<TR>
107             			<TD colspan="2">
108             				<CFINCLUDE template="include/dsp_description.cfm">
109 pKanel  1.1 			</TD>
110             		</TR>
111             		<TR>
112             		 	<TD valign="top">
113             				<CFINCLUDE template="include/dsp_searchbox.cfm">
114             				<P><font class="strongtext">Browse By State :</font> <BR>
115             				<CFINCLUDE template="include/dsp_states.cfm">
116             			</TD>
117             			 <TD width="50%" align="middle" valign="top">
118             			 	<CFOUTPUT>
119             	             	 <cfinclude template="maps/#regionalcenter#.cfm">
120             				</CFOUTPUT>	 
121             			 </TD>
122             		</TR>		
123             		<TR>
124             		<TD colspan="2">
125             		<P><font class="strongtext">Browse By Area of Expertise :</font> <BR>
126             			<CFINCLUDE template="include/dsp_expertiselist.cfm">	
127             		</TD>
128             		</TR>
129             		<TR>
130 pKanel  1.1 		<TD colspan="2">
131             			<P><font class="strongtext">Browse By Program Type :</font> <BR>	
132             			<CFINCLUDE template="include/dsp_programtypelist.cfm"> 
133             		</TD>
134             		</TR>	
135 nbisbee 1.2 		<TR>
136             		<TD colspan="2">
137             			<P><font class="strongtext">National Programs Directory :</font> <BR />	<BR />	
138             			The national pollution prevention programs directory is an on-line tool for locating pollution prevention
139             			business assistance and services. Information in this directory is maintained by the P2Rx™ regional centers.<BR /><BR />
140             			<a href="http://www.p2rx.org/Networking/NationalProgram.cfm" target="_blank">Visit P2Rx National Programs Directory </a> 
141             			</p>
142             		</TD>
143             		</TR> 
144 pKanel  1.1 		</TABLE>
145             	</cfdefaultcase>
146             </CFSWITCH>
147             	<cfinclude template="include/act_createmetatags.cfm">
148             
149             <CFIF #PageAction# NEQ "Print">
150             	<cfinclude template="../cfi/global_footer.cfm">
151             </CFIF>
152             	
153              </body>
154             
155             </HTML>

CVS Admin
Powered by
ViewCVS 1.0-dev