PHP-Quelltext |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<?php include("includes/templates/root/inc/tpl_mod.inc.php"); ?>
</head>
<body>
Seite 1
<?php page_content(); ?>
<?php page_footer(); ?>
</body>
</html>
|
PHP-Quelltext |
|
1 2 |
echo page_header();
echo '<script src="',template_dir(),'/root/js/hier-brauche-ich-vielleicht-einmal-javascript.js"></script>';
|
PHP-Quelltext |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
echo "<link rel="shortcut icon" type="image/x-icon" href="".$settings['template_dir']."/root/images/favicon.ico" />\n\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['template_dir']."/root/css/main.css" media="screen" />\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['template_dir']."/root/css/dynamic.css.php?seite=".$_GET['seite']."&takeTPL=".$takeTPL."" media="screen" />\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['template_dir']."/root/css/global.css" media="screen" />\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/misc/lytebox/lytebox.css" media="screen" />\n";
if ($page['type'] == "modul") {
$modul = mysql_fetch_assoc(mysql_query("SELECT * FROM module WHERE code='".$page['inhalt']."'"));
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/misc/misc.css" media="screen" />\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/module/".$modul['ordner']."/modul.css" media="screen" />\n\n";
} else if ($page['type'] == "code") {
preg_match('/page_load_modul\("(.*)"\);/', $page['inhalt'], $match);
if (isset($match[0])) {
$modul = mysql_fetch_assoc(mysql_query("SELECT * FROM module WHERE code='%".$match[1]."%'"));
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/misc/misc.css" media="screen" />\n";
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/module/".$modul['ordner']."/modul.css" media="screen" />\n\n";
}
} else {
echo "<link rel="stylesheet" type="text/css" href="".$settings['page_dir']."/includes/misc/misc.css" media="screen" />\n\n";
}
echo "<script type="text/javascript" src="".$settings['page_dir']."/includes/misc/lytebox/lytebox.js"></script>\n";
echo "<script type="text/javascript" src="".$settings['template_dir']."/root/js/template.js"></script>\n";
|
PHP-Quelltext |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<?php include("includes/templates/root/inc/tpl_mod.inc.php"); ?>
</head>
<body>
Seite 2
<?php page_content(); ?>
<?php page_footer(); ?>
</body>
</html>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »zyklopen« (6. November 2010, 01:46)
Benutzerinformationen überspringen
Fortgeschrittener
CMS Version: 3.9.2
Wohnort: Deutschland
Beruf: Art Director Digital Experience
Paypal:
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Zyklopen« (6. November 2010, 13:37)
Benutzerinformationen überspringen
Fortgeschrittener
CMS Version: 3.9.2
Wohnort: Deutschland
Beruf: Art Director Digital Experience
Paypal: