Advertisement
erika_conn

my blog problem

Mar 14th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 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. <?php
  3. $templateURI = get_template_directory_uri();
  4. $homeURL; get_home_url(); ?>
  5. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  6. <head>
  7. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  8. <?php // if index.php or another page template (copied from index.php) was not used
  9. if (!isset($bfa_ata))
  10. list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options(); ?>
  11. <?php global $post_id; ?>
  12. <?php if ( isset($bfa_ata['IEDocType']) ) {
  13. switch ( $bfa_ata['IEDocType'] ) {
  14. case "None":
  15. break;
  16. case "EmulateIE7":
  17. ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
  18. <?php
  19. break;
  20. case "EmulateIE8":
  21. ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
  22. <?php
  23. break;
  24. case "IE8":
  25. ?><meta http-equiv="X-UA-Compatible" content="IE=8"/>
  26. <?php
  27. break;
  28. case "IE9":
  29. ?><meta http-equiv="X-UA-Compatible" content="IE=9"/>
  30. <?php
  31. break;
  32. case "Edge":
  33. ?><meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
  34. <?php
  35. break;
  36. default:
  37. break;
  38. }} ?><?php bfa_meta_tags(); ?>
  39. <?php if ($bfa_ata['favicon_file'] != "") { ?><link rel="shortcut icon" href="<?php echo $templateURI; ?>/images/favicon/<?php echo $bfa_ata['favicon_file']; ?>" />
  40. <?php } ?>
  41. <link rel="profile" href="http://gmpg.org/xfn/11" />
  42. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  43. <?php if ( $bfa_ata['css_external'] == "External" ) { ?><link rel="stylesheet" href="<?php echo $homeURL ?>/?bfa_ata_file=css" type="text/css" media="all" /><?php } ?>
  44. <?php if ( function_exists('wp_list_comments') AND is_singular() AND (comments_open( $post_id ))) { wp_enqueue_script( 'comment-reply' ); } ?>
  45. <?php wp_head(); ?>
  46. </head>
  47. <body <?php body_class(); ?><?php bfa_incl('html_inserts_body_tag'); ?>>
  48. <?php bfa_incl('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 echo bfa_header_config(); ?>
  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