Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Content-Type: text/html; charset=utf-8");
- session_start();
- require('config.php');
- error_reporting(E_ALL);
- ini_set('display_errors', 1);
- ?>
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="<?php echo($charset); ?>">
- <title><?php echo($name); ?></title>
- <link href="themes/<?php echo($template); ?>/coolblue.css" rel="stylesheet" type="text/css" />
- <link rel="alternate" type="application/rss+xml" title="RSS" href="http://mc.antribute.eu/rss.php" />
- <link rel="shortcut icon" href="/themes/<?php echo($template); ?>/logo_klein.png" />
- <link href="core/lib/shadowbox/shadowbox.css" rel="stylesheet" type="text/css">
- <link rel=stylesheet type="text/css" href="core/plugins/rssreader/rssreader.css">
- <script src="core/lib/shadowbox/shadowbox.js" type="text/javascript"></script>
- <script type="text/javascript">
- Shadowbox.init({
- player: ["img"]
- });
- </script>
- <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
- {lang: 'de'}
- </script>
- <link href="https://plus.google.com/114302467157532135800" rel="publisher" />
- <script type="text/javascript" src="core/lib/tiny_mce/tiny_mce.js"></script>
- <?php if(isset($_GET['a'])) { ?>
- <script type="text/javascript">
- tinyMCE.init({
- // General options
- mode : "textareas",
- theme : "advanced",
- skin : "o2k7",
- plugins : "autolink,lists,spellchecker,pagebreak,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
- entity_encoding : "raw",
- // Theme options
- theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr",
- theme_advanced_buttons4 : "styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage,|,preview,|,forecolor,backcolor",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
- });
- </script>
- <?php }else{ ?>
- <script type="text/javascript">
- tinyMCE.init({
- mode : "textareas",
- theme : "simple",
- entity_encoding : "raw"
- });
- </script>
- <?php } ?>
- </head>
- <body>
- <?php
- require('themes/'.$template.'/body.tpl');
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement