<?php
if(!$_GET['id']){
// not viewing a single article, use the normal template
$template = 'home';
}else{
// viewing a single article, use the fullarticle template
$template = 'fullarticle';
}
$cat[] = 'blog';
include 'news/index.php';
?>
<?php
if(!$_GET['id']){
// not viewing a single article, use the normal template
$template = 'home';
}else{
// viewing a single article, use the fullarticle template
$template = 'blog';
}
$cat[] = 'blog';
include 'news/index.php';
?>
<?php
$news_layout = '0';
// How the articles are shown when not viewing a single post
// 0 = default, shows article, if post has a summary shows it instead
// 1 = Show summary only
// 2 = Show article only
// 3 = Show summary and article
$comments_layout = '0';
// How the articles are shown when viewing a single post
// 0 = Show both article and summary
// 1 = Show summary only
// 2 = Show article only
include 'news/index.php';
?>
<?php
$news_layout = '1'; // show only summary
$comments_layout = '0'; // show both article and summary when viewing readmore
include 'news/index.php';
?>
<?php
$news_layout = '2';
$comments_layout = '2';
include 'news/index.php';
?>