PageRenderTime 26ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/application/views/STUDENT/alljs.php

https://gitlab.com/varsha_evonix/intranet
PHP | 264 lines | 211 code | 35 blank | 18 comment | 7 complexity | 46348588aecc5732ba6663253a43a3f0 MD5 | raw file
  1. <!-- GLOBAL SCRIPTS -->
  2. <script src="<?php echo base_url();?>assets/js/1.7.2.jquery.min.js"></script>
  3. <script src="<?php echo base_url();?>assets/js/plugins/bootstrap/bootstrap.min.js"></script>
  4. <script src="<?php echo base_url();?>assets/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  5. <script src="<?php echo base_url();?>assets/js/plugins/popupoverlay/jquery.popupoverlay.js"></script>
  6. <script src="<?php echo base_url();?>assets/js/plugins/popupoverlay/defaults.js"></script>
  7. <!-- Logout Notification Box -->
  8. <div id="logout">
  9. <div class="logout-message">
  10. <?php
  11. if($this->session->userdata("role")== "STUDENT" )
  12. {
  13. foreach ($info as $r){
  14. ?>
  15. <img class="img-circle img-logout" src="<?php if($r->profile_picture) {echo base_url()."".$r->profile_picture;} else {echo base_url()."assets/img/avtar.jpg";} ?>" alt=""
  16. style=" height: 160px; width: 150px; margin-left: 15px;" >
  17. <?php }
  18. }
  19. else
  20. {
  21. foreach ($pt_info as $r){
  22. ?>
  23. <img class="img-circle img-logout" src="<?php if($r->profile_picture) {echo base_url()."".$r->profile_picture;} else {echo base_url()."assets/img/avtar.jpg";} ?>" alt=""
  24. style=" height: 160px; width: 150px; margin-left: 15px;" >
  25. <?php }
  26. }
  27. ?>
  28. <h3>
  29. <i class="fa fa-sign-out text-green"></i> Ready to go?
  30. </h3>
  31. <p>Select "Logout" below if you are ready<br> to end your current session.</p>
  32. <ul class="list-inline">
  33. <li>
  34. <a href="<?php echo base_url();?>welcome/logout" class="btn btn-green">
  35. <strong>Logout</strong>
  36. </a>
  37. </li>
  38. <li>
  39. <button class="logout_close btn btn-green">Cancel</button>
  40. </li>
  41. </ul>
  42. </div>
  43. </div>
  44. <!-- /#logout -->
  45. <!-- Logout Notification jQuery -->
  46. <script src="<?php echo base_url();?>assets/js/plugins/popupoverlay/logout.js"></script>
  47. <!-- HISRC Retina Images -->
  48. <script src="<?php echo base_url();?>assets/js/plugins/hisrc/hisrc.js"></script>
  49. <!-- PAGE LEVEL PLUGIN SCRIPTS -->
  50. <!-- PAGE LEVEL PLUGIN SCRIPTS -->
  51. <!-- HubSpot Messenger -->
  52. <script src="<?php echo base_url();?>assets/js/plugins/messenger/messenger.min.js"></script>
  53. <script src="<?php echo base_url();?>assets/js/plugins/messenger/messenger-theme-flat.js"></script>
  54. <!-- Date Range Picker -->
  55. <script src="<?php echo base_url();?>assets/js/plugins/daterangepicker/moment.js"></script>
  56. <script src="<?php echo base_url();?>assets/js/plugins/daterangepicker/daterangepicker.js"></script>
  57. <!-- Morris Charts -->
  58. <script src="<?php echo base_url();?>assets/js/plugins/morris/raphael-2.1.0.min.js"></script>
  59. <script src="<?php echo base_url();?>assets/js/plugins/morris/morris.js"></script>
  60. <!-- Flot Charts -->
  61. <script src="<?php echo base_url();?>assets/js/plugins/flot/jquery.flot.js"></script>
  62. <script src="<?php echo base_url();?>assets/js/plugins/flot/jquery.flot.resize.js"></script>
  63. <!-- Sparkline Charts -->
  64. <script src="<?php echo base_url();?>assets/js/plugins/sparkline/jquery.sparkline.min.js"></script>
  65. <!-- Moment.js -->
  66. <script src="<?php echo base_url();?>assets/js/plugins/moment/moment.min.js"></script>
  67. <!-- jQuery Vector Map -->
  68. <script src="<?php echo base_url();?>assets/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
  69. <script src="<?php echo base_url();?>assets/js/plugins/jvectormap/maps/jquery-jvectormap-world-mill-en.js"></script>
  70. <script src="<?php echo base_url();?>assets/js/demo/map-demo-data.js"></script>
  71. <!-- Easy Pie Chart -->
  72. <script src="<?php echo base_url();?>assets/js/plugins/easypiechart/jquery.easypiechart.min.js"></script>
  73. <!-- DataTables -->
  74. <script src="<?php echo base_url();?>assets/js/plugins/datatables/jquery.dataTables.js"></script>
  75. <script src="<?php echo base_url();?>assets/js/plugins/datatables/datatables-bs3.js"></script>
  76. <!-- THEME SCRIPTS -->
  77. <script src="<?php echo base_url();?>assets/js/flex.js"></script>
  78. <script src="<?php echo base_url();?>assets/js/demo/dashboard-demo.js"></script>
  79. <!-- What you see what you get -->
  80. <script src="<?php echo base_url();?>assets/js/plugins/summernote/summernote.min.js"></script>
  81. <script src="<?php echo base_url();?>assets/js/demo/wysiwyg-demo.js"></script>
  82. <!-- CK EDITOR-->
  83. <script src="<?php echo base_url();?>assets/js/lib/ckeditor/ckeditor.js"></script>
  84. <script type="text/javascript">
  85. //Professional Information
  86. CKEDITOR.replace('respo_1',{
  87. toolbar :
  88. [
  89. {
  90. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  91. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  92. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  93. },
  94. {
  95. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  96. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  97. { name: 'links', items: [ 'Link', 'Unlink' ] },
  98. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  99. ]
  100. });
  101. //Summer Project
  102. CKEDITOR.replace('prj_descrption_1',{
  103. toolbar :
  104. [
  105. {
  106. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  107. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  108. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  109. },
  110. {
  111. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  112. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  113. { name: 'links', items: [ 'Link', 'Unlink' ] },
  114. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  115. ]
  116. });
  117. //Research Project
  118. CKEDITOR.replace('Rprj_descrption_1',{
  119. toolbar :
  120. [
  121. {
  122. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  123. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  124. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  125. },
  126. {
  127. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  128. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  129. { name: 'links', items: [ 'Link', 'Unlink' ] },
  130. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  131. ]
  132. });
  133. //Assignement Project
  134. CKEDITOR.replace('assignmentPrj_descrption_1',{
  135. toolbar :
  136. [
  137. {
  138. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  139. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  140. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  141. },
  142. {
  143. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  144. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  145. { name: 'links', items: [ 'Link', 'Unlink' ] },
  146. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  147. ]
  148. });
  149. //Extra Project
  150. CKEDITOR.replace('ExtraPrj_descrption_1',{
  151. toolbar :
  152. [
  153. {
  154. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  155. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  156. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  157. },
  158. {
  159. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  160. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  161. { name: 'links', items: [ 'Link', 'Unlink' ] },
  162. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  163. ]
  164. });
  165. //Additional course Information:
  166. CKEDITOR.replace('cors_descrption_1',{
  167. toolbar :
  168. [
  169. {
  170. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  171. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  172. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  173. },
  174. {
  175. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  176. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  177. { name: 'links', items: [ 'Link', 'Unlink' ] },
  178. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  179. ]
  180. });
  181. //Additional course Information:
  182. CKEDITOR.replace('P_Respondblities_1',{
  183. toolbar :
  184. [
  185. {
  186. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  187. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  188. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  189. },
  190. {
  191. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  192. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  193. { name: 'links', items: [ 'Link', 'Unlink' ] },
  194. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  195. ]
  196. });
  197. //Awards or Achivements Information:
  198. CKEDITOR.replace('awardExtraInfo_1',{
  199. toolbar :
  200. [
  201. {
  202. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  203. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  204. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  205. },
  206. {
  207. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  208. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  209. { name: 'links', items: [ 'Link', 'Unlink' ] },
  210. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  211. ]
  212. });
  213. //basic information
  214. CKEDITOR.replace('stud_objactives',{
  215. toolbar :
  216. [
  217. {
  218. name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ],
  219. //items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  220. items: [ 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ]
  221. },
  222. {
  223. name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ],
  224. items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language' ] },
  225. { name: 'links', items: [ 'Link', 'Unlink' ] },
  226. { name: 'insert', items: [ 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }
  227. ]
  228. });
  229. </script>