root/trunk/website/include/dspHeader.cfm

Revision 46, 5.7 kB (checked in by danwilson, 13 years ago)

Updating site with extra files

Line 
1<cfsilent>
2
3<cfset application.downloads = structNew() />
4<cfset application.downloads.mgcoldfusion2 = structNew() />
5<cfset application.downloads.mgcoldfusion2.title = "Model-Glue: ColdFusion" />
6<cfset application.downloads.mgcoldfusion2.version = "2.0.304" />
7<cfset application.downloads.mgcoldfusion2.url = "http://www.model-glue.com/downloads/Model-Glue_Unity_Final.zip" />
8
9<cfset application.downloads.mgcoldfusion3 = structNew() />
10<cfset application.downloads.mgcoldfusion3.title = "Model-Glue: 3.1M" />
11<cfset application.downloads.mgcoldfusion3.version = "3.1.299" />
12<cfset application.downloads.mgcoldfusion3.url = "http://www.model-glue.com/downloads/ModelGlue_3.1.299.zip" />
13
14<cfset application.downloads.mgcoldfusion3beta = structNew() />
15<cfset application.downloads.mgcoldfusion3beta.title = "Model-Glue: 3.2 RC 2" />
16<cfset application.downloads.mgcoldfusion3beta.version = "3.2 RC2" />
17<cfset application.downloads.mgcoldfusion3beta.url = "https://github.com/modelglue/modelglue-framework/archive/release-3.2-rc2.zip" />
18
19<cfset application.downloads.mgflex = structNew() />
20<cfset application.downloads.mgflex.title = "Model-Glue: Flex" />
21<cfset application.downloads.mgflex.version = "Alpha 1" />
22<cfset application.downloads.mgflex.url = "http://www.model-glue.com/downloads/modelglueflex_0.0.zip" />
23       
24<cfinclude template="incDetermineMode.cfm" />
25
26</cfsilent><cfoutput>
27<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
28<html>
29<head>
30        <cfif request.mashed.mode eq "blog">
31                <title>#htmlEditFormat(application.blog.getProperty("blogTitle"))##additionalTitle#</title>
32        <cfelseif request.mashed.mode eq "galleon">
33                <title>#attributes.title#</title>
34        <cfelse>
35                <title>The Model-Glue Framework</title>
36        </cfif>
37       
38        <!--- RBB 6/23/05: Push crawlers to follow links, but only index content on individual entry pages --->
39        <cfif isDefined("url.mode") and url.mode is "entry">
40        <!--- index entry page --->
41        <meta name="robots" content="index,follow" />
42        <cfelse>
43        <!--- don't index other pages --->
44        <meta name="robots" content="noindex,follow" />   
45        </cfif>
46
47        <cfif request.mashed.mode eq "blog">
48                <meta name="title" content="#application.blog.getProperty("blogTitle")##additionalTitle#" />
49                <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
50                <meta name="description" content="#application.blog.getProperty("blogDescription")##additionalTitle#" />
51                <meta name="keywords" content="#application.blog.getProperty("blogKeywords")#" />
52        </cfif>
53       
54        <link rel="stylesheet" href="#request.mashed.css#/style.css" type="text/css" />
55        <link rel="stylesheet" href="#request.mashed.css#/modelglue.css" type="text/css" />
56
57        <script type="text/javascript" src="#request.mashed.js#/sm-iepng.js" defer="defer" charset="ISO-8859-1"></script>
58       
59        <!--- For Firefox --->
60        <cfif request.mashed.mode eq "blog">
61                <link rel="alternate" type="application/rss+xml" title="RSS" href="#application.rooturl#/rss.cfm?mode=full" />
62       
63                <script type="text/javascript">
64                function launchComment(id) {
65                        cWin = window.open("#application.rooturl#/addcomment.cfm?id="+id,"cWin","width=550,height=700,menubar=yes,personalbar=no,dependent=true,directories=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes");
66                }
67                function launchTrackback(id) {
68                        cWin = window.open("#application.rooturl#/trackbacks.cfm?id="+id,"cWin","width=550,height=500,menubar=yes,personalbar=no,dependent=true,directories=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes");
69                }
70                </script>
71        </cfif>
72       
73        <cfif request.mashed.mode eq "galleon">
74        <cfif isDefined("request.conference")>
75    <link rel="alternate" type="application/rss+xml" title="#request.conference.name# RSS" href="#application.galleon.settings.rooturl#rss.cfm?conferenceid=#request.conference.id#">
76    </cfif>
77        </cfif>
78        <script type="text/javascript">
79
80  var _gaq = _gaq || [];
81  _gaq.push(['_setAccount', 'UA-1272970-17']);
82  _gaq.push(['_setDomainName', 'model-glue.com']);
83  _gaq.push(['_trackPageview']);
84
85  (function() {
86    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
87    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
88    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
89  })();
90
91</script>
92</head>
93
94<body onload="if(top != self) top.location.replace(self.location.href);">
95
96<div id="page">
97
98        <div id="top">
99                <h2><a href="" title="Home" alt="Home"><img src="/images/mgLogoTrans.png" sm:iepng="true" /></a></h2>
100
101                <div id="navMenu">
102                        <ul>
103                        <li><a href="/" class="current">home</a></li>
104                        <li><a href="/coldfusion.cfm">coldfusion</a></li>
105                        <li><a href="/training.cfm">training</a></li>
106                        <li><a href="/flex.cfm">flex</a></li>
107                        <li><a href="/blog">blog</a></li>
108                        <li><a href="http://github.com/modelglue">GitHub</a></li>
109                        <li><a href="http://groups.google.com/group/model-glue">google group</a></li>
110                        <li><a href="/forums">forums</a></li>
111                        <!---
112                        <li><a href="http://docs.model-glue.com">documentation</a></li>
113                        <li><a href="http://trac.model-glue.com">bugs</a></li>
114                        --->
115                        </ul>
116                </div>
117        </div>
118               
119        <div id="content">
120       
121       
122                <div id="blogText">
123<!---
124                <div style="border:2px Solid ##999;background:##EAEAEA;padding:5px;margin-bottom:10px">
125<span style="color:##F00;font-weight:bold;font-size:16px">Help Joe Fight Multiple Sclerosis!</span>
126<br /><div style="margin-top:5px"><a href="http://www.nationalmssociety.org/site/TR?px=3903375&pg=personal&fr_id=5520">Sponsor Joe Rinehart as he rides a bike 200 miles in two days in the 2007 MS150 bike ride.</a></div>
127</div>
128--->
129</cfoutput>     
Note: See TracBrowser for help on using the browser.