re-work coupons to allow multiple coupon types
[bse.git] / site / templates / base.tmpl
CommitLineData
90e5205e
TC
1<html>
2<head>
73b3a7aa
TC
3<title>
4<:-.if params.title -:>
5 <:-.if params.title eq "FORMTITLE" -:>
6 <:formcfg title:>
7 <:-.else -:>
8 <:= params.title :>
9 <:-.end if -:>
10<:-.else -:>
11 <:= article.pageTitle or article.title :>
12<:-.end if-:>
13<:= " - " _ cfg.entry("site", "name") :></title>
14 <meta name="ROBOTS" content="ALL">
15 <meta http-equiv="Content-Type" content="text/html; charset=<:cfg html charset "iso-8859-1":>">
16 <meta http-equiv="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT">
17<:- .if article.author:>
18 <meta name="author" content="<:= article.author :>" />
19<:- .end if:>
20<:- .if article.metaKeywords :>
21 <meta name="keywords" content="<:= article.metaKeywords:>" />
22<:- .end if:>
23<:- .if article.metaDescription :>
24 <meta name="description" content="<:= article.metaDescription:>" />
25<:- .end if:>
73b3a7aa 26 <link rel="stylesheet" type="text/css" href="/css/style-main.css">
b55d4af1 27<:- .if article.linkAlias or article.id == 1:>
73b3a7aa
TC
28 <link rel="canonical" href="<:= url(article, 1) :>" />
29<:- .end if:>
2076966c 30<:ajax includes:>
3f54918e 31<script type="text/javascript" src="/js/bse.js"></script>
831f9a93
TC
32<:ifCfg "flv" "flowenable":><script type="text/javascript" src="/js/bse_flowplayer.js"></script><:or:><:eif:>
33<script type="text/javascript" src="/js/swfobject.js"></script>
90e5205e 34</head>
27feb834
TC
35<body bgcolor="#FFFFFF" text="#000000" link="#666666" vlink="#666666" alink="#FF7F00" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
36<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF7F00">
37 <tr>
38 <td width="100%" height="34">&nbsp;&nbsp;&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Welcome
39 to <:siteName:></b></font></td>
40 </tr>
41</table>
90e5205e
TC
42<table width="100%" border="0" cellspacing="0" cellpadding="0">
43 <tr valign="top">
1eb41314 44 <td width="150">
3f54918e 45 <table width="100%" border="0" cellspacing="0" cellpadding="5" id="search" bgcolor="#EEEEEE">
1eb41314
TC
46 <tr align="center">
47 <td>
48 <form name="search" method="GET" action="/cgi-bin/search.pl">
49 <input type="hidden" name="s" value="">
50 <input type="hidden" name="d" value="ar">
51 <input type="hidden" name="m" value="0">
52 <br>
53 <nobr>
54 <input type="text" name="q" size="14">
27feb834 55 <input type="submit" value="Go" name="submit" class="user-buttons">
1eb41314
TC
56 <br>
57 <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> Try
58 our <a href="/cgi-bin/search.pl">advanced search</a></font></nobr>
59 </form>
60 </td>
61 </tr>
27feb834
TC
62 </table><table width="100%" border="0" cellspacing="0" cellpadding="0">
63 <tr>
64 <td><img src="/images/trans_pixel.gif" width="1" height="1" alt="spacer"></td>
65 </tr>
66 </table>
3f54918e 67 <table width="150" border="0" cellspacing="0" cellpadding="0" id="nav">
90e5205e 68 <tr>
1eb41314
TC
69 <td>
70 <table width="100%" border="0" cellspacing="0" cellpadding="0">
71 <tr>
72 <td>
73 <table width="100%" border="0" cellspacing="0" cellpadding="0">
74 <tr bgcolor="#CCCCFF">
27feb834 75 <td height="20" width="100%" nowrap bgcolor="#CCCCCC">&nbsp;<a href="<:ifAdmin:>/cgi-bin/admin/admin.pl?id=1<:or:>/<:eif:>"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Home</font></b></a></td>
1eb41314
TC
76 </tr>
77 </table>
78 </td>
79 </tr>
27feb834
TC
80 <tr>
81 <td><img src="/images/trans_pixel.gif" width="1" height="1" alt="spacer"></td>
82 </tr>
1eb41314 83 </table>
54c97cf6
TC
84<:if Dynamic:>
85 <:iterator begin dynlevel1s:>
86 <table width="100%" border="0" cellspacing="0" cellpadding="0">
87 <tr>
88 <td>
89 <table width="100%" border="0" cellspacing="0" cellpadding="0">
90 <:if Ancestor dynlevel1:>
91 <tr>
92 <td height="19" width="100%" nowrap bgcolor="#999999">&nbsp;<a href="<:url dynlevel1:>"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><:dynlevel1
93 title:></font></b></a> </td>
94 </tr>
95 <:or Ancestor:>
96 <tr>
97 <td height="19" width="100%" nowrap bgcolor="#CCCCCC">&nbsp;<a href="<:url dynlevel1:>"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:dynlevel1
98 title:></font></b></a> </td>
99 </tr>
100 <:eif Ancestor:>
101 </table>
102 </td>
103 </tr>
104 <:if Ancestor dynlevel1:>
105 <tr>
106 <td>
107 <:if Dynlevel2s:>
108 <table width="100%" border="0" cellspacing="0" cellpadding="3">
109 <:iterator begin dynlevel2s:>
110 <:ifAncestor dynlevel2:>
111 <tr>
112 <td bgcolor="#FFFFFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:url dynlevel2:>"><:dynlevel2 title:></a></font>
113 </td>
114 </tr>
115 <:or:>
116 <tr>
117 <td bgcolor="#EEEEEE"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:url dynlevel2:>"><:dynlevel2 title:></a></font>
118 </td>
119 </tr>
120 <:eif:>
121 <:iterator end dynlevel2s:>
122 </table>
123 <:or Dynlevel2s:>
124 <:eif Dynlevel2s:>
125 </td>
126 </tr>
127<:or Ancestor:>
128<:eif Ancestor:>
129 <tr>
130 <td><img src="/images/trans_pixel.gif" width="1" height="1" alt="spacer"></td>
131 </tr>
132 </table>
133 <:iterator end dynlevel1s:>
cae48ae5 134<:if Cfg shop sidebar_cart:>
2bb61f07 135<:include include/cart_sidebar.tmpl:>
cae48ae5 136<:or Cfg:><:eif Cfg:>
54c97cf6 137<:or Dynamic:>
599fe373
TC
138 <:.set level1_menu = [ bse.site.menu_kids ] :>
139 <:.for level1 in level1_menu :>
90e5205e
TC
140 <table width="100%" border="0" cellspacing="0" cellpadding="0">
141 <tr>
142 <td>
143 <table width="100%" border="0" cellspacing="0" cellpadding="0">
599fe373 144 <:.if article.is_descendant_of(level1):>
abf5bbc6 145 <tr>
599fe373
TC
146 <td height="19" width="100%" nowrap bgcolor="#999999">&nbsp;<:.if level1.link:><a href="<:= bse.url(level1) |html:>"><:.end if:><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><:= level1.title
147 |html :></font></b><:.if level1.link:></a><:.end if:> </td>
abf5bbc6 148 </tr>
599fe373 149 <:.else:>
abf5bbc6 150 <tr>
599fe373 151 <td height="19" width="100%" nowrap bgcolor="#CCCCCC">&nbsp;<:.if level1.link:><a href="<:= bse.url(level1) :>"><:.end if:><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:= level1.title |html:></font></b><:.if level1.link:></a><:.end if:> </td>
1eb41314 152 </tr>
599fe373 153 <:.end if:>
1eb41314
TC
154 </table>
155 </td>
156 </tr>
599fe373 157 <:.if article.is_descendant_of(level1) :>
abf5bbc6
TC
158 <tr>
159 <td>
599fe373
TC
160 <:.set level2_menu = [ level1.menu_kids ] :>
161 <:# = bse.dumper(level2_menu) :>
162 <:.if level2_menu.size != 0:>
abf5bbc6 163 <table width="100%" border="0" cellspacing="0" cellpadding="3">
599fe373
TC
164 <:.for level2 in level2_menu:>
165 <:.if article.is_descendant_of(level2) :>
abf5bbc6 166 <tr>
599fe373 167 <td bgcolor="#FFFFFF"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:= bse.url(level2) |html:>"><:= level2.title |html:></a></font>
abf5bbc6
TC
168 </td>
169 </tr>
599fe373 170 <:.else:>
abf5bbc6 171 <tr>
599fe373 172 <td bgcolor="#EEEEEE"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:= bse.url(level2) |html:>"><:= level2.title |html:></a></font>
abf5bbc6
TC
173 </td>
174 </tr>
599fe373
TC
175 <:.end if:>
176 <:.end for:>
1eb41314 177 </table>
599fe373 178 <:.end if:>
1eb41314
TC
179 </td>
180 </tr>
599fe373 181<:.end if:>
27feb834
TC
182 <tr>
183 <td><img src="/images/trans_pixel.gif" width="1" height="1" alt="spacer"></td>
184 </tr>
1eb41314 185 </table>
599fe373 186<:.end for:>
54c97cf6 187<:eif Dynamic:>
8b3e8d4a 188 <:embed 5:> </td>
1eb41314
TC
189 </tr>
190 </table>
191 </td>
27feb834
TC
192 <td width="20"><img src="/images/trans_pixel.gif" width="20" height="5" alt="#"></td>
193 <td width="100%"> <br>
194 <:wrap here:>
195<div align="right">
196 <p>&nbsp;</p>
197 <p>&nbsp;</p>
198 </div>
1eb41314 199 </td>
27feb834 200 <td width="20"><img src="/images/trans_pixel.gif" width="20" height="5" alt="#"></td>
1eb41314
TC
201 </tr>
202 <tr valign="top">
203 <td width="150">&nbsp;</td>
204 <td colspan="2">
205 <hr noshade size="1">
27feb834 206 <div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><:siteName:> - <a href="http://www.visualthought.com.au/">vtc&copy;2002</a></font></div>
1eb41314
TC
207 </td>
208 <td width="20">&nbsp;</td>
90e5205e
TC
209 </tr>
210</table>
bef1f08f 211<:ifCfg basic times:><p>Page generated in <!--pagegen:time-->ms</p><:or:><:eif:>
1eb41314 212 </body>
90e5205e
TC
213</html>
214