source: themes/mkwebdiary2/page.tpl.php @ 163

Revision 163, 10.0 KB checked in by nigel.sim, 16 months ago (diff)

some outstanding changes?

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
3<head>
4<title><?php print $head_title ?></title>
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7<meta name="webdiary" content="independent news views and reviews" />
8<meta name="keywords" content="webdiary, news, interactive, headlines, newspapers online, democracy, politics, australian politics, margo kingston, australia, independent media, comments, opinion" />
9<meta name="description" content="Interactive independent media site featuring comment on the events shaping our world" />
10<META NAME="Distribution" CONTENT="Global">
11<META NAME="Robots" content="index,follow">
12<META ANME="Revisit-After" content="1 days">
13
14<?php print $head ?>
15<?php print $styles ?>
16<?php print $scripts ?>
17
18<style type="text/css" media="all">
19@import "themes/mkwebdiary2/sidenav.css";
20</style>
21</head>
22<body <?php print theme("onload_attribute"); ?>>
23<table border="0" align="left" cellpadding="0" cellspacing="2" style="width:780px; height:100%; border-right:1px solid #d7d7d7; margin-right:5px">
24  <tr bgcolor="#00376a">
25    <td colspan="2" class="slogan">Webdiary - Independent, Ethical, Accountable and Transparent</td>
26  </tr>
27  <tr bgcolor="#00376a">
28    <td colspan="2" align="center" bgcolor="#FFFFFF">
29        </td>
30  </tr>
31  <tr align="left" valign="top">
32    <td height="50" colspan="2"><table style="width:780px; height:50px;" border="0" cellpadding="0" cellspacing="0">
33      <tr>
34        <td rowspan="2" id="header">
35                <h1><a href="./?q=" title="<?php print($site_name) ?>" style="cursor: hand;"><?php print($site_name) ?></a></h1>          </td>
36        <td rowspan="2"><img src="./themes/mkwebdiary2/header_02.jpg" width="68" height="50" alt="header_02" /></td>
37        <td rowspan="2"><a href="./?q="><img src="./themes/mkwebdiary2/header_home.gif" alt="home" width="41" height="50" border="0" /></a></td>
38        <td rowspan="2"><a href="./?q=node/257"><img src="./themes/mkwebdiary2/header_about.jpg" alt="about" width="52" height="50" border="0" /></a></td>
39        <td><a href="./?q=user/login&destination=node"><img src="./themes/mkwebdiary2/header_login.jpg" alt="login" width="52" height="49" border="0" /></a></td>
40        <td rowspan="2"><img src="./themes/mkwebdiary2/header_06.gif" width="18" height="50" alt="header_06" /></td>
41      </tr>
42      <tr>
43        <td><img src="./themes/mkwebdiary2/header_07.jpg" width="52" height="1" alt="header_07" /></td>
44      </tr>
45    </table></td>
46  </tr>
47  <tr align="left" valign="top">
48    <td height="40" colspan="2"><table style="width:780px; height:40px;" border="0" cellpadding="0" cellspacing="0">
49      <tr>
50        <td width="9" style="background-image: url(./themes/mkwebdiary2/search_bar_bg.jpg)"><img src="./themes/mkwebdiary2/search_bar_left.jpg" width="7" height="40" alt="search_bar_left" /></td>
51        <td width="196" height="40" align="center" style="background-image: url(./themes/mkwebdiary2/search_bar_bg.jpg)"><table border="0" cellspacing="0" cellpadding="0">
52          <tr>
53            <td width="5"><img src="./themes/mkwebdiary2/date_box_left.jpg" width="5" height="40" alt="date_box_left" /></td>
54            <td style="background-image: url(./themes/mkwebdiary2/date_box_bg.jpg)">
55                        <div class="todays-date">
56        <script type="text/javascript">
57
58<!-- Begin
59
60// Get today's current date.
61var now = new Date();
62
63// Array list of days.
64var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
65
66// Array list of months.
67var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
68
69// Calculate the number of the current day in the week.
70var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
71
72// Calculate four digit year.
73function fourdigits(number)     {
74        return (number < 1000) ? number + 1900 : number;
75                                                                }
76
77// Join it all together
78today =  days[now.getDay()] + ", " +
79         months[now.getMonth()] + " " +
80         date + ", " +
81         (fourdigits(now.getYear())) ;
82
83// Print out the data.
84document.write(today);
85
86//  End -->
87</script>
88        </div>                  </td>
89            <td width="5"><img src="./themes/mkwebdiary2/date_box_right.jpg" width="5" height="40" alt="date_box_right.jpg" /></td>
90          </tr>
91        </table></td>
92        <td align="right" style="background-image: url(./themes/mkwebdiary2/search_bar_bg.jpg)">
93                <!-- SiteSearch Google -->
94<form method="get" action="http://www.google.com.au/custom" target="_top" style="margin:0px; padding:0px">
95                <table border="0" align="right" cellpadding="0" cellspacing="0">
96          <tr>
97            <td nowrap="nowrap"><input type="hidden" name="domains" value="webdiary.com.au" />
98                <input type="text" name="q" size="25" maxlength="255" value="" />            </td>
99            <td nowrap="nowrap" height="35" style="padding-top:3px"><input type="image" src="./themes/mkwebdiary2/btn-search-off.gif" style="width:47px; height:15px; margin-left:5px; margin-right:5px" name="sa" value="Search" /></td>
100            <td nowrap="nowrap"><table class="search">
101                <tr>
102                  <td><input name="sitesearch" type="radio" value="webdiary.com.au" checked="checked" />
103                    Webdiary</td>
104                  <td><input type="radio" name="sitesearch" value="" />
105                    Web</td>
106                </tr>
107              </table>
108                <input type="hidden" name="client" value="pub-2806139847362800" />
109                <input type="hidden" name="forid" value="1" />
110                <input type="hidden" name="ie" value="ISO-8859-1" />
111                <input type="hidden" name="oe" value="ISO-8859-1" />
112                <input type="hidden" name="cof" value="GALT:#003324;GL:1;DIV:#66CC99;VLC:FF6600;AH:center;BGC:C5DBCF;LBGC:73B59C;ALC:000000;LC:000000;T:330033;GFNT:333300;GIMP:333300;FORID:1;" />
113                <input type="hidden" name="hl" value="en" />            </td>
114            </tr>
115        </table>
116        </form>
117<!-- SiteSearch Google -->      </td>
118        <td width="8" align="right" style="background-image: url(./themes/mkwebdiary2/search_bar_bg.jpg)"><img src="./themes/mkwebdiary2/search_bar_right.jpg" width="8" height="40" alt="search_bar_right" /></td>
119      </tr>
120    </table></td>
121  </tr>
122  <tr>
123    <td width="205" align="left" valign="top"><img src="./themes/mkwebdiary2/sidebar-top.gif" width="198" height="15" alt="sidebar-top" /></td>
124    <td align="right" valign="top" style="padding-right:1px"><img src="./themes/mkwebdiary2/content-top.gif" width="574" height="15" alt="content-top" /></td>
125  </tr>
126  <tr>
127    <td height="1400" align="left" valign="top" class="sidebar-left">
128      <div id="sidenav">
129        <?php print $sidebar_left ?></div>
130      </div>
131    </td>
132    <td align="left" valign="top">
133      <table border="0" align="right" cellpadding="0" cellspacing="0" style="margin-left:5px; margin-right:5px;">
134        <tr>
135          <td bgcolor="#FFFFFF">
136            <div class="news-bar">
137              <div id="news-block">
138                <?php print $content_area ?>
139              </div>
140            </div>
141          </td>
142        </tr>
143      </table>
144        <div align="left" style="padding-left:10px; padding-right:10px;">
145        <?php if ($messages != ""): ?>
146            <div id="message"><?php print $messages ?></div>
147            <?php endif; ?>
148            <?php if ($mission != ""): ?>
149            <div id="mission"><?php print $mission ?></div>
150            <?php endif; ?>
151            <?php if ($title != ""): ?>
152            <h2 class="page-title"><?php print $title ?></h2>
153            <?php endif; ?>
154            <?php if ($tabs != ""): ?>
155            <?php print $tabs ?>
156            <?php endif; ?>
157            <?php if ($help != ""): ?>
158            <p id="help"><?php print $help ?></p>
159            <?php endif; ?>
160            <!-- start main content -->
161            <?php print($content) ?>
162            <!-- end main content -->
163        </div>  </td>
164  </tr>
165  <tr bgcolor="#CD0606">
166    <td colspan="2" style="border-top:2px solid #FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
167      <tr>
168        <td style="width:195px; height:20px;" align="left" bgcolor="#CD0606"><span class="copyright">&copy; 2006 - 2008, Webdiary Pty Ltd</span></td>
169        <td align="right" bgcolor="#CD0606">
170                <div class="footer_links"><a href="./?q=node/303">Advertise</a></div>
171        <div class="footer_links" style="border-right:1px solid #FFFFFF"><a href="./?q=node/304">Donate</a></div>
172        <div class="footer_links" style="border-right:1px solid #FFFFFF"><a href="./?q=node/257">About</a></div>
173        <div class="footer_links" style="border-right:1px solid #FFFFFF"><a href="./?q=contact">Contact</a></div>
174        <div class="footer_links" style="border-right:1px solid #FFFFFF"><a href="./?q=archive">Archives</a></div>
175        <div class="footer_links" style="border-right:1px solid #FFFFFF"><a href="./?q=">Home</a></div>         </td>
176      </tr>
177    </table>    </td>
178  </tr>
179  <tr bgcolor="#00376A">
180    <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="5">
181      <tr>
182        <td style="width:60px; height:50px;" align="right" valign="top" bgcolor="#00376a" class="disclaimer"><b>Disclaimer:</b></td>
183        <td style="width:870px; height:50px;" align="left" valign="top" bgcolor="#00376a" class="disclaimer"><?php if ($footer_message) : ?>
184<?php print $footer_message;?>
185  <?php endif; ?></td>
186      </tr>
187    </table></td>
188  </tr>
189</table>
190<table border="0" cellpadding="0" cellspacing="2" bgcolor="#FAFAFA" style="width:150px; margin-left:5px; border-left:1px solid #d7d7d7; border-right:1px solid #d7d7d7; border-bottom:1px solid #d7d7d7">
191  <tr>
192    <td align="left" valign="top" bgcolor="#FAFAFA">
193<div id="rightnav">
194<?php print $sidebar_right ?>
195</div>
196</td>
197  </tr>
198</table>
199<?php print $closure;?>
200</body>
201</html>
Note: See TracBrowser for help on using the repository browser.