Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.145.40.234
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
dud /
js /
[ HOME SHELL ]
Name
Size
Permission
Action
New folder
[ DIR ]
drwxr-xr-x
Report
[ DIR ]
drwxr-xr-x
base_file
[ DIR ]
drwxr-xr-x
events
[ DIR ]
drwxr-xr-x
nitte
[ DIR ]
drwxr-xr-x
popups
[ DIR ]
drwxr-xr-x
AbsentEntrySubjectWise.js
14.12
KB
-rwxr-xr-x
AbsentEntrySubjectWise_old.js
13.91
KB
-rwxr-xr-x
AbsentEntrySubjectWiseold.js
14.12
KB
-rwxr-xr-x
AllkeyEvent.js
33.05
KB
-rwxr-xr-x
AllkeyEvent_10082018.js
32.5
KB
-rwxr-xr-x
Dispatch_answer_script.js
17.91
KB
-rwxr-xr-x
Dispatch_answer_script_qp.js
16.33
KB
-rwxr-xr-x
Dispatch_answer_script_qpold.j...
16.33
KB
-rwxr-xr-x
ECHblk.js
6.67
KB
-rwxr-xr-x
IdentifyTransactions.js
2.13
KB
-rwxr-xr-x
MainPage.js
16.39
KB
-rwxr-xr-x
Message_board.js
5.02
KB
-rwxr-xr-x
SubjectAppearingPopup.js
12.78
KB
-rwxr-xr-x
absententrysubjectwiseQP.js
16.36
KB
-rwxr-xr-x
absententrysubjectwiseQPold (2...
16.33
KB
-rwxr-xr-x
absententrysubjectwiseQPold.js
16.33
KB
-rwxr-xr-x
ack_adm_application.html
1.79
KB
-rwxr-xr-x
ack_adm_application.js
46.4
KB
-rwxr-xr-x
ack_admentry_application.js
57.73
KB
-rwxr-xr-x
ack_admentry_application_06102...
26.13
KB
-rwxr-xr-x
ack_chalentries.js
3.79
KB
-rwxr-xr-x
ack_exam_app_form.js
2.85
KB
-rwxr-xr-x
ack_exam_app_form_19112018.js
2.52
KB
-rwxr-xr-x
ack_exam_app_form_bulk - Copy....
2.06
KB
-rwxr-xr-x
ack_exam_app_form_bulk.js
2.06
KB
-rwxr-xr-x
ack_exam_app_form_oldformat.js
2.44
KB
-rwxr-xr-x
ack_registration.js
2.11
KB
-rwxr-xr-x
ack_rv_rt_application.js
2.45
KB
-rwxr-xr-x
adm_delete_data.js
3.29
KB
-rwxr-xr-x
admchallanpreparation.js
5.59
KB
-rwxr-xr-x
admdownloadexsheet.js
376
B
-rwxr-xr-x
admission_approve.js
21.39
KB
-rwxr-xr-x
admission_entry_reg.js
46.14
KB
-rwxr-xr-x
admission_entry_status.js
1.06
KB
-rwxr-xr-x
admissionapplist.js
3.79
KB
-rwxr-xr-x
admuploadexsheet.js
1.32
KB
-rwxr-xr-x
ansbookcancel.js
12.07
KB
-rwxr-xr-x
answer_book_issued.js
11.15
KB
-rwxr-xr-x
appstatus.js
2.57
KB
-rwxr-xr-x
attendance.js
6.64
KB
-rwxr-xr-x
attendance_freez.js
5.7
KB
-rwxr-xr-x
attendance_freez_mth.js
7.05
KB
-rwxr-xr-x
attshort.js
1.52
KB
-rwxr-xr-x
backup.js
2.73
KB
-rwxr-xr-x
backup_restore.js
1.36
KB
-rwxr-xr-x
boeselection.js
7.62
KB
-rwxr-xr-x
bundle_dispatch.js
7.82
KB
-rwxr-xr-x
bundlereceive.js
971
B
-rwxr-xr-x
bundlestatus.js
1.28
KB
-rwxr-xr-x
calendar-en.js
3.52
KB
-rwxr-xr-x
calendar-setup.js
8.65
KB
-rwxr-xr-x
calendar.js
48.08
KB
-rwxr-xr-x
calender.js
903
B
-rwxr-xr-x
candidate_list.js
39.62
KB
-rwxr-xr-x
candidate_list_com27092016.js
30.36
KB
-rwxr-xr-x
challan_entries.js
3.92
KB
-rwxr-xr-x
challan_preparation.js
2.77
KB
-rwxr-xr-x
changeAdmDegree.js
4.01
KB
-rwxr-xr-x
changeMobile.js
3.03
KB
-rwxr-xr-x
checkbrowser.js
2.46
KB
-rwxr-xr-x
cntrDeclaration.js
3.12
KB
-rwxr-xr-x
collbankdet.js
1.91
KB
-rwxr-xr-x
colldesp_ack.js
3.3
KB
-rwxr-xr-x
college.js
4.56
KB
-rwxr-xr-x
college_BEFORE_LOGINPOPUP.js
2.33
KB
-rwxr-xr-x
college_approve.js
19.79
KB
-rwxr-xr-x
college_degree_status.js
3.29
KB
-rwxr-xr-x
college_wise_degree_status.js
962
B
-rwxr-xr-x
collfundtransfer.js
2.85
KB
-rwxr-xr-x
collinfo_popup.js
11.62
KB
-rwxr-xr-x
control.js
17.13
KB
-rwxr-xr-x
convdet.js
5.9
KB
-rwxr-xr-x
convdet_12242019.js
5.78
KB
-rwxr-xr-x
createAdmission.js
4.44
KB
-rwxr-xr-x
cronjob_sendsms.php
2.94
KB
-rwxr-xr-x
daterange.js
9.18
KB
-rwxr-xr-x
degree.js
2.86
KB
-rwxr-xr-x
display_details_in_grid.php
101.68
KB
-rwxr-xr-x
doc_verification.js
1.8
KB
-rwxr-xr-x
downloadFeeStatement.js
770
B
-rwxr-xr-x
downloadStudentPhotos.js
1.08
KB
-rwxr-xr-x
downloadStudentPhotosold.js
1.08
KB
-rwxr-xr-x
download_misc_files.js
817
B
-rwxr-xr-x
entryexitevents.js
1.23
KB
-rwxr-xr-x
export_import.js
1.83
KB
-rwxr-xr-x
export_import_setup.js
5.47
KB
-rwxr-xr-x
fee_report.js
4.38
KB
-rwxr-xr-x
feeupdation.js
5.43
KB
-rwxr-xr-x
feeupdation_bulk.js
6.38
KB
-rwxr-xr-x
footer.js
6.32
KB
-rwxr-xr-x
form_submit.js
1.3
KB
-rwxr-xr-x
formatdate.js
12.14
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.js
2.83
KB
-rwxr-xr-x
freeze_module_at_admin_college...
5.69
KB
-rwxr-xr-x
freeze_module_at_university_co...
4.55
KB
-rwxr-xr-x
freezeiaprici.js
5.22
KB
-rwxr-xr-x
grid_display.js
901
B
-rwxr-xr-x
import_marks.js
1.37
KB
-rwxr-xr-x
includeCSS.js
1.28
KB
-rwxr-xr-x
index.js
24.14
KB
-rwxr-xr-x
index_BEFORE_LOGINPOPUP.js
4.88
KB
-rwxr-xr-x
index_old.js
20.17
KB
-rwxr-xr-x
invigilators_dairy.js
4.79
KB
-rwxr-xr-x
jquery.color.js
3.57
KB
-rwxr-xr-x
jquery.js
29.15
KB
-rwxr-xr-x
load-report-js-files.js
9.7
KB
-rwxr-xr-x
load_js_files.js
637
B
-rwxr-xr-x
load_mannual_js_files.js
37.9
KB
-rwxr-xr-x
load_mannual_js_files_10082018...
29.09
KB
-rwxr-xr-x
load_mannual_js_files_before_u...
11.57
KB
-rwxr-xr-x
markentry_studentwise.js
9.29
KB
-rwxr-xr-x
markentry_subjectwise.js
17.75
KB
-rwxr-xr-x
markslistelement_report.js
5.92
KB
-rwxr-xr-x
mascomb.js
15.34
KB
-rwxr-xr-x
message_text.js
1.33
KB
-rwxr-xr-x
module_setup.js
4.44
KB
-rwxr-xr-x
month_cal.js
63.03
KB
-rwxr-xr-x
month_cal1.js
1.96
KB
-rwxr-xr-x
openPopUp.js
4.94
KB
-rwxr-xr-x
photoupload.js
4.45
KB
-rwxr-xr-x
popup.js
108.42
KB
-rwxr-xr-x
popup_10082018.js
106.93
KB
-rwxr-xr-x
popupold.js
57.4
KB
-rwxr-xr-x
postnotification.js
9.28
KB
-rwxr-xr-x
postnotification_25102019.js
3.32
KB
-rwxr-xr-x
printExamform.js
718
B
-rwxr-xr-x
push_data_to_studentportal.js
771
B
-rwxr-xr-x
receive_rv_rt_application.js
2.66
KB
-rwxr-xr-x
recociliaton.js
1.11
KB
-rwxr-xr-x
report_SubjectListGeneral.js
3.26
KB
-rwxr-xr-x
report_exam_application_form.j...
1.89
KB
-rwxr-xr-x
report_setup.js
12.46
KB
-rwxr-xr-x
results_pdf.js
851
B
-rwxr-xr-x
resultsheet.js
3.21
KB
-rwxr-xr-x
revaluation.js
7.56
KB
-rwxr-xr-x
revaluation_oldtype.js
4.65
KB
-rwxr-xr-x
revaluation_withdegree.js
7.5
KB
-rwxr-xr-x
room_allotment.js
2.94
KB
-rwxr-xr-x
room_allotment_datewise.js
6.52
KB
-rwxr-xr-x
room_allotment_old_03082018.js
4.79
KB
-rwxr-xr-x
roomallotmantsummary.js
859
B
-rwxr-xr-x
roomdeclaration.js
5.42
KB
-rwxr-xr-x
rv_rt_guide_lines.js
428
B
-rwxr-xr-x
rvdates.js
8.08
KB
-rwxr-xr-x
sectionwisepermission.js
4.71
KB
-rwxr-xr-x
servicehead.js
9.02
KB
-rwxr-xr-x
serviceheadfee.js
10.71
KB
-rwxr-xr-x
services.js
7.96
KB
-rwxr-xr-x
student.php
5.23
KB
-rwxr-xr-x
studentWiseIAMarksPending.js
814
B
-rwxr-xr-x
student_entry.js
87.78
KB
-rwxr-xr-x
student_entry24.js
50.71
KB
-rwxr-xr-x
student_entry_14062018.js
44.4
KB
-rwxr-xr-x
student_entry_24112017.js
43.39
KB
-rwxr-xr-x
student_entry_kswu.js
37.89
KB
-rwxr-xr-x
student_entryold.js
33.98
KB
-rwxr-xr-x
studentphotolist.js
1.63
KB
-rwxr-xr-x
studentportal_remove.js
2.95
KB
-rwxr-xr-x
subjectAppearing_PopUp.js
1.92
KB
-rwxr-xr-x
subject_freshExam.js
11.11
KB
-rwxr-xr-x
subjectfreez.js
11.69
KB
-rwxr-xr-x
subjectwise_freezing_sectionwi...
5.79
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
1.23
KB
-rwxr-xr-x
sum.php
116
B
-rwxr-xr-x
system.js
12.41
KB
-rwxr-xr-x
system_utility.js
8.69
KB
-rwxr-xr-x
teachers.js
21.63
KB
-rwxr-xr-x
teachersOLD.js
13.7
KB
-rwxr-xr-x
teachersnew.js
21.4
KB
-rwxr-xr-x
topsheet.js
765
B
-rwxr-xr-x
transaction-series.js
6.5
KB
-rwxr-xr-x
updateSection.js
2.74
KB
-rwxr-xr-x
updateexamcnt.js
3.55
KB
-rwxr-xr-x
uploadStudentPhotos.js
3.84
KB
-rwxr-xr-x
uploadStudentPhotos_beforedown...
3.52
KB
-rwxr-xr-x
upload_details.js
4.03
KB
-rwxr-xr-x
uploadzip.js
3.95
KB
-rwxr-xr-x
usersetup.js
30.93
KB
-rwxr-xr-x
usersubj_identification.js
4.53
KB
-rwxr-xr-x
validate.js
10.16
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.js
//var $host_url='http://10.10.200.172/activity/app.php?a='; //var $image_path='http://10.10.200.172/activity/libs/jquery/themes/basic/images/'; //var $host_url="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/app.php?a="; //var $image_path="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/jqGrid3.5/cmes/tarka/images/"; if (location.protocol != "https:") { var protocol = "http://"; } else { var protocol = "https://"; } var urlarr = window.location.pathname.split("/"); var $url = protocol + window.location.host + "/"; var $hoststr = ""; for (var j = 1; j < urlarr.length - 1; j++) { $hoststr += window.location.pathname.split("/")[j] + "/"; } $host_url = $url + $hoststr + "app.php?a="; $image_path = $url + $hoststr + "jqGrid3.5/cmes/tarka/images/"; //var $host_url="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/"+window.location.pathname.split('/')[2]+"/"+window.location.pathname.split('/')[3]+"/app.php?a="; //var $image_path="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/"+window.location.pathname.split('/')[2]+"/"+window.location.pathname.split('/')[3]+"/jqGrid3.5/cmes/tarka/images/"; function trim($str) { return $str.replace(/^\s*|\s*$/g, ""); } function loadwindow() { loadUniversityDetails(); CheckIE6Version(); if (getCookie("username")) { document.getElementById("user_name").value = getCookie("username"); } else { document.getElementById("user_name").value = "Username"; } /* if(getCookie('pswd')) { //document.getElementById('password').value = getCookie('pswd'); } else { document.getElementById('password').value ='******'; } */ if (getCookie("college_code")) { document.getElementById("college_code").value = getCookie("college_code"); } else { document.getElementById("college_code").value = ""; } } function validate() { return true; } function login() { if (trim(document.getElementById("college_code").value) == "") { alert("Enter College Code"); document.getElementById("college_code").focus(); return; } if (trim(document.getElementById("user_name").value) == "") { alert("Enter Username"); document.getElementById("user_name").focus(); return; } else if (trim(document.getElementById("password").value) == "") { alert("Enter Password"); document.getElementById("password").focus(); return; } if (CheckIE6Version()) { var college_code = document.getElementById("college_code").value; var user_name = document.getElementById("user_name").value; var password = document.getElementById("password").value; var $parameters = "usr=" + user_name + "&password=" + password + "&login_college_code=" + college_code; $.ajax({ url: $host_url + "validateUsernameAndPassword.demo", async: false, data: $parameters, success: validateUsernameAndPasswordResponse }); } } var collegeInfoPopup; let admdata; var arun = ""; function validateUsernameAndPasswordResponse($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == -1) { document.getElementById("user_name").focus(); document.getElementById("password").value = ""; alert($responce.data); } else { var user_type = $responce.data.html["user_type"]; var user_id = $responce.data.internal_code; var college_name = $responce.data.html["college_name"]; var university_name = $responce.data.html["university_name"]; var real_name = $responce.data.html["real_name"]; var FCOLLCODE = $responce.data.html["FCOLLCODE"]; var FCOLLNAME = $responce.data.html["FCOLLNAME"]; var FTOWN = $responce.data.html["FTOWN"]; var FPRINCIPALNAME = $responce.data.html["FPRINCIPALNAME"]; var FPHONE = $responce.data.html["FPHONE"]; var FMOBILE = $responce.data.html["FMOBILE"]; var FFAX = $responce.data.html["FFAX"]; var FALTMOBILE = $responce.data.html["FALTMOBILE"]; var FCOLLADD1 = $responce.data.html["FCOLLADD1"]; var FCOLLADD2 = $responce.data.html["FCOLLADD2"]; var FCOLLADD3 = $responce.data.html["FCOLLADD3"]; var FCOLLADD4 = $responce.data.html["FCOLLADD4"]; var FEMAIL = $responce.data.html["FEMAIL"]; var FUNIVCODE = $responce.data.html["funivcode"]; //var colldet = $responce.data['colldet']; var can_edit_help_text = $responce.data.html["can_edit_help_text"]; var logo_path = $responce.data.html["university_logo"]; var a_p = ""; var d = new Date(); var curr_hour = d.getHours(); if (curr_hour < 12) a_p = "AM"; else a_p = "PM"; if (curr_hour == 0) { curr_hour = 12; } if (curr_hour > 12) { curr_hour = curr_hour - 12; } var curr_min = d.getMinutes(); var login_time = curr_hour + ":" + curr_min + " " + a_p; var cookie_value = "username=" + document.getElementById("user_name").value + "&pswd=" + document.getElementById("password") + "&adminlogin=" + document.getElementById("user_name").value + "&userlogintime=" + login_time; //setCookie("Qx0",cookie_value,1); setCookie("FCOLLCODE", FCOLLCODE, 1); setCookie("FUNIVCODE", FUNIVCODE, 1); setCookie("FCOLLNAME", FCOLLNAME, 1); setCookie("FPHONE", FPHONE, 1); setCookie("FPHONE", FPHONE, 1); setCookie("FTOWN", FTOWN, 1); setCookie("FFAX", FFAX, 1); setCookie("FALTMOBILE", FALTMOBILE, 1); setCookie("FCOLLADD1", FCOLLADD1, 1); setCookie("FCOLLADD2", FCOLLADD2, 1); setCookie("FCOLLADD3", FCOLLADD3, 1); setCookie("FCOLLADD4", FCOLLADD4, 1); //setCookie("colldet",colldet,1); setCookie("FPRINCIPALNAME", FPRINCIPALNAME, 1); setCookie("FMOBILE", FMOBILE, 1); setCookie("FEMAIL", FEMAIL, 1); setCookie("username", trim(document.getElementById("user_name").value), 1); setCookie( "college_code", trim(document.getElementById("college_code").value), 1 ); setCookie("login_time", login_time, 1); //setCookie("login_date",login_date,1); setCookie("user_type", user_type, 1); setCookie("college_name", college_name, 1); //setCookie("pswd",trim(document.getElementById('password').value),1); setCookie("host_url", $host_url, 1); setCookie("image_path", $image_path, 1); setCookie("university_name", university_name, 1); setCookie("real_name", real_name, 1); setCookie("user_id", user_id, 1); //setCookie("university_logo",logo_path,1); $responce.data.admdata = "F"; var collegeInfoStatus = $responce.data.html["fupdated"]; if (user_type == "Admin" && collegeInfoStatus != "T") { window.location.href = "collegeInfoPopup.html#modal"; } else if (user_type == "Admin" || $responce.data.admdata == "T") { window.location.href = "admdatasummary.html?v=15112018#modal"; } else { window.location.href = "MainPage.html"; } } } function getadmdata() { $.ajax({ url: $host_url + "getadmdata", success: function($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { /*var str = `<h2>Admission Statistics</h2> <table style="margin-left:2px;text-align: left;width: 100%" border="1" cellpadding="10" cellspacing="0" > <thead> <tr style = "background-color:#8acc51"> <th width="25" align="center"><b>Sl. No.</b></th> <th width="40" align="center"><b>Degree Code</b></th> <th width="150" align="left"><b>Degree Name</b></th> <th width="70" align="center"><b>No. of Students</b></th> <th width="60" align="center"><b>Students Registered</b></th> <th width="60" align="center"><b>Adm. Uploaded</b></th> <th width="60" align="center"><b>Adm. Pending</b></th> <th width="60" align="center"><b>Ack. Done</b></th> <th width="60" align="center"><b>Ack. Pending</b></th> </tr> </thead><tbody>`; var y = 1; for(var i = 0;i<$responce.data.length;i++) { var ackpending = (parseInt($responce.data[i]['fcount']) + parseInt($responce.data[i]['fenterednb'])) - $responce.data[i]['fackdone']; var admpending = (parseInt($responce.data[i]['fcount']) + parseInt($responce.data[i]['fenterednb'])) - $responce.data[i]['ffinsubdone']; str += `<tr> <th width="25" align="center"><b>${y}</b></th> <th width="40" align="center"><b>${$responce.data[i]['fdegree']}</b></th> <th width="150" align="left"><b>${$responce.data[i]['fdescpn']}</b></th> <th width="70" align="center"><b>${parseInt($responce.data[i]['fcount']) + parseInt($responce.data[i]['fenterednb'])}</b></th> <th width="60" align="center"><b>${$responce.data[i]['factive']}</b></th> <th width="60" align="center"><b>${$responce.data[i]['ffinsubdone']}</b></th> <th width="60" align="center"><b>${admpending}</b></th> <th width="60" align="center"><b>${$responce.data[i]['fackdone']}</b></th> <th width="60" align="center"><b>${ackpending}</b></th> </tr>`; y++; } str +=`</tbody> </table> <br> <span class="remodal-cancel" onclick='admcollegesum()'>Continue</span>`;*/ var str = `<h2>Admission Statistics</h2> <table style="margin-left:2px;text-align: left;width: 100%" border="1" cellpadding="10" cellspacing="0" > <thead> <tr style = "background-color:#8acc51"> <th width="25" align="center"><b>Sl. No.</b></th> <th width="40" align="center"><b>Degree Code</b></th> <th width="150" align="left"><b>Degree Name</b></th> <th width="70" align="center"><b>No. of Students</b></th> <th width="60" align="center"><b>Fee Paid</b></th> </tr> </thead><tbody>`; var y = 1; for (var i = 0; i < $responce.data.length; i++) { str += `<tr> <th width="25" align="center"><b>${y}</b></th> <th width="40" align="center"><b>${$responce.data[i]["fdegree"]}</b></th> <th width="150" align="left"><b>${$responce.data[i]["fdescpn"]}</b></th> <th width="70" align="center"><b>${$responce.data[i]["fcount"]}</b></th> <th width="60" align="center"><b>${$responce.data[i]["feepaied"]}</b></th> </tr>`; y++; } str += `</tbody> </table> <br> <span class="remodal-cancel" onclick='admcollegesum()'>Continue</span>`; $("#admstaticstics").html(str); } else { var str = `<h2>Admission Statistics</h2> <h3>No Deatils Found.</h3> <span class="remodal-cancel" onclick='admcollegesum()'>Continue</span>`; $("#admstaticstics").html(str); } } }); /*Noble Laurate Series*/ /* var str = `<h1>LIKE | WATCH | INFLUENCE</h1> <div style="text-align: left"><p>Your University offers a rare window into the Nobel Prize Winners.<br/> Join. Participate. Share. Among all you know.<br/> The Nobel Lecture in the palm of your hand. Watch it live.<br/> 4.45 pm this Friday, Saturday, and Sunday.<br/> <b>Share with all you know! </b><br/> Bring the power of change. Influence the influencers!<br/> Join the mission. Win a certificate from the Bengaluru Central University! It will add to your job profile.<br/> This is a Noble endeavor on the Nobel Series! Spread the good word! <br/> <b>Share among friends. Influence the influencers. Watch it live. </b><br/> <br/> The live-stream and social media links are:<br/> 1. Facebook: <a href="https://www.facebook.com/bengalurucentraluniversity/" target="blank">https://www.facebook.com/bengalurucentraluniversity/</a><br/><br/> 2. Instagram: <a href="https://www.instagram.com/bengaluru_central_university/" target="blank">https://www.instagram.com/bengaluru_central_university/</a><br/><br/> 3. Twitter: <a href="https://twitter.com/BangaloreCentr1" target="blank">https://twitter.com/BangaloreCentr1</a><br/><br/> </p></div> <span class="remodal-cancel" onclick='admcollegesum()'>Continue</span>`;*/ $("#admstaticstics").html(str); } function admcollegesum() { window.location.href = "MainPage.html"; } function loadCollegePopupInfo() { /*$.ajax({ url: $host_url+"getcolldet.demo", async: false, success: function($responce) { $responce = eval('(' + $responce + ')'); document.getElementById("thcntr").length = 0; var optionsAsString = "<option value=''>--Select--</option>"; for(var i = 0; i < $responce.data.colldet.length; i++) { optionsAsString += "<option value='" + $responce.data.colldet[i].internal_code + "'>" + $responce.data.colldet[i].value + "</option>"; } $("#thcntr" ).append( optionsAsString ); document.getElementById("prcntr").length = 0; var optionsAsString = "<option value=''>--Select--</option>"; for(var i = 0; i < $responce.data.colldet.length; i++) { optionsAsString += "<option value='" + $responce.data.colldet[i].internal_code + "'>" + $responce.data.colldet[i].value + "</option>"; } $("#prcntr" ).append( optionsAsString ); } });*/ $("#fcollegecode").val(getCookie("FCOLLCODE")); $("#fcollegename").val(getCookie("FCOLLNAME")); $("#fplace").val(getCookie("FTOWN")); //document.getElementById('fplace').value = 'BELAGAVI'; $("#coll_addr1").val(getCookie("FCOLLADD1")); $("#coll_addr2").val(getCookie("FCOLLADD2")); $("#coll_addr3").val(getCookie("FCOLLADD3")); $("#coll_addr4").val(getCookie("FCOLLADD4")); $("#flandlinenumb").val(getCookie("FPHONE")); $("#ffaxnumb").val(getCookie("FFAX")); $("#fprincipalname").val(getCookie("FPRINCIPALNAME")); $("#fmobnumb").val(getCookie("FMOBILE")); $("#fcollemail").val(getCookie("FEMAIL")); $("#faltmobnumb").val(getCookie("FALTMOBILE")); } function validateCollegeInfo() { if (trim(document.getElementById("fcollegecode").value) == "") { alert("Enter the College Code"); document.getElementById("fcollegecode").focus(); return; } if (trim(document.getElementById("fplace").value) == "") { alert("Enter the Place"); document.getElementById("fplace").focus(); return; } if (trim(document.getElementById("fcollegename").value) == "") { alert("Enter the College Name"); document.getElementById("fcollegename").focus(); return; } if (trim(document.getElementById("coll_addr1").value) == "") { alert("Enter the Address"); document.getElementById("coll_addr1").focus(); return; } if (trim(document.getElementById("flandlinenumb").value) == "") { alert("Enter the Landline Number"); document.getElementById("flandlinenumb").focus(); return; } if (trim(document.getElementById("ffaxnumb").value) == "") { alert("Enter the Fax Number"); document.getElementById("ffaxnumb").focus(); return; } if (trim(document.getElementById("fprincipalname").value) == "") { alert("Enter the Principle Name"); document.getElementById("fprincipalname").focus(); return; } var mobileNumber = trim(document.getElementById("fmobnumb").value); if (mobileNumber == "" || mobileNumber.length != 10) { alert("Enter the Mobile Number"); document.getElementById("fmobnumb").focus(); return; } if (trim(document.getElementById("fcollemail").value) == "") { alert("Enter the College Email"); document.getElementById("fcollemail").focus(); return; } else { var x = trim(document.getElementById("fcollemail").value); var atpos = x.indexOf("@"); var dotpos = x.lastIndexOf("."); if (atpos < 1 || dotpos < atpos + 2 || dotpos + 2 >= x.length) { alert("Not a valid e-mail address"); return false; } } var altMobileNumber = trim(document.getElementById("fmobnumb").value); if (altMobileNumber == "" || altMobileNumber.length != 10) { alert("Enter the Alternate Mobile Number"); document.getElementById("faltmobnumb").focus(); return; } /*if(trim(document.getElementById('thcntr').value) == '') { alert('Enter the Theory Center'); document.getElementById('thcntr').focus(); return; } if(trim(document.getElementById('prcntr').value) == '') { alert('Enter the Practical Center'); document.getElementById('prcntr').focus(); return; }*/ var cpwd = document.getElementById("cpwd").value; var pwd = document.getElementById("pwd").value; if (cpwd != pwd) { alert("Password Not Matching"); document.getElementById("pwd").value = ""; document.getElementById("cpwd").value = ""; document.getElementById("pwd").focus(); return; } var $lstr_data = ""; $lstr_data += "&fcollegecode=" + encodeURIComponent($("#fcollegecode").val()); $lstr_data += "&fcollegename=" + encodeURIComponent($("#fcollegename").val()); $lstr_data += "&fplace=" + encodeURIComponent($("#fplace").val()); $lstr_data += "&fprincipalname=" + encodeURIComponent($("#fprincipalname").val()); $lstr_data += "&flandlinenumb=" + encodeURIComponent($("#flandlinenumb").val()); $lstr_data += "&fcollemail=" + encodeURIComponent($("#fcollemail").val()); $lstr_data += "&ffaxnumb=" + encodeURIComponent($("#ffaxnumb").val()); $lstr_data += "&fmobnumb=" + encodeURIComponent($("#fmobnumb").val()); $lstr_data += "&faltmobnumb=" + encodeURIComponent($("#faltmobnumb").val()); $lstr_data += "&coll_addr1=" + encodeURIComponent($("#coll_addr1").val()); $lstr_data += "&coll_addr2=" + encodeURIComponent($("#coll_addr2").val()); $lstr_data += "&coll_addr3=" + encodeURIComponent($("#coll_addr3").val()); $lstr_data += "&coll_addr4=" + encodeURIComponent($("#coll_addr4").val()); $lstr_data += "&pwd=" + encodeURIComponent($("#pwd").val()); //$lstr_data+="&prcntr="+encodeURIComponent($("#prcntr").val()); //$lstr_data+="&thcntr="+encodeURIComponent($("#thcntr").val()); $.ajax({ url: $host_url + "saveCollegeInfoPopup.demo", data: $lstr_data, success: saveCollegeInfoPopupResponce }); } function saveCollegeInfoPopupResponce($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { window.location.href = "MainPage.html"; } else { logout(); } } //StudentRegisterNoPopup(); function setCookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expiredays); document.cookie = c_name + "=" + escape(value) + (expiredays == null ? "" : ";expires=" + exdate.toGMTString()); } function getCookie(c_name) { if (document.cookie.length > 0) { c_start = document.cookie.indexOf(c_name + "="); if (c_start != -1) { c_start = c_start + c_name.length + 1; c_end = document.cookie.indexOf(";", c_start); if (c_end == -1) c_end = document.cookie.length; return unescape(document.cookie.substring(c_start, c_end)); } } return ""; } function dologin(event) { if (event.keyCode == 13) login(); } function CheckIE6Version() { var BrowserType = BrowserDetect.browser; var BrowserVersion = BrowserDetect.version; if (BrowserType == "Explorer" && BrowserVersion == 6) { alert(" You are using IE6 Version,Use Mozilla Firefox or IE8"); return false; } return true; } function loadUniversityDetails() { $.ajax({ url: $host_url + "loadUniversityDetails.demo", success: loadUniversityDetailsResponce }); } function loadUniversityDetailsResponce($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { var university_logo = $responce.data.pdf_logo_path; setCookie("university_logo", university_logo, 1); setCookie("date", $responce.data.date, 1); $("#university_name").html($responce.data.FUNIVNAME); $("#university_logo").attr("src", $responce.data.pdf_logo_path); $("#jdate").html($responce.data.date); } } function resetPasswordValidation() { window.location.href = "popup/resetPasswordUserInfo.html#modal"; } function resetPasswordOTP() { window.location.href = "resetPasswordUserInfo.html#modal"; } function resetPasswordValidationTosendOTP() { var username = trim(document.getElementById("fusername").value); var mobileno = trim(document.getElementById("fmabileno").value); var emailid = trim(document.getElementById("femailid").value); if (username == "") { alert("Enter User Name"); document.getElementById("fusername").focus(); return; } if (mobileno == "") { alert("Enter Mobile Number"); document.getElementById("fmabileno").focus(); return; } if (emailid == "") { alert("Enter Email Id"); document.getElementById("femailid").focus(); return; } //window.location.href="resetPasswordOTP.html#modal"; $.ajax({ url: $host_url + "resetPasswordDetailsValidation.demo", data: "username=" + username + "&mobileno=" + mobileno + "&emailid=" + emailid, success: resetPasswordValidationTosendOTPresponce }); } function resetPasswordValidationTosendOTPresponce($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { setCookie("otpusrname", $responce.data["name"], 1); setCookie("otpmobile", $responce.data["mobile"], 1); setCookie("otpemail", $responce.data["email"], 1); window.location.href = "resetPasswordEnterOTP.html#modal"; /* $("div.error span").html($responce.data['eotp_responce']); $("div.error").show(); */ } else { $("div.error span").html($responce.data); $("div.error").show(); } } function submitquery() { var femail = trim(document.getElementById("femail").value); var fsubject = trim(document.getElementById("fsubject").value); var fmessage = trim(document.getElementById("fmessage").value); if (femail == "") { alert("Enter Enter Email ID"); document.getElementById("femail").focus(); return; } if (fsubject == "") { alert("Enter Subject"); document.getElementById("fsubject").focus(); return; } if (fmessage == "") { alert("Enter Body"); document.getElementById("fmessage").focus(); return; } $.ajax({ url: $host_url + "submitquery.demo", data: "femail=" + femail + "&fsubject=" + fsubject + "&fmessage=" + fmessage, success: submitqueryresponce }); } function submitqueryresponce($responce) { $responce = eval("(" + $responce + ")"); } function validateResetPasswordOTP() { var mreOTP = trim(document.getElementById("fmreotp").value); if (mreOTP == "") { alert("Enter OTP sent to Mobile or Email"); document.getElementById("mreOTP").focus(); return; } $.ajax({ url: $host_url + "validateResetPasswordOTP.demo", data: "username=" + getCookie("otpusrname") + "&mobileno=" + getCookie("otpmobile") + "&emailid=" + getCookie("otpemail") + "&mreOTP=" + mreOTP, success: validateResetPasswordOTPresponce }); } function validateResetPasswordOTPresponce($responce) { $responce = eval("(" + $responce + ")"); if ($responce.error_code == 0) { //window.location.href="resetPasswordSuccess.html#modal"; //myRedirect("resetPasswordSuccess.html#modal", "paswd", $responce.data); //$.redirect('resetPasswordSuccess.html#modal', {"paswd": $responce.data },'POST'); $("#temp_password").html($responce.data); $("div.error span").html( "This password is Temporary ,Login and Reset the Password ." ); $("#otpEntry").hide(); $("#otpVsucess").show(); $("div.error").show(); } else { //alert($responce.data); $("div.error span").html($responce.data); $("div.error").show(); } } var myRedirect = function(redirectUrl, arg, value) { var form = $( '<form action="' + redirectUrl + '" method="post">' + '<input type="hidden" name="' + arg + '" id="' + arg + '" value="' + value + '"></input>' + "</form>" ); $("body").append(form); $(form).submit(); }; function sendusernameandpassword() { var collcode = trim($("#college_code").val()); if (trim(document.getElementById("college_code").value) != "") { $.ajax({ url: $host_url + "sendusernameandpassword.demo", data: "collcode=" + collcode, success: sendusernameandpasswordresponce }); } } function sendusernameandpasswordresponce($responce) { $responce = eval("(" + $responce + ")"); $("#resendotp").hide(); if ($responce.error_code == 0) { $("#resendotp").show(); alert("OTP Will be Sent to College Principle Mobile"); } else { $("#resendotp").hide(); } }
Close