View file includes/tail.php

File size: 347B
<?php
// by Mike O. (mides), coolcms.org
if ($_SERVER['PHP_SELF'] !== '/index.php') {
	echo '<div class="navig"><a href="'.HTTPHOME.'"><img src="'.HTTPHOME.'/images/home.png"> Главная</a></div>';
	$main = '';
} else {
	$main = '_index';
}

include_once FLEVEL.'local/main/tail'.$main.'.tpl';
echo '</body>';
echo '</html>';

?>