index.php
上传用户:snow1005
上传日期:2015-11-10
资源大小:3151k
文件大小:2k
源码类别:

Ajax

开发平台:

JavaScript

  1. <?php
  2. require_once("system/os/os.php");
  3. if(!class_exists('os')){
  4. header("Location: login.html");
  5. }else{
  6. $os = new os();
  7. if(!$os->session->exists()){
  8. header("Location: login.html");
  9. }else{
  10. $os->init();
  11. ?>
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  13. <html lang="en">
  14. <head>
  15. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  16. <meta http-equiv="PRAGMA" content="NO-CACHE">
  17. <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  18. <meta http-equiv="EXPIRES" content="-1">
  19. <title>A qWikiOffice Desktop</title>
  20. <!-- EXT JS LIBRARY -->
  21. <link rel="stylesheet" type="text/css" href="../Ext/2.2/resources/css/ext-all.css" />
  22. <script src="../Ext/2.2/adapter/ext/ext-base.js"></script>
  23. <script src="../Ext/2.2/ext-all.js"></script> 
  24. <!-- DESKTOP CSS -->
  25. <link rel="stylesheet" type="text/css" href="resources/css/desktop.css" />
  26. <link rel="stylesheet" type="text/css" href="system/dialogs/colorpicker/colorpicker.css" />
  27. <!-- THEME CSS -->
  28. <?php print $os->theme->get(); ?>
  29. <!-- MODULES CSS -->
  30. <?php print $os->module->get_css(); ?>
  31. <!-- SYSTEM DIALOGS AND CORE -->
  32. <!-- In a production environment these should be minified into one file -->
  33. <script src="system/dialogs/colorpicker/ColorPicker.js"></script>
  34. <script src="system/core/App.js"></script>
  35. <script src="system/core/Desktop.js"></script>
  36. <script src="system/core/HexField.js"></script>
  37. <script src="system/core/Module.js"></script>
  38. <script src="system/core/Notification.js"></script>
  39. <script src="system/core/Shortcut.js"></script>
  40. <script src="system/core/StartMenu.js"></script>
  41. <script src="system/core/TaskBar.js"></script>
  42. <!-- QoDesk -->
  43. <script src="QoDesk.php"></script>
  44. </head>
  45. <body scroll="no">
  46. <div id="x-desktop"></div>
  47. <div id="ux-taskbar">
  48. <div id="ux-taskbar-start"></div>
  49. <div id="ux-taskbar-panel-wrap">
  50. <div id="ux-quickstart-panel"></div>
  51. <div id="ux-taskbuttons-panel"></div>
  52. <div id="ux-systemtray-panel"></div>
  53. </div>
  54. <div class="x-clear"></div>
  55. </div>
  56. </body>
  57. </html>
  58. <?php }} ?>