Advertisement
Syntafin

Untitled

Feb 29th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.78 KB | None | 0 0
  1. <?php
  2. header("Content-Type: text/html; charset=utf-8");
  3. session_start();
  4. require('config.php');
  5.  
  6. error_reporting(E_ALL);
  7. ini_set('display_errors', 1);
  8. ?>
  9. <!DOCTYPE HTML>
  10. <html>
  11. <head>
  12. <meta charset="<?php echo($charset); ?>">
  13. <title><?php echo($name); ?></title>
  14. <link href="themes/<?php echo($template); ?>/coolblue.css" rel="stylesheet" type="text/css" />
  15. <link rel="alternate" type="application/rss+xml" title="RSS" href="http://mc.antribute.eu/rss.php" />
  16. <link rel="shortcut icon" href="/themes/<?php echo($template); ?>/logo_klein.png" />
  17. <link href="core/lib/shadowbox/shadowbox.css" rel="stylesheet" type="text/css">
  18. <link rel=stylesheet type="text/css" href="core/plugins/rssreader/rssreader.css">
  19. <script src="core/lib/shadowbox/shadowbox.js" type="text/javascript"></script>
  20. <script type="text/javascript">
  21. Shadowbox.init({
  22.     player:    ["img"]
  23. });
  24. </script>
  25. <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
  26.   {lang: 'de'}
  27. </script>
  28. <link href="https://plus.google.com/114302467157532135800" rel="publisher" />
  29. <script type="text/javascript" src="core/lib/tiny_mce/tiny_mce.js"></script>
  30. <?php if(isset($_GET['a'])) { ?>
  31. <script type="text/javascript">
  32. tinyMCE.init({
  33.         // General options
  34.         mode : "textareas",
  35.         theme : "advanced",
  36.         skin : "o2k7",
  37.         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",
  38.         entity_encoding : "raw",
  39.  
  40.         // Theme options
  41.         theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect",
  42.         theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
  43.         theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr",
  44.         theme_advanced_buttons4 :  "styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage,|,preview,|,forecolor,backcolor",
  45.         theme_advanced_toolbar_location : "top",
  46.         theme_advanced_toolbar_align : "left",
  47.         theme_advanced_statusbar_location : "bottom",
  48.         theme_advanced_resizing : true,
  49.  
  50. });
  51. </script>
  52. <?php }else{ ?>
  53. <script type="text/javascript">
  54. tinyMCE.init({
  55.         mode : "textareas",
  56.         theme : "simple",
  57.         entity_encoding : "raw"
  58. });
  59. </script>
  60. <?php } ?>
  61. </head>
  62. <body>
  63. <?php
  64.         require('themes/'.$template.'/body.tpl');
  65. ?>
  66. </body>
  67. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement