/*
Template Name:
Main template
*/
?>
require('./wp-blog-header.php');
require_once('header.php');
?>
/* -----------[ Home ]----------- */ ?>
get_sidebar(); ?>
$tpl = "post";
include (TEMPLATEPATH . '/tpl.global_theloop.php');
if (is_single())
{
include (TEMPLATEPATH . '/navigation.php');
}
?>
if (!is_single()) { ?>
_e('Previously', 'reactive_academic'); ?>
$tpl = "other";
include (TEMPLATEPATH . '/tpl.global_theloop.php');
?>
include (TEMPLATEPATH . '/navigation.php'); ?>
_e('Сloud', 'reactive_academic'); ?>
wp_tag_cloud('smallest=10&largest=23&order=RAND'); ?>
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Center sidebar') ) : ?>
Twitter widget ;)', 'reactive_academic'), get_option('siteurl') . '/wp-admin/widgets.php'); ?>
endif; ?>
}
else
{
comments_template();
}
?>
get_footer(); ?>