/.emacs.d/el-get/nxhtml/tests/in/rr-090923-header.php

https://bitbucket.org/shuangxinyu/emacspack · PHP · 101 lines · 71 code · 30 blank · 0 comment · 7 complexity · bd1e88182638a6361387ecedf6a027a3 MD5 · raw file

  1. <?php
  2. require_once("utils.php");
  3. ?>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6. <?php if(!processLanguageURL())
  7. {
  8. if ($_SESSION["CurrentLanguage"]==0){
  9. $_SESSION["CurrentLanguage"]=$Default_Lang;
  10. }
  11. }
  12. ?>
  13. <head>
  14. <title><?php echo getMessage("website.title");?></title>
  15. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  16. <?php
  17. if (AUTO_REFRESH_DELAY>0 && !adminMode())
  18. echo '<meta http-equiv="refresh" content="'.AUTO_REFRESH_DELAY.'"/>';
  19. ?>
  20. <link type="text/css" href="jscalendar-1.0/calendar-win2k-1.css" rel="stylesheet" title="Style Sheet"/> <!-- indicate local copy -->
  21. <script type="text/javascript" src="jscalendar-1.0/calendar.js"></script>
  22. <script type="text/javascript" src="jscalendar-1.0/lang/calendar-en.js"></script>
  23. <script type="text/javascript" src="jscalendar-1.0/calendar-setup.js"></script>
  24. <link type="text/css" href="stylesheet.css" rel="stylesheet" title="Style Sheet" />
  25. <link type="text/css" href="print.css" rel="stylesheet" media="print"/>
  26. <!--[if lt IE 7]>
  27. <link type="text/css" href="ie.css" rel="stylesheet" title="Style Sheet"/>
  28. <link type="text/css" href="site-ie.css" rel="stylesheet" title="Style Sheet"/>
  29. <![endif]-->
  30. <link type="text/css" href="/custom/site.css" rel="stylesheet" title="Style Sheet"/> <!-- project custom -->
  31. <style type="text/css"><?php echo htmlentities(getMessage("header.custom.css"));?> </style>
  32. <?php undercon();
  33. echoHeaderContent("keywords",curPageName());
  34. echoHeaderContent("description",curPageName());
  35. echoHeaderContent("verify-v1",curPageName());
  36. ?>
  37. <link rel="SHORTCUT ICON" href="favicon.ico"/>
  38. <META NAME="AUTHOR" CONTENT="Richard G. Riley"/>
  39. <meta name="copyright" content="Copyright Richard G. Riley 2009" />
  40. </head>
  41. <body id="body">
  42. <div id="wcbg">
  43. <div id="wc" class="clearfix">
  44. <?php
  45. checkWebLicense();
  46. ?>
  47. <?php
  48. include("navigation.php");
  49. ?>
  50. <div id="wb">
  51. <?php
  52. if(isDemo()){
  53. echo '<div class="demomode">';
  54. echoMessage("admin.demo");
  55. echo "</div>";
  56. }
  57. if(adminMode()){
  58. echo '<div id="admincontrolcontainer">';
  59. createNavigationLinks("navlinks",1);
  60. echo '<div class="clear"></div>';
  61. echo '</div>';
  62. }
  63. ?>
  64. <div id="centercontainer">
  65. <?php
  66. if(messageMode()){
  67. echo '<div class="editwebtitle">';
  68. echoMessage("website.title");
  69. echo '</div>';
  70. }
  71. ?>