overall_header.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. if (!defined('IN_SCRIPT')) {
  3. die('Invalid attempt');
  4. }
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <title><?php echo $settings['gbook_title']; ?></title>
  10. <meta http-equiv="Content-Type" content="text/html;charset=<?php echo $lang['enc']; ?>" />
  11. <script type="text/javascript"><!--
  12. function openSmiley()
  13. {
  14. w=window.open("smileys.php", "smileys", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=500,height=300");
  15. if(!w.opener)
  16. {
  17. w.opener=self;
  18. }
  19. }
  20. //-->
  21. </script>
  22. <link href="<?php echo $settings['tpl_path']; ?>style.css" rel="stylesheet" type="text/css" />
  23. </head>
  24. <body>
  25. <!--CUSTOM HEADER -->
  26. <?php
  27. include_once 'header.txt';
  28. ?>
  29. <!--CUSTOM HEADER END -->
  30. <!--HEADER -->
  31. <div id="gbook_header">
  32. <h1 align="center"><?php echo $settings['gbook_title']; ?></h1>
  33. <!--TOP LINKS -->
  34. <div id="gbook_top_links">
  35. <a href="<?php echo $settings['website_url']; ?>"><?php echo $settings['website_title']; ?></a> |
  36. <a href="gbook.php"><?php echo $lang['t60']; ?></a> |
  37. <a href="gbook.php?a=sign"><?php echo $lang['t48']; ?></a>
  38. <br class="clear" />
  39. <span class="gbook_entries_top"><?php echo $settings['number_of_entries']; ?> <?php echo $settings['number_of_pages']; ?></span>
  40. <br class="clear" />
  41. <?php echo $settings['pages_top']; ?>
  42. </div>
  43. <!--TOP LINKS -->
  44. </div>
  45. <!--HEADER END -->
  46. <!--NOTICE -->
  47. <?php
  48. if (isset($settings['notice']) && !empty($settings['notice']))
  49. {
  50. echo '<div class="gbook_sign_notice">'.$settings['notice'].'</div>';
  51. }
  52. ?>
  53. <!--NOTICE END -->