header:

<?php
	global $header_pc;
	if($header_pc<>'usetheme') require   BLOCKROOT.'tpl/header.php';
	else  astra_header(); 
?>


 <?php

  require BLOCKROOT.'tpl/banner.php';

 global $showwpwhichmb;
 if($showwpwhichmb=='y'){
	 global $template;
     echo '<div style="background:red;color:#fff;text-align:center;padding:5px;font-size:14px">'.basename($template).'</div>';  
}
 
 ?>

-------------
page:
require   BLOCKROOT.'tpl/wphead/head_page.php';

------------------
archive:
require   BLOCKROOT.'tpl/wphead/head_archive.php';

<?php //astra_content_loop(); ?>
 <?php 
           if($dmcatelist=='')    require   BLOCKROOT.'tpl/dm_'.TPLCURNAME.'/content/self_list.php';
           else require    BLOCKROOT.'tpl/dm_'.TPLCURNAME.'/content/content_list.php'; 
           ?>

---------------------------
single:
 require   BLOCKROOT.'tpl/wphead/head_single.php';


<?php //astra_content_loop(); ?>
 <?php 
           if($dmcatelist=='')    require   BLOCKROOT.'tpl/dm_'.TPLCURNAME.'/content/self_single.php';
           else require    BLOCKROOT.'tpl/dm_'.TPLCURNAME.'/content/content_single.php'; 
           ?>

--------------------
search:


--------------------

