PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/dwoo/templates_c/var/www/html/kuzaba/dwoo/templates/error.tpl.d15.php

https://github.com/stormeus/Kusaba-Z
PHP | 59 lines | 53 code | 4 blank | 2 comment | 9 complexity | f1011064e854145d51f8ece016d7e05e MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php
  2. if (function_exists('Dwoo_Plugin_capitalize')===false)
  3. $this->getLoader()->loadPlugin('capitalize');
  4. if (function_exists('smarty_block_t')===false)
  5. $this->getLoader()->loadPlugin('t');
  6. ob_start(); /* template body */ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  7. <html>
  8. <head>
  9. <title><?php echo KU_NAME;?></title>
  10. <link rel="shortcut icon" href="<?php echo KU_WEBPATH;?>/favicon.ico" />
  11. <link rel="stylesheet" type="text/css" href="<?php echo KU_BOARDSPATH;?>/css/menu_global.css" />
  12. <?php
  13. $_loop0_data = (isset($this->scope["styles"]) ? $this->scope["styles"] : null);
  14. if ($this->isArray($_loop0_data) === true)
  15. {
  16. foreach ($_loop0_data as $tmp_key => $this->scope["-loop-"])
  17. {
  18. $_loop0_scope = $this->setScope(array("-loop-"));
  19. /* -- loop start output */
  20. ?>
  21. <link rel="<?php if ($this->scope != (defined("KU_DEFAULTMENUSTYLE") ? KU_DEFAULTMENUSTYLE : null)) {
  22. ?>alternate <?php
  23. }?>stylesheet" type="text/css" href="<?php echo KU_WEBFOLDER;?>css/site_<?php echo $this->scope;?>.css" title="<?php echo Dwoo_Plugin_capitalize($this, $this->scope, false);?>" />
  24. <link rel="<?php if ($this->scope != (defined("KU_DEFAULTMENUSTYLE") ? KU_DEFAULTMENUSTYLE : null)) {
  25. ?>alternate <?php
  26. }?>stylesheet" type="text/css" href="<?php echo KU_WEBFOLDER;?>css/sitemenu_<?php echo $this->scope;?>.css" title="<?php echo Dwoo_Plugin_capitalize($this, $this->scope, false);?>" />
  27. <?php
  28. /* -- loop end output */
  29. $this->setScope($_loop0_scope, true);
  30. }
  31. }
  32. ?>
  33. <style type="text/css">
  34. body {
  35. width: 100% !important;
  36. }
  37. </style>
  38. </head>
  39. <body>
  40. <h1 style="font-size: 3em;"><?php if (!isset($_tag_stack)){ $_tag_stack = array(); } $_tag_stack[] = array(); $_block_repeat=true; smarty_block_t($_tag_stack[count($_tag_stack)-1], null, $this, $_block_repeat); while ($_block_repeat) { ob_start();?>Error<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t($_tag_stack[count($_tag_stack)-1], $_block_content, $this, $_block_repeat); } array_pop($_tag_stack);?></h1>
  41. <br />
  42. <h2 style="font-size: 2em;font-weight: bold;text-align: center;">
  43. <?php echo $this->scope["errormsg"];?>
  44. </h2>
  45. <?php echo $this->scope["errormsgext"];?>
  46. <div style="text-align: center;width: 100%;position: absolute;bottom: 10px;">
  47. <br />
  48. <div class="footer" style="clear: both;">
  49. <div class="legal"> - <a href="http://www.kusabax.org/" target="_top">kusaba x <?php echo KU_VERSION;?></a> -
  50. </div>
  51. </div>
  52. </body>
  53. </html><?php /* end template body */
  54. return $this->buffer . ob_get_clean();
  55. ?>