Initial commit
This commit is contained in:
16
katechismus_fa.php
Normal file
16
katechismus_fa.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
include_once 'classes/lg-on_Smarty.class.php';
|
||||
$smarty = new lgon_Smarty();
|
||||
require_once("config.inc.php");
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html";
|
||||
require_once "language/german.inc.php";
|
||||
|
||||
if(isset($_GET['katechismus_knk']) AND $_GET['katechismus_knk'] >= 1){
|
||||
$smarty->assign('katechismus_knk', $_GET['katechismus_knk']);
|
||||
$smarty->assign('katechismus_kapitel', $_GET['katechismus_kapitel']);
|
||||
}else{
|
||||
$smarty->assign('katechismus_knk', "vum");
|
||||
}
|
||||
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
Reference in New Issue
Block a user