Example #1
0
    </ul>
</div>	 <br><br>
			 <?php 
    if (route::dispatcher() == "login") {
        ?>
			 	  <?php 
        include_once 'login.tpl.php';
        ?>
			 	<?php 
    } elseif (route::dispatcher() == "signup") {
        ?>
			 	  <?php 
        include_once 'sign.tpl.php';
        ?>
			  <?php 
    } elseif (route::dispatcher() == "recover") {
        ?>
			 	  <?php 
        include_once 'repassword.tpl.php';
        ?>
			 	
			 	<?php 
    }
    ?>
	
			 <?php 
}
?>
		</div>
	</body>
</html>
        include_once 'login.tpl.php';
        ?>
		<?php 
    } elseif (route::dispatcher() == "signup") {
        ?>
			<?php 
        include_once 'sign.tpl.php';
        ?>
		<?php 
    } elseif (route::dispatcher() == "recover") {
        ?>
			<?php 
        include_once 'repassword.tpl.php';
        ?>
		<?php 
    } elseif (route::dispatcher() == "follow") {
        ?>
			<?php 
        include_once 'follow.tpl.php';
        ?>
		<?php 
    }
    ?>


	<?php 
}
?>
</div>
<div class="copyright">
	&copy; <?php 
} else {
    ?>
			<?php 
    if (route::dispatcher() == "news") {
        ?>
				<?php 
        include_once 'news-main.tpl.php';
        ?>
			<?php 
    } elseif (route::dispatcher() == "view-news") {
        ?>
				<?php 
        include_once 'news-main.tpl.php';
        ?>
			<?php 
    } elseif (route::dispatcher() == "gen-news") {
        ?>
				<?php 
        include_once 'news-main.tpl.php';
        ?>
			<?php 
    }
    ?>
		<?php 
}
?>
	
	</div>
</div>