PageRenderTime 46ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/test/application/views/master.php

https://gitlab.com/suman0359/physiohealthrs.com
PHP | 175 lines | 136 code | 36 blank | 3 comment | 10 complexity | dae34c66e8f46961e9a0efff9b58b6ec MD5 | raw file
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Rising Sun Physiotherapy & Health - Home</title>
  6. <link href="<?php echo base_url(); ?>css/stylesheet.css" rel="stylesheet" type="text/css"/>
  7. <link href="<?php echo base_url(); ?>css/dropdown.css" rel="stylesheet" type="text/css"/>
  8. <link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>css/style_form.css" />
  9. <script>
  10. // var alt=alert("This Site is Under Construction");
  11. document.write(onload(alt));
  12. </script>
  13. <!--jQuery Auto Populate Search-->
  14. <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
  15. <script src="//code.jquery.com/jquery-1.9.1.js"></script>
  16. <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  17. <link rel="stylesheet" href="/resources/demos/style.css">
  18. <script>
  19. $(function() {
  20. var availableTags = [
  21. <?php
  22. $sql = mysql_query("SELECT * FROM tbl_news_blog WHERE blog_publication_status=1 ");
  23. while ($search = mysql_fetch_array($sql)) { ?>
  24. {label: "<?php echo $search['blog_title'];?>", the_link: "<?php echo base_url(); ?>welcome/read_more/<?php echo $search['blog_id']; ?>"},
  25. <?php }
  26. ?>
  27. ];
  28. $("#tags").autocomplete({
  29. source: availableTags,
  30. select: function(e, ui) {
  31. location.href = ui.item.the_link;
  32. // console.log(ui.item.the_link);
  33. }
  34. });
  35. });
  36. </script>
  37. <!-- ------------------------- -->
  38. <!-- New Sliding Image Gallery Script -->
  39. <link rel='stylesheet' id='camera-css' href='<?php echo base_url(); ?>css/camera.css' type='text/css' media='all'>
  40. <style>
  41. a{text-decoration: none; color: #000;}
  42. a:hover {
  43. text-decoration: none;
  44. }
  45. #back_to_camera {
  46. clear: both;
  47. display: block;
  48. height: 80px;
  49. line-height: 40px;
  50. padding: 20px;
  51. }
  52. .fluid_container {
  53. margin: 0 auto;
  54. margin-top: 10px;
  55. max-width: 1000px;
  56. width: 100%;
  57. }
  58. </style>
  59. <script type='text/javascript' src='<?php echo base_url(); ?>scripts/jquery.min.js'></script>
  60. <script type='text/javascript' src='<?php echo base_url(); ?>scripts/jquery.mobile.customized.min.js'></script>
  61. <script type='text/javascript' src='<?php echo base_url(); ?>scripts/jquery.easing.1.3.js'></script>
  62. <script type='text/javascript' src='<?php echo base_url(); ?>scripts/camera.min.js'></script>
  63. <script>
  64. jQuery(function() {
  65. jQuery('#camera_wrap_1').camera({
  66. loader: 'bar',
  67. pagination: false,
  68. thumbnails: true
  69. });
  70. });</script>
  71. <!-- End Sliding Image Gallery Script -->
  72. </head>
  73. <body>
  74. <div id="fb-root"></div>
  75. <script>(function(d, s, id) {
  76. var js, fjs = d.getElementsByTagName(s)[0];
  77. if (d.getElementById(id))
  78. return;
  79. js = d.createElement(s);
  80. js.id = id;
  81. js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=460101770735306&version=v2.0";
  82. fjs.parentNode.insertBefore(js, fjs);
  83. }(document, 'script', 'facebook-jssdk'));</script>
  84. <div id="wrapper">
  85. <div id="header"></div> <!-- This is Header Area -->
  86. <div id="menu"> <!-- Start From Here Menu -->
  87. <div class="menu">
  88. <ul id="nav">
  89. <li><a href="<?php echo base_url(); ?>">Home</a></li>
  90. <?php foreach ($menu as $value) { ?>
  91. <li>
  92. <a href="<?php echo base_url(); ?>menu/menu_wise_news/<?php echo $value->menu_link; ?>"><?php echo $value->menu_name; ?></a>
  93. <?php if ($value->menu_dropdown == "dropdown") { ?>
  94. <ul>
  95. <?php
  96. $menu = $value->menu_id;
  97. $sql = mysql_query("SELECT * FROM tbl_menu where menu_dropdown='$menu' and menu_status=1 order by menu_serial asc");
  98. while ($dropdown = mysql_fetch_array($sql)) {
  99. ?>
  100. <li><a href="<?php echo base_url(); ?>menu/menu_wise_news/<?php echo $dropdown['menu_link']; ?>"><?php echo $dropdown['menu_name']; ?></a></li>
  101. <?php } ?>
  102. </ul>
  103. </li>
  104. <?php
  105. }
  106. }
  107. ?>
  108. <li><a href="<?php echo base_url(); ?>menu/menu_wise_news/<?php $menu_link="open_voice"; echo $menu_link; ?>">Open Voice</a></li>
  109. <li><a href="<?php echo base_url(); ?>contact">Contact Us</a></li>
  110. </ul>
  111. <div class="clear"></div>
  112. </div>
  113. </div> <!-- End From Here Menu -->
  114. <div id="container"> <!-- This is Body Container -->
  115. <?php
  116. if (isset($left_widget)) {
  117. echo $left_widget;
  118. }
  119. ?>
  120. <!-- This place is for Center News -->
  121. <?php
  122. if (isset($center_content) !== NULL) {
  123. echo $center_content;
  124. } else {
  125. echo "No Content Found";
  126. }
  127. ?>
  128. <?php
  129. if(isset($right_widget) !=NULL){
  130. echo $right_widget;
  131. }
  132. ?>
  133. </div> <!-- End From here Body Container -->
  134. <div id="footer">
  135. <p align="center">©2013 Tasfir Hossain Suman, All Rights Reserves</p>
  136. </div>
  137. </div>
  138. </body>
  139. </html>