master 449397e35d42 cached
696 files
5.8 MB
1.6M tokens
1763 symbols
1 requests
Download .txt
Showing preview only (6,264K chars total). Download the full file or copy to clipboard to get everything.
Repository: amirhamza05/Student-Management-System
Branch: master
Commit: 449397e35d42
Files: 696
Total size: 5.8 MB

Directory structure:
gitextract_zz2ag4kr/

├── .htaccess
├── 404.php
├── README.md
├── account.php
├── account_action.php
├── add_result.php
├── add_result_action.php
├── add_student.php
├── api.php
├── attend.php
├── attend_action.php
├── barcode.php
├── batch_action.php
├── batch_list.php
├── chat.php
├── config/
│   ├── config.php
│   ├── connect.php
│   ├── db.php
│   └── dbclass.php
├── dashboard_action.php
├── edit_id_card.php
├── exam.php
├── exam_action.php
├── exam_category_action.php
├── exam_list.php
├── exam_panel.php
├── exam_panel_action.php
├── export.php
├── id_card.php
├── id_card_action.php
├── index.php
├── install_action.php
├── install_system.php
├── layout/
│   ├── bubble.php
│   ├── footer.php
│   ├── header.php
│   ├── header_lib.php
│   ├── header_script.php
│   ├── js/
│   │   ├── bubble.js
│   │   └── nav_bar_script.js
│   ├── layout.php
│   ├── layout_style.php
│   ├── loader.php
│   ├── menu_button.php
│   ├── modal_lib.php
│   ├── nev_bar.php
│   ├── page/
│   │   └── nav_bar_dropdown.php
│   ├── side_bar.php
│   └── site_script.js
├── login.php
├── login_action.php
├── logout.php
├── nav_bar_action.php
├── notice_action.php
├── notice_list.php
├── page/
│   ├── account/
│   │   ├── expence.php
│   │   ├── income.php
│   │   └── js/
│   │       ├── expence.js
│   │       └── income.js
│   ├── api/
│   │   └── api.php
│   ├── attend/
│   │   ├── attend.php
│   │   ├── extra.php
│   │   └── js/
│   │       └── attend.js
│   ├── batch/
│   │   ├── batch_list.php
│   │   └── batch_script.js
│   ├── chat/
│   │   ├── chat.php
│   │   └── css/
│   │       └── style.css
│   ├── editor/
│   │   ├── css/
│   │   │   └── sms_editor.css
│   │   ├── js/
│   │   │   └── sms_editor.js
│   │   └── sms_editor.php
│   ├── exam/
│   │   ├── add_exam.php
│   │   ├── exam_list.php
│   │   ├── exam_result.php
│   │   ├── js/
│   │   │   └── exam.js
│   │   └── public_result.php
│   ├── exam_page/
│   │   ├── exam_category/
│   │   │   ├── exam_category.php
│   │   │   └── js/
│   │   │       └── script.js
│   │   └── exam_panel/
│   │       ├── exam_panel.php
│   │       └── js/
│   │           ├── add_result_script.js
│   │           ├── exam_control.js
│   │           └── exam_panel.js
│   ├── export/
│   │   ├── excel.php
│   │   └── style/
│   │       └── excel_table.css
│   ├── id_card/
│   │   └── id_card_editor/
│   │       ├── css/
│   │       │   └── style.css
│   │       ├── id_card_editor.php
│   │       └── js/
│   │           └── script.js
│   ├── index/
│   │   ├── dashboard.php
│   │   ├── dashboard_info.php
│   │   ├── expence_list.php
│   │   ├── js/
│   │   │   ├── dashboard.js
│   │   │   └── graph.js
│   │   ├── message_send_chart.php
│   │   ├── site_activity.php
│   │   ├── student_admit_graph.php
│   │   └── style.css
│   ├── install/
│   │   ├── install_system.php
│   │   └── js/
│   │       └── install_system.js
│   ├── login/
│   │   ├── js/
│   │   │   ├── ajax.js
│   │   │   └── script.js
│   │   ├── login.php
│   │   └── style/
│   │       └── style.css
│   ├── notice/
│   │   ├── add_notice.php
│   │   ├── js/
│   │   │   └── notice.js
│   │   ├── notice_list.php
│   │   ├── notice_script/
│   │   │   ├── notice.js
│   │   │   └── notice_action.php
│   │   └── send_notice.php
│   ├── payment/
│   │   ├── left_payment_option.php
│   │   ├── payment.php
│   │   └── right_payment_option.php
│   ├── print/
│   │   └── id_print.php
│   ├── print_page/
│   │   └── print_page.php
│   ├── program/
│   │   ├── add_program.php
│   │   ├── program_list.php
│   │   └── program_script.js
│   ├── report/
│   │   ├── attend_report.php
│   │   ├── css/
│   │   │   └── payment_report.css
│   │   ├── expence_report.php
│   │   ├── income_report.php
│   │   ├── js/
│   │   │   ├── attend_report.js
│   │   │   ├── expence_report.js
│   │   │   ├── income_report.js
│   │   │   ├── payment_report.js
│   │   │   └── profit_report.js
│   │   ├── payment_report.php
│   │   └── profit_report.php
│   ├── result/
│   │   ├── add_result.js
│   │   ├── add_result.php
│   │   ├── js/
│   │   │   └── result.js
│   │   ├── public_result.php
│   │   ├── result.css
│   │   ├── result.js
│   │   └── result_list.php
│   ├── setting/
│   │   ├── js/
│   │   │   └── setting.js
│   │   └── setting.php
│   ├── sms/
│   │   ├── js/
│   │   │   └── sms_script.js
│   │   ├── pending_sms_list.php
│   │   ├── sms_dashboard.php
│   │   └── sms_google_graph_api.php
│   ├── student/
│   │   ├── aaa.js
│   │   ├── add_student/
│   │   │   └── add_student.php
│   │   ├── add_student.php
│   │   ├── index.php
│   │   ├── js_script/
│   │   │   └── student_action.js
│   │   ├── profile.css
│   │   ├── profile.js
│   │   ├── student_list/
│   │   │   ├── css/
│   │   │   │   └── style.css
│   │   │   ├── js/
│   │   │   │   ├── payment_script.js
│   │   │   │   └── script.js
│   │   │   └── student_list.php
│   │   ├── student_list.js
│   │   ├── student_list.php
│   │   ├── student_list1.php
│   │   ├── student_profile/
│   │   │   ├── css/
│   │   │   │   ├── payment.css
│   │   │   │   └── profile.css
│   │   │   ├── js/
│   │   │   │   ├── info.js
│   │   │   │   ├── payment.js
│   │   │   │   ├── profile1.js
│   │   │   │   ├── profile_data.js
│   │   │   │   └── program.js
│   │   │   ├── profile.php
│   │   │   └── profile_lib.php
│   │   ├── student_profile_panel.php
│   │   └── text_editor.css
│   ├── subject/
│   │   ├── add_subject.php
│   │   ├── subject_list.php
│   │   └── subject_script.js
│   ├── template/
│   │   └── data_table.php
│   ├── theme/
│   │   ├── add_theme.php
│   │   ├── theme.php
│   │   └── theme_list.php
│   └── user/
│       ├── add_user.php
│       ├── edit_profile.php
│       ├── user_add_script.js
│       ├── user_info.js
│       ├── user_info.php
│       ├── user_list/
│       │   ├── css/
│       │   │   └── style.css
│       │   ├── js/
│       │   │   └── user_list.js
│       │   ├── side_bar.php
│       │   └── user_list.php
│       ├── user_list.php
│       ├── user_list1.php
│       ├── user_profile/
│       │   ├── css/
│       │   │   └── style.css
│       │   ├── js/
│       │   │   ├── user_profile.js
│       │   │   └── user_top_bar_script.php
│       │   ├── profile_side_bar.php
│       │   ├── user_profile.php
│       │   └── user_profile_ui.php
│       └── user_profile.php
├── page_action/
│   ├── account/
│   │   ├── account.php
│   │   ├── expence.php
│   │   └── income.php
│   ├── attend/
│   │   ├── attend_action.php
│   │   └── attend_report.php
│   ├── batch_page_action.php
│   ├── dashboard/
│   │   └── dashboard_action.php
│   ├── exam/
│   │   ├── exam_action.php
│   │   ├── exam_category/
│   │   │   └── exam_category_action.php
│   │   └── exam_panel/
│   │       └── exam_panel.php
│   ├── exam_panel/
│   │   ├── css/
│   │   │   └── style.css
│   │   ├── exam_category_panel/
│   │   │   ├── admit_card.php
│   │   │   ├── category_dashboard.php
│   │   │   ├── exam_list.php
│   │   │   └── include_file.php
│   │   ├── exam_control_panel/
│   │   │   ├── add_result.php
│   │   │   ├── exam_dashboard.php
│   │   │   ├── include_file.php
│   │   │   └── overview.php
│   │   └── exam_panel.php
│   ├── id_card/
│   │   └── edit_id_card/
│   │       └── edit_id_card_action.php
│   ├── install/
│   │   └── install.php
│   ├── nav_bar/
│   │   ├── chat_system.php
│   │   ├── nav_bar.php
│   │   ├── sql_editor.php
│   │   └── theme.php
│   ├── notice/
│   │   └── notice.php
│   ├── program_page_action.php
│   ├── report/
│   │   ├── attend_report.php
│   │   ├── expense_report.php
│   │   ├── income_report.php
│   │   ├── payment_report.php
│   │   ├── profit_report.php
│   │   └── report.php
│   ├── result/
│   │   ├── add_result.php
│   │   └── result_action.php
│   ├── setting/
│   │   └── setting.php
│   ├── sms/
│   │   └── sms_action.php
│   ├── student_list/
│   │   ├── basic_list.php
│   │   ├── payment_option.php
│   │   ├── payment_overview.php
│   │   ├── program_overview.php
│   │   ├── student_list.php
│   │   ├── student_list_content.php
│   │   └── student_payment_history.php
│   ├── student_profile/
│   │   ├── info.php
│   │   ├── payment.php
│   │   ├── profile.php
│   │   └── program.php
│   ├── subject_page_action.php
│   └── user/
│       ├── user.php
│       ├── user_list.php
│       ├── user_profile.php
│       └── user_profile_body.php
├── payment.php
├── pending_sms_list.php
├── practice.php
├── print_page.php
├── profit_report.php
├── program_action.php
├── program_list.php
├── report.php
├── report_action.php
├── result.php
├── result_action.php
├── result_list.php
├── script/
│   ├── account/
│   │   └── account.php
│   ├── api/
│   │   └── api.php
│   ├── attendence/
│   │   └── attendence.php
│   ├── batch/
│   │   └── batch.php
│   ├── chat/
│   │   └── chat.php
│   ├── contest/
│   │   └── contest.php
│   ├── exam/
│   │   ├── exam.js
│   │   ├── exam.php
│   │   └── exam_category.php
│   ├── graph/
│   │   └── graph.php
│   ├── id_card/
│   │   ├── id.php
│   │   ├── id_card.js
│   │   └── id_card.php
│   ├── install/
│   │   └── install.php
│   ├── notice/
│   │   └── notice.php
│   ├── payment/
│   │   ├── payment.js
│   │   ├── payment.php
│   │   └── set_payment.php
│   ├── program/
│   │   ├── program.php
│   │   └── program_form.php
│   ├── report/
│   │   └── report.php
│   ├── result/
│   │   └── result.php
│   ├── setting/
│   │   └── setting.php
│   ├── site_activity/
│   │   └── site_activity.php
│   ├── site_content/
│   │   ├── calender.php
│   │   ├── form.php
│   │   ├── site_config.php
│   │   └── site_content.php
│   ├── sms/
│   │   └── sms.php
│   ├── student/
│   │   ├── add_ajax.js
│   │   ├── student.php
│   │   └── student_edit.php
│   ├── subject/
│   │   └── subject.php
│   ├── template_class/
│   │   └── template_class.php
│   ├── theme/
│   │   ├── index.php
│   │   └── theme.php
│   └── user/
│       └── user.php
├── setting.php
├── setting_action.php
├── sms_action.php
├── sms_dashboard.php
├── sql/
│   ├── install_sql.sql
│   └── sql.sql
├── student/
│   ├── app/
│   │   ├── app.js
│   │   └── lib/
│   │       └── angular-route.js
│   ├── content/
│   │   ├── css/
│   │   │   └── style.css
│   │   └── mdb/
│   │       ├── README.txt
│   │       ├── css/
│   │       │   ├── addons/
│   │       │   │   ├── datatables-select.css
│   │       │   │   └── datatables.css
│   │       │   ├── bootstrap.css
│   │       │   ├── mdb.css
│   │       │   ├── mdb.lite.css
│   │       │   ├── modules/
│   │       │   │   └── animations-extended.css
│   │       │   └── style.css
│   │       ├── index.html
│   │       ├── js/
│   │       │   ├── addons/
│   │       │   │   ├── datatables-select.js
│   │       │   │   └── datatables.js
│   │       │   ├── bootstrap.js
│   │       │   ├── mdb.js
│   │       │   └── modules/
│   │       │       ├── chart.js
│   │       │       ├── default-file-input.js
│   │       │       ├── enhanced-modals.js
│   │       │       ├── forms-free.js
│   │       │       ├── jquery.easing.js
│   │       │       ├── scrolling-navbar.js
│   │       │       ├── velocity.js
│   │       │       ├── waves.js
│   │       │       └── wow.js
│   │       └── scss/
│   │           ├── _custom-styles.scss
│   │           ├── _custom-variables.scss
│   │           ├── addons/
│   │           │   ├── _datatables-select.scss
│   │           │   └── _datatables.scss
│   │           ├── core/
│   │           │   ├── _colors.scss
│   │           │   ├── _global.scss
│   │           │   ├── _helpers.scss
│   │           │   ├── _masks.scss
│   │           │   ├── _mixins.scss
│   │           │   ├── _typography.scss
│   │           │   ├── _variables.scss
│   │           │   ├── _waves.scss
│   │           │   └── bootstrap/
│   │           │       ├── _functions.scss
│   │           │       └── _variables.scss
│   │           ├── free/
│   │           │   ├── _animations-basic.scss
│   │           │   ├── _badges.scss
│   │           │   ├── _buttons.scss
│   │           │   ├── _cards.scss
│   │           │   ├── _carousels.scss
│   │           │   ├── _depreciated.scss
│   │           │   ├── _dropdowns.scss
│   │           │   ├── _footers.scss
│   │           │   ├── _forms.scss
│   │           │   ├── _input-group.scss
│   │           │   ├── _list-group.scss
│   │           │   ├── _loader.scss
│   │           │   ├── _modals.scss
│   │           │   ├── _msc.scss
│   │           │   ├── _navbars.scss
│   │           │   ├── _pagination.scss
│   │           │   ├── _steppers.scss
│   │           │   ├── _switch.scss
│   │           │   ├── _tables.scss
│   │           │   └── modules/
│   │           │       └── animations-extended/
│   │           │           ├── _module.scss
│   │           │           └── animations-extended.scss
│   │           ├── mdb.lite.scss
│   │           └── mdb.scss
│   ├── controller/
│   │   └── controller.js
│   ├── data/
│   │   └── dashboard_menu_list.html
│   ├── example/
│   │   └── login/
│   │       ├── Gruntfile.js
│   │       ├── LICENSE
│   │       ├── index.html
│   │       ├── modules/
│   │       │   ├── authentication/
│   │       │   │   ├── controllers.js
│   │       │   │   ├── services.js
│   │       │   │   └── views/
│   │       │   │       └── login.html
│   │       │   └── home/
│   │       │       ├── controllers.js
│   │       │       └── views/
│   │       │           └── home.html
│   │       ├── scripts/
│   │       │   └── app.js
│   │       ├── src/
│   │       │   ├── app.js
│   │       │   ├── directives/
│   │       │   │   └── form-helpers.js
│   │       │   ├── error/
│   │       │   │   ├── error.js
│   │       │   │   └── error.tpl.html
│   │       │   ├── grandfather.js
│   │       │   ├── home/
│   │       │   │   ├── home.js
│   │       │   │   └── home.tpl.html
│   │       │   ├── login-service.js
│   │       │   ├── mockhttp.js
│   │       │   ├── pages/
│   │       │   │   ├── admin.tpl.html
│   │       │   │   ├── pages.js
│   │       │   │   └── user.tpl.html
│   │       │   ├── register/
│   │       │   │   ├── register.js
│   │       │   │   ├── register.less
│   │       │   │   └── register.tpl.html
│   │       │   └── routing-config.js
│   │       └── test/
│   │           ├── karma.conf.js
│   │           └── spec/
│   │               └── login-service.js
│   ├── index.html
│   ├── test.html
│   └── views/
│       ├── 404.html
│       ├── batch_info.html
│       ├── dashboard.html
│       ├── header.html
│       ├── home.html
│       ├── login.html
│       ├── program_info.html
│       ├── result.html
│       ├── send_sms.html
│       ├── side_bar.html
│       └── student_info.html
├── student.php
├── student_action.php
├── student_add_ajax.php
├── student_list.php
├── student_list_action.php
├── student_profile.php
├── student_profile_action.php
├── style/
│   ├── css/
│   │   ├── id_card.css
│   │   ├── nav_bar.css
│   │   └── table.css
│   ├── images/
│   │   ├── blog/
│   │   │   └── images.txt
│   │   ├── faces/
│   │   │   └── images.txt
│   │   ├── gallery/
│   │   │   └── images.txt
│   │   └── loading-icons/
│   │       └── images.txt
│   ├── lib/
│   │   ├── bootstrap/
│   │   │   ├── css/
│   │   │   │   ├── bootstrap-theme.css
│   │   │   │   └── bootstrap.css
│   │   │   └── js/
│   │   │       └── bootstrap.js
│   │   ├── custom/
│   │   │   └── custom.js
│   │   ├── fancy-zoom/
│   │   │   ├── css/
│   │   │   │   └── fancyzoom.css
│   │   │   ├── index.html
│   │   │   └── src/
│   │   │       ├── fancyzoom.coffee
│   │   │       └── fancyzoom.js
│   │   ├── flot/
│   │   │   ├── API.txt
│   │   │   ├── FAQ.txt
│   │   │   ├── LICENSE.txt
│   │   │   ├── Makefile
│   │   │   ├── NEWS.txt
│   │   │   ├── PLUGINS.txt
│   │   │   ├── README.txt
│   │   │   ├── examples/
│   │   │   │   ├── ajax.html
│   │   │   │   ├── annotating.html
│   │   │   │   ├── basic.html
│   │   │   │   ├── data-eu-gdp-growth-1.json
│   │   │   │   ├── data-eu-gdp-growth-2.json
│   │   │   │   ├── data-eu-gdp-growth-3.json
│   │   │   │   ├── data-eu-gdp-growth-4.json
│   │   │   │   ├── data-eu-gdp-growth-5.json
│   │   │   │   ├── data-eu-gdp-growth.json
│   │   │   │   ├── data-japan-gdp-growth.json
│   │   │   │   ├── data-usa-gdp-growth.json
│   │   │   │   ├── graph-types.html
│   │   │   │   ├── image.html
│   │   │   │   ├── index.html
│   │   │   │   ├── interacting-axes.html
│   │   │   │   ├── interacting.html
│   │   │   │   ├── layout.css
│   │   │   │   ├── multiple-axes.html
│   │   │   │   ├── navigate.html
│   │   │   │   ├── percentiles.html
│   │   │   │   ├── pie.html
│   │   │   │   ├── realtime.html
│   │   │   │   ├── resize.html
│   │   │   │   ├── selection.html
│   │   │   │   ├── setting-options.html
│   │   │   │   ├── stacking.html
│   │   │   │   ├── symbols.html
│   │   │   │   ├── thresholding.html
│   │   │   │   ├── time.html
│   │   │   │   ├── tracking.html
│   │   │   │   ├── turning-series.html
│   │   │   │   ├── visitors.html
│   │   │   │   └── zooming.html
│   │   │   ├── excanvas.js
│   │   │   ├── jquery.colorhelpers.js
│   │   │   ├── jquery.flot.crosshair.js
│   │   │   ├── jquery.flot.fillbetween.js
│   │   │   ├── jquery.flot.image.js
│   │   │   ├── jquery.flot.js
│   │   │   ├── jquery.flot.navigate.js
│   │   │   ├── jquery.flot.pie.js
│   │   │   ├── jquery.flot.resize.js
│   │   │   ├── jquery.flot.selection.js
│   │   │   ├── jquery.flot.stack.js
│   │   │   ├── jquery.flot.symbol.js
│   │   │   ├── jquery.flot.threshold.js
│   │   │   └── jquery.js
│   │   ├── font-awesome/
│   │   │   ├── css/
│   │   │   │   └── font-awesome.css
│   │   │   ├── fonts/
│   │   │   │   └── FontAwesome.otf
│   │   │   ├── less/
│   │   │   │   ├── bordered-pulled.less
│   │   │   │   ├── core.less
│   │   │   │   ├── fixed-width.less
│   │   │   │   ├── font-awesome.less
│   │   │   │   ├── icons.less
│   │   │   │   ├── larger.less
│   │   │   │   ├── list.less
│   │   │   │   ├── mixins.less
│   │   │   │   ├── path.less
│   │   │   │   ├── rotated-flipped.less
│   │   │   │   ├── spinning.less
│   │   │   │   ├── stacked.less
│   │   │   │   └── variables.less
│   │   │   └── scss/
│   │   │       ├── _bordered-pulled.scss
│   │   │       ├── _core.scss
│   │   │       ├── _fixed-width.scss
│   │   │       ├── _icons.scss
│   │   │       ├── _larger.scss
│   │   │       ├── _list.scss
│   │   │       ├── _mixins.scss
│   │   │       ├── _path.scss
│   │   │       ├── _rotated-flipped.scss
│   │   │       ├── _spinning.scss
│   │   │       ├── _stacked.scss
│   │   │       ├── _variables.scss
│   │   │       └── font-awesome.scss
│   │   ├── fullcalendar-1.6.4/
│   │   │   ├── changelog.txt
│   │   │   ├── demos/
│   │   │   │   ├── agenda-views.html
│   │   │   │   ├── basic-views.html
│   │   │   │   ├── default.html
│   │   │   │   ├── external-dragging.html
│   │   │   │   ├── gcal.html
│   │   │   │   ├── json-events.php
│   │   │   │   ├── json.html
│   │   │   │   ├── selectable.html
│   │   │   │   └── theme.html
│   │   │   ├── fullcalendar/
│   │   │   │   ├── fullcalendar.css
│   │   │   │   ├── fullcalendar.js
│   │   │   │   ├── fullcalendar.print.css
│   │   │   │   └── gcal.js
│   │   │   └── license.txt
│   │   └── jQuery-Knob/
│   │       ├── README.md
│   │       ├── index.html
│   │       ├── js/
│   │       │   └── jquery.knob.js
│   │       └── knob.jquery.json
│   └── stylesheets/
│       ├── custom.css
│       ├── elements.css
│       ├── isotope.css
│       ├── money_recept.css
│       ├── premium.css
│       ├── root/
│       │   ├── root1.css
│       │   ├── root2.css
│       │   └── root3.css
│       └── theme.css
├── subject_action.php
├── subject_list.php
├── test.php
├── theme.php
├── theme_action.php
├── tool/
│   ├── School/
│   │   └── School id card/
│   │       ├── index.html
│   │       └── style.css
│   ├── chart_api/
│   │   └── canvas_api.js
│   ├── color_picker/
│   │   ├── jscolor-example.html
│   │   └── jscolor.js
│   ├── date_picker/
│   │   ├── css/
│   │   │   ├── bootstrap-datepicker.css
│   │   │   ├── bootstrap-datepicker.standalone.css
│   │   │   ├── bootstrap-datepicker3.css
│   │   │   └── bootstrap-datepicker3.standalone.css
│   │   └── js/
│   │       └── bootstrap-datepicker.js
│   ├── datepickk-master/
│   │   └── datepickk-master/
│   │       ├── .babelrc
│   │       ├── .gitignore
│   │       ├── .travis.yml
│   │       ├── LICENSE
│   │       ├── README.md
│   │       ├── bower.json
│   │       ├── dist/
│   │       │   ├── datepickk.css
│   │       │   ├── datepickk.js
│   │       │   ├── doc.css
│   │       │   └── doc.js
│   │       ├── docs/
│   │       │   ├── _button.less
│   │       │   ├── _colors.less
│   │       │   ├── _grid.less
│   │       │   ├── _variables.less
│   │       │   ├── demo.js
│   │       │   └── doc.less
│   │       ├── index.html
│   │       ├── package.json
│   │       ├── src/
│   │       │   ├── css/
│   │       │   │   └── datepickk.less
│   │       │   └── js/
│   │       │       └── datepickk.js
│   │       └── webpack.config.js
│   ├── pdf/
│   │   ├── FAQ.htm
│   │   ├── changelog.htm
│   │   ├── doc/
│   │   │   ├── __construct.htm
│   │   │   ├── acceptpagebreak.htm
│   │   │   ├── addfont.htm
│   │   │   ├── addlink.htm
│   │   │   ├── addpage.htm
│   │   │   ├── aliasnbpages.htm
│   │   │   ├── cell.htm
│   │   │   ├── close.htm
│   │   │   ├── error.htm
│   │   │   ├── footer.htm
│   │   │   ├── getpageheight.htm
│   │   │   ├── getpagewidth.htm
│   │   │   ├── getstringwidth.htm
│   │   │   ├── getx.htm
│   │   │   ├── gety.htm
│   │   │   ├── header.htm
│   │   │   ├── image.htm
│   │   │   ├── index.htm
│   │   │   ├── line.htm
│   │   │   ├── link.htm
│   │   │   ├── ln.htm
│   │   │   ├── multicell.htm
│   │   │   ├── output.htm
│   │   │   ├── pageno.htm
│   │   │   ├── rect.htm
│   │   │   ├── setauthor.htm
│   │   │   ├── setautopagebreak.htm
│   │   │   ├── setcompression.htm
│   │   │   ├── setcreator.htm
│   │   │   ├── setdisplaymode.htm
│   │   │   ├── setdrawcolor.htm
│   │   │   ├── setfillcolor.htm
│   │   │   ├── setfont.htm
│   │   │   ├── setfontsize.htm
│   │   │   ├── setkeywords.htm
│   │   │   ├── setleftmargin.htm
│   │   │   ├── setlinewidth.htm
│   │   │   ├── setlink.htm
│   │   │   ├── setmargins.htm
│   │   │   ├── setrightmargin.htm
│   │   │   ├── setsubject.htm
│   │   │   ├── settextcolor.htm
│   │   │   ├── settitle.htm
│   │   │   ├── settopmargin.htm
│   │   │   ├── setx.htm
│   │   │   ├── setxy.htm
│   │   │   ├── sety.htm
│   │   │   ├── text.htm
│   │   │   └── write.htm
│   │   ├── font/
│   │   │   ├── courier.php
│   │   │   ├── courierb.php
│   │   │   ├── courierbi.php
│   │   │   ├── courieri.php
│   │   │   ├── helvetica.php
│   │   │   ├── helveticab.php
│   │   │   ├── helveticabi.php
│   │   │   ├── helveticai.php
│   │   │   ├── symbol.php
│   │   │   ├── times.php
│   │   │   ├── timesb.php
│   │   │   ├── timesbi.php
│   │   │   ├── timesi.php
│   │   │   └── zapfdingbats.php
│   │   ├── fpdf.css
│   │   ├── fpdf.php
│   │   ├── install.txt
│   │   ├── license.txt
│   │   ├── makefont/
│   │   │   ├── makefont.php
│   │   │   └── ttfparser.php
│   │   └── tutorial/
│   │       ├── 20k_c1.txt
│   │       ├── 20k_c2.txt
│   │       ├── calligra.php
│   │       ├── calligra.z
│   │       ├── countries.txt
│   │       ├── index.htm
│   │       ├── makefont.php
│   │       ├── tuto1.htm
│   │       ├── tuto1.php
│   │       ├── tuto2.htm
│   │       ├── tuto2.php
│   │       ├── tuto3.htm
│   │       ├── tuto3.php
│   │       ├── tuto4.htm
│   │       ├── tuto4.php
│   │       ├── tuto5.htm
│   │       ├── tuto5.php
│   │       ├── tuto6.htm
│   │       ├── tuto6.php
│   │       ├── tuto7.htm
│   │       └── tuto7.php
│   └── vendor/
│       └── vendor/
│           ├── autoload.php
│           ├── composer/
│           │   ├── ClassLoader.php
│           │   ├── LICENSE
│           │   ├── autoload_classmap.php
│           │   ├── autoload_namespaces.php
│           │   ├── autoload_psr4.php
│           │   ├── autoload_real.php
│           │   ├── autoload_static.php
│           │   └── installed.json
│           └── picqer/
│               └── php-barcode-generator/
│                   ├── LICENSE.md
│                   ├── Readme.md
│                   ├── _gitignore.txt
│                   ├── _travis.yml
│                   ├── composer.json
│                   ├── generate-verified-files.php
│                   ├── phpunit.xml
│                   ├── src/
│                   │   ├── BarcodeGenerator.php
│                   │   ├── BarcodeGeneratorHTML.php
│                   │   ├── BarcodeGeneratorJPG.php
│                   │   ├── BarcodeGeneratorPNG.php
│                   │   ├── BarcodeGeneratorSVG.php
│                   │   └── Exceptions/
│                   │       ├── BarcodeException.php
│                   │       ├── InvalidCharacterException.php
│                   │       ├── InvalidCheckDigitException.php
│                   │       ├── InvalidFormatException.php
│                   │       ├── InvalidLengthException.php
│                   │       └── UnknownTypeException.php
│                   └── tests/
│                       ├── BarcodeTest.php
│                       └── verified-files/
│                           └── 081231723897-code128.html
├── upload/
│   └── index.php
├── user_action.php
├── user_info.php
├── user_list.php
└── watermark.php

================================================
FILE CONTENTS
================================================

================================================
FILE: .htaccess
================================================


================================================
FILE: 404.php
================================================
<div class="d-flex justify-content-center align-items-center main" id="main">
    <h1 class="mr-3 pr-3 align-top border-right inline-block align-content-center">404</h1>
    <div class="inline-block align-middle">
    	<h2 class="font-weight-normal lead" id="desc">The page you requested was not found.</h2>
    </div>
</div>

<style type="text/css">
	.main {
    	height: 100vh;
    	text-align: center;
    	color: #ffffff!important;
	}
</style>

================================================
FILE: README.md
================================================
# Student Management System

> This is a simple web-based open source software written in PHP and JavaScript. This was specifically written for school or educational organization. You can easily install this system in your own server.

> If you find any bug or added new feature feel free to send a pull request.

> If you have any suggestions feel free create issues.

- [Demo](#demo)
- [Feature](#feature-of-student-management-system)
- [Technology](#technology)
- [Screen Shot](#screen-shot)
- [Installation](#installation)

Demo
-----------------------------
- **URL** - http://ems.tserm.com
- **Username** -  github_user
- **Password** - guser

Feature of Student Management System
-----------------------------
- Add Student Information
- Admit Student In Multiple Program
- Student Payment System
- Student Attendence System
- Generate Student Id Card
- Program Add
- Exam Add
- Add Exam Result Add and generate Auto Ranking
- Sending Result by SMS
- Sending Notice By SMS
- Institute Report (Payment,Expence,Income,Profit,Attendence)
- All Activity are Auto Saved and Admin or User Can See Change Previous and Present Change

Technology
-----------------------
- PHP
- Ajax
- Java Script
- Bootstrap
- Html
- css
- mysql

Screen Shot
-----------------------
![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/login_screen.png) Login Screen | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/dashboard.PNG) Dashboard |
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/user_profile.PNG) User Profile | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/student_profile.PNG) Student Profile |
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/id_card.PNG) ID Card | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/print_id_card.PNG) Print ID Card | 
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/monthly_attendence_report.PNG) Student Attendence Report | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/payment_dashboard.PNG) Payment Dashboard |
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/payment_status_list.PNG) Payment Status List | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/payment_money_recept.PNG) Payment Money Recept |
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/sms_dashboard.PNG) SMS Dashboard | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/compare_user_activity_data.PNG) Compare User Activity |
|-|-|

![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/theme_change.PNG) Multiple Themes | ![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/update_setting.png) Update Institute Information |
|-|-|

Installation
-----------------------
- Clone this project from https://github.com/amirhamza05/Student-Management-System
- After clone you can see this installation screen
![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/install_screen.png)

- Fill this database setup form and when you install button click then if information is correct then you see install success screen
![screenshot](https://raw.githubusercontent.com/amirhamza05/Student-Management-System/master/screen_shot/install_success.png)

- After this your install is complete then you can login this system. Your Default id and password is 'admin' and 'admin'.






================================================
FILE: account.php
================================================


<?php 

include "layout/header.php";

if(isset($_GET['type'])){
  $type=$_GET['type'];
  if ($type=="expence") {
  	include "page/account/expence.php";
  }
  else if($type=="income"){
  	include "page/account/income.php";
  }
}


include "layout/footer.php";


 ?>

================================================
FILE: account_action.php
================================================
<?php

include "layout/header_script.php";
include "page_action/account/account.php";

?>

================================================
FILE: add_result.php
================================================
<?php

include 'layout/header.php';
include 'page/result/add_result.php';
include 'layout/footer.php';

?>

================================================
FILE: add_result_action.php
================================================
<?php

include 'layout/header_script.php';
include 'page_action/result/result_action.php';


?>

================================================
FILE: add_student.php
================================================
<?php

include "layout/header.php";
include "page/student/add_student.php";
include "layout/footer.php";

?>

================================================
FILE: api.php
================================================
<?php


include "page/api/api.php";


?>



================================================
FILE: attend.php
================================================
<?php
include 'layout/header.php';
include "page/attend/attend.php";
include "layout/footer.php";

?>

================================================
FILE: attend_action.php
================================================
<?php

include 'layout/header_script.php';
include "page_action/attend/attend_action.php";



?>

================================================
FILE: barcode.php
================================================
<?php

/*
 =
 *  Usage:	<img src="/barcode.php?text=testing" alt="testing" />
 */
// For demonstration purposes, get pararameters that are passed in through $_GET or set to the default value



$filepath = (isset($_GET["filepath"])?$_GET["filepath"]:"");
$text = (isset($_GET["text"])?$_GET["text"]:"0");
$size = (isset($_GET["size"])?$_GET["size"]:"20");

$orientation = (isset($_GET["orientation"])?$_GET["orientation"]:"horizontal");

$code_type = (isset($_GET["codetype"])?$_GET["codetype"]:"code128");
$print = (isset($_GET["print"])&&$_GET["print"]=='true'?true:false);
$sizefactor = (isset($_GET["sizefactor"])?$_GET["sizefactor"]:"1");
// This function call can be copied into your project and can be made from anywhere in your code
barcode( $filepath, $text, $size, $orientation, $code_type, $print, $sizefactor );
function barcode( $filepath="", $text="0", $size="20", $orientation="horizontal", $code_type="code128", $print=false, $SizeFactor=1 ) {
	$code_string = "";
	// Translate the $text into barcode the correct $code_type
	if ( in_array(strtolower($code_type), array("code128", "code128b")) ) {
		$chksum = 104;
		// Must not change order of array elements as the checksum depends on the array's key to validate final code
		$code_array = array(" "=>"212222","!"=>"222122","\""=>"222221","#"=>"121223","$"=>"121322","%"=>"131222","&"=>"122213","'"=>"122312","("=>"132212",")"=>"221213","*"=>"221312","+"=>"231212",","=>"112232","-"=>"122132","."=>"122231","/"=>"113222","0"=>"123122","1"=>"123221","2"=>"223211","3"=>"221132","4"=>"221231","5"=>"213212","6"=>"223112","7"=>"312131","8"=>"311222","9"=>"321122",":"=>"321221",";"=>"312212","<"=>"322112","="=>"322211",">"=>"212123","?"=>"212321","@"=>"232121","A"=>"111323","B"=>"131123","C"=>"131321","D"=>"112313","E"=>"132113","F"=>"132311","G"=>"211313","H"=>"231113","I"=>"231311","J"=>"112133","K"=>"112331","L"=>"132131","M"=>"113123","N"=>"113321","O"=>"133121","P"=>"313121","Q"=>"211331","R"=>"231131","S"=>"213113","T"=>"213311","U"=>"213131","V"=>"311123","W"=>"311321","X"=>"331121","Y"=>"312113","Z"=>"312311","["=>"332111","\\"=>"314111","]"=>"221411","^"=>"431111","_"=>"111224","\`"=>"111422","a"=>"121124","b"=>"121421","c"=>"141122","d"=>"141221","e"=>"112214","f"=>"112412","g"=>"122114","h"=>"122411","i"=>"142112","j"=>"142211","k"=>"241211","l"=>"221114","m"=>"413111","n"=>"241112","o"=>"134111","p"=>"111242","q"=>"121142","r"=>"121241","s"=>"114212","t"=>"124112","u"=>"124211","v"=>"411212","w"=>"421112","x"=>"421211","y"=>"212141","z"=>"214121","{"=>"412121","|"=>"111143","}"=>"111341","~"=>"131141","DEL"=>"114113","FNC 3"=>"114311","FNC 2"=>"411113","SHIFT"=>"411311","CODE C"=>"113141","FNC 4"=>"114131","CODE A"=>"311141","FNC 1"=>"411131","Start A"=>"211412","Start B"=>"211214","Start C"=>"211232","Stop"=>"2331112");
		$code_keys = array_keys($code_array);
		$code_values = array_flip($code_keys);
		for ( $X = 1; $X <= strlen($text); $X++ ) {
			$activeKey = substr( $text, ($X-1), 1);
			$code_string .= $code_array[$activeKey];
			$chksum=($chksum + ($code_values[$activeKey] * $X));
		}
		$code_string .= $code_array[$code_keys[($chksum - (intval($chksum / 103) * 103))]];
		$code_string = "211214" . $code_string . "2331112";
	} elseif ( strtolower($code_type) == "code128a" ) {
		$chksum = 103;
		$text = strtoupper($text); // Code 128A doesn't support lower case
		// Must not change order of array elements as the checksum depends on the array's key to validate final code
		$code_array = array(" "=>"212222","!"=>"222122","\""=>"222221","#"=>"121223","$"=>"121322","%"=>"131222","&"=>"122213","'"=>"122312","("=>"132212",")"=>"221213","*"=>"221312","+"=>"231212",","=>"112232","-"=>"122132","."=>"122231","/"=>"113222","0"=>"123122","1"=>"123221","2"=>"223211","3"=>"221132","4"=>"221231","5"=>"213212","6"=>"223112","7"=>"312131","8"=>"311222","9"=>"321122",":"=>"321221",";"=>"312212","<"=>"322112","="=>"322211",">"=>"212123","?"=>"212321","@"=>"232121","A"=>"111323","B"=>"131123","C"=>"131321","D"=>"112313","E"=>"132113","F"=>"132311","G"=>"211313","H"=>"231113","I"=>"231311","J"=>"112133","K"=>"112331","L"=>"132131","M"=>"113123","N"=>"113321","O"=>"133121","P"=>"313121","Q"=>"211331","R"=>"231131","S"=>"213113","T"=>"213311","U"=>"213131","V"=>"311123","W"=>"311321","X"=>"331121","Y"=>"312113","Z"=>"312311","["=>"332111","\\"=>"314111","]"=>"221411","^"=>"431111","_"=>"111224","NUL"=>"111422","SOH"=>"121124","STX"=>"121421","ETX"=>"141122","EOT"=>"141221","ENQ"=>"112214","ACK"=>"112412","BEL"=>"122114","BS"=>"122411","HT"=>"142112","LF"=>"142211","VT"=>"241211","FF"=>"221114","CR"=>"413111","SO"=>"241112","SI"=>"134111","DLE"=>"111242","DC1"=>"121142","DC2"=>"121241","DC3"=>"114212","DC4"=>"124112","NAK"=>"124211","SYN"=>"411212","ETB"=>"421112","CAN"=>"421211","EM"=>"212141","SUB"=>"214121","ESC"=>"412121","FS"=>"111143","GS"=>"111341","RS"=>"131141","US"=>"114113","FNC 3"=>"114311","FNC 2"=>"411113","SHIFT"=>"411311","CODE C"=>"113141","CODE B"=>"114131","FNC 4"=>"311141","FNC 1"=>"411131","Start A"=>"211412","Start B"=>"211214","Start C"=>"211232","Stop"=>"2331112");
		$code_keys = array_keys($code_array);
		$code_values = array_flip($code_keys);
		for ( $X = 1; $X <= strlen($text); $X++ ) {
			$activeKey = substr( $text, ($X-1), 1);
			$code_string .= $code_array[$activeKey];
			$chksum=($chksum + ($code_values[$activeKey] * $X));
		}
		$code_string .= $code_array[$code_keys[($chksum - (intval($chksum / 103) * 103))]];
		$code_string = "211412" . $code_string . "2331112";
	} elseif ( strtolower($code_type) == "code39" ) {
		$code_array = array("0"=>"111221211","1"=>"211211112","2"=>"112211112","3"=>"212211111","4"=>"111221112","5"=>"211221111","6"=>"112221111","7"=>"111211212","8"=>"211211211","9"=>"112211211","A"=>"211112112","B"=>"112112112","C"=>"212112111","D"=>"111122112","E"=>"211122111","F"=>"112122111","G"=>"111112212","H"=>"211112211","I"=>"112112211","J"=>"111122211","K"=>"211111122","L"=>"112111122","M"=>"212111121","N"=>"111121122","O"=>"211121121","P"=>"112121121","Q"=>"111111222","R"=>"211111221","S"=>"112111221","T"=>"111121221","U"=>"221111112","V"=>"122111112","W"=>"222111111","X"=>"121121112","Y"=>"221121111","Z"=>"122121111","-"=>"121111212","."=>"221111211"," "=>"122111211","$"=>"121212111","/"=>"121211121","+"=>"121112121","%"=>"111212121","*"=>"121121211");
		// Convert to uppercase
		$upper_text = strtoupper($text);
		for ( $X = 1; $X<=strlen($upper_text); $X++ ) {
			$code_string .= $code_array[substr( $upper_text, ($X-1), 1)] . "1";
		}
		$code_string = "1211212111" . $code_string . "121121211";
	} elseif ( strtolower($code_type) == "code25" ) {
		$code_array1 = array("1","2","3","4","5","6","7","8","9","0");
		$code_array2 = array("3-1-1-1-3","1-3-1-1-3","3-3-1-1-1","1-1-3-1-3","3-1-3-1-1","1-3-3-1-1","1-1-1-3-3","3-1-1-3-1","1-3-1-3-1","1-1-3-3-1");
		for ( $X = 1; $X <= strlen($text); $X++ ) {
			for ( $Y = 0; $Y < count($code_array1); $Y++ ) {
				if ( substr($text, ($X-1), 1) == $code_array1[$Y] )
					$temp[$X] = $code_array2[$Y];
			}
		}
		for ( $X=1; $X<=strlen($text); $X+=2 ) {
			if ( isset($temp[$X]) && isset($temp[($X + 1)]) ) {
				$temp1 = explode( "-", $temp[$X] );
				$temp2 = explode( "-", $temp[($X + 1)] );
				for ( $Y = 0; $Y < count($temp1); $Y++ )
					$code_string .= $temp1[$Y] . $temp2[$Y];
			}
		}
		$code_string = "1111" . $code_string . "311";
	} elseif ( strtolower($code_type) == "codabar" ) {
		$code_array1 = array("1","2","3","4","5","6","7","8","9","0","-","$",":","/",".","+","A","B","C","D");
		$code_array2 = array("1111221","1112112","2211111","1121121","2111121","1211112","1211211","1221111","2112111","1111122","1112211","1122111","2111212","2121112","2121211","1121212","1122121","1212112","1112122","1112221");
		// Convert to uppercase
		$upper_text = strtoupper($text);
		for ( $X = 1; $X<=strlen($upper_text); $X++ ) {
			for ( $Y = 0; $Y<count($code_array1); $Y++ ) {
				if ( substr($upper_text, ($X-1), 1) == $code_array1[$Y] )
					$code_string .= $code_array2[$Y] . "1";
			}
		}
		$code_string = "11221211" . $code_string . "1122121";
	}
	// Pad the edges of the barcode

	$code_length = 20;
	if ($print) {
		$text_height = 30;
	} else {
		$text_height = 0;
	}
	
	for ( $i=1; $i <= strlen($code_string); $i++ ){
		$code_length = $code_length + (integer)(substr($code_string,($i-1),1));
        }
	if ( strtolower($orientation) == "horizontal" ) {
		$img_width = $code_length*$SizeFactor;
		$img_height = $size;
	} else {
		$img_width = $size;
		$img_height = $code_length*$SizeFactor;
	}
	$image = imagecreate($img_width, $img_height + $text_height);
	$black = imagecolorallocate ($image, 0, 0, 0);
	$white = imagecolorallocate ($image, 255, 255, 255);
	imagefill( $image, 0, 0, $white );
	if ( $print ) {
		imagestring($image, 5, 31, $img_height, $text, $black );
	}
	$location = 10;
	for ( $position = 1 ; $position <= strlen($code_string); $position++ ) {
		$cur_size = $location + ( substr($code_string, ($position-1), 1) );
		if ( strtolower($orientation) == "horizontal" )
			imagefilledrectangle( $image, $location*$SizeFactor, 0, $cur_size*$SizeFactor, $img_height, ($position % 2 == 0 ? $white : $black) );
		else
			imagefilledrectangle( $image, 0, $location*$SizeFactor, $img_width, $cur_size*$SizeFactor, ($position % 2 == 0 ? $white : $black) );
		$location = $cur_size;
	}
	
	// Draw barcode to the screen or save in a file
	if ( $filepath=="" ) {
		header ('Content-type: image/png');
		imagepng($image);
		imagedestroy($image);
	}
	 else {
		imagepng($image,$filepath);
		imagedestroy($image);		
	}
}



?>

================================================
FILE: batch_action.php
================================================
<?php

include "page_action/batch_page_action.php";

?>

================================================
FILE: batch_list.php
================================================
<?php 

include "layout/header.php";
include "page/batch/batch_list.php";
include "layout/footer.php";


?>

================================================
FILE: chat.php
================================================
<?php

include "layout/header.php";
include "page/chat/chat.php";
include "layout/footer.php";


?>




================================================
FILE: config/config.php
================================================
<?php

include "db.php";
include "connect.php";

?>

================================================
FILE: config/connect.php
================================================

<?php

class database {
   

 public $host=db_host;
 public $user=db_user;
 public $pass=db_pass;
 public $db=db_name;
 public $result;
 public $conn;
 public $login_user;
 public $ip;
 public $browser;
 public $logo;
 public $main_logo;
 public $site_name;
 public $sort_name;
 public $address;
 public $phone;
 public $email;
 public $msg;

 //conection start

 public function __construct(){
    $this->connection();
    $this->set_institute_info();
    date_default_timezone_set('Asia/Dhaka');
 }


public function connection(){

     $this->conn =mysqli_connect($this->host,$this->user,$this->pass,$this->db);
     if(!$this->conn){
       echo "Conection failed";
     }
     else return 1;
}

public function date(){
  return $this->get_now_time();
}

public function get_now_time(){
  
  $now=date("Y-m-d H:i:s", time());
  return $now;
 }

public function set_login_user($uid,$ip,$browser){
  $this->login_user=$uid;
  $this->ip=$ip;
  $this->browser=$browser;
}

public function select($query){
 return $this->result=mysqli_query($this->conn, $query);
}

public function set_institute_info(){
  $sql="select * from setting";
  $info=$this->get_sql_array($sql);
  $img="upload/custom_content/";
  $this->site_name=$info[0]['option_value'];
  $this->sort_name=$info[1]['option_value'];
  $this->address=$info[2]['option_value'];
  $this->phone=$info[5]['option_value'];
  $this->email=$info[6]['option_value'];
  $this->logo=$img.$info[4]['option_value'];
  $this->main_logo=$img.$info[3]['option_value'];
  $this->msg="@".$info[1]['option_value'];

}

public function date_to_string($date){
  return date("d M Y h:i:A", strtotime($date));
}

public function get_select_last_id($query){
  
  if(mysqli_query($this->conn, $query)){
    return mysqli_insert_id($this->conn);
  }
  else 0;
}

public function process_mysql_array($info){
  $res=array();
  $c=0;
  foreach ($info as $key => $value) {
    if($c%2==1)$res[$key]=$value;
    $c++;
  }
  return $res;
}

public function get_sql_array($sql){
  $info=array();
  $res=$this->select($sql);
  while($row=mysqli_fetch_array($res)){
      $sub=array();
      $sub=$this->process_mysql_array($row);
      array_push($info, $sub);
   }
   return $info;
}

public function action_link($table){
  $index["batch"]="batch_list";
  $index["student"]="student_list";
  $index["program"]="program_list";
  $index["subject"]="subject_list";
  $index['exam']="exam_list";
  $index['theme']="theme";

return (isset($index[$table]))?$index[$table]:"---";
}


  public function insert_sql($arr,$table){
    $sql="";
    $sql.="INSERT INTO ".$table;
    $sql.=" (".implode(",", array_keys($arr)).") VALUES ";
    $sql.=" ('".implode("','", array_values($arr))."')";

    return $sql;
  }


public function Update_sql($arr,$table){
    $sql="";
    $sql.="UPDATE ".$table." SET ";
    $condition="";
    $size=sizeof($arr);
    $c=0;
    foreach ($arr as $key => $value) {
       $condition.=$key."='".$value."'";
      if($c!=$size-1)$condition.=",";
      $c++;
    }
    $sql.=$condition;
    $sql.=" WHERE id=".$arr['id'];
    return $sql; 
}

public function get_previous_data($table,$id){
  $sql="select * from $table WHERE id=$id";
  $info=$this->get_sql_array($sql);
  if(isset($info[0]))return json_encode($info[0]);
}



  public function sql_action($table,$action,$info,$msg="yes"){
      $flag=0;
      $action_name="";
      
      if($action=="update"){
        $action_name="Update ". $table;
        $sql=$this->update_sql($info,$table);
      }

      else if($action=="insert"){
        $action_name="Insert New ". $table;
        $sql=$this->insert_sql($info,$table);
      }

      else if($action=="delete"){
        $id=$info['id'];
        $action_name="Delete ". $table;
        $sql = "DELETE FROM $table WHERE id=$id";
      }
  

  $present_data="";
  $previous_data="";

  if($table!="login"){
    if($action!="insert"){
      if($table!="site_activity"){
        $previous_data=$this->get_previous_data($table,$info['id']);
      }
    }     
    if($action=="insert"){
      $res=$this->get_select_last_id($sql);
      if($table!="site_activity")$present_data=$this->get_previous_data($table,$res);
    }
    else{
      $res=$this->select($sql);
      if($table!="site_activity")$present_data=$this->get_previous_data($table,$info['id']);
    } 
  }

  else $res=1; 
    //echo "$sql";
  if($res)$flag=1;
  
  if($flag==1 && $table!="chat" && $table!="result" && $table!="student_attendence" && $table!="site_activity" && $this->login_user!=""){
    $activity=array();
    $table_id=($action=="insert")?$res:$info['id'];
    $login=($table=="login")?1:0;
    $activity['user_id']=$this->login_user;
    $activity['table_name']=$table;
    $activity['action_type']=$action;
    $activity['login']=$login;
    $activity['table_id']=$table_id;
    $activity['date']=$this->date();
    $activity['ip']=$this->ip; 
    $activity['browser']=$this->browser;
    $activity['present_data']=$present_data;
    $activity['previous_data']=$previous_data;

    $this->sql_action("site_activity","insert",$activity,"no");
  }

  if($msg=="yes")$link=$this->action_link($table);
  
  if($flag==1 && $msg=="yes")echo "<script>alert('Successfully $action_name!');</script><script>document.location='$link.php'</script>";
   else if($msg=="yes") echo "<script>alert('Failed...Please Again Try!');</script><script>document.location='$link.php'</script>";
    if($flag==0)echo("Error description: " . mysqli_error($this->conn));
    if($msg=="no")return $flag;
  }
  



// conection end
}

?>

================================================
FILE: config/db.php
================================================


================================================
FILE: config/dbclass.php
================================================

<?php

class dbclass {
   

 public $host=db_host;
 public $user=db_user;
 public $pass=db_pass;
 public $db=db_name;
 public $sql;
 public $result;
 public $conn;
 public $row;
 public $shaw;

 //conection start

 public function __construct(){
     $this->connection();

 }


public function connection(){

     $this->conn =mysqli_connect($this->host,$this->user,$this->pass,$this->db);
if(!$this->conn){
echo "Conection failed";
}

}

public function select($query){
return $this->result=mysqli_query($this->conn, $query);
}



}


?>

================================================
FILE: dashboard_action.php
================================================
<?php

include "layout/header_script.php";
include "page_action/dashboard/dashboard_action.php";

?>

================================================
FILE: edit_id_card.php
================================================
<?php
include "layout/header.php";
include "page/id_card/edit_id_card.php";
include "layout/footer.php";
?>

================================================
FILE: exam.php
================================================
<?php

include "layout/header.php";

$ok=0;

if(isset($_GET['page'])){
	$page=$_GET['page'];
	if($page=="exam_category"){
		$page="page/exam_page/exam_category/exam_category.php";
		$ok=1;
	}
	else if($page=="exam_panel"){
		$page="page/exam_page/exam_panel/exam_panel.php";
		$ok=1;
	}
}
if($ok==0)$page="404.php";
include "$page";

include "layout/footer.php";


?>

================================================
FILE: exam_action.php
================================================
<?php


include "layout/header_script.php";
include "page_action/exam/exam_action.php";



?>

================================================
FILE: exam_category_action.php
================================================
<?php


include "layout/header_script.php";
include "page_action/exam/exam_category/exam_category_action.php";


?>

================================================
FILE: exam_list.php
================================================
<?php

include 'layout/header.php';
include 'page/exam/exam_list.php';
include 'layout/footer.php';


?>

================================================
FILE: exam_panel.php
================================================
<?php

include "layout/header.php";
include "page/exam_panel/exam_panel.php";
include "layout/footer.php";


?>

================================================
FILE: exam_panel_action.php
================================================
<?php

include 'layout/header_script.php';

if( isset($_SESSION['user'])!="" ){
	include "page_action/exam_panel/exam_panel.php";
}

else echo "Api Request Is Not Found";

?>

================================================
FILE: export.php
================================================
<?php

include "layout/header_script.php";
include "page/export/excel.php";

?>


================================================
FILE: id_card.php
================================================
<?php

include "layout/header.php";
include "page/id_card/id_card_editor/id_card_editor.php";
include "layout/footer.php";

 ?>



 

================================================
FILE: id_card_action.php
================================================
<?php

include 'layout/header_script.php';
include "page_action/id_card/edit_id_card/edit_id_card_action.php";

?>

================================================
FILE: index.php
================================================
<?php

include "layout/header.php";
include "page/index/dashboard.php";
include "layout/footer.php";

?>

================================================
FILE: install_action.php
================================================
<?php

include "page_action/install/install.php";

?>

================================================
FILE: install_system.php
================================================
<?php
include "script/install/install.php";
$install=new install();
$step=$install->step_install();
if($step==1)include 'page/install/install_system.php';
else header("Location: login.php");


?>

================================================
FILE: layout/bubble.php
================================================

<script type="text/javascript" src="layout/js/bubble.js"></script>

<style type="text/css">
	.theme_select .modal-dialog{max-width: 800px; width: 100%;}
</style>

<div class="containerr" style="">
	<div class="row" style="">
		        <div id="inbox" >
          <div style="position: fixed;" class="fab btn-group show-on-hover dropup">
          <div data-toggle="tooltip" data-placement="left" title="Select Option" style="margin-left: 42px;">
          <button type="button" class="btn btn-danger btn-io dropdown-toggle" data-toggle="dropdown"  style="">
            <span class="fa-stack fa-2x">
                <i class="fa fa-circle fa-stack-2x fab-backdrop"></i>
                <i class="fa fa-plus fa-stack-1x fa-inverse fab-primary"></i>
                <i class="fa fa-pencil fa-stack-1x fa-inverse fab-secondary"></i>
            </span>
          </button></div>
          <ul class="dropdown-menu dropdown-menu-right" role="menu">

            <li class="dropdown_sub" style=""><a onclick="get_theme_list()" style=""><i class="fa fa-tint"></i></a> </li>

          </ul>
        </div>
        </div>
	</div>
</div>


<div class="modal large fade theme_select" id="theme" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
        
        <div class="modal-body" style="background-color: #ecf0f1">
        	<?php include 'page/theme/theme_list.php'; ?> 
        </div>
      </div>
    </div>
</div>

<script type="text/javascript">
	$('.fab').hover(function () {
    $(this).toggleClass('active');
});
$(function () {
  $('[data-toggle="tooltip"]').tooltip()
})
</script>

<style type="text/css">



.fab {
  cursor: pointer;
}
.fab-backdrop {
  color: rgba(255, 255, 255, 0);
}
.fab-primary, .fab-secondary {
  transition: all 0.35s ease-in-out;
}
.fab.active .fab-primary {
  opacity: 0;
  transform: rotate(225deg);
}
.fab-secondary {
  opacity: 0;
  transform: rotate(-225deg);
}
.fab.active .fab-secondary {
  opacity: 1;
  transform: rotate(0);
  margin-top: -2px;
}



#inbox .show-on-hover:hover > ul.dropdown-menu {
    display: block;    
}
#inbox .show-on-hover {
    position: absolute;
    bottom: 40px;
    right: 20px;
}
#inbox .btn-io{
    height: 65px;
    width: 65px;
    padding: 0 !important;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 100%;
}
#inbox .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 1px;
margin-bottom: -5px;
padding-bottom: 30px;
}
#inbox .dropdown-menu-right {
right: 0 !Important;
left: auto !Important;
}
#inbox .dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 60px;
padding: 5px 0;
margin: 2px 0 0;
font-size: 14px;
text-align: center;
list-style: none;
background-color: rgba(255, 255, 255, 0) !Important;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: none;
border-radius: 0px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0) !Important;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0) !Important;
}
#inbox .fa-iox{
    font-size: 22px;
}
#inbox .dropdown-menu > li > a {
display: block;
padding: 0;
padding-top: 4px;
margin-top: 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333;
background: #fff;
white-space: nowrap;
width: 40px;
height: 40px;
border: solid 1px #ccc;
border-radius: 50px;
font-size: 21px;
box-shadow: 0px 3px 7px 0px rgba(203, 203, 203, 0.72);
}
#inbox .dropdown-menu > li:first-child>a {
    background: #6E4320 !important;
    color: #fff !important;
}
#inbox .dropdown-menu > li:last-child>a {
    background: #D3A516;
    color: #fff;
}
#inbox .dropdown-menu > li:nth-child(3)>a {
    background: #3C80F6;
    color: #fff;
}
#inbox .dropdown-menu > li:nth-child(2)>a {
    background: #2CAC26;
    color: #fff;
}
#inbox .fa-iosm{
    
    margin-top: 7px;
}
</style>

================================================
FILE: layout/footer.php
================================================
</div>
</div>


    <script src="style/lib/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>

  <!-- <footer style="background-color: #414959; padding: 20px;"> -->
               
<div class="footer-style custom_footer">
                <!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
                <center>Design & Developed By: <a class="a_footer" href="https://github.com/amirhamza05/Student-Management-System">Amir Hamza</a></center>
           
</div>
            <!-- </footer> -->
</body></html>

<style type="text/css">
 
    .custom_footer{
        padding: 10px!important;
       font-weight: bold;
       font-size: 18px;
       font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    }
    .a_footer{
       font-size: 20px;
       color: var(--font-color);
    }
</style>

================================================
FILE: layout/header.php
================================================
<?php


include "layout.php";

?>

================================================
FILE: layout/header_lib.php
================================================
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" type="text/css" href="style/lib/bootstrap/css/bootstrap.css">
	<link rel="stylesheet" href="style/lib/font-awesome/css/font-awesome.css">
	<script src="style/lib/jquery-1.11.1.min.js" type="text/javascript"></script>

	<!-- Datatable Style Sheet -->
	<script language="JavaScript" src="https://cdn.datatables.net/1.10.4/js/jquery.dataTables.min.js" type="text/javascript"></script>
	<script language="JavaScript" src="https://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/3/dataTables.bootstrap.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/3/dataTables.bootstrap.css">

	<script language="JavaScript" src="style/lib/custom/custom.js" type="text/javascript"></script>
	<script language="JavaScript" src="layout/site_script.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="style/stylesheets/money_recept.css">
	<link rel="stylesheet" type="text/css" href="style/css/table.css">

     

================================================
FILE: layout/header_script.php
================================================
<?php

session_start(); 
 
if( isset($_SESSION['user'])!="" ){

include "config/config.php";
$db=new database();

include 'script/program/program.php';
include "script/site_content/site_content.php";
include "script/payment/set_payment.php";
include "tool/vendor/vendor/autoload.php";
include 'script/theme/theme.php';

include 'script/user/user.php';
$id=$_SESSION['user'];
$user_ob=new user($id);

$user=$user_ob->get_user_info();
$login_user=$user_ob->get_login_user();

$user_id=$login_user['id'];
$login_user_id=$login_user['id'];
$user_permit=$login_user['permit'];
$role=$login_user['permit'];
$login_user_role=$role;

$ip = $_SERVER['REMOTE_ADDR'];
$browser = $user_ob->get_browser($_SERVER['HTTP_USER_AGENT']);

$db->set_login_user($user_id,$ip,$browser);

 
$site=new site_content();


include 'script/subject/subject.php'; 
$subject_ob=new subject();
$subject=$subject_ob->get_subject_info();

include 'script/batch/batch.php';
$batch_ob=new batch();
$batch=$batch_ob->batch_info();

//include 'script/program/program.php';
$program_ob=new program();
$program=$program_ob->get_program_info();

include 'script/student/student.php';
$student_ob=new student();
$student=$student_ob->get_student_info();

include 'script/sms/sms.php';
$sms=new sms($user_id);


include 'script/contest/contest.php';
$contest=new contest();

include 'script/payment/payment.php';
$payment=new payment();


$set_payment_ob=new set_payment();
$set_payment_info=$set_payment_ob->get_set_payment_list();

include 'script/id_card/id_card.php';
$id_card=new id_card();

//include 'script/exam/exam.php';
//$exam_ob=new exam();
//$exam=$exam_ob->get_exam_info();

//include 'script/result/result.php';
//$result=new result();
//$result_info=$result->get_result();


include 'script/attendence/attendence.php';
$attend_ob=new attendence();

include 'script/notice/notice.php';
$notice=new notice();
$notice_info=$notice->get_notice_info(); 


$theme=new theme();
$theme_info=$theme->get_theme_info();

include 'script/report/report.php';
$report=new report();

include 'script/account/account.php';
$account=new account();

include 'script/site_activity/site_activity.php';
$site_activity=new site_activity();

include 'script/setting/setting.php';
$setting=new setting();

include 'script/graph/graph.php';
$graph=new graph();

include 'script/chat/chat.php';
$chat=new chat();

include 'script/exam/exam_category.php';
$exam=new exam();



}
else{

    echo "<script>window.location.href = 'login.php';</script>";

}

?>

================================================
FILE: layout/js/bubble.js
================================================

action_url="nav_bar_action.php";


function get_theme_list(){
  modal_open("lg", "Theme");
  loader("modal_lg_body");

  var data={
  	'get_theme_list':1
  }

  $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_lg_body",response);
        }
    });  
}

function change_theme(theme_id){
	loader("modal_lg_body");
	var data={
  		'change_theme':theme_id
  	}
  	$.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
        	set_html("theme_color",response);
           	get_theme_list();
        }
    });  

}

================================================
FILE: layout/js/nav_bar_script.js
================================================

action_url="nav_bar_action.php";

function sql_editor(){
    var data = {
        "sql_editor": 1
    }
    modal_open("lg", "SQL Editor");
    loader("modal_lg_body");
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_lg_body",response);
        }
    });  
}
function sql_editor_run(){
  sql=get_value("sql_editor");
  var data = {
        "sql_editor_run": sql
  }
  loader("sql_editor_output");
  $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("sql_editor_output",response);
        }
  });  

}

function live_chat_nav(){

    var data = {
        "live_chat_nav": 1
    }
    modal_open("sm", "Live Chat");
    loader("modal_sm_body");
    
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_sm_body",response);

           load_chat_body_data();
        }
    });   

}

function load_chat_body_data(){
  
  var data = {
        "load_chat_body_data": 1
  }
  
  loader("message_body",120);
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("message_body",response);
           var box = document.getElementById('message_body');
           box.scrollTop = box.scrollHeight;
        }
    });  
}

function send_message_chat(){
  message=get_value("message");
  if(message==""){
    alert("Enter Message");
    return;
  }
  var data1={
    "message": message
  }
  var data={
    "send_message_chat": data1
  }
  document.getElementById("message").value="";
  loader("message_body");


  $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           load_chat_body_data();
        }
    }); 

}


function student_info_nav_bar(){

    var data = {
        "student_info_nav_bar": 1
    }
    modal_open("sm", "Student Quick Access");
    loader("modal_sm_body");
    
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_sm_body",response);
        }
    });   

}

function sms_state_nav(){

  var data = {
        "sms_state_nav": 1
    }
    modal_open("md", "SMS Statistics");
    loader("modal_md_body");
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_md_body",response);
        }
    }); 
}

function nav_bar_student_action(type){
    var data = {
        "nav_bar_student_action": type
    }
    
    loader("modal_sm_body");
    $.ajax({
        type: 'POST',
        url: action_url,
        data:data,
        success: function(response) {
           set_html("modal_sm_body",response);
        }
    });   
}

function nav_bar_student_final_action(type){
      id=get_value("student_id");
      error="";
      if(id=="")error="Please Enter Student ID";
      if(error!=""){
        alert(error);
        return;
      }
      
      type=(type==1)?"info":"payment";
      url="student_profile.php?get_id="+id+"&tab="+type;
      window.history.pushState('', '', url);
      window.location.href = "";
      
}

================================================
FILE: layout/layout.php
================================================
<?php
include "layout_style.php";
include "nev_bar.php";
include "side_bar.php";
?>

<div id="content" class="content"> 
	<div class="main-content" style="padding-bottom: 30px;margin-top: 15px;" >
		<?php 
  			include "bubble.php"; 
  			include "loader.php";
  			include "modal_lib.php";
 		?>



================================================
FILE: layout/layout_style.php
================================================

<?php
include "header_script.php";
?>

<!doctype html>
<html lang="en"><head>
    <meta charset="utf-8">
    
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="<?php echo $db->logo; ?>" type="image/gif" sizes="16x16">
    <title><?php echo $site->get_page_name(); ?></title>

    <?php include 'header_lib.php'; ?>

    <script>
        $(document).ready(function() {
            $('#datatable').dataTable({
                "sScrollX": "100%",
                "sScrollY": "100%",
                "sScrollXInner": "100%",
            });

            $("[data-toggle=tooltip]").tooltip();
        } );
    </script>


    <?php
        $ut_info=$theme->get_theme($login_user['theme']);
        $bg_color=$ut_info['bg_color'];
        $font_color=$ut_info['font_color'];
    ?>

    <!-- End Datatable Style Sheet -->

    <script src="style/lib/jQuery-Knob/js/jquery.knob.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            $(".knob").knob();
        });
        var bg_color="<?php echo "$bg_color"; ?>";
    </script>

<div id="theme_color">
    <style type="text/css">
        :root {
            --bg-color: <?php echo "$bg_color"; ?>;
            --font-color: <?php echo "$font_color"; ?>;
        } 
    </style>
</div>
    <link rel="stylesheet" type="text/css" href="style/stylesheets/theme.css">

</head>



<body class="theme-blue">

    <!-- Demo page code -->


    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover { 
            color: #fff;
        }
        .watermark_body{
            background: url(<?php echo $db->logo; ?>);
            
        }
    </style>

    <script type="text/javascript">
        $(function() {
            var uls = $('.sidebar-nav > ul > *').clone();
            uls.addClass('visible-xs');
            $('#main-menu').append(uls.clone());
        });
    </script>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">

================================================
FILE: layout/loader.php
================================================


<div class="bg_load"></div>
<div class="wrapper">
    <div class="inner">
        <span>L</span>
        <span>o</span>
        <span>a</span>
        <span>d</span>
        <span>i</span>
        <span>n</span>
        <span>g</span>
    </div>
</div>

<style type="text/css">
    @import url(https://fonts.googleapis.com/css?family=Racing+Sans+One);


    
.bg_load {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #EEE;
}

.wrapper {
    /* Size and position */
    font-size: 25px; /* 1em */
    width: 8em;
    height: 8em;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-top: -100px;
    margin-left: -100px;

    /* Styles */
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1em dashed rgba(138,189,195,0.5);
    box-shadow: 
        inset 0 0 2em rgba(255,255,255,0.3),
        0 0 0 0.7em rgba(255,255,255,0.3);
    animation: rota 3.5s linear infinite;

    /* Font styles */
    font-family: 'Racing Sans One', sans-serif;
    
    color: #444;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 .04em rgba(255,255,255,0.9);
    line-height: 6em;
}

.wrapper:before,
.wrapper:after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: inherit;
    box-shadow: inset 0 0 2em rgba(255,255,255,0.3);
    border: 1em dashed;
}

.wrapper:before {
    border-color: rgba(138,189,195,0.2);
    top: 0; right: 0; bottom: 0; left: 0;
}

.wrapper:after {
    border-color: rgba(138,189,195,0.4);
    top: 1em; right: 1em; bottom: 1em; left: 1em; 
}

.wrapper .inner {
    width: 100%;
    height: 100%;
    animation: rota 3.5s linear reverse infinite;
}

.wrapper span {
    display: inline-block;
    animation: placeholder 1.5s ease-out infinite;
}

.wrapper span:nth-child(1)  { animation-name: loading-1;  }
.wrapper span:nth-child(2)  { animation-name: loading-2;  }
.wrapper span:nth-child(3)  { animation-name: loading-3;  }
.wrapper span:nth-child(4)  { animation-name: loading-4;  }
.wrapper span:nth-child(5)  { animation-name: loading-5;  }
.wrapper span:nth-child(6)  { animation-name: loading-6;  }
.wrapper span:nth-child(7)  { animation-name: loading-7;  }

@keyframes rota {
    to { transform: rotate(360deg); }
}

@keyframes loading-1 {
    14.28% { opacity: 0.3; }
}

@keyframes loading-2 {
    28.57% { opacity: 0.3; }
}

@keyframes loading-3 {
    42.86% { opacity: 0.3; }
}

@keyframes loading-4 {
    57.14% { opacity: 0.3; }
}

@keyframes loading-5 {
    71.43% { opacity: 0.3; }
}

@keyframes loading-6 {
    85.71% { opacity: 0.3; }
}

@keyframes loading-7 {
    100% { opacity: 0.3; }
}
</style>

<script type="text/javascript">
    $(window).load(function() {
    $(".bg_load").fadeOut("slow");
    $(".wrapper").fadeOut("slow");
})

</script>

================================================
FILE: layout/menu_button.php
================================================
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<div class="container" align="center">
       <div class="row">
        <div class="col-md-1"></div>
          <div class="col-md-2">
            <div class="square-service-block">
               <a href="#">
                 <div class="ssb-icon"><i class="fa fa-paint-brush" aria-hidden="true"></i></div>
                 <h2 class="ssb-title">Graphics</h2>  
               </a>
            </div>
          </div>
          
          <div class="col-md-2">
            <div class="square-service-block">
               <a href="#">
                 <div class="ssb-icon"> <i class="fa fa-globe" aria-hidden="true"></i> </div>
                 <h2 class="ssb-title">web service</h2>  
               </a>
            </div>
          </div>
          
          <div class="col-md-2">
            <div class="square-service-block">
               <a href="#">
                 <div class="ssb-icon"><i class="fa fa-camera" aria-hidden="true"></i></div>
                 <h2 class="ssb-title">Photography</h2>  
               </a>
            </div>
          </div>
          
          <div class="col-md-2">
            <div class="square-service-block">
               <a href="#">
                 <div class="ssb-icon"><i class="fa fa-font" aria-hidden="true"></i></div>
                 <h2 class="ssb-title">Fonts</h2>  
               </a>
            </div>
          </div>
          
         
          
       </div>
    </div>

    <style type="text/css">
      a:hover, a:focus {
  color: #2a6496;
  text-decoration: none;
}
.square-service-block{
  position:relative;
  overflow:hidden;
  margin:15px auto;
  }
.square-service-block a {
  background-color: #e74c3c;
  border-radius: 50%;
  display: block;
  padding: 5px;
  text-align: center;
  width: 100%;
}
.square-service-block a:hover{
  background-color: rgba(231, 76, 60, 0.8);
  border-radius: 5px;
}

.ssb-icon {
  color: #fff;
  display: inline-block;
  font-size: 20px;
  margin: 0 0 5px;
}

h2.ssb-title {
  color: #fff;
  font-size: 15px;
  font-weight: 200;
  margin:0;
  padding:0;
  text-transform: uppercase;
}

    </style>

================================================
FILE: layout/modal_lib.php
================================================
<!-- Start sm Modal -->
<div class="modal fade modal_sm" id="modal_sm" tabindex="-1" role="dialog" aria-labelledby="modal_sm_Label" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal_header" style="">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    </div>

    <div class="modal-content">
        <div id="modal_sm_header" class="modal_content_header">Header</div>
            <div class="modal_sm_body" id="modal_sm_body">
                          
            </div>

    </div>
    </div>
</div>
<!-- End sm Modal -->

<!-- Start md Modal -->
<div class="modal fade modal_md" id="modal_md" tabindex="-1" role="dialog" aria-labelledby="modal_md_Label" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal_header" style="">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    </div>

    <div class="modal-content">
        <div id="modal_md_header" class="modal_content_header">Header</div>
            <div class="modal_md_body" id="modal_md_body">
                           
            </div>

    </div>
    </div>
</div>
<!-- End md Modal -->

<!-- Start lg Modal -->
<div class="modal fade modal_lg" id="modal_lg" tabindex="-1" role="dialog" aria-labelledby="modal_md_Label" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal_header" style="">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    </div>

    <div class="modal-content">
        <div id="modal_lg_header" class="modal_content_header">Header</div>
            <div class="modal_lg_body" id="modal_lg_body">
                           
            </div>

    </div>
    </div>
</div>
<!-- End lg Modal -->

<style type="text/css">
    .modal-content{
        border-radius: 0px;
    }
    .modal_sm .modal-dialog{max-width: 350px; width: 100%;}
    .modal_md .modal-dialog{max-width: 600px; width: 100%;}
    .modal_lg .modal-dialog{max-width: 950px; width: 100%;}
    .modal_header{
       border-radius: 10px 10px 0px 0px;
    }
    .modal_sm_body,.modal_md_body,.modal_lg_body{
        padding: 20px;
        background-color: #ECF0F1;
        overflow: scroll;
        max-height: 500px;
    }
    .modal-content  {
     -webkit-border-radius: 5px !important;
     -moz-border-radius: 5px !important;
     border-radius: 0px 0px 5px 5px !important; 
    }
    .modal_content_header{
        background-color: var(--bg-color);
        color: var(--font-color);
        padding: 15px;
        font-size: 18px;
        font-weight: bold;
    }
    .modal_header .close {
      margin: 0;
      position: absolute;
      top: -10px;
      right: -10px;
      width: 40px;
      height: 40px;
      border-radius: 23px;
      background-color: #00aeef;
      color: #ffe300;
      font-size: 20px;
      opacity: 1;
      z-index: 10;
    }
    .modal_header .close:hover {
      outline: none;
      font-size: 30px;
    }
    
    .modal_header .close:focus {
      outline: none;
      background-color: #049ad1;
    }

    
</style>

<script type="text/javascript">
    function modal_open(type,header="Header",permission="open"){
        
        if(type=="sm")modal_sm(permission,header);
        else if(type=="md")modal_md(permission,header);
        else if(type=="lg")modal_lg(permission,header);  

    }


    function modal_sm(permission,header){
        modal_ob=$("#modal_sm");
        set_data("modal_sm_header",header);
        if(permission=="open")modal_ob.modal("show");
        else modal_ob.modal("hide");
    }
     function modal_md(permission,header){
        modal_ob=$("#modal_md");
        set_data("modal_md_header",header);
        if(permission=="open")modal_ob.modal("show");
        else modal_ob.modal("hide");
    }
    function modal_lg(permission,header){
        modal_ob=$("#modal_lg");
        set_data("modal_lg_header",header);
        if(permission=="open")modal_ob.modal("show");
        else modal_ob.modal("hide");
    }

    function set_data(div,data){
        document.getElementById(div).innerHTML=data;
    }
</script>

================================================
FILE: layout/nev_bar.php
================================================
<!--
===============================
  Navbar
===============================
-->


<?php 

$name=$login_user['uname'];
$permit_role=($role<=5)?"techserm":"ins";
$chat_due=$chat->get_chat_last_list($permit_role);
$chat_due=($chat_due==0)?"":"($chat_due)";
?>

<script type="text/javascript" src="layout/js/nav_bar_script.js"></script>
 <div class="navbar navbar-default" role="navigation" style="position: auto; border-width: 0px 0px 1px 0px; border-color: rgba(0,0,0,0.2); padding: 10px;" >

        <div class="navbar-headerr"  style="position: auto; border-width: 0px;">

        <ul class="nav navbar-nav navbar-left">  
          <span onclick="action_side_bar()" class="sidebar-toggle-action">
          <button  class="btn_nav_toggle"><i class="fa fa-bars" id="icon_div"></i></button>
          </span> 
        
        
          <a class="" href="index.php"><span class="navbar-brand"  style="color:var(--font-color)"><font class="logo_title"> <?php echo $db->site_name; ?></font></span></a>
          <span class="nev_bar_button_area">
             <!-- here button -->
           <button onclick="student_info_nav_bar()" class="btn_tab" style="margin-left: 15px;"><span class="glyphicon glyphicon-fire"></span> Student Quick Access</button>
           <button onclick="sms_state_nav()" class="btn_tab" style="margin-left: 15px;"><span class="glyphicon glyphicon-envelope"></span> SMS Statistics</button>
           <button onclick="live_chat_nav()" class="btn_tab" style="margin-left: 15px;"><i class="fa fa-comments"></i> Live Chat <b><?php echo "$chat_due"; ?></b></button>
           <button onclick="sql_editor()" class="btn_tab" style="margin-left: 15px;"><span class="fa fa-database"></span> SQL Editor</button>
          


          </span>
        </ul>
        <ul class="nav navbar-nav navbar-right">
           <?php //include "page/nav_bar_dropdown.php"; ?>        
        </ul> 

         <!--  -->
        </div>
</div>

  
<style type="text/css">
  @media screen and (max-width: 800px) {
  .nev_bar_button_area {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 28%;
    display: none;
  } 
}




</style>

        
<script type="text/javascript">
  function action_side_bar(){
    div=document.getElementById('content');
    icon_div=document.getElementById('icon_div');
    class_name=div.className;
    if(class_name=='content_with_sidebar'){
      div.className = 'content';
      icon_div.className='fa fa-bars';
    }
    else{
      div.className = 'content_with_sidebar';
      icon_div.className='fa fa-times';
    }
  }
</script>
<script type="text/javascript" src="layout/js/nav_bar_script.js"></script>
<link rel="stylesheet" type="text/css" href="style/css/nav_bar.css">

        </div>
  </div>



================================================
FILE: layout/page/nav_bar_dropdown.php
================================================
<li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="glyphicon glyphicon-user"></span> 
                        <strong>Nombre</strong>
                        <span class="glyphicon glyphicon-chevron-down"></span>
                    </a>
                    <ul class="dropdown-menu" style="background-color: var(--bg-color)">
                        <li>
                            <div class="navbar-login">
                                <div class="row">
                                    <div class="col-lg-4">
                                        <p class="text-center">
                                            <span class="glyphicon glyphicon-user icon-size"></span>
                                        </p>
                                    </div>
                                    <div class="col-lg-8">
                                        <p class="text-left"><strong>Nombre Apellido</strong></p>
                                        <p class="text-left small">correoElectronico@email.com</p>
                                        <p class="text-left">
                                            <a href="#" class="btn btn-primary btn-block btn-sm">Actualizar Datos</a>
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <div class="navbar-login navbar-login-session">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <p>
                                            <a href="#" class="btn btn-danger btn-block">Cerrar Sesion</a>
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
</li>

================================================
FILE: layout/side_bar.php
================================================
<div style="background-color: #ffffff; height: 100%; position: absolute;">
    <div class="sidebar-nav" style="">
        <style type="text/css">
            .img_style {
                height: 74px;
                width: 70px;
                margin: -5px;
            }
        </style>
        <?php

$user_name=$login_user['uname'];
$user_email=$login_user['email'];
$id=$login_user['id'];
$photo=$login_user['photo'];
$user_name=$id_card->make_string($user_name,20);
$user_email=$id_card->make_string($user_email,20);

?>

            <ul class="side_bar_ul">

                <li class="side-user" style="">

                    <div class="user-head">
                        <div>
                            <a class="inbox-avatar" style="border-radius: 0%" href="user_info.php?user_id=<?php echo " $id "; ?>">
        <img class="img_style"  width="74" hieght="70" src="<?php echo"$photo"; ?>">
    </a>
                            <div class="user-name" style="">
                                <h5><a href="user_info.php?user_id=<?php echo "$id"; ?>"><?php echo "$user_name"; ?></a></h5>
                                <span><a href="user_info.php?user_id=<?php echo "$id"; ?>"><?php echo "$user_email"; ?></a></span>
                            </div>
                        </div>

                    </div>

                </li>

                <li><a href="index.php" class="nav-header"><i class="fa fa-fw fa-dashboard side_bar_icon"></i> Dashboard</a></li>

                <li><a href="javascript:void(0)" data-target=".legal-menu_s" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-mortar-board side_bar_icon"></i> Students<i class="fa fa-collapse"></i></a></li>

                <li>
                    <ul class="legal-menu_s nav nav-list collapse">
                        <li class=""><a href="student_list.php" class=""><span class="fa fa-caret-right"></span>Student List</a></li>
                        <li><a href="add_student.php"><span class="fa fa-caret-right"></span>Add Student</a></li>
                        <li><a href="attend.php"><span class="fa fa-caret-right"></span>Attendence</a></li>
                    </ul>
                </li>

                <?php if($user_permit<8){ ?>

                    <li><a href="batch_list.php" class="nav-header"><i class="fa fa-outdent  side_bar_icon"></i> Batch</a></li>

                    <li><a href="program_list.php" class="nav-header"><i class="fa fa-renren side_bar_icon"></i> Program</a></li>

                    <li><a href="subject_list.php" class="nav-header"><i class="fa fa-fw fa-book side_bar_icon"></i> Subject</a></li>

                    <li><a href="javascript:void(0)" data-target=".result" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-th-list side_bar_icon"></i> Exam<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="result nav nav-list collapse">
                            <li><a href="exam_list.php" class="l_active"><span class="fa fa-caret-right"></span>Exam List</a></li>
                            <li><a href="result.php" class="l_active"><span class="fa fa-caret-right"></span>Show Result</a></li>
                            <li><a href="add_result.php" class="l_active"><span class="fa fa-caret-right"></span>ADD Result</a></li>

                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".notice" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-bullhorn side_bar_icon"></i> Notice<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="notice nav nav-list collapse">

                            <li><a href="notice_list.php"><span class="fa fa-caret-right"></span>Notice List</a></li>
                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".user" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-fw fa-user side_bar_icon"></i> User<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="user nav nav-list collapse">
                            <li><a href="user_list.php" class="l_active"><span class="fa fa-caret-right"></span> User List</a></li>

                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".account" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-rupee side_bar_icon"></i> Account<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="account nav nav-list collapse">
                            <li><a href="account.php?type=expence" class="l_active"><span class="fa fa-caret-right"></span>Add Expence</a></li>
                            <li><a href="account.php?type=income" class="l_active"><span class="fa fa-caret-right"></span>Add Income</a></li>

                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".report" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-file-text-o side_bar_icon"></i> Report<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="report nav nav-list collapse">
                            <li><a href="report.php?type=payment_report" class="l_active"><span class="fa fa-caret-right"></span>Payment Report</a></li>
                            <li><a href="report.php?type=expence_report"><span class="fa fa-caret-right"></span>Expence Report</a></li>
                            <li><a href="report.php?type=income_report"><span class="fa fa-caret-right"></span>Income Report</a></li>
                            <li><a href="report.php?type=profit_report"><span class="fa fa-caret-right"></span>Profit Report</a></li>
                            <li><a href="report.php?type=attendence_report"><span class="fa fa-caret-right"></span>Attendence Report</a></li>

                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".sms" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-envelope-o side_bar_icon"></i> SMS<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="sms nav nav-list collapse">
                            <li><a href="sms_dashboard.php" class="l_active"><span class="fa fa-caret-right"></span>SMS Dashboard</a></li>
                            <li><a href="pending_sms_list.php" class="l_active"><span class="fa fa-caret-right"></span>Pending SMS (<?php echo count($sms->get_pending_sms_list()); ?>)</a></li>

                        </ul>
                    </li>

                    <li><a href="javascript:void(0)" data-target=".setting" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-cogs side_bar_icon"></i> Setting<i class="fa fa-collapse"></i></a></li>

                    <li>
                        <ul class="setting nav nav-list collapse">
                            <li><a href="setting.php" class="l_active"><span class="fa fa-caret-right"></span>Genaral Setting</a></li>

                        </ul>
                    </li>

                    <?php } ?>
            </ul>
    </div>

</div>

<style type="text/css">
   
    .side_bar_ul a{
        text-decoration: none;
    }
    .side_bar_icon {
        background-color: rgba(0,0,0,0.1);
        margin-right: 10px;
        font-size: 15px;
        width: 30px;
        height: 30px;
        line-height: 30px!important;
        text-align: center!important;
        border-radius: 5px;
        padding-left: 9px;
        
    }
    .side_bar_ul{
        color: var(--font-color);
        opacity: 0.9;
    }
    
    
    
</style>

================================================
FILE: layout/site_script.js
================================================
function script_test(){
	alert("working");
}

function get_ajax(action_data,data){
  url=action_data['url'];
  div=action_data['div'];
  load=action_data['load'];
  
  $.ajax({
        type: 'POST',
        url: url,
        data:data,
        beforeSend: function() {
        },
        success: function(response) {

            if(load==1)window.location.href = "";
            else document.getElementById(div).innerHTML=response;
        }
    });

}



function loader(divname,size=0){
  div_ob=document.getElementById(divname);
  img_size="";
  if(size!=0)img_size="height: "+size+"px; width:"+size+"px";
  img_url="src='upload/site_content/processing1.gif'";
  img_style="style='margin-top:35px"+img_size+"'";
  img="<center><img "+img_style+img_url+" /></center>";

  div_ob.innerHTML =img;
}

function btn_loader(btn){
 set_html(btn,"hello")
}


function get_value(div){
	val=document.getElementById(div).value;
	return val;
}

function set_html(div,val){
  document.getElementById(div).innerHTML=val;
}

function set_value(div,val){
  document.getElementById(div).value=val;
}

function get_checkbox_value(field_name){
  var checkboxes = document.getElementsByName(field_name);
  var vals = "";
  for (var i=0, n=checkboxes.length;i<n;i++) 
     {
        if (checkboxes[i].checked) 
        {
          vals += ","+checkboxes[i].value;
        }
   }

if (vals) vals = vals.substring(1);
return vals;
}


function print_action(url,width=1000,height=800){
  var w = width;
        var h = height;
        var left = Number((screen.width/2)-(w/2));
        var tops = Number((screen.height/2)-(h/2));

window.open(url, '', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+tops+', left='+left);
}

function print(divName){
    var printContents = document.getElementById(divName).innerHTML;
    w=1150;
    h=750;
    var left = (screen.width/2)-(w/2);
    var top = (screen.height/2)-(h/2);
    myWindow=window.open('', '', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);;
    myWindow.document.write(printContents);
    myWindow.document.close();
    myWindow.focus();
    myWindow.print();
    myWindow.close();
  }

================================================
FILE: login.php
================================================
<?php


session_start();
if( isset($_SESSION['user'])=="" ){
include "layout/header_lib.php";
include "script/install/install.php";
$install=new install();
$step=$install->step_install();
if($step==2)include 'page/login/login.php';
else header("Location: install_system.php");
}
else{
	header("Location: index.php");
}
?>

================================================
FILE: login_action.php
================================================
<?php
session_start();
include "config/config.php";
$db=new database();

include 'script/user/user.php';
$user_ob=new user();
$user=$user_ob->get_user_info();


if(isset($_POST['login'])){

  $uname = trim($_POST['uname']);
  $uname = strip_tags($uname);
  $uname = htmlspecialchars($uname);

  $pass = $_POST['pass'];
  $pass=hash('sha256', $pass);

  $data['error']=0;

	$login_error=1;
	foreach ($user as $key => $value) {
		$id=$value['id'];
		$uname1=$value['uname'];
		$pass1=$value['pass'];
		$status=$value['status'];
		if($pass1==$pass && $uname==$uname1){
			if($status==0)$login_error=2;
			else $login_error=0;
			break;
		}
	}
	
	if($login_error==0){
		$_SESSION['user']=$id;
		$ex=$_SESSION['user'];
		$info=array();
		$info['user_id']=$id;
        $ip = $_SERVER['REMOTE_ADDR'];
		$browser = $user_ob->get_browser($_SERVER['HTTP_USER_AGENT']);
        $db->set_login_user($id,$ip,$browser);
	    $db->sql_action("login","insert",$info,"no");
	}

	$data['error']=$login_error;
	$data['error_msg']=($login_error==1)?"Please Fill Up Correct User Name and Password":"User Is Deactive.";
	$data=json_encode($data);
	echo "$data";


}

?>


================================================
FILE: logout.php
================================================
<?php


session_start();
unset($_SESSION["user"]);
header("Location: login.php");

?>

================================================
FILE: nav_bar_action.php
================================================
<?php

include 'layout/header_script.php';
include "page_action/nav_bar/nav_bar.php";



?>

================================================
FILE: notice_action.php
================================================
<?php

include 'layout/header_script.php';
include "page_action/notice/notice.php";

?>

================================================
FILE: notice_list.php
================================================
<?php

include "layout/header.php";
include "page/notice/notice_list.php";
include "layout/footer.php";


?>

================================================
FILE: page/account/expence.php
================================================

<link rel="stylesheet" type="text/css" href="page/index/style.css">
<script type="text/javascript" src="page/account/js/expence.js"></script>
<div class="row" style="">
    	<script type="text/javascript">
    		$(document).ready(function() {
   				 $('table.display').DataTable();
			} );
    	</script>
    	  
 
        <div class="col-md-12">
            <div class="dashboard_box">
                <div class="box_header">Expence List</div>
                <div class="box_body">
                	 <div class="pull-rightt" style="margin-top: -20px;">
						<center><button class="button" onclick="get_expence_form('insert')">+ Add Expence</button></center>
					</div>
                
                	<table id="" class="display" width="100%">
                		<thead style="width: 100%;">
                		<tr>
                			<td class="td_list1"></td>
                			<td class="td_list1">#</td>
                			<td class="td_list1">Expence Name</td>
                			<td class="td_list1">Ammount</td>
                            <td class="td_list1">Notes</td>
                			<td class="td_list1">Date</td>
                            <td class="td_list1">Add By</td>
                			<td class="td_list1">Action</td>
                			
                		</tr>
                	</thead>
                	<tbody>
                		<?php 

						$info=$account->expence_list();
                		foreach ($info as $key => $value) {
                            $id=$value['id'];
                		 ?>
 
						<tr>
							<td class="td_list2"></td>
                			<td class="td_list2"><?php echo $value['id']; ?></td>
                			<td class="td_list2">
                                <?php echo $value['name']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['amount']; ?>    
                            </td>
                            <td class="td_list2">
                                <?php echo $value['notes']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['date']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['user']; ?>   
                            </td>
                            <td class="td_list2">
                                <button class="btn btn-primary btn-xs" style="margin-right: 4px;" title="Update" data-title="Update" onclick="get_expence_form('update',<?php echo "$id"; ?>)" >
                                <span class="glyphicon glyphicon-pencil"></span>
                                </button>
                                <button class="btn btn-danger btn-xs" title="Delete" data-title="Delete" onclick="get_expence_form('delete',<?php echo "$id"; ?>)" ><span class="glyphicon glyphicon-trash"></span></button>
                            </td>
                			
                		</tr>
                		<?php } ?>
                		</tbody>
                	</table>
                </div>
            </div>
        </div>
        
    </div>  

    <style type="text/css">
    thead{
        background-color: #EFF0F2;
        border-width: 0px;
    }
    .td_list1{
        background-color: #EFF0F2;
        color: #000000;
        padding: 10px;
        font-weight: bold;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
    .td_list2{
        background-color: #ffffff;
        color: #000000;
        padding: 8px;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
</style>

================================================
FILE: page/account/income.php
================================================

<link rel="stylesheet" type="text/css" href="page/index/style.css">
<script type="text/javascript" src="page/account/js/income.js"></script>
<div class="row" style="">
    	<script type="text/javascript">
    		$(document).ready(function() {
   				 $('table.display').DataTable();
			} );
    	</script>
    	  
 
        <div class="col-md-12">
            <div class="dashboard_box">
                <div class="box_header">Income List</div>
                <div class="box_body">
                	 <div class="pull-rightt" style="margin-top: -20px;">
						<center><button class="button" onclick="get_income_form('insert')">+ Add Income</button></center>
					</div>
                
                	<table id="" class="display" width="100%">
                		<thead style="width: 100%;">
                		<tr>
                			<td class="td_list1"></td>
                			<td class="td_list1">#</td>
                			<td class="td_list1">Income Name</td>
                			<td class="td_list1">Ammount</td>
                            <td class="td_list1">Notes</td>
                			<td class="td_list1">Date</td>
                            <td class="td_list1">Add By</td>
                			<td class="td_list1">Action</td>
                			
                		</tr>
                	</thead>
                	<tbody>
                		<?php 

						$info=$account->income_list();
                		foreach ($info as $key => $value) {
                            $id=$value['id'];
                		 ?>
 
						<tr>
							<td class="td_list2"></td>
                			<td class="td_list2"><?php echo $value['id']; ?></td>
                			<td class="td_list2">
                                <?php echo $value['name']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['amount']; ?>    
                            </td>
                            <td class="td_list2">
                                <?php echo $value['notes']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['date']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['user']; ?>   
                            </td>
                            <td class="td_list2">
                                <button class="btn btn-primary btn-xs" style="margin-right: 4px;" title="Update" data-title="Update" onclick="get_income_form('update',<?php echo "$id"; ?>)" >
                                <span class="glyphicon glyphicon-pencil"></span>
                                </button>
                                <button class="btn btn-danger btn-xs" title="Delete" data-title="Delete" onclick="get_income_form('delete',<?php echo "$id"; ?>)" ><span class="glyphicon glyphicon-trash"></span></button>
                            </td>
                			
                		</tr>
                		<?php } ?>
                		</tbody>
                	</table>
                </div>
            </div>
        </div>
        
    </div>  

    <style type="text/css">
    thead{
        background-color: #EFF0F2;
        border-width: 0px;
    }
    .td_list1{
        background-color: #EFF0F2;
        color: #000000;
        padding: 10px;
        font-weight: bold;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
    .td_list2{
        background-color: #ffffff;
        color: #000000;
        padding: 8px;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
</style>

================================================
FILE: page/account/js/expence.js
================================================

url="account_action.php";
modal_body="modal_sm_body";
modal="sm";

var action_data={
    'url':url,
    'div':modal_body,
    'load':0
};
 
function get_expence_form(type,id=0){
  if(type=="insert"){
    header="Add Expence";
    data_key="get_expence_form";
    val=1;
  }
  else if(type=="update"){
    header="Update Expence";
    data_key="update_expence_form";
    val=id;
  }
  else{
    header="Delete Expence";
    data_key="delete_expence_form";
    val=id;
  }

  modal_open(modal,header);
  loader(modal_body);

  var data={
    [data_key]:val
  }

  get_ajax(action_data,data);
}


function expence_action(type,id=0){
  
  delete_type=0;
  if(type=="insert"){
    data_key="insert_expence";
    val=0;
  }
  else if(type=="update"){
    data_key="update_expence";
    val=id;
  }
  else{
    data_key="delete_expence";
    val=id;
    delete_type=1;
  }

  if(delete_type==0){
    var data_val={
        'id':val,
        'name':get_value("expence_name"),
        'amount':get_value("amount"),
        'notes':get_value("note")
    }
    error=filter_data(data_val);
  }
  else{
    var data_val={
      'id':val
    }
    error=0;
  }
    
    var data={
        [data_key]:data_val
    }
    
    if(error==0){
         action_data['load']=1;
         loader(modal_body);
         get_ajax(action_data,data);
    }
}




function filter_data(data){
    expence_category=data['name'];
    ammount=data['amount'];
    error=0;
    if(expence_name==""){
        alert("Enter Expence Name");
        error=1;
    }
    else if(ammount==""){
        alert("Enter Expence Ammount");
        error=1;
    }
    return error;
}


================================================
FILE: page/account/js/income.js
================================================

url="account_action.php";
modal_body="modal_sm_body";
modal="sm";

var action_data={
    'url':url,
    'div':modal_body,
    'load':0
};
 
function get_income_form(type,id=0){
  if(type=="insert"){
    header="Add income";
    data_key="get_income_form";
    val=1;
  }
  else if(type=="update"){
    header="Update income";
    data_key="update_income_form";
    val=id;
  }
  else{
    header="Delete income";
    data_key="delete_income_form";
    val=id;
  }

  modal_open(modal,header);
  loader(modal_body);

  var data={
    [data_key]:val
  }

  get_ajax(action_data,data);
}


function income_action(type,id=0){
  
  delete_type=0;
  if(type=="insert"){
    data_key="insert_income";
    val=0;
  }
  else if(type=="update"){
    data_key="update_income";
    val=id;
  }
  else{
    data_key="delete_income";
    val=id;
    delete_type=1;
  }

  if(delete_type==0){
    var data_val={
        'id':val,
        'name':get_value("income_name"),
        'amount':get_value("amount"),
        'notes':get_value("note")
    }
    error=filter_data(data_val);
  }
  else{
    var data_val={
      'id':val
    }
    error=0;
  }
    
    var data={
        [data_key]:data_val
    }
    
    if(error==0){
         action_data['load']=1;
         loader(modal_body);
         get_ajax(action_data,data);
    }
}




function filter_data(data){
    income_category=data['name'];
    ammount=data['amount'];
    error=0;
    if(income_name==""){
        alert("Enter income Name");
        error=1;
    }
    else if(ammount==""){
        alert("Enter income Ammount");
        error=1;
    }
    return error;
}


================================================
FILE: page/api/api.php
================================================
<?php

session_start(); 


include "config/config.php";

include 'script/program/program.php';
include "script/site_content/site_content.php";
include "script/payment/set_payment.php";
include 'script/student/student.php';
include 'script/batch/batch.php';
include 'script/subject/subject.php'; 
include 'script/sms/sms.php';


$site_key="12345";
$data=array();
$info=array();
$data['error']=1;
$key=(isset($_GET['key']))?$_GET['key']:"";
$type=(isset($_GET['type']))?$_GET['type']:"";


if($key==$site_key){
	if($type=="student_info"){
		if(isset($_GET['student_id'])){
			$student_ob=new student();
		    $student_list=$student_ob->get_student_info();
		    $student_id=$_GET['student_id'];
		    if(isset($student_list[$student_id])){
		    	$info=$student_list[$student_id];
		    	$data['error']=0;
		    }   
		}
	}
	
	else if($type=="check_login"){
		
		$info['login_id']=-1;
		if( isset($_SESSION['student_login'])!="" ){
             $info['login_id']=$_SESSION['student_login'];
             $data['error']=0;
		}
	}

	else if($type="send_sms"){
		$data['error']=0;
		$info['sms']="hello bangladesh";
	}
	else if($type=="post_sms"){
		$data['error']=0;
		$val=$_GET['data'];
		$info=$val;
	}

}



	$data['data']=$info;
	$data=json_encode($data);
	echo "$data";
	


?>

================================================
FILE: page/attend/attend.php
================================================


<script src="page/attend/js/attend.js"></script>
<?php 
$date=date("Y-m-d",strtotime($db->date()));
?>
 <div class="row">
    
        <div class="dropdown" style="">
          
          <div class="col-md-3">
            <select onchange="select_program()" class="select" id="program_select" name="options">
                <option value="-1">Select Program</option>
                <?php $program_ob->select_program(); ?>
            </select>
          </div>

          <div class="col-md-3" id="batch_select">
            <select class="select" id="batch_select_id">
                <option value="-1">Select Batch</option>
            </select>
            <br/>
            <div id='loader_select'></div>
          </div>
          <div class="col-md-3">
              <input type="date" id="attend_date" value="<?php echo "$date"; ?>" class="input_date" name="">
          </div> 
          <div class="col-md-3">
            <button class="btn_select" onclick="attend_panel()">Attendence Panel</button>
          </div>
    </div> 
</div>

<div id="res" style="margin-top: 15px"></div>
<div id="attend_reportt" style="margin-top: 15px"></div>

<style type="text/css">
    .btn_attend{
        padding: 20px;
        font-size: 20px;
        background-color: var(--bg-color);
        color: var(--font-color);
        border-width: 0px;
    }
    .btn_attend:hover{
       font-size: 21px;
       padding: 19px;
    }
    .btn_area{
       align-content: center;
       margin-top: 10px;
    }

 .select {
  position: relative;
  display: block;
  height: 3.4em;
 
  width: 100%;
  padding: 10px;
  background: var(--bg-color);
  color: var(--font-color);
  overflow: hidden;
  border-radius: .25em;
  display: inline-block;
  display: -webkit-inline-box;
  border: 1px solid #667780;
  margin: 0.5em 0em 1em 0em;
}

.select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 1em;
  background: #34495e;
  pointer-events: none;
}
.select:hover::after {
  color: #f39c12;
}
.select::after {
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}

.img{
    height: 40px;
    width: 30px;
}

.btn_select{
  position: relative;
  display: block;
  height: 3.5em;
 
  width: 100%;
  padding: 10px;
  background: var(--bg-color);
  color: var(--font-color);
  overflow: hidden;
  border-radius: .25em;
  display: inline-block;
  display: -webkit-inline-box;
  border: 1px solid #667780;
  margin: 0.5em 0em 1em 0em;
}
.input_date{
    width: 100%;
    background-color: var(--bg-color);
    color: var(--font-color);
    margin: 0.5em 0em 1em 0em;
    height: 3.5em;
    padding: 10px;
    border-width: 0px;
    border-radius: .25em;
}

.top-alert { 
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 100000;
  left: 0;
  padding: 50px;
  display: inline-block;
  text-align: center;
}
.top-alert .alert {
  width: auto !important;
  height: 100%;
  display: inline;
  position: relative;
  margin: 0;
}
.top-alert .alert .close {
  position: absolute;
  top: 11px;
  right: 10px;
  color: inherit;
}

.alert-purple { border-color: #694D9F;background: #694D9F;color: #fff; }
.alert-info-alt { border-color: #B4E1E4;background: #81c7e1;color: #fff; }
.alert-danger-alt { border-color: #B63E5A;background: #E26868;color: #fff; }
.alert-warning-alt { border-color: #F3F3EB;background: #E9CEAC;color: #fff; }
.alert-success-alt { 
  border-color: #19B99A;
  background: #20A286;
  color: #fff; 
  padding: 20px;
  float: right;
  border-radius: 15px;
}

.alert a {color: gold;}


</style>

================================================
FILE: page/attend/extra.php
================================================

$url="https://www.jqueryscript.net/demo/Exporting-Html-Tables-To-CSV-XLS-XLSX-Text-TableExport/";

?>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery TableExport Basic Demo</title>
<link href="https://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">



<table class="table table-striped table-bordered"
                                   data-name="cool-table">
                                <thead>
                             <tr>
                                 <td style="width: 180px;">Student Management System</td>
                             </tr>
                                <tr>
                                    <th style="padding: 15px; background-color: #000000">Rank</th>
                                    <th>Country</th>
                                    <th>Population</th>
                                    <th>% of world population</th>
                                    <th>Date</th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php for($i=0; $i<30; $i++){ ?>    
                                <tr>
                                    <td><?php echo "$i"; ?></td>
                                    <td>Hamza</td>
                                    <td>1,370,570,000</td>
                                    <td>18.9%</td>
                                    <td>June 24, 2015</td>
                                </tr>
                                
                            <?php } ?>
                                </tbody>
                            </table>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="<?php echo $url; ?>FileSaver.min.js"></script>
<script src="<?php echo $url; ?>Blob.min.js"></script>
<script src="<?php echo $url; ?>xls.core.min.js"></script>

<script src="<?php echo $url; ?>dist/js/tableexport.js"></script>
<script>
  $("table").tableExport({formats: ["xlsx","xls", "csv", "txt"],    });
</script>


================================================
FILE: page/attend/js/attend.js
================================================

url = "attend_action.php";
modal_body = "modal_lg_body";
modal = "lg";

var program_id,batch_id,date;
 
function get_action_data(_div = modal_body, _load = 0, _url = url) {
    var data = {
        'url': _url,
        'div': _div,
        'load': 0
    }
    return data;
}


function attend_panel(){
   pid=get_value("program_select");
   bid=get_value("batch_select_id");
   date=get_value("attend_date");
   error="";
   if(pid==-1)error="Select Program";
   else if(bid==-1 || bid=="")error="Select Batch";
   else if(date=="")error="Select Date";
   if(error!=""){
   	alert(error);
   	return;
   }
   
   program_id=pid;
   batch_id=bid;

   var data1 = {
   	 "program_id": program_id,
   	 "batch_id": batch_id,
   	 "date": date
   }

   var data = {
        "attend_panel":data1
    }
    //modal_open(modal, "Payment");
    loader("res");
     $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
           set_html("res",response);
           take_attend();
        }
    });
    
}


function take_attend(){
    var data1 = {
      "program_id": program_id,
      "batch_id": batch_id,
      "date": date
    }

   var data = {
        "take_attend":data1
    }

    loader("take_attend");
    get_ajax(get_action_data("take_attend"), data);
}

function attend_report(status=2){
    var data1 = {
      "program_id": program_id,
      "batch_id": batch_id,
      "date": date,
      "status": status
    }

   var data = {
        "attend_report":data1
    }

    loader("attend_report");
    get_ajax(get_action_data("attend_report"), data);
}

function attend_sms(){
  var data1 = {
      "program_id": program_id,
      "batch_id": batch_id,
      "date": date
    }

   var data = {
        "attend_sms":data1
    }

    loader("attend_sms");
    get_ajax(get_action_data("attend_sms"), data);
}

function send_attend_sms(){
  type=get_value("attend_type");
  receiver=get_value("select_receiver");
  error="";
  if(type==-1){
     error="Please Select Attendence Type";
  }
  else if(receiver==-1){
        error="Please Select Receiver";
  }

  if(error!=""){
    alert(error);
    return;
  }

  var data1 = {
      "program_id": program_id,
      "batch_id": batch_id,
      "date": date,
      "type": type,
      "receiver": receiver
    }

   var data = {
        "send_attend_sms":data1
    }

    loader("attend_sms");
    get_ajax(get_action_data("attend_sms"), data);
}


function select_program(){
	program_id=get_value("program_select");
	
	var data = {
        "select_program": program_id
    }

    loader("loader_select",40);

    $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
           set_html("loader_select","");
           set_html("batch_select_id",response);
        }
    });
}





function save_attend(info){
    
   var arr=[];

    $(':radio').each(function () {
            var myval = $(this).val();

            name=$(this).attr('name');
            student_id = name.split(/(\d+)/);
            student_id=parseInt(student_id[1]);
            val=$("input:radio[name='"+name+"']:checked").val();
            arr[student_id]=val;
        });
        

        var attend_list=[];
        for (var student_id in arr) {
    		var status = arr[student_id];
            if(!status){
            	alert("Please Select Student " + student_id);
            	return;
            }
            attend_list.push({student_id,status});
		}
        
        var data1={
        	"program_id": info.program_id,
          "batch_id": info.batch_id,
        	"date": info.date,
        	"student_list":attend_list
        }

        var data = {
          "save_attend": data1
    	}
        loader("take_attend");
        $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
        	success("Successfully Taken Student Attendence");
          take_attend();
        }
    });

}

function p(val){
	console.log(val);
}


================================================
FILE: page/batch/batch_list.php
================================================

<script type="text/javascript" src="page/batch/batch_script.js"></script>


<div class="row">
<div class="col-md-12">
<center>
<div class="btn-toolbar list-toolbar">
    

    <button class="btn btn-primary" data-title="Add Batch"  onclick="get_batch_form('insert')"><i class="fa fa-plus"></i> Add Batch</button>
    
</div>
</center>
<table id="datatable" class="table table-striped table-bordered" cellspacing="0" width="100%"> 
            <thead>
            <tr>
              <th></th>
              <th><center>Batch Name</center></th>
              <th><center>Batch Start</center></th>
              <th><center>Batch End</center></th>
               <th><center>Batch Day</center></th>
              <th><center>Action</center></th>
              
            </tr>
          </thead>
          <tbody>

<?php 

foreach ($batch as $key => $value) {
  $name=$value['name'];
  $start=$value['start'];
  $end=$value['end'];
  $batch_day=$value['day_string'];
  $id=$value['id'];
  $day=$value['day'];
?>
            <tr>
              <td width="5px;"></td>
              <td><center><?php echo "$name"; ?></center></td>
              <td><center><?php echo "$start"; ?></center></td>
              <td><center><?php echo "$end"; ?></center></td>
              <td><center><?php echo "$batch_day"; ?></center></td>
              <td><div class="btn-toolbar list-toolbar"><center>

                <button class="btn btn-primary btn-xs" style="margin-right: 4px;" title="Edit" data-title="Edit" ><span class="glyphicon glyphicon-pencil" onclick="get_batch_form('update',<?php echo "$id"; ?>)"></span></button>
                <button class="btn btn-danger btn-xs" title="Delete" data-title="Delete" onclick="get_batch_form('delete',<?php echo "$id"; ?>)" ><span class="glyphicon glyphicon-trash"></span></button></center></div></td>
            </tr>

<?php } ?>
          </tbody>
        </table>

</div>
</div>

================================================
FILE: page/batch/batch_script.js
================================================
url = "batch_action.php";
modal_body = "modal_md_body";
modal = "md";

var action_data = {
    'url': url,
    'div': modal_body,
    'load': 0
};

function get_batch_form(type, id = 0) {
    if (type == "insert") {
        header = "Add Batch";
        data_key = "add_batch_form";
        val = 1;
    } else if (type == "update") {
        header = "Update Batch";
        data_key = "update_batch_form";
        val = id;
    } else {
        header = "Delete Batch";
        data_key = "delete_batch_form";
        val = id;
    }

    modal_open(modal, header);
    loader(modal_body);

    var data = {
        [data_key]: val
    }

    get_ajax(action_data, data);
}


function batch_action(type, id = 0) {

    delete_type = 0;
    if (type == "insert") {
        data_key = "insert_batch";
        val = 0;
    } else if (type == "update") {
        data_key = "update_batch";
        val = id;
    } else {
        data_key = "delete_batch";
        val = id;
        delete_type = 1;
    }

    if (delete_type == 0) {
        data_val = get_data();
        error = filter_data(data_val);
    } else {
        var data_val = {
            'id': val
        }
        error = 0;
    }

    var data = {
        [data_key]: data_val
    }

    if (error == 0) {
        action_data['load'] = 1;
        loader(modal_body);
        get_ajax(action_data, data);
    }
}


function get_data() {
    var data_val = {
        'id': val,
        'name': get_value("batch_name"),
        'start': get_value("batch_start"),
        'end': get_value("batch_end"),
        'day':get_checkbox_value('batch_day[]')
    }

    return data_val;
}

function filter_data(data) {
    name = data['name'];
    start = data['start'];
    end = data['end'];

    error = 0;
    if (name == "") {
        alert("Enter Batch Name");
        error = 1;
    } else if (start == "") {
        alert("Enter Batch Start Time");
        error = 1;
    } else if (end == "") {
        alert("Enter Batch End Time");
        error = 1;
    }
    return error;
}

================================================
FILE: page/chat/chat.php
================================================

<link rel="stylesheet" type="text/css" href="page/chat/css/style.css">
 
<div class="row bootstrap snippets">
 <div class="col-md-4">
      <!-- DIRECT CHAT SUCCESS -->
      <div class="box box-success direct-chat direct-chat-success">
       
        <!-- /.box-header -->
        <div class="box-body">
          <!-- Conversations are loaded here -->
          <div class="direct-chat-messages">
            <!-- Message. Default to the left -->
            <div class="direct-chat-msg">
              <div class="direct-chat-info clearfix">
                <span class="direct-chat-name pull-left">Alexander Pierce</span>
                <span class="direct-chat-timestamp pull-right">23 Jan 2:00 pm</span>
              </div>
              <!-- /.direct-chat-info -->
              <img class="direct-chat-img" src="https://bootdey.com/img/Content/user_1.jpg" alt="Message User Image"><!-- /.direct-chat-img -->
              <div class="direct-chat-text">
                Is this template really for free? That's unbelievable!
              </div>
              <!-- /.direct-chat-text -->
            </div>
            <!-- /.direct-chat-msg -->
    
            <!-- Message to the right -->
            <div class="direct-chat-msg right">
              <div class="direct-chat-info clearfix">
                <span class="direct-chat-name pull-right">Sarah Bullock</span>
                <span class="direct-chat-timestamp pull-left">23 Jan 2:05 pm</span>
              </div>
              <!-- /.direct-chat-info -->
              <img class="direct-chat-img" src="https://bootdey.com/img/Content/user_2.jpg" alt="Message User Image"><!-- /.direct-chat-img -->
              <div class="direct-chat-text">
                <?php for($i=0; $i<50; $i++){ ?>
                    Hello Word
                <?php } ?>    
              </div>
              <!-- /.direct-chat-text -->
            </div>
            <!-- /.direct-chat-msg -->


          </div>
          <!--/.direct-chat-messages-->
    
          <!-- Contacts are loaded here -->
          <div class="direct-chat-contacts">
            <ul class="contacts-list">
              <li>
                <a href="#">
                  <img class="contacts-list-img" src="https://bootdey.com/img/Content/user_1.jpg">
    
                  <div class="contacts-list-info">
                        <span class="contacts-list-name">
                          Count Dracula
                          <small class="contacts-list-date pull-right">2/28/2015</small>
                        </span>
                    <span class="contacts-list-msg">How have you been? I was...</span>
                  </div>
                  <!-- /.contacts-list-info -->
                </a>
              </li>
              <!-- End Contact Item -->
            </ul>
            <!-- /.contatcts-list -->
          </div>
          <!-- /.direct-chat-pane -->
        </div>
        <!-- /.box-body -->
        <div class="box-footer">
          <form action="#" method="post">
            <div class="input-group">
              <input type="text" name="message" placeholder="Type Message ..." class="form-control">
                  <span class="input-group-btn">
                    <button type="submit" class="btn btn-success btn-flat">Send</button>
                  </span>
            </div>
          </form>
        </div>
        <!-- /.box-footer-->
      </div>
      <!--/.direct-chat -->
    </div>

</div>

================================================
FILE: page/chat/css/style.css
================================================
.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%; 
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.box.box-primary {
    border-top-color: #3c8dbc;
}
.box.box-info {
    border-top-color: #00c0ef;
}
.box.box-danger {
    border-top-color: #dd4b39;
}
.box.box-warning {
    border-top-color: #f39c12;
}
.box.box-success {
    border-top-color: #00a65a;
}
.box.box-default {
    border-top-color: #d2d6de;
}
.box.collapsed-box .box-body, .box.collapsed-box .box-footer {
    display: none;
}
.box .nav-stacked>li {
    border-bottom: 1px solid #f4f4f4;
    margin: 0;
}
.box .nav-stacked>li:last-of-type {
    border-bottom: none;
}
.box.height-control .box-body {
    max-height: 300px;
    overflow: auto;
}
.box .border-right {
    border-right: 1px solid #f4f4f4;
}
.box .border-left {
    border-left: 1px solid #f4f4f4;
}
.box.box-solid {
    border-top: 0;
}
.box.box-solid>.box-header .btn.btn-default {
    background: transparent;
}
.box.box-solid>.box-header .btn:hover, .box.box-solid>.box-header a:hover {
    background: rgba(0, 0, 0, 0.1);
}
.box.box-solid.box-default {
    border: 1px solid #d2d6de;
}
.box.box-solid.box-default>.box-header {
    color: #444;
    background: #d2d6de;
    background-color: #d2d6de;
}
.box.box-solid.box-default>.box-header a, .box.box-solid.box-default>.box-header .btn {
    color: #444;
}
.box.box-solid.box-primary {
    border: 1px solid #3c8dbc;
}
.box.box-solid.box-primary>.box-header {
    color: #fff;
    background: #3c8dbc;
    background-color: #3c8dbc;
}
.box.box-solid.box-primary>.box-header a, .box.box-solid.box-primary>.box-header .btn {
    color: #fff;
}
.box.box-solid.box-info {
    border: 1px solid #00c0ef;
}
.box.box-solid.box-info>.box-header {
    color: #fff;
    background: #00c0ef;
    background-color: #00c0ef;
}
.box.box-solid.box-info>.box-header a, .box.box-solid.box-info>.box-header .btn {
    color: #fff;
}
.box.box-solid.box-danger {
    border: 1px solid #dd4b39;
}
.box.box-solid.box-danger>.box-header {
    color: #fff;
    background: #dd4b39;
    background-color: #dd4b39;
}
.box.box-solid.box-danger>.box-header a, .box.box-solid.box-danger>.box-header .btn {
    color: #fff;
}
.box.box-solid.box-warning {
    border: 1px solid #f39c12;
}
.box.box-solid.box-warning>.box-header {
    color: #fff;
    background: #f39c12;
    background-color: #f39c12;
}
.box.box-solid.box-warning>.box-header a, .box.box-solid.box-warning>.box-header .btn {
    color: #fff;
}
.box.box-solid.box-success {
    border: 1px solid #00a65a;
}
.box.box-solid.box-success>.box-header {
    color: #fff;
    background: #00a65a;
    background-color: #00a65a;
}
.box.box-solid.box-success>.box-header a, .box.box-solid.box-success>.box-header .btn {
    color: #fff;
}
.box.box-solid>.box-header>.box-tools .btn {
    border: 0;
    box-shadow: none;
}
.box.box-solid[class*='bg']>.box-header {
    color: #fff;
}
.box .box-group>.box {
    margin-bottom: 5px;
}
.box .knob-label {
    text-align: center;
    color: #333;
    font-weight: 100;
    font-size: 12px;
    margin-bottom: 0.3em;
}
.box>.overlay, .overlay-wrapper>.overlay, .box>.loading-img, .overlay-wrapper>.loading-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%}
.box .overlay, .overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}
.box .overlay>.fa, .overlay-wrapper .overlay>.fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}
.box .overlay.dark, .overlay-wrapper .overlay.dark {
    background: rgba(0, 0, 0, 0.5);
}
.box-header:before, .box-body:before, .box-footer:before, .box-header:after, .box-body:after, .box-footer:after {
    content: " ";
    display: table;
}
.box-header:after, .box-body:after, .box-footer:after {
    clear: both;
}
.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}
.box-header.with-border {
    border-bottom: 1px solid #f4f4f4;
}
.collapsed-box .box-header.with-border {
    border-bottom: none;
}
.box-header>.fa, .box-header>.glyphicon, .box-header>.ion, .box-header .box-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}
.box-header>.fa, .box-header>.glyphicon, .box-header>.ion {
    margin-right: 5px;
}
.box-header>.box-tools {
    position: absolute;
    right: 10px;
    top: 5px;
}
.box-header>.box-tools [data-toggle="tooltip"] {
    position: relative;
}
.box-header>.box-tools.pull-right .dropdown-menu {
    right: 0;
    left: auto;
}
.btn-box-tool {
    padding: 5px;
    font-size: 12px;
    background: transparent;
    color: #97a0b3;
}
.open .btn-box-tool, .btn-box-tool:hover {
    color: #606c84;
}
.btn-box-tool.btn:active {
    box-shadow: none;
}
.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}
.no-header .box-body {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.box-body>.table {
    margin-bottom: 0;
}
.box-body .fc {
    margin-top: 5px;
}
.box-body .full-width-chart {
    margin: -19px;
}
.box-body.no-padding .full-width-chart {
    margin: -9px;
}
.box-body .box-pane {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 3px;
}
.box-body .box-pane-right {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 0;
}
.box-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top: 1px solid #f4f4f4;
    padding: 10px;
    background-color: #fff;
}
.direct-chat .box-body {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    position: relative;
    overflow-x: hidden;
    padding: 0;
}
.direct-chat.chat-pane-open .direct-chat-contacts {
    -webkit-transform: translate(0,  0);
    -ms-transform: translate(0,  0);
    -o-transform: translate(0,  0);
    transform: translate(0,  0);
}
.direct-chat-messages {
    -webkit-transform: translate(0,  0);
    -ms-transform: translate(0,  0);
    -o-transform: translate(0,  0);
    transform: translate(0,  0);
    padding: 10px;
    height: 350px;
    overflow: auto;
}
.direct-chat-msg, .direct-chat-text {
    display: block;
}
.direct-chat-msg {
    margin-bottom: 10px;
}
.direct-chat-msg:before, .direct-chat-msg:after {
    content: " ";
    display: table;
}
.direct-chat-msg:after {
    clear: both;
}
.direct-chat-messages, .direct-chat-contacts {
    -webkit-transition: -webkit-transform .5s ease-in-out;
    -moz-transition: -moz-transform .5s ease-in-out;
    -o-transition: -o-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
}
.direct-chat-text {
    border-radius: 5px;
    position: relative;
    padding: 5px 10px;
    background: #d2d6de;
    border: 1px solid #d2d6de;
    margin: 5px 0 0 50px;
    color: #444;
}
.direct-chat-text:after, .direct-chat-text:before {
    position: absolute;
    right: 100%;
    top: 15px;
    border: solid transparent;
    border-right-color: #d2d6de;
    content: ' ';
    height: 0;
    width: 0;
    pointer-events: none;
}
.direct-chat-text:after {
    border-width: 5px;
    margin-top: -5px;
}
.direct-chat-text:before {
    border-width: 6px;
    margin-top: -6px;
}
.right .direct-chat-text {
    margin-right: 50px;
    margin-left: 0;
}
.right .direct-chat-text:after, .right .direct-chat-text:before {
    right: auto;
    left: 100%;
    border-right-color: transparent;
    border-left-color: #d2d6de;
}
.direct-chat-img {
    border-radius: 50%;
    float: left;
    width: 40px;
    height: 40px;
}
.right .direct-chat-img {
    float: right;
}
.direct-chat-info {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
}
.direct-chat-name {
    font-weight: 600;
}
.direct-chat-timestamp {
    color: #999;
}
.direct-chat-contacts-open .direct-chat-contacts {
    -webkit-transform: translate(0,  0);
    -ms-transform: translate(0,  0);
    -o-transform: translate(0,  0);
    transform: translate(0,  0);
}
.direct-chat-contacts {
    -webkit-transform: translate(101%,  0);
    -ms-transform: translate(101%,  0);
    -o-transform: translate(101%,  0);
    transform: translate(101%,  0);
    position: absolute;
    top: 0;
    bottom: 0;
    height: 250px;
    width: 100%;
    background: #222d32;
    color: #fff;
    overflow: auto;
}
.contacts-list>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin: 0;
}
.contacts-list>li:before, .contacts-list>li:after {
    content: " ";
    display: table;
}
.contacts-list>li:after {
    clear: both;
}
.contacts-list>li:last-of-type {
    border-bottom: none;
}
.contacts-list-img {
    border-radius: 50%;
    width: 40px;
    float: left;
}
.contacts-list-info {
    margin-left: 45px;
    color: #fff;
}
.contacts-list-name, .contacts-list-status {
    display: block;
}
.contacts-list-name {
    font-weight: 600;
}
.contacts-list-status {
    font-size: 12px;
}
.contacts-list-date {
    color: #aaa;
    font-weight: normal;
}
.contacts-list-msg {
    color: #999;
}
.direct-chat-danger .right>.direct-chat-text {
    background: #dd4b39;
    border-color: #dd4b39;
    color: #fff;
}
.direct-chat-danger .right>.direct-chat-text:after, .direct-chat-danger .right>.direct-chat-text:before {
    border-left-color: #dd4b39;
}
.direct-chat-primary .right>.direct-chat-text {
    background: #3c8dbc;
    border-color: #3c8dbc;
    color: #fff;
}
.direct-chat-primary .right>.direct-chat-text:after, .direct-chat-primary .right>.direct-chat-text:before {
    border-left-color: #3c8dbc;
}
.direct-chat-warning .right>.direct-chat-text {
    background: #f39c12;
    border-color: #f39c12;
    color: #fff;
}
.direct-chat-warning .right>.direct-chat-text:after, .direct-chat-warning .right>.direct-chat-text:before {
    border-left-color: #f39c12;
}
.direct-chat-info .right>.direct-chat-text {
    background: #00c0ef;
    border-color: #00c0ef;
    color: #fff;
}
.direct-chat-info .right>.direct-chat-text:after, .direct-chat-info .right>.direct-chat-text:before {
    border-left-color: #00c0ef;
}
.direct-chat-success .right>.direct-chat-text {
    background: #00a65a;
    border-color: #00a65a;
    color: #fff;
}
.direct-chat-success .right>.direct-chat-text:after, .direct-chat-success .right>.direct-chat-text:before {
    border-left-color: #00a65a;
}

================================================
FILE: page/editor/css/sms_editor.css
================================================
.editor_box{
	border-top-width: 0px;
	border-color: #000000;
	border-style: solid;
	border-bottom-width: 0px;
}
.editor_header{
	padding: 10px;
	background-color: #595959;
}

.editor_area{
	
	height: 190px;
	width: 100%;
	resize: vertical;
	padding: 12px;
	background-color: #E2DEDE;
	color: #000000;
	font-family: cursive;
	border-width: 1px;
	border-color: #B7B7B7;
	border-style: solid;
	font-size: 16px;
	font-weight: bold;
}



.btn-group .dropdown-menu a{
    color:#fff;
}

.btn-default .dropdown-menu {
  color: #000 !important;
}
.btn-default .dropdown-menu li > a:hover,
.btn-default .dropdown-menu li > a:focus {
  background-color: #000 !important;
  color:#fff !important;
}
.btn-group-primary .dropdown-menu {
  background-color: #3784c5 !important;
}
.btn-group-primary .dropdown-menu li > a:hover,
.btn-group-primary .dropdown-menu li > a:focus {
  background-color: #428bca !important;
}
.btn-group-success .dropdown-menu {
  background-color: #51b351 !important;
}
.btn-group-success .dropdown-menu li > a:hover,
.btn-group-success .dropdown-menu li > a:focus {
  background-color: #5cb85c !important;
}
.btn-group-info .dropdown-menu {
  background-color: #4ebbdb !important;
}
.btn-group-info .dropdown-menu li > a:hover,
.btn-group-info .dropdown-menu li > a:focus {
  background-color: #5bc0de !important;
}
.btn-group-warning .dropdown-menu {
  background-color: #efa640 !important;
}
.btn-group-warning .dropdown-menu li > a:hover,
.btn-group-warning .dropdown-menu li > a:focus {
  background-color: #f0ad4e !important;
}
.btn-group-danger .dropdown-menu {
  background-color: #d64742 !important;
}
.btn-group-danger .dropdown-menu li > a:hover,
.btn-group-danger .dropdown-menu li > a:focus {
  background-color: #d9534f !important;



================================================
FILE: page/editor/js/sms_editor.js
================================================
function select(className){

    clear(className);
    title=title_name(className);
    set_header_title(title);
    ajax_enjin(className);

  }

  function ajax_enjin(className){

        $.ajax({
        type: 'POST',
        url: 'student_profile_action.php',
        data: {
            test: className
        },
        beforeSend: function() {
          //document.getElementById("result").innerHTML="Submitting";
        },
        success: function(response) {
           //alert("Yay!");
            document.getElementById("panel_body").innerHTML=response; 
        }
    });

  }



  function clear(className){
  	document.getElementById("exam").className="";
    document.getElementById("personal").className = "";
    document.getElementById("payment").className = "";
    document.getElementById("attends").className = "";
    document.getElementById(className).className = "active";
  }

  function set_header_title(title){
     document.getElementById("panel_title").innerHTML=title;

  }

  function title_name(className){
  	title="";
  	if(className=="exam")title="Exam Result";
  	else if(className=="personal")title="Personal Information";
  	return title;
  }

  function key(){
  	//alert("sdaf");
  	per=document.getElementById("select_level").value;
    var country = document.getElementById("select_level");
    country.options[country.options.selectedIndex].selected = false;

  	text=document.getElementById("editor").value;

  	var myElement = document.getElementById('editor');
    var startPosition = myElement.selectionStart;
    var endPosition = myElement.selectionEnd;

    var text1 = text.substring(0, startPosition);

    len=text.length;
    var text2= text.substring(startPosition, len);

    
    len1=text1+per;
    len1=len1.length;
  	text=text1+per+text2;
    document.getElementById("editor").value=text;

    setCaretToPos(myElement, len1);
    count_len();

  }

  function count_len(){
    
  	text=document.getElementById("editor").value;
  	len=text.length;
  	document.getElementById("len").innerHTML=len;
  }

  function test(){
  	alert("sdaf");
  }


  function setSelectionRange(input, selectionStart, selectionEnd) {
  if (input.setSelectionRange) {
    input.focus();
    input.setSelectionRange(selectionStart, selectionEnd);
  }
  else if (input.createTextRange) {
    var range = input.createTextRange();
    range.collapse(true);
    range.moveEnd('character', selectionEnd);
    range.moveStart('character', selectionStart);
    range.select();
  }
}

function setCaretToPos (input, pos) {
  setSelectionRange(input, pos, pos);
}

function loader1(divname){
  document.getElementById(divname).innerHTML = "<img src='https://public.udvash.com/Content/Image/ajax-loader.gif' />";
}
function close_loader(divname){
  document.getElementById(divname).innerHTML = "Sucess";
}

================================================
FILE: page/editor/sms_editor.php
================================================

<script type="text/javascript" src="page/editor/js/sms_editor.js"></script>
<link rel="stylesheet" type="text/css" href="page/editor/css/sms_editor.css">

  <div class="editor_boxx">
  <div class="editor_header">


 <select class="form-control" style="background: #424242; color: #ffffff" id="select_level" onchange="key()" style="" >
  <option value="" selected="">Select Action</option>
  <?php $sms->get_syntext(); ?>
</select>

 
  </div>
  <div class="editor_body">
  
  <textarea id="editor" onkeyup="count_len()" class="editor_area" rows="7" cols="7" placeholder=""></textarea>
  </div>
  <div id="sms_res" style="color: #000000"></div>
</div>



================================================
FILE: page/exam/add_exam.php
================================================

  <div class="row">
      <div class="col-xs-12 col-sm-12">  
          <form  action="exam_action.php" autocomplete="off" method="POST">
     
<div class='form-group'>
  <label class='control-label' for='inputName'><b>Select Program</b></label>
  <div class='input-group'>
  <span class='input-group-addon'><i class='glyphicon glyphicon-exclamation-sign'></i></span> 

<select class='form-control'  name='add_program_select' id='add_program_select' class='cs-select cs-skin-border' onchange="select_program()"  required="">
  <option value="0">Select Program</option>
  <?php $program_ob->select_program(); ?>
</select>
</div></div>

<div class='form-group'>
  <label class='control-label' for='inputName'><b>Select Subject</b></label>
  <div class='input-group'>
  <span class='input-group-addon'><i class='glyphicon glyphicon-exclamation-sign'></i></span> 

<div id="subject_field">
<select class='form-control'  name='subject' id='program' class='cs-select cs-skin-border' onchange=""  required="">
  
</select>
</div>
</div></div>


  <?php

$site->form_input("Exam Name","exam_name","exam_name","text");
$site->form_input("MCQ Mark","mcq","mcq","number");
$site->form_input("Written Mark","written","written","number");
$site->form_input("Total Mark","total","total","number");
$site->form_input("Exam Date","date","date","date");

  ?>
          <button class="btn btn-lg btn-primary btn-block" name="insert" type="submit"><span class="glyphicon glyphicon-floppy-save"></span> Save</button>
        </form>
      </div>
</div>
   

 


================================================
FILE: page/exam/exam_list.php
================================================

<link rel="stylesheet" type="text/css" href="page/index/style.css">
<script type="text/javascript" src="page/exam/js/exam.js"></script>
<div class="row" style="">
      <script type="text/javascript">
        $(document).ready(function() {
           $('table.display').DataTable();
      } );
      </script>
        
 
        <div class="col-md-12">
            <div class="dashboard_box">
                <div class="box_header">Exam List</div>
                <div class="box_body">
                   <div class="pull-rightt" style="margin-top: -20px;">
            <center><button class="button" onclick="get_exam_form('insert')">+ Add Exam</button></center>
          </div>
                
                  <table id="" class="display" width="100%">
                    <thead style="width: 100%;">
                    <tr>
                      <td class="td_list1"></td>
                      <td class="td_list1">#</td>
                      <td class="td_list1">Income Name</td>
                      <td class="td_list1">Program Name</td>
                      <td class="td_list1">Subject Name</td>
                      <td class="td_list1">MCQ</td>
                      <td class="td_list1">Written</td>
                      <td class="td_list1">Total</td>
                      <td class="td_list1">Date</td>
                      <td class="td_list1">Action</td>
                      
                    </tr>
                  </thead>
                  <tbody>
                    <?php 
                    
                    foreach ($exam as $key => $value) {
                            $id=$value['id'];
                            $program_id=$value['program_id'];
                            $sub_id=$value['sub_id'];

                     ?>
 
            <tr>
              <td class="td_list2"></td>
                      <td class="td_list2"><?php echo $value['id']; ?></td>
                      <td class="td_list2">
                                <?php echo $value['exam_name']; ?>    
                            </td>
                      <td class="td_list2">
                                <?php echo $program[$program_id]['name']; ?>    
                            </td>
                            <td class="td_list2">
                                <?php echo $subject[$sub_id]['name']; ?>    
                            </td>
                      <td class="td_list2">
                                <?php echo $value['mcq']; ?>    
                            </td>
                      <td class="td_list2">
                                <?php echo $value['written']; ?>   
                            </td>
                            <td class="td_list2">
                                <?php echo $value['total']; ?>   
                            </td>
                          
                            <td class="td_list2">
                                <?php echo $value['exam_date']; ?>   
                            </td>
                            <td class="td_list2">
                                <button class="btn btn-primary btn-xs" style="margin-right: 4px;" title="Update" data-title="Update" onclick="get_exam_form('update',<?php echo "$id"; ?>)" >
                                <span class="glyphicon glyphicon-pencil"></span>
                                </button>
                                <button class="btn btn-danger btn-xs" title="Delete" data-title="Delete" onclick="get_exam_form('delete',<?php echo "$id"; ?>)" ><span class="glyphicon glyphicon-trash"></span></button>
                            </td>
                      
                    </tr>
                    <?php } ?>
                    </tbody>
                  </table>
                </div>
            </div>
        </div>
        
    </div>  

    <style type="text/css">
    thead{
        background-color: #EFF0F2;
        border-width: 0px;
    }
    .td_list1{
        background-color: #EFF0F2;
        color: #000000;
        padding: 10px;
        font-weight: bold;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
    .td_list2{
        background-color: #ffffff;
        color: #000000;
        padding: 8px;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
</style>

================================================
FILE: page/exam/exam_result.php
================================================
<script type="text/javascript" src="page/exam/js/result.js"></script>
<button onclick="fun()">fun</button>

================================================
FILE: page/exam/js/exam.js
================================================

url="exam_action.php";
modal_body="modal_md_body";
modal="md";

var action_data={
    'url':url,
    'div':modal_body,
    'load':0
};
 
function get_exam_form(type,id=0){
  if(type=="insert"){
    header="Add exam";
    data_key="get_exam_form";
    val=1;
  }
  else if(type=="update"){
    header="Update exam";
    data_key="update_exam_form";
    val=id;
  }
  else{
    header="Delete exam";
    data_key="delete_exam_form";
    val=id;
  }

  modal_open(modal,header);
  loader(modal_body);

  var data={
    [data_key]:val
  }

  get_ajax(action_data,data);
}


function exam_action(type,id=0){
  
  delete_type=0;
  if(type=="insert"){
    data_key="insert_exam";
    val=0;
  }
  else if(type=="update"){
    data_key="update_exam";
    val=parseInt(id);
  }
  else{
    data_key="delete_exam";
    val=parseInt(id);
    delete_type=1;
  }

  if(delete_type==0){
    mcq=get_value("mcq");
    written=get_value("written");
    mcq=(mcq=="")?0:mcq;
    written=(written=="")?0:written;
    total=parseInt(mcq)+parseInt(written);
    var data_val={
        'id':parseInt(id),
        'exam_name':get_value("exam_name"),
        'program_id':get_value("program_select"),
        'sub_id':get_value("select_subject"),
        'mcq':mcq,
        'written':written,
        'total':total,
        'exam_date':get_value("exam_date")
    }
    error=filter_data(data_val);
  }
  else{
    var data_val={
      'id':val
    }
    error=0;
  }
    
    var data={
        [data_key]:data_val
    }
    
    if(error==0){
         action_data['load']=1;
         loader(modal_body);
         get_ajax(action_data,data);
    }
}

function select_program(){
   id=get_value("program_select");
   var data={
      "program_select": id
   }

   $.ajax({
        type: 'POST',
        url: url,
        data:data,
        beforeSend: function() {
        },
        success: function(response) {
            set_html("select_subject",response);
        }
    });
}


function filter_data(data){
    error="";
    if(data['program_id']==-1){
      error="Please Select Program";
    }
    else if(data['sub_id']==""){
      error="Please Select Subject";
    }
    else if(data['exam_name']==""){
      error="Please Enter Exam Name";
    }
    else if(data['exam_date']==""){
      error="Please Enter Exam Date";
    }

    if(error!="")alert(error);
    return (error!="")?1:0;
}


================================================
FILE: page/exam/public_result.php
================================================


================================================
FILE: page/exam_page/exam_category/exam_category.php
================================================
<link rel="stylesheet" type="text/css" href="page/index/style.css">
<script type="text/javascript" src="page/exam_page/exam_category/js/script.js"></script>
<div class="row" style="">
    	<script type="text/javascript">
    		$(document).ready(function() {
   				 $('table.display').DataTable();
			} );
    	</script>
    	  
 
        <div class="col-md-12">
            <div class="dashboard_box">
                <div class="box_header">Exam Category List</div>
                <div class="box_body">
                	 <div class="pull-rightt" style="margin-top: -20px;">
						<center><button class="button" onclick="get_exam_form('insert')">+ Add Exam Category</button></center>
					</div>
                
                	<table id="" class="display" width="100%">
                		<thead style="width: 100%;">
                		<tr>
                			<td class="td_list1"></td>
                			<td class="td_list1">#</td>
                			<td class="td_list1">Category Name</td>
                			<td class="td_list1">Program Name</td>
                            <td class="td_list1">Added By</td>
                            <td class="td_list1">Added Date</td>
                			<td class="td_list1">Action</td>
                			
                		</tr>
                	</thead>
                	<tbody>
                		<?php 

                        $info=$exam->get_exam_category();
                		foreach ($info as $key => $value) {
                        $id=$value['id'];
                        ?>
 
						<tr>
							<td class="td_list2"></td>
                			<td class="td_list2"><?php echo $value['id']; ?></td>
                			<td class="td_list2">
                                <?php echo $value['category_name']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['program_name']; ?>    
                            </td>
                           
                			<td class="td_list2">
                                <?php echo $value['add_by']; ?>    
                            </td>
                			<td class="td_list2">
                                <?php echo $value['date']; ?>   
                            </td>
                            <td class="td_list2">
                                <button class="btn btn-primary btn-xs" style="margin-right: 4px;" title="Update" data-title="Update" onclick="get_exam_form('update',<?php echo "$id"; ?>)" >
                                <span class="glyphicon glyphicon-pencil"></span>
                                </button>
                                <button class="btn btn-danger btn-xs" title="Delete" data-title="Delete" onclick="get_exam_form('delete',<?php echo "$id"; ?>)" ><span class="glyphicon glyphicon-trash"></span></button>
                            </td>
                			
                		</tr>
                		<?php } ?>
                		</tbody>
                	</table>
                </div>
            </div>
        </div>
        
    </div>  

    <style type="text/css">
    thead{
        background-color: #EFF0F2;
        border-width: 0px;
    }
    .td_list1{
        background-color: #EFF0F2;
        color: #000000;
        padding: 10px;
        font-weight: bold;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
    .td_list2{
        background-color: #ffffff;
        color: #000000;
        padding: 8px;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
</style>

================================================
FILE: page/exam_page/exam_category/js/script.js
================================================
url="exam_category_action.php";
modal_body="modal_sm_body";
modal="sm";

 function get_action_data(_div = modal_body, _load = 0, _url = url) {
    var data = {
        'url': _url,
        'div': _div,
        'load': _load
    }
    return data;
}

function get_exam_form(type,id=0){
  if(type=="insert"){
    header="Add Exam Category";
    data_key="get_exam_category_form";
    val=1;
  }
  else if(type=="update"){
    header="Update Exam Category";
    data_key="update_exam_category_form";
    val=id;
  }
  else{
    header="Delete Exam Category";
    data_key="delete_exam_category_form";
    val=id;
  }

  modal_open(modal,header);
  loader(modal_body);

  var data={
    [data_key]:val
  }

  get_ajax(get_action_data(),data);
}


function exam_category_action(type,id=0){
  
  delete_type=0;
  if(type=="insert"){
    data_key="insert_exam_category";
    val=0;
  }
  else if(type=="update"){
    data_key="update_exam_category";
    val=id;
  }
  else{
    data_key="delete_exam_category";
    val=id;
    delete_type=1;
  }

  if(delete_type==0){
    var data_val={
        'id':val,
        'category_name':get_value("exam_category_name"),
        'program_id':get_value("select_program")
    }
    error=filter_data(data_val);
  }
  else{
    var data_val={
      'id':val
    }
    error=0;
  }
    
    var data={
        [data_key]:data_val
    }
    
    if(error==0){
         loader(modal_body);
         get_ajax(get_action_data(modal_body,1),data);
    }
}




function filter_data(data){
    exam_category=data['category_name'];
    program_id=data['program_id'];
    error=0;
    if(exam_category==""){
        alert("Enter exam_category Name");
        error=1;
    }
    else if(program_id=="" || program_id==-1){
        alert("Select Program");
        error=1;
    }
    return error;
}


================================================
FILE: page/exam_page/exam_panel/exam_panel.php
================================================
<script type="text/javascript" src="page/exam_page/exam_panel/js/exam_panel.js"></script>
<script type="text/javascript" src="page/exam_page/exam_panel/js/add_result_script.js"></script>

<center><button class="btn" style="outline: none;" onclick="view_exam_panel()">View Panel</button></center>

 <div class="row">
    
        <div class="dropdown" style="">
          <div class="col-md-2"></div>
          <div class="col-md-3">
            <select onchange="program_select()" class="select" id="program_select" name="options">
            	<option value="0">Select Program</option>
            	<?php $program_ob->select_program(); ?>
            </select>
          </div>

          <div class="col-md-3">
            <select class="select" id="exam_category_select" name="options">
            	<option value="-1">Select Exam Category</option>
            </select>
            <div id="select_loader"></div>
          </div>
          <div class="col-md-2">
          	<button class="btn_select" onclick="view_exam_panel()">View Program</button>
          </div>
    </div>
</div> 

<div style="margin-bottom: 15px;"></div>
<div id="view_exam_panel"></div>

================================================
FILE: page/exam_page/exam_panel/js/add_result_script.js
================================================

var student_row_list=[];

function add_result(){
    var data={
        "add_result": get_value("total")
    }

    loader("add_result");
    get_ajax(get_action_data("add_result"), data);
}

function check_id(row_num){
    row_name="check_"+row_num;
    student_row_id_name="student_id_"+row_num;
    
    loader(row_name,25);
    student_id=get_value(student_row_id_name);

    if(student_id==""){
        set_html(row_name,"");
        student_row_list[row_num]=0;
        return; 
    }
    student_id=parseInt(student_id);
    if(student_id<10000){
        process_check_id_response(row_name,add_result_resonse_data_make("not_found"));
        student_row_list[row_num]=0;
        return;
    }

    var data={
        'check_id': student_id
    }

    $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
            response=JSON.parse(response);
            error=response.error;
            if(error=="found")student_row_list[row_num]=1;
            else student_row_list[row_num]=0;
            process_check_id_response(row_name,add_result_resonse_data_make(error));
        }
    });
}

function process_check_id_response(row_name,response){
    style="style='color:"+response.color+"'";
    class_icon=" class='icon glyphicon glyphicon-"+response.icon+"'";
    title="title='"+response.title+"'";
    span="<span"+class_icon+style+title+"</span>"
    set_html(row_name,span); 
}

function add_result_resonse_data_make(error){
    

    
    color="green";
    icon="ok";
    title="Student ID Valid";
    
    if(error=="not_found"){
        color="red";
        icon="remove";
        title="Student ID Not Found";
    }
    else if(error=="already_added"){
        color="blue";
        icon="ok";
        title="Student ID Already Added";
    }
    else if(error=="found_but_not_program"){
        color="blue";
        icon="remove";
        title="Student ID Not in this program";
    }
    
    response=[];
    response['color']=color;
    response['icon']=icon;
    response['title']=title;
    return response;
}

function save_result(){

    var valid_list=[];

    for (let [key, value] of Object.entries(student_row_list)) {
            if(value==1)valid_list.push(key);
    }
    console.log(valid_list);

}

================================================
FILE: page/exam_page/exam_panel/js/exam_control.js
================================================


================================================
FILE: page/exam_page/exam_panel/js/exam_panel.js
================================================
url = "exam_panel_action.php";
modal_body = "modal_md_body";
div="exam_panel_body";
var exam_category="";
var panel_title="panel_title";


function get_action_data(_div = modal_body, _load = 0, _url = url) {
    var data = {
        'url': _url,
        'div': _div,
        'load': 0
    }
    return data;
}

function program_select(){
    var pid=get_value("program_select");
    
    var data={
        "program_select": pid
    }
    loader("select_loader",50);

    $.ajax({
        type: "POST",
        url: url,
        data: data,
        success: function(responce){
            set_html("exam_category_select",responce);
            set_html("select_loader","");
        }
    });

}

function view_exam_panel(){
    
    var exam_cat=get_value("exam_category_select");
    
    if(exam_cat==-1 || exam_cat==""){
        alert("Please Select Program");
        return;
    }

    exam_category=exam_cat;

	var data={
		"view_exam_panel": exam_category
	}

    loader("view_exam_panel");
	
    $.ajax({
        type: "POST",
        url: url,
        data: data,
        success:function(responce){
            set_html("view_exam_panel",responce);
            get_dashboard();

        }
    })
}



function view_exam(exam_id){

    var data={
        "view_exam": exam_id
    }
    loader("exam_panel_body");
    $.ajax({
        type: "POST",
        url: url,
        data: data,
        success:function(responce){
            set_html("exam_panel_body",responce);
        }
    })
}

function get_dashboard(){
    var data={
        "get_dashboard": exam_category
    }
    set_html(panel_title,"Exam Dashboard")
    loader("exam_panel_body");
    get_ajax(get_action_data("exam_panel_body"), data);

}

function get_exam_list(){

    var data={
        "get_exam_list": exam_category
    }
    set_html(panel_title,"Exam List")
    loader("exam_panel_body");
    get_ajax(get_action_data("exam_panel_body"), data);
}

function admit_card(){

    var data={
        'admit_card': 1
    }

    loader("exam_panel_body");
    get_ajax(get_action_data("exam_panel_body"), data);
}

// function for exam panel
function exam_control(type){

    var data={};
    data[type]=1;

    set_html("exam_panel_title",type);
    loader("exam_control_panel_body");
    get_ajax(get_action_data("exam_control_panel_body"), data);
}




================================================
FILE: page/export/excel.php
================================================
<?php


?>


<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
    font-size: 20px;
    text-align: center;
}
th, td {
    padding: 15px;
    text-align: left;
}
table#t01 {
    width: 100%;    
    background-color: #f1f1c1;
}
</style>
</head>
<body>

<div style="text-align: center; font-size: 20px">Student List</div>
<div style="float: left; font-size: 20px">Shift: Morning</div>
<div style="text-align: right; font-size: 20px">Class: 7</div>

<table  id="t01">
  <tr>
    <th>Student Id</th>
    <th>Student Name</th>
    <th>Student Mobile</th>
    <th>Program Name</th>
    <th>Batch Name</th>
    
  </tr>

  <?php
  //print_r($student);
$c=0;
  for($c=0; $c<10; $c++) {

    ?>
  <tr>
    <td><?php echo "$c"; ?></td>
    <td><?php echo "name"; ?></td>
    <td><?php echo "student_mobile"; ?></td>
    <td><?php echo "program_name"; ?></td>
    <td><?php echo "batch_name"; ?></td>
  </tr>
  <?php } ?>
</table>
<br>



</body>
</html>


<?php

header("Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
header("Content-Disposition: attachment;filename=\"filename.xlsx\"");
header("Cache-Control: max-age=0");

/** Error reporting */
error_reporting(E_ALL);

/** Include path **/
ini_set('include_path', ini_get('include_path').';../Classes/');

/** PHPExcel */
include 'PHPExcel.php';

/** PHPExcel_Writer_Excel2007 */
include 'PHPExcel/Writer/Excel2007.php';
?>

================================================
FILE: page/export/style/excel_table.css
================================================


================================================
FILE: page/id_card/id_card_editor/css/style.css
================================================


================================================
FILE: page/id_card/id_card_editor/id_card_editor.php
================================================

<script type="text/javascript" src="page/id_card/id_card_editor/js/script.js"></script>
<div class="row">
	<div class="col-md-5">
		<div class="id_card_info_area">
			<div class="editor_card_header">
				ID Card
			</div>
			<div class="editor_card_body" id="">

				<div id="editor_card_body" style="margin-left: 40px;"></div>
			</div>
			<div class="editor_card_header" style="height: auto;">
				<button class="card_option_btn" onclick="load_id_card()">Basic Setting</button>
				<button class="card_option_btn" onclick="click_option(1)">Image</button>
				<button class="card_option_btn" onclick="test()">Border</button>
				<button class="card_option_btn" onclick="click_option(3)">Color</button>
				<button class="card_option_btn" onclick="click_option(3)">Shadaw</button>
				<button class="card_option_btn" onclick="click_option(3)">Option</button>
				<button class="card_option_btn" onclick="click_option(3)">Barcode</button>
				<button class="card_option_btn" onclick="click_option(3)">Area Button 3</button>
			</div>
				
		</div>
	</div>
	<div class="col-md-7" style="margin-left: -30px;">
		<div class="editor_card_header">
				ID Card
		</div>
		<div id="editor_area" class="editor_area">
			
		</div>
		<div class="editor_area_footer">
			<button class="card_option_btn" onclick="click_option(1)">Image</button>
			<button class="card_option_btn" onclick="click_option(1)">Image</button>
		</div>
	</div>
</div>



<script type="text/javascript">
	click_option(1);
</script>

<style type="text/css">
	
	.card_option_btn{
  		background-color: rgba(0,0,0.1,0.1);
  		color: var(--font-color);
  		padding: 10px;
  		border-radius: 5px;
  		margin-left: 5px;
  		margin-bottom: 5px;
  		width: 31%;
  		border: 1px solid rgba(0,0,0.1,0.1);
  		font-size: 15px;
  		font-family: "Trebuchet MS", Helvetica, sans-serif;
}
	.card_option_btn:hover{
   		background-color: rgba(0,0,0,0.3);
	}
	.card_option_btn:focus {
    	outline: 0 !important;
    	background-color: rgba(0,0,0,0.3);
	}
	.editor_area{
		height: 410px;
		border: 1px solid var(--bg-color);
		padding: 15px;
		background-color: #C6C9D1;
		overflow: scroll;
		border-width: 0px 6px 0px 3px;
	}
	.editor_area_footer{
		background-color: var(--bg-color);
		padding: 7px;
		border: 1px solid var(--bg-color);
	}
	.id_card_info_area{
		border: 1px solid var(--bg-color);
		border-width: 0px 3px 0px 6px;
		height: auto;
	}
	.editor_card_header{
		border: 1px solid var(--bg-color);
		border-width: 0px 3px 0px 3px;
		background-color: var(--bg-color);
		color: var(--font-color);
		padding: 10px;
	}
	.editor_card_body{
		min-height: 310px;
		max-height: auto;
		padding: 15px;
	}
	.option1{
		height: 150px;
		padding-left: 15px;
		background-color: #ffffff;
	}
	.option2{
		height: 150px;
		padding-left: 15px;
		background-color: #eeeeee;
	}
	.option1 li{
		background-color: var(--bg-color);
		padding: 5px;
		color: var(--font-color);
		margin-bottom: 2px;
	}
</style>



================================================
FILE: page/id_card/id_card_editor/js/script.js
================================================
url = "id_card_action.php";
modal_body = "modal_lg_body";
modal = "lg";

function get_action_data(_div = modal_body, _load = 0, _url = url) {
    var data = {
        'url': _url,
        'div': _div,
        'load': 0
    }
    return data;
}

function load_id_card(){
	var data={
		"load_id_card": 1
	}
	loader("editor_card_body");
	get_ajax(get_action_data("editor_card_body"), data);
}

function click_option(btn){
	var data={
		"click_option": btn
	}
	get_ajax(get_action_data("editor_area"), data);
}

function test(){
	var slider = document.getElementById("myRange");
	slider.oninput = function() {
		console.log(this.value);
  		document.getElementById("img_card").style.borderRadius = this.value+"px";
	}
}

//drag_script
var dropTarget = document.querySelector(".wrapperr");
var draggables = document.querySelectorAll(".task");

/*
What to Drag - ondragstart and setData()
Then, specify what should happen when the element is dragged.

In the example above, the ondragstart attribute calls a function, 
drag(event), that specifies what data to be dragged.

The dataTransfer.setData() method sets the data type and the 
value of the dragged data:
*/

for(let i = 0; i < draggables.length; i++) {
  draggables[i].addEventListener("dragstart", function (ev) {
     ev.dataTransfer.setData("srcId", ev.target.id);
  });
}

/*
Where to Drop - ondragover
The ondragover event specifies where the dragged data can be dropped.

By default, data/elements cannot be dropped in other 
elements. 
To allow a drop, we must prevent the default handling of 
the element.

This is done by calling the event.preventDefault() method for 
the ondragover event:
*/

dropTarget.addEventListener('dragover', function(ev) {
  ev.preventDefault();
});

dropTarget.addEventListener('drop', function(ev) {
  ev.preventDefault();
  let target = ev.target;
  let droppable  = target.classList.contains('box');
  let srcId = ev.dataTransfer.getData("srcId");
  
  if (droppable) {
    ev.target.appendChild(document.getElementById(srcId));
  }
});


================================================
FILE: page/index/dashboard.php
================================================

<script type="text/javascript" src="page/index/js/dashboard.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

<script type="text/javascript">
            $(document).ready(function() {
                 $('table.display').DataTable();
            } );
        </script>




<?php

$total_student=count($student);
$total_notice=count($notice_info);
$info=$sms->sms_balance();

?>

<?php
/**
* Show user information like IP address, useragent
**/

?>

<?php


?>



 <div class="row" style="margin-bottom: 10px;">
    <?php include 'dashboard_info.php'; ?>
</div>
 <div class="row" >

                    <div class="col-lg-3 col-sm-6">
                        <div class="circle-tile">
                            <a href="">
                                <div class="circle-tile-heading dark-blue">
                                    <i class="fa fa-users fa-fw fa-3x"></i>
                                </div>
                            </a>
                            <div class="circle-tile-content dark-blue">
                                <div class="circle-tile-description text-faded">
                                    Total Students
                                </div>
                                <div class="circle-tile-number text-faded">
                                    <?php echo "$total_student"; ?>
                                    <span id="sparklineA"></span>
                                </div>
                                <a href="" class="circle-tile-footer">More Info <i class="fa fa-chevron-circle-right"></i></a>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="circle-tile">
                            <a href="">
                                <div class="circle-tile-heading dark-blue">
                                    <i class="fa fa-money fa-fw fa-3x"></i>
                                </div>
                            </a>
                            <div class="circle-tile-content dark-blue">
                                <div class="circle-tile-description text-faded">
                                    Total Teacher
                                </div>
                                <div class="circle-tile-number text-faded">
                                    -
                                </div>
                                <a href="" class="circle-tile-footer">More Info <i class="fa fa-chevron-circle-right"></i></a>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="circle-tile">
                            <a href="">
                                <div class="circle-tile-heading dark-blue">
                                    <i class="fa fa-bell fa-fw fa-3x"></i>
                                </div>
                            </a>
                            <div class="circle-tile-content dark-blue">
                                <div class="circle-tile-description text-faded">
                                    SMS Balance
                                </div>
                                <div class="circle-tile-number text-faded">
                                   <?php echo $info['balance']; ?>
                                </div>
                                <a href="" class="circle-tile-footer">More Info <i class="fa fa-chevron-circle-right"></i></a>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="circle-tile">
                            <a href="#">
                                <div class="circle-tile-heading dark-blue">
                                    <i class="fa fa-tasks fa-fw fa-3x"></i>
                                </div>
                            </a>
                            <div class="circle-tile-content dark-blue">
                                <div class="circle-tile-description text-faded">
                                    Total Notice
                                </div>
                                <div class="circle-tile-number text-faded">
                                    <?php echo "$total_notice"; ?>
                                    <span id="sparklineB"></span>
                                </div>
                                <a href="#" class="circle-tile-footer">More Info <i class="fa fa-chevron-circle-right"></i></a>
                            </div>
                        </div>
                    </div>
        </div>



    <div class="row">
    
    <script src="tool/chart_api/canvas_api.js"></script>


        <?php 
       
       if($user_permit<8){
        include "student_admit_graph.php"; 
        include "site_activity.php"; 
        
       }
        ?>

    </div>    

<link rel="stylesheet" type="text/css" href="page/index/style.css">
<style type="text/css">
    thead{
        background-color: #EFF0F2;
        border-width: 0px;
    }
    .td_list1{
        background-color: #EFF0F2;
        color: #000000;
        padding: 10px;
        font-weight: bold;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
    .td_list2{
        background-color: #ffffff;
        color: #000000;
        padding: 8px;
        border: 1px solid #C6C9D1;
        text-align: center;
    }
</style>

<script type="text/javascript">
    live_site_action();
</script>

================================================
FILE: page/index/dashboard_info.php
================================================

   
     <div class="col-lg-8">
     	<div class="row">
     		<div class="col-ms-12 col-sm-12">
                        <div class="circle-tile">
                            <a href="">
                                <div class="circle-tile-heading dark-blue">
                                    <img src="<?php echo $db->logo; ?>" class="logo_img">
                                </div>
                            </a>
                            <div class="circle-tile-content dark-blue">
                                <center>
                                <div class="description_area">
                                  <font class="site_title"><?php echo $db->site_name; ?></font><br/>
                                      <font class="site_description">
                                        <span class="glyphicon glyphicon-map-marker"></span> <?php echo $db->address; ?><br/>
                                        <span class="glyphicon glyphicon-phone"></span> Phone: <?php echo $db->phone; ?> | <span class="glyphicon glyphicon-envelope"></span> Email: <?php echo $db->email; ?>
                                  </font>
                                </div>
                              </center>
                               
                            </div>
                        </div>
        </div>
     	
     	</div>
         
    </div>

     <div class="col-lg-4">
        <center><font style="font-weight: bold;text-align: center; font-size: 18px"> 
        	<?php
        	$uname=$login_user['uname'];
        	$date=date("d M Y h:i:A", strtotime($db->date()));
        	$day=date("l", strtotime($db->date()));
          $user_permission=$user_ob->get_user_permission($role);
         	
         ?>
         	<marquee style='color: var(--bg-color)' behavior="scroll" direction="left"><?php echo $site->welcome_time($uname); ?></marquee>

         </font></center>
                <table width="100%">
                    <tr>
                        <td class="td_info1">Today Date: </td>
                        <td class="td_info2"><?php echo $date; ?></td>
                    </tr>
                    <tr>
                        <td class="td_info1">Today Day: </td>
                        <td class="td_info2"><?php echo $day; ?></td>
                    </tr>
                    <tr>
                        <td class="td_info1">Your IP: </td>
                        <td class="td_info2"><?php echo $ip; ?></td>
                    </tr>
                    <tr>
                        <td class="td_info1">Your Browser: </td>
                        <td class="td_info2"><?php echo $browser; ?></td>
                    </tr>
                    <tr>
                        <td class="td_info1">Your Permission: </td>
                        <td class="td_info2"><?php echo $user_permission; ?></td>
                    </tr>
                    
                </table>
                           
    </div>

    <style type="text/css">

    .site_title{
          font-weight: bold;
          font-size: 33px;
          color: var(--font-color);
          font-family: "Times New Roman", Times, serif;
    }
    .site_description{
          font-weight: bold;
          font-size: 18px;
          color: var(--font-color);
    }

    	.td_info1,.td_info2{
  border-width: 1px;
  border-color: #DDDDDD;
  border-style: solid;
  padding: 10px;
}
.td_info1{
  width: 150px; 
  background-color: var(--bg-color);
  color: var(--font-color);
}
.logo_img{

height: 75px;
width: 75px;
padding: 5px;

}
.description_area{
	background-color: var(--bg-color); 
	color: var(--font-color);

	padding: 5px 10px 30px 10px;

}

    </style>



================================================
FILE: page/index/expence_list.php
================================================


================================================
FILE: page/index/js/dashboard.js
================================================
url = "dashboard_action.php";
modal_body = "modal_lg_body";
modal = "lg";
first_load=0;
live_site_action_processing=0;


function get_action_data(_div = modal_body, _load = 0, _url = url) {
    var data = {
        'url': _url,
        'div': _div,
        'load': 0
    }
    return data;
}


function live_site_action(){
   var data = {
        "live_site_action": 1
    }
    
    if(first_load==0)loader("site_activity");
    first_load=1;
    live_site_action_processing=1;
    $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {	
           set_html("site_activity",response);
           live_site_action_processing=0;
        }
    });
}

function get_activity_info(id){
    var data = {
        "get_activity_info": id
    }
    modal_open(modal, "Activity Detail");
    loader(modal_body);
    get_ajax(get_action_data(modal_body), data);
}


function reload_activity(id){
    var data = {
        "get_activity_info": id
    }
    loader(modal_body);
    get_ajax(get_action_data(modal_body), data);
}

setInterval(function(){ 
  if(live_site_action_processing==0)live_site_action(); 
}, 2000);

================================================
FILE: page/index/js/graph.js
================================================

function graph(data,data1){

  CanvasJS.addColorSet("greenShades",
    [
      bg_color              
    ]);

  var message_send = new CanvasJS.Chart("message_send_graph", {
      animationEnabled: true,
      colorSet: "greenShades",
      theme: "light2", // "light1", "light2", "dark1", "dark2"
      title:{
        text: "Last 7 Days SMS Send Performance Graph"
      },
      axisY: {
       title: "Total SMS Send (Daily)"
      },
      data: [{        
        type: "column",  
        showInLegend: true, 
        legendMarkerColor: "grey",
        legendText: "Daily Total SMS Send",
        dataPoints: data
      }]
    });


    var site_activity = new CanvasJS.Chart("site_activity_graph", {
      animationEnabled: true,
      colorSet: "greenShades",
      theme: "light2",
      title:{
        text: "Last 7 Days Site Activity Graph"
      },
      axisY:{
        includeZero: false
      },
      data: [{        
        type: "line",
        lineThickness: 4,
        markerSize: 16,       
        dataPoints: data1
      }]
    });

    site_activity.render();
    message_send.render();

}

================================================
FILE: page/index/message_send_chart.php
================================================



================================================
FILE: page/index/site_activity.php
================================================


<div class="col-md-12">
            <div class="dashboard_box">
                <div class="box_header">Live Site Activity</div>
                <div class="box_body" id="site_activity">
                     
               
                </div>
            </div>
        </div>

================================================
FILE: page/index/student_admit_graph.php
================================================

<script type="text/javascript" src="page/index/js/graph.js"></script>

<div class="col-md-6">
            <div class="dashboard_box" style="overflow: hidden;">
                <div class="box_header">Last 7 Days Site Activity Graph</div>
                <div class="box_body">
                     <div id="site_activity_graph" style="height: 300px; width: 100%;"></div>
                    
                </div>
            </div>
</div>
<div class="col-md-6">
            <div class="dashboard_box" style="overflow: hidden;">
                <div class="box_header">Last 7 Days SMS Send Performance Graph</div>
                <div class="box_body">
                     
                    <div id="message_send_graph" style="height: 300px; width: 100%;"></div>       
                   
                </div>
            </div>
</div>
  
<?php

$sms_send_data=$graph->get_last_sms_data(7);
$site_activity_data=$graph->get_site_activity_data(7);

?>

<script>

sms_send_data=<?php echo "$sms_send_data"; ?>;
site_activity_data=<?php echo "$site_activity_data"; ?>;

window.onload = function () {
  graph(sms_send_data,site_activity_data);

}

</script>




================================================
FILE: page/index/style.css
================================================
.dashboard_box{
    margin-top: 20px;
}
.dashboard_box .box_header{
   background-color: var(--bg-color);
   color: var(--font-color);
   padding: 10px;
}
.dashboard_box .box_body{
   height: auto;
   border-width: 0px 1px 1px 1px;
   border-color: var(--bg-color);
}


    @media (min-width: 768px){
.circle-tile {
    margin-bottom: 30px;
}
}

.circle-tile {
    margin-bottom: 15px;
    text-align: center;
}

.circle-tile-heading {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto -40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 100%;
    color: #fff;
    transition: all ease-in-out .3s;
}

/* -- Background Helper Classes */

/* Use these to cuztomize the background color of a div. These are used along with tiles, or any other div you want to customize. */

 .dark-blue {
    background-color: var(--bg-color);
}

.green {
    background-color: #16a085;
}

.blue {
    background-color: #2980b9;
}

.orange {
    background-color: #f39c12;
}

.red {
    background-color: #e74c3c;
}

.purple {
    background-color: #8e44ad;
}

.dark-gray {
    background-color: #7f8c8d;
}

.gray {
    background-color: #95a5a6;
}

.light-gray {
    background-color: #bdc3c7;
}

.yellow {
    background-color: #f1c40f;
}

/* -- Text Color Helper Classes */

 .text-dark-blue {
    color: #34495e;
}

.text-green {
    color: #16a085;
}

.text-blue {
    color: #2980b9;
}

.text-orange {
    color: #f39c12;
}

.text-red {
    color: #e74c3c;
}

.text-purple {
    color: #8e44ad;
}

.text-faded {
    color: rgba(255,255,255,0.7);
}



.circle-tile-heading .fa {
    line-height: 80px;
}

.circle-tile-content {
    padding-top: 50px;
}
.circle-tile-description {
    text-transform: uppercase;
}

.text-faded {
    color: rgba(255,255,255,0.7);
}

.circle-tile-number {
    padding: 5px 0 15px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.circle-tile-footer {
    display: block;
    padding: 5px;
    color: rgba(255,255,255,0.5);
    background-color: rgba(0,0,0,0.1);
    transition: all ease-in-out .3s;
}

.circle-tile-footer:hover {
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    background-color: rgba(0,0,0,0.2);
}

================================================
FILE: page/install/install_system.php
================================================

<title>Install Student Management System</title>

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<link href="https://fonts.googleapis.com/css?family=Exo 2" rel="stylesheet">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<script type="text/javascript" src="page/install/js/install_system.js"></script>
<script language="JavaScript" src="layout/site_script.js" type="text/javascript"></script>

<style type="text/css">
    body{

    }
</style>

<div  style="padding: 0px 8px 0px 0px">

<div class="container" style="padding: 10px;margin-top: 5px;">
                <div class="row register" style="padding: 5px;">
                    <div class="col-md-4 col-sm-12 register-left">

                        
                        <div style="margin-top: 10px;"></div>
                        <b style="font-size: 13px;">Open Source</b><br/>
                        <b style="font-size: 25px;">Student Management System</b><br/>
                        By <b style="font-size: 16px;"><a href="https://github.com/amirhamza05" style="color: #ffffff">Amir Hamza</a></b>
                        <div style="margin-top: 35px;text-align: left;">
                            <ul style="font-size: 15px;">
                                <li>Add Student Information</li>
                                <li>Admit Student In Multiple Program</li>
                                <li>Student Payment System</li>
                                <li>Student Attendence System</li>
                                <li>Generate Student Id Card</li>
                                <li>Program Add</li>
                                <li>Exam Add</li>
                                <li>Add Exam Result Add and generate Auto Ranking</li>
                                <li>Sending Result by SMS</li>
                                <li>Sending Notice By SMS</li>
                                <li>Institute Report (Payment,Expence,Income,Profit,Attendence)</li>
                            </ul>
                        </div>
                        
                        <a href="https://github.com/amirhamza05/Student-Management-System"><input type="submit" name="" value="Github"/></a><br/>
                    </div>
                    <div class="col-md-8 col-sm-12 register-right">
                        
                        <div class="tab-content" id="myTabContent">
                            <div class="tab-pane fade show active" style="" id="install_body">
                            	<div style="margin-top: 100px;"></div>
                            	<center>
                                <button class="btnnext" onclick="view_install_page()">Install</button>
                                </center>
                            </div>
                            </div>
                           
                        </div>
                    </div>
                </div>

            </div>

<script type="text/javascript">
	view_install_page();
</script>
            <style type="text/css">
          body{
          	background-color: #ffffff;

          	
          }  	
.register{
    background-color: #000000;
    margin-top: 0%;
    padding: 0%;
    color: #000000;
    animation: myanimation 10s infinite;
}
@keyframes myanimation {
  0% {background-color: #c0392b;}
  25%{background-color:#d35400;}
  50%{background-color:#8e44ad;}
  75%{background-color:#16a085;}
  100% {background-color: #27ae60;}
}


.register-left{
    text-align: center;
    color: #fff;
    margin-top: 4%;
}
.btnnext{
	background-color: #0062CC;
	font-size: 22px;
	height: 100px;
	width: 100px;
	color: #ffffff;
	border-width: 1px;
	border-radius: 100%;
	cursor: pointer;

}
.inputField{
    padding: 10px;
    width: 100%;
    border-radius: 3px;
    font-size: 14px;
    color: #888A88;
    border: 1px solid #E6E6E6;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}
.inputField:focus{
    outline: none;
    border-radius: 5px;
    border: 1px solid var(--blue);
    box-shadow: 0 0 3px 3px #CCC7D8;
}
.register-left input{
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    width: 70%;
    background: #f8f9fa;
    font-weight: bold;
    color: #383d41;
    margin-top: 30%;
    margin-bottom: 3%;
    cursor: pointer;
}

@keyframes myanimation1 {
  0% {background-color: #a4b0be;}
  25%{background-color:#f1f2f6;}
  50%{background-color:#dfe4ea;}
  75%{background-color:#ced6e0;}
  100% {background-color: #a4b0be;}
}
.register-right{
    background: #f5f5f5;
    border-top-left-radius: 10% 50%;
    border-bottom-left-radius: 10% 50%;
	
}
.register-left img{
    margin-top: 15%;
    margin-bottom: 5%;
    width: 25%;
    -webkit-animation: mover 2s infinite  alternate;
    animation: mover 1s infinite  alternate;
}

.register-left p{
    font-weight: lighter;
    padding: 12%;
    margin-top: -9%;
}
.register .register-form{
    padding: 10%;
    margin-top: 10%;
}
.btnRegister{
    float: right;
    margin-top: 10%;
    border: none;
    border-radius: 1.5rem;
    padding: 2%;
    background: #0062cc;
    color: #fff;
    font-weight: 600;
    width: 230px;
    cursor: pointer;
}

.formLabel{
    color: #3f3d3e;
    margin-left: 5px;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 13px;
}

.register-heading{
    text-align: center;
    margin-top: 8%;
    margin-bottom: -15%;
    color: #495057;
}
            </style>

================================================
FILE: page/install/js/install_system.js
================================================

url = "install_action.php";


function get_value(div){
  return document.getElementById(div).value;
}

function view_install_page(){
   var data={
   	'view_install_page': 1
   }
   document.getElementById('install_body').innerHTML="hamza";
    loader("install_body",160);

    $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
           document.getElementById('install_body').innerHTML=response;
        }
    });

}

function install_first_step(){
	div=document.getElementById('install_body');
	
   hostname=get_value("hostname");
   db_user=get_value("db_user");
   db_pass=get_value("db_pass");
   db_name=get_value("db_name");
   error="";
   if(hostname==""){
      error="Please Enter Host Name";
   }
   else if(db_user==""){
   	error="Please Enter db_user";
   }
   else if(db_name==""){
   	 error="Please Enter db_name";
   }


   if(error!=""){
   	alert(error);
   	return;
   }

   var data1={
   	 'hostname': hostname,
   	 'db_user': db_user,
   	 'db_pass':db_pass,
   	 'db_name':db_name
   }

	var data={
   	'install_first_step': data1
   }
    div.style.margin = "150px 0px 0px 0px";
	loader("install_body",250);

    $.ajax({
        type: 'POST',
        url: url,
        data:data,
        success: function(response) {
            document.getElementById('install_body').innerHTML=response;
        }
    });
}


================================================
FILE: page/login/js/ajax.js
================================================
/* -----------------------------------------------
/* Author : Vincent Garreau  - vincentgarreau.com
/* MIT license: http://opensource.org/licenses/MIT
/* Demo / Generator : vincentgarreau.com/particles.js
/* GitHub : github.com/VincentGarreau/particles.js
/* How to use? : Check the GitHub README
/* v2.0.0
/* ----------------------------------------------- */
function hexToRgb(e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(a,function(e,a,t,i){return a+a+t+t+i+i});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function clamp(e,a,t){return Math.min(Math.max(e,a),t)}function isInArray(e,a){return a.indexOf(e)>-1}var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()})},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var s=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(s)}else void 0!=e.value.r&&void 0!=e.value.g&&void 0!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),void 0!=e.value.h&&void 0!=e.value.s&&void 0!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var n={};switch(i.particles.move.direction){case"top":n={x:0,y:-1};break;case"top-right":n={x:.5,y:-.5};break;case"right":n={x:1,y:-0};break;case"bottom-right":n={x:.5,y:.5};break;case"bottom":n={x:0,y:1};break;case"bottom-left":n={x:-.5,y:1};break;case"left":n={x:-1,y:0};break;case"top-left":n={x:-.5,y:-.5};break;default:n={x:0,y:0}}i.particles.move.straight?(this.vx=n.x,this.vy=n.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=n.x+Math.random()-.5,this.vy=n.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&void 0!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){function e(){i.canvas.ctx.drawImage(r,a.x-t,a.y-t,2*t,2*t/a.img.ratio)}var a=this;if(void 0!=a.radius_bubble)var t=a.radius_bubble;else var t=a.radius;if(void 0!=a.opacity_bubble)var s=a.opacity_bubble;else var s=a.opacity;if(a.color.rgb)var n="rgba("+a.color.rgb.r+","+a.color.rgb.g+","+a.color.rgb.b+","+s+")";else var n="hsla("+a.color.hsl.h+","+a.color.hsl.s+"%,"+a.color.hsl.l+"%,"+s+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),a.shape){case"circle":i.canvas.ctx.arc(a.x,a.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(a.x-t,a.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t,a.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,a.x-t/(i.particles.shape.polygon.nb_sides/3.5),a.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,a.x-2*t/(i.particles.shape.polygon.nb_sides/4),a.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var r=a.img.obj;else var r=i.tmp.img_obj;r&&e()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var a=i.particles.array[e];if(i.particles.move.enable){var t=i.particles.move.speed/2;a.x+=a.vx*t,a.y+=a.vy*t}if(i.particles.opacity.anim.enable&&(1==a.opacity_status?(a.opacity>=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var s={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else var s={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};switch(a.x-a.radius>i.canvas.w?(a.x=s.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=s.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=s.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=s.y_bottom,a.x=Math.random()*i.canvas.w),i.particles.move.out_mode){case"bounce":a.x+a.radius>i.canvas.w?a.vx=-a.vx:a.x-a.radius<0&&(a.vx=-a.vx),a.y+a.radius>i.canvas.h?a.vy=-a.vy:a.y-a.radius<0&&(a.vy=-a.vy)}if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var n=e+1;n<i.particles.array.length;n++){var r=i.particles.array[n];i.particles.line_linked.enable&&i.fn.interact.linkParticles(a,r),i.particles.move.attract.enable&&i.fn.interact.attractParticles(a,r),i.particles.move.bounce&&i.fn.interact.bounceParticles(a,r)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++){var a=i.particles.array[e];a.draw()}},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,a){var t=e.x-a.x,s=e.y-a.y,n=Math.sqrt(t*t+s*s);if(n<=i.particles.line_linked.distance){var r=i.particles.line_linked.opacity-n/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(r>0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,s=e.y-a.y,n=Math.sqrt(t*t+s*s);if(n<=i.particles.line_linked.distance){var r=t/(1e3*i.particles.move.attract.rotateX),c=s/(1e3*i.particles.move.attract.rotateY);e.vx-=r,e.vy-=c,a.vx+=r,a.vy+=c}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y,s=Math.sqrt(t*t+i*i),n=e.radius+a.radius;n>=s&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;e>t;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){function a(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}function t(a,t,s,n,c){if(a!=t)if(i.tmp.bubble_duration_end){if(void 0!=s){var o=n-p*(n-a)/i.interactivity.modes.bubble.duration,l=a-o;d=a+l,"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else if(r<=i.interactivity.modes.bubble.distance){if(void 0!=s)var v=s;else var v=n;if(v!=a){var d=n-p*(n-a)/i.interactivity.modes.bubble.duration;"size"==c&&(e.radius_bubble=d),"opacity"==c&&(e.opacity_bubble=d)}}else"size"==c&&(e.radius_bubble=void 0),"opacity"==c&&(e.opacity_bubble=void 0)}if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var s=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(s*s+n*n),c=1-r/i.interactivity.modes.bubble.distance;if(r<=i.interactivity.modes.bubble.distance){if(c>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){var o=e.radius+i.interactivity.modes.bubble.size*c;o>=0&&(e.radius_bubble=o)}else{var l=e.radius-i.interactivity.modes.bubble.size,o=e.radius-l*c;o>0?e.radius_bubble=o:e.radius_bubble=0}if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value){var v=i.interactivity.modes.bubble.opacity*c;v>e.opacity&&v<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}else{var v=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*c;v<e.opacity&&v>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=v)}}}else a();"mouseleave"==i.interactivity.status&&a()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){var s=e.x-i.interactivity.mouse.click_pos_x,n=e.y-i.interactivity.mouse.click_pos_y,r=Math.sqrt(s*s+n*n),p=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;p>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),p>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(t(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),t(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){function a(){var a=Math.atan2(d,p);if(e.vx=u*Math.cos(a),e.vy=u*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};t.x+e.radius>i.canvas.w?e.vx=-e.vx:t.x-e.radius<0&&(e.vx=-e.vx),t.y+e.radius>i.canvas.h?e.vy=-e.vy:t.y-e.radius<0&&(e.vy=-e.vy)}}if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,s=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+s*s),r={x:t/n,y:s/n},c=i.interactivity.modes.repulse.distance,o=100,l=clamp(1/c*(-1*Math.pow(n/c,2)+1)*c*o,0,50),v={x:e.x+r.x*l,y:e.y+r.y*l};"bounce"==i.particles.move.out_mode?(v.x-e.radius>0&&v.x+e.radius<i.canvas.w&&(e.x=v.x),v.y-e.radius>0&&v.y+e.radius<i.canvas.h&&(e.y=v.y)):(e.x=v.x,e.y=v.y)}else if(i.interactivity.events.onclick.enable&&isInArray("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){var c=Math.pow(i.interactivity.modes.repulse.distance/6,3),p=i.interactivity.mouse.click_pos_x-e.x,d=i.interactivity.mouse.click_pos_y-e.y,m=p*p+d*d,u=-c/m*1;c>=m&&a()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,s=Math.sqrt(a*a+t*t);if(s<=i.interactivity.modes.grab.distance){var n=i.interactivity.modes.grab.line_linked.opacity-s/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(n>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+n+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else var a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"}),i.interactivity.el.addEventListener("mouseleave",function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"})),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout(function(){i.tmp.repulse_clicking=!1},1e3*i.interactivity.modes.repulse.duration)}})},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;0>t?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;t<i.particles.array.length;t++){var s=i.particles.array[t],n=e.x-s.x,r=e.y-s.y,c=Math.sqrt(n*n+r*r);c<=e.radius+s.radius&&(e.x=a?a.x:Math.random()*i.canvas.w,e.y=a?a.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var a=i.tmp.source_svg,t=/#([0-9A-F]{3,6})/gi,s=a.replace(t,function(a,t,i,s){if(e.color.rgb)var n="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else var n="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return n}),n=new Blob([s],{type:"image/svg+xml;charset=utf-8"}),r=window.URL||window.webkitURL||window,c=r.createObjectURL(n),o=new Image;o.addEventListener("load",function(){e.img.obj=o,e.img.loaded=!0,r.revokeObjectURL(c),i.tmp.count_svg++}),o.src=c},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),t.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,a,t,i,s,n){var r=s*n,c=s/n,o=180*(c-2)/c,l=Math.PI-Math.PI*o/180;e.save(),e.beginPath(),e.translate(a,t),e.moveTo(0,0);for(var v=0;r>v;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()}),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):void 0!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&void 0==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),window.cancelRequestAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout}(),window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",s=t.getElementsByClassName(i);if(s.length)for(;s.length>0;)t.removeChild(s[0]);var n=document.createElement("canvas");n.className=i,n.style.width="100%",n.style.height="100%";var r=document.getElementById(e).appendChild(n);null!=r&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var s=JSON.parse(a.currentTarget.response);window.particlesJS(e,s),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()};

================================================
FILE: page/login/js/script.js
================================================


function get_value(div){
  return document.getElementById(div).value;
}

function set_html(div,text){
  document.getElementById(div).innerHTML=text;
}


function login_area(per){
    document.getElementById("login_body").style.display=per;
    document.getElementById("loader_area").style.display=(per=="block")?"none":"block";
}

 function login(){
    uname=get_value('uname');
    pass=get_value('pass');
    document.getElementById("error_msg").style.display="none";
    login_area("none");
     $.ajax({
        type: 'POST',
        url: 'login_action.php',
        data: {
            login: uname,
            uname: uname,
            pass: pass
        }, 
        beforeSend: function() {
              

        },
        success: function(response) {
          response=JSON.parse(response);
          setTimeout(function () {
                fun_wait(response);
           }, 1000); 
          
        }
    }); 
           
  }

  function fun_wait(data){

      if(data.error==0)location.reload();
      else{
          document.getElementById("error_msg").style.display="block";
          set_html("error_msg_text",data.error_msg);
          login_area("block");
      }
  }


$.getScript("https://cdnjs.cloudflare.com/ajax/libs/particles.js/2.0.0/particles.min.js", function(){
    particlesJS('particles-js',
      {
        "particles": {
          "number": {
            "value": 80,
            "density": {
              "enable": true,
              "value_area": 800
            }
          },
          "color": {
            "value": "#ffffff"
          },
          "shape": {
            "type": "circle",
            "stroke": {
              "width": 0,
              "color": "#000000"
            },
            "polygon": {
              "nb_sides": 5
            },
            "image": {
              "width": 100,
              "height": 100
            }
          },
          "opacity": {
            "value": 0.5,
            "random": false,
            "anim": {
              "enable": false,
              "speed": 1,
              "opacity_min": 0.1,
              "sync": false
            }
          },
          "size": {
            "value": 5,
            "random": true,
            "anim": {
              "enable": false,
              "speed": 40,
              "size_min": 0.1,
              "sync": false
            }
          },
          "line_linked": {
            "enable": true,
            "distance": 150,
            "color": "#ffffff",
            "opacity": 0.4,
            "width": 1
          },
          "move": {
            "enable": true,
            "speed": 6,
            "direction": "none",
            "random": false,
            "straight": false,
            "out_mode": "out",
            "attract": {
              "enable": false,
              "rotateX": 600,
              "rotateY": 1200
            }
          }
        },
        "interactivity": {
          "detect_on": "canvas",
          "events": {
            "onhover": {
              "enable": true,
              "mode": "repulse"
            },
            "onclick": {
              "enable": true,
              "mode": "push"
            },
            "resize": true
          },
          "modes": {
            "grab": {
              "distance": 400,
              "line_linked": {
                "opacity": 1
              }
            },
            "bubble": {
              "distance": 400,
              "size": 40,
              "duration": 2,
              "opacity": 8,
              "speed": 3
            },
            "repulse": {
              "distance": 200
            },
            "push": {
              "particles_nb": 4
            },
            "remove": {
              "particles_nb": 2
            }
          }
        },
        "retina_detect": true,
        "config_demo": {
          "hide_card": false,
          "background_color": "#b61924",
          "background_image": "",
          "background_position": "50% 50%",
          "background_repeat": "no-repeat",
          "background_size": "cover"
        }
      }
    );

});



================================================
FILE: page/login/login.php
================================================
 
<?php 

include "config/config.php";
include "layout/header_lib.php";
$db=new database();
?>

<link rel="stylesheet" type="text/css" href="page/login/style/style.css">
<script type="text/javascript" src="page/login/js/script.js"></script>
<script type="text/javascript" src="page/login/js/ajax.js"></script>

<!DOCTYPE html>
<html>
<head>
  <title>Login || <?php echo $db->site_name; ?></title>
</head>

<body style="background-size: 100%;">
<div class="container" style="width: 100%">

  <div class="row">
    <div class="col-md-4  col-sm-12"></div>
    <div class="col-md-4 col-sm-12">
    <div id="login-box" style="margin-top: 45px;">
        <div class="header_box">Login Your ID</div>
        <div class="logo">
            <h1 class="
Download .txt
gitextract_zz2ag4kr/

├── .htaccess
├── 404.php
├── README.md
├── account.php
├── account_action.php
├── add_result.php
├── add_result_action.php
├── add_student.php
├── api.php
├── attend.php
├── attend_action.php
├── barcode.php
├── batch_action.php
├── batch_list.php
├── chat.php
├── config/
│   ├── config.php
│   ├── connect.php
│   ├── db.php
│   └── dbclass.php
├── dashboard_action.php
├── edit_id_card.php
├── exam.php
├── exam_action.php
├── exam_category_action.php
├── exam_list.php
├── exam_panel.php
├── exam_panel_action.php
├── export.php
├── id_card.php
├── id_card_action.php
├── index.php
├── install_action.php
├── install_system.php
├── layout/
│   ├── bubble.php
│   ├── footer.php
│   ├── header.php
│   ├── header_lib.php
│   ├── header_script.php
│   ├── js/
│   │   ├── bubble.js
│   │   └── nav_bar_script.js
│   ├── layout.php
│   ├── layout_style.php
│   ├── loader.php
│   ├── menu_button.php
│   ├── modal_lib.php
│   ├── nev_bar.php
│   ├── page/
│   │   └── nav_bar_dropdown.php
│   ├── side_bar.php
│   └── site_script.js
├── login.php
├── login_action.php
├── logout.php
├── nav_bar_action.php
├── notice_action.php
├── notice_list.php
├── page/
│   ├── account/
│   │   ├── expence.php
│   │   ├── income.php
│   │   └── js/
│   │       ├── expence.js
│   │       └── income.js
│   ├── api/
│   │   └── api.php
│   ├── attend/
│   │   ├── attend.php
│   │   ├── extra.php
│   │   └── js/
│   │       └── attend.js
│   ├── batch/
│   │   ├── batch_list.php
│   │   └── batch_script.js
│   ├── chat/
│   │   ├── chat.php
│   │   └── css/
│   │       └── style.css
│   ├── editor/
│   │   ├── css/
│   │   │   └── sms_editor.css
│   │   ├── js/
│   │   │   └── sms_editor.js
│   │   └── sms_editor.php
│   ├── exam/
│   │   ├── add_exam.php
│   │   ├── exam_list.php
│   │   ├── exam_result.php
│   │   ├── js/
│   │   │   └── exam.js
│   │   └── public_result.php
│   ├── exam_page/
│   │   ├── exam_category/
│   │   │   ├── exam_category.php
│   │   │   └── js/
│   │   │       └── script.js
│   │   └── exam_panel/
│   │       ├── exam_panel.php
│   │       └── js/
│   │           ├── add_result_script.js
│   │           ├── exam_control.js
│   │           └── exam_panel.js
│   ├── export/
│   │   ├── excel.php
│   │   └── style/
│   │       └── excel_table.css
│   ├── id_card/
│   │   └── id_card_editor/
│   │       ├── css/
│   │       │   └── style.css
│   │       ├── id_card_editor.php
│   │       └── js/
│   │           └── script.js
│   ├── index/
│   │   ├── dashboard.php
│   │   ├── dashboard_info.php
│   │   ├── expence_list.php
│   │   ├── js/
│   │   │   ├── dashboard.js
│   │   │   └── graph.js
│   │   ├── message_send_chart.php
│   │   ├── site_activity.php
│   │   ├── student_admit_graph.php
│   │   └── style.css
│   ├── install/
│   │   ├── install_system.php
│   │   └── js/
│   │       └── install_system.js
│   ├── login/
│   │   ├── js/
│   │   │   ├── ajax.js
│   │   │   └── script.js
│   │   ├── login.php
│   │   └── style/
│   │       └── style.css
│   ├── notice/
│   │   ├── add_notice.php
│   │   ├── js/
│   │   │   └── notice.js
│   │   ├── notice_list.php
│   │   ├── notice_script/
│   │   │   ├── notice.js
│   │   │   └── notice_action.php
│   │   └── send_notice.php
│   ├── payment/
│   │   ├── left_payment_option.php
│   │   ├── payment.php
│   │   └── right_payment_option.php
│   ├── print/
│   │   └── id_print.php
│   ├── print_page/
│   │   └── print_page.php
│   ├── program/
│   │   ├── add_program.php
│   │   ├── program_list.php
│   │   └── program_script.js
│   ├── report/
│   │   ├── attend_report.php
│   │   ├── css/
│   │   │   └── payment_report.css
│   │   ├── expence_report.php
│   │   ├── income_report.php
│   │   ├── js/
│   │   │   ├── attend_report.js
│   │   │   ├── expence_report.js
│   │   │   ├── income_report.js
│   │   │   ├── payment_report.js
│   │   │   └── profit_report.js
│   │   ├── payment_report.php
│   │   └── profit_report.php
│   ├── result/
│   │   ├── add_result.js
│   │   ├── add_result.php
│   │   ├── js/
│   │   │   └── result.js
│   │   ├── public_result.php
│   │   ├── result.css
│   │   ├── result.js
│   │   └── result_list.php
│   ├── setting/
│   │   ├── js/
│   │   │   └── setting.js
│   │   └── setting.php
│   ├── sms/
│   │   ├── js/
│   │   │   └── sms_script.js
│   │   ├── pending_sms_list.php
│   │   ├── sms_dashboard.php
│   │   └── sms_google_graph_api.php
│   ├── student/
│   │   ├── aaa.js
│   │   ├── add_student/
│   │   │   └── add_student.php
│   │   ├── add_student.php
│   │   ├── index.php
│   │   ├── js_script/
│   │   │   └── student_action.js
│   │   ├── profile.css
│   │   ├── profile.js
│   │   ├── student_list/
│   │   │   ├── css/
│   │   │   │   └── style.css
│   │   │   ├── js/
│   │   │   │   ├── payment_script.js
│   │   │   │   └── script.js
│   │   │   └── student_list.php
│   │   ├── student_list.js
│   │   ├── student_list.php
│   │   ├── student_list1.php
│   │   ├── student_profile/
│   │   │   ├── css/
│   │   │   │   ├── payment.css
│   │   │   │   └── profile.css
│   │   │   ├── js/
│   │   │   │   ├── info.js
│   │   │   │   ├── payment.js
│   │   │   │   ├── profile1.js
│   │   │   │   ├── profile_data.js
│   │   │   │   └── program.js
│   │   │   ├── profile.php
│   │   │   └── profile_lib.php
│   │   ├── student_profile_panel.php
│   │   └── text_editor.css
│   ├── subject/
│   │   ├── add_subject.php
│   │   ├── subject_list.php
│   │   └── subject_script.js
│   ├── template/
│   │   └── data_table.php
│   ├── theme/
│   │   ├── add_theme.php
│   │   ├── theme.php
│   │   └── theme_list.php
│   └── user/
│       ├── add_user.php
│       ├── edit_profile.php
│       ├── user_add_script.js
│       ├── user_info.js
│       ├── user_info.php
│       ├── user_list/
│       │   ├── css/
│       │   │   └── style.css
│       │   ├── js/
│       │   │   └── user_list.js
│       │   ├── side_bar.php
│       │   └── user_list.php
│       ├── user_list.php
│       ├── user_list1.php
│       ├── user_profile/
│       │   ├── css/
│       │   │   └── style.css
│       │   ├── js/
│       │   │   ├── user_profile.js
│       │   │   └── user_top_bar_script.php
│       │   ├── profile_side_bar.php
│       │   ├── user_profile.php
│       │   └── user_profile_ui.php
│       └── user_profile.php
├── page_action/
│   ├── account/
│   │   ├── account.php
│   │   ├── expence.php
│   │   └── income.php
│   ├── attend/
│   │   ├── attend_action.php
│   │   └── attend_report.php
│   ├── batch_page_action.php
│   ├── dashboard/
│   │   └── dashboard_action.php
│   ├── exam/
│   │   ├── exam_action.php
│   │   ├── exam_category/
│   │   │   └── exam_category_action.php
│   │   └── exam_panel/
│   │       └── exam_panel.php
│   ├── exam_panel/
│   │   ├── css/
│   │   │   └── style.css
│   │   ├── exam_category_panel/
│   │   │   ├── admit_card.php
│   │   │   ├── category_dashboard.php
│   │   │   ├── exam_list.php
│   │   │   └── include_file.php
│   │   ├── exam_control_panel/
│   │   │   ├── add_result.php
│   │   │   ├── exam_dashboard.php
│   │   │   ├── include_file.php
│   │   │   └── overview.php
│   │   └── exam_panel.php
│   ├── id_card/
│   │   └── edit_id_card/
│   │       └── edit_id_card_action.php
│   ├── install/
│   │   └── install.php
│   ├── nav_bar/
│   │   ├── chat_system.php
│   │   ├── nav_bar.php
│   │   ├── sql_editor.php
│   │   └── theme.php
│   ├── notice/
│   │   └── notice.php
│   ├── program_page_action.php
│   ├── report/
│   │   ├── attend_report.php
│   │   ├── expense_report.php
│   │   ├── income_report.php
│   │   ├── payment_report.php
│   │   ├── profit_report.php
│   │   └── report.php
│   ├── result/
│   │   ├── add_result.php
│   │   └── result_action.php
│   ├── setting/
│   │   └── setting.php
│   ├── sms/
│   │   └── sms_action.php
│   ├── student_list/
│   │   ├── basic_list.php
│   │   ├── payment_option.php
│   │   ├── payment_overview.php
│   │   ├── program_overview.php
│   │   ├── student_list.php
│   │   ├── student_list_content.php
│   │   └── student_payment_history.php
│   ├── student_profile/
│   │   ├── info.php
│   │   ├── payment.php
│   │   ├── profile.php
│   │   └── program.php
│   ├── subject_page_action.php
│   └── user/
│       ├── user.php
│       ├── user_list.php
│       ├── user_profile.php
│       └── user_profile_body.php
├── payment.php
├── pending_sms_list.php
├── practice.php
├── print_page.php
├── profit_report.php
├── program_action.php
├── program_list.php
├── report.php
├── report_action.php
├── result.php
├── result_action.php
├── result_list.php
├── script/
│   ├── account/
│   │   └── account.php
│   ├── api/
│   │   └── api.php
│   ├── attendence/
│   │   └── attendence.php
│   ├── batch/
│   │   └── batch.php
│   ├── chat/
│   │   └── chat.php
│   ├── contest/
│   │   └── contest.php
│   ├── exam/
│   │   ├── exam.js
│   │   ├── exam.php
│   │   └── exam_category.php
│   ├── graph/
│   │   └── graph.php
│   ├── id_card/
│   │   ├── id.php
│   │   ├── id_card.js
│   │   └── id_card.php
│   ├── install/
│   │   └── install.php
│   ├── notice/
│   │   └── notice.php
│   ├── payment/
│   │   ├── payment.js
│   │   ├── payment.php
│   │   └── set_payment.php
│   ├── program/
│   │   ├── program.php
│   │   └── program_form.php
│   ├── report/
│   │   └── report.php
│   ├── result/
│   │   └── result.php
│   ├── setting/
│   │   └── setting.php
│   ├── site_activity/
│   │   └── site_activity.php
│   ├── site_content/
│   │   ├── calender.php
│   │   ├── form.php
│   │   ├── site_config.php
│   │   └── site_content.php
│   ├── sms/
│   │   └── sms.php
│   ├── student/
│   │   ├── add_ajax.js
│   │   ├── student.php
│   │   └── student_edit.php
│   ├── subject/
│   │   └── subject.php
│   ├── template_class/
│   │   └── template_class.php
│   ├── theme/
│   │   ├── index.php
│   │   └── theme.php
│   └── user/
│       └── user.php
├── setting.php
├── setting_action.php
├── sms_action.php
├── sms_dashboard.php
├── sql/
│   ├── install_sql.sql
│   └── sql.sql
├── student/
│   ├── app/
│   │   ├── app.js
│   │   └── lib/
│   │       └── angular-route.js
│   ├── content/
│   │   ├── css/
│   │   │   └── style.css
│   │   └── mdb/
│   │       ├── README.txt
│   │       ├── css/
│   │       │   ├── addons/
│   │       │   │   ├── datatables-select.css
│   │       │   │   └── datatables.css
│   │       │   ├── bootstrap.css
│   │       │   ├── mdb.css
│   │       │   ├── mdb.lite.css
│   │       │   ├── modules/
│   │       │   │   └── animations-extended.css
│   │       │   └── style.css
│   │       ├── index.html
│   │       ├── js/
│   │       │   ├── addons/
│   │       │   │   ├── datatables-select.js
│   │       │   │   └── datatables.js
│   │       │   ├── bootstrap.js
│   │       │   ├── mdb.js
│   │       │   └── modules/
│   │       │       ├── chart.js
│   │       │       ├── default-file-input.js
│   │       │       ├── enhanced-modals.js
│   │       │       ├── forms-free.js
│   │       │       ├── jquery.easing.js
│   │       │       ├── scrolling-navbar.js
│   │       │       ├── velocity.js
│   │       │       ├── waves.js
│   │       │       └── wow.js
│   │       └── scss/
│   │           ├── _custom-styles.scss
│   │           ├── _custom-variables.scss
│   │           ├── addons/
│   │           │   ├── _datatables-select.scss
│   │           │   └── _datatables.scss
│   │           ├── core/
│   │           │   ├── _colors.scss
│   │           │   ├── _global.scss
│   │           │   ├── _helpers.scss
│   │           │   ├── _masks.scss
│   │           │   ├── _mixins.scss
│   │           │   ├── _typography.scss
│   │           │   ├── _variables.scss
│   │           │   ├── _waves.scss
│   │           │   └── bootstrap/
│   │           │       ├── _functions.scss
│   │           │       └── _variables.scss
│   │           ├── free/
│   │           │   ├── _animations-basic.scss
│   │           │   ├── _badges.scss
│   │           │   ├── _buttons.scss
│   │           │   ├── _cards.scss
│   │           │   ├── _carousels.scss
│   │           │   ├── _depreciated.scss
│   │           │   ├── _dropdowns.scss
│   │           │   ├── _footers.scss
│   │           │   ├── _forms.scss
│   │           │   ├── _input-group.scss
│   │           │   ├── _list-group.scss
│   │           │   ├── _loader.scss
│   │           │   ├── _modals.scss
│   │           │   ├── _msc.scss
│   │           │   ├── _navbars.scss
│   │           │   ├── _pagination.scss
│   │           │   ├── _steppers.scss
│   │           │   ├── _switch.scss
│   │           │   ├── _tables.scss
│   │           │   └── modules/
│   │           │       └── animations-extended/
│   │           │           ├── _module.scss
│   │           │           └── animations-extended.scss
│   │           ├── mdb.lite.scss
│   │           └── mdb.scss
│   ├── controller/
│   │   └── controller.js
│   ├── data/
│   │   └── dashboard_menu_list.html
│   ├── example/
│   │   └── login/
│   │       ├── Gruntfile.js
│   │       ├── LICENSE
│   │       ├── index.html
│   │       ├── modules/
│   │       │   ├── authentication/
│   │       │   │   ├── controllers.js
│   │       │   │   ├── services.js
│   │       │   │   └── views/
│   │       │   │       └── login.html
│   │       │   └── home/
│   │       │       ├── controllers.js
│   │       │       └── views/
│   │       │           └── home.html
│   │       ├── scripts/
│   │       │   └── app.js
│   │       ├── src/
│   │       │   ├── app.js
│   │       │   ├── directives/
│   │       │   │   └── form-helpers.js
│   │       │   ├── error/
│   │       │   │   ├── error.js
│   │       │   │   └── error.tpl.html
│   │       │   ├── grandfather.js
│   │       │   ├── home/
│   │       │   │   ├── home.js
│   │       │   │   └── home.tpl.html
│   │       │   ├── login-service.js
│   │       │   ├── mockhttp.js
│   │       │   ├── pages/
│   │       │   │   ├── admin.tpl.html
│   │       │   │   ├── pages.js
│   │       │   │   └── user.tpl.html
│   │       │   ├── register/
│   │       │   │   ├── register.js
│   │       │   │   ├── register.less
│   │       │   │   └── register.tpl.html
│   │       │   └── routing-config.js
│   │       └── test/
│   │           ├── karma.conf.js
│   │           └── spec/
│   │               └── login-service.js
│   ├── index.html
│   ├── test.html
│   └── views/
│       ├── 404.html
│       ├── batch_info.html
│       ├── dashboard.html
│       ├── header.html
│       ├── home.html
│       ├── login.html
│       ├── program_info.html
│       ├── result.html
│       ├── send_sms.html
│       ├── side_bar.html
│       └── student_info.html
├── student.php
├── student_action.php
├── student_add_ajax.php
├── student_list.php
├── student_list_action.php
├── student_profile.php
├── student_profile_action.php
├── style/
│   ├── css/
│   │   ├── id_card.css
│   │   ├── nav_bar.css
│   │   └── table.css
│   ├── images/
│   │   ├── blog/
│   │   │   └── images.txt
│   │   ├── faces/
│   │   │   └── images.txt
│   │   ├── gallery/
│   │   │   └── images.txt
│   │   └── loading-icons/
│   │       └── images.txt
│   ├── lib/
│   │   ├── bootstrap/
│   │   │   ├── css/
│   │   │   │   ├── bootstrap-theme.css
│   │   │   │   └── bootstrap.css
│   │   │   └── js/
│   │   │       └── bootstrap.js
│   │   ├── custom/
│   │   │   └── custom.js
│   │   ├── fancy-zoom/
│   │   │   ├── css/
│   │   │   │   └── fancyzoom.css
│   │   │   ├── index.html
│   │   │   └── src/
│   │   │       ├── fancyzoom.coffee
│   │   │       └── fancyzoom.js
│   │   ├── flot/
│   │   │   ├── API.txt
│   │   │   ├── FAQ.txt
│   │   │   ├── LICENSE.txt
│   │   │   ├── Makefile
│   │   │   ├── NEWS.txt
│   │   │   ├── PLUGINS.txt
│   │   │   ├── README.txt
│   │   │   ├── examples/
│   │   │   │   ├── ajax.html
│   │   │   │   ├── annotating.html
│   │   │   │   ├── basic.html
│   │   │   │   ├── data-eu-gdp-growth-1.json
│   │   │   │   ├── data-eu-gdp-growth-2.json
│   │   │   │   ├── data-eu-gdp-growth-3.json
│   │   │   │   ├── data-eu-gdp-growth-4.json
│   │   │   │   ├── data-eu-gdp-growth-5.json
│   │   │   │   ├── data-eu-gdp-growth.json
│   │   │   │   ├── data-japan-gdp-growth.json
│   │   │   │   ├── data-usa-gdp-growth.json
│   │   │   │   ├── graph-types.html
│   │   │   │   ├── image.html
│   │   │   │   ├── index.html
│   │   │   │   ├── interacting-axes.html
│   │   │   │   ├── interacting.html
│   │   │   │   ├── layout.css
│   │   │   │   ├── multiple-axes.html
│   │   │   │   ├── navigate.html
│   │   │   │   ├── percentiles.html
│   │   │   │   ├── pie.html
│   │   │   │   ├── realtime.html
│   │   │   │   ├── resize.html
│   │   │   │   ├── selection.html
│   │   │   │   ├── setting-options.html
│   │   │   │   ├── stacking.html
│   │   │   │   ├── symbols.html
│   │   │   │   ├── thresholding.html
│   │   │   │   ├── time.html
│   │   │   │   ├── tracking.html
│   │   │   │   ├── turning-series.html
│   │   │   │   ├── visitors.html
│   │   │   │   └── zooming.html
│   │   │   ├── excanvas.js
│   │   │   ├── jquery.colorhelpers.js
│   │   │   ├── jquery.flot.crosshair.js
│   │   │   ├── jquery.flot.fillbetween.js
│   │   │   ├── jquery.flot.image.js
│   │   │   ├── jquery.flot.js
│   │   │   ├── jquery.flot.navigate.js
│   │   │   ├── jquery.flot.pie.js
│   │   │   ├── jquery.flot.resize.js
│   │   │   ├── jquery.flot.selection.js
│   │   │   ├── jquery.flot.stack.js
│   │   │   ├── jquery.flot.symbol.js
│   │   │   ├── jquery.flot.threshold.js
│   │   │   └── jquery.js
│   │   ├── font-awesome/
│   │   │   ├── css/
│   │   │   │   └── font-awesome.css
│   │   │   ├── fonts/
│   │   │   │   └── FontAwesome.otf
│   │   │   ├── less/
│   │   │   │   ├── bordered-pulled.less
│   │   │   │   ├── core.less
│   │   │   │   ├── fixed-width.less
│   │   │   │   ├── font-awesome.less
│   │   │   │   ├── icons.less
│   │   │   │   ├── larger.less
│   │   │   │   ├── list.less
│   │   │   │   ├── mixins.less
│   │   │   │   ├── path.less
│   │   │   │   ├── rotated-flipped.less
│   │   │   │   ├── spinning.less
│   │   │   │   ├── stacked.less
│   │   │   │   └── variables.less
│   │   │   └── scss/
│   │   │       ├── _bordered-pulled.scss
│   │   │       ├── _core.scss
│   │   │       ├── _fixed-width.scss
│   │   │       ├── _icons.scss
│   │   │       ├── _larger.scss
│   │   │       ├── _list.scss
│   │   │       ├── _mixins.scss
│   │   │       ├── _path.scss
│   │   │       ├── _rotated-flipped.scss
│   │   │       ├── _spinning.scss
│   │   │       ├── _stacked.scss
│   │   │       ├── _variables.scss
│   │   │       └── font-awesome.scss
│   │   ├── fullcalendar-1.6.4/
│   │   │   ├── changelog.txt
│   │   │   ├── demos/
│   │   │   │   ├── agenda-views.html
│   │   │   │   ├── basic-views.html
│   │   │   │   ├── default.html
│   │   │   │   ├── external-dragging.html
│   │   │   │   ├── gcal.html
│   │   │   │   ├── json-events.php
│   │   │   │   ├── json.html
│   │   │   │   ├── selectable.html
│   │   │   │   └── theme.html
│   │   │   ├── fullcalendar/
│   │   │   │   ├── fullcalendar.css
│   │   │   │   ├── fullcalendar.js
│   │   │   │   ├── fullcalendar.print.css
│   │   │   │   └── gcal.js
│   │   │   └── license.txt
│   │   └── jQuery-Knob/
│   │       ├── README.md
│   │       ├── index.html
│   │       ├── js/
│   │       │   └── jquery.knob.js
│   │       └── knob.jquery.json
│   └── stylesheets/
│       ├── custom.css
│       ├── elements.css
│       ├── isotope.css
│       ├── money_recept.css
│       ├── premium.css
│       ├── root/
│       │   ├── root1.css
│       │   ├── root2.css
│       │   └── root3.css
│       └── theme.css
├── subject_action.php
├── subject_list.php
├── test.php
├── theme.php
├── theme_action.php
├── tool/
│   ├── School/
│   │   └── School id card/
│   │       ├── index.html
│   │       └── style.css
│   ├── chart_api/
│   │   └── canvas_api.js
│   ├── color_picker/
│   │   ├── jscolor-example.html
│   │   └── jscolor.js
│   ├── date_picker/
│   │   ├── css/
│   │   │   ├── bootstrap-datepicker.css
│   │   │   ├── bootstrap-datepicker.standalone.css
│   │   │   ├── bootstrap-datepicker3.css
│   │   │   └── bootstrap-datepicker3.standalone.css
│   │   └── js/
│   │       └── bootstrap-datepicker.js
│   ├── datepickk-master/
│   │   └── datepickk-master/
│   │       ├── .babelrc
│   │       ├── .gitignore
│   │       ├── .travis.yml
│   │       ├── LICENSE
│   │       ├── README.md
│   │       ├── bower.json
│   │       ├── dist/
│   │       │   ├── datepickk.css
│   │       │   ├── datepickk.js
│   │       │   ├── doc.css
│   │       │   └── doc.js
│   │       ├── docs/
│   │       │   ├── _button.less
│   │       │   ├── _colors.less
│   │       │   ├── _grid.less
│   │       │   ├── _variables.less
│   │       │   ├── demo.js
│   │       │   └── doc.less
│   │       ├── index.html
│   │       ├── package.json
│   │       ├── src/
│   │       │   ├── css/
│   │       │   │   └── datepickk.less
│   │       │   └── js/
│   │       │       └── datepickk.js
│   │       └── webpack.config.js
│   ├── pdf/
│   │   ├── FAQ.htm
│   │   ├── changelog.htm
│   │   ├── doc/
│   │   │   ├── __construct.htm
│   │   │   ├── acceptpagebreak.htm
│   │   │   ├── addfont.htm
│   │   │   ├── addlink.htm
│   │   │   ├── addpage.htm
│   │   │   ├── aliasnbpages.htm
│   │   │   ├── cell.htm
│   │   │   ├── close.htm
│   │   │   ├── error.htm
│   │   │   ├── footer.htm
│   │   │   ├── getpageheight.htm
│   │   │   ├── getpagewidth.htm
│   │   │   ├── getstringwidth.htm
│   │   │   ├── getx.htm
│   │   │   ├── gety.htm
│   │   │   ├── header.htm
│   │   │   ├── image.htm
│   │   │   ├── index.htm
│   │   │   ├── line.htm
│   │   │   ├── link.htm
│   │   │   ├── ln.htm
│   │   │   ├── multicell.htm
│   │   │   ├── output.htm
│   │   │   ├── pageno.htm
│   │   │   ├── rect.htm
│   │   │   ├── setauthor.htm
│   │   │   ├── setautopagebreak.htm
│   │   │   ├── setcompression.htm
│   │   │   ├── setcreator.htm
│   │   │   ├── setdisplaymode.htm
│   │   │   ├── setdrawcolor.htm
│   │   │   ├── setfillcolor.htm
│   │   │   ├── setfont.htm
│   │   │   ├── setfontsize.htm
│   │   │   ├── setkeywords.htm
│   │   │   ├── setleftmargin.htm
│   │   │   ├── setlinewidth.htm
│   │   │   ├── setlink.htm
│   │   │   ├── setmargins.htm
│   │   │   ├── setrightmargin.htm
│   │   │   ├── setsubject.htm
│   │   │   ├── settextcolor.htm
│   │   │   ├── settitle.htm
│   │   │   ├── settopmargin.htm
│   │   │   ├── setx.htm
│   │   │   ├── setxy.htm
│   │   │   ├── sety.htm
│   │   │   ├── text.htm
│   │   │   └── write.htm
│   │   ├── font/
│   │   │   ├── courier.php
│   │   │   ├── courierb.php
│   │   │   ├── courierbi.php
│   │   │   ├── courieri.php
│   │   │   ├── helvetica.php
│   │   │   ├── helveticab.php
│   │   │   ├── helveticabi.php
│   │   │   ├── helveticai.php
│   │   │   ├── symbol.php
│   │   │   ├── times.php
│   │   │   ├── timesb.php
│   │   │   ├── timesbi.php
│   │   │   ├── timesi.php
│   │   │   └── zapfdingbats.php
│   │   ├── fpdf.css
│   │   ├── fpdf.php
│   │   ├── install.txt
│   │   ├── license.txt
│   │   ├── makefont/
│   │   │   ├── makefont.php
│   │   │   └── ttfparser.php
│   │   └── tutorial/
│   │       ├── 20k_c1.txt
│   │       ├── 20k_c2.txt
│   │       ├── calligra.php
│   │       ├── calligra.z
│   │       ├── countries.txt
│   │       ├── index.htm
│   │       ├── makefont.php
│   │       ├── tuto1.htm
│   │       ├── tuto1.php
│   │       ├── tuto2.htm
│   │       ├── tuto2.php
│   │       ├── tuto3.htm
│   │       ├── tuto3.php
│   │       ├── tuto4.htm
│   │       ├── tuto4.php
│   │       ├── tuto5.htm
│   │       ├── tuto5.php
│   │       ├── tuto6.htm
│   │       ├── tuto6.php
│   │       ├── tuto7.htm
│   │       └── tuto7.php
│   └── vendor/
│       └── vendor/
│           ├── autoload.php
│           ├── composer/
│           │   ├── ClassLoader.php
│           │   ├── LICENSE
│           │   ├── autoload_classmap.php
│           │   ├── autoload_namespaces.php
│           │   ├── autoload_psr4.php
│           │   ├── autoload_real.php
│           │   ├── autoload_static.php
│           │   └── installed.json
│           └── picqer/
│               └── php-barcode-generator/
│                   ├── LICENSE.md
│                   ├── Readme.md
│                   ├── _gitignore.txt
│                   ├── _travis.yml
│                   ├── composer.json
│                   ├── generate-verified-files.php
│                   ├── phpunit.xml
│                   ├── src/
│                   │   ├── BarcodeGenerator.php
│                   │   ├── BarcodeGeneratorHTML.php
│                   │   ├── BarcodeGeneratorJPG.php
│                   │   ├── BarcodeGeneratorPNG.php
│                   │   ├── BarcodeGeneratorSVG.php
│                   │   └── Exceptions/
│                   │       ├── BarcodeException.php
│                   │       ├── InvalidCharacterException.php
│                   │       ├── InvalidCheckDigitException.php
│                   │       ├── InvalidFormatException.php
│                   │       ├── InvalidLengthException.php
│                   │       └── UnknownTypeException.php
│                   └── tests/
│                       ├── BarcodeTest.php
│                       └── verified-files/
│                           └── 081231723897-code128.html
├── upload/
│   └── index.php
├── user_action.php
├── user_info.php
├── user_list.php
└── watermark.php
Download .txt
SYMBOL INDEX (1763 symbols across 160 files)

FILE: barcode.php
  function barcode (line 22) | function barcode( $filepath="", $text="0", $size="20", $orientation="hor...

FILE: config/connect.php
  class database (line 4) | class database {
    method __construct (line 27) | public function __construct(){
    method connection (line 34) | public function connection(){
    method date (line 43) | public function date(){
    method get_now_time (line 47) | public function get_now_time(){
    method set_login_user (line 53) | public function set_login_user($uid,$ip,$browser){
    method select (line 59) | public function select($query){
    method set_institute_info (line 63) | public function set_institute_info(){
    method date_to_string (line 78) | public function date_to_string($date){
    method get_select_last_id (line 82) | public function get_select_last_id($query){
    method process_mysql_array (line 90) | public function process_mysql_array($info){
    method get_sql_array (line 100) | public function get_sql_array($sql){
    method action_link (line 111) | public function action_link($table){
    method insert_sql (line 123) | public function insert_sql($arr,$table){
    method Update_sql (line 133) | public function Update_sql($arr,$table){
    method get_previous_data (line 149) | public function get_previous_data($table,$id){
    method sql_action (line 157) | public function sql_action($table,$action,$info,$msg="yes"){

FILE: config/dbclass.php
  class dbclass (line 4) | class dbclass {
    method __construct (line 19) | public function __construct(){
    method connection (line 25) | public function connection(){
    method select (line 34) | public function select($query){

FILE: layout/js/bubble.js
  function get_theme_list (line 5) | function get_theme_list(){
  function change_theme (line 23) | function change_theme(theme_id){

FILE: layout/js/nav_bar_script.js
  function sql_editor (line 4) | function sql_editor(){
  function sql_editor_run (line 19) | function sql_editor_run(){
  function live_chat_nav (line 36) | function live_chat_nav(){
  function load_chat_body_data (line 57) | function load_chat_body_data(){
  function send_message_chat (line 76) | function send_message_chat(){
  function student_info_nav_bar (line 104) | function student_info_nav_bar(){
  function sms_state_nav (line 123) | function sms_state_nav(){
  function nav_bar_student_action (line 140) | function nav_bar_student_action(type){
  function nav_bar_student_final_action (line 156) | function nav_bar_student_final_action(type){

FILE: layout/site_script.js
  function script_test (line 1) | function script_test(){
  function get_ajax (line 5) | function get_ajax(action_data,data){
  function loader (line 27) | function loader(divname,size=0){
  function btn_loader (line 38) | function btn_loader(btn){
  function get_value (line 43) | function get_value(div){
  function set_html (line 48) | function set_html(div,val){
  function set_value (line 52) | function set_value(div,val){
  function get_checkbox_value (line 56) | function get_checkbox_value(field_name){
  function print_action (line 72) | function print_action(url,width=1000,height=800){
  function print (line 81) | function print(divName){

FILE: page/account/js/expence.js
  function get_expence_form (line 12) | function get_expence_form(type,id=0){
  function expence_action (line 40) | function expence_action(type,id=0){
  function filter_data (line 87) | function filter_data(data){

FILE: page/account/js/income.js
  function get_income_form (line 12) | function get_income_form(type,id=0){
  function income_action (line 40) | function income_action(type,id=0){
  function filter_data (line 87) | function filter_data(data){

FILE: page/attend/js/attend.js
  function get_action_data (line 8) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function attend_panel (line 18) | function attend_panel(){
  function take_attend (line 58) | function take_attend(){
  function attend_report (line 73) | function attend_report(status=2){
  function attend_sms (line 89) | function attend_sms(){
  function send_attend_sms (line 104) | function send_attend_sms(){
  function select_program (line 137) | function select_program(){
  function save_attend (line 161) | function save_attend(info){
  function p (line 209) | function p(val){

FILE: page/batch/batch_script.js
  function get_batch_form (line 11) | function get_batch_form(type, id = 0) {
  function batch_action (line 37) | function batch_action(type, id = 0) {
  function get_data (line 74) | function get_data() {
  function filter_data (line 86) | function filter_data(data) {

FILE: page/editor/js/sms_editor.js
  function select (line 1) | function select(className){
  function ajax_enjin (line 10) | function ajax_enjin(className){
  function clear (line 31) | function clear(className){
  function set_header_title (line 39) | function set_header_title(title){
  function title_name (line 44) | function title_name(className){
  function key (line 51) | function key(){
  function count_len (line 79) | function count_len(){
  function test (line 86) | function test(){
  function setSelectionRange (line 91) | function setSelectionRange(input, selectionStart, selectionEnd) {
  function setCaretToPos (line 105) | function setCaretToPos (input, pos) {
  function loader1 (line 109) | function loader1(divname){
  function close_loader (line 112) | function close_loader(divname){

FILE: page/exam/js/exam.js
  function get_exam_form (line 12) | function get_exam_form(type,id=0){
  function exam_action (line 40) | function exam_action(type,id=0){
  function select_program (line 93) | function select_program(){
  function filter_data (line 112) | function filter_data(data){

FILE: page/exam_page/exam_category/js/script.js
  function get_action_data (line 5) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function get_exam_form (line 14) | function get_exam_form(type,id=0){
  function exam_category_action (line 42) | function exam_category_action(type,id=0){
  function filter_data (line 87) | function filter_data(data){

FILE: page/exam_page/exam_panel/js/add_result_script.js
  function add_result (line 4) | function add_result(){
  function check_id (line 13) | function check_id(row_num){
  function process_check_id_response (line 50) | function process_check_id_response(row_name,response){
  function add_result_resonse_data_make (line 58) | function add_result_resonse_data_make(error){
  function save_result (line 89) | function save_result(){

FILE: page/exam_page/exam_panel/js/exam_panel.js
  function get_action_data (line 8) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function program_select (line 17) | function program_select(){
  function view_exam_panel (line 37) | function view_exam_panel(){
  function view_exam (line 68) | function view_exam(exam_id){
  function get_dashboard (line 84) | function get_dashboard(){
  function get_exam_list (line 94) | function get_exam_list(){
  function admit_card (line 104) | function admit_card(){
  function exam_control (line 115) | function exam_control(type){

FILE: page/id_card/id_card_editor/js/script.js
  function get_action_data (line 5) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function load_id_card (line 14) | function load_id_card(){
  function click_option (line 22) | function click_option(btn){
  function test (line 29) | function test(){

FILE: page/index/js/dashboard.js
  function get_action_data (line 8) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function live_site_action (line 18) | function live_site_action(){
  function get_activity_info (line 37) | function get_activity_info(id){
  function reload_activity (line 47) | function reload_activity(id){

FILE: page/index/js/graph.js
  function graph (line 2) | function graph(data,data1){

FILE: page/install/js/install_system.js
  function get_value (line 5) | function get_value(div){
  function view_install_page (line 9) | function view_install_page(){
  function install_first_step (line 27) | function install_first_step(){

FILE: page/login/js/ajax.js
  function hexToRgb (line 9) | function hexToRgb(e){var a=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replac...
  function clamp (line 9) | function clamp(e,a,t){return Math.min(Math.max(e,a),t)}
  function isInArray (line 9) | function isInArray(e,a){return a.indexOf(e)>-1}
  function e (line 9) | function e(){i.canvas.ctx.drawImage(r,a.x-t,a.y-t,2*t,2*t/a.img.ratio)}
  function a (line 9) | function a(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}
  function t (line 9) | function t(a,t,s,n,c){if(a!=t)if(i.tmp.bubble_duration_end){if(void 0!=s...
  function a (line 9) | function a(){var a=Math.atan2(d,p);if(e.vx=u*Math.cos(a),e.vy=u*Math.sin...

FILE: page/login/js/script.js
  function get_value (line 3) | function get_value(div){
  function set_html (line 7) | function set_html(div,text){
  function login_area (line 12) | function login_area(per){
  function login (line 17) | function login(){
  function fun_wait (line 45) | function fun_wait(data){

FILE: page/login/login.php
  function loader (line 64) | function loader(){

FILE: page/notice/js/notice.js
  function send_sms_form (line 12) | function send_sms_form(id){
  function select_program (line 23) | function select_program(){
  function send_sms (line 43) | function send_sms(id){
  function get_notice_form (line 75) | function get_notice_form(type,id=0){
  function notice_action (line 103) | function notice_action(type,id=0){
  function filter_data (line 149) | function filter_data(data){
  function key (line 164) | function key(){
  function count_len (line 192) | function count_len(){
  function setSelectionRange (line 201) | function setSelectionRange(input, selectionStart, selectionEnd) {
  function setCaretToPos (line 215) | function setCaretToPos (input, pos) {

FILE: page/notice/notice_list.php
  function generateStrongPassword (line 15) | function generateStrongPassword($length = 9, $add_dashes = false, $avail...

FILE: page/notice/notice_script/notice.js
  function program (line 1) | function program(){
  function batch (line 21) | function batch(){
  function send_btn (line 42) | function send_btn(id){
  function send_sms (line 58) | function send_sms(){
  function save_notice (line 91) | function save_notice(){
  function send_notice_pre (line 124) | function send_notice_pre(id){
  function send_notice (line 128) | function send_notice(){
  function loader1 (line 132) | function loader1(divname){
  function close_loader1 (line 135) | function close_loader1(divname){

FILE: page/program/program_script.js
  function get_program_form (line 12) | function get_program_form(type, id = 0) {
  function select_year (line 39) | function select_year(pid){
  function program_action (line 56) | function program_action(type, id = 0) {
  function get_data (line 95) | function get_data(id) {
  function program_type_select (line 118) | function program_type_select(){
  function set_payment (line 137) | function set_payment(id){
  function update_payment_input (line 157) | function update_payment_input(id,fee){
  function update_payment_save (line 176) | function update_payment_save(id){
  function set_payment_btn (line 206) | function set_payment_btn(id){
  function filter_data (line 243) | function filter_data(data) {

FILE: page/report/js/attend_report.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function attend_report (line 17) | function attend_report(){
  function select_program (line 57) | function select_program(){
  function year_set (line 74) | function year_set(program_id){
  function select_year (line 91) | function select_year(){

FILE: page/report/js/expence_report.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function view_expence_report (line 16) | function view_expence_report(){

FILE: page/report/js/income_report.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function view_income_report (line 16) | function view_income_report(){

FILE: page/report/js/payment_report.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function view_payment_report (line 16) | function view_payment_report(){

FILE: page/report/js/profit_report.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function view_profit_report (line 16) | function view_profit_report(){

FILE: page/result/add_result.js
  function add_btn (line 5) | function add_btn() {
  function add_btn_hwritten (line 18) | function add_btn_hwritten() {
  function add_btn_hmcq (line 30) | function add_btn_hmcq() {
  function remove_education_fields (line 44) | function remove_education_fields(rid) {
  function save_student_result (line 51) | function save_student_result(){
  function test (line 112) | function test() {
  function program (line 131) | function program() {
  function exam (line 152) | function  exam() {
  function subject (line 157) | function subject() {
  function add_result (line 178) | function add_result() {
  function show_result (line 209) | function show_result(loader_msg) {
  function update_result (line 240) | function update_result(id){
  function delete_result (line 274) | function delete_result(id){
  function send_sms (line 299) | function send_sms(){
  function send_sms_sending (line 332) | function send_sms_sending(){
  function loader (line 369) | function loader(divname){
  function close_loader (line 372) | function close_loader(divname){

FILE: page/result/js/result.js
  function get_action_data (line 9) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function add_btn (line 20) | function add_btn() {
  function add_btn_hwritten (line 38) | function add_btn_hwritten() {
  function add_btn_hmcq (line 50) | function add_btn_hmcq() {
  function remove_education_fields (line 64) | function remove_education_fields(rid) {
  function save_student_result (line 69) | function save_student_result(){
  function select_program (line 125) | function select_program(){
  function select_subject (line 145) | function select_subject(){
  function add_result (line 171) | function add_result(){
  function show_result (line 186) | function show_result(){
  function update_result (line 201) | function update_result(id){
  function delete_result (line 235) | function delete_result(result_id){
  function update_result_form (line 257) | function update_result_form(result_id){
  function delete_result_form (line 268) | function delete_result_form(result_id){
  function send_sms (line 279) | function send_sms(exam_id){
  function send_sms_form (line 312) | function send_sms_form(){
  function check_select_error (line 329) | function check_select_error(program_id,subject_id,exam_id){

FILE: page/result/result.js
  function roll_find (line 1) | function roll_find(){
  function exam_find (line 26) | function exam_find(){
  function show_result (line 48) | function show_result(){
  function id_cheak (line 78) | function id_cheak(id){
  function loader (line 94) | function loader(divname){
  function close_loader (line 97) | function close_loader(divname){

FILE: page/setting/js/setting.js
  function reset_main_logo (line 32) | function reset_main_logo(){
  function reset_logo (line 48) | function reset_logo(){

FILE: page/sms/js/sms_script.js
  function get_sms_form (line 12) | function get_sms_form(type,id=0){
  function sms_action (line 40) | function sms_action(type,id=0){
  function filter_data (line 88) | function filter_data(data){

FILE: page/student/js_script/student_action.js
  function loader (line 26) | function loader(divname){

FILE: page/student/profile.js
  function select (line 1) | function select(className){
  function ajax_enjin (line 10) | function ajax_enjin(className){
  function clear (line 31) | function clear(className){
  function set_header_title (line 39) | function set_header_title(title){
  function title_name (line 44) | function title_name(className){
  function key (line 52) | function key(){
  function count_len (line 80) | function count_len(){
  function test (line 87) | function test(){
  function setSelectionRange (line 92) | function setSelectionRange(input, selectionStart, selectionEnd) {
  function setCaretToPos (line 106) | function setCaretToPos (input, pos) {
  function loader (line 110) | function loader(divname){
  function close_loader (line 113) | function close_loader(divname){
  function send_sms (line 119) | function send_sms(){

FILE: page/student/student_list.js
  function program (line 3) | function program(){
  function view (line 26) | function view(){
  function overview (line 52) | function overview(){
  function student_list (line 73) | function student_list(){
  function get_id_card (line 94) | function get_id_card(){
  function go_to_profile (line 115) | function go_to_profile(id){
  function set_header (line 122) | function set_header(name){
  function close_loader (line 127) | function close_loader(divname){

FILE: page/student/student_list/js/payment_script.js
  function select_payment_type (line 4) | function select_payment_type(){
  function select_payment_year (line 32) | function select_payment_year(){
  function select_payment_month (line 46) | function select_payment_month(){
  function show_payment_panel (line 60) | function show_payment_panel(){
  function get_payment_option (line 79) | function get_payment_option(category) {
  function get_list_payment (line 94) | function get_list_payment(status){
  function view_payment_history (line 112) | function view_payment_history(payment_id){
  function program_overview_send_sms (line 121) | function program_overview_send_sms(){

FILE: page/student/student_list/js/script.js
  function get_action_data (line 11) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function program_select (line 20) | function program_select(){
  function view_program (line 30) | function view_program(){
  function get_action (line 61) | function get_action(action){
  function view_student (line 73) | function view_student(id){
  function reload_profile (line 79) | function reload_profile(id){

FILE: page/student/student_profile/js/info.js
  function info (line 27) | function info() {
  function update_profile_form (line 40) | function update_profile_form(){

FILE: page/student/student_profile/js/payment.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function payment (line 16) | function payment() {
  function select_payment_program (line 30) | function select_payment_program() {
  function view_payment (line 41) | function view_payment() {
  function view_payment_panel (line 68) | function view_payment_panel(payment_id) {
  function set_payment (line 80) | function set_payment(program_id, year, month,type) {
  function save_set_fee (line 98) | function save_set_fee(program_id,month,year,type){
  function add_extra_payment_form (line 133) | function add_extra_payment_form(){
  function add_extra_fee (line 144) | function add_extra_fee(){
  function update_payment_form (line 184) | function update_payment_form(payment_id){
  function add_pay_form (line 195) | function add_pay_form(payment_id){
  function update_payment (line 206) | function update_payment(payment_id,type){
  function save_pay_ammount (line 241) | function save_pay_ammount(payment_id){
  function payment_panel (line 268) | function payment_panel() {
  function delete_payment_form (line 277) | function delete_payment_form(pay_id,payment_id){
  function delete_payment (line 292) | function delete_payment(pay_id,payment_id){
  function print_money_recept (line 309) | function print_money_recept(id){
  function send_sms_page (line 318) | function send_sms_page(id){
  function send_sms (line 334) | function send_sms(){

FILE: page/student/student_profile/js/profile1.js
  function personal_info (line 4) | function personal_info(){
  function program (line 9) | function program(){
  function payment (line 14) | function payment(){
  function result (line 19) | function result(){
  function message (line 23) | function message(){
  function add_program (line 28) | function add_program(){
  function view_payment_month_info (line 46) | function view_payment_month_info(){
  function get_data (line 62) | function get_data(per){
  function save_program (line 81) | function save_program(){
  function open_dilog_delete (line 122) | function open_dilog_delete(id){
  function delete_program (line 126) | function delete_program(){
  function edit_program (line 149) | function edit_program(admit_id){
  function edit_program_action (line 154) | function edit_program_action(admit_id,msg=""){
  function update_program (line 178) | function update_program(admit_id){
  function open_dilog_view_program (line 214) | function open_dilog_view_program(program_id){
  function add_batch (line 231) | function add_batch(){
  function set_header (line 256) | function set_header(name){
  function loader (line 260) | function loader(divname){
  function close_loader (line 263) | function close_loader(divname){

FILE: page/student/student_profile/js/profile_data.js
  function set_profile_data (line 5) | function set_profile_data(id){

FILE: page/student/student_profile/js/program.js
  function program (line 2) | function program() {
  function add_program (line 16) | function add_program(){
  function edit_program_area (line 28) | function edit_program_area(id){
  function update_program (line 40) | function update_program(admit_id){
  function delete_program_form (line 70) | function delete_program_form(id){
  function delete_program (line 80) | function delete_program(id){
  function add_batch (line 98) | function add_batch(){
  function save_add_program (line 112) | function save_add_program(){
  function view_program (line 142) | function view_program(admit_id){
  function program_id_card (line 162) | function program_id_card(admit_id){
  function program_view_info (line 172) | function program_view_info(admit_id){
  function send_admission_sms (line 182) | function send_admission_sms(admit_id){
  function send_admission_sms_area (line 207) | function send_admission_sms_area(admit_id){
  function admission_recept (line 217) | function admission_recept(admit_id){
  function printDiv (line 227) | function printDiv(divName) {

FILE: page/subject/subject_script.js
  function get_subject_form (line 12) | function get_subject_form(type,id=0){
  function subject_action (line 40) | function subject_action(type,id=0){
  function filter_data (line 86) | function filter_data(data){

FILE: page/user/user_info.js
  function update_password (line 25) | function update_password(){
  function get_user_data (line 32) | function get_user_data(){
  function set_data_field (line 51) | function set_data_field(data){
  function set_data (line 65) | function set_data(id,text){
  function set_update_area (line 69) | function set_update_area(){
  function load_old_pass (line 75) | function load_old_pass(){
  function next_step_press (line 92) | function next_step_press(){
  function load_new_pass (line 121) | function load_new_pass(){
  function save_password (line 137) | function save_password(){
  function new_pass_in (line 163) | function new_pass_in(){
  function update_profile (line 173) | function update_profile(){
  function loader (line 183) | function loader(divname){
  function close_loader (line 186) | function close_loader(divname){

FILE: page/user/user_list/js/user_list.js
  function get_action_data (line 7) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function add_user (line 18) | function add_user(){
  function get_user_list (line 30) | function get_user_list(type){
  function active_button (line 46) | function active_button(){

FILE: page/user/user_profile/js/user_profile.js
  function upload_profile_photo (line 28) | function upload_profile_photo() {
  function get_action_data (line 82) | function get_action_data(_div = modal_body, _load = 0, _url = url) {
  function set_user_id (line 92) | function set_user_id(id) {
  function change_profile_photo (line 97) | function change_profile_photo() {
  function update_profile_form (line 110) | function update_profile_form() {
  function update_user_status_form (line 123) | function update_user_status_form(){
  function update_user_status (line 133) | function update_user_status(status){
  function update_user_role_form (line 153) | function update_user_role_form(){
  function update_user_role (line 163) | function update_user_role(){
  function update_profile_info (line 180) | function update_profile_info(){
  function user_info (line 214) | function user_info() {
  function user_activity (line 224) | function user_activity(page=1) {
  function change_profile_photo (line 240) | function change_profile_photo() {
  function change_password_form (line 253) | function change_password_form(){

FILE: page_action/exam_panel/exam_category_panel/admit_card.php
  function span_mark (line 5) | function span_mark($mark,$total){

FILE: page_action/exam_panel/exam_category_panel/category_dashboard.php
  function need_css (line 50) | function need_css(){

FILE: page_action/install/install.php
  function viewInstallPage (line 11) | function viewInstallPage(){
  function form_step1 (line 52) | function form_step1()
  function successfullyInstall (line 80) | function successfullyInstall(){
  function form_step2 (line 105) | function form_step2()

FILE: page_action/nav_bar/chat_system.php
  function non_login_user_chat (line 81) | function non_login_user_chat($user,$data){
  function login_user_chat (line 106) | function login_user_chat($user,$data){
  function chat_css (line 138) | function chat_css(){

FILE: page_action/nav_bar/nav_bar.php
  function need_css (line 139) | function need_css(){

FILE: page_action/result/result_action.php
  function exam_header (line 341) | function exam_header($exam,$program,$subject,$exam_id){

FILE: page_action/student_list/payment_option.php
  function get_payment_status_list (line 186) | function get_payment_status_list($site,$student,$payment_list,$status_pe...
  function make_dive_payment (line 235) | function make_dive_payment($name,$number,$icon){
  function over_view_css (line 260) | function over_view_css(){ ?>
  function get_program_overview_percent_css (line 476) | function get_program_overview_percent_css($percent){ ?>

FILE: page_action/student_list/payment_overview.php
  function payment_overview_css (line 89) | function payment_overview_css(){

FILE: page_action/student_list/student_list_content.php
  function need_student_list_css (line 76) | function need_student_list_css(){

FILE: page_action/student_list/student_payment_history.php
  function need_payment_panel_css (line 162) | function need_payment_panel_css(){

FILE: page_action/student_profile/profile.php
  function student_info (line 89) | function student_info($id,$student,$student_ob){
  function program (line 177) | function program($student,$batch,$program,$id,$user){
  function add_program (line 237) | function add_program($program_ob,$student_id){
  function add_batch (line 251) | function add_batch($program_ob,$program_id){
  function view_program (line 272) | function view_program($admit_id){
  function payment_month (line 317) | function payment_month(){
  function payment (line 375) | function payment(){

FILE: page_action/user/user_profile.php
  function old_field (line 130) | function old_field()
  function new_field (line 141) | function new_field()
  function picture_upload_form (line 154) | function picture_upload_form($picture)
  function user_update_form (line 185) | function user_update_form($info,$site){

FILE: page_action/user/user_profile_body.php
  function need_css (line 191) | function need_css(){

FILE: script/account/account.php
  class account (line 4) | class account {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method expence_list (line 22) | public function expence_list(){
    method income_list (line 30) | public function income_list(){
    method get_separate_expance (line 39) | public function get_separate_expance($id){
    method get_separate_income (line 44) | public function get_separate_income($id){
    method expence_category (line 50) | public function expence_category(){

FILE: script/api/api.php
  class api (line 4) | class api {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){

FILE: script/attendence/attendence.php
  class attendence (line 4) | class attendence {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method get_attendence_info (line 21) | public function get_attendence_info($program_id,$batch_id,$student_id,...
    method get_present_list (line 30) | public function get_present_list($program_id,$batch_id,$date){
    method get_absent_list (line 37) | public function get_absent_list($program_id,$batch_id,$date){
    method get_absent_present_list (line 44) | public function get_absent_present_list($program_id,$batch_id,$date){

FILE: script/batch/batch.php
  class batch (line 7) | class batch
    method __construct (line 10) | public function __construct(){
    method select (line 17) | public function select($query){
    method day (line 21) | public function day($st){
    method day_sort (line 38) | public function day_sort($st){
    method day_index (line 56) | public function day_index(){
    method day_so_index (line 67) | public function day_so_index(){
    method num_array (line 79) | public function num_array($st){
    method convert_arr (line 84) | public function convert_arr($arr){
    method batch_info (line 91) | public function batch_info(){
    method selectd_day (line 112) | public function selectd_day($st){
    method get_batch_name (line 140) | public function get_batch_name($batch_id){

FILE: script/chat/chat.php
  class chat (line 4) | class chat {
    method __construct (line 9) | public function __construct(){
    method select (line 18) | public function select($query){
    method get_chat_list (line 23) | public function get_chat_list(){
    method get_chat_last_list (line 29) | public function get_chat_last_list($per){

FILE: script/contest/contest.php
  class contest (line 7) | class contest
    method __construct (line 10) | public function __construct(){
    method select (line 18) | public function select($query){
    method submission_info (line 25) | public function submission_info(){
    method user (line 42) | public function user(){

FILE: script/exam/exam.js
  function select_program (line 1) | function select_program() {
  function select_program_id (line 21) | function select_program_id(id){
  function select_subject (line 48) | function select_subject(id){
  function total (line 58) | function total(){
  function test (line 65) | function test(id){

FILE: script/exam/exam.php
  class exam_old (line 4) | class exam_old {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method get_exam_info (line 25) | public function get_exam_info(){

FILE: script/exam/exam_category.php
  class exam (line 4) | class exam {
    method __construct (line 9) | public function __construct(){
    method select (line 17) | public function select($query){
    method get_exam_category (line 23) | public function get_exam_category($category_id=0,$program_id=0){
    method get_exam_category_option (line 49) | public function get_exam_category_option($program_id){

FILE: script/graph/graph.php
  class graph (line 4) | class graph {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method get_last_sms_data (line 22) | public function get_last_sms_data($days){
    method get_site_activity_data (line 50) | public function get_site_activity_data($days){

FILE: script/id_card/id.php
  class id_card (line 4) | class id_card {
    method __construct (line 13) | public function __construct(){
    method select (line 29) | public function select($query){
    method get_printable_id (line 34) | public function get_printable_id($program_id,$batch_id,$student_id){
    method make_name (line 76) | public function make_name($name){
    method get_separate_id_card (line 81) | public function get_separate_id_card($student_id,$program_id,$batch_id){
    method get_id_card (line 86) | public function get_id_card($type="single"){

FILE: script/id_card/id_card.js
  function program (line 1) | function program(){
  function student_update (line 22) | function student_update(){
  function update_random (line 33) | function update_random(){
  function batch (line 38) | function batch(){
  function test (line 62) | function test(){
  function generate_button (line 66) | function generate_button(program_id,batch_id,student_id){
  function get_link (line 76) | function get_link(){
  function preview_id_card (line 90) | function preview_id_card(){
  function print_id_card (line 117) | function print_id_card(){
  function loader (line 125) | function loader(divname){
  function close_loader (line 128) | function close_loader(divname){

FILE: script/id_card/id_card.php
  class id_card (line 4) | class id_card {
    method __construct (line 13) | public function __construct(){
    method select (line 28) | public function select($query){
    method make_string (line 34) | public function make_string($name,$size){
    method get_id_card (line 42) | public function get_id_card($data){
    method id_card_css (line 188) | public function id_card_css(){

FILE: script/install/install.php
  class install (line 4) | class install {
    method __construct (line 8) | public function __construct(){
    method step_install (line 12) | public function step_install(){
    method check_config_file (line 18) | public function check_config_file(){
    method get_file_data (line 26) | public function get_file_data($file_name){

FILE: script/notice/notice.php
  class notice (line 3) | class notice {
    method __construct (line 7) | public function __construct(){
    method select (line 14) | public function select($query){
    method get_notice_info (line 20) | public function get_notice_info(){
    method test (line 37) | public function test(){

FILE: script/payment/payment.js
  function save_payment (line 1) | function save_payment(){
  function save (line 21) | function save(total,paid,due,date,id){
  function paid_fun (line 49) | function paid_fun(){
  function clear_val (line 66) | function clear_val(){
  function send_sms (line 72) | function send_sms(id){
  function update_field (line 96) | function update_field(){
  function payable_ammount (line 103) | function payable_ammount(id){
  function due_ammount (line 119) | function due_ammount(id){
  function table_info (line 138) | function table_info(student_id){
  function delete_table (line 152) | function delete_table(id){
  function hideModal (line 171) | function hideModal(){
  function print_money_receipt (line 180) | function print_money_receipt(){
  function loader (line 186) | function loader(divname){
  function close_loader (line 189) | function close_loader(divname){

FILE: script/payment/payment.php
  class payment (line 4) | class payment {
    method __construct (line 9) | public function __construct(){
    method select (line 17) | public function select($query){
    method get_set_payment_list (line 22) | public function get_set_payment_list($data){
    method make_student_list (line 70) | public function make_student_list($program_id,$batch_id){
    method process_student_payment_list (line 79) | public function process_student_payment_list($student_list,$payment_li...
    method program_payment_info (line 106) | public function program_payment_info($data){
    method get_payment_status_list (line 132) | public function get_payment_status_list($data){

FILE: script/payment/set_payment.php
  class set_payment (line 4) | class set_payment {
    method __construct (line 9) | public function __construct(){
    method select (line 20) | public function select($query){
    method get_set_payment_list (line 26) | public function get_set_payment_list(){
    method get_month_name (line 42) | public function get_month_name($month){
    method get_set_payment_list_by_id (line 48) | public function get_set_payment_list_by_id($program_id){
    method get_student_payment_list (line 62) | public function get_student_payment_list($student_id,$program_id){
    method get_student_payment_list_type (line 67) | public function get_student_payment_list_type($program_id,$student_id,...
    method receive_payment_info (line 75) | public function receive_payment_info($payment_id){
    method get_set_payment_by_id (line 125) | public function get_set_payment_by_id($condition,$data="*"){
    method get_payment_list (line 132) | public function get_payment_list($payment_id){
    method get_payment_receive_list (line 138) | public function get_payment_receive_list($condition){
    method check_date_interver (line 168) | public function check_date_interver($program_id,$year,$month){
    method get_month_list (line 183) | public function get_month_list($start,$end){
    method get_program_payment_year_option (line 229) | public function get_program_payment_year_option($program_info){
    method get_program_payment_month_option (line 237) | public function get_program_payment_month_option($program_info,$year){
    method check_insert (line 250) | public function check_insert($pid,$year,$month){
    method money_recept_sms (line 260) | public function money_recept_sms($id){
    method get_money_recept (line 283) | public function get_money_recept($id){

FILE: script/program/program.php
  class program (line 4) | class program {
    method __construct (line 12) | public function __construct(){
    method select (line 23) | public function select($query){
    method num_array (line 27) | public function num_array($st){
    method in_batch (line 32) | public function in_batch($in){
    method in_subject (line 46) | public function in_subject($in){
    method convert_arr (line 61) | public function convert_arr($arr){
    method get_program_info (line 75) | public function get_program_info(){
    method get_separate_program_info (line 103) | public function get_separate_program_info($select_value="*",$program_id){
    method get_program_type_option (line 110) | public function get_program_type_option($program_id){
    method get_payment_month_status (line 117) | function get_payment_month_status($info,$condition=""){
    method sum_of_payment (line 172) | function sum_of_payment(){
    method conver_string_table_id (line 178) | public function conver_string_table_id($st,$table){
    method select_subject (line 187) | public function select_subject($pro_id=-1){
    method select_batch (line 218) | public function select_batch($pro_id=-1){
    method select_program (line 251) | public function select_program($program_id=0){
    method option_subject (line 263) | public function option_subject($program_id,$subject_id=0){
    method get_program_batch (line 278) | public function get_program_batch($program_id){
    method get_select_option_batch (line 293) | public function get_select_option_batch($program_id){
    method select_batch_option (line 305) | public function select_batch_option($pro_id){
    method select_program_batch (line 318) | public function select_program_batch($program_id,$batch_id){
    method get_program_name (line 332) | public function get_program_name($program_id){
    method test (line 340) | public function test(){

FILE: script/program/program_form.php
  class program_form (line 4) | class program_form

FILE: script/report/report.php
  class report (line 4) | class report {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method get_payment_report_list (line 21) | public function get_payment_report_list($data){
    method get_month_name (line 61) | public function get_month_name($month){
    method get_expence_report (line 67) | public function get_expence_report($data){
    method get_income_report (line 78) | public function get_income_report($data){
    method get_profit_report (line 89) | public function get_profit_report($data){
    method get_student_attend_info (line 116) | public function get_student_attend_info($date1,$date2,$program_id,$bat...

FILE: script/result/result.php
  class result (line 4) | class result {
    method __construct (line 14) | public function __construct(){
    method select (line 25) | public function select($query){
    method get_exam_list (line 31) | public function get_exam_list($program_id,$subject_id){
    method get_sms_pending_id (line 36) | public function get_sms_pending_id($exam_id){
    method get_exam_list_option (line 41) | public function get_exam_list_option($program_id,$subject_id){
    method get_separeate_result (line 51) | public function get_separeate_result($result_id){
    method get_student_add_exam_list (line 57) | public function get_student_add_exam_list($exam_id){
    method get_exam_result (line 69) | public function get_exam_result($exam_id){
    method batch_return (line 111) | public function batch_return($id){
    method get_result_info1 (line 115) | public function get_result_info1($exam_id1){
    method get_result_info (line 159) | public function get_result_info(){
    method get_result (line 171) | public function get_result(){
    method search_array (line 198) | public function search_array($arr,$id){
    method student_result (line 213) | public function student_result($student_id,$exam_id){
    method best_mark (line 229) | public function best_mark($exam_id){
    method permission_for_save (line 240) | public function permission_for_save($student_id,$exam_id,$program_id){
    method get_avilable_sms_user (line 280) | public function get_avilable_sms_user($exam_id){
    method result_sms (line 293) | public function result_sms($value){

FILE: script/setting/setting.php
  class setting (line 4) | class setting {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method genaral_setting_info (line 22) | public function genaral_setting_info(){

FILE: script/site_activity/site_activity.php
  class site_activity (line 4) | class site_activity {
    method __construct (line 9) | public function __construct(){
    method select (line 17) | public function select($query){
    method get_site_activity (line 23) | public function get_site_activity(){
    method site_activity_list (line 29) | public function site_activity_list($total=10){
    method get_separate_activity (line 40) | public function get_separate_activity($id){
    method get_user_activity (line 49) | public function get_user_activity($uid){
    method get_activity_detail (line 56) | public function get_activity_detail($id){
    method data_compare (line 138) | public function data_compare($data1,$data2){
    method set_key_and_data (line 254) | public function set_key_and_data($line,$key,$value,$cmp){

FILE: script/site_content/calender.php
  class fun (line 5) | class    fun
    method test_fun (line 8) | public function test_fun(){

FILE: script/site_content/form.php
  class form (line 6) | class form {
    method requerd (line 9) | public function requerd($level,$name,$id,$icon,$value,$ex,$pla,$type){
    method not_requred (line 20) | public function not_requred($level,$name,$id,$icon,$value,$ex,$pla,$ty...
    method form_input (line 32) | public function form_input($level,$name,$id,$type="text",$icon="exclam...
    method test (line 46) | public function test(){

FILE: script/site_content/site_config.php
  class site_config (line 8) | class site_config extends form{}

FILE: script/site_content/site_content.php
  class site_content (line 10) | class site_content extends site_config
    method __construct (line 16) | public function __construct()
    method select (line 26) | public function select($query)
    method barcode (line 31) | public function barcode($text, $image = "PNG", $type = "TYPE_CODE_128")
    method get_md5 (line 40) | public function get_md5($st)
    method get_encode (line 51) | public function get_encode($st)
    method url_name (line 62) | public function url_name()
    method get_page_name (line 80) | public function get_page_name()
    method timeAgo (line 98) | public function timeAgo($timestamp)
    method welcome_time (line 125) | public function welcome_time($user_name)
    method myprint_r (line 143) | public function myprint_r($my_array)
    method array_to_string (line 150) | public function array_to_string($arr)
    method day (line 157) | public function day()
    method get_user_id (line 169) | public function get_user_id()
    method get_user_name (line 175) | public function get_user_name($uid)
    method make_name (line 181) | public function make_name($name, $len = 17)
    method header_info_area (line 187) | public function header_info_area()

FILE: script/sms/sms.php
  class sms (line 7) | class sms
    method __construct (line 14) | public function __construct($user_id)
    method select (line 25) | public function select($query)
    method get_buy_sms_list (line 30) | public function get_buy_sms_list()
    method get_send_sms_list (line 37) | public function get_send_sms_list()
    method get_separate_sms_buy (line 44) | public function get_separate_sms_buy($id){
    method send_sms (line 50) | public function send_sms($sms_list)
    method check_sms_balance_list (line 75) | public function check_sms_balance_list($sms_list)
    method sms_balance (line 100) | public function sms_balance()
    method check_getway_database (line 122) | public function check_getway_database(){
    method sms_dist (line 131) | public function sms_dist($total)
    method get_gateway_info (line 160) | public function get_gateway_info(){
    method send_mobile_phone (line 167) | public function send_mobile_phone($sms_list)
    method make_sms_list_package (line 189) | public function make_sms_list_package($sms_list){
    method insert_sms_database (line 221) | public function insert_sms_database($sms_list,$gateway_info)
    method save_pending_sms (line 241) | public function save_pending_sms($info){
    method get_pending_sms_list (line 248) | public function get_pending_sms_list(){
    method send_pending_sms (line 254) | public function send_pending_sms($pending_id){
    method send_sms_getway (line 267) | public function send_sms_getway($info)
    method make_sms_array (line 290) | public function make_sms_array($number, $text)
    method valid_mobile (line 306) | public function valid_mobile($number)
    method get_sms_recever_option (line 313) | public function get_sms_recever_option()
    method get_sms_recever_only_option (line 330) | public function get_sms_recever_only_option()
    method get_student_mobile_number (line 345) | public function get_student_mobile_number($student_id,$per){
    method get_syn (line 369) | public function get_syn()
    method get_syntext (line 379) | public function get_syntext()
    method syn_info (line 387) | public function syn_info($id)
    method get_sms (line 399) | public function get_sms($student_id, $text)
    method test (line 412) | public function test()

FILE: script/student/add_ajax.js
  function select_program (line 2) | function select_program(){
  function total_pament (line 23) | function total_pament(pid){
  function cal_advanced (line 39) | function cal_advanced(){
  function test (line 47) | function test(argument) {
  function attend (line 51) | function attend(){
  function loader (line 77) | function loader(){
  function close_loader (line 80) | function close_loader(){
  function edit_student (line 84) | function edit_student(id){

FILE: script/student/student.php
  class student (line 8) | class student extends student_edit
    method __construct (line 14) | public function __construct(){
    method select (line 23) | public function select($query){
    method valid_number (line 27) | public function valid_number($val){
    method valid_mobile_number (line 30) | public function valid_mobile_number($val){
    method get_student_info (line 34) | public function get_student_info(){
    method get_student_info1 (line 38) | public function get_student_info1(){
    method get_info (line 77) | public function get_info($student_id){
    method get_admit_program_info (line 87) | public function get_admit_program_info($admit_id){
    method stuednt_admission_sms (line 105) | public function stuednt_admission_sms($admit_id){
    method get_mobile_number (line 117) | public function get_mobile_number($student_id,$per){
    method get_student_list (line 128) | public function get_student_list($program_id,$batch_id=0){
    method process_array (line 136) | public function process_array($info){
    method get_separate_program_list (line 146) | public function get_separate_program_list($student_id){
    method get_admit_program_option (line 161) | public function get_admit_program_option($student_id){
    method get_student_program_info (line 168) | public function get_student_program_info($student_id){
    method get_student_program_option (line 174) | public function get_student_program_option($student_id){
    method get_program_list (line 184) | public function get_program_list(){
    method cheikh_student (line 198) | public function cheikh_student($program_id,$student_id){
    method select_pending_program_by_student (line 209) | public function select_pending_program_by_student($student_id){
    method select_program_by_student (line 226) | public function select_program_by_student($s_id){
    method new_id (line 240) | public function new_id(){
    method cheikh_student_program (line 258) | public function cheikh_student_program($student_id,$program_id){
    method cheikh_student_batch (line 269) | public function cheikh_student_batch($student_id,$program_id,$batch_id){
    method get_batch (line 283) | public function get_batch($batch_id){
    method get_total_student (line 299) | public function get_total_student($program_id,$batch_id){
    method find_student (line 304) | public function find_student($student_id){

FILE: script/student/student_edit.php
  class student_edit (line 7) | class student_edit {
    method __construct (line 17) | public function __construct(){
    method select (line 26) | public function select($query){
    method get_student_profile (line 33) | public function get_student_profile($student_id){
    method test_edit (line 187) | public function test_edit(){
    method student_edit_form (line 191) | public function student_edit_form($id){

FILE: script/subject/subject.php
  class subject (line 7) | class subject
    method __construct (line 10) | public function __construct(){
    method select (line 18) | public function select($query){
    method get_subject_info (line 25) | public function get_subject_info(){
    method get_new_subject_id (line 42) | public function get_new_subject_id(){

FILE: script/template_class/template_class.php
  class class_name (line 4) | class class_name {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){

FILE: script/theme/theme.php
  class theme (line 4) | class theme {
    method __construct (line 9) | public function __construct(){
    method select (line 16) | public function select($query){
    method get_theme_info (line 21) | public function get_theme_info(){
    method get_theme (line 40) | public function get_theme($theme_id){

FILE: script/user/user.php
  class user (line 4) | class user {
    method __construct (line 9) | public function __construct($id=""){
    method select (line 16) | public function select($query){
    method get_user_info (line 22) | public function get_user_info(){
    method cheikh_user (line 38) | public function cheikh_user($uid){
    method get_login_user (line 47) | public function get_login_user(){
    method get_browser (line 52) | public function get_browser($browser){
    method get_user_permission_list (line 72) | public function get_user_permission_list($permit){
    method user_permission_list (line 85) | public function user_permission_list(){
    method get_user_can_update_option (line 100) | public function get_user_can_update_option($user_role,$login_user_role){
    method get_user_permission (line 115) | public function get_user_permission($permission){

FILE: sql/install_sql.sql
  type `admit_program` (line 29) | CREATE TABLE `admit_program` (
  type `batch` (line 44) | CREATE TABLE `batch` (
  type `chat` (line 58) | CREATE TABLE `chat` (
  type `class` (line 71) | CREATE TABLE `class` (
  type `exam` (line 83) | CREATE TABLE `exam` (
  type `exam_category` (line 102) | CREATE TABLE `exam_category` (
  type `exam_list` (line 116) | CREATE TABLE `exam_list` (
  type `exam_mark` (line 132) | CREATE TABLE `exam_mark` (
  type `expence` (line 147) | CREATE TABLE `expence` (
  type `expence_category` (line 162) | CREATE TABLE `expence_category` (
  type `income` (line 174) | CREATE TABLE `income` (
  type `mark_category` (line 189) | CREATE TABLE `mark_category` (
  type `notice` (line 202) | CREATE TABLE `notice` (
  type `payment` (line 216) | CREATE TABLE `payment` (
  type `pending_sms` (line 231) | CREATE TABLE `pending_sms` (
  type `program` (line 243) | CREATE TABLE `program` (
  type `receive_payment` (line 263) | CREATE TABLE `receive_payment` (
  type `result` (line 278) | CREATE TABLE `result` (
  type `setting` (line 296) | CREATE TABLE `setting` (
  type `set_payment` (line 325) | CREATE TABLE `set_payment` (
  type `site_activity` (line 341) | CREATE TABLE `site_activity` (
  type `sms_add` (line 361) | CREATE TABLE `sms_add` (
  type `sms_list` (line 378) | CREATE TABLE `sms_list` (
  type `sms_setting` (line 395) | CREATE TABLE `sms_setting` (
  type `student` (line 409) | CREATE TABLE `student` (
  type `student_attendence` (line 438) | CREATE TABLE `student_attendence` (
  type `student_id` (line 453) | CREATE TABLE `student_id` (
  type `student_payment` (line 464) | CREATE TABLE `student_payment` (
  type `subject` (line 483) | CREATE TABLE `subject` (
  type `theme` (line 495) | CREATE TABLE `theme` (
  type `user` (line 540) | CREATE TABLE `user` (

FILE: student/app/lib/angular-route.js
  function shallowCopy (line 15) | function shallowCopy(src, dst) {
  function $RouteProvider (line 83) | function $RouteProvider() {
  function instantiateRoute (line 892) | function instantiateRoute($injector) {
  function $RouteParamsProvider (line 936) | function $RouteParamsProvider() {
  function ngViewFactory (line 1118) | function ngViewFactory($route, $anchorScroll, $animate) {
  function ngViewFillContentFactory (line 1195) | function ngViewFillContentFactory($compile, $controller, $route) {

FILE: student/content/mdb/js/addons/datatables-select.js
  function cellRange (line 227) | function cellRange( dt, idx, last )
  function disableMouseSelection (line 308) | function disableMouseSelection( dt )
  function enableMouseSelection (line 327) | function enableMouseSelection ( dt )
  function eventTrigger (line 447) | function eventTrigger ( api, type, args, any )
  function info (line 469) | function info ( api )
  function init (line 523) | function init ( ctx ) {
  function rowColumnRange (line 607) | function rowColumnRange( dt, type, idx, last )
  function clear (line 650) | function clear( ctx, force )
  function typeSelect (line 671) | function typeSelect ( e, dt, ctx, type, idx )
  function i18n (line 1034) | function i18n( label, def ) {
  function namespacedEvents (line 1041) | function namespacedEvents ( config ) {
  function enabled (line 1047) | function enabled ( dt, config ) {

FILE: student/content/mdb/js/addons/datatables.js
  function _fnHungarianMap (line 1671) | function _fnHungarianMap ( o )
  function _fnCamelToHungarian (line 1709) | function _fnCamelToHungarian ( src, user, force )
  function _fnLanguageCompat (line 1748) | function _fnLanguageCompat( lang )
  function _fnCompatOpts (line 1810) | function _fnCompatOpts ( init )
  function _fnCompatCols (line 1851) | function _fnCompatCols ( init )
  function _fnBrowserDetect (line 1871) | function _fnBrowserDetect( settings )
  function _fnReduce (line 1951) | function _fnReduce ( that, fn, init, start, end, inc )
  function _fnAddColumn (line 1985) | function _fnAddColumn( oSettings, nTh )
  function _fnColumnOptions (line 2017) | function _fnColumnOptions( oSettings, iCol, oOptions )
  function _fnAdjustColumnSizing (line 2148) | function _fnAdjustColumnSizing ( settings )
  function _fnVisibleToColumnIndex (line 2180) | function _fnVisibleToColumnIndex( oSettings, iMatch )
  function _fnColumnIndexToVisible (line 2198) | function _fnColumnIndexToVisible( oSettings, iMatch )
  function _fnVisbleColumns (line 2213) | function _fnVisbleColumns( oSettings )
  function _fnGetColumns (line 2236) | function _fnGetColumns( oSettings, sParam )
  function _fnColumnTypes (line 2255) | function _fnColumnTypes ( settings )
  function _fnApplyColumnDefs (line 2326) | function _fnApplyColumnDefs( oSettings, aoColDefs, aoCols, fn )
  function _fnAddData (line 2406) | function _fnAddData ( oSettings, aDataIn, nTr, anTds )
  function _fnAddTr (line 2456) | function _fnAddTr( settings, trs )
  function _fnNodeToDataIndex (line 2479) | function _fnNodeToDataIndex( oSettings, n )
  function _fnNodeToColumnIndex (line 2493) | function _fnNodeToColumnIndex( oSettings, iRow, n )
  function _fnGetCellData (line 2508) | function _fnGetCellData( settings, rowIdx, colIdx, type )
  function _fnSetCellData (line 2556) | function _fnSetCellData( settings, rowIdx, colIdx, val )
  function _fnSplitObjNotation (line 2578) | function _fnSplitObjNotation( str )
  function _fnGetObjectDataFn (line 2593) | function _fnGetObjectDataFn( mSource )
  function _fnSetObjectDataFn (line 2718) | function _fnSetObjectDataFn( mSource )
  function _fnGetDataMaster (line 2837) | function _fnGetDataMaster ( settings )
  function _fnClearTable (line 2848) | function _fnClearTable( settings )
  function _fnDeleteIndex (line 2864) | function _fnDeleteIndex( a, iTarget, splice )
  function _fnInvalidate (line 2903) | function _fnInvalidate( settings, rowIdx, src, colIdx )
  function _fnGetRowElements (line 2981) | function _fnGetRowElements( settings, row, colIdx, d )
  function _fnCreateTr (line 3090) | function _fnCreateTr ( oSettings, iRow, nTrIn, anTds )
  function _fnRowAttributes (line 3174) | function _fnRowAttributes( settings, row )
  function _fnBuildHead (line 3214) | function _fnBuildHead( oSettings )
  function _fnDrawHead (line 3300) | function _fnDrawHead( oSettings, aoSource, bIncludeHidden )
  function _fnDraw (line 3398) | function _fnDraw( oSettings )
  function _fnReDraw (line 3539) | function _fnReDraw( settings, holdPosition )
  function _fnAddOptionsHtml (line 3577) | function _fnAddOptionsHtml ( oSettings )
  function _fnDetectHeader (line 3733) | function _fnDetectHeader ( aLayout, nThead )
  function _fnGetUniqueThs (line 3808) | function _fnGetUniqueThs ( oSettings, nHeader, aLayout )
  function _fnBuildAjax (line 3845) | function _fnBuildAjax( oSettings, data, fn )
  function _fnAjaxUpdate (line 3978) | function _fnAjaxUpdate( settings )
  function _fnAjaxParameters (line 4009) | function _fnAjaxParameters( settings )
  function _fnAjaxUpdateDraw (line 4117) | function _fnAjaxUpdateDraw ( settings, json )
  function _fnAjaxDataSrc (line 4167) | function _fnAjaxDataSrc ( oSettings, json )
  function _fnFeatureHtmlFilter (line 4190) | function _fnFeatureHtmlFilter ( settings )
  function _fnFilterComplete (line 4278) | function _fnFilterComplete ( oSettings, oInput, iForce )
  function _fnFilterCustom (line 4331) | function _fnFilterCustom( settings )
  function _fnFilterColumn (line 4368) | function _fnFilterColumn ( settings, searchStr, colIdx, regex, smart, ca...
  function _fnFilter (line 4401) | function _fnFilter( settings, input, force, regex, smart, caseInsensitive )
  function _fnFilterCreateSearch (line 4456) | function _fnFilterCreateSearch( search, regex, smart, caseInsensitive )
  function _fnFilterData (line 4498) | function _fnFilterData ( settings )
  function _fnSearchToCamel (line 4571) | function _fnSearchToCamel ( obj )
  function _fnSearchToHung (line 4590) | function _fnSearchToHung ( obj )
  function _fnFeatureHtmlInfo (line 4606) | function _fnFeatureHtmlInfo ( settings )
  function _fnUpdateInfo (line 4640) | function _fnUpdateInfo ( settings )
  function _fnInfoMacros (line 4678) | function _fnInfoMacros ( settings, str )
  function _fnInitialise (line 4705) | function _fnInitialise ( settings )
  function _fnInitComplete (line 4789) | function _fnInitComplete ( settings, json )
  function _fnLengthChange (line 4804) | function _fnLengthChange ( settings, val )
  function _fnFeatureHtmlLength (line 4822) | function _fnFeatureHtmlLength ( settings )
  function _fnFeatureHtmlPaginate (line 4888) | function _fnFeatureHtmlPaginate ( settings )
  function _fnPageChange (line 4949) | function _fnPageChange ( settings, action, redraw )
  function _fnFeatureHtmlProcessing (line 5022) | function _fnFeatureHtmlProcessing ( settings )
  function _fnProcessingDisplay (line 5039) | function _fnProcessingDisplay ( settings, show )
  function _fnFeatureHtmlTable (line 5054) | function _fnFeatureHtmlTable ( settings )
  function _fnScrollDraw (line 5212) | function _fnScrollDraw ( settings )
  function _fnApplyToChildren (line 5495) | function _fnApplyToChildren( fn, an1, an2 )
  function _fnCalculateColumnWidths (line 5534) | function _fnCalculateColumnWidths ( oSettings )
  function _fnConvertToWidth (line 5772) | function _fnConvertToWidth ( width, parent )
  function _fnGetWidestNode (line 5796) | function _fnGetWidestNode( settings, colIdx )
  function _fnGetMaxLenString (line 5817) | function _fnGetMaxLenString( settings, colIdx )
  function _fnStringToCss (line 5842) | function _fnStringToCss( s )
  function _fnSortFlatten (line 5862) | function _fnSortFlatten ( settings )
  function _fnSort (line 5934) | function _fnSort ( oSettings )
  function _fnSortAria (line 6060) | function _fnSortAria ( settings )
  function _fnSortListener (line 6115) | function _fnSortListener ( settings, colIdx, append, callback )
  function _fnSortAttachListener (line 6199) | function _fnSortAttachListener ( settings, attachTo, colIdx, callback )
  function _fnSortingClasses (line 6237) | function _fnSortingClasses( settings )
  function _fnSortData (line 6270) | function _fnSortData( settings, idx )
  function _fnSaveState (line 6313) | function _fnSaveState ( settings )
  function _fnLoadState (line 6349) | function _fnLoadState ( settings, oInit, callback )
  function _fnSettingsFromNode (line 6451) | function _fnSettingsFromNode ( table )
  function _fnLog (line 6470) | function _fnLog( settings, level, msg, tn )
  function _fnMap (line 6513) | function _fnMap( ret, src, name, mappedName )
  function _fnExtend (line 6555) | function _fnExtend( out, extender, breakRefs )
  function _fnBindAction (line 6591) | function _fnBindAction( n, oData, fn )
  function _fnCallbackReg (line 6620) | function _fnCallbackReg( oSettings, sStore, fn, sName )
  function _fnCallbackFire (line 6646) | function _fnCallbackFire( settings, callbackArr, eventName, args )
  function _fnLengthOverflow (line 6668) | function _fnLengthOverflow ( settings )
  function _fnRenderer (line 6693) | function _fnRenderer( settings, type )
  function _fnDataSource (line 6722) | function _fnDataSource ( settings )
  function _numbers (line 14471) | function _numbers ( page, pages ) {
  function _addNumericSort (line 14762) | function _addNumericSort ( decimalPlace ) {
  function _fnExternApiFunc (line 15012) | function _fnExternApiFunc (fn)

FILE: student/content/mdb/js/bootstrap.js
  function _defineProperties (line 15) | function _defineProperties(target, props) {
  function _createClass (line 25) | function _createClass(Constructor, protoProps, staticProps) {
  function _defineProperty (line 31) | function _defineProperty(obj, key, value) {
  function _objectSpread (line 46) | function _objectSpread(target) {
  function _inheritsLoose (line 65) | function _inheritsLoose(subClass, superClass) {
  function toType (line 87) | function toType(obj) {
  function getSpecialTransitionEndEvent (line 91) | function getSpecialTransitionEndEvent() {
  function transitionEndEmulator (line 105) | function transitionEndEmulator(duration) {
  function setTransitionEndSupport (line 120) | function setTransitionEndSupport() {
  function Alert (line 257) | function Alert(element) {
  function Button (line 425) | function Button(element) {
  function Carousel (line 632) | function Carousel(element, config) {
  function Collapse (line 1190) | function Collapse(element, config) {
  function Dropdown (line 1585) | function Dropdown(element, config) {
  function Modal (line 2084) | function Modal(element, config) {
  function Tooltip (line 2686) | function Tooltip(element, config) {
  function Popover (line 3330) | function Popover() {
  function ScrollSpy (line 3517) | function ScrollSpy(element, config) {
  function Tab (line 3812) | function Tab(element) {
  function Toast (line 4046) | function Toast(element, config) {

FILE: student/content/mdb/js/mdb.js
  function t (line 250) | function t(e){var t=e.length,a=r.type(e);return"function"===a||r.isWindo...
  function o (line 250) | function o(e,r){var a=r||[];return null!=e&&(t(Object(e))?!function(e,t)...
  function e (line 250) | function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeTy...
  function n (line 250) | function n(e){for(var t=-1,r=e?e.length:0,a=[];++t<r;){var n=e[t];n&&a.p...
  function o (line 250) | function o(e){return m.isWrapped(e)?e=[].slice.call(e):m.isNode(e)&&(e=[...
  function i (line 250) | function i(e){var t=f.data(e,"velocity");return null===t?a:t}
  function s (line 250) | function s(e){return function(t){return Math.round(t*e)*(1/e)}}
  function l (line 250) | function l(e,r,a,n){function o(e,t){return 1-3*t+3*e}function i(e,t){ret...
  function u (line 250) | function u(e,t){var r=e;return m.isString(e)?b.Easings[e]||(r=!1):r=m.is...
  function c (line 250) | function c(e){if(e){var t=(new Date).getTime(),r=b.State.calls.length;r>...
  function p (line 250) | function p(e,t){if(!b.State.calls[e])return!1;for(var r=b.State.calls[e]...
  function e (line 250) | function e(e){return-e.tension*e.x-e.friction*e.v}
  function t (line 250) | function t(t,r,a){var n={x:t.x+a.dx*r,v:t.v+a.dv*r,tension:t.tension,fri...
  function r (line 250) | function r(r,a){var n={dx:r.v,dv:e(r)},o=t(r,.5*a,n),i=t(r,.5*a,o),s=t(r...
  function s (line 250) | function s(e,r){function n(){u&&S.setPropertyValue(e,"display","none")}v...
  function t (line 250) | function t(t){return parseFloat(S.getPropertyValue(e,t))}
  function e (line 250) | function e(){return s?k.promise||null:l}
  function n (line 250) | function n(){function e(e){function p(e,t){var r=a,n=a,i=a;return m.isAr...
  function r (line 262) | function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==...
  function getRgba (line 287) | function getRgba(string) {
  function getHsla (line 347) | function getHsla(string) {
  function getHwb (line 363) | function getHwb(string) {
  function getRgb (line 379) | function getRgb(string) {
  function getHsl (line 384) | function getHsl(string) {
  function getAlpha (line 389) | function getAlpha(string) {
  function hexString (line 403) | function hexString(rgb) {
  function rgbString (line 408) | function rgbString(rgba, alpha) {
  function rgbaString (line 415) | function rgbaString(rgba, alpha) {
  function percentString (line 423) | function percentString(rgba, alpha) {
  function percentaString (line 434) | function percentaString(rgba, alpha) {
  function hslString (line 441) | function hslString(hsla, alpha) {
  function hslaString (line 448) | function hslaString(hsla, alpha) {
  function hwbString (line 458) | function hwbString(hwb, alpha) {
  function keyword (line 466) | function keyword(rgb) {
  function scale (line 471) | function scale(num, min, max) {
  function hexDouble (line 475) | function hexDouble(num) {
  function rgb2hsl (line 1033) | function rgb2hsl(rgb) {
  function rgb2hsv (line 1068) | function rgb2hsv(rgb) {
  function rgb2hwb (line 1101) | function rgb2hwb(rgb) {
  function rgb2cmyk (line 1112) | function rgb2cmyk(rgb) {
  function rgb2keyword (line 1125) | function rgb2keyword(rgb) {
  function rgb2xyz (line 1129) | function rgb2xyz(rgb) {
  function rgb2lab (line 1146) | function rgb2lab(rgb) {
  function rgb2lch (line 1168) | function rgb2lch(args) {
  function hsl2rgb (line 1172) | function hsl2rgb(hsl) {
  function hsl2hsv (line 1210) | function hsl2hsv(hsl) {
  function hsl2hwb (line 1229) | function hsl2hwb(args) {
  function hsl2cmyk (line 1233) | function hsl2cmyk(args) {
  function hsl2keyword (line 1237) | function hsl2keyword(args) {
  function hsv2rgb (line 1242) | function hsv2rgb(hsv) {
  function hsv2hsl (line 1270) | function hsv2hsl(hsv) {
  function hsv2hwb (line 1284) | function hsv2hwb(args) {
  function hsv2cmyk (line 1288) | function hsv2cmyk(args) {
  function hsv2keyword (line 1292) | function hsv2keyword(args) {
  function hwb2rgb (line 1297) | function hwb2rgb(hwb) {
  function hwb2hsl (line 1332) | function hwb2hsl(args) {
  function hwb2hsv (line 1336) | function hwb2hsv(args) {
  function hwb2cmyk (line 1340) | function hwb2cmyk(args) {
  function hwb2keyword (line 1344) | function hwb2keyword(args) {
  function cmyk2rgb (line 1348) | function cmyk2rgb(cmyk) {
  function cmyk2hsl (line 1361) | function cmyk2hsl(args) {
  function cmyk2hsv (line 1365) | function cmyk2hsv(args) {
  function cmyk2hwb (line 1369) | function cmyk2hwb(args) {
  function cmyk2keyword (line 1373) | function cmyk2keyword(args) {
  function xyz2rgb (line 1378) | function xyz2rgb(xyz) {
  function xyz2lab (line 1405) | function xyz2lab(xyz) {
  function xyz2lch (line 1426) | function xyz2lch(args) {
  function lab2xyz (line 1430) | function lab2xyz(lab) {
  function lab2lch (line 1451) | function lab2lch(lab) {
  function lab2rgb (line 1466) | function lab2rgb(args) {
  function lch2lab (line 1470) | function lch2lab(lch) {
  function lch2xyz (line 1482) | function lch2xyz(args) {
  function lch2rgb (line 1486) | function lch2rgb(args) {
  function keyword2rgb (line 1490) | function keyword2rgb(keyword) {
  function keyword2hsl (line 1494) | function keyword2hsl(args) {
  function keyword2hsv (line 1498) | function keyword2hsv(args) {
  function keyword2hwb (line 1502) | function keyword2hwb(args) {
  function keyword2cmyk (line 1506) | function keyword2cmyk(args) {
  function keyword2lab (line 1510) | function keyword2lab(args) {
  function keyword2xyz (line 1514) | function keyword2xyz(args) {
  function computeMinSampleSize (line 2235) | function computeMinSampleSize(scale, pixels) {
  function computeFitCategoryTraits (line 2259) | function computeFitCategoryTraits(index, ruler, options) {
  function computeFlexCategoryTraits (line 2289) | function computeFlexCategoryTraits(index, ruler, options) {
  function lineEnabled (line 3123) | function lineEnabled(dataset, options) {
  function capControlPoint (line 3353) | function capControlPoint(pt, min, max) {
  function initConfig (line 4111) | function initConfig(config) {
  function updateConfig (line 4132) | function updateConfig(chart) {
  function positionIsHorizontal (line 4152) | function positionIsHorizontal(position) {
  function listenArrayEvents (line 5058) | function listenArrayEvents(array, listener) {
  function unlistenArrayEvents (line 5099) | function unlistenArrayEvents(array, listener) {
  function interpolate (line 5395) | function interpolate(start, view, model, ease) {
  function parseMaxStyle (line 5928) | function parseMaxStyle(styleValue, node, parentProperty) {
  function isConstrainedValue (line 5948) | function isConstrainedValue(value) {
  function getConstraintDimension (line 5957) | function getConstraintDimension(domNode, maxStyle, percentageProperty) {
  function getRelativePosition (line 6153) | function getRelativePosition(e, chart) {
  function parseVisibleItems (line 6169) | function parseVisibleItems(chart, handler) {
  function getIntersectItems (line 6194) | function getIntersectItems(chart, position) {
  function getNearestItems (line 6214) | function getNearestItems(chart, position, intersect, distanceMetric) {
  function getDistanceMetricForAxis (line 6243) | function getDistanceMetricForAxis(axis) {
  function indexMode (line 6254) | function indexMode(chart, e, options) {
  function filterByPosition (line 6530) | function filterByPosition(array, position) {
  function sortByWeight (line 6536) | function sortByWeight(array, reverse) {
  function getMinimumBoxSize (line 6712) | function getMinimumBoxSize(box) {
  function fitBox (line 6764) | function fitBox(box) {
  function finalFitVerticalBox (line 6810) | function finalFitVerticalBox(box) {
  function placeBox (line 6895) | function placeBox(box) {
  function labelsFromTicks (line 7398) | function labelsFromTicks(ticks) {
  function getLineValue (line 7409) | function getLineValue(scale, index, offsetGridLines) {
  function computeTextSize (line 7422) | function computeTextSize(context, tick, font) {
  function parseFontOptions (line 7428) | function parseFontOptions(options) {
  function parseLineHeight (line 7443) | function parseLineHeight(options) {
  function mergeOpacity (line 8563) | function mergeOpacity(colorString, opacity) {
  function pushOrConcat (line 8569) | function pushOrConcat(base, toPush) {
  function splitNewlines (line 8588) | function splitNewlines(str) {
  function createTooltipItem (line 8599) | function createTooltipItem(element) {
  function getBaseModel (line 8619) | function getBaseModel(tooltipOpts) {
  function getTooltipSize (line 8671) | function getTooltipSize(tooltip, model) {
  function determineAlignment (line 8739) | function determineAlignment(tooltip, size) {
  function getBackgroundPoint (line 8812) | function getBackgroundPoint(vm, size, alignment, chart) {
  function getBeforeAfterBodyLines (line 8866) | function getBeforeAfterBodyLines(callback) {
  function xRange (line 9591) | function xRange(mouseX) {
  function yRange (line 9596) | function yRange(mouseY) {
  function isVertical (line 9674) | function isVertical(bar) {
  function getBarBounds (line 9684) | function getBarBounds(bar) {
  function cornerAt (line 9785) | function cornerAt(index) {
  function readUsedSize (line 10853) | function readUsedSize(element, property) {
  function initCanvas (line 10864) | function initCanvas(canvas, config) {
  function addEventListener (line 10938) | function addEventListener(node, type, listener) {
  function removeEventListener (line 10942) | function removeEventListener(node, type, listener) {
  function createEvent (line 10946) | function createEvent(type, chart, x, y, nativeEvent) {
  function fromNativeEvent (line 10956) | function fromNativeEvent(event, chart) {
  function throttled (line 10962) | function throttled(fn, thisArg) {
  function createResizer (line 10981) | function createResizer(handler) {
  function watchForRender (line 11039) | function watchForRender(node, handler) {
  function unwatchForRender (line 11061) | function unwatchForRender(node) {
  function addResizeListener (line 11076) | function addResizeListener(node, listener, chart) {
  function removeResizeListener (line 11101) | function removeResizeListener(node) {
  function injectCSS (line 11113) | function injectCSS(platform, css) {
  function decodeFill (line 11405) | function decodeFill(el, index, count) {
  function computeBoundary (line 11454) | function computeBoundary(source) {
  function resolveTarget (line 11498) | function resolveTarget(sources, index, propagate) {
  function createMapper (line 11529) | function createMapper(source) {
  function isDrawable (line 11544) | function isDrawable(point) {
  function drawArea (line 11548) | function drawArea(ctx, curve0, curve1, len0, len1) {
  function doFill (line 11570) | function doFill(ctx, points, mapper, view, color, loop) {
  function getBoxWidth (line 11766) | function getBoxWidth(labelOpts, fontSize) {
  function createNewLegendAndAttach (line 12194) | function createNewLegendAndAttach(chart, legendOpts) {
  function createNewTitleBlockAndAttach (line 12455) | function createNewTitleBlockAndAttach(chart, titleOpts) {
  function IDMatches (line 12673) | function IDMatches(meta) {
  function generateTicks (line 12850) | function generateTicks(generationOptions, dataRange) {
  function generateTicks (line 13051) | function generateTicks(generationOptions, dataRange) {
  function IDMatches (line 13116) | function IDMatches(meta) {
  function getValueCount (line 13448) | function getValueCount(scale) {
  function getPointLabelFontOptions (line 13453) | function getPointLabelFontOptions(scale) {
  function measureLabelSize (line 13468) | function measureLabelSize(ctx, fontSize, label) {
  function determineLimits (line 13482) | function determineLimits(angle, pos, size, min, max) {
  function fitWithPointLabels (line 13504) | function fitWithPointLabels(scale) {
  function fit (line 13589) | function fit(scale) {
  function getTextAlignForAngle (line 13595) | function getTextAlignForAngle(angle) {
  function fillText (line 13605) | function fillText(ctx, text, position, fontSize) {
  function adjustPointPositionForLabelHeight (line 13619) | function adjustPointPositionForLabelHeight(angle, textSize, position) {
  function drawPointLabels (line 13627) | function drawPointLabels(scale) {
  function drawRadiusLine (line 13671) | function drawRadiusLine(scale, gridLineOpts, radius, index) {
  function numberOrZero (line 13704) | function numberOrZero(param) {
  function sorter (line 13985) | function sorter(a, b) {
  function arrayUnique (line 13989) | function arrayUnique(items) {
  function buildLookupTable (line 14020) | function buildLookupTable(timestamps, min, max, distribution) {
  function lookup (line 14056) | function lookup(table, key, value) {
  function interpolate (line 14088) | function interpolate(table, skey, sval, tkey) {
  function momentify (line 14106) | function momentify(value, options) {
  function parse (line 14135) | function parse(input, scale) {
  function determineStepSize (line 14157) | function determineStepSize(min, max, unit, capacity) {
  function determineUnitForAutoTicks (line 14181) | function determineUnitForAutoTicks(minUnit, min, max, capacity) {
  function determineUnitForFormatting (line 14200) | function determineUnitForFormatting(ticks, minUnit, min, max) {
  function determineMajorUnit (line 14215) | function determineMajorUnit(unit) {
  function generate (line 14229) | function generate(min, max, capacity, options) {
  function computeOffsets (line 14284) | function computeOffsets(table, ticks, min, max, options) {
  function ticksFromTimestamps (line 14311) | function ticksFromTimestamps(values, majorUnit) {
  function determineLabelFormat (line 14328) | function determineLabelFormat(data, timeOpts) {
  function mdbWow (line 14726) | function mdbWow() {
  function appear (line 14789) | function appear() {
  function hide (line 14816) | function hide() {
  function getOffset (line 14851) | function getOffset(elem) {
  function isWindow (line 14948) | function isWindow(obj) {
  function getWindow (line 14952) | function getWindow(elem) {
  function isObject (line 14956) | function isObject(value) {
  function isDOMNode (line 14961) | function isDOMNode(obj) {
  function getWavesElements (line 14965) | function getWavesElements(nodes) {
  function offset (line 14979) | function offset(elem) {
  function convertStyle (line 14996) | function convertStyle(styleObj) {
  function removeRipple (line 15157) | function removeRipple(e, el, ripple) {
  function getWavesEffectElement (line 15264) | function getWavesEffectElement(e) {
  function showEffect (line 15287) | function showEffect(e) {
  function init (line 15634) | function init() {

FILE: student/content/mdb/js/modules/chart.js
  function r (line 10) | function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==...
  function getRgba (line 35) | function getRgba(string) {
  function getHsla (line 95) | function getHsla(string) {
  function getHwb (line 111) | function getHwb(string) {
  function getRgb (line 127) | function getRgb(string) {
  function getHsl (line 132) | function getHsl(string) {
  function getAlpha (line 137) | function getAlpha(string) {
  function hexString (line 151) | function hexString(rgb) {
  function rgbString (line 156) | function rgbString(rgba, alpha) {
  function rgbaString (line 163) | function rgbaString(rgba, alpha) {
  function percentString (line 171) | function percentString(rgba, alpha) {
  function percentaString (line 182) | function percentaString(rgba, alpha) {
  function hslString (line 189) | function hslString(hsla, alpha) {
  function hslaString (line 196) | function hslaString(hsla, alpha) {
  function hwbString (line 206) | function hwbString(hwb, alpha) {
  function keyword (line 214) | function keyword(rgb) {
  function scale (line 219) | function scale(num, min, max) {
  function hexDouble (line 223) | function hexDouble(num) {
  function rgb2hsl (line 781) | function rgb2hsl(rgb) {
  function rgb2hsv (line 816) | function rgb2hsv(rgb) {
  function rgb2hwb (line 849) | function rgb2hwb(rgb) {
  function rgb2cmyk (line 860) | function rgb2cmyk(rgb) {
  function rgb2keyword (line 873) | function rgb2keyword(rgb) {
  function rgb2xyz (line 877) | function rgb2xyz(rgb) {
  function rgb2lab (line 894) | function rgb2lab(rgb) {
  function rgb2lch (line 916) | function rgb2lch(args) {
  function hsl2rgb (line 920) | function hsl2rgb(hsl) {
  function hsl2hsv (line 958) | function hsl2hsv(hsl) {
  function hsl2hwb (line 977) | function hsl2hwb(args) {
  function hsl2cmyk (line 981) | function hsl2cmyk(args) {
  function hsl2keyword (line 985) | function hsl2keyword(args) {
  function hsv2rgb (line 990) | function hsv2rgb(hsv) {
  function hsv2hsl (line 1018) | function hsv2hsl(hsv) {
  function hsv2hwb (line 1032) | function hsv2hwb(args) {
  function hsv2cmyk (line 1036) | function hsv2cmyk(args) {
  function hsv2keyword (line 1040) | function hsv2keyword(args) {
  function hwb2rgb (line 1045) | function hwb2rgb(hwb) {
  function hwb2hsl (line 1080) | function hwb2hsl(args) {
  function hwb2hsv (line 1084) | function hwb2hsv(args) {
  function hwb2cmyk (line 1088) | function hwb2cmyk(args) {
  function hwb2keyword (line 1092) | function hwb2keyword(args) {
  function cmyk2rgb (line 1096) | function cmyk2rgb(cmyk) {
  function cmyk2hsl (line 1109) | function cmyk2hsl(args) {
  function cmyk2hsv (line 1113) | function cmyk2hsv(args) {
  function cmyk2hwb (line 1117) | function cmyk2hwb(args) {
  function cmyk2keyword (line 1121) | function cmyk2keyword(args) {
  function xyz2rgb (line 1126) | function xyz2rgb(xyz) {
  function xyz2lab (line 1153) | function xyz2lab(xyz) {
  function xyz2lch (line 1174) | function xyz2lch(args) {
  function lab2xyz (line 1178) | function lab2xyz(lab) {
  function lab2lch (line 1199) | function lab2lch(lab) {
  function lab2rgb (line 1214) | function lab2rgb(args) {
  function lch2lab (line 1218) | function lch2lab(lch) {
  function lch2xyz (line 1230) | function lch2xyz(args) {
  function lch2rgb (line 1234) | function lch2rgb(args) {
  function keyword2rgb (line 1238) | function keyword2rgb(keyword) {
  function keyword2hsl (line 1242) | function keyword2hsl(args) {
  function keyword2hsv (line 1246) | function keyword2hsv(args) {
  function keyword2hwb (line 1250) | function keyword2hwb(args) {
  function keyword2cmyk (line 1254) | function keyword2cmyk(args) {
  function keyword2lab (line 1258) | function keyword2lab(args) {
  function keyword2xyz (line 1262) | function keyword2xyz(args) {
  function computeMinSampleSize (line 1983) | function computeMinSampleSize(scale, pixels) {
  function computeFitCategoryTraits (line 2007) | function computeFitCategoryTraits(index, ruler, options) {
  function computeFlexCategoryTraits (line 2037) | function computeFlexCategoryTraits(index, ruler, options) {
  function lineEnabled (line 2871) | function lineEnabled(dataset, options) {
  function capControlPoint (line 3101) | function capControlPoint(pt, min, max) {
  function initConfig (line 3859) | function initConfig(config) {
  function updateConfig (line 3880) | function updateConfig(chart) {
  function positionIsHorizontal (line 3900) | function positionIsHorizontal(position) {
  function listenArrayEvents (line 4806) | function listenArrayEvents(array, listener) {
  function unlistenArrayEvents (line 4847) | function unlistenArrayEvents(array, listener) {
  function interpolate (line 5143) | function interpolate(start, view, model, ease) {
  function parseMaxStyle (line 5676) | function parseMaxStyle(styleValue, node, parentProperty) {
  function isConstrainedValue (line 5696) | function isConstrainedValue(value) {
  function getConstraintDimension (line 5705) | function getConstraintDimension(domNode, maxStyle, percentageProperty) {
  function getRelativePosition (line 5901) | function getRelativePosition(e, chart) {
  function parseVisibleItems (line 5917) | function parseVisibleItems(chart, handler) {
  function getIntersectItems (line 5942) | function getIntersectItems(chart, position) {
  function getNearestItems (line 5962) | function getNearestItems(chart, position, intersect, distanceMetric) {
  function getDistanceMetricForAxis (line 5991) | function getDistanceMetricForAxis(axis) {
  function indexMode (line 6002) | function indexMode(chart, e, options) {
  function filterByPosition (line 6278) | function filterByPosition(array, position) {
  function sortByWeight (line 6284) | function sortByWeight(array, reverse) {
  function getMinimumBoxSize (line 6460) | function getMinimumBoxSize(box) {
  function fitBox (line 6512) | function fitBox(box) {
  function finalFitVerticalBox (line 6558) | function finalFitVerticalBox(box) {
  function placeBox (line 6643) | function placeBox(box) {
  function labelsFromTicks (line 7146) | function labelsFromTicks(ticks) {
  function getLineValue (line 7157) | function getLineValue(scale, index, offsetGridLines) {
  function computeTextSize (line 7170) | function computeTextSize(context, tick, font) {
  function parseFontOptions (line 7176) | function parseFontOptions(options) {
  function parseLineHeight (line 7191) | function parseLineHeight(options) {
  function mergeOpacity (line 8311) | function mergeOpacity(colorString, opacity) {
  function pushOrConcat (line 8317) | function pushOrConcat(base, toPush) {
  function splitNewlines (line 8336) | function splitNewlines(str) {
  function createTooltipItem (line 8347) | function createTooltipItem(element) {
  function getBaseModel (line 8367) | function getBaseModel(tooltipOpts) {
  function getTooltipSize (line 8419) | function getTooltipSize(tooltip, model) {
  function determineAlignment (line 8487) | function determineAlignment(tooltip, size) {
  function getBackgroundPoint (line 8560) | function getBackgroundPoint(vm, size, alignment, chart) {
  function getBeforeAfterBodyLines (line 8614) | function getBeforeAfterBodyLines(callback) {
  function xRange (line 9339) | function xRange(mouseX) {
  function yRange (line 9344) | function yRange(mouseY) {
  function isVertical (line 9422) | function isVertical(bar) {
  function getBarBounds (line 9432) | function getBarBounds(bar) {
  function cornerAt (line 9533) | function cornerAt(index) {
  function readUsedSize (line 10601) | function readUsedSize(element, property) {
  function initCanvas (line 10612) | function initCanvas(canvas, config) {
  function addEventListener (line 10686) | function addEventListener(node, type, listener) {
  function removeEventListener (line 10690) | function removeEventListener(node, type, listener) {
  function createEvent (line 10694) | function createEvent(type, chart, x, y, nativeEvent) {
  function fromNativeEvent (line 10704) | function fromNativeEvent(event, chart) {
  function throttled (line 10710) | function throttled(fn, thisArg) {
  function createResizer (line 10729) | function createResizer(handler) {
  function watchForRender (line 10787) | function watchForRender(node, handler) {
  function unwatchForRender (line 10809) | function unwatchForRender(node) {
  function addResizeListener (line 10824) | function addResizeListener(node, listener, chart) {
  function removeResizeListener (line 10849) | function removeResizeListener(node) {
  function injectCSS (line 10861) | function injectCSS(platform, css) {
  function decodeFill (line 11153) | function decodeFill(el, index, count) {
  function computeBoundary (line 11202) | function computeBoundary(source) {
  function resolveTarget (line 11246) | function resolveTarget(sources, index, propagate) {
  function createMapper (line 11277) | function createMapper(source) {
  function isDrawable (line 11292) | function isDrawable(point) {
  function drawArea (line 11296) | function drawArea(ctx, curve0, curve1, len0, len1) {
  function doFill (line 11318) | function doFill(ctx, points, mapper, view, color, loop) {
  function getBoxWidth (line 11514) | function getBoxWidth(labelOpts, fontSize) {
  function createNewLegendAndAttach (line 11942) | function createNewLegendAndAttach(chart, legendOpts) {
  function createNewTitleBlockAndAttach (line 12203) | function createNewTitleBlockAndAttach(chart, titleOpts) {
  function IDMatches (line 12421) | function IDMatches(meta) {
  function generateTicks (line 12598) | function generateTicks(generationOptions, dataRange) {
  function generateTicks (line 12799) | function generateTicks(generationOptions, dataRange) {
  function IDMatches (line 12864) | function IDMatches(meta) {
  function getValueCount (line 13196) | function getValueCount(scale) {
  function getPointLabelFontOptions (line 13201) | function getPointLabelFontOptions(scale) {
  function measureLabelSize (line 13216) | function measureLabelSize(ctx, fontSize, label) {
  function determineLimits (line 13230) | function determineLimits(angle, pos, size, min, max) {
  function fitWithPointLabels (line 13252) | function fitWithPointLabels(scale) {
  function fit (line 13337) | function fit(scale) {
  function getTextAlignForAngle (line 13343) | function getTextAlignForAngle(angle) {
  function fillText (line 13353) | function fillText(ctx, text, position, fontSize) {
  function adjustPointPositionForLabelHeight (line 13367) | function adjustPointPositionForLabelHeight(angle, textSize, position) {
  function drawPointLabels (line 13375) | function drawPointLabels(scale) {
  function drawRadiusLine (line 13419) | function drawRadiusLine(scale, gridLineOpts, radius, index) {
  function numberOrZero (line 13452) | function numberOrZero(param) {
  function sorter (line 13733) | function sorter(a, b) {
  function arrayUnique (line 13737) | function arrayUnique(items) {
  function buildLookupTable (line 13768) | function buildLookupTable(timestamps, min, max, distribution) {
  function lookup (line 13804) | function lookup(table, key, value) {
  function interpolate (line 13836) | function interpolate(table, skey, sval, tkey) {
  function momentify (line 13854) | function momentify(value, options) {
  function parse (line 13883) | function parse(input, scale) {
  function determineStepSize (line 13905) | function determineStepSize(min, max, unit, capacity) {
  function determineUnitForAutoTicks (line 13929) | function determineUnitForAutoTicks(minUnit, min, max, capacity) {
  function determineUnitForFormatting (line 13948) | function determineUnitForFormatting(ticks, minUnit, min, max) {
  function determineMajorUnit (line 13963) | function determineMajorUnit(unit) {
  function generate (line 13977) | function generate(min, max, capacity, options) {
  function computeOffsets (line 14032) | function computeOffsets(table, ticks, min, max, options) {
  function ticksFromTimestamps (line 14059) | function ticksFromTimestamps(values, majorUnit) {
  function determineLabelFormat (line 14076) | function determineLabelFormat(data, timeOpts) {

FILE: student/content/mdb/js/modules/forms-free.js
  function init (line 125) | function init() {

FILE: student/content/mdb/js/modules/velocity.js
  function t (line 4) | function t(e){var t=e.length,a=r.type(e);return"function"===a||r.isWindo...
  function o (line 4) | function o(e,r){var a=r||[];return null!=e&&(t(Object(e))?!function(e,t)...
  function e (line 4) | function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeTy...
  function n (line 4) | function n(e){for(var t=-1,r=e?e.length:0,a=[];++t<r;){var n=e[t];n&&a.p...
  function o (line 4) | function o(e){return m.isWrapped(e)?e=[].slice.call(e):m.isNode(e)&&(e=[...
  function i (line 4) | function i(e){var t=f.data(e,"velocity");return null===t?a:t}
  function s (line 4) | function s(e){return function(t){return Math.round(t*e)*(1/e)}}
  function l (line 4) | function l(e,r,a,n){function o(e,t){return 1-3*t+3*e}function i(e,t){ret...
  function u (line 4) | function u(e,t){var r=e;return m.isString(e)?b.Easings[e]||(r=!1):r=m.is...
  function c (line 4) | function c(e){if(e){var t=(new Date).getTime(),r=b.State.calls.length;r>...
  function p (line 4) | function p(e,t){if(!b.State.calls[e])return!1;for(var r=b.State.calls[e]...
  function e (line 4) | function e(e){return-e.tension*e.x-e.friction*e.v}
  function t (line 4) | function t(t,r,a){var n={x:t.x+a.dx*r,v:t.v+a.dv*r,tension:t.tension,fri...
  function r (line 4) | function r(r,a){var n={dx:r.v,dv:e(r)},o=t(r,.5*a,n),i=t(r,.5*a,o),s=t(r...
  function s (line 4) | function s(e,r){function n(){u&&S.setPropertyValue(e,"display","none")}v...
  function t (line 4) | function t(t){return parseFloat(S.getPropertyValue(e,t))}
  function e (line 4) | function e(){return s?k.promise||null:l}
  function n (line 4) | function n(){function e(e){function p(e,t){var r=a,n=a,i=a;return m.isAr...

FILE: student/content/mdb/js/modules/waves.js
  function isWindow (line 42) | function isWindow(obj) {
  function getWindow (line 46) | function getWindow(elem) {
  function isObject (line 50) | function isObject(value) {
  function isDOMNode (line 55) | function isDOMNode(obj) {
  function getWavesElements (line 59) | function getWavesElements(nodes) {
  function offset (line 73) | function offset(elem) {
  function convertStyle (line 90) | function convertStyle(styleObj) {
  function removeRipple (line 251) | function removeRipple(e, el, ripple) {
  function getWavesEffectElement (line 358) | function getWavesEffectElement(e) {
  function showEffect (line 381) | function showEffect(e) {

FILE: student/content/mdb/js/modules/wow.js
  function mdbWow (line 17) | function mdbWow() {
  function appear (line 80) | function appear() {
  function hide (line 107) | function hide() {
  function getOffset (line 142) | function getOffset(elem) {

FILE: student/example/login/src/routing-config.js
  function buildRoles (line 38) | function buildRoles(roles) {
  function buildAccessLevels (line 59) | function buildAccessLevels(accessLevelDeclarations, userRoles) {

FILE: student_action.php
  function valid_input (line 6) | function valid_input($val){

FILE: style/lib/bootstrap/js/bootstrap.js
  function transitionEnd (line 24) | function transitionEnd() {
  function removeElement (line 101) | function removeElement() {
  function clearMenus (line 716) | function clearMenus(e) {
  function getParent (line 728) | function getParent($this) {
  function complete (line 1296) | function complete() {
  function ScrollSpy (line 1550) | function ScrollSpy(element, options) {
  function next (line 1746) | function next() {

FILE: style/lib/custom/custom.js
  function hideModal (line 17) | function hideModal(){
  function loader (line 25) | function loader(divname){
  function close_loader (line 28) | function close_loader(divname){

FILE: style/lib/flot/excanvas.js
  function getContext (line 57) | function getContext() {
  function bind (line 80) | function bind(f, obj, var_args) {
  function encodeHtmlAttribute (line 87) | function encodeHtmlAttribute(s) {
  function addNamespacesAndStylesheet (line 91) | function addNamespacesAndStylesheet(doc) {
  function onPropertyChange (line 180) | function onPropertyChange(e) {
  function onResize (line 198) | function onResize(e) {
  function createMatrixIdentity (line 216) | function createMatrixIdentity() {
  function matrixMultiply (line 224) | function matrixMultiply(m1, m2) {
  function copyState (line 241) | function copyState(o1, o2) {
  function getRgbHslContent (line 396) | function getRgbHslContent(styleString) {
  function percent (line 409) | function percent(s) {
  function clamp (line 413) | function clamp(v, min, max) {
  function hslToRgb (line 417) | function hslToRgb(parts){
  function hueToRgb (line 439) | function hueToRgb(m1, m2, h) {
  function processStyle (line 455) | function processStyle(styleString) {
  function processFontStyle (line 494) | function processFontStyle(styleString) {
  function getComputedStyle (line 516) | function getComputedStyle(style, element) {
  function buildStyle (line 548) | function buildStyle(style) {
  function processLineCap (line 553) | function processLineCap(lineCap) {
  function CanvasRenderingContext2D_ (line 571) | function CanvasRenderingContext2D_(surfaceElement) {
  function bezierCurveTo (line 645) | function bezierCurveTo(self, cp1, cp2, p) {
  function appendStroke (line 974) | function appendStroke(ctx, lineStr) {
  function appendFill (line 997) | function appendFill(ctx, lineStr, min, max) {
  function matrixIsFinite (line 1134) | function matrixIsFinite(m) {
  function setM (line 1140) | function setM(ctx, m, updateLineScale) {
  function CanvasGradient_ (line 1343) | function CanvasGradient_(aType) {
  function CanvasPattern_ (line 1361) | function CanvasPattern_(image, repetition) {
  function throwException (line 1383) | function throwException(s) {
  function assertImageIsValid (line 1387) | function assertImageIsValid(img) {
  function DOMException_ (line 1396) | function DOMException_(s) {

FILE: style/lib/flot/jquery.colorhelpers.js
  function clamp (line 55) | function clamp(min, value, max) {

FILE: style/lib/flot/jquery.flot.crosshair.js
  function init (line 65) | function init(plot) {

FILE: style/lib/flot/jquery.flot.fillbetween.js
  function init (line 35) | function init(plot) {

FILE: style/lib/flot/jquery.flot.image.js
  function drawSeries (line 115) | function drawSeries(plot, ctx, series) {
  function processRawData (line 213) | function processRawData(plot, series, data, datapoints) {
  function init (line 227) | function init(plot) {

FILE: style/lib/flot/jquery.flot.js
  function H (line 31) | function H(J,K,I){return K<J?J:(K>I?I:K)}
  function Plot (line 35) | function Plot(placeholder, data_, options_, plugins) {
  function floorInBase (line 2595) | function floorInBase(n, base) {

FILE: style/lib/flot/jquery.flot.navigate.js
  function H (line 91) | function H(L){var K=this,J,M=L.data||{};if(M.elem){K=L.dragTarget=M.elem...
  function C (line 91) | function C(M,K,L){M.type=K;var J=E.event.handle.call(L,M);return J===fal...
  function I (line 91) | function I(J){return Math.pow(J,2)}
  function D (line 91) | function D(){return(F.dragging===false)}
  function G (line 91) | function G(K,J){if(!K){return }K.unselectable=J?"off":"on";K.onselectsta...
  function b (line 105) | function b(f){var d=[].slice.call(arguments,1),g=0,e=true;f=c.event.fix(...
  function init (line 128) | function init(plot) {

FILE: style/lib/flot/jquery.flot.pie.js
  function init (line 63) | function init(plot) // this is the "body" of the plugin

FILE: style/lib/flot/jquery.flot.resize.js
  function m (line 22) | function m(s,o,p){var q=$(this),r=$.data(this,d);r.w=o!==c?o:q.width();r...
  function g (line 22) | function g(){i=h[k](function(){a.each(function(){var n=$(this),m=n.width...
  function init (line 28) | function init(plot) {

FILE: style/lib/flot/jquery.flot.selection.js
  function init (line 70) | function init(plot) {

FILE: style/lib/flot/jquery.flot.stack.js
  function init (line 39) | function init(plot) {

FILE: style/lib/flot/jquery.flot.symbol.js
  function processRawData (line 16) | function processRawData(plot, series, datapoints) {
  function init (line 61) | function init(plot) {

FILE: style/lib/flot/jquery.flot.threshold.js
  function init (line 31) | function init(plot) {

FILE: style/lib/flot/jquery.js
  function jQuerySubclass (line 994) | function jQuerySubclass( selector, context ) {
  function doScrollCheck (line 1069) | function doScrollCheck() {
  function dataAttr (line 1596) | function dataAttr( elem, key, data ) {
  function isEmptyDataObject (line 1626) | function isEmptyDataObject( obj ) {
  function returnFalse (line 2726) | function returnFalse() {
  function returnTrue (line 2729) | function returnTrue() {
  function trigger (line 2977) | function trigger( type, elem, args ) {
  function handler (line 3004) | function handler( e ) {
  function liveHandler (line 3188) | function liveHandler( event ) {
  function liveConvert (line 3271) | function liveConvert( type, selector ) {
  function dirNodeCheck (line 4558) | function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
  function dirCheck (line 4591) | function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
  function isDisconnected (line 4848) | function isDisconnected( node ) {
  function winnow (line 4970) | function winnow( elements, qualifier, keep ) {
  function root (line 5341) | function root( elem, cur ) {
  function cloneCopyEvent (line 5348) | function cloneCopyEvent( src, dest ) {
  function cloneFixAttributes (line 5377) | function cloneFixAttributes(src, dest) {
  function getAll (line 5491) | function getAll( elem ) {
  function evalScript (line 5688) | function evalScript( i, elem ) {
  function getWH (line 6004) | function getWH( elem, name, extra ) {
  function addToPrefiltersOrTransports (line 6108) | function addToPrefiltersOrTransports( structure ) {
  function inspectPrefiltersOrTransports (line 6144) | function inspectPrefiltersOrTransports( structure, options, originalOpti...
  function done (line 6508) | function done( status, statusText, responses, headers ) {
  function buildParams (line 6817) | function buildParams( prefix, obj, traditional, add ) {
  function ajaxHandleResponses (line 6874) | function ajaxHandleResponses( s, jqXHR, responses ) {
  function ajaxConvert (line 6939) | function ajaxConvert( s, response ) {
  function xhrOnUnloadAbort (line 7204) | function xhrOnUnloadAbort() {
  function createStandardXHR (line 7214) | function createStandardXHR() {
  function createActiveXHR (line 7220) | function createActiveXHR() {
  function genFx (line 7664) | function genFx( type, num ) {
  function t (line 7773) | function t( gotoEnd ) {
  function defaultDisplay (line 7925) | function defaultDisplay( nodeName ) {
  function getWindow (line 8239) | function getWindow( elem ) {

FILE: style/lib/fullcalendar-1.6.4/fullcalendar/fullcalendar.js
  function setDefaults (line 179) | function setDefaults(d) {
  function Calendar (line 188) | function Calendar(element, options, eventSources) {
  function Header (line 725) | function Header(calendar, options) {
  function EventManager (line 896) | function EventManager(options, _sources) {
  function addYears (line 1321) | function addYears(d, n, keepTime) {
  function addMonths (line 1330) | function addMonths(d, n, keepTime) { // prevents day overflow/underflow
  function addDays (line 1348) | function addDays(d, n, keepTime) { // deals with daylight savings
  function fixDate (line 1364) | function fixDate(d, check) { // force d to be on check's YMD, for daylig...
  function addMinutes (line 1373) | function addMinutes(d, n) {
  function clearTime (line 1379) | function clearTime(d) {
  function cloneDate (line 1388) | function cloneDate(d, dontKeepTime) {
  function zeroDate (line 1396) | function zeroDate() { // returns a Date with time 00:00:00 and dateOfMon...
  function dayDiff (line 1405) | function dayDiff(d1, d2) { // d1 - d2
  function setYMD (line 1410) | function setYMD(date, y, m, d) {
  function parseDate (line 1431) | function parseDate(s, ignoreTimezone) { // ignoreTimezone defaults to true
  function parseISO8601 (line 1452) | function parseISO8601(s, ignoreTimezone) { // ignoreTimezone defaults to...
  function parseTime (line 1506) | function parseTime(s) { // returns minutes since start of day
  function formatDate (line 1533) | function formatDate(date, format, options) {
  function formatDates (line 1538) | function formatDates(date1, date2, format, options) {
  function iso8601Week (line 1663) | function iso8601Week(date) {
  function exclEndDay (line 1686) | function exclEndDay(event) {
  function _exclEndDay (line 1695) | function _exclEndDay(end, allDay) {
  function lazySegBind (line 1707) | function lazySegBind(container, segs, bindHandlers) {
  function setOuterWidth (line 1731) | function setOuterWidth(element, width, includeMargins) {
  function setOuterHeight (line 1739) | function setOuterHeight(element, height, includeMargins) {
  function hsides (line 1747) | function hsides(element, includeMargins) {
  function hpadding (line 1752) | function hpadding(element) {
  function hmargins (line 1758) | function hmargins(element) {
  function hborders (line 1764) | function hborders(element) {
  function vsides (line 1770) | function vsides(element, includeMargins) {
  function vpadding (line 1775) | function vpadding(element) {
  function vmargins (line 1781) | function vmargins(element) {
  function vborders (line 1787) | function vborders(element) {
  function noop (line 1802) | function noop() { }
  function dateCompare (line 1805) | function dateCompare(a, b) {
  function arrayMax (line 1810) | function arrayMax(a) {
  function zeroPad (line 1815) | function zeroPad(n) {
  function smartProperty (line 1820) | function smartProperty(obj, name) { // get a camel-cased/namespaced prop...
  function htmlEscape (line 1836) | function htmlEscape(s) {
  function disableTextSelection (line 1846) | function disableTextSelection(element) {
  function markFirstLast (line 1864) | function markFirstLast(e) {
  function setDayID (line 1875) | function setDayID(cell, date) {
  function getSkinCss (line 1883) | function getSkinCss(event, opt) {
  function applyAll (line 1920) | function applyAll(functions, thisObj, args) {
  function firstDefined (line 1935) | function firstDefined() {
  function MonthView (line 1948) | function MonthView(element, calendar) {
  function BasicWeekView (line 2012) | function BasicWeekView(element, calendar) {
  function BasicDayView (line 2068) | function BasicDayView(element, calendar) {
  function BasicView (line 2112) | function BasicView(element, calendar, viewName) {
  function BasicEventRenderer (line 2629) | function BasicEventRenderer() {
  function AgendaWeekView (line 2660) | function AgendaWeekView(element, calendar) {
  function AgendaDayView (line 2715) | function AgendaDayView(element, calendar) {
  function AgendaView (line 2777) | function AgendaView(element, calendar, viewName) {
  function AgendaEventRenderer (line 3650) | function AgendaEventRenderer() {
  function placeSlotSegs (line 4338) | function placeSlotSegs(segs) {
  function buildSlotSegLevels (line 4362) | function buildSlotSegLevels(segs) {
  function computeForwardSlotSegs (line 4386) | function computeForwardSlotSegs(levels) {
  function computeSlotSegPressures (line 4408) | function computeSlotSegPressures(seg) {
  function computeSlotSegCoords (line 4442) | function computeSlotSegCoords(seg, seriesBackwardPressure, seriesBackwar...
  function flattenSlotSegLevels (line 4479) | function flattenSlotSegLevels(levels) {
  function computeSlotSegCollisions (line 4498) | function computeSlotSegCollisions(seg, otherSegs, results) {
  function isSlotSegCollision (line 4512) | function isSlotSegCollision(seg1, seg2) {
  function compareForwardSlotSegs (line 4518) | function compareForwardSlotSegs(seg1, seg2) {
  function compareSlotSegs (line 4530) | function compareSlotSegs(seg1, seg2) {
  function View (line 4540) | function View(element, calendar, viewName) {
  function DayEventRenderer (line 5081) | function DayEventRenderer() {
  function isDaySegmentCollision (line 5798) | function isDaySegmentCollision(segment, otherSegments) {
  function segmentElementEach (line 5812) | function segmentElementEach(segments, callback) { // TODO: use in Agenda...
  function compareDaySegments (line 5824) | function compareDaySegments(a, b) {
  function SelectionManager (line 5836) | function SelectionManager() {
  function OverlayManager (line 5934) | function OverlayManager() {
  function CoordinateGrid (line 5973) | function CoordinateGrid(buildFunc) {
  function HoverListener (line 6021) | function HoverListener(coordinateGrid) {
  function _fixUIEvent (line 6073) | function _fixUIEvent(event) { // for issue 1168
  function HorizontalPositionCache (line 6081) | function HorizontalPositionCache(getElement) {

FILE: style/lib/fullcalendar-1.6.4/fullcalendar/gcal.js
  function transformOptions (line 36) | function transformOptions(sourceOptions, start, end) {

FILE: tool/chart_api/canvas_api.js
  function na (line 12) | function na(m,s){m.prototype=$a(s.prototype);m.prototype.constructor=m;m...
  function $a (line 12) | function $a(m){function s(){}s.prototype=m;return new s}
  function Ta (line 12) | function Ta(m,s,q){"millisecond"===q?m.setMilliseconds(m.getMilliseconds...
  function ha (line 13) | function ha(m,s){var q=!1;0>m&&(q=!0,m*=-1);m=""+m;for(s=s?s:1;m.length<...
  function Fa (line 13) | function Fa(m){if(!m)return m;m=m.replace(/^\s\s*/,"");for(var s=/\s/,q=...
  function Ba (line 13) | function Ba(m){m.roundRect=function(m,q,v,y,x,z,S,C){S&&(this.fillStyle=...
  function Pa (line 14) | function Pa(m,s){return m-s}
  function R (line 14) | function R(m){var s=((m&16711680)>>16).toString(16),q=((m&65280)>>8).toS...
  function ab (line 14) | function ab(m,s){var q=this.length>>>0,v=Number(s)||0,v=0>v?Math.ceil(v)...
  function y (line 15) | function y(m){return null===m||"undefined"===typeof m}
  function Ca (line 15) | function Ca(m){m.indexOf||(m.indexOf=ab);return m}
  function bb (line 15) | function bb(m){if(W.fSDec)m[ga("`eeDwdouMhrudods")](ga("e`u`@ohl`uhnoHud...
  function Ua (line 15) | function Ua(m,s,q){q=q||"normal";var v=m+"_"+s+"_"+q,y=Va[v];if(isNaN(y)...
  function F (line 16) | function F(m,s){var q=[];if(q={solid:[],shortDash:[3,1],shortDot:[1,1],s...
  function P (line 17) | function P(m,s,q,v,y){v=v||[];y=y||!1;v.push([m,s,q,y]);return m.addEven...
  function Wa (line 17) | function Wa(m,s,q){m*=ia;s*=ia;m=
  function ja (line 18) | function ja(m,s,q){return m in s?s[m]:q[m]}
  function Ga (line 18) | function Ga(m,s,q){if(v&&Xa){var y=m.getContext("2d");La=y.webkitBacking...
  function cb (line 19) | function cb(m){if(!db){var s=!1,q=!1;"undefined"===typeof qa.Chart.credi...
  function ta (line 21) | function ta(m,s){var q=document.createElement("canvas");q.setAttribute("...
  function oa (line 21) | function oa(m,s,q){for(var v in q)s.style[v]=q[v]}
  function ua (line 21) | function ua(m,s,q){s.getAttribute("state")||(s.style.backgroundColor=m.t...
  function Ma (line 22) | function Ma(){for(var m=null,s=0;s<arguments.length;s++)m=arguments[s],
  function va (line 23) | function va(){for(var m=null,s=0;s<arguments.length;s++)(m=arguments[s])...
  function Y (line 23) | function Y(m,s,q,v,x){this._defaultsKey=m;this._themeOptionsKey=s;this._...
  function Da (line 24) | function Da(m,s,q,v,y){"undefined"===typeof y&&(y=0);this._padding=y;thi...
  function ka (line 24) | function ka(m,s){ka.base.constructor.call(this,"TextBlock",null,s,null,n...
  function Ra (line 24) | function Ra(m,s){Ra.base.constructor.call(this,
  function Ha (line 25) | function Ha(m,s){Ha.base.constructor.call(this,"Title","title",s,null,m)...
  function Na (line 26) | function Na(m,s,q){Na.base.constructor.call(this,"Subtitle","subtitles",...
  function Ia (line 27) | function Ia(m){var s;m&&Ja[m]&&(s=Ja[m]);Ia.base.constructor.call(this,"...
  function m (line 109) | function m(a,f){return a.x-f.x}
  function s (line 109) | function s(a,f,b){if(a&&f&&b){b=b+"."+f;var c="image/"+f;a=a.toDataURL(c...
  function q (line 110) | function q(a,f){f=f||{};this.theme=
  function x (line 119) | function x(a,f){for(var b=[],c,e=0;e<a.length;e++)if(0==e)b.push(a[0]);e...
  function z (line 120) | function z(a,f,b,c,e,g,h,l,t,k){var r=0;k?(h.color=g,l.color=g):k=1;r=t?...
  function J (line 122) | function J(a,f,b,c,e){if(null===a||"undefined"===typeof a)return"undefin...
  function T (line 123) | function T(a,f){T.base.constructor.call(this,"Legend","legend",f,null,a)...
  function S (line 124) | function S(a,f,b,c){S.base.constructor.call(this,"DataSeries","data",f,b...
  function C (line 125) | function C(a,f,b,c,e,g){C.base.constructor.call(this,"Axis",f,b,c,a);thi...
  function I (line 132) | function I(a,f,b,c){I.base.constructor.call(this,"ScaleBreaks","scaleBre...
  function ba (line 135) | function ba(a,f,b,c,e,g){ba.base.constructor.call(this,"Break",f,b,c,g);...
  function fa (line 137) | function fa(a,f,b,c,e){fa.base.constructor.call(this,"StripLine","stripL...
  function ha (line 138) | function ha(a,f,b){ha.base.constructor.call(this,"Crosshair","crosshair"...
  function Z (line 139) | function Z(a,f){Z.base.constructor.call(this,"ToolTip","toolTip",f,null,...
  function ea (line 139) | function ea(a){this.chart=a;this.lastObjectId=0;this.objectMap=[];this.r...
  function ga (line 140) | function ga(a){this.chart=a;this.ctx=this.chart.plotArea.ctx;this.animat...
  function a (line 224) | function a(a,c,b,e){if(e)return b=
  function f (line 225) | function f(a){if(a.dataSeriesIndexes&&!(1>a.dataSeriesIndexes.length)){v...
  function b (line 227) | function b(a){if(a.dataSeriesIndexes&&!(1>a.dataSeriesIndexes.length)&&a...
  function f (line 285) | function f(a){a=x(a,2);if(0<a.length){c.beginPath();v&&e.beginPath();c.m...
  function c (line 336) | function c(){A&&(0<w.lineThickness&&g.stroke(),a.axisY.logarithmic||0>=a...
  function f (line 343) | function f(){var b=x(q,2);if(0<b.length){if(0<p.lineThickness){c.beginPa...
  function c (line 351) | function c(){A&&(0<w.lineThickness&&g.stroke(),a.axisY.logarithmic||0>=a...
  function f (line 358) | function f(){if(!(1>t.length)){for(0<A.lineThickness&&c.stroke();0<t.len...
  function f (line 366) | function f(){for(0<A.lineThickness&&c.stroke();0<t.length;){var a=t.pop(...
  function f (line 426) | function f(){if(s){var a=null;0<r.lineThickness&&c.stroke();for(var b=t....
  function f (line 434) | function f(a,b){var d=x(m,2);if(0<d.length){if(0<k.lineThickness){c.stro...
  function f (line 453) | function f(){if(k&&r){for(var a=0,b=0,c=0,e=0,f=0;f<r.length;f++){var g=...
  function b (line 459) | function b(a){var b=t.plotArea.ctx;b.clearRect(n.x1,n.y1,n.width,n.heigh...
  function c (line 463) | function c(a,b){var c=0,c=a.indexLabelTextBlock.y-a.indexLabelTextBlock....
  function e (line 464) | function e(a){for(var b=null,e=1;e<r.length;e++)if(b=(a+e+d.length)%d.le...
  function g (line 464) | function g(a,b,f){f=(f||0)+1;if(1E3<f)return 0;b=b||0;var k=0,h=x.y-1*q,...
  function h (line 470) | function h(){var a=t.plotArea.ctx;a.fillStyle="grey";a.strokeStyle="grey...
  function l (line 476) | function l(){t.plotArea.layoutManager.reset();t.title&&(t.title.dockInsi...
  function f (line 482) | function f(){for(var a=0,b=[],c=0;c<x.length;c++){if("undefined"===typeo...
  function b (line 482) | function b(){var a=Y,b=X,c=M,d=Z,e,f;e=ca;f=aa-P;headArea=(f-e)*(b-a+(d-...
  function c (line 484) | function c(){if(u&&x){for(var a,b,c,e,f,g,h,k,l,n,t,p,r,m,w=[],q=[],z={p...
  function e (line 489) | function e(){var a,b,c,d,e,f=[];e=!1;c=0;for(var g=S-X-U/2,g=u.options.i...
  function g (line 491) | function g(){var a,b,c,e;if("inside"!==u.indexLabelPlacement)for(var f=0...
  function h (line 493) | function h(){function a(b,c){var d;if(0>b||b>=G.length)return 0;var e,f=...
  function l (line 496) | function l(a,b){return(b<N.length?G[b].textBlock.y:u.reversed?T+C:ra+C)-...
  function t (line 496) | function t(a,b,c){var d,e,f,h=[],l=C,n=[];-1!==b&&(0<=$.indexOf(b)?(e=$....
  function k (line 499) | function k(){for(var a=0,b=0;b<N.length-1;b++)(0<=$.indexOf(b)||0<=$.ind...
  function r (line 499) | function r(a){for(var b,c,e,f,g=0;g<N.length;g++)f=1===G[g].lineThicknes...
  function p (line 500) | function p(a){for(a-=1;-1<=a&&-1!=a&&G[a].isDirty;a--);return a}
  function n (line 500) | function n(a){for(a+=1;a<=N.length&&a!=N.length&&G[a].isDirty;a++);retur...
  function d (line 500) | function d(a){for(var b,c=0;c<x.length;c++)if(N[c].y1<a&&N[c].y4>a){b=N[...
  function m (line 501) | function m(a){for(var b=0;b<N.length;b++)G[b].isDirty||(a&&(G[b].textBlo...
  function q (line 501) | function q(a){s.plotArea.layoutManager.reset();a.roundRect||Ba(a);s.titl...
  function V (line 867) | function V(){return this.context_||(this.context_=new C(this))}
  function W (line 867) | function W(a,b,c){var g=M.call(arguments,2);return function(){return a.a...
  function N (line 867) | function N(a){return String(a).replace(/&/g,"&amp;").replace(/"/g,"&quot...
  function O (line 867) | function O(a){a.namespaces.g_vml_||a.namespaces.add("g_vml_","urn:schema...
  function X (line 868) | function X(a){var b=a.srcElement;switch(a.propertyName){case "width":b.g...
  function Y (line 869) | function Y(a){a=a.srcElement;a.firstChild&&(a.firstChild.style.width=a.c...
  function D (line 869) | function D(){return[[1,0,0],[0,1,0],[0,0,1]]}
  function t (line 869) | function t(a,b){for(var c=D(),g=0;3>g;g++)for(var e=0;3>e;e++){for(var f...
  function P (line 869) | function P(a,b){b.fillStyle=a.fillStyle;b.lineCap=a.lineCap;b.lineJoin=a...
  function Q (line 870) | function Q(a){var b=a.indexOf("(",3),c=a.indexOf(")",b+1),b=a.substring(...
  function E (line 870) | function E(a,b,c){return Math.min(c,Math.max(b,a))}
  function F (line 870) | function F(a,b,c){0>c&&c++;1<c&&c--;return 1>6*c?a+6*(b-a)*c:
  function G (line 871) | function G(a){if(a in H)return H[a];var b,c=1;a=String(a);if("#"==a.char...
  function C (line 872) | function C(a){this.m_=D();this.mStack_=[];this.aStack_=[];this.currentPa...
  function R (line 873) | function R(a,b,c,g){a.currentPath_.push({type:"bezierCurveTo",cp1x:b.x,c...
  function S (line 873) | function S(a,b){var c=G(a.strokeStyle),g=c.color,c=c.alpha*a.globalAlpha...
  function T (line 874) | function T(a,b,c,g){var e=a.fillStyle,f=a.arcScaleX_,d=a.arcScaleY_,k=g....
  function s (line 876) | function s(a,b,c){a=a.m_;return{x:q*(b*a[0][0]+c*a[1][0]+a[2][0])-r,y:q*...
  function z (line 876) | function z(a,b,c){isFinite(b[0][0])&&(isFinite(b[0][1])&&isFinite(b[1][0...
  function w (line 877) | function w(a){this.type_=a;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=...
  function I (line 877) | function I(a,b){if(!a||1!=a.nodeType||"IMG"!=a.tagName)throw new A("TYPE...
  function A (line 878) | function A(a){this.code=this[a];this.message=a+": DOM Exception "+this.c...

FILE: tool/color_picker/jscolor.js
  function RGB_HSV (line 1318) | function RGB_HSV (r, g, b) {
  function HSV_RGB (line 1341) | function HSV_RGB (h, s, v) {
  function detachPicker (line 1367) | function detachPicker () {
  function drawPicker (line 1374) | function drawPicker () {
  function redrawPad (line 1656) | function redrawPad () {
  function redrawSld (line 1697) | function redrawSld () {
  function isPickerOwner (line 1711) | function isPickerOwner () {
  function blurValue (line 1716) | function blurValue () {

FILE: tool/date_picker/js/bootstrap-datepicker.js
  function UTCDate (line 17) | function UTCDate(){
  function UTCToday (line 20) | function UTCToday(){
  function isUTCEquals (line 24) | function isUTCEquals(date1, date2) {
  function alias (line 31) | function alias(method){
  function isValidDate (line 36) | function isValidDate(d) {
  function opts_from_el (line 1644) | function opts_from_el(el, prefix){
  function opts_from_locale (line 1661) | function opts_from_locale(lang){
  function applyNearbyYear (line 1887) | function applyNearbyYear(year, threshold){
  function match_part (line 1939) | function match_part(){

FILE: tool/datepickk-master/datepickk-master/dist/datepickk.js
  function __webpack_require__ (line 16) | function __webpack_require__(moduleId) {
  function Datepickk (line 89) | function Datepickk(args) {
  function whichAnimationEvent (line 1244) | function whichAnimationEvent() {

FILE: tool/datepickk-master/datepickk-master/dist/doc.js
  function __webpack_require__ (line 16) | function __webpack_require__(moduleId) {

FILE: tool/datepickk-master/datepickk-master/docs/demo.js
  function SmoothScroll (line 10) | function SmoothScroll(target){

FILE: tool/datepickk-master/datepickk-master/src/js/datepickk.js
  function Datepickk (line 9) | function Datepickk(args){
  function whichAnimationEvent (line 1146) | function whichAnimationEvent(){

FILE: tool/pdf/fpdf.php
  class FPDF (line 12) | class FPDF
    method __construct (line 74) | function __construct($orientation='P', $unit='mm', $size='A4')
    method SetMargins (line 172) | function SetMargins($left, $top, $right=null)
    method SetLeftMargin (line 182) | function SetLeftMargin($margin)
    method SetTopMargin (line 190) | function SetTopMargin($margin)
    method SetRightMargin (line 196) | function SetRightMargin($margin)
    method SetAutoPageBreak (line 202) | function SetAutoPageBreak($auto, $margin=0)
    method SetDisplayMode (line 210) | function SetDisplayMode($zoom, $layout='default')
    method SetCompression (line 223) | function SetCompression($compress)
    method SetTitle (line 232) | function SetTitle($title, $isUTF8=false)
    method SetAuthor (line 238) | function SetAuthor($author, $isUTF8=false)
    method SetSubject (line 244) | function SetSubject($subject, $isUTF8=false)
    method SetKeywords (line 250) | function SetKeywords($keywords, $isUTF8=false)
    method SetCreator (line 256) | function SetCreator($creator, $isUTF8=false)
    method AliasNbPages (line 262) | function AliasNbPages($alias='{nb}')
    method Error (line 268) | function Error($msg)
    method Close (line 274) | function Close()
    method AddPage (line 291) | function AddPage($orientation='', $size='', $rotation=0)
    method Header (line 360) | function Header()
    method Footer (line 365) | function Footer()
    method PageNo (line 370) | function PageNo()
    method SetDrawColor (line 376) | function SetDrawColor($r, $g=null, $b=null)
    method SetFillColor (line 387) | function SetFillColor($r, $g=null, $b=null)
    method SetTextColor (line 399) | function SetTextColor($r, $g=null, $b=null)
    method GetStringWidth (line 409) | function GetStringWidth($s)
    method SetLineWidth (line 421) | function SetLineWidth($width)
    method Line (line 429) | function Line($x1, $y1, $x2, $y2)
    method Rect (line 435) | function Rect($x, $y, $w, $h, $style='')
    method AddFont (line 447) | function AddFont($family, $style='', $file='')
    method SetFont (line 472) | function SetFont($family, $style='', $size=0)
    method SetFontSize (line 522) | function SetFontSize($size)
    method AddLink (line 533) | function AddLink()
    method SetLink (line 541) | function SetLink($link, $y=0, $page=-1)
    method Link (line 551) | function Link($x, $y, $w, $h, $link)
    method Text (line 557) | function Text($x, $y, $txt)
    method AcceptPageBreak (line 570) | function AcceptPageBreak()
    method Cell (line 576) | function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=fa...
    method MultiCell (line 656) | function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false)
    method Write (line 771) | function Write($h, $txt, $link='')
    method Ln (line 854) | function Ln($h=null)
    method Image (line 864) | function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='')
    method GetPageWidth (line 929) | function GetPageWidth()
    method GetPageHeight (line 935) | function GetPageHeight()
    method GetX (line 941) | function GetX()
    method SetX (line 947) | function SetX($x)
    method GetY (line 956) | function GetY()
    method SetY (line 962) | function SetY($y, $resetX=true)
    method SetXY (line 973) | function SetXY($x, $y)
    method Output (line 980) | function Output($dest='', $name='', $isUTF8=false)
    method _dochecks (line 1037) | protected function _dochecks()
    method _checkoutput (line 1047) | protected function _checkoutput()
    method _getpagesize (line 1067) | protected function _getpagesize($size)
    method _beginpage (line 1086) | protected function _beginpage($orientation, $size, $rotation)
    method _endpage (line 1133) | protected function _endpage()
    method _loadfont (line 1138) | protected function _loadfont($font)
    method _isascii (line 1153) | protected function _isascii($s)
    method _httpencode (line 1165) | protected function _httpencode($param, $value, $isUTF8)
    method _UTF8toUTF16 (line 1178) | protected function _UTF8toUTF16($s)
    method _escape (line 1211) | protected function _escape($s)
    method _textstring (line 1220) | protected function _textstring($s)
    method _dounderline (line 1228) | protected function _dounderline($x, $y, $txt)
    method _parsejpg (line 1237) | protected function _parsejpg($file)
    method _parsepng (line 1256) | protected function _parsepng($file)
    method _parsepngstream (line 1267) | protected function _parsepngstream($f, $file)
    method _readstream (line 1393) | protected function _readstream($f, $n)
    method _readint (line 1410) | protected function _readint($f)
    method _parsegif (line 1417) | protected function _parsegif($file)
    method _out (line 1442) | protected function _out($s)
    method _put (line 1455) | protected function _put($s)
    method _getoffset (line 1460) | protected function _getoffset()
    method _newobj (line 1465) | protected function _newobj($n=null)
    method _putstream (line 1474) | protected function _putstream($data)
    method _putstreamobject (line 1481) | protected function _putstreamobject($data)
    method _putpage (line 1497) | protected function _putpage($n)
    method _putpages (line 1539) | protected function _putpages()
    method _putfonts (line 1569) | protected function _putfonts()
    method _tounicodecmap (line 1686) | protected function _tounicodecmap($uv)
    method _putimages (line 1737) | protected function _putimages()
    method _putimage (line 1747) | protected function _putimage(&$info)
    method _putxobjectdict (line 1792) | protected function _putxobjectdict()
    method _putresourcedict (line 1798) | protected function _putresourcedict()
    method _putresources (line 1810) | protected function _putresources()
    method _putinfo (line 1822) | protected function _putinfo()
    method _putcatalog (line 1830) | protected function _putcatalog()
    method _putheader (line 1851) | protected function _putheader()
    method _puttrailer (line 1856) | protected function _puttrailer()
    method _enddoc (line 1863) | protected function _enddoc()

FILE: tool/pdf/makefont/makefont.php
  function Message (line 12) | function Message($txt, $severity='')
  function Notice (line 28) | function Notice($txt)
  function Warning (line 33) | function Warning($txt)
  function Error (line 38) | function Error($txt)
  function LoadMap (line 44) | function LoadMap($enc)
  function GetInfoFromTrueType (line 62) | function GetInfoFromTrueType($file, $embed, $subset, $map)
  function GetInfoFromType1 (line 124) | function GetInfoFromType1($file, $embed, $map)
  function MakeFontDescriptor (line 218) | function MakeFontDescriptor($info)
  function MakeWidthArray (line 255) | function MakeWidthArray($widths)
  function MakeFontEncoding (line 278) | function MakeFontEncoding($map)
  function MakeUnicodeArray (line 297) | function MakeUnicodeArray($map)
  function SaveToFile (line 342) | function SaveToFile($file, $s, $mode)
  function MakeDefinitionFile (line 351) | function MakeDefinitionFile($file, $type, $enc, $embed, $subset, $map, $...
  function MakeFont (line 384) | function MakeFont($fontfile, $enc='cp1252', $embed=true, $subset=true)

FILE: tool/pdf/makefont/ttfparser.php
  class TTFParser (line 10) | class TTFParser
    method __construct (line 35) | function __construct($file)
    method __destruct (line 42) | function __destruct()
    method Parse (line 48) | function Parse()
    method ParseOffsetTable (line 63) | function ParseOffsetTable()
    method ParseHead (line 83) | function ParseHead()
    method ParseHhea (line 101) | function ParseHhea()
    method ParseMaxp (line 108) | function ParseMaxp()
    method ParseHmtx (line 115) | function ParseHmtx()
    method ParseLoca (line 132) | function ParseLoca()
    method ParseGlyf (line 155) | function ParseGlyf()
    method ParseCmap (line 194) | function ParseCmap()
    method ParseName (line 262) | function ParseName()
    method ParseOS2 (line 291) | function ParseOS2()
    method ParsePost (line 313) | function ParsePost()
    method Subset (line 355) | function Subset($chars)
    method AddGlyph (line 378) | function AddGlyph($id)
    method Build (line 392) | function Build()
    method BuildCmap (line 404) | function BuildCmap()
    method BuildHhea (line 489) | function BuildHhea()
    method BuildHmtx (line 497) | function BuildHmtx()
    method BuildLoca (line 508) | function BuildLoca()
    method BuildGlyf (line 527) | function BuildGlyf()
    method BuildMaxp (line 550) | function BuildMaxp()
    method BuildPost (line 558) | function BuildPost()
    method BuildFont (line 593) | function BuildFont()
    method LoadTable (line 646) | function LoadTable($tag)
    method SetTable (line 656) | function SetTable($tag, $data)
    method Seek (line 667) | function Seek($tag)
    method Skip (line 674) | function Skip($n)
    method Read (line 679) | function Read($n)
    method ReadUShort (line 684) | function ReadUShort()
    method ReadShort (line 690) | function ReadShort()
    method ReadULong (line 699) | function ReadULong()
    method CheckSum (line 705) | function CheckSum($s)
    method Error (line 718) | function Error($msg)

FILE: tool/pdf/tutorial/tuto2.php
  class PDF (line 4) | class PDF extends FPDF
    method Header (line 7) | function Header()
    method Footer (line 22) | function Footer()

FILE: tool/pdf/tutorial/tuto3.php
  class PDF (line 4) | class PDF extends FPDF
    method Header (line 6) | function Header()
    method Footer (line 27) | function Footer()
    method ChapterTitle (line 39) | function ChapterTitle($num, $label)
    method ChapterBody (line 51) | function ChapterBody($file)
    method PrintChapter (line 66) | function PrintChapter($num, $title, $file)

FILE: tool/pdf/tutorial/tuto4.php
  class PDF (line 4) | class PDF extends FPDF
    method Header (line 9) | function Header()
    method Footer (line 27) | function Footer()
    method SetCol (line 36) | function SetCol($col)
    method AcceptPageBreak (line 45) | function AcceptPageBreak()
    method ChapterTitle (line 66) | function ChapterTitle($num, $label)
    method ChapterBody (line 77) | function ChapterBody($file)
    method PrintChapter (line 93) | function PrintChapter($num, $title, $file)

FILE: tool/pdf/tutorial/tuto5.php
  class PDF (line 4) | class PDF extends FPDF
    method LoadData (line 7) | function LoadData($file)
    method BasicTable (line 18) | function BasicTable($header, $data)
    method ImprovedTable (line 34) | function ImprovedTable($header, $data)
    method FancyTable (line 56) | function FancyTable($header, $data)

FILE: tool/pdf/tutorial/tuto6.php
  class PDF (line 4) | class PDF extends FPDF
    method WriteHTML (line 11) | function WriteHTML($html)
    method OpenTag (line 48) | function OpenTag($tag, $attr)
    method CloseTag (line 59) | function CloseTag($tag)
    method SetStyle (line 68) | function SetStyle($tag, $enable)
    method PutLink (line 81) | function PutLink($URL, $txt)

FILE: tool/vendor/vendor/composer/ClassLoader.php
  class ClassLoader (line 43) | class ClassLoader
    method getPrefixes (line 60) | public function getPrefixes()
    method getPrefixesPsr4 (line 69) | public function getPrefixesPsr4()
    method getFallbackDirs (line 74) | public function getFallbackDirs()
    method getFallbackDirsPsr4 (line 79) | public function getFallbackDirsPsr4()
    method getClassMap (line 84) | public function getClassMap()
    method addClassMap (line 92) | public function addClassMap(array $classMap)
    method add (line 109) | public function add($prefix, $paths, $prepend = false)
    method addPsr4 (line 156) | public function addPsr4($prefix, $paths, $prepend = false)
    method set (line 201) | public function set($prefix, $paths)
    method setPsr4 (line 219) | public function setPsr4($prefix, $paths)
    method setUseIncludePath (line 238) | public function setUseIncludePath($useIncludePath)
    method getUseIncludePath (line 249) | public function getUseIncludePath()
    method setClassMapAuthoritative (line 260) | public function setClassMapAuthoritative($classMapAuthoritative)
    method isClassMapAuthoritative (line 270) | public function isClassMapAuthoritative()
    method setApcuPrefix (line 280) | public function setApcuPrefix($apcuPrefix)
    method getApcuPrefix (line 290) | public function getApcuPrefix()
    method register (line 300) | public function register($prepend = false)
    method unregister (line 308) | public function unregister()
    method loadClass (line 319) | public function loadClass($class)
    method findFile (line 335) | public function findFile($class)
    method findFileWithExtension (line 370) | private function findFileWithExtension($class, $ext)
  function includeFile (line 442) | function includeFile($file)

FILE: tool/vendor/vendor/composer/autoload_real.php
  class ComposerAutoloaderInit95c28ce00c66f07dd124361b6fb3cd4e (line 5) | class ComposerAutoloaderInit95c28ce00c66f07dd124361b6fb3cd4e
    method loadClassLoader (line 9) | public static function loadClassLoader($class)
    method getLoader (line 16) | public static function getLoader()

FILE: tool/vendor/vendor/composer/autoload_static.php
  class ComposerStaticInit95c28ce00c66f07dd124361b6fb3cd4e (line 7) | class ComposerStaticInit95c28ce00c66f07dd124361b6fb3cd4e
    method getInitializer (line 23) | public static function getInitializer(ClassLoader $loader)

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/BarcodeGenerator.php
  method getBarcodeData (line 80) | protected function getBarcodeData($code, $type)
  function encode_code39_ext (line 324) | function encode_code39_ext($code)
  function checksum_code39 (line 475) | function checksum_code39($code)
  function checksum_code93 (line 768) | function checksum_code93($code)
  function barcode_msi (line 892) | function barcode_msi($code, $checksum = false)
  function get128ABsequence (line 1429) | function get128ABsequence($code)
  function barcode_eanupc (line 1475) | function barcode_eanupc($code, $len = 13)
  function convertBarcodeArrayToNewStyle (line 2832) | function convertBarcodeArrayToNewStyle($oldBarcodeArray)

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/BarcodeGeneratorHTML.php
  class BarcodeGeneratorHTML (line 5) | class BarcodeGeneratorHTML extends BarcodeGenerator
    method getBarcode (line 19) | public function getBarcode($code, $type, $widthFactor = 2, $totalHeigh...

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/BarcodeGeneratorJPG.php
  class BarcodeGeneratorJPG (line 5) | class BarcodeGeneratorJPG extends BarcodeGenerator
    method getBarcode (line 19) | public function getBarcode($code, $type, $widthFactor = 2, $totalHeigh...

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/BarcodeGeneratorPNG.php
  class BarcodeGeneratorPNG (line 5) | class BarcodeGeneratorPNG extends BarcodeGenerator
    method getBarcode (line 19) | public function getBarcode($code, $type, $widthFactor = 2, $totalHeigh...

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/BarcodeGeneratorSVG.php
  class BarcodeGeneratorSVG (line 5) | class BarcodeGeneratorSVG extends BarcodeGenerator
    method getBarcode (line 19) | public function getBarcode($code, $type, $widthFactor = 2, $totalHeigh...

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/BarcodeException.php
  class BarcodeException (line 5) | class BarcodeException extends \Exception {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/InvalidCharacterException.php
  class InvalidCharacterException (line 5) | class InvalidCharacterException extends BarcodeException {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/InvalidCheckDigitException.php
  class InvalidCheckDigitException (line 5) | class InvalidCheckDigitException extends BarcodeException {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/InvalidFormatException.php
  class InvalidFormatException (line 5) | class InvalidFormatException extends BarcodeException {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/InvalidLengthException.php
  class InvalidLengthException (line 5) | class InvalidLengthException extends BarcodeException {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/src/Exceptions/UnknownTypeException.php
  class UnknownTypeException (line 5) | class UnknownTypeException extends BarcodeException {}

FILE: tool/vendor/vendor/picqer/php-barcode-generator/tests/BarcodeTest.php
  class BarcodeTest (line 3) | class BarcodeTest extends PHPUnit_Framework_TestCase
    method png_barcode_generator_can_generate_code_128_barcode (line 8) | public function png_barcode_generator_can_generate_code_128_barcode()
    method svg_barcode_generator_can_generate_ean_13_barcode (line 19) | public function svg_barcode_generator_can_generate_ean_13_barcode()
    method html_barcode_generator_can_generate_code_128_barcode (line 30) | public function html_barcode_generator_can_generate_code_128_barcode()
    method jpg_barcode_generator_can_generate_code_128_barcode (line 41) | public function jpg_barcode_generator_can_generate_code_128_barcode()
    method ean13_generator_throws_exception_if_invalid_chars_are_used (line 51) | public function ean13_generator_throws_exception_if_invalid_chars_are_...
    method ean13_generator_accepting_13_chars (line 60) | public function ean13_generator_accepting_13_chars()
    method ean13_generator_accepting_12_chars_and_generates_13th_check_digit (line 71) | public function ean13_generator_accepting_12_chars_and_generates_13th_...
    method ean13_generator_accepting_11_chars_and_generates_13th_check_digit_and_adds_leading_zero (line 82) | public function ean13_generator_accepting_11_chars_and_generates_13th_...
    method ean13_generator_throws_exception_when_wrong_check_digit_is_given (line 94) | public function ean13_generator_throws_exception_when_wrong_check_digi...
    method generator_throws_unknown_type_exceptions (line 104) | public function generator_throws_unknown_type_exceptions()
Condensed preview — 696 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6,596K chars).
[
  {
    "path": ".htaccess",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "404.php",
    "chars": 447,
    "preview": "<div class=\"d-flex justify-content-center align-items-center main\" id=\"main\">\n    <h1 class=\"mr-3 pr-3 align-top border-"
  },
  {
    "path": "README.md",
    "chars": 4036,
    "preview": "# Student Management System\n\n> This is a simple web-based open source software written in PHP and JavaScript. This was s"
  },
  {
    "path": "account.php",
    "chars": 266,
    "preview": "\n\n<?php \n\ninclude \"layout/header.php\";\n\nif(isset($_GET['type'])){\n  $type=$_GET['type'];\n  if ($type==\"expence\") {\n  \tin"
  },
  {
    "path": "account_action.php",
    "chars": 89,
    "preview": "<?php\n\ninclude \"layout/header_script.php\";\ninclude \"page_action/account/account.php\";\n\n?>"
  },
  {
    "path": "add_result.php",
    "chars": 106,
    "preview": "<?php\n\ninclude 'layout/header.php';\ninclude 'page/result/add_result.php';\ninclude 'layout/footer.php';\n\n?>"
  },
  {
    "path": "add_result_action.php",
    "chars": 95,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\ninclude 'page_action/result/result_action.php';\n\n\n?>"
  },
  {
    "path": "add_student.php",
    "chars": 108,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/student/add_student.php\";\ninclude \"layout/footer.php\";\n\n?>"
  },
  {
    "path": "api.php",
    "chars": 42,
    "preview": "<?php\n\n\ninclude \"page/api/api.php\";\n\n\n?>\n\n"
  },
  {
    "path": "attend.php",
    "chars": 101,
    "preview": "<?php\ninclude 'layout/header.php';\ninclude \"page/attend/attend.php\";\ninclude \"layout/footer.php\";\n\n?>"
  },
  {
    "path": "attend_action.php",
    "chars": 96,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\ninclude \"page_action/attend/attend_action.php\";\n\n\n\n?>"
  },
  {
    "path": "barcode.php",
    "chars": 9587,
    "preview": "<?php\n\n/*\n =\n *  Usage:\t<img src=\"/barcode.php?text=testing\" alt=\"testing\" />\n */\n// For demonstration purposes, get par"
  },
  {
    "path": "batch_action.php",
    "chars": 55,
    "preview": "<?php\n\ninclude \"page_action/batch_page_action.php\";\n\n?>"
  },
  {
    "path": "batch_list.php",
    "chars": 107,
    "preview": "<?php \n\ninclude \"layout/header.php\";\ninclude \"page/batch/batch_list.php\";\ninclude \"layout/footer.php\";\n\n\n?>"
  },
  {
    "path": "chat.php",
    "chars": 102,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/chat/chat.php\";\ninclude \"layout/footer.php\";\n\n\n?>\n\n\n"
  },
  {
    "path": "config/config.php",
    "chars": 51,
    "preview": "<?php\n\ninclude \"db.php\";\ninclude \"connect.php\";\n\n?>"
  },
  {
    "path": "config/connect.php",
    "chars": 5548,
    "preview": "\n<?php\n\nclass database {\n   \n\n public $host=db_host;\n public $user=db_user;\n public $pass=db_pass;\n public $db=db_name;\n"
  },
  {
    "path": "config/db.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "config/dbclass.php",
    "chars": 539,
    "preview": "\n<?php\n\nclass dbclass {\n   \n\n public $host=db_host;\n public $user=db_user;\n public $pass=db_pass;\n public $db=db_name;\n "
  },
  {
    "path": "dashboard_action.php",
    "chars": 100,
    "preview": "<?php\n\ninclude \"layout/header_script.php\";\ninclude \"page_action/dashboard/dashboard_action.php\";\n\n?>"
  },
  {
    "path": "edit_id_card.php",
    "chars": 107,
    "preview": "<?php\ninclude \"layout/header.php\";\ninclude \"page/id_card/edit_id_card.php\";\ninclude \"layout/footer.php\";\n?>"
  },
  {
    "path": "exam.php",
    "chars": 367,
    "preview": "<?php\n\ninclude \"layout/header.php\";\n\n$ok=0;\n\nif(isset($_GET['page'])){\n\t$page=$_GET['page'];\n\tif($page==\"exam_category\")"
  },
  {
    "path": "exam_action.php",
    "chars": 93,
    "preview": "<?php\n\n\ninclude \"layout/header_script.php\";\ninclude \"page_action/exam/exam_action.php\";\n\n\n\n?>"
  },
  {
    "path": "exam_category_action.php",
    "chars": 115,
    "preview": "<?php\n\n\ninclude \"layout/header_script.php\";\ninclude \"page_action/exam/exam_category/exam_category_action.php\";\n\n\n?>"
  },
  {
    "path": "exam_list.php",
    "chars": 104,
    "preview": "<?php\n\ninclude 'layout/header.php';\ninclude 'page/exam/exam_list.php';\ninclude 'layout/footer.php';\n\n\n?>"
  },
  {
    "path": "exam_panel.php",
    "chars": 111,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/exam_panel/exam_panel.php\";\ninclude \"layout/footer.php\";\n\n\n?>"
  },
  {
    "path": "exam_panel_action.php",
    "chars": 174,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\n\nif( isset($_SESSION['user'])!=\"\" ){\n\tinclude \"page_action/exam_panel/exam_pa"
  },
  {
    "path": "export.php",
    "chars": 80,
    "preview": "<?php\n\ninclude \"layout/header_script.php\";\ninclude \"page/export/excel.php\";\n\n?>\n"
  },
  {
    "path": "id_card.php",
    "chars": 132,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/id_card/id_card_editor/id_card_editor.php\";\ninclude \"layout/footer.php"
  },
  {
    "path": "id_card_action.php",
    "chars": 114,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\ninclude \"page_action/id_card/edit_id_card/edit_id_card_action.php\";\n\n?>"
  },
  {
    "path": "index.php",
    "chars": 104,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/index/dashboard.php\";\ninclude \"layout/footer.php\";\n\n?>"
  },
  {
    "path": "install_action.php",
    "chars": 53,
    "preview": "<?php\n\ninclude \"page_action/install/install.php\";\n\n?>"
  },
  {
    "path": "install_system.php",
    "chars": 195,
    "preview": "<?php\ninclude \"script/install/install.php\";\n$install=new install();\n$step=$install->step_install();\nif($step==1)include "
  },
  {
    "path": "layout/bubble.php",
    "chars": 3935,
    "preview": "\n<script type=\"text/javascript\" src=\"layout/js/bubble.js\"></script>\n\n<style type=\"text/css\">\n\t.theme_select .modal-dialo"
  },
  {
    "path": "layout/footer.php",
    "chars": 1044,
    "preview": "</div>\n</div>\n\n\n    <script src=\"style/lib/bootstrap/js/bootstrap.js\"></script>\n    <script type=\"text/javascript\">\n    "
  },
  {
    "path": "layout/header.php",
    "chars": 33,
    "preview": "<?php\n\n\ninclude \"layout.php\";\n\n?>"
  },
  {
    "path": "layout/header_lib.php",
    "chars": 1168,
    "preview": "\t<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>\n\t<link rel=\"sty"
  },
  {
    "path": "layout/header_script.php",
    "chars": 2504,
    "preview": "<?php\n\nsession_start(); \n \nif( isset($_SESSION['user'])!=\"\" ){\n\ninclude \"config/config.php\";\n$db=new database();\n\ninclud"
  },
  {
    "path": "layout/js/bubble.js",
    "chars": 660,
    "preview": "\naction_url=\"nav_bar_action.php\";\n\n\nfunction get_theme_list(){\n  modal_open(\"lg\", \"Theme\");\n  loader(\"modal_lg_body\");\n\n"
  },
  {
    "path": "layout/js/nav_bar_script.js",
    "chars": 3340,
    "preview": "\naction_url=\"nav_bar_action.php\";\n\nfunction sql_editor(){\n    var data = {\n        \"sql_editor\": 1\n    }\n    modal_open("
  },
  {
    "path": "layout/layout.php",
    "chars": 298,
    "preview": "<?php\ninclude \"layout_style.php\";\ninclude \"nev_bar.php\";\ninclude \"side_bar.php\";\n?>\n\n<div id=\"content\" class=\"content\"> "
  },
  {
    "path": "layout/layout_style.php",
    "chars": 3004,
    "preview": "\n<?php\ninclude \"header_script.php\";\n?>\n\n<!doctype html>\n<html lang=\"en\"><head>\n    <meta charset=\"utf-8\">\n    \n    <meta"
  },
  {
    "path": "layout/loader.php",
    "chars": 2817,
    "preview": "\n\n<div class=\"bg_load\"></div>\n<div class=\"wrapper\">\n    <div class=\"inner\">\n        <span>L</span>\n        <span>o</span"
  },
  {
    "path": "layout/menu_button.php",
    "chars": 2237,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
  },
  {
    "path": "layout/modal_lib.php",
    "chars": 4259,
    "preview": "<!-- Start sm Modal -->\n<div class=\"modal fade modal_sm\" id=\"modal_sm\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"moda"
  },
  {
    "path": "layout/nev_bar.php",
    "chars": 2791,
    "preview": "<!--\n===============================\n  Navbar\n===============================\n-->\n\n\n<?php \n\n$name=$login_user['uname'];\n"
  },
  {
    "path": "layout/page/nav_bar_dropdown.php",
    "chars": 2128,
    "preview": "<li class=\"dropdown\">\n                    <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\n                  "
  },
  {
    "path": "layout/side_bar.php",
    "chars": 7867,
    "preview": "<div style=\"background-color: #ffffff; height: 100%; position: absolute;\">\n    <div class=\"sidebar-nav\" style=\"\">\n      "
  },
  {
    "path": "layout/site_script.js",
    "chars": 2337,
    "preview": "function script_test(){\n\talert(\"working\");\n}\n\nfunction get_ajax(action_data,data){\n  url=action_data['url'];\n  div=actio"
  },
  {
    "path": "login.php",
    "chars": 321,
    "preview": "<?php\n\n\nsession_start();\nif( isset($_SESSION['user'])==\"\" ){\ninclude \"layout/header_lib.php\";\ninclude \"script/install/in"
  },
  {
    "path": "login_action.php",
    "chars": 1148,
    "preview": "<?php\nsession_start();\ninclude \"config/config.php\";\n$db=new database();\n\ninclude 'script/user/user.php';\n$user_ob=new us"
  },
  {
    "path": "logout.php",
    "chars": 85,
    "preview": "<?php\n\n\nsession_start();\nunset($_SESSION[\"user\"]);\nheader(\"Location: login.php\");\n\n?>"
  },
  {
    "path": "nav_bar_action.php",
    "chars": 91,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\ninclude \"page_action/nav_bar/nav_bar.php\";\n\n\n\n?>"
  },
  {
    "path": "notice_action.php",
    "chars": 87,
    "preview": "<?php\n\ninclude 'layout/header_script.php';\ninclude \"page_action/notice/notice.php\";\n\n?>"
  },
  {
    "path": "notice_list.php",
    "chars": 108,
    "preview": "<?php\n\ninclude \"layout/header.php\";\ninclude \"page/notice/notice_list.php\";\ninclude \"layout/footer.php\";\n\n\n?>"
  },
  {
    "path": "page/account/expence.php",
    "chars": 3667,
    "preview": "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/index/style.css\">\n<script type=\"text/javascript\" src=\"page/account/js"
  },
  {
    "path": "page/account/income.php",
    "chars": 3659,
    "preview": "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/index/style.css\">\n<script type=\"text/javascript\" src=\"page/account/js"
  },
  {
    "path": "page/account/js/expence.js",
    "chars": 1635,
    "preview": "\nurl=\"account_action.php\";\nmodal_body=\"modal_sm_body\";\nmodal=\"sm\";\n\nvar action_data={\n    'url':url,\n    'div':modal_bod"
  },
  {
    "path": "page/account/js/income.js",
    "chars": 1619,
    "preview": "\nurl=\"account_action.php\";\nmodal_body=\"modal_sm_body\";\nmodal=\"sm\";\n\nvar action_data={\n    'url':url,\n    'div':modal_bod"
  },
  {
    "path": "page/api/api.php",
    "chars": 1278,
    "preview": "<?php\n\nsession_start(); \n\n\ninclude \"config/config.php\";\n\ninclude 'script/program/program.php';\ninclude \"script/site_cont"
  },
  {
    "path": "page/attend/attend.php",
    "chars": 3592,
    "preview": "\n\n<script src=\"page/attend/js/attend.js\"></script>\n<?php \n$date=date(\"Y-m-d\",strtotime($db->date()));\n?>\n <div class=\"ro"
  },
  {
    "path": "page/attend/extra.php",
    "chars": 2206,
    "preview": "\n$url=\"https://www.jqueryscript.net/demo/Exporting-Html-Tables-To-CSV-XLS-XLSX-Text-TableExport/\";\n\n?>\n\n<!doctype html>\n"
  },
  {
    "path": "page/attend/js/attend.js",
    "chars": 4025,
    "preview": "\nurl = \"attend_action.php\";\nmodal_body = \"modal_lg_body\";\nmodal = \"lg\";\n\nvar program_id,batch_id,date;\n \nfunction get_ac"
  },
  {
    "path": "page/batch/batch_list.php",
    "chars": 1920,
    "preview": "\n<script type=\"text/javascript\" src=\"page/batch/batch_script.js\"></script>\n\n\n<div class=\"row\">\n<div class=\"col-md-12\">\n<"
  },
  {
    "path": "page/batch/batch_script.js",
    "chars": 2042,
    "preview": "url = \"batch_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\nvar action_data = {\n    'url': url,\n    'div': mo"
  },
  {
    "path": "page/chat/chat.php",
    "chars": 3480,
    "preview": "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/chat/css/style.css\">\n \n<div class=\"row bootstrap snippets\">\n <div cla"
  },
  {
    "path": "page/chat/css/style.css",
    "chars": 10726,
    "preview": ".box {\n    position: relative;\n    border-radius: 3px;\n    background: #ffffff;\n    border-top: 3px solid #d2d6de;\n    m"
  },
  {
    "path": "page/editor/css/sms_editor.css",
    "chars": 1760,
    "preview": ".editor_box{\n\tborder-top-width: 0px;\n\tborder-color: #000000;\n\tborder-style: solid;\n\tborder-bottom-width: 0px;\n}\n.editor_"
  },
  {
    "path": "page/editor/js/sms_editor.js",
    "chars": 2835,
    "preview": "function select(className){\n\n    clear(className);\n    title=title_name(className);\n    set_header_title(title);\n    aja"
  },
  {
    "path": "page/editor/sms_editor.php",
    "chars": 653,
    "preview": "\n<script type=\"text/javascript\" src=\"page/editor/js/sms_editor.js\"></script>\n<link rel=\"stylesheet\" type=\"text/css\" href"
  },
  {
    "path": "page/exam/add_exam.php",
    "chars": 1542,
    "preview": "\n  <div class=\"row\">\n      <div class=\"col-xs-12 col-sm-12\">  \n          <form  action=\"exam_action.php\" autocomplete=\"o"
  },
  {
    "path": "page/exam/exam_list.php",
    "chars": 4309,
    "preview": "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/index/style.css\">\n<script type=\"text/javascript\" src=\"page/exam/js/ex"
  },
  {
    "path": "page/exam/exam_result.php",
    "chars": 106,
    "preview": "<script type=\"text/javascript\" src=\"page/exam/js/result.js\"></script>\n<button onclick=\"fun()\">fun</button>"
  },
  {
    "path": "page/exam/js/exam.js",
    "chars": 2377,
    "preview": "\nurl=\"exam_action.php\";\nmodal_body=\"modal_md_body\";\nmodal=\"md\";\n\nvar action_data={\n    'url':url,\n    'div':modal_body,\n"
  },
  {
    "path": "page/exam/public_result.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/exam_page/exam_category/exam_category.php",
    "chars": 3562,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/index/style.css\">\n<script type=\"text/javascript\" src=\"page/exam_page/e"
  },
  {
    "path": "page/exam_page/exam_category/js/script.js",
    "chars": 1819,
    "preview": "url=\"exam_category_action.php\";\nmodal_body=\"modal_sm_body\";\nmodal=\"sm\";\n\n function get_action_data(_div = modal_body, _l"
  },
  {
    "path": "page/exam_page/exam_panel/exam_panel.php",
    "chars": 1165,
    "preview": "<script type=\"text/javascript\" src=\"page/exam_page/exam_panel/js/exam_panel.js\"></script>\n<script type=\"text/javascript\""
  },
  {
    "path": "page/exam_page/exam_panel/js/add_result_script.js",
    "chars": 2287,
    "preview": "\nvar student_row_list=[];\n\nfunction add_result(){\n    var data={\n        \"add_result\": get_value(\"total\")\n    }\n\n    loa"
  },
  {
    "path": "page/exam_page/exam_panel/js/exam_control.js",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/exam_page/exam_panel/js/exam_panel.js",
    "chars": 2336,
    "preview": "url = \"exam_panel_action.php\";\nmodal_body = \"modal_md_body\";\ndiv=\"exam_panel_body\";\nvar exam_category=\"\";\nvar panel_titl"
  },
  {
    "path": "page/export/excel.php",
    "chars": 1485,
    "preview": "<?php\n\n\n?>\n\n\n<!DOCTYPE html>\n<html>\n<head>\n<style>\ntable, th, td {\n    border: 1px solid black;\n    border-collapse: col"
  },
  {
    "path": "page/export/style/excel_table.css",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/id_card/id_card_editor/css/style.css",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/id_card/id_card_editor/id_card_editor.php",
    "chars": 2951,
    "preview": "\n<script type=\"text/javascript\" src=\"page/id_card/id_card_editor/js/script.js\"></script>\n<div class=\"row\">\n\t<div class=\""
  },
  {
    "path": "page/id_card/id_card_editor/js/script.js",
    "chars": 2029,
    "preview": "url = \"id_card_action.php\";\nmodal_body = \"modal_lg_body\";\nmodal = \"lg\";\n\nfunction get_action_data(_div = modal_body, _lo"
  },
  {
    "path": "page/index/dashboard.php",
    "chars": 5665,
    "preview": "\n<script type=\"text/javascript\" src=\"page/index/js/dashboard.js\"></script>\n<script type=\"text/javascript\" src=\"https://w"
  },
  {
    "path": "page/index/dashboard_info.php",
    "chars": 3692,
    "preview": "\n   \n     <div class=\"col-lg-8\">\n     \t<div class=\"row\">\n     \t\t<div class=\"col-ms-12 col-sm-12\">\n                      "
  },
  {
    "path": "page/index/expence_list.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/index/js/dashboard.js",
    "chars": 1158,
    "preview": "url = \"dashboard_action.php\";\nmodal_body = \"modal_lg_body\";\nmodal = \"lg\";\nfirst_load=0;\nlive_site_action_processing=0;\n\n"
  },
  {
    "path": "page/index/js/graph.js",
    "chars": 1118,
    "preview": "\nfunction graph(data,data1){\n\n  CanvasJS.addColorSet(\"greenShades\",\n    [\n      bg_color              \n    ]);\n\n  var me"
  },
  {
    "path": "page/index/message_send_chart.php",
    "chars": 1,
    "preview": "\n"
  },
  {
    "path": "page/index/site_activity.php",
    "chars": 283,
    "preview": "\n\n<div class=\"col-md-12\">\n            <div class=\"dashboard_box\">\n                <div class=\"box_header\">Live Site Acti"
  },
  {
    "path": "page/index/student_admit_graph.php",
    "chars": 1164,
    "preview": "\n<script type=\"text/javascript\" src=\"page/index/js/graph.js\"></script>\n\n<div class=\"col-md-6\">\n            <div class=\"d"
  },
  {
    "path": "page/index/style.css",
    "chars": 2212,
    "preview": ".dashboard_box{\n    margin-top: 20px;\n}\n.dashboard_box .box_header{\n   background-color: var(--bg-color);\n   color: var("
  },
  {
    "path": "page/install/install_system.php",
    "chars": 5641,
    "preview": "\n<title>Install Student Management System</title>\n\n<link href=\"//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.m"
  },
  {
    "path": "page/install/js/install_system.js",
    "chars": 1398,
    "preview": "\nurl = \"install_action.php\";\n\n\nfunction get_value(div){\n  return document.getElementById(div).value;\n}\n\nfunction view_in"
  },
  {
    "path": "page/login/js/ajax.js",
    "chars": 23364,
    "preview": "/* -----------------------------------------------\n/* Author : Vincent Garreau  - vincentgarreau.com\n/* MIT license: htt"
  },
  {
    "path": "page/login/js/script.js",
    "chars": 4140,
    "preview": "\n\nfunction get_value(div){\n  return document.getElementById(div).value;\n}\n\nfunction set_html(div,text){\n  document.getEl"
  },
  {
    "path": "page/login/login.php",
    "chars": 5798,
    "preview": " \n<?php \n\ninclude \"config/config.php\";\ninclude \"layout/header_lib.php\";\n$db=new database();\n?>\n\n<link rel=\"stylesheet\" t"
  },
  {
    "path": "page/login/style/style.css",
    "chars": 3725,
    "preview": "@import url('https://fonts.googleapis.com/css?family=Nunito');\n@import url('https://fonts.googleapis.com/css?family=Poir"
  },
  {
    "path": "page/notice/add_notice.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/notice/js/notice.js",
    "chars": 4027,
    "preview": "\nurl=\"notice_action.php\";\nmodal_body=\"modal_md_body\";\nmodal=\"md\";\n\nvar action_data={\n  \t'url':url,\n  \t'div':modal_body,\n"
  },
  {
    "path": "page/notice/notice_list.php",
    "chars": 6536,
    "preview": "<script type=\"text/javascript\" src=\"page/notice/js/notice.js\"></script>\n\n<center>\n<div class=\"btn-toolbar list-toolbar\">"
  },
  {
    "path": "page/notice/notice_script/notice.js",
    "chars": 3330,
    "preview": "function program(){\n\nprogram_id=document.getElementById(\"program_select\").value;\n\n  $.ajax({\n        type: 'POST',\n     "
  },
  {
    "path": "page/notice/notice_script/notice_action.php",
    "chars": 7665,
    "preview": "<?php\n\ninclude \"layout/header_script.php\";\n\n\nif(isset($_POST['select_program'])){\n  $program_id=$_POST['select_program']"
  },
  {
    "path": "page/notice/send_notice.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/payment/left_payment_option.php",
    "chars": 197,
    "preview": "<div class=\"left_class\">\n\t<input type=\"number\" name=\"\" placeholder=\"Enter Student ID\">\n</div>\n<style type=\"text/css\">\n\t."
  },
  {
    "path": "page/payment/payment.php",
    "chars": 334,
    "preview": "<div class=\"row\">\n    <div class=\"col-md-12\">\n        <div class=\"row\">\n            <div class=\"col-md-7\">\n             "
  },
  {
    "path": "page/payment/right_payment_option.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/print/id_print.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/print_page/print_page.php",
    "chars": 215,
    "preview": "<?php\n\nif(isset($_GET['student_money_recept'])){\n\t$recept_id=$_GET['student_money_recept'];\n\t$recept_id=base64_decode($r"
  },
  {
    "path": "page/program/add_program.php",
    "chars": 4019,
    "preview": "\n<style>\n  \n.select_box{\n  background-color: #414959;\n  padding: 5px;\n  color: #ffffff;\n}\n.select_box1{\n  border-width: "
  },
  {
    "path": "page/program/program_list.php",
    "chars": 3697,
    "preview": "\n<script type=\"text/javascript\" src=\"page/program/program_script.js\"></script>\n\n<link rel=\"stylesheet\" type=\"text/css\" h"
  },
  {
    "path": "page/program/program_script.js",
    "chars": 5065,
    "preview": "url = \"program_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\nvar action_data = {\n    'url': url,\n    'div': "
  },
  {
    "path": "page/report/attend_report.php",
    "chars": 2772,
    "preview": "<script type=\"text/javascript\" src=\"page/report/js/attend_report.js\"></script>\n\n<div class=\"row\">\n    \n        <div clas"
  },
  {
    "path": "page/report/css/payment_report.css",
    "chars": 862,
    "preview": "\n.select {\n  position: relative;\n  display: block;\n  height: 3.4em;\n \n  width: 100%;\n  padding: 10px;\n  background: var("
  },
  {
    "path": "page/report/expence_report.php",
    "chars": 654,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/report/css/payment_report.css\">\n<script type=\"text/javascript\" src=\"pa"
  },
  {
    "path": "page/report/income_report.php",
    "chars": 652,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/report/css/payment_report.css\">\n<script type=\"text/javascript\" src=\"pa"
  },
  {
    "path": "page/report/js/attend_report.js",
    "chars": 2118,
    "preview": "url = \"report_action.php\";\nmodal_body = \"modal_lg_body\";\nmodal = \"lg\";\n\nvar program_id,batch_id;\n\nfunction get_action_da"
  },
  {
    "path": "page/report/js/expence_report.js",
    "chars": 790,
    "preview": "url = \"report_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\n\n\nfunction get_action_data(_div = modal_body, _l"
  },
  {
    "path": "page/report/js/income_report.js",
    "chars": 788,
    "preview": "url = \"report_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\n\n\nfunction get_action_data(_div = modal_body, _l"
  },
  {
    "path": "page/report/js/payment_report.js",
    "chars": 875,
    "preview": "url = \"report_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\n\n\nfunction get_action_data(_div = modal_body, _l"
  },
  {
    "path": "page/report/js/profit_report.js",
    "chars": 788,
    "preview": "url = \"report_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\n\n\nfunction get_action_data(_div = modal_body, _l"
  },
  {
    "path": "page/report/payment_report.php",
    "chars": 1044,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/report/css/payment_report.css\">\n<script type=\"text/javascript\" src=\"pa"
  },
  {
    "path": "page/report/profit_report.php",
    "chars": 652,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/report/css/payment_report.css\">\n<script type=\"text/javascript\" src=\"pa"
  },
  {
    "path": "page/result/add_result.js",
    "chars": 12046,
    "preview": "  \n\n  var room = 1;\n\n  function add_btn() {\n      room++;\n\n      var objTo = document.getElementById('result')\n      var"
  },
  {
    "path": "page/result/add_result.php",
    "chars": 3129,
    "preview": "\n<style type=\"text/css\">\n  .top-alert { \n  position: fixed;\n  top: 0px;\n  width: 100%;\n  z-index: 100000;\n  left: 0;\n  p"
  },
  {
    "path": "page/result/js/result.js",
    "chars": 9779,
    "preview": "\nurl=\"result_action.php\";\nmodal_body=\"modal_md_body\";\nmodal=\"md\";\ndiv_body=\"exam_body\";\nvar program_id,subject_id,exam_i"
  },
  {
    "path": "page/result/public_result.php",
    "chars": 4365,
    "preview": "\n<style type=\"text/css\">\n\t.select,\n.download-target {\n  width: 15em;\n}\n.select {\n  position: relative;\n  display: block;"
  },
  {
    "path": "page/result/result.css",
    "chars": 1438,
    "preview": ".header_box{\n        background-color: var(--bg-color);\n        padding: 10px;\n        font-weight: bold;\n        color:"
  },
  {
    "path": "page/result/result.js",
    "chars": 2340,
    "preview": "function roll_find(){\n\n id=document.getElementById(\"id\").value;\n\n\n\n $.ajax({\n        type: 'POST',\n        url: 'result_"
  },
  {
    "path": "page/result/result_list.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/setting/js/setting.js",
    "chars": 1602,
    "preview": "url = \"setting_action.php\";\nmodal_body = \"modal_lg_body\";\nmodal = \"lg\";\n\nvar program_id,batch_id,date;\n\n$(document).read"
  },
  {
    "path": "page/setting/setting.php",
    "chars": 6888,
    "preview": "\n<script type=\"text/javascript\" src=\"page/setting/js/setting.js\"></script>\n\n\n<style type=\"text/css\">\n   \n.box_header,.bo"
  },
  {
    "path": "page/sms/js/sms_script.js",
    "chars": 1861,
    "preview": "\nurl=\"sms_action.php\";\nmodal_body=\"modal_sm_body\";\nmodal=\"sm\";\n\nvar action_data={\n    'url':url,\n    'div':modal_body,\n "
  },
  {
    "path": "page/sms/pending_sms_list.php",
    "chars": 5488,
    "preview": "<link rel=\"stylesheet\" type=\"text/css\" href=\"page/index/style.css\">\n\n<?php\n\t$color=array();\n\t$color[0]=\"#2c3e50\";\n\t$colo"
  },
  {
    "path": "page/sms/sms_dashboard.php",
    "chars": 9611,
    "preview": "\n\n<script type=\"text/javascript\" src=\"page/sms/js/sms_script.js\"></script>\n<link rel=\"stylesheet\" type=\"text/css\" href=\""
  },
  {
    "path": "page/sms/sms_google_graph_api.php",
    "chars": 3804,
    "preview": "\n<?php \n\n$bg_color=\"#000000\";\n\n?>\n     <script type=\"text/javascript\" src=\"https://www.gstatic.com/charts/loader.js\"></s"
  },
  {
    "path": "page/student/aaa.js",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/student/add_student/add_student.php",
    "chars": 6832,
    "preview": "\n<script src=\"page/student/js_script/student_action.js\" type=\"text/javascript\"></script>\n\n<style type=\"text/css\">\n   \n.b"
  },
  {
    "path": "page/student/add_student.php",
    "chars": 47,
    "preview": "<?php include \"add_student/add_student.php\"; ?>"
  },
  {
    "path": "page/student/index.php",
    "chars": 21859,
    "preview": "<script language=\"JavaScript\" src=\"https://code.jquery.com/jquery-1.11.1.min.js\" type=\"text/javascript\"></script>\n<scrip"
  },
  {
    "path": "page/student/js_script/student_action.js",
    "chars": 831,
    "preview": "$(document).ready(function (e) {\n  $(\"#add_student\").on('submit',(function(e) {\n    \n    e.preventDefault();\n    $.ajax("
  },
  {
    "path": "page/student/profile.css",
    "chars": 9269,
    "preview": ".profile_box_header{\n\tbackground-color: #000000;\n\tcolor: #ffffff;\n\tpadding: 15px;\n\tfont-weight: bold;\n}\n \n\n/****** Searc"
  },
  {
    "path": "page/student/profile.js",
    "chars": 3783,
    "preview": "  function select(className){\n\n    clear(className);\n    title=title_name(className);\n    set_header_title(title);\n    a"
  },
  {
    "path": "page/student/student_list/css/style.css",
    "chars": 4818,
    "preview": "\n\n\n.select {\n  position: relative;\n  display: block;\n  height: 3.4em;\n \n  width: 100%;\n  padding: 10px;\n  background: va"
  },
  {
    "path": "page/student/student_list/js/payment_script.js",
    "chars": 3154,
    "preview": "\nvar payment_type=1,payment_month=0,payment_year=0;\n\nfunction select_payment_type(){\n\ttype=get_value(\"payment_type\");\n\tv"
  },
  {
    "path": "page/student/student_list/js/script.js",
    "chars": 1479,
    "preview": "\nurl = \"student_list_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\nbody=\"program_dashboard\";\ntab_body=\"box_bo"
  },
  {
    "path": "page/student/student_list/student_list.php",
    "chars": 1077,
    "preview": " \n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/student/student_list/css/style.css\">\n<script type=\"text/javascript\" "
  },
  {
    "path": "page/student/student_list.js",
    "chars": 3164,
    "preview": "\n\nfunction program(){\n\tprogram_id=document.getElementById('program_select').value;\n\n\tif(program_id==0){\n\t\tdocument.getEl"
  },
  {
    "path": "page/student/student_list.php",
    "chars": 6210,
    "preview": "\n<style type=\"text/css\">\n\n.student_add .modal-dialog{max-width: 800px; width: 100%;}\n        .pre-cost{text-decoration: "
  },
  {
    "path": "page/student/student_list1.php",
    "chars": 54,
    "preview": "\n\n<?php include \"student_list/student_list.php\";  ?>\n\n"
  },
  {
    "path": "page/student/student_profile/css/payment.css",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/student/student_profile/css/profile.css",
    "chars": 4398,
    "preview": ".panel_profile,.about_profile{\n  margin-left: 30px;\n}\n.panel_profile_body,.about_profile_body{\n  height: auto;\n  padding"
  },
  {
    "path": "page/student/student_profile/js/info.js",
    "chars": 1185,
    "preview": "$(document).ready(function (e) {\n  $(\"#update_student\").on('submit',(function(e) {\n    alert(\"d\");\n    e.preventDefault("
  },
  {
    "path": "page/student/student_profile/js/payment.js",
    "chars": 7341,
    "preview": "url = \"student_profile_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\n\n\n\nfunction get_action_data(_div = modal"
  },
  {
    "path": "page/student/student_profile/js/profile1.js",
    "chars": 7033,
    "preview": "\nid=document.getElementById(\"student_id\").value;\n\nfunction personal_info(){\n\tset_header(\"Personal Info\");\n\tget_data(\"per"
  },
  {
    "path": "page/student/student_profile/js/profile_data.js",
    "chars": 101,
    "preview": "var student_id;\n\nvar body=\"panel_profile_body\";\n\nfunction set_profile_data(id){\n   student_id=id;\n}\n\n"
  },
  {
    "path": "page/student/student_profile/js/program.js",
    "chars": 4802,
    "preview": "\nfunction program() {\n  bar_url=\"student_profile.php?get_id=\"+student_id+\"&tab=program\";\n   window.history.pushState('',"
  },
  {
    "path": "page/student/student_profile/profile.php",
    "chars": 3791,
    "preview": "\n\n\n\n<?php\n\nif(isset($_GET['get_id'])){\n$flag=0;\n$id=$_GET['get_id'];\nforeach ($student as $key => $info) {\n  $sid=$info["
  },
  {
    "path": "page/student/student_profile/profile_lib.php",
    "chars": 588,
    "preview": "\n\n<?php\n\n$js_path=\"page/student/student_profile/js\";\n$css_path=\"page/student/student_profile/css\";\n\n?>\n<!-- Profile Lib "
  },
  {
    "path": "page/student/student_profile_panel.php",
    "chars": 47,
    "preview": "<?php include \"student_profile/profile.php\"; ?>"
  },
  {
    "path": "page/student/text_editor.css",
    "chars": 1760,
    "preview": ".editor_box{\n\tborder-top-width: 0px;\n\tborder-color: #000000;\n\tborder-style: solid;\n\tborder-bottom-width: 0px;\n}\n.editor_"
  },
  {
    "path": "page/subject/add_subject.php",
    "chars": 1308,
    "preview": "\n  <div class=\"row\">\n      <div class=\"col-xs-12 col-sm-12\">  \n          <form  action=\"subject_action.php\" autocomplete"
  },
  {
    "path": "page/subject/subject_list.php",
    "chars": 1892,
    "preview": "\n<script type=\"text/javascript\" src=\"page/subject/subject_script.js\"></script>\n<center>\n<div class=\"btn-toolbar list-too"
  },
  {
    "path": "page/subject/subject_script.js",
    "chars": 1512,
    "preview": "\nurl=\"subject_action.php\";\nmodal_body=\"modal_sm_body\";\nmodal=\"sm\";\n\nvar action_data={\n  \t'url':url,\n  \t'div':modal_body,"
  },
  {
    "path": "page/template/data_table.php",
    "chars": 1585,
    "preview": "<center>\n<div class=\"btn-toolbar list-toolbar\">\n    <button class=\"btn btn-primary\"><i class=\"fa fa-plus\"></i>Add Subjec"
  },
  {
    "path": "page/theme/add_theme.php",
    "chars": 2631,
    "preview": "<script src=\"tool/color_picker/jscolor.js\"></script>\n\n<style type=\"text/css\">\n\t.get-in-touch {\nposition: relative;\nmargi"
  },
  {
    "path": "page/theme/theme.php",
    "chars": 2761,
    "preview": "\n<script type=\"text/javascript\">\n\tfunction add_theme(){\n\t\tvar x = document.getElementById(\"add_theme\");\n\t\tper=x.style.di"
  },
  {
    "path": "page/theme/theme_list.php",
    "chars": 1808,
    "preview": "<div class=\"row\" style=\"\">\n\t\n<?php\n\n$uid=$login_user['id'];\n$theme=$login_user['theme'];\nforeach ($theme_info as $key =>"
  },
  {
    "path": "page/user/add_user.php",
    "chars": 3248,
    "preview": "\n<style type=\"text/css\">\n\t.img_up{\n  height: 140px;\n  width: 135px;\n  margin-top: 15px;\n  border-style: solid;\n  border-"
  },
  {
    "path": "page/user/edit_profile.php",
    "chars": 3364,
    "preview": "\n<style type=\"text/css\">\n\t.img_up{\n  height: 140px;\n  width: 135px;\n  margin-top: 15px;\n  border-style: solid;\n  border-"
  },
  {
    "path": "page/user/user_add_script.js",
    "chars": 684,
    "preview": "$(document).ready(function (e) {\n  set_update_area();\n  $(\"#update_profile\").on('submit',(function(e) {\n    e.preventDef"
  },
  {
    "path": "page/user/user_info.js",
    "chars": 5512,
    "preview": "$(document).ready(function (e) {\n  //set_update_area();\n  $(\"#update_profile\").on('submit',(function(e) {\n    e.preventD"
  },
  {
    "path": "page/user/user_info.php",
    "chars": 8661,
    "preview": "\n\n<?php\n\nif(isset($_GET['user_id'])){\n $uid=$_GET['user_id'];\n $cheikh=$user_ob->cheikh_user($uid);\n if($cheikh==1){\n$li"
  },
  {
    "path": "page/user/user_list/css/style.css",
    "chars": 886,
    "preview": "\t.user_list_body{\n\t\tbackground-color: #ffffff;\n\t\tborder-radius: 5px;\n\t\t\n\t}\n\t.list_header{\n\t\tbackground-color: var(--bg-c"
  },
  {
    "path": "page/user/user_list/js/user_list.js",
    "chars": 1414,
    "preview": "\nurl=\"user_action.php\";\nmodal_body=\"list_body\";\nmodal=\"md\";\n\n\nfunction get_action_data(_div = modal_body, _load = 0, _ur"
  },
  {
    "path": "page/user/user_list/side_bar.php",
    "chars": 948,
    "preview": "\n\n<nav class=\"nav-sidebar\">\n      <ul class=\"nav\">\n                    \n        <li onclick=\"add_user()\" class=\"nav_butt"
  },
  {
    "path": "page/user/user_list/user_list.php",
    "chars": 792,
    "preview": "\n<script type=\"text/javascript\" src=\"page/user/user_list/js/user_list.js\"></script>\n<link rel=\"stylesheet\" type=\"text/cs"
  },
  {
    "path": "page/user/user_list.php",
    "chars": 43,
    "preview": "<?php include \"user_list/user_list.php\"; ?>"
  },
  {
    "path": "page/user/user_list1.php",
    "chars": 2596,
    "preview": "\n \n<center>\n<div class=\"btn-toolbar list-toolbar\">\n    <button class=\"btn btn-primary\" data-title=\"Add Product\" data-tog"
  },
  {
    "path": "page/user/user_profile/css/style.css",
    "chars": 8303,
    "preview": "\n/*nav button*/\n\n.nav_button{\n    cursor: default;\n    background-color: var(--bg-color);\n    color: var(--font-color);\n"
  },
  {
    "path": "page/user/user_profile/js/user_profile.js",
    "chars": 5414,
    "preview": "url = \"user_action.php\";\nmodal_body = \"modal_md_body\";\nmodal = \"md\";\nvar div_body=\"user_detail_body\";\nvar user_id;\nvar p"
  },
  {
    "path": "page/user/user_profile/js/user_top_bar_script.php",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "page/user/user_profile/profile_side_bar.php",
    "chars": 863,
    "preview": "\n\n\n<?php if($uid==$login_user_id || $role<$user_role){ ?>        \n<li onclick=\"update_profile_form()\" class=\"nav_button\""
  },
  {
    "path": "page/user/user_profile/user_profile.php",
    "chars": 439,
    "preview": "<?php\n\n$user_not_found=1;\nif(isset($_GET['user_id'])){\n    $uid=$_GET['user_id'];\n   if(isset($user[$uid])){\n        $us"
  },
  {
    "path": "page/user/user_profile/user_profile_ui.php",
    "chars": 3020,
    "preview": "\n<link rel=\"stylesheet\" type=\"text/css\" href=\"page/user/user_profile/css/style.css\">\n<script type=\"text/javascript\" src="
  },
  {
    "path": "page/user/user_profile.php",
    "chars": 49,
    "preview": "<?php include \"user_profile/user_profile.php\"; ?>"
  },
  {
    "path": "page_action/account/account.php",
    "chars": 209,
    "preview": "<?php\n\n$path=\"page_action/account/\";\n$file=array();\narray_push($file, \"expence.php\");\narray_push($file, \"income.php\");\n\n"
  },
  {
    "path": "page_action/account/expence.php",
    "chars": 2213,
    "preview": "<?php\n\nif(isset($_POST['insert_expence'])){\n\t$info=$_POST['insert_expence'];\n\tunset($info['id']);\n\t$info['date']=$db->da"
  },
  {
    "path": "page_action/account/income.php",
    "chars": 2182,
    "preview": "<?php\n\nif(isset($_POST['insert_income'])){\n\t$info=$_POST['insert_income'];\n\tunset($info['id']);\n\t$info['date']=$db->date"
  },
  {
    "path": "page_action/attend/attend_action.php",
    "chars": 12910,
    "preview": "<?php\n\nif(isset($_POST['select_program'])){\n\t$program_id=$_POST['select_program'];\n\techo \"<option value='-1'>Select Batc"
  },
  {
    "path": "page_action/attend/attend_report.php",
    "chars": 3248,
    "preview": "<?php\n\nif(isset($_POST['select_program'])){\n\t$program_id=$_POST['select_program'];\n\techo \"<option value='-1'>Select Batc"
  },
  {
    "path": "page_action/batch_page_action.php",
    "chars": 2635,
    "preview": "<?php\ninclude \"layout/header_script.php\";\n\n$info=array();\n\nif(isset($_POST['insert_batch'])){\n\n\t$info=$_POST['insert_bat"
  },
  {
    "path": "page_action/dashboard/dashboard_action.php",
    "chars": 3125,
    "preview": "<?php\n\nif(isset($_POST['live_site_action'])){\n\t?>\n\n<table id=\"\" class=\"display\" width=\"100%\">\n                        <t"
  },
  {
    "path": "page_action/exam/exam_action.php",
    "chars": 4809,
    "preview": "<?php\n\nif(isset($_POST['insert_exam'])){\n  $info=$_POST['insert_exam'];\n  unset($info['id']);\n  $info['add_by']=$user_id"
  },
  {
    "path": "page_action/exam/exam_category/exam_category_action.php",
    "chars": 2270,
    "preview": "<?php\n\nif(isset($_POST['update_exam_category'])){\n\t$info=$_POST['update_exam_category'];\n\t$db->sql_action(\"exam_category"
  },
  {
    "path": "page_action/exam/exam_panel/exam_panel.php",
    "chars": 13,
    "preview": "<?php \n\n\n\n\n?>"
  },
  {
    "path": "page_action/exam_panel/css/style.css",
    "chars": 988,
    "preview": ".exam_panel_box{\n\n\t}\n\t.exam_panel_left{\n\t\tbackground-color: #ffffff;\n\t\theight: auto;\n\t\tborder-radius: 5px 5px 5px 5px;\n\t"
  }
]

// ... and 496 more files (download for full content)

About this extraction

This page contains the full source code of the amirhamza05/Student-Management-System GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 696 files (5.8 MB), approximately 1.6M tokens, and a symbol index with 1763 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!