/[drupal]/contributions/themes/denver/page.tpl.php
ViewVC logotype

Contents of /contributions/themes/denver/page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.12 - (show annotations) (download) (as text)
Mon Jan 21 06:58:29 2008 UTC (22 months, 1 week ago) by colorado
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +8 -0 lines
File MIME type: text/x-php
added custom theme setting for logo horizontal alignment
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
3
4 <head>
5 <title><?php print $head_title ?></title>
6 <?php print $head ?>
7 <?php print $styles ?>
8 <?php print $scripts ?>
9 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
10 <!--[if IE]>
11 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/hacks/ie.css";</style>
12 <![endif]-->
13 <!--[if IE 5]>
14 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/hacks/ie5.css";</style>
15 <![endif]-->
16 <!--[if IE 6]>
17 <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/hacks/ie6.css";</style>
18 <![endif]-->
19
20 <?php
21 $style = theme_get_setting('denver_style');
22 if (!$style)
23 {
24 $style = '';
25 }
26 ?>
27
28 <?php
29 $font = theme_get_setting('denver_font');
30 if (!$font)
31 {
32 $font = '';
33 }
34 ?>
35
36 <?php
37 $width = theme_get_setting('denver_width');
38 if (!$width)
39 {
40 $width = '';
41 }
42 ?>
43
44 <?php
45 $padding = theme_get_setting('denver_padding');
46 if (!$padding)
47 {
48 $padding = '';
49 }
50 ?>
51
52 <?php
53 $bodybg = theme_get_setting('denver_bodybg');
54 if (!$bodybg)
55 {
56 $bodybg = '';
57 }
58 ?>
59
60 <?php
61 $pgheader = theme_get_setting('denver_pgheader');
62 if (!$pgheader)
63 {
64 $pgheader = '';
65 }
66 ?>
67
68 <?php
69 $pgheaderh = theme_get_setting('denver_pgheaderh');
70 if (!$pgheaderh)
71 {
72 $pgheaderh = '';
73 }
74 ?>
75
76 <?php
77 $logohalign = theme_get_setting('denver_logohalign');
78 if (!$logohalign)
79 {
80 $logohalign = '';
81 }
82 ?>
83
84 <?php
85 $navbg = theme_get_setting('denver_navbg');
86 if (!$navbg)
87 {
88 $navbg = '';
89 }
90 ?>
91
92 <?php
93 $ptabsposition = theme_get_setting('denver_ptabsposition');
94 if (!$ptabsposition)
95 {
96 $ptabsposition = '';
97 }
98 ?>
99
100 <?php
101 $ptabs = theme_get_setting('denver_ptabs');
102 if (!$ptabs)
103 {
104 $ptabs = '';
105 }
106 ?>
107
108 <?php
109 $plinksa = theme_get_setting('denver_plinksa');
110 if (!$plinksa)
111 {
112 $plinksa = '';
113 }
114 ?>
115
116 <?php
117 $searchposition = theme_get_setting('denver_searchposition');
118 if (!$searchposition)
119 {
120 $searchposition = '';
121 }
122 ?>
123
124 <?php
125 $secposition = theme_get_setting('denver_secposition');
126 if (!$secposition)
127 {
128 $secposition = '';
129 }
130 ?>
131
132 <?php
133 $secbg = theme_get_setting('denver_secbg');
134 if (!$secbg)
135 {
136 $secbg = '';
137 }
138 ?>
139
140 <?php
141 $pgbg = theme_get_setting('denver_pgbg');
142 if (!$pgbg)
143 {
144 $pgbg = '';
145 }
146 ?>
147
148 <?php
149 $pgcontentbg = theme_get_setting('denver_pgcontentbg');
150 if (!$pgcontentbg)
151 {
152 $pgcontentbg = '';
153 }
154 ?>
155
156 <?php
157 $leftsidebarwidth = theme_get_setting('denver_leftsidebarwidth');
158 if (!$leftsidebarwidth)
159 {
160 $leftsidebarwidth = '';
161 }
162 ?>
163
164 <?php
165 $rightsidebarwidth = theme_get_setting('denver_rightsidebarwidth');
166 if (!$rightsidebarwidth)
167 {
168 $rightsidebarwidth = '';
169 }
170 ?>
171
172 <?php
173 $leftbg = theme_get_setting('denver_leftbg');
174 if (!$leftbg)
175 {
176 $leftbg = '';
177 }
178 ?>
179
180 <?php
181 $blocklbg = theme_get_setting('denver_blocklbg');
182 if (!$blocklbg)
183 {
184 $blocklbg = '';
185 }
186 ?>
187
188 <?php
189 $blockltitle = theme_get_setting('denver_blockltitle');
190 if (!$blockltitle)
191 {
192 $blockltitle = '';
193 }
194 ?>
195
196 <?php
197 $blocklcontent = theme_get_setting('denver_blocklcontent');
198 if (!$blocklcontent)
199 {
200 $blocklcontent = '';
201 }
202 ?>
203
204 <?php
205 $centerbg = theme_get_setting('denver_centerbg');
206 if (!$centerbg)
207 {
208 $centerbg = '';
209 }
210 ?>
211
212 <?php
213 $mainbg = theme_get_setting('denver_mainbg');
214 if (!$mainbg)
215 {
216 $mainbg = '';
217 }
218 ?>
219
220 <?php
221 $nodebg = theme_get_setting('denver_nodebg');
222 if (!$nodebg)
223 {
224 $nodebg = '';
225 }
226 ?>
227
228 <?php
229 $nodecontentbg = theme_get_setting('denver_nodecontentbg');
230 if (!$nodecontentbg)
231 {
232 $nodecontentbg = '';
233 }
234 ?>
235
236 <?php
237 $rightbg = theme_get_setting('denver_rightbg');
238 if (!$rightbg)
239 {
240 $rightbg = '';
241 }
242 ?>
243
244 <?php
245 $blockrbg = theme_get_setting('denver_blockrbg');
246 if (!$blockrbg)
247 {
248 $blockrbg = '';
249 }
250 ?>
251
252 <?php
253 $blockrtitle = theme_get_setting('denver_blockrtitle');
254 if (!$blockrtitle)
255 {
256 $blockrtitle = '';
257 }
258 ?>
259
260 <?php
261 $blockrcontent = theme_get_setting('denver_blockrcontent');
262 if (!$blockrcontent)
263 {
264 $blockrcontent = '';
265 }
266 ?>
267
268 <?php
269 $footerbg = theme_get_setting('denver_footerbg');
270 if (!$footerbg)
271 {
272 $footerbg = '';
273 }
274 ?>
275
276 <style type="text/css">
277
278 <?php if ($bodybg=='bodybg-custom-color'):?>
279 body {background: <?php print theme_get_setting('denver_custombodybg') ?>;}
280 <?php endif; ?>
281
282 <?php if ($bodybg=='bodybg-custom'):?>
283 body {background: <?php print theme_get_setting('denver_custombodybg') ?>;}
284 <?php endif; ?>
285
286 <?php if ($font=='font-custom'):?>
287 body {font-family : <?php print theme_get_setting('denver_customfont') ?>;}
288 <?php endif; ?>
289
290 <?php if ($width=='width-custom'):?>
291 #sizer {max-width: <?php print theme_get_setting('denver_customwidth') ?>;}
292 #page {width: <?php print theme_get_setting('denver_customwidth') ?>;}
293 <?php endif; ?>
294
295 <?php if ($padding=='padding-custom'):?>
296 #page {padding: <?php print theme_get_setting('denver_custompadding') ?>;}
297 <?php endif; ?>
298
299 <?php if ($pgheader=='pgheader-custom-color'):?>
300 div#masthead {background: <?php print theme_get_setting('denver_custompgheader') ?>;}
301 <?php endif; ?>
302
303 <?php if ($pgheader=='pgheader-custom'):?>
304 div#masthead {background: <?php print theme_get_setting('denver_custompgheader') ?>;}
305 <?php endif; ?>
306
307 <?php if ($pgheaderh=='pgheaderh-custom'):?>
308 div#masthead {height: <?php print theme_get_setting('denver_custompgheaderh') ?>;}
309 <?php endif; ?>
310
311 <?php if ($navbg=='navbg-custom'):?>
312 #navigation {background: <?php print theme_get_setting('denver_customnavbg') ?>;}
313 <?php endif; ?>
314
315 <?php if ($navbg=='navbg-customgradient'):?>
316 #navigation {background: <?php print theme_get_setting('denver_customnavbg') ?> url(<?php print base_path() . path_to_theme() ?>/images/menu-bg-custom-gradient.png) 0 0 repeat-x;}
317 <?php endif; ?>
318
319 <?php if ($ptabs=='ptabs-custom-color'):?>
320 ul#primary-links li, ul#primary-links li:hover, ul#primary-links li.active {background-color:<?php print theme_get_setting('denver_customptabs') ?>;}
321 ul#primary-links li:hover {background-color:<?php print theme_get_setting('denver_customptabsah') ?>;}
322 ul#primary-links li.active {background-color:<?php print theme_get_setting('denver_customptabsaa') ?>;}
323 <?php endif; ?>
324
325 <?php if ($ptabs=='ptabs-custom'):?>
326 ul#primary-links li, ul#primary-links li:hover, ul#primary-links li.active {background:<?php print theme_get_setting('denver_customptabs') ?>;}
327 ul#primary-links li:hover {background:<?php print theme_get_setting('denver_customptabsah') ?>;}
328 ul#primary-links li.active {background:<?php print theme_get_setting('denver_customptabsaa') ?>;}
329 <?php endif; ?>
330
331 <?php if ($plinksa=='plinksa-custom'):?>
332 ul#primary-links li a, ul#primary-links li:hover a, ul#primary-links li.active a {color:<?php print theme_get_setting('denver_customplinksa') ?>;}
333 ul#primary-links li:hover a {color:<?php print theme_get_setting('denver_customplinksah') ?>;}
334 ul#primary-links li.active a {color:<?php print theme_get_setting('denver_customplinksaa') ?>;}
335 <?php endif; ?>
336
337 <?php if ($secbg=='secbg-custom'):?>
338 #secondary {background : <?php print theme_get_setting('denver_customsecbg') ?>;}
339 <?php endif; ?>
340
341 <?php if ($pgbg=='pgbg-custom'):?>
342 #page-wrapper {background : <?php print theme_get_setting('denver_custompgbg') ?>;}
343 <?php endif; ?>
344
345 <?php if ($centerbg=='centerbg-custom'):?>
346 #center {background : <?php print theme_get_setting('denver_customcenterbg') ?>;}
347 <?php endif; ?>
348
349 <?php if ($pgcontentbg=='pgcontentbg-custom'):?>
350 #content {background : <?php print theme_get_setting('denver_custompgcontentbg') ?>;}
351 <?php endif; ?>
352
353 <?php if ($mainbg=='mainbg-custom'):?>
354 #main {background : <?php print theme_get_setting('denver_custommainbg') ?>;}
355 <?php endif; ?>
356
357 <?php if ($nodebg=='nodebg-custom'):?>
358 .node {background : <?php print theme_get_setting('denver_customnodebg') ?>;}
359 <?php endif; ?>
360
361 <?php if ($nodecontentbg=='nodecontentbg-custom'):?>
362 .node .content {background : <?php print theme_get_setting('denver_customnodecontentbg') ?>;}
363 <?php endif; ?>
364
365 <?php if ($leftsidebarwidth=='leftsidebarwidth-custom'):?>
366 #wrapper1 .outer {margin-left: <?php print theme_get_setting('denver_customleftsidebarwidth') ?>;}
367 #wrapper1 #wrapper2 .outer {margin-left: <?php print theme_get_setting('denver_customleftsidebarwidth') ?>;}
368 #sidebar-left {width: <?php print theme_get_setting('denver_customleftsidebarwidth') ?>; margin-left: -<?php print theme_get_setting('denver_customleftsidebarwidth') ?>;}
369 <?php endif; ?>
370
371 <?php if ($rightsidebarwidth=='rightsidebarwidth-custom'):?>
372 #wrapper2 .outer {margin-right: <?php print theme_get_setting('denver_customrightsidebarwidth') ?>;}
373 #wrapper1 #wrapper2 .outer {margin-right: <?php print theme_get_setting('denver_customrightsidebarwidth') ?>;}
374 #sidebar-right {width: <?php print theme_get_setting('denver_customrightsidebarwidth') ?>; margin-right: -<?php print theme_get_setting('denver_customrightsidebarwidth') ?>; margin-left: 0;}
375 <?php endif; ?>
376
377 <?php if ($leftbg=='leftbg-custom'):?>
378 #sidebar-left {background : <?php print theme_get_setting('denver_customleftbg') ?>;}
379 <?php endif; ?>
380
381 <?php if ($blocklbg=='blocklbg-custom'):?>
382 #leftsidebar .block {background : <?php print theme_get_setting('denver_customblocklbg') ?>;}
383 <?php endif; ?>
384
385 <?php if ($blockltitle=='blockltitle-custom'):?>
386 #leftsidebar .titlewrap {background : <?php print theme_get_setting('denver_customblockltitle') ?>;}
387 <?php endif; ?>
388
389 <?php if ($blocklcontent=='blocklcontent-custom'):?>
390 #leftsidebar .content {background : <?php print theme_get_setting('denver_customblocklcontent') ?>;}
391 <?php endif; ?>
392
393 <?php if ($rightbg=='rightbg-custom'):?>
394 #sidebar-right {background : <?php print theme_get_setting('denver_customrightbg') ?>;}
395 <?php endif; ?>
396
397 <?php if ($blockrbg=='blockrbg-custom'):?>
398 #rightsidebar .block {background : <?php print theme_get_setting('denver_customblockrbg') ?>;}
399 <?php endif; ?>
400
401 <?php if ($blockrtitle=='blockrtitle-custom'):?>
402 #rightsidebar .titlewrap {background : <?php print theme_get_setting('denver_customblockrtitle') ?>;}
403 <?php endif; ?>
404
405 <?php if ($blockrcontent=='blockrcontent-custom'):?>
406 #rightsidebar .content {background : <?php print theme_get_setting('denver_customblockrcontent') ?>;}
407 <?php endif; ?>
408
409 <?php if ($footerbg=='footerbg-custom'):?>
410 div#footer-wrapper {background : <?php print theme_get_setting('denver_customfooterbg') ?>;}
411 <?php endif; ?>
412
413 <?php if (theme_get_setting('denver_csstype')) { ?>
414 <?php print theme_get_setting('denver_customcsstype') ?>
415 <?php } else { ?>
416 <?php } ?>
417
418 </style>
419
420 <?php if (theme_get_setting('denver_cssfile')) { ?>
421 <style type="text/css" media="all">@import "<?php print theme_get_setting('denver_customcssfile') ?>";</style>
422 <?php } else { ?>
423 <?php } ?>
424
425 <?php if (theme_get_setting('denver_jsfile')) { ?>
426 <script type="text/javascript" src="<?php print theme_get_setting('denver_customjsfile') ?>"></script>
427 <?php } else { ?>
428 <?php } ?>
429
430 <?php if (theme_get_setting('denver_jstype')) { ?>
431 <script type="text/javascript"><?php print theme_get_setting('denver_customjstype') ?></script>
432 <?php } else { ?>
433 <?php } ?>
434
435 <?php if (theme_get_setting('denver_iepngfix')) { ?>
436 <!--[if lte IE 6]>
437 <script type="text/javascript">
438 $(document).ready(function(){
439 $(document).pngFix();
440 });
441 </script>
442 <![endif]-->
443 <?php } ?>
444
445 <?php /* custom stuff for block display/closure */ ?>
446 <script type="text/javascript" src="<?php print $GLOBALS['base_url']."/"; print $directory;
447 ?>/js/pickstyle.js"></script>
448
449 </head>
450
451 <body>
452
453 <div id="sizer">
454 <div id="expander">
455 <div id="wrapper">
456 <div id="page">
457
458 <?php if ($page_top):?><div id="page-top-region"><?php print $page_top; ?></div><?php endif; ?>
459
460 <div class="header">
461
462 <?php if ($pgheader !== 'pgheader-none'){ ?>
463
464 <div id="masthead" class="clear-block">
465 <div class="header-left">
466 <div class="header-right">
467 <table id="header" border="0" cellpadding="0" cellspacing="0">
468 <tr>
469 <td id="logo" >
470 <?php if ($header_right):?><div id="header-right-region" ><?php print $header_right ?></div><?php endif; ?>
471 <?php if ($logo) { ?><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
472 <?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
473 <?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
474 </td>
475 </tr>
476 <?php if ($header):?><tr><td><div id="header-region"><?php print $header ?></div></td></tr><?php endif; ?>
477 </table>
478 <table id="headnavbot" border="0" cellpadding="0" cellspacing="0"><tr><td>
479 <?php if ($ptabsposition == 'ptabs-headleft'):?><td class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
480 <?php if (isset($primary_links)) : ?><?php print theme('linksnew', $primary_links, array('id' => 'primary-links')) ?><?php endif; ?></td>
481 <?php endif; ?>
482 <?php if ($searchposition == 'search-headleft'):?><td class="searchwrap"><?php print $search_box; ?></td>
483 <?php endif; ?>
484 <?php if ($searchposition == 'search-headright'):?><td class="searchwrap"><?php print $search_box; ?></td>
485 <?php endif; ?>
486 <?php if ($searchposition == 'search-headcenter'):?><td class="searchwrap"><?php print $search_box; ?></td>
487 <?php endif; ?>
488 <?php if ($ptabsposition == 'ptabs-headright'):?><td class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
489 <?php if (isset($primary_links)) : ?><?php print theme('linksnew', $primary_links, array('id' => 'primary-links')) ?><?php endif; ?></td>
490 <?php endif; ?>
491 </td></tr></table>
492 </div>
493 </div>
494 </div>
495
496 <?php } else { ?>
497 <?php } ?>
498
499 <?php if ($navbg !== 'navbg-none'){ ?>
500
501 <div id="navigation"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>
502
503 <?php if ($ptabsposition == 'ptabs-navleft'):?><td class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
504 <?php if (isset($primary_links)) : ?><?php print theme('linksnew', $primary_links, array('id' => 'primary-links')) ?><?php endif; ?></td><?php endif; ?>
505
506 <?php if ($searchposition == 'search-navleft'):?><td class="searchwrap"><?php print $search_box; ?></td><?php endif; ?>
507
508 <?php if ($ptabsposition == 'ptabs-navright'):?><td class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
509 <?php if (isset($primary_links)) : ?><?php print theme('linksnew', $primary_links, array('id' => 'primary-links')) ?><?php endif; ?></td><?php endif; ?>
510
511 <?php if ($searchposition == 'search-navcenter'):?><td class="searchwrap"><?php print $search_box; ?></td> <?php endif; ?>
512
513 <?php if ($searchposition == 'search-navright'):?><td class="searchwrap"><?php print $search_box; ?></td><?php endif; ?>
514
515 </tr></table></div>
516
517 <?php } else { ?>
518 <?php } ?>
519
520 <?php if ($secondary_links): ?>
521 <table id="secondary" border="0" cellpadding="0" cellspacing="0">
522 <tr>
523 <td>
524 <?php print theme('menu_links', $secondary_links); ?>
525 </td>
526 </tr>
527 </table>
528 <?php endif; ?>
529
530 <?php if ($suckerfish_menu): ?>
531 <div id="suckerfishmenu" class="clear-block">
532 <?php print $suckerfish_menu; ?>
533 </div>
534 <?php endif; ?>
535
536
537 <?php if ($sub_nav): ?>
538 <table id="sub-nav-region" border="0" cellpadding="0" cellspacing="0">
539 <tr>
540 <td>
541 <div id="sub-nav">
542 <?php print $sub_nav; ?>
543 </div>
544 </td>
545 </tr>
546 </table>
547 <?php endif; ?>
548
549 </div>
550
551 <div id="page-wrapper">
552
553 <?php if ($sidebar_left):?>
554 <div id="wrapper1">
555 <?php endif; ?>
556
557 <?php if ($sidebar_right):?>
558 <div id="wrapper2">
559 <?php endif; ?>
560
561 <div class="outer">
562 <div class="float-wrap">
563 <div class="center-wrap">
564 <div class="centerbox">
565 <div class="textpadder">
566
567 <div id="center">
568 <div id="content">
569 <?php if ($node_top):?><div id="node-top-region"><?php print $node_top; ?></div><?php endif; ?>
570 <?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
571 <div id="main">
572 <?php if (theme_get_setting('denver_breadcrumb')): ?>
573 <?php if ($breadcrumb): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?>
574 <?php endif; ?>
575
576 <?php if ($content_top):?><div id="content-top"><?php print $content_top; ?></div><?php endif; ?>
577
578 <?php
579 $section1count = 0;
580 $user1count = 0;
581 $user2count = 0;
582 $user3count = 0;
583
584 if ($user1)
585 {
586 $section1count++;
587 $user1count++;
588 }
589
590 if ($user2)
591 {
592 $section1count++;
593 $user2count++;
594 }
595
596 if ($user3)
597 {
598 $section1count++;
599 $user3count++;
600 }
601 ?>
602
603 <?php if ($section1count): ?>
604 <?php $section1width = 'width' . floor(99 / $section1count); ?>
605 <?php $block2div = ($user1count and ($user2count or $user3count)) ? " divider" : ""; ?>
606 <?php $block3div = ($user3count and ($user1count or $user2count)) ? " divider" : ""; ?>
607 <div class="clr" id="section1">
608
609 <table class="sections" cellspacing="0" cellpadding="0">
610 <tr valign="top">
611
612 <?php if ($user1): ?>
613 <td class="section <?php echo $section1width ?>">
614 <?php print $user1; ?>
615 </td>
616 <?php endif; ?>
617
618 <?php if ($user2): ?>
619 <td class="section <?php echo $section1width . $block2div; ?>">
620 <?php print $user2; ?>
621 </td>
622 <?php endif; ?>
623
624 <?php if ($user3): ?>
625 <td class="section <?php echo $section1width . $block3div; ?>">
626 <?php print $user3; ?>
627 </td>
628 <?php endif; ?>
629
630 </tr>
631 </table>
632
633 </div>
634 <?php endif; ?>
635
636 <h1 class="title"><?php print $title ?></h1>
637 <div class="tabs"><?php print $tabs ?></div>
638 <?php print $help ?>
639 <?php print $messages ?>
640 <?php print $content; ?>
641 <?php print $feed_icons; ?>
642
643 <?php
644 $section2count = 0;
645 $user4count = 0;
646 $user5count = 0;
647 $user6count = 0;
648
649 if ($user4)
650 {
651 $section2count++;
652 $user4count++;
653 }
654
655 if ($user5)
656 {
657 $section2count++;
658 $user5count++;
659 }
660
661 if ($user6)
662 {
663 $section2count++;
664 $user6count++;
665 }
666 ?>
667
668 <?php if ($section2count): ?>
669 <?php $section2width = 'width' . floor(99 / $section2count); ?>
670 <?php $block2div = ($user4count and ($user5count or $user6count)) ? " divider" : ""; ?>
671 <?php $block3div = ($user6count and ($user4count or $user5count)) ? " divider" : ""; ?>
672 <div class="clr" id="section2">
673
674 <table class="sections" cellspacing="0" cellpadding="0">
675 <tr valign="top">
676
677 <?php if ($user4): ?>
678 <td class="section <?php echo $section2width ?>">
679 <?php print $user4; ?>
680 </td>
681 <?php endif; ?>
682
683 <?php if ($user5): ?>
684 <td class="section <?php echo $section2width . $block2div; ?>">
685 <?php print $user5; ?>
686 </td>
687 <?php endif; ?>
688
689 <?php if ($user6): ?>
690 <td class="section <?php echo $section2width . $block3div; ?>">
691 <?php print $user6; ?>
692 </td>
693 <?php endif; ?>
694
695 </tr>
696 </table>
697
698 </div>
699 <?php endif; ?>
700
701 <?php if ($content_bottom): ?><div id="content-bottom"><?php print $content_bottom; ?></div><?php endif; ?>
702
703 </div>
704 </div>
705
706 </div>
707
708 </div>
709 </div>
710 </div>
711
712 <?php if ($sidebar_left):?>
713 <div id="sidebar-left">
714 <div id="leftsidebar" class="sidebar">
715 <div class="textpadder">
716 <?php print $sidebar_left; ?>
717 </div>
718 </div>
719 </div>
720 <?php endif; ?>
721 <br class="brclear" />
722
723 </div>
724
725 <?php if ($sidebar_right):?>
726 <div id="sidebar-right">
727 <div id="rightsidebar" class="sidebar">
728 <div class="textpadder">
729 <?php print $sidebar_right; ?>
730 </div>
731 </div>
732 </div>
733 <?php endif; ?>
734 <br class="brclear" />
735
736 </div>
737
738 <?php if ($sidebar_right):?>
739 </div>
740 <?php endif; ?>
741
742 <?php if ($sidebar_left):?>
743 </div>
744 <?php endif; ?>
745
746 </div>
747
748 <div class="footer">
749 <div id="footer-wrapper">
750 <?php if ($footer_message):?><div id="footer-region"><?php print $footer_message; ?>
751 </div><?php endif; ?>
752 <div class="footer-right">
753 <div class="footer-left">
754 </div>
755 </div>
756 </div>
757 </div>
758
759 <?php if ($page_bottom):?><div id="page-bottom-region"><?php print $page_bottom; ?></div><?php endif; ?>
760
761 <?php print $closure ?>
762
763 </div>
764 </div>
765 </div>
766 </div>
767
768 </body>
769 </html>

  ViewVC Help
Powered by ViewVC 1.1.2