Advertisement
JAMKING

Untitled

Mar 6th, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  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" <?php language_attributes(); ?>>
  3. <head>
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  6. <?php /* if index.php or another page template (copied from index.php) was not used
  7. (i.e. by a plugin such as WPG2), the global $bfa_ata would be empty */
  8. global $bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2;
  9. // if ($bfa_ata == "") include_once (TEMPLATEPATH . '/functions/bfa_get_options.php'); ?>
  10. <?php if ( $bfa_ata['css_external'] == "External" ) { ?>
  11. <link rel="stylesheet" href="<?php bloginfo('url'); ?>/?bfa_ata_file=css" type="text/css" media="all" />
  12. <?php } ?>
  13. <?php include (TEMPLATEPATH . '/functions/bfa_meta_tags.php'); ?>
  14. <?php if ($bfa_ata['favicon_file'] != "") { ?><link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/images/favicon/<?php echo $bfa_ata['favicon_file']; ?>" /><?php } ?>
  15. <?php if ( is_single() OR is_page() ) { ?><link rel="canonical" href="<?php the_permalink(); ?>" /><?php } ?>
  16. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  17. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  18. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  19. <?php wp_enqueue_script( 'jquery' ); ?>
  20. <?php if ( function_exists('wp_list_comments') AND is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
  21. <?php wp_head(); ?>
  22. <?php bfa_html_inserts($bfa_ata['html_inserts_header']); ?>
  23. <?php if ($bfa_ata['pngfix_selectors'] != "") { ?>
  24. <!--[if IE 6]>
  25. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_roundies.js"></script>
  26. <script type="text/javascript">DD_roundies.addRule('<?php echo $bfa_ata['pngfix_selectors']; ?>');</script>
  27. <![endif]-->
  28. <?php } ?>
  29. <?php if (strpos($bfa_ata['configure_header'],'%image')!== FALSE AND
  30. $bfa_ata['header_image_javascript'] != "0" AND $bfa_ata['crossslide_fade'] != "0") { ?>
  31. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.cross-slide.js"></script>
  32. <?php } ?>
  33. <?php if ( ($bfa_ata['animate_page_menu_bar'] == "Yes" AND strpos($bfa_ata['configure_header'],'%page')!== FALSE ) OR
  34. ( $bfa_ata['animate_cat_menu_bar'] == "Yes" AND strpos($bfa_ata['configure_header'],'%cat')!== FALSE ) ) { ?>
  35. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/mootools-for-dropdown.js"></script>
  36. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/UvumiDropdown-compressed.js"></script>
  37. <script type="text/javascript">
  38. <?php if ( $bfa_ata['animate_cat_menu_bar'] == "Yes" AND strpos($bfa_ata['configure_header'],'%cat')!== FALSE ) { ?>
  39. var myMenu = new UvumiDropdown("rmenu",{ closeDelay:200});
  40. <?php } ?>
  41. <?php if ($bfa_ata['animate_page_menu_bar'] == "Yes" AND strpos($bfa_ata['configure_header'],'%page')!== FALSE) { ?>
  42. var myMenu2 = new UvumiDropdown("rmenu2",{ closeDelay:200});
  43. <?php } ?>
  44. </script>
  45. <?php } ?>
  46. </head>
  47. <body <?php body_class(); ?><?php if ($bfa_ata['html_inserts_body_tag'] != "") { echo ' '; bfa_html_inserts($bfa_ata['html_inserts_body_tag']); } ?>>
  48. <?php bfa_html_inserts($bfa_ata['html_inserts_body_top']); ?>
  49. <div id="wrapper">
  50. <div id="container">
  51. <table id="layout" border="0" cellspacing="0" cellpadding="0">
  52. <colgroup>
  53. <?php if ( $left_col == "on" ) { ?><col class="colone" /><?php } ?>
  54. <?php if ( $left_col2 == "on" ) { ?><col class="colone-inner" /><?php } ?>
  55. <col class="coltwo" />
  56. <?php if ( $right_col2 == "on" ) { ?><col class="colthree-inner" /><?php } ?>
  57. <?php if ( $right_col == "on" ) { ?><col class="colthree" /><?php } ?>
  58. </colgroup>
  59. <tr>
  60.  
  61. <!-- Header -->
  62. <td id="header" colspan="<?php echo $cols; ?>">
  63.  
  64. <?php bfa_header_config($bfa_ata['configure_header']); ?>
  65.  
  66. </td>
  67. <!-- / Header -->
  68.  
  69. </tr>
  70.  
  71. <!-- Main Body -->
  72. <tr id="bodyrow">
  73.  
  74. <?php if ( $left_col == "on" ) { ?>
  75. <!-- Left Sidebar -->
  76. <td id="left">
  77.  
  78. <?php // Widgetize the Left Sidebar
  79. if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
  80.  
  81. <div class="widget widget_categories"><div class="widget-title">
  82. <h3><?php _e('Categories','atahualpa'); ?></h3>
  83. </div>
  84. <ul><?php wp_list_categories('show_count=1&title_li='); ?></ul>
  85. </div>
  86.  
  87. <div class="widget widget_archive"><div class="widget-title">
  88. <h3><?php _e('Archives','atahualpa'); ?></h3>
  89. </div>
  90. <ul><?php wp_get_archives('type=monthly'); ?></ul>
  91. </div>
  92.  
  93. <div class="widget widget_text"><div class="widget-title">
  94. <h3>A sample text widget</h3></div>
  95. <div class="textwidget">
  96. <p>Etiam pulvinar consectetur dolor sed malesuada. Ut convallis
  97. <a href="http://wordpress.org/">euismod dolor nec</a> pretium. Nunc ut tristique massa. </p>
  98. <p>Nam sodales mi vitae dolor <em>ullamcorper et vulputate enim accumsan</em>.
  99. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. <strong>Nulla nulla lorem</strong>,
  100. suscipit in posuere in, interdum non magna. </p>
  101. </div>
  102.  
  103. <?php endif; ?>
  104.  
  105. </td>
  106. <!-- / Left Sidebar -->
  107. <?php } ?>
  108.  
  109. <?php if ( $left_col2 == "on" ) { ?>
  110. <!-- Left INNER Sidebar -->
  111. <td id="left-inner">
  112.  
  113. <?php // Widgetize the Left Inner Sidebar
  114. if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Inner Sidebar') ) : ?>
  115.  
  116. <!-- no default content for the LEFT INNER sidebar -->
  117.  
  118. <?php endif; ?>
  119.  
  120. </td>
  121. <!-- / Left INNER Sidebar -->
  122. <?php } ?>
  123.  
  124.  
  125. <!-- Main Column -->
  126. <td id="middle">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement