1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
---|
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
---|
4 | <head profile="http://gmpg.org/xfn/11">
|
---|
5 | <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
---|
6 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
---|
7 | <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
|
---|
8 | <?php global $options;
|
---|
9 | foreach ($options as $value) { if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } } ?>
|
---|
10 | <?php include (TEMPLATEPATH . '/functions/bfa_meta_tags.php'); ?>
|
---|
11 | <?php if ($bfa_ata_favicon_file != "") { ?><link rel="shortcut icon" href="<?php echo get_bloginfo('template_directory'); ?>/images/favicon/<?php echo $bfa_ata_favicon_file; ?>" /><?php } ?>
|
---|
12 | <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
|
---|
13 | <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
|
---|
14 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
---|
15 | <script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/js/ruthsarian_utilities.js"></script>
|
---|
16 | <script type="text/javascript">
|
---|
17 | <!--
|
---|
18 | if ( ( typeof( sfHover ) ).toLowerCase() != 'undefined' ) { event_attach( 'onload' , function () {
|
---|
19 | <?php if (strpos($bfa_ata_configure_header,'pages')!==FALSE) { ?>sfHover( 'rmenu2' );<?php } ?>
|
---|
20 | <?php if (strpos($bfa_ata_configure_header,'cats')!==FALSE) { ?>sfHover( 'rmenu' );<?php } ?>
|
---|
21 | if (document.getElementById("recent-comments") != null) { sfHover( 'recent-comments' ); }
|
---|
22 | if (document.getElementById("bfa-recent-comments") != null) {sfHover( 'bfa-recent-comments' ); }
|
---|
23 | } ); }
|
---|
24 | //-->
|
---|
25 | </script>
|
---|
26 | <script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/js/jquery-1.2.6.min.js"></script>
|
---|
27 | <script type="text/javascript">
|
---|
28 | <!--
|
---|
29 | var $bfa = jQuery.noConflict();
|
---|
30 | $bfa(document).ready(function(){
|
---|
31 | // IE6 max-width for images
|
---|
32 | if ($bfa.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent)) {
|
---|
33 | var centerwidth = $bfa("td#middle").width();
|
---|
34 | // without caption
|
---|
35 | $bfa(".post img").each(function() {
|
---|
36 | var maxwidth = centerwidth - 10 + 'px';
|
---|
37 | var imgwidth = $bfa(this).width();
|
---|
38 | var imgheight = $bfa(this).height();
|
---|
39 | var newimgheight = (centerwidth / imgwidth * imgheight) + 'px';
|
---|
40 | if (imgwidth > centerwidth) {
|
---|
41 | $bfa(this).css({width: maxwidth});
|
---|
42 | $bfa(this).css({height: newimgheight});
|
---|
43 | }
|
---|
44 | });
|
---|
45 | // with caption
|
---|
46 | $bfa("div.wp-caption").each(function() {
|
---|
47 | var captionwidth = $bfa(this).width();
|
---|
48 | var maxcaptionwidth = centerwidth + 'px';
|
---|
49 | var captionheight = $bfa(this).height();
|
---|
50 | var captionimgwidth = $bfa("div.wp-caption img").width();
|
---|
51 | var captionimgheight = $bfa("div.wp-caption img").height();
|
---|
52 | if (captionwidth > centerwidth) {
|
---|
53 | $bfa(this).css({width: maxcaptionwidth});
|
---|
54 | var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px';
|
---|
55 | var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px';
|
---|
56 | $bfa(this).css({height: newcaptionheight});
|
---|
57 | $bfa("div.wp-caption img").css({height: newcaptionimgheight});
|
---|
58 | }
|
---|
59 | });
|
---|
60 | }
|
---|
61 | <?php if ($bfa_ata_table_hover_rows == "Yes") { ?>
|
---|
62 | $bfa(".post table tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
|
---|
63 | <?php } else { ?>
|
---|
64 | $bfa(".post table.hover tr").mouseover(function() {$bfa(this).addClass("over");}).mouseout(function() {$bfa(this).removeClass("over");});
|
---|
65 | <?php } ?>
|
---|
66 | <?php if ($bfa_ata_table_zebra_stripes == "Yes") { ?>
|
---|
67 | $bfa(".post table tr:even").addClass("alt");
|
---|
68 | <?php } else { ?>
|
---|
69 | $bfa(".post table.zebra tr:even").addClass("alt");
|
---|
70 | <?php } ?>
|
---|
71 | <?php if ($bfa_ata_highlight_forms == "Yes") { ?>
|
---|
72 | $bfa("input.text, input.TextField, input.file, input.password, textarea").focus(function () { $bfa(this).addClass("highlight"); }).blur(function () { $bfa(this).removeClass("highlight"); })
|
---|
73 | <?php } ?>
|
---|
74 | $bfa("input.inputblur").focus(function () { $bfa(this).addClass("inputfocus"); }).blur(function () { $bfa(this).removeClass("inputfocus"); })
|
---|
75 | <?php if (function_exists('lmbbox_comment_quicktags_display')) { ?>
|
---|
76 | $bfa("input.ed_button").mouseover(function() {$bfa(this).addClass("ed_button_hover");}).mouseout(function() {$bfa(this).removeClass("ed_button_hover");});
|
---|
77 | <?php } ?>
|
---|
78 | $bfa("input.button, input.Button").mouseover(function() {$bfa(this).addClass("buttonhover");}).mouseout(function() {$bfa(this).removeClass("buttonhover");});
|
---|
79 | // toggle "you can use these xhtml tags
|
---|
80 | $bfa("a.xhtmltags").click(function(){ $bfa("div.xhtml-tags").slideToggle(300); });
|
---|
81 | });
|
---|
82 | //-->
|
---|
83 | </script>
|
---|
84 | <?php if ( function_exists('wp_list_comments') AND is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
|
---|
85 | <style type="text/css">
|
---|
86 | body {
|
---|
87 | <?php echo $bfa_ata_body_style; ?>
|
---|
88 | }
|
---|
89 |
|
---|
90 | a:link, a:visited, a:active {
|
---|
91 | color: #<?php echo $bfa_ata_link_color; ?>;
|
---|
92 | font-weight: <?php echo $bfa_ata_link_weight; ?>;
|
---|
93 | text-decoration: <?php echo $bfa_ata_link_default_decoration; ?>;
|
---|
94 | }
|
---|
95 |
|
---|
96 | a:hover {
|
---|
97 | color: #<?php echo $bfa_ata_link_hover_color; ?>;
|
---|
98 | font-weight: <?php echo $bfa_ata_link_weight; ?>;
|
---|
99 | text-decoration: <?php echo $bfa_ata_link_hover_decoration; ?>;
|
---|
100 | }
|
---|
101 |
|
---|
102 | <?php if ( $bfa_ata_layout_style_leftright_padding == "" ) {
|
---|
103 | $bfa_ata_layout_style_leftright_padding = "0"; }
|
---|
104 | if ( $bfa_ata_layout_style_leftright_padding != "0" ) {
|
---|
105 | $bfa_ata_layout_min = $bfa_ata_layout_min_width + ( $bfa_ata_layout_style_leftright_padding * 2 );
|
---|
106 | $bfa_ata_layout_max = $bfa_ata_layout_max_width + ( $bfa_ata_layout_style_leftright_padding * 2 );
|
---|
107 | } else {
|
---|
108 | $bfa_ata_layout_min = $bfa_ata_layout_min_width;
|
---|
109 | $bfa_ata_layout_max = $bfa_ata_layout_max_width;
|
---|
110 | }
|
---|
111 | ?>
|
---|
112 |
|
---|
113 | div#wrapper {
|
---|
114 | width: <?php echo $bfa_ata_layout_width; ?>;
|
---|
115 | <?php // if layout is fluid, set min/max width, if defined:
|
---|
116 | if(stristr($bfa_ata_layout_width, 'px') === FALSE) {
|
---|
117 | echo ($bfa_ata_layout_min_width == "" ? "" : "min-width: " . $bfa_ata_layout_min . "px;\n");
|
---|
118 | echo ($bfa_ata_layout_max_width == "" ? "" : "max-width: " . $bfa_ata_layout_max . "px;\n");
|
---|
119 | } ?>
|
---|
120 | }
|
---|
121 |
|
---|
122 | <?php // min/max width for IE6:
|
---|
123 | if(stristr($bfa_ata_layout_width, 'px') === FALSE && ($bfa_ata_layout_min != "" OR $bfa_ata_layout_max != "" )) { ?>
|
---|
124 | * html div#wrapper {
|
---|
125 | width:expression<?php if($bfa_ata_layout_max_width != "") { ?>(((document.compatMode &&
|
---|
126 | document.compatMode=='CSS1Compat') ?
|
---|
127 | document.documentElement.clientWidth :
|
---|
128 | document.body.clientWidth)
|
---|
129 | > <?php echo $bfa_ata_layout_max +1; ?> ? "<?php echo $bfa_ata_layout_max; ?>px" :
|
---|
130 | <?php } if($bfa_ata_layout_min_width == "") { ?>"<?php echo $bfa_ata_layout_width; ?>");}<?php } else { ?>
|
---|
131 | (((document.compatMode &&
|
---|
132 | document.compatMode=='CSS1Compat') ?
|
---|
133 | document.documentElement.clientWidth :
|
---|
134 | document.body.clientWidth)
|
---|
135 | < <?php echo $bfa_ata_layout_min + 1; ?> ? "<?php echo $bfa_ata_layout_min; ?>px" :
|
---|
136 | "<?php echo $bfa_ata_layout_width; ?>"));
|
---|
137 | }
|
---|
138 | <?php } } ?>
|
---|
139 |
|
---|
140 | div#container {
|
---|
141 | <?php echo $bfa_ata_layout_style; ?>
|
---|
142 | <?php if ( $bfa_ata_layout_style_leftright_padding != "0" ) { ?>
|
---|
143 | padding-left: <?php echo $bfa_ata_layout_style_leftright_padding; ?>px;
|
---|
144 | padding-right: <?php echo $bfa_ata_layout_style_leftright_padding; ?>px;
|
---|
145 | <?php } ?>
|
---|
146 | }
|
---|
147 |
|
---|
148 | .colone {width: <?php echo $bfa_ata_left_sidebar_width; ?>px;}
|
---|
149 | .colthree {width: <?php echo $bfa_ata_right_sidebar_width; ?>px;}
|
---|
150 |
|
---|
151 | table#logoarea {
|
---|
152 | border-spacing: 0px;
|
---|
153 | <?php echo $bfa_ata_logoarea_style; ?>
|
---|
154 | }
|
---|
155 |
|
---|
156 | .logo {
|
---|
157 | <?php echo $bfa_ata_logo_style; ?>
|
---|
158 | }
|
---|
159 |
|
---|
160 | h1.blogtitle {
|
---|
161 | <?php echo $bfa_ata_blog_title_style; ?>
|
---|
162 | }
|
---|
163 |
|
---|
164 | h1.blogtitle a:link,
|
---|
165 | h1.blogtitle a:visited,
|
---|
166 | h1.blogtitle a:active {
|
---|
167 | color: #<?php echo $bfa_ata_blog_title_color; ?>;
|
---|
168 | font-weight: <?php echo $bfa_ata_blog_title_weight; ?>;
|
---|
169 | }
|
---|
170 |
|
---|
171 | h1.blogtitle a:hover {
|
---|
172 | color: #<?php echo $bfa_ata_blog_title_color_hover; ?>;
|
---|
173 | font-weight: <?php echo $bfa_ata_blog_title_weight; ?>;
|
---|
174 | }
|
---|
175 |
|
---|
176 | p.tagline {
|
---|
177 | <?php echo $bfa_ata_blog_tagline_style; ?>
|
---|
178 | }
|
---|
179 |
|
---|
180 | div.rss-box {
|
---|
181 | width: <?php echo $bfa_ata_rss_box_width; ?>px;
|
---|
182 | }
|
---|
183 |
|
---|
184 | .searchbox {
|
---|
185 | height: 35px;
|
---|
186 | <?php echo $bfa_ata_searchbox_style; ?>
|
---|
187 | }
|
---|
188 |
|
---|
189 | .horbar1 {
|
---|
190 | <?php echo $bfa_ata_horbar1; ?>
|
---|
191 | }
|
---|
192 |
|
---|
193 | .horbar2 {
|
---|
194 | <?php echo $bfa_ata_horbar2; ?>
|
---|
195 | }
|
---|
196 |
|
---|
197 | <?php if (strpos($bfa_ata_configure_header,'%image')!==false) { ?>
|
---|
198 | .header-image-container {
|
---|
199 | height: <?php echo $bfa_ata_headerimage_height; ?>px;
|
---|
200 | }
|
---|
201 | <?php } ?>
|
---|
202 |
|
---|
203 | <?php if ( $bfa_ata_overlay_blog_title == "Yes" OR $bfa_ata_overlay_blog_tagline == "Yes" ) { ?>
|
---|
204 | .titleoverlay {
|
---|
205 | <?php echo $bfa_ata_overlay_box_style; ?>
|
---|
206 | }
|
---|
207 | <?php } ?>
|
---|
208 |
|
---|
209 | <?php if ( $bfa_ata_header_opacity_left != 0 AND $bfa_ata_header_opacity_left != '' ) { ?>
|
---|
210 | .opacityleft {
|
---|
211 | background-color: #<?php echo $bfa_ata_header_opacity_left_color; ?>;
|
---|
212 | height: <?php echo $bfa_ata_headerimage_height; ?>px;
|
---|
213 | width: <?php echo $bfa_ata_header_opacity_left_width; ?>px;
|
---|
214 | filter: alpha(opacity=<?php echo $bfa_ata_header_opacity_left; ?>);
|
---|
215 | -moz-opacity:.<?php echo $bfa_ata_header_opacity_left; ?>;
|
---|
216 | opacity:.<?php echo $bfa_ata_header_opacity_left; ?>;
|
---|
217 | }
|
---|
218 | <?php } ?>
|
---|
219 |
|
---|
220 | <?php if ( $bfa_ata_header_opacity_right != 0 AND $bfa_ata_header_opacity_right != '' ) { ?>
|
---|
221 | .opacityright {
|
---|
222 | background-color: #<?php echo $bfa_ata_header_opacity_right_color; ?>;
|
---|
223 | height: <?php echo $bfa_ata_headerimage_height; ?>px;
|
---|
224 | width: <?php echo $bfa_ata_header_opacity_right_width; ?>px;
|
---|
225 | filter: alpha(opacity=<?php echo $bfa_ata_header_opacity_right; ?>);
|
---|
226 | -moz-opacity:.<?php echo $bfa_ata_header_opacity_right; ?>;
|
---|
227 | opacity:.<?php echo $bfa_ata_header_opacity_right; ?>;
|
---|
228 | }
|
---|
229 | <?php } ?>
|
---|
230 |
|
---|
231 |
|
---|
232 | <?php if ($bfa_ata_header_image_clickable == "Yes") { ?>
|
---|
233 | div.clickable {
|
---|
234 | height: <?php echo $bfa_ata_headerimage_height; ?>px;
|
---|
235 | }
|
---|
236 | <?php } ?>
|
---|
237 |
|
---|
238 | td#left {
|
---|
239 | <?php echo $bfa_ata_left_sidebar_style; ?>
|
---|
240 | }
|
---|
241 |
|
---|
242 | td#right {
|
---|
243 | <?php echo $bfa_ata_right_sidebar_style; ?>
|
---|
244 | }
|
---|
245 |
|
---|
246 | td#middle {
|
---|
247 | <?php echo $bfa_ata_center_column_style; ?>
|
---|
248 | }
|
---|
249 |
|
---|
250 | td#footer {
|
---|
251 | width: auto;
|
---|
252 | <?php echo $bfa_ata_footer_style; ?>
|
---|
253 | }
|
---|
254 |
|
---|
255 | td#footer a:link, td#footer a:visited, td#footer a:active {
|
---|
256 | <?php echo $bfa_ata_footer_style_links; ?>
|
---|
257 | }
|
---|
258 |
|
---|
259 | td#footer a:hover {
|
---|
260 | <?php echo $bfa_ata_footer_style_links_hover; ?>
|
---|
261 | }
|
---|
262 |
|
---|
263 | div.widget {
|
---|
264 | <?php echo $bfa_ata_widget_container; ?>
|
---|
265 | }
|
---|
266 |
|
---|
267 | div.widget-title {
|
---|
268 | <?php echo $bfa_ata_widget_title_box; ?>
|
---|
269 | }
|
---|
270 |
|
---|
271 | div.widget-title h3 {
|
---|
272 | <?php echo $bfa_ata_widget_title; ?>
|
---|
273 | }
|
---|
274 |
|
---|
275 | div.widget-content {
|
---|
276 | <?php echo $bfa_ata_widget_content; ?>
|
---|
277 | }
|
---|
278 |
|
---|
279 | div.widget select {
|
---|
280 | <?php if ( $bfa_ata_select_font_size != "Default" ) {
|
---|
281 | echo "font-size: " . $bfa_ata_select_font_size . ";\n"; } ?>
|
---|
282 | }
|
---|
283 |
|
---|
284 | .widget ul li {
|
---|
285 | margin: 2px 0 2px <?php echo $bfa_ata_widget_lists['li-margin-left']; ?>px;
|
---|
286 | }
|
---|
287 |
|
---|
288 | .widget ul li ul li {
|
---|
289 | margin: 2px 0 2px <?php echo $bfa_ata_widget_lists2['li-margin-left']; ?>px;
|
---|
290 | }
|
---|
291 |
|
---|
292 | .widget ul li ul li ul li {
|
---|
293 | margin: 2px 0 2px <?php echo $bfa_ata_widget_lists3['li-margin-left']; ?>px;
|
---|
294 | }
|
---|
295 |
|
---|
296 | .widget ul li a:link,
|
---|
297 | .widget ul li a:visited,
|
---|
298 | .widget ul li a:active {
|
---|
299 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists['link-padding-left']; ?>px;
|
---|
300 | color: #<?php echo $bfa_ata_widget_lists['link-color']; ?>;
|
---|
301 | border-left: solid <?php echo $bfa_ata_widget_lists['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists['link-border-left-color']; ?>;
|
---|
302 | }
|
---|
303 |
|
---|
304 | .widget ul li ul li a:link,
|
---|
305 | .widget ul li ul li a:visited,
|
---|
306 | .widget ul li ul li a:active {
|
---|
307 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists2['link-padding-left']; ?>px;
|
---|
308 | color: #<?php echo $bfa_ata_widget_lists2['link-color']; ?>;
|
---|
309 | border-left: solid <?php echo $bfa_ata_widget_lists2['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists2['link-border-left-color']; ?>;
|
---|
310 | }
|
---|
311 |
|
---|
312 | .widget ul li ul li ul li a:link,
|
---|
313 | .widget ul li ul li ul li a:visited,
|
---|
314 | .widget ul li ul li ul li a:active {
|
---|
315 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists3['link-padding-left']; ?>px;
|
---|
316 | color: #<?php echo $bfa_ata_widget_lists3['link-color']; ?>;
|
---|
317 | border-left: solid <?php echo $bfa_ata_widget_lists3['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists3['link-border-left-color']; ?>;
|
---|
318 | }
|
---|
319 |
|
---|
320 |
|
---|
321 | .widget ul li a:hover {
|
---|
322 | color: #<?php echo $bfa_ata_widget_lists['link-hover-color']; ?>;
|
---|
323 | border-left: solid <?php echo $bfa_ata_widget_lists['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists['link-border-left-hover-color']; ?>;
|
---|
324 | }
|
---|
325 |
|
---|
326 | .widget ul li ul li a:hover {
|
---|
327 | color: #<?php echo $bfa_ata_widget_lists2['link-hover-color']; ?>;
|
---|
328 | border-left: solid <?php echo $bfa_ata_widget_lists2['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists2['link-border-left-hover-color']; ?>;
|
---|
329 | }
|
---|
330 |
|
---|
331 | .widget ul li ul li ul li a:hover {
|
---|
332 | color: #<?php echo $bfa_ata_widget_lists3['link-hover-color']; ?>;
|
---|
333 | border-left: solid <?php echo $bfa_ata_widget_lists3['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists3['link-border-left-hover-color']; ?>;
|
---|
334 | }
|
---|
335 |
|
---|
336 | .widget_categories ul li a:link,
|
---|
337 | .widget_categories ul li a:visited,
|
---|
338 | .widget_categories ul li a:active,
|
---|
339 | .widget_categories ul li a:hover {
|
---|
340 | display: <?php echo $bfa_ata_category_widget_display_type; ?> !important;
|
---|
341 | }
|
---|
342 |
|
---|
343 | div#get_recent_comments_wrap ul li ul li,
|
---|
344 | .widget_recent_comments ul li,
|
---|
345 | .widget_simple_recent_comments ul li {
|
---|
346 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists['link-padding-left']; ?>px;
|
---|
347 | border-left: solid <?php echo $bfa_ata_widget_lists['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists['link-border-left-color']; ?>;
|
---|
348 | }
|
---|
349 |
|
---|
350 | div#get_recent_comments_wrap ul li ul li ul li,
|
---|
351 | .widget_recent_comments ul li ul li,
|
---|
352 | .widget_simple_recent_comments ul li ul li {
|
---|
353 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists2['link-padding-left']; ?>px;
|
---|
354 | border-left: solid <?php echo $bfa_ata_widget_lists2['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists2['link-border-left-color']; ?>;
|
---|
355 | }
|
---|
356 |
|
---|
357 | .widget_recent_comments ul li ul li ul li,
|
---|
358 | .widget_simple_recent_comments ul li ul li ul li {
|
---|
359 | padding: 0 0 0 <?php echo $bfa_ata_widget_lists3['link-padding-left']; ?>px;
|
---|
360 | border-left: solid <?php echo $bfa_ata_widget_lists3['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists3['link-border-left-color']; ?>;
|
---|
361 | }
|
---|
362 |
|
---|
363 | div#get_recent_comments_wrap ul li ul li:hover,
|
---|
364 | .widget_recent_comments ul li:hover,
|
---|
365 | .widget_simple_recent_comments ul li:hover,
|
---|
366 | div#get_recent_comments_wrap ul li ul li.sfhover,
|
---|
367 | .widget_recent_comments ul li.sfhover,
|
---|
368 | .widget_simple_recent_comments ul li.sfhover {
|
---|
369 | border-left: solid <?php echo $bfa_ata_widget_lists['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists['link-border-left-hover-color']; ?>;
|
---|
370 | }
|
---|
371 |
|
---|
372 | div#get_recent_comments_wrap ul li ul li ul li:hover,
|
---|
373 | .widget_recent_comments ul li ul li:hover,
|
---|
374 | .widget_simple_recent_comments ul li ul li:hover,
|
---|
375 | div#get_recent_comments_wrap ul li ul li ul li.sfhover,
|
---|
376 | .widget_recent_comments ul li ul li.sfhover,
|
---|
377 | .widget_simple_recent_comments ul li ul li.sfhover {
|
---|
378 | border-left: solid <?php echo $bfa_ata_widget_lists2['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists2['link-border-left-hover-color']; ?>;
|
---|
379 | }
|
---|
380 |
|
---|
381 | .widget_recent_comments ul li ul li ul li:hover,
|
---|
382 | .widget_simple_recent_comments ul li ul li ul li:hover,
|
---|
383 | .widget_recent_comments ul li ul li ul li.sfhover,
|
---|
384 | .widget_simple_recent_comments ul li ul li ul li.sfhover {
|
---|
385 | border-left: solid <?php echo $bfa_ata_widget_lists3['link-border-left-width']; ?>px #<?php echo $bfa_ata_widget_lists3['link-border-left-hover-color']; ?>;
|
---|
386 | }
|
---|
387 |
|
---|
388 | div.post {
|
---|
389 | <?php echo $bfa_ata_post_container_style; ?>
|
---|
390 | }
|
---|
391 |
|
---|
392 | .sticky {
|
---|
393 | <?php echo $bfa_ata_post_container_sticky_style; ?>
|
---|
394 | }
|
---|
395 |
|
---|
396 | div.post-kicker {
|
---|
397 | <?php echo $bfa_ata_post_kicker_style; ?>
|
---|
398 | }
|
---|
399 |
|
---|
400 | div.post-kicker a:link,
|
---|
401 | div.post-kicker a:visited,
|
---|
402 | div.post-kicker a:active {
|
---|
403 | <?php echo $bfa_ata_post_kicker_style_links; ?>
|
---|
404 | }
|
---|
405 |
|
---|
406 | div.post-kicker a:hover {
|
---|
407 | <?php echo $bfa_ata_post_kicker_style_links_hover; ?>
|
---|
408 | }
|
---|
409 |
|
---|
410 | div.post-headline {
|
---|
411 | <?php echo $bfa_ata_post_headline_style; ?>
|
---|
412 | }
|
---|
413 |
|
---|
414 | div.post-headline h2 {
|
---|
415 | <?php echo $bfa_ata_post_headline_style_text; ?>
|
---|
416 | }
|
---|
417 |
|
---|
418 | div.post-headline h2 a:link,
|
---|
419 | div.post-headline h2 a:visited,
|
---|
420 | div.post-headline h2 a:active {
|
---|
421 | <?php echo $bfa_ata_post_headline_style_links; ?>
|
---|
422 | }
|
---|
423 |
|
---|
424 | div.post-headline h2 a:hover {
|
---|
425 | <?php echo $bfa_ata_post_headline_style_links_hover; ?>
|
---|
426 | }
|
---|
427 |
|
---|
428 | div.post-byline {
|
---|
429 | <?php echo $bfa_ata_post_byline_style; ?>
|
---|
430 | }
|
---|
431 |
|
---|
432 | div.post-byline a:link,
|
---|
433 | div.post-byline a:visited,
|
---|
434 | div.post-byline a:active {
|
---|
435 | <?php echo $bfa_ata_post_byline_style_links; ?>
|
---|
436 | }
|
---|
437 |
|
---|
438 | div.post-byline a:hover {
|
---|
439 | <?php echo $bfa_ata_post_byline_style_links_hover; ?>
|
---|
440 | }
|
---|
441 |
|
---|
442 | div.post-bodycopy {
|
---|
443 | <?php echo $bfa_ata_post_bodycopy_style; ?>
|
---|
444 | }
|
---|
445 |
|
---|
446 | div.post-footer {
|
---|
447 | <?php echo $bfa_ata_post_footer_style; ?>
|
---|
448 | }
|
---|
449 |
|
---|
450 | div.post-footer a:link,
|
---|
451 | div.post-footer a:visited,
|
---|
452 | div.post-footer a:active {
|
---|
453 | <?php echo $bfa_ata_post_footer_style_links; ?>
|
---|
454 | }
|
---|
455 |
|
---|
456 | div.post-footer a:hover {
|
---|
457 | <?php echo $bfa_ata_post_footer_style_links_hover; ?>
|
---|
458 | }
|
---|
459 |
|
---|
460 | .navigation-top {
|
---|
461 | <?php echo $bfa_ata_next_prev_style_top; ?>
|
---|
462 | }
|
---|
463 |
|
---|
464 | .navigation-middle {
|
---|
465 | <?php echo $bfa_ata_next_prev_style_middle; ?>
|
---|
466 | }
|
---|
467 |
|
---|
468 | .navigation-bottom {
|
---|
469 | <?php echo $bfa_ata_next_prev_style_bottom; ?>
|
---|
470 | }
|
---|
471 |
|
---|
472 | .navigation-comments-above {
|
---|
473 | <?php if (isset($bfa_ata_next_prev_style_comments_above)) echo $bfa_ata_next_prev_style_comments_above; ?>
|
---|
474 | }
|
---|
475 |
|
---|
476 | .navigation-comments-below {
|
---|
477 | <?php if (isset($bfa_ata_next_prev_style_comments_below)) echo $bfa_ata_next_prev_style_comments_below; ?>
|
---|
478 | }
|
---|
479 |
|
---|
480 | input.text,
|
---|
481 | input.password,
|
---|
482 | input.file,
|
---|
483 | input.TextField,
|
---|
484 | textarea {
|
---|
485 | <?php echo $bfa_ata_form_input_field_style . "\n"; ?>
|
---|
486 | <?php echo ($bfa_ata_form_input_field_background != "" ?
|
---|
487 | "background: url(" . get_bloginfo('template_directory') . "/images/" .
|
---|
488 | $bfa_ata_form_input_field_background . ") top left no-repeat;" : ""); ?>
|
---|
489 | }
|
---|
490 |
|
---|
491 | <?php if ($bfa_ata_highlight_forms == "Yes") { ?>
|
---|
492 | input.highlight, textarea.highlight {
|
---|
493 | <?php echo $bfa_ata_highlight_forms_style; ?>
|
---|
494 | }
|
---|
495 | <?php } ?>
|
---|
496 |
|
---|
497 | .button, .Button {
|
---|
498 | <?php echo $bfa_ata_button_style; ?>
|
---|
499 | }
|
---|
500 |
|
---|
501 | .buttonhover {
|
---|
502 | <?php echo $bfa_ata_button_style_hover; ?>
|
---|
503 | }
|
---|
504 |
|
---|
505 | form#commentform input#submit {
|
---|
506 | <?php echo $bfa_ata_submit_button_style; ?>
|
---|
507 | }
|
---|
508 |
|
---|
509 | blockquote {
|
---|
510 | <?php echo $bfa_ata_blockquote_style; ?>
|
---|
511 | }
|
---|
512 |
|
---|
513 | blockquote blockquote {
|
---|
514 | <?php echo $bfa_ata_blockquote_style_2nd_level; ?>
|
---|
515 | }
|
---|
516 |
|
---|
517 | .post table {
|
---|
518 | <?php echo $bfa_ata_table; ?>
|
---|
519 | }
|
---|
520 |
|
---|
521 | .post table caption {
|
---|
522 | <?php echo $bfa_ata_table_caption; ?>
|
---|
523 | }
|
---|
524 |
|
---|
525 | .post table th {
|
---|
526 | <?php echo $bfa_ata_table_th; ?>
|
---|
527 | }
|
---|
528 |
|
---|
529 | .post table td {
|
---|
530 | <?php echo $bfa_ata_table_td; ?>
|
---|
531 | }
|
---|
532 |
|
---|
533 | .post table tfoot td {
|
---|
534 | <?php echo $bfa_ata_table_tfoot_td; ?>
|
---|
535 | }
|
---|
536 |
|
---|
537 | .post table tr.alt td {
|
---|
538 | <?php echo $bfa_ata_table_zebra_td; ?>
|
---|
539 | }
|
---|
540 |
|
---|
541 | .post table tr.over td {
|
---|
542 | <?php echo $bfa_ata_table_hover_td; ?>
|
---|
543 | }
|
---|
544 |
|
---|
545 | ol.commentlist {
|
---|
546 | border-top: <?php echo $bfa_ata_comment_border; ?>;
|
---|
547 | }
|
---|
548 |
|
---|
549 | ol.commentlist li {
|
---|
550 | background-color: #<?php echo $bfa_ata_comment_background_color; ?>;
|
---|
551 | border-bottom: <?php echo $bfa_ata_comment_border; ?>;
|
---|
552 | }
|
---|
553 |
|
---|
554 | ol.commentlist li.alt {
|
---|
555 | background-color: #<?php echo $bfa_ata_comment_alt_background_color; ?>;
|
---|
556 | border-bottom: <?php echo $bfa_ata_comment_border; ?>;
|
---|
557 | }
|
---|
558 |
|
---|
559 | ol.commentlist li.authorcomment {
|
---|
560 | background-color: #<?php echo $bfa_ata_author_highlight_color; ?>;
|
---|
561 | }
|
---|
562 |
|
---|
563 | ol.commentlist span.authorname {
|
---|
564 | font-size: <?php echo $bfa_ata_comment_author_size; ?>;
|
---|
565 | }
|
---|
566 |
|
---|
567 | ul.commentlist {
|
---|
568 | border-top: <?php echo $bfa_ata_comment_border; ?>;
|
---|
569 | }
|
---|
570 |
|
---|
571 | ul.commentlist li.thread-even {
|
---|
572 | background-color: #<?php echo $bfa_ata_comment_background_color; ?>;
|
---|
573 | border-bottom: <?php echo $bfa_ata_comment_border; ?>;
|
---|
574 | }
|
---|
575 |
|
---|
576 | ul.commentlist li.thread-odd {
|
---|
577 | background-color: #<?php echo $bfa_ata_comment_alt_background_color; ?>;
|
---|
578 | border-bottom: <?php echo $bfa_ata_comment_border; ?>;
|
---|
579 | }
|
---|
580 |
|
---|
581 | <?php if ($bfa_ata_author_highlight == "Yes") { ?>
|
---|
582 | ul.commentlist li.bypostauthor {
|
---|
583 | background-color: #<?php echo $bfa_ata_author_highlight_color; ?>;
|
---|
584 | }
|
---|
585 | <?php } ?>
|
---|
586 |
|
---|
587 | /* reset children */
|
---|
588 |
|
---|
589 | ul.commentlist li ul.children,
|
---|
590 | ul.commentlist li ul.children li,
|
---|
591 | ul.commentlist li ul.children li.bypostauthor {
|
---|
592 | background-color: transparent;
|
---|
593 | border: 0;
|
---|
594 | padding: 0;
|
---|
595 | margin: 0;
|
---|
596 | display: block;
|
---|
597 | height: 1%; /* for IE */
|
---|
598 | }
|
---|
599 |
|
---|
600 | ul.commentlist span.authorname {
|
---|
601 | font-size: <?php echo $bfa_ata_comment_author_size; ?>;
|
---|
602 | }
|
---|
603 |
|
---|
604 | a.page-numbers:link,
|
---|
605 | a.page-numbers:visited,
|
---|
606 | a.page-numbers:active {
|
---|
607 | color: #<?php echo $bfa_ata_link_color; ?>;
|
---|
608 | border-color: #<?php echo $bfa_ata_link_color; ?>;
|
---|
609 | }
|
---|
610 |
|
---|
611 | a.page-numbers:hover {
|
---|
612 | color: #<?php echo $bfa_ata_link_hover_color; ?>;
|
---|
613 | border-color: #<?php echo $bfa_ata_link_hover_color; ?>;
|
---|
614 | }
|
---|
615 |
|
---|
616 | .post img { <?php echo $bfa_ata_post_image_style; ?> }
|
---|
617 |
|
---|
618 | .wp-caption { <?php echo $bfa_ata_post_image_caption_style; ?> }
|
---|
619 |
|
---|
620 | .wp-caption p.wp-caption-text {
|
---|
621 | <?php echo $bfa_ata_image_caption_text; ?>
|
---|
622 | }
|
---|
623 |
|
---|
624 | img.avatar {
|
---|
625 | <?php echo $bfa_ata_avatar_style; ?>
|
---|
626 | }
|
---|
627 |
|
---|
628 | div#respond {
|
---|
629 | <?php echo $bfa_ata_comment_form_style; ?>
|
---|
630 | }
|
---|
631 |
|
---|
632 | <?php if (strpos($bfa_ata_configure_header,'%pages')!==false OR strpos($bfa_ata_configure_header,'%cats')!==false) { ?>
|
---|
633 | div#menu1 ul.rMenu-ver, div#menu1 ul.rMenu-ver ul
|
---|
634 | {
|
---|
635 | width: <?php echo $bfa_ata_page_menu_submenu_width; ?>em;
|
---|
636 | }
|
---|
637 |
|
---|
638 | div#menu2 ul.rMenu-ver, div#menu2 ul.rMenu-ver ul
|
---|
639 | {
|
---|
640 | width: <?php echo $bfa_ata_cat_menu_submenu_width; ?>em;
|
---|
641 | }
|
---|
642 |
|
---|
643 | ul.rMenu
|
---|
644 | {
|
---|
645 | background: #<?php echo $bfa_ata_page_menu_bar_background_color; ?>;
|
---|
646 | border: <?php echo $bfa_ata_anchor_border_page_menu_bar; ?>;
|
---|
647 | }
|
---|
648 |
|
---|
649 | ul#rmenu
|
---|
650 | {
|
---|
651 | background: #<?php echo $bfa_ata_cat_menu_bar_background_color; ?>;
|
---|
652 | border: <?php echo $bfa_ata_anchor_border_cat_menu_bar; ?>;
|
---|
653 | }
|
---|
654 |
|
---|
655 | ul.rMenu li a
|
---|
656 | {
|
---|
657 | border: <?php echo $bfa_ata_anchor_border_page_menu_bar; ?>;
|
---|
658 | }
|
---|
659 |
|
---|
660 | ul#rmenu li a
|
---|
661 | {
|
---|
662 | border: <?php echo $bfa_ata_anchor_border_cat_menu_bar; ?>;
|
---|
663 | }
|
---|
664 |
|
---|
665 | div#menu1 ul.rMenu-ver
|
---|
666 | {
|
---|
667 | border-top: <?php echo $bfa_ata_anchor_border_page_menu_bar; ?>;
|
---|
668 | }
|
---|
669 |
|
---|
670 | div#menu2 ul.rMenu-ver
|
---|
671 | {
|
---|
672 | border-top: <?php echo $bfa_ata_anchor_border_cat_menu_bar; ?>;
|
---|
673 | }
|
---|
674 |
|
---|
675 | ul.rMenu li a:link, ul.rMenu li a:hover, ul.rMenu li a:visited, ul.rMenu li a:active
|
---|
676 | {
|
---|
677 | color: #<?php echo $bfa_ata_page_menu_bar_link_color; ?>;
|
---|
678 | text-transform: <?php echo $bfa_ata_page_menu_transform; ?>;
|
---|
679 | font: <?php echo $bfa_ata_page_menu_font; ?>;
|
---|
680 | }
|
---|
681 |
|
---|
682 | ul#rmenu li a:link, ul#rmenu li a:hover, ul#rmenu li a:visited, ul#rmenu li a:active
|
---|
683 | {
|
---|
684 | color: #<?php echo $bfa_ata_cat_menu_bar_link_color; ?>;
|
---|
685 | text-transform: <?php echo $bfa_ata_cat_menu_transform; ?>;
|
---|
686 | font: <?php echo $bfa_ata_cat_menu_font; ?>;
|
---|
687 | }
|
---|
688 |
|
---|
689 | ul.rMenu li
|
---|
690 | {
|
---|
691 | background-color: #<?php echo $bfa_ata_page_menu_bar_background_color; ?>;
|
---|
692 | }
|
---|
693 |
|
---|
694 | ul#rmenu li
|
---|
695 | {
|
---|
696 | background-color: #<?php echo $bfa_ata_cat_menu_bar_background_color; ?>;
|
---|
697 | }
|
---|
698 |
|
---|
699 | ul.rMenu li:hover,
|
---|
700 | ul.rMenu li.sfhover
|
---|
701 | {
|
---|
702 | background-color: #<?php echo $bfa_ata_page_menu_bar_background_color_parent; ?>;
|
---|
703 | }
|
---|
704 |
|
---|
705 | ul#rmenu li:hover,
|
---|
706 | ul#rmenu li.sfhover
|
---|
707 | {
|
---|
708 | background-color: #<?php echo $bfa_ata_cat_menu_bar_background_color_parent; ?>;
|
---|
709 | }
|
---|
710 |
|
---|
711 | ul.rMenu li.current_page_item a:link,
|
---|
712 | ul.rMenu li.current_page_item a:active,
|
---|
713 | ul.rMenu li.current_page_item a:hover,
|
---|
714 | ul.rMenu li.current_page_item a:visited,
|
---|
715 | ul.rMenu li a:hover
|
---|
716 | {
|
---|
717 | background-color: #<?php echo $bfa_ata_page_menu_bar_background_color_hover; ?>;
|
---|
718 | color: #<?php echo $bfa_ata_page_menu_bar_link_color_hover; ?>;
|
---|
719 | }
|
---|
720 |
|
---|
721 | ul#rmenu li.current-cat a:link,
|
---|
722 | ul#rmenu li.current-cat a:active,
|
---|
723 | ul#rmenu li.current-cat a:hover,
|
---|
724 | ul#rmenu li.current-cat a:visited,
|
---|
725 | ul#rmenu li a:hover
|
---|
726 | {
|
---|
727 | background-color: #<?php echo $bfa_ata_cat_menu_bar_background_color_hover; ?>;
|
---|
728 | color: #<?php echo $bfa_ata_cat_menu_bar_link_color_hover; ?>;
|
---|
729 | }
|
---|
730 |
|
---|
731 | div#menu1 ul.rMenu li.rMenu-expand a,
|
---|
732 | div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand a,
|
---|
733 | div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
|
---|
734 | div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
|
---|
735 | div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a
|
---|
736 | {
|
---|
737 | background-image: url(<?php echo get_bloginfo('template_directory'); ?>/images/expand-right<?php echo ($bfa_ata_page_menu_arrows == "white" ? "-white" : ""); ?>.gif);
|
---|
738 | }
|
---|
739 |
|
---|
740 | div#menu2 ul.rMenu li.rMenu-expand a,
|
---|
741 | div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand a,
|
---|
742 | div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
|
---|
743 | div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
|
---|
744 | div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a
|
---|
745 | {
|
---|
746 | background-image: url(<?php echo get_bloginfo('template_directory'); ?>/images/expand-right<?php echo ($bfa_ata_cat_menu_arrows == "white" ? "-white" : ""); ?>.gif);
|
---|
747 | }
|
---|
748 |
|
---|
749 | div#menu1 ul.rMenu-hor li.rMenu-expand a
|
---|
750 | {
|
---|
751 | background-image: url(<?php echo get_bloginfo('template_directory'); ?>/images/expand-down<?php echo ($bfa_ata_page_menu_arrows == "white" ? "-white" : ""); ?>.gif);
|
---|
752 | }
|
---|
753 |
|
---|
754 | div#menu2 ul.rMenu-hor li.rMenu-expand a
|
---|
755 | {
|
---|
756 | background-image: url(<?php echo get_bloginfo('template_directory'); ?>/images/expand-down<?php echo ($bfa_ata_cat_menu_arrows == "white" ? "-white" : ""); ?>.gif);
|
---|
757 | }
|
---|
758 | <?php } ?>
|
---|
759 | <?php echo $bfa_ata_html_inserts_css; ?>
|
---|
760 | </style>
|
---|
761 | <?php wp_head(); ?>
|
---|
762 | <?php if (function_exists('wp_pagenavi')) { ?>
|
---|
763 | <style type="text/css">
|
---|
764 | .wp-pagenavi a:link, .wp-pagenavi a:visited, .wp-pagenavi a:active { color: #<?php echo $bfa_ata_link_color; ?>; border: solid 1px #<?php echo $bfa_ata_link_color; ?>; }
|
---|
765 | .wp-pagenavi a:hover { color: #<?php echo $bfa_ata_link_hover_color; ?>; border: solid 1px #<?php echo $bfa_ata_link_hover_color; ?>; }
|
---|
766 | </style>
|
---|
767 | <?php } ?>
|
---|
768 | <?php echo ($bfa_ata_html_inserts_header != "" ? apply_filters(widget_text, $bfa_ata_html_inserts_header) : ''); ?>
|
---|
769 | </head>
|
---|
770 | <?php
|
---|
771 | // load postinfo function
|
---|
772 | include (TEMPLATEPATH . '/functions/bfa_postinfo.php');
|
---|
773 | // if this is a multi post page, and a "home" link is set for the next/prev navigation on multi post pages,
|
---|
774 | // figure out if this the blog homepage, and remove the "home" link from the next/prev navigation if true
|
---|
775 | if ( !is_single() AND !is_page() AND $bfa_ata_home_multi_next_prev != '' ) {
|
---|
776 | $nav_home_div_on = '<div class="home"><a href="' . get_option('home') . '/">' . $bfa_ata_home_multi_next_prev . '</a></div>';
|
---|
777 | // for WP 2.5 and newer
|
---|
778 | if ( function_exists('is_front_page') ) {
|
---|
779 | // make sure this is the real homepage and not a subsequent page
|
---|
780 | if (is_front_page() && !is_paged() ) {
|
---|
781 | $nav_home_add = ""; $nav_home_div = "";
|
---|
782 | } else {
|
---|
783 | $nav_home_add = '-home';
|
---|
784 | $nav_home_div = $nav_home_div_on;
|
---|
785 | }
|
---|
786 | }
|
---|
787 | // for WP 2.3 and older
|
---|
788 | // make sure this is the real homepage and not a subsequent page
|
---|
789 | elseif ( is_home() && !is_paged() ) {
|
---|
790 | $nav_home_add = ""; $nav_home_div = "";
|
---|
791 | }
|
---|
792 | else {
|
---|
793 | $nav_home_add = '-home';
|
---|
794 | $nav_home_div = $nav_home_div_on;
|
---|
795 | }
|
---|
796 | }
|
---|
797 | // Home link for next/prev on single pages
|
---|
798 | if ( is_single() ) {
|
---|
799 | if ($bfa_ata_home_single_next_prev != '') {
|
---|
800 | $nav_home_div_on_single = '<div class="home"><a href="' . get_option('home') . '/">' . $bfa_ata_home_single_next_prev . '</a></div>';
|
---|
801 | $nav_home_add_single = '-home';
|
---|
802 | } else {
|
---|
803 | $nav_home_div_on_single = "";
|
---|
804 | $nav_home_add_single = "";
|
---|
805 | }
|
---|
806 | }
|
---|
807 | // figure out sidebars
|
---|
808 | global $cols;
|
---|
809 | $cols = 1;
|
---|
810 | if ( is_page() ) {
|
---|
811 | #$current_page_id = $wp_query->get('page_id');
|
---|
812 | $current_page_id = $wp_query->get_queried_object_id();
|
---|
813 | if ($bfa_ata_left_col_pages_exclude != "") {
|
---|
814 | $pages_exlude_left = explode(",", str_replace(" ", "", $bfa_ata_left_col_pages_exclude));
|
---|
815 | if ( $bfa_ata_leftcol_on['page'] && !in_array($current_page_id, $pages_exlude_left) ) {
|
---|
816 | $cols++; $left_col = "on"; }
|
---|
817 | } else {
|
---|
818 | if ( $bfa_ata_leftcol_on['page'] ) {
|
---|
819 | $cols++; $left_col = "on"; }
|
---|
820 | }
|
---|
821 | if ($bfa_ata_right_col_pages_exclude != "") {
|
---|
822 | $pages_exlude_right = explode(",", str_replace(" ", "", $bfa_ata_right_col_pages_exclude));
|
---|
823 | if ( $bfa_ata_rightcol_on['page'] && !in_array($current_page_id, $pages_exlude_right) ) {
|
---|
824 | $cols++; $right_col = "on"; }
|
---|
825 | } else {
|
---|
826 | if ( $bfa_ata_rightcol_on['page'] ) {
|
---|
827 | $cols++; $right_col = "on"; }
|
---|
828 | }
|
---|
829 | } elseif ( is_category() ) {
|
---|
830 | $current_cat_id = get_query_var('cat');
|
---|
831 | if ($bfa_ata_left_col_cats_exclude != "") {
|
---|
832 | $cats_exlude_left = explode(",", str_replace(" ", "", $bfa_ata_left_col_cats_exclude));
|
---|
833 | if ( $bfa_ata_leftcol_on['category'] && !in_array($current_cat_id, $cats_exlude_left) ) {
|
---|
834 | $cols++; $left_col = "on"; }
|
---|
835 | } else {
|
---|
836 | if ( $bfa_ata_leftcol_on['category'] ) {
|
---|
837 | $cols++; $left_col = "on"; }
|
---|
838 | }
|
---|
839 | if ($bfa_ata_right_col_cats_exclude != "") {
|
---|
840 | $cats_exlude_right = explode(",", str_replace(" ", "", $bfa_ata_right_col_cats_exclude));
|
---|
841 | if ( $bfa_ata_rightcol_on['category'] && !in_array($current_cat_id, $cats_exlude_right) ) {
|
---|
842 | $cols++; $right_col = "on"; }
|
---|
843 | } else {
|
---|
844 | if ( $bfa_ata_rightcol_on['category'] ) {
|
---|
845 | $cols++; $right_col = "on"; }
|
---|
846 | }
|
---|
847 | } else {
|
---|
848 | if ( (is_home() && $bfa_ata_leftcol_on['homepage']) || ( is_front_page() && $bfa_ata_leftcol_on['frontpage']) ||
|
---|
849 | ( is_single() && $bfa_ata_leftcol_on['single']) || ( is_date() && $bfa_ata_leftcol_on['date']) ||
|
---|
850 | ( is_tag() && $bfa_ata_leftcol_on['tag']) || ( is_search() && $bfa_ata_leftcol_on['search']) ||
|
---|
851 | ( is_author() && $bfa_ata_leftcol_on['author']) || ( is_404() && $bfa_ata_leftcol_on['404']) ||
|
---|
852 | ( is_attachment() && $bfa_ata_leftcol_on['attachment']) ) {
|
---|
853 | $cols++; $left_col = "on";
|
---|
854 | }
|
---|
855 | if ( (is_home() && $bfa_ata_rightcol_on['homepage']) || ( is_front_page() && $bfa_ata_rightcol_on['frontpage']) ||
|
---|
856 | ( is_single() && $bfa_ata_rightcol_on['single']) || ( is_date() && $bfa_ata_rightcol_on['date']) ||
|
---|
857 | ( is_tag() && $bfa_ata_rightcol_on['tag']) || ( is_search() && $bfa_ata_rightcol_on['search']) ||
|
---|
858 | ( is_author() && $bfa_ata_rightcol_on['author']) || ( is_404() && $bfa_ata_rightcol_on['404']) ||
|
---|
859 | ( is_attachment() && $bfa_ata_rightcol_on['attachment']) ) {
|
---|
860 | $cols++; $right_col = "on";
|
---|
861 | }
|
---|
862 | }
|
---|
863 |
|
---|
864 | ?>
|
---|
865 | <body<?php echo ($bfa_ata_html_inserts_body_tag != "" ? ' ' . apply_filters(widget_text, $bfa_ata_html_inserts_body_tag) : ''); ?>>
|
---|
866 | <?php echo ($bfa_ata_html_inserts_body_top != "" ? apply_filters(widget_text, $bfa_ata_html_inserts_body_top) : ''); ?>
|
---|
867 | <div id="wrapper">
|
---|
868 | <div id="container">
|
---|
869 | <table id="layout" border="0" cellspacing="0" cellpadding="0">
|
---|
870 | <colgroup>
|
---|
871 | <?php if ( $left_col == "on" ) { ?>
|
---|
872 | <col class="colone" />
|
---|
873 | <?php } ?>
|
---|
874 | <col class="coltwo" />
|
---|
875 | <?php if ( $right_col == "on" ) { ?>
|
---|
876 | <col class="colthree" />
|
---|
877 | <?php } ?>
|
---|
878 | </colgroup>
|
---|
879 | <tr>
|
---|
880 |
|
---|
881 | <!-- Header -->
|
---|
882 | <td id="header" colspan="<?php echo $cols; ?>">
|
---|
883 |
|
---|
884 | <?php bfa_header_config($bfa_ata_configure_header); ?>
|
---|
885 |
|
---|
886 | </td>
|
---|
887 | <!-- / Header -->
|
---|
888 |
|
---|
889 | </tr>
|
---|
890 |
|
---|
891 | <!-- Main Body -->
|
---|
892 | <tr>
|
---|
893 |
|
---|
894 | <?php if ( $left_col == "on" ) { ?>
|
---|
895 | <!-- Left Sidebar -->
|
---|
896 | <td id="left">
|
---|
897 |
|
---|
898 | <?php // Widgetize the Left Sidebar
|
---|
899 | if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : echo "To put some content here, go to Site Admin -> Appearance/Presentation -> Widgets -> Select \"Left Sidebar\" -> Click \"Show\" -> Click on \"Add\" on one of the widgets on the left side -> Click \"Save changes\" -> Done";
|
---|
900 | endif; ?>
|
---|
901 |
|
---|
902 | </td>
|
---|
903 | <!-- / Left Sidebar -->
|
---|
904 | <?php } ?>
|
---|
905 |
|
---|
906 |
|
---|
907 | <!-- Main Column -->
|
---|
908 | <td id="middle">
|
---|
909 |
|
---|