PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/views/owncms/Admin/index.php

https://gitlab.com/phpcodeinfected/owncms
PHP | 154 lines | 144 code | 10 blank | 0 comment | 0 complexity | 90cf1258a3532532cd916bcb6a63ff72 MD5 | raw file
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>SB Admin - Bootstrap Admin Template</title>
  10. <!-- Bootstrap Core CSS -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12. <!-- Custom CSS -->
  13. <link href="css/sb-admin.css" rel="stylesheet">
  14. <!-- Morris Charts CSS -->
  15. <link href="css/plugins/morris.css" rel="stylesheet">
  16. <!-- Custom Fonts -->
  17. <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  18. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  19. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  20. <!--[if lt IE 9]>
  21. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  22. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  23. <![endif]-->
  24. </head>
  25. <body>
  26. <div id="wrapper">
  27. <!-- Navigation -->
  28. <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  29. <!-- Brand and toggle get grouped for better mobile display -->
  30. <div class="navbar-header">
  31. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  32. <span class="sr-only">Toggle navigation</span>
  33. <span class="icon-bar"></span>
  34. <span class="icon-bar"></span>
  35. <span class="icon-bar"></span>
  36. </button>
  37. <a class="navbar-brand" href="index.php.html">CodeInfected</a>
  38. </div>
  39. <!-- Top Menu Items -->
  40. <?php
  41. session_start();
  42. if (isset($_SESSION['username'])) {
  43. ?>
  44. <ul class="nav navbar-right top-nav">
  45. <li class="dropdown">
  46. <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <?php echo $_SESSION['username'] ?> <b class="caret"></b></a>
  47. <ul class="dropdown-menu">
  48. <li>
  49. <a href="#"><i class="fa fa-fw fa-user"></i> Profile</a>
  50. </li>
  51. <li class="divider"></li>
  52. <li>
  53. <a href="#"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
  54. </li>
  55. </ul>
  56. </li>
  57. </ul>
  58. <?php } ?>
  59. <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
  60. <div class="collapse navbar-collapse navbar-ex1-collapse">
  61. <ul class="nav navbar-nav side-nav">
  62. <li class="active">
  63. <a href="index.php.html"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a>
  64. </li>
  65. <li>
  66. <a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-book"></i> Posts <i class="fa fa-fw fa-caret-down"></i></a>
  67. <ul id="demo" class="collapse">
  68. <li>
  69. <a href="#">All Post</a>
  70. </li>
  71. <li>
  72. <a href="addPost.php">Add New</a>
  73. </li>
  74. </ul>
  75. </li>
  76. <li>
  77. <a href="javascript:;" data-toggle="collapse" data-target="#demo1"><i class="fa fa-fw fa-arrows-v"></i> Category <i class="fa fa-fw fa-caret-down"></i></a>
  78. <ul id="demo1" class="collapse">
  79. <li>
  80. <a href="#">All Category</a>
  81. </li>
  82. <li>
  83. <a href="#">Add New</a>
  84. </li>
  85. </ul>
  86. </li>
  87. <li>
  88. <a href="javascript:;" data-toggle="collapse" data-target="#demo2"><i class="fa fa-fw fa-arrows-v"></i> Pages <i class="fa fa-fw fa-caret-down"></i></a>
  89. <ul id="demo2" class="collapse">
  90. <li>
  91. <a href="#">All Pages</a>
  92. </li>
  93. <li>
  94. <a href="#">Add New</a>
  95. </li>
  96. </ul>
  97. </li>
  98. </ul>
  99. </div>
  100. <!-- /.navbar-collapse -->
  101. </nav>
  102. <div id="page-wrapper">
  103. <div class="container-fluid">
  104. <div class="col-md-9">
  105. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  106. </div>
  107. <div class="col-md-3">
  108. <p>
  109. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  110. </div>
  111. </div>
  112. <!-- /.container-fluid -->
  113. </div>
  114. <!-- /#page-wrapper -->
  115. </div>
  116. <!-- /#wrapper -->
  117. <!-- jQuery -->
  118. <script src="js/jquery.js"></script>
  119. <!-- Bootstrap Core JavaScript -->
  120. <script src="js/bootstrap.min.js"></script>
  121. <!-- Morris Charts JavaScript -->
  122. <script src="js/plugins/morris/raphael.min.js"></script>
  123. <script src="js/plugins/morris/morris.min.js"></script>
  124. <script src="js/plugins/morris/morris-data.js"></script>
  125. </body>
  126. </html>