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.143.7.53
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 /
oasis /
Report_details /
[ HOME SHELL ]
Name
Size
Permission
Action
output
[ DIR ]
drwxr-xr-x
AttDateWiseReportexcel.php
4.39
KB
-rw-r--r--
Attdet.php
7.1
KB
-rw-rw-r--
AttdetPdf.php
8.74
KB
-rw-rw-r--
AttdetPdfUniclare.php
7.49
KB
-rw-rw-r--
AttdetexcelUniclare.php
5.48
KB
-rw-rw-r--
CIEAttendanceNotEligiblepdf.ph...
6.83
KB
-rw-rw-r--
CIEpendingListpdf.php
9.05
KB
-rw-rw-r--
DegreeWiseStudLstUSN.php
7.69
KB
-rw-rw-r--
DownloadExamAppFormApplication...
10.92
KB
-rwxr-xr-x
DownloadRvRtAckApplications.ph...
4.6
KB
-rwxr-xr-x
Generatecollegeiamarkspendingr...
7.49
KB
-rwxrwxrwx
PrintChallanEntryDetails.php
8.27
KB
-rwxr-xr-x
RVApplicationsReport.php
8.9
KB
-rwxr-xr-x
RvPcListDetailedReport.php
12.51
KB
-rwxrwxrwx
RvRtApplicationReport.php
8.86
KB
-rwxr-xr-x
absentAndMalReportPdf.php
11.5
KB
-rw-rw-r--
absentandmalpracticereport.php
10.16
KB
-rw-rw-r--
ack_exam_app_form_bulk.php
11.76
KB
-rwxr-xr-x
admlist.php
13.87
KB
-rwxrwxrwx
admregisterlist.php
7.39
KB
-rwxr-xr-x
affliation_detailed_report.php
12.56
KB
-rwxrwxrwx
appear_list_center_qp_wise.php
13.07
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.61
KB
-rw-r--r--
attCisshortList_sjbit.php
12.82
KB
-rw-r--r--
attDegwiseReport.php
14.2
KB
-rw-r--r--
attendanceReportForm.php
5.69
KB
-rw-rw-r--
attendanceform_pdf.php
12.35
KB
-rw-r--r--
attiacombined.php
9.52
KB
-rw-r--r--
attiacombinedReportnewexcel_sj...
12.94
KB
-rw-rw-r--
attiacombinednew.php
12.66
KB
-rw-r--r--
attiacombinednew_1.php
12.34
KB
-rw-r--r--
attiacombinednew_2.php
12.33
KB
-rw-r--r--
attiacombinednew_sjbit.php
8.7
KB
-rw-r--r--
attshortlist.php
10.72
KB
-rw-r--r--
basic_data_coll.php
6.79
KB
-rwxr-xr-x
basic_data_sum.php
6.98
KB
-rwxr-xr-x
batch_wise_details.php
4.45
KB
-rwxr-xr-x
board.php
3.86
KB
-rw-rw-r--
bundle_ack.php
13.58
KB
-rwxr-xr-x
candidatelist.php
10
KB
-rw-rw-r--
categorywisereport.php
13.27
KB
-rwxr-xr-x
categorywisereportpdf.php
7.57
KB
-rw-rw-r--
cntrtagcollstud.php
4.99
KB
-rw-rw-r--
code39.php
6.38
KB
-rwxr-xr-x
college_pending_markslist.php
6.78
KB
-rwxrwxrwx
college_pending_markslist19032...
6.48
KB
-rwxr-xr-x
convoreport.php
5.56
KB
-rw-rw-r--
copomarksexternalreportexcel.p...
7.02
KB
-rw-rw-r--
daterange.php
6.27
KB
-rw-rw-r--
degreeDetailsReport.php
7
KB
-rw-rw-r--
degreewiseMarksEntryStats.php
8.44
KB
-rw-rw-r--
elememntWiseReport.php
16.11
KB
-rw-rw-r--
empty_report_admission_det.php
8.91
KB
-rw-rw-r--
enterCOPOmarks.php
2.94
KB
-rw-rw-r--
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
-rw-rw-r--
fpdf.php
147.08
KB
-rw-rw-r--
generate.php
7.32
KB
-rw-rw-r--
generateCorseRep.php
7.93
KB
-rw-r--r--
generateDaliyReportQpNitteExce...
16.34
KB
-rw-rw-r--
generatePostAdmissionTicket.ph...
51.8
KB
-rwxr-xr-x
generatePostAdmissionTicketJss...
58.53
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
-rw-rw-r--
generatePrintIaMarksnew.php
16.28
KB
-rw-r--r--
generatePrintIaMarksnewXl.php
13.22
KB
-rw-rw-r--
generateQuestionWiseIAReportPD...
18.73
KB
-rw-rw-r--
generateThValReport.php
7.4
KB
-rw-r--r--
generateXlGraph.php
3.87
KB
-rw-rw-r--
generateadmissionreg.php
11.81
KB
-rw-r--r--
generatecoporeport_xl.php
21.08
KB
-rw-rw-r--
gerderwiseresultsheet.php
12.08
KB
-rwxr-xr-x
getDegree.php
2.27
KB
-rw-rw-r--
getDegreeAndSem.php
4.32
KB
-rw-r--r--
getIaSubjWiseReport.php
0
B
-rw-rw-r--
getNitteAdmXlreport.php
14.74
KB
-rw-rw-r--
getReportClassStud.php
6.03
KB
-rw-rw-r--
getTestTotalMarksReport.php
9.49
KB
-rw-rw-r--
getiaabsentreport.php
6.8
KB
-rw-r--r--
gradewisesubjectanalysisreport...
24.66
KB
-rw-r--r--
gradewisesubjectanalysisreport...
20.73
KB
-rw-r--r--
headerNfooter.php
4.89
KB
-rw-rw-r--
iaDegwiseIAReport.php
12.58
KB
-rw-rw-r--
iaMarksQnWiseReportExcel.php
25.41
KB
-rw-rw-r--
iaMarksReportPDF.php
10.84
KB
-rw-r--r--
iaSubjectWiseReport.php
10.74
KB
-rw-rw-r--
ia_room_allotment_datewise.php
9.08
KB
-rwxr-xr-x
iaemptyformat.php
9.63
KB
-rwxr-xr-x
iaroomallotmantsummary.php
5.28
KB
-rwxr-xr-x
iasectionwisenew.php
36.02
KB
-rw-rw-r--
invig_report.php
10.18
KB
-rw-rw-r--
invig_report_summary.php
7.74
KB
-rw-rw-r--
latEntryRprt.php
6.4
KB
-rwxr-xr-x
markListReportPdf.php
21.32
KB
-rw-rw-r--
markListReportPdfnew.php
49.6
KB
-rw-r--r--
markListReportPdfnew_24112023....
42.93
KB
-rw-r--r--
marksEntryQnWiseNewReport.php
13.13
KB
-rw-rw-r--
marksentryquestionwise.php
23.83
KB
-rw-rw-r--
mregistry.php
152.75
KB
-rw-rw-r--
pdfacknowledgeAppNo.php
10.95
KB
-rw-rw-r--
pendingcie.php
0
B
-rw-rw-r--
photo_report.php
7.04
KB
-rw-rw-r--
pi_test.php
3.45
KB
-rw-r--r--
picharttesting.php
24.78
KB
-rw-rw-r--
prbillreports.php
16.32
KB
-rw-rw-r--
principalFreeze_report.php
7.23
KB
-rw-rw-r--
printIaMarks.php
12.74
KB
-rw-r--r--
printIaMarks_old.php
12.74
KB
-rw-rw-r--
printMarkListDetailsWisenew.ph...
10.1
KB
-rw-r--r--
printMarkListDetailsWisenewExc...
15.52
KB
-rw-rw-r--
printMarkListDetailsWisenew_CI...
3.98
KB
-rw-r--r--
printMarkListDetailsWisenew_sj...
15.69
KB
-rw-r--r--
printMarkListDetailsWisenew_sj...
14.54
KB
-rw-r--r--
printMarkListSubWiseJssstu.php
28.4
KB
-rw-rw-r--
print_applications_ru.php
26.59
KB
-rw-rw-r--
progDegwiseReportPdf.php
14.15
KB
-rw-rw-r--
provisionExcelReportSrun.php
12.73
KB
-rw-rw-r--
qp_issue.php
8.47
KB
-rwxr-xr-x
qrcodeGeneratePostAdmissionTic...
56.9
KB
-rwxr-xr-x
qrcodeGeneratePostAdmissionTic...
33.16
KB
-rwxr-xr-x
qrhallticket.php
56.1
KB
-rw-rw-r--
r
9.23
KB
-rwxr-xr-x
regNoAllot.php
35.56
KB
-rw-rw-r--
reg_stud_list.php
8.65
KB
-rwxr-xr-x
reportAttClassCreate.php
5.14
KB
-rw-rw-r--
reportAttCount.php
12.89
KB
-rw-r--r--
reportAttCount_old_08112022.ph...
11.11
KB
-rw-r--r--
report_Xl_getpendingstudentLis...
7.93
KB
-rw-rw-r--
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
-rw-rw-r--
report_admission_list_wop.php
10.31
KB
-rwxr-xr-x
report_admission_ticket.php
77.87
KB
-rw-rw-r--
report_admission_ticket_bf_uuc...
37.63
KB
-rwxr-xr-x
report_admission_ticket_jsstu....
70.16
KB
-rw-r--r--
report_admission_ticket_new.ph...
65.79
KB
-rw-rw-r--
report_attendance_sheet.php
23.77
KB
-rwxr-xr-x
report_attendance_shortage.php
9.23
KB
-rw-rw-r--
report_attendance_summary.php
11.48
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.86
KB
-rwxr-xr-x
report_batch_worksheet_details...
20.02
KB
-rwxr-xr-x
report_bulk_applications.php
26.15
KB
-rwxr-xr-x
report_bulk_applications_nitte...
26
KB
-rw-rw-r--
report_bundle_dispatch.php
15.36
KB
-rwxr-xr-x
report_candidate_list.php
31.41
KB
-rwxr-xr-x
report_candidate_list_old.php
29.91
KB
-rwxr-xr-x
report_copoMarksList.php
23.88
KB
-rw-rw-r--
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...
20.31
KB
-rwxr-xr-x
report_daliy_report_qp_sjbit.p...
17.49
KB
-rwxr-xr-x
report_data_sent.php
8.41
KB
-rwxr-xr-x
report_degree_list.php
4.71
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_ia_ra_invigilator_dairy...
20.87
KB
-rwxr-xr-x
report_ia_ra_roomwise_register...
27.06
KB
-rw-r--r--
report_iamarks_pending.php
8.19
KB
-rwxr-xr-x
report_invigilatorDairy.php
46.77
KB
-rw-rw-r--
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...
21.94
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...
23.65
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.89
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
46.94
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_ne...
49.39
KB
-rwxr-xr-x
report_ra_invigilator_dairy_sj...
32.35
KB
-rwxr-xr-x
report_ra_invigilator_dairy_st...
19.82
KB
-rw-rw-r--
report_ra_invigilators_dairy.p...
9.27
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
10.97
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
8.74
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
11.21
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.67
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
26.44
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
27.15
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
17.6
KB
-rwxr-xr-x
report_reg_list.php
33.33
KB
-rw-rw-r--
report_reg_list_gcg.php
33.55
KB
-rw-rw-r--
report_reg_list_gcg_new_040120...
33.12
KB
-rw-rw-r--
report_registerNoListNoticeBoa...
25.84
KB
-rw-rw-r--
report_registerNoListRoomBoard...
22.08
KB
-rw-rw-r--
report_revaluation.php
6.42
KB
-rwxr-xr-x
report_roomallotmentExcel.php
8.31
KB
-rw-rw-r--
report_subject_admcl_list.php
3.68
KB
-rwxr-xr-x
report_subject_general_list.ph...
4.89
KB
-rwxr-xr-x
resultsheet.php
12.82
KB
-rwxr-xr-x
resultsheetExcel.php
6.37
KB
-rw-r--r--
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
roomAllotment.php
37.45
KB
-rw-rw-r--
room_allotment_datewise_stph.p...
21.46
KB
-rwxr-xr-x
roomallotmantsummary.php
6.66
KB
-rwxr-xr-x
roomallotmantsummarynew.php
7.09
KB
-rwxr-xr-x
roomallotmantsummarysubjwise.p...
9.26
KB
-rw-rw-r--
roomallotmantsummarysubjwisene...
9.89
KB
-rw-r--r--
roomallotmentqpwise.php
10.22
KB
-rw-rw-r--
roomwise_register_nos_list.php
27.87
KB
-rwxr-xr-x
roomwise_register_nos_list_new...
29.38
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
semesterWiseResultReportpdf.ph...
11.03
KB
-rw-rw-r--
shortageReport.php
11.05
KB
-rw-rw-r--
std_regstr_det_reprt_xl.php
7.6
KB
-rw-rw-r--
stringspliter.php
718
B
-rwxr-xr-x
stud_wise_report.php
8.97
KB
-rw-rw-r--
studentHisResult.php
8.34
KB
-rw-r--r--
student_count.php
4.16
KB
-rwxr-xr-x
studentwiseresult.php
18.02
KB
-rw-rw-r--
studentwiseresultExcelReport.p...
10.29
KB
-rw-rw-r--
subWiseFailedStudExcelReport.p...
9.02
KB
-rw-rw-r--
subWiseFailedStudSummary.php
7.78
KB
-rw-rw-r--
subjRegReport.php
8.42
KB
-rw-r--r--
subjectDetailsReport.php
13.93
KB
-rw-rw-r--
subject_wise_student_list.php
6.2
KB
-rwxr-xr-x
subjwisepasspercentage.php
10.99
KB
-rw-rw-r--
subjwisepasspercentagePie.php
10.92
KB
-rw-r--r--
subjwiseressheet.php
12.92
KB
-rwxr-xr-x
subwiseGrafAnalysis.php
20.04
KB
-rw-r--r--
subwiseGrafAnalysis1.php
22.44
KB
-rw-r--r--
subwiseResultReport.php
12.75
KB
-rw-rw-r--
tatkal.php
4.84
KB
-rwxr-xr-x
teachFreeze_report.php
8.96
KB
-rw-r--r--
teacher_report.php
11.26
KB
-rwxr-xr-x
teacher_val_report.php
10.59
KB
-rwxr-xr-x
timetabledegreewiserpt.php
6.73
KB
-rwxrwxrwx
topsheet.php
8.59
KB
-rwxr-xr-x
verifystud.php
8.38
KB
-rwxr-xr-x
viewexamcentrenew.php
20.7
KB
-rw-rw-r--
xl_AckAppReport.php
10.02
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : report_invigilatorDairy.php
<?php $main_src=substr($_SERVER['SCRIPT_FILENAME'],0,strlen($_SERVER['SCRIPT_FILENAME'])-7); $pdf_writer_class =$main_src."/tcpdf/tcpdf.php"; require_once($pdf_writer_class); include_once("stringspliter.php"); require_once("/var/www/html/aws/aws-autoloader.php"); use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; ini_set('max_execution_time', 300); ini_set("memory_limit","1080M"); class ra_invigilators_dairy extends TCPDF { function DefaultConstructor($aobj_context) { session_start(); $this->aobj_context=$aobj_context; $this->pdf= new TCPDF(); $this->pdf=$this; $this->fromdate=trim($this->aobj_context->mobj_data["fromdate"]); //var_dump($this->fromdate);die(); $this->fromqpcode=trim($this->aobj_context->mobj_data["fqpcode"]); $this->toqpcode=trim($this->aobj_context->mobj_data["tqpcode"]); $this->fac = trim($this->aobj_context->mobj_data["degree"]); $this->facu=explode(' - ',$this->fac); $this->faculty= $this->facu[0]; $this->session=trim($this->aobj_context->mobj_data["session"]); $this->room_range_from=trim($this->aobj_context->mobj_data["room_range_from"]); $this->room_range_to=trim($this->aobj_context->mobj_data["room_range_to"]); $this->rtype=trim($this->aobj_context->mobj_data["photo"]); // var_dump($this->rtype);die(); $this->room_range_from=str_pad($this->room_range_from, 3, "0", STR_PAD_LEFT); $this->room_range_to=str_pad($this->room_range_to, 3, "0", STR_PAD_LEFT); $this->ip=$_SERVER["REMOTE_ADDR"]; $get_date="select now() as now_date,ifnull(fregroll,'Reg. No.') as fregroll from control"; $obj=$this->aobj_context->mobj_db->GetRow($get_date); $this->current_date=$obj['now_date']; $this->fregroll=$obj['fregroll']; $this->collcode=$_SESSION['collcode']; $this->funivcode=$_SESSION['univcode']; // if($this->funivcode == '052') // $this->fregroll= "USN"; // else // $this->fregroll= "Register"; $this->headeractive = true; $this->startPageGroup(); } function Header() { $bMargin = $this->getBreakMargin(); $auto_page_break = $this->AutoPageBreak; $this->SetAutoPageBreak(false, 0); $this->SetAutoPageBreak($auto_page_break, $bMargin); } function Footer() { // if($this->funivcode == '052') // { // $this->SetY(-50); // $this->Ln(3); // $this->cell(0,7, "No. of Answer Booklets received","0",1,"R"); // $this->Ln(10); // $this->cell(0,7, "Signature of the Receiver","0",1,"R"); // }else // { $this->SetY(-12); //} $this->pdf->SetFont('Times','B',8); //$this->Cell(140,6,'Entered : IP Address : '.$this->ip_address." Date ".$this->created_date,'0',0,'L'); $this->Cell(0,6,'Printed : IP Address : '.$this->ip." Date ".$this->current_date,'0',0,'L'); // $this->Cell(50,6,'Page '.$this->PageNo().' of {nb}',0,1,'R'); $this->Cell(0, 6,'Page ' .$this->getPageNumGroupAlias().'/'.$this->getPageGroupAlias(), 0, 1, 'R'); } function formcolldata() { $get_coll_name="select FUNIVNAME as 'FUNIVNAME',FUNIVCODE, FUNIVADD1 as 'state', pdf_logo_path From control"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); $this->FUNIVNAME=$lobj_get_coll_name['FUNIVNAME']; $this->s_state=$lobj_get_coll_name['state']; $this->f_year=$lobj_get_coll_name['f_year']; $this->pdf_logo_path=$lobj_get_coll_name['pdf_logo_path']; $this->funivcode=$lobj_get_coll_name['FUNIVCODE']; $get_data="SELECT c.FCOLLCODE, if('{$this->funivcode}' = '052',CONCAT('Center Code: ',c.FCOLLCODE),CONCAT(c.FCOLLCODE, ' - ', c.FCOLLNAME,', ',c.FTOWN)) AS FCOLLNAME FROM college c where c.FCOLLCODE='{$this->collcode}'"; $obj_student=$this->aobj_context->mobj_db->GetRow($get_data); $this->college_details = $obj_student['FCOLLNAME']; $this->degree_details = " College : {$this->FCOLLNAME}"; } function GetFullQry() { if($this->session == 'both') { $sectionvalue = ""; } else { $sectionvalue = "and t.fsession like '{$this->session}%'"; } if($_SESSION['fexamseparate'] == 'T') { $candsum = "examcandsum"; $canddet = "examcanddet"; }else { $candsum = "candsum"; $canddet = "canddet"; } $degreetmp = "degree"; $subjecttmp = "subject"; $query = "select distinct d.fdeggrp from {$degreetmp} d inner join subject s on d.fdegree = s.fdegree and d.fexamno = s.fexamno where s.fdoe = date_format(str_to_date('{$this->fromdate}','%d/%m/%Y'),'%Y-%m-%d') and ifnull(d.fdeggrp,'') <> ''"; $res = $this->aobj_context->mobj_db->GetRow($query); $fdeggrp = $res['fdeggrp']; if($fdeggrp =='BED' && ($this->funivcode == '027' || $this->funivcode == '026') ) { $order = "s.FQPCODE,cd.FHALLNO,st.fname,s.FQPCODE, cd.FREGNO"; }else if($this->funivcode == '046') { $order = "s.FQPCODE,st.fayear,cd.FREGNO"; }else if($this->funivcode == '033') { $order = "cd.FHALLNO,s.FQPCODE,st.fayear,cd.FREGNO"; }else if($this->funivcode == '052') { $order = "cd.FHALLNO,s.FQPCODE,cd.FREGNO"; }else if($this->funivcode == '055' || $this->funivcode == '021') { $order = "cd.FHALLNO,s.FQPCODE,cd.FREGNO"; } else { $order = "LPAD(ra.forder, 3, '0'), s.FQPCODE, cd.FREGNO"; } if($this->funivcode == '033') { $get_data = "SELECT cd.FHALLNO,cd.FREGNO,left(st.FNAME,30) as FNAME ,masroom.froomname,ifnull(st.fphotopath,'') as fphotopath,s.fmcq, s.fqpcode, LPAD(ra.forder,3, '000') AS foorder,ifnull(rt.fname,'') as rtname FROM {$canddet} cd INNER JOIN {$subjecttmp} s ON s.fdegree = cd.fdegree and s.fexamno = cd.fexamno and s.FSUBCODE=cd.FSUBCODE inner join {$candsum} cs on cs.FREGNO=cd.FREGNO AND cd.FCOLLCODE=cs.FCOLLCODE inner join student st on st.FREGNO=cd.FREGNO AND cd.FCOLLCODE=st.FCOLLCODE inner JOIN masroom ON masroom.froomno = FHALLNO AND masroom.FCOLLCODE = cs.FCNTRCODE LEFT JOIN reason r ON s.FSESSION = r.FREASONCD left join roominvig rt on cd.fteachcode = rt.fteachcode inner join room_allotment ra on cs.fcntrcode = ra.fcollcode and s.fqpcode = ra.fqpcode and ra.fhallno = masroom.froomno WHERE cs.FCNTRCODE='{$this->collcode}' and s.ftheory = 'T' and ifnull(s.fintass,'') <> 'T' and ifnull(s.fretain,'') <> 'T' {$sectionvalue} and s.FQPCODE between '{$this->fromqpcode}' and '{$this->toqpcode}' and ifnull(cd.FHALLNO,'') <> '' and INSTR(cs.fhtenable,cd.fexamno) >0 and ifnull(s.fparentsub,'') <> 'T' AND lpad(cd.FHALLNO,3,'0') between '{$this->room_range_from}' and '{$this->room_range_to}' and s.fdoe = date_format(str_to_date('{$this->fromdate}','%d/%m/%Y'),'%Y-%m-%d') and FPRESENT='P' and ifnull(cd.fpassmth,'') = '' and ifnull(FRECPTDATE,'0000-00-00')<>'0000-00-00' order by {$order}"; }else { $get_data = "SELECT cd.FHALLNO,cd.FREGNO,concat(cd.FREGNO,'*',s.fqpcode) as FREGNO1,left(st.FNAME,30) as FNAME ,masroom.froomname,ifnull(st.fphotopath,'') as fphotopath, s.fqpcode, LPAD(ra.forder,3, '000') AS foorder,'' as rtname FROM {$canddet} cd INNER JOIN {$subjecttmp} s ON s.fdegree = cd.fdegree and s.fexamno = cd.fexamno and s.FSUBCODE=cd.FSUBCODE inner join {$candsum} cs on cs.FREGNO=cd.FREGNO AND cd.FCOLLCODE=cs.FCOLLCODE inner join degree d on cd.fdegree = d.fdegree and cd.fexamno = d.fexamno inner join student st on st.FREGNO=cd.FREGNO AND cd.FCOLLCODE=st.FCOLLCODE inner JOIN masroom ON masroom.froomno = FHALLNO AND masroom.FCOLLCODE = cs.FCNTRCODE LEFT JOIN reason r ON s.FSESSION = r.FREASONCD left join room_allotment ra on cs.fcntrcode = ra.fcollcode and s.fqpcode = ra.fqpcode and ra.fhallno = masroom.froomno INNER JOIN timetable t ON s.fqpcode = t.fqpcode AND cd.fyear = t.fyear AND cd.fexamtype = t.fexamtype AND t.fdeggrp = d.fdeggrp WHERE cs.FCNTRCODE='{$this->collcode}' and s.ftheory = 'T' and ifnull(s.fintass,'') <> 'T' {$sectionvalue} #and s.FQPCODE between '{$this->fromqpcode}' and '{$this->toqpcode}' and ifnull(cd.FHALLNO,'') <> '' and d.fdeggrp = '{$this->faculty}' and INSTR(cs.fhtenable,cd.fexamno) >0 #and ifnull(s.fparentsub,'') <> 'T' #AND lpad(cd.FHALLNO,3,'0') between '0000' and 'zzzzz' and t.fdate ='{$this->fromdate}' and FPRESENT='P' and ifnull(cd.fpassmth,'') = '' and ifnull(FRECPTDATE,'0000-00-00')<>'0000-00-00' order by {$order}"; } // var_dump($get_data);die(); $this->lobj_get_data = $this->aobj_context->mobj_db->GetAll($get_data); $this->final_data_arr=array(); $this->hallname= array(); $c=0; foreach($this->lobj_get_data as $ak=>$av) { $this->final_data_arr[$av['FHALLNO']][$av['FREGNO1']]['FREGNO']=$av['FREGNO']; $this->final_data_arr[$av['FHALLNO']][$av['FREGNO1']]['FNAME']=$av['FNAME']; $this->final_data_arr[$av['FHALLNO']][$av['FREGNO1']]['rtname']=$av['rtname']; $this->final_data_arr[$av['FHALLNO']][$av['FREGNO1']]['fphotopath']=$av['fphotopath']; $this->final_data_arr[$av['FHALLNO']][$av['FREGNO1']]['fqpcode']=$av['fqpcode']; // To display room name 12/11/2016 $this->hallname[$av['FHALLNO']] = $av['froomname']; $c++; } } function WriteSlNoRow() { } function logoheader($FUNIVCODE,$last) { if($FUNIVCODE == '031' || $FUNIVCODE == '049' || $FUNIVCODE == '055') { if(!empty($this->pdf_logo_path)) { $img_logo_path='/var/www/html/demo/logo.jpg'; if($FUNIVCODE == '049') { $this->pdf->Image($img_logo_path,80,4,62); $this->pdf->Ln(9); } else if($FUNIVCODE == '055') { if($FUNIVCODE == '055') $this->pdf->Cell(0,1,"FORM B","0",1,"R"); $this->pdf->Image($img_logo_path,30,2,140,20); $this->pdf->Ln(10); } else $this->pdf->Image($img_logo_path,60,4,80); if($FUNIVCODE != '055') $this->pdf->Ln(10); } } else { // $img_path=$this->aobj_context->main_src. '/'.$this->aobj_context->mobj_data["db"].'/'.$this->photo_path; // if(!empty($this->photo_path) && file_exists($img_path)) // { // $this->pdf->Image($img_path,166,50,50); // } if(!empty($this->pdf_logo_path)) { $img_logo_path='/var/www/html/demo/logo.jpg'; if($FUNIVCODE == '052') $this->pdf->Image($img_logo_path,5,5,37,15); else $this->pdf->Image($img_logo_path,10,10,20); } if($FUNIVCODE == '052') { $this->pdf->SetFont('Times','B',11); $this->pdf->Cell(0,4,"JSS MAHAVIDYAPEETHA",0,1,'C'); } $this->pdf->SetFont('Times','B',15); $this->pdf->cell(0,3,$this->FUNIVNAME."","0",1,"C"); $this->pdf->SetFont('Times','B',8); $this->pdf->cell(0,6, $this->s_state,"0",1,"C"); } $this->pdf->SetFont('Times','B',12); if($FUNIVCODE == '052') $this->pdf->cell(0,6, "$this->college_details ","0",1,"C"); else if($FUNIVCODE == '055') { } else $this->pdf->cell(0,6, "Centre : $this->college_details ","0",1,"C"); $this->pdf->SetFont('Times','B',12); if($FUNIVCODE == '005') $this->pdf->Cell(0,6,"ATTENDANCE SHEET","0",1,"C"); else if($FUNIVCODE == '052') $this->pdf->Cell(0,6,"INVIGILATOR'S DIARY (B FORM) - {$this->FEXAMDATE} EXAMINATION","0",1,"C"); else if($FUNIVCODE == '055') $this->pdf->Cell(0,6,"{$this->fexamname} {$this->FEXAMDATE}","0",1,"C"); else $this->pdf->Cell(0,6,"INVIGILATOR'S DIARY - {$this->FEXAMDATE} EXAMINATION","0",1,"C"); if($FUNIVCODE != '055') $this->pdf->Cell(0,6,$this->copy,"0",1,"C"); if($last != 'last') { $this->pdf->SetFont('Times','',12); $this->pdf->Cell(0,6," {$this->sub_details}","0",1,"C"); $this->pdf->Cell(0,6," {$this->exam_date}","0",1,"C"); $style = array( 'position' => 'right', 'align' => 'C', 'stretch' => false, 'fitwidth' => true, 'cellfitalign' => '', 'border' => false, 'hpadding' => 'auto', 'vpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255), 'text' => true, 'font' => 'helvetica', 'fontsize' => 8, 'stretchtext' => 4 ); //$this->pdf->write1DBarcode($this->newqpcode, 'C39', '170', '45','130', 14, 0.2, $style, 'R'); $this->pdf->Ln(1); $this->pdf->SetFont('Times','',12); $empty_cell_width=12; $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->SetFont('Times','B',14); $this->pdf->Cell(180,7,"Room No. : {$this->hall_no}","0",1,"L"); $this->pdf->SetFont('Times','B',12); } } function formData() { session_start(); $FUNIVCODE = $aobj_context->mobj_data['univcode']; // var_dump($this->rtype);die(); if($this->rtype == 'withphoto') $this->pdf->SetMargins(1,5,10); else $this->pdf->SetMargins(1,5,10); if($FUNIVCODE == '049') $empty_cell_width=15; else $empty_cell_width=5; $this->pdf->SetFont('Times','B',10); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $cnt=0; if($FUNIVCODE == '041' || $FUNIVCODE == '042' || $FUNIVCODE == '023' || $FUNIVCODE == '008') { $copies = ["University Copy", "College Copy"]; }else { $copies = [""]; } //print_r($this->final_data_arr); foreach($this->final_data_arr as $hallk=>$hallv) { // $this->copy = $copy; foreach($copies as $hk=>$copy) { $this->copy = $copy; // To display room name 12/11/2016 $this->hall_no = $this->hallname[$hallk]; /*$qyuery = "select froomname from masroom where froomno = '{$hallk}' and fcollcode = '{$this->collcode}'"; $results = $this->aobj_context->mobj_db->GetRow($qyuery);*/ //var_dump($qyuery); //$this->hall_no = $results['froomname']; $this->headeractive = true; //$this->pdf->AddPage(); $sl_no=1; $c=1; $t_s=0; $this->pdf->SetFont('Times','',12); $cnt=0; $newqpcode = ''; $oldqpcode = ''; $soldqpcode = ''; $newhallno = ''; $oldhallno = ''; foreach($hallv as $hk=>$hv) { $cnt++; $newqpcode = $hv['fqpcode']; $this->qp_code = $hv['fqpcode']; if($newqpcode != $oldqpcode) { if($FUNIVCODE == '055') $slcndno = '150'; else $slcndno = '110'; if($cnt != 1) { $this->pdf->Ln(5); if($this->pdf->GetY() > $slcndno) { if($FUNIVCODE == '052') { $this->pdf->Ln(10); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(0,7, "No. of Answer Booklets received: ","0",0,"L"); $this->pdf->cell(0,7, "Signature of the Receiver","0",1,"R"); } //$this->pdf->cell(0,10, "Register No. of Candidate(s) who arrived late","1",1,"R"); $this->headeractive = true; $this->pdf->AddPage(); $this->logoheader($FUNIVCODE,'first'); } $this->pdf->SetFont('Times','B',12); $this->pdf->Ln(3); if($FUNIVCODE != '052' && $FUNIVCODE != '055') { $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Register No. of Candidate(s) who arrived late","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,5, "Register No. of Candidate(s) who left the ","LR",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "hall temporarily ","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); } $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, $this->fregroll." of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Total No. of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); if($FUNIVCODE == '052') { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,10, "Sl. No of Blank Answer Booklets of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); }else { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->cell(90,5, "Total No. of Candidate(s) Answer Books","LR",0,"L"); else $this->pdf->cell(90,5, "Total No. of Candidate(s) Answer Books handed","LR",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->cell(90,5, "returned to Examination Section","LRB",0,"L"); else $this->pdf->cell(90,5, "over to Chief - Superintendent","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Serial No. of Blank Answer Books ","LRT",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->cell(90,5, "returned to Examination Section ","LRB",0,"L"); else $this->pdf->cell(90,5, "returned to Chief-Superintendent ","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); } $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, $this->fregroll." of Candidate(s) Involved in ","LR",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Malpractice","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Sl.No. of Answer Booklets of M.P. Case(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Nature of M.P. Case(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); if($FUNIVCODE == '055') $this->pdf->Ln(1); else $this->pdf->Ln(16); if($FUNIVCODE == '021') { $this->pdf->Cell(50,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(70,7,"Signature of the Invigilator","0",0,"L"); $this->pdf->Cell(60,7,"Room Superintendent","0",1,"R"); $this->pdf->Ln(16); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->Cell(40,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(90,7,"Deputy Chief Superintendent","0",0,"L"); $this->pdf->Cell(60,7,"Chief Superintendent of Examination","0",1,"R"); }else { if($FUNIVCODE == '055') { $this->pdf->SetFont('Times','B',10); $this->pdf->Cell(0,7,"Certificate by the Invigilator ","0",1,"C"); $this->pdf->SetFont('Times','',10); $str = "Note: The invigilator shall not sign this certificate unless he/she has actually read to candidates the instructions given below before the commencement of examination: I have read the following instruction to candidates before the commencement of Examination: You should follow the instructions printed on the admission ticket and the first and second page of answer book. You should search your pockets, desk and benches and handover to me any paper, book or note, electronic devices (mobile phones, electronic watches and memory, laptop computers, personal stereo systems, walkie tallies sets, cameras, recording systems etc.,) which you may find therein before starting to answer the paper of examination."; $this->pdf->multicell(0,7,$str,"0","L"); $this->pdf->Ln(2); $this->pdf->SetFont('Times','B',12); } $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->Cell(90,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(90,7,"Signature of the Invigilator ","0",1,"R"); if($FUNIVCODE == '055') $this->pdf->Ln(8); else $this->pdf->Ln(16); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->Cell(90,7,"","0",0,"L"); else $this->pdf->Cell(90,7,"Date : _________ ","0",0,"L"); if($FUNIVCODE == '052') $this->pdf->Cell(90,7,"Signature of the DCS / CS","0",1,"R"); else if($FUNIVCODE == '055') $this->pdf->Cell(90,1,"Signature of Chief Superintendent/Deputy Chief Superintendent","0",1,"R"); else $this->pdf->Cell(90,7,"Signature of Chief Superintendent","0",1,"R"); } if($FUNIVCODE == '052') { $this->pdf->Ln(5); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->Cell(180,7,"Note : 1. Fill All the above details Accurately","0",1,"L"); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->Cell(180,7," 2. DCS / CS to affix the signature after verification while receiving the Answer booklets and Bundling.","0",1,"L"); } } if($_SESSION['fexamseparate'] == 'T') { $FEXAMDATE = "fexexamdate as FEXAMDATE"; }else { $FEXAMDATE = "FEXAMDATE as FEXAMDATE"; } if($_SESSION['fexamseparate'] == 'T') { $candsum = "examcandsum"; $canddet = "examcanddet"; }else { $candsum = "candsum"; $canddet = "canddet"; } if($FUNIVCODE !== '021'){ $get_qp_details = "select {$FEXAMDATE}, if('$FUNIVCODE' = '055',s.FSUBNAME,CONCAT(s.FSUBNAME,' ',s.FSSUBNAME)) AS FSSUBNAME, s.fsubshort,ucase(d.fexamname) as fexamname,s.fmcq from subject s inner join degree d on d. FDEGREE=s.FDEGREE and d.fexamno = s.fexamno inner join $canddet cd on cd.fdegree = s.fdegree and cd.fexamno = s.fexamno and cd.fsubcode = s.fsubcode and cd.fyear = d.FMEYEAR and cd.fexamtype = d.FMEEXAMTYP where s.FQPCODE='{$newqpcode}'"; }else{ $get_qp_details = "select distinct {$FEXAMDATE}, if('$FUNIVCODE' = '055',s.fsubname,concat(s.fsubname,' ',s.fssubname)) as FSSUBNAME, s.fsubshort,ucase(d.fexamname) as fexamname,s.fmcq from subject s inner join degree d on d. fdegree=s.fdegree and d.fexamno = s.fexamno left join $canddet cd on cd.fdegree = s.fdegree and cd.fexamno = s.fexamno and cd.fsubcode = s.fsubcode left join examcanddet cd1 on cd1.fdegree = s.fdegree and cd1.fexamno = s.fexamno and cd1.fsubcode = s.fsubcode and cd.fyear = d.fmeyear and cd.fexamtype = d.fmeexamtyp where s.fqpcode='{$newqpcode}';"; } // var_dump($get_qp_details);die(); $obj_get_qp_details=$this->aobj_context->mobj_db->GetRow($get_qp_details); $fmcq = $obj_get_qp_details['fmcq']; $add_version_column = ($fmcq == "T"); // var_dump($add_version_column);die(); $FSSUBNAME = $obj_get_qp_details['FSSUBNAME']; $fsubshort = $obj_get_qp_details['fsubshort']; $this->FEXAMDATE=$obj_get_qp_details['FEXAMDATE']; $this->fexamname=$obj_get_qp_details['fexamname']; if($this->funivcode == '049') $this->sub_details="Course : {$newqpcode} - {$FSSUBNAME} "; else if($this->funivcode == '052') $this->sub_details="QP Code : {$fsubshort} - {$FSSUBNAME} ( {$newqpcode} )"; else if($this->funivcode == '055') $this->sub_details="QP Code : ".substr($newqpcode,0,5)." - {$fsubshort} - {$FSSUBNAME}"; else $this->sub_details="QP Code : {$newqpcode} - {$FSSUBNAME} "; $this->newqpcode = $newqpcode; $subjecttmp = "subject"; $get_qp_data="SELECT distinct DATE_FORMAT(s.FDOE,'%d/%m/%Y') AS FDOE,s.FSESSION, r.fdescpn FROM {$subjecttmp} s left outer join reason r on s.fsession = r.freasoncd WHERE s.FQPCODE='{$newqpcode}' and ifnull(s.fdoe,'0000-00-00')<> '0000-00-00' order by s.fdoe desc"; // var_dump($get_qp_data);die(); $obj_get_qp_data=$this->aobj_context->mobj_db->GetRow($get_qp_data); $this->exam_date="Exam Date : {$obj_get_qp_data['FDOE']}, {$obj_get_qp_data['fdescpn']} "; $this->pdf->AddPage(); session_start(); $FUNIVCODE =$this->funivcode; //if($FUNIVCODE != '052') $this->logoheader($FUNIVCODE,'first'); $newhallno = $this->hall_no; if($newhallno != $oldhallno) { $this->pdf->SetFont('Times','B',11); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(55,8, "Name of the Invigilator","1",0,"L"); //$hv['rtname'] if($FUNIVCODE == '033') $this->pdf->cell(131,8, "","1",1,"L"); else if($FUNIVCODE == '051' || $FUNIVCODE == '040' || $FUNIVCODE == '052' || $FUNIVCODE == '021' || $FUNIVCODE == '055') $this->pdf->cell(142,8, "","1",1,"L"); else $this->pdf->cell(131,8, "","1",1,"L"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(55,8, "Designation","1",0,"L"); if($FUNIVCODE == '033') $this->pdf->cell(131,8, "Asst./Asso. Professor","1",1,"L"); else if($FUNIVCODE == '051' || $FUNIVCODE == '040' || $FUNIVCODE == '052' || $FUNIVCODE == '021' || $FUNIVCODE == '055') $this->pdf->cell(142,8, "","1",1,"L"); else $this->pdf->cell(131,8, "","1",1,"L"); if($FUNIVCODE == '040' || $FUNIVCODE == '021') { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(55,5, "Serial No. of OMR","LRT",0,"L"); $this->pdf->cell(40,5, "From","1",0,"C"); $this->pdf->cell(40,5, "To","1",0,"C"); $this->pdf->cell(62,5, "Total","1",1,"C"); $this->pdf->cell($empty_cell_width,7, "","0",0,"L"); $this->pdf->cell(55,7, "No. to Invigilator","LRB",0,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->cell(40,7, "","1",0,"C"); $this->pdf->cell(40,7, "","1",0,"C"); $this->pdf->cell(62,7, "","1",1,"C"); } if($FUNIVCODE != '052') { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(55,5, "Serial No. of Answer","LRT",0,"L"); $this->pdf->cell(40,5, "From","1",0,"C"); $this->pdf->cell(40,5, "To","1",0,"C"); if($FUNIVCODE == '051' || $FUNIVCODE == '040'|| $FUNIVCODE == '052' || $FUNIVCODE == '021' || $FUNIVCODE == '055') $this->pdf->cell(62,5, "Total","1",1,"C"); else $this->pdf->cell(51,5, "Total","1",1,"C"); $this->pdf->cell($empty_cell_width,7, "","0",0,"L"); $this->pdf->cell(55,7, "Books Issued to Invigilator","LRB",0,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->cell(40,7, "","1",0,"C"); $this->pdf->cell(40,7, "","1",0,"C"); if($FUNIVCODE == '051' || $FUNIVCODE == '040' || $FUNIVCODE == '052' || $FUNIVCODE == '021' || $FUNIVCODE == '055') $this->pdf->cell(62,7, "","1",1,"C"); else $this->pdf->cell(51,7, "","1",1,"C"); } $this->pdf->Ln(3); $oldhallno = $newhallno; } if($this->headeractive == true) { if($this->rtype == 'Without Photo') { $this->pdf->SetFont('Times','B',11); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050' ) $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '051') $this->pdf->cell(38,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055' || $FUNIVCODE == '056') $this->pdf->cell(38,7, "USN","1",0,"C"); else $this->pdf->cell(22,7, "Reg. No.","1",0,"C"); $this->pdf->cell(65,7, "Name","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050' || $FUNIVCODE == '051' || $FUNIVCODE == '052' || $FUNIVCODE == '056') $this->pdf->cell(32,7, "Ans. Book No.","1",0,"C"); else if($FUNIVCODE == '040' || $FUNIVCODE == '021') { if ($add_version_column) { $this->pdf->cell(14, 7, "Version", "1", 0, "C"); } $this->pdf->cell(25,7, "OMR No.","1",0,"C"); $this->pdf->cell(28,7, "Ans. Book No.","1",0,"L"); } else $this->pdf->cell(38,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(28,7, "Signature","1",1,"C"); }else { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '051') $this->pdf->cell(37,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055') $this->pdf->cell(37,7, "USN","1",0,"C"); else $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); $this->pdf->cell(70,7, "Name","1",0,"C"); $this->pdf->cell(20,7, "Photo","1",0,"C"); if($FUNIVCODE == '021'){ $this->pdf->cell(20,7, "OMR No.","1",0,"C"); } $this->pdf->cell(28,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(21,7, "Signature","1",1,"C"); $this->pdf->SetFont('Times','B',11); } } $oldqpcode = $newqpcode; $sl_no = 1; if($FUNIVCODE == '052') $cnt = 1; } $this->pdf->SetFont('Times','',9); if($FUNIVCODE == '052' || $FUNIVCODE == '021') { if($cnt > 20) //if($cnt > 30) { $this->hall_no=$this->hallname[$hallk]; $this->headeractive = true; $this->pdf->AddPage(); $this->logoheader($FUNIVCODE,'fisrt'); // $sl_no = $FUNIVCODE == '021'?21:1; if($FUNIVCODE != '021'){ $sl_no = 1; } $cnt = 1; if($this->rtype == 'Without Photo') { $this->pdf->SetFont('Times','B',11); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050') $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '051') $this->pdf->cell(38,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055' || $FUNIVCODE == '056') $this->pdf->cell(38,7, "USN","1",0,"C"); else $this->pdf->cell(22,7, "Reg. No.","1",0,"C"); $this->pdf->cell(65,7, "Name","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050' || $FUNIVCODE == '051' || $FUNIVCODE == '052' || $FUNIVCODE == '056') $this->pdf->cell(32,7, "Ans. Book No.","1",0,"C"); else if($FUNIVCODE == '040' || $FUNIVCODE == '021') { if ($add_version_column) { $this->pdf->cell(14, 7, "Version", "1", 0, "C"); } $this->pdf->cell(25,7, "OMR No.","1",0,"C"); $this->pdf->cell(28,7, "Ans. Book No.","1",0,"L"); } else $this->pdf->cell(38,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(28,7, "Signature","1",1,"C"); $this->pdf->SetFont('Times','B',11); }else { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '051') $this->pdf->cell(37,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055') $this->pdf->cell(37,7, "USN","1",0,"C"); else $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); $this->pdf->cell(70,7, "Name","1",0,"C"); $this->pdf->cell(20,7, "Photo","1",0,"C"); if($FUNIVCODE == '021'){ $this->pdf->cell(20,7, "OMR No.","1",0,"C"); } $this->pdf->cell(28,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(21,7, "Signature","1",1,"C"); $this->pdf->SetFont('Times','B',11); } } }else { //var_dump("Arun"); if($this->pdf->GetY() > 255) //if($cnt > 30) { $this->hall_no=$this->hallname[$hallk]; $this->headeractive = true; $this->pdf->AddPage(); $this->logoheader($FUNIVCODE,'fisrt'); $cnt = 0; if($this->rtype == 'Without Photo') { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050') $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '051') $this->pdf->cell(38,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055') $this->pdf->cell(38,7, "USN","1",0,"C"); else $this->pdf->cell(22,7, "Reg. No.","1",0,"C"); $this->pdf->cell(65,7, "Name","1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050' || $FUNIVCODE == '051' || $FUNIVCODE == '052') $this->pdf->cell(32,7, "Ans. Book No.","1",0,"C"); else if($FUNIVCODE == '040' || $FUNIVCODE == '021') { if ($add_version_column) { $this->pdf->cell(14, 7, "Version", "1", 0, "C"); } $this->pdf->cell(25,7, "OMR No.","1",0,"C"); $this->pdf->cell(28,7, "Ans. Book No.","1",0,"L"); } else $this->pdf->cell(38,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(28,7, "Signature","1",1,"C"); $this->pdf->SetFont('Times','',9); }else { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C"); if($FUNIVCODE == '051') $this->pdf->cell(37,7, "Reg. No.","1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055') $this->pdf->cell(37,7, "USN","1",0,"C"); else $this->pdf->cell(28,7, "Reg. No.","1",0,"C"); $this->pdf->cell(70,7, "Name","1",0,"C"); $this->pdf->cell(20,7, "Photo","1",0,"C"); $this->pdf->cell(28,7, "Ans. Book No.","1",0,"C"); $this->pdf->cell(23,7, "Signature","1",1,"C"); $this->pdf->SetFont('Times','',9); } } } if($this->rtype == 'Without Photo') { $this->pdf->SetFont('Times','',9); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, $sl_no,"1",0,"C"); if($FUNIVCODE == '049' || $FUNIVCODE == '050') $this->pdf->cell(28,7, $hv['FREGNO'],"1",0,"C"); else if($FUNIVCODE == '051') $this->pdf->cell(38,7, $hv['FREGNO'],"1",0,"C"); else if($FUNIVCODE == '052' || $FUNIVCODE == '055' || $FUNIVCODE == '056') $this->pdf->cell(38,7, $hv['FREGNO'],"1",0,"C"); else $this->pdf->cell(22,7, $hv['FREGNO'],"1",0,"C"); $this->pdf->cell(65,7, $hv['FNAME'],"1",0,"L"); if($FUNIVCODE == '049' || $FUNIVCODE == '050' || $FUNIVCODE == '051' || $FUNIVCODE == '052' || $FUNIVCODE == '056') $this->pdf->cell(32,7, "","1",0,"C"); else if($FUNIVCODE == '040' || $FUNIVCODE == '021') { if ($add_version_column) { $versions = ['A', 'B', 'C', 'D']; $version_index = ($sl_no - 1) % count($versions); $this->pdf->cell(14, 7, $versions[$version_index], "1", 0, "C"); } $this->pdf->cell(25,7, "","1",0,"L"); $this->pdf->cell(28,7, "","1",0,"C"); } else $this->pdf->cell(38,7, "","1",0,"C"); $this->pdf->cell(28,7, "","1",1,"C"); } else { $x = $this->pdf->GetX(); $y = $this->pdf->GetY(); // $url = "https://university-student-photos.s3.ap-south-1.amazonaws.com/".$FUNIVCODE."/".urlencode($hv['fphotopath']); // $full_photo_path = file_get_contents($url); // $abcd = getimagesize($full_photo_path); $curl3 = curl_init(); $photo_url = 'https://university-student-photos.s3.ap-south-1.amazonaws.com/'.$FUNIVCODE.'/'.urlencode($hv['fphotopath']); // var_dump($photo_url);die(); curl_setopt($curl3, CURLOPT_URL, $photo_url); curl_setopt($curl3, CURLOPT_NOBODY, true); $response_photo = curl_exec($curl3); $httpCode_photo = curl_getinfo($curl3 , CURLINFO_HTTP_CODE); // var_dump($httpCode_photo);die(); if($httpCode_photo == 200) //!file_exists($actualpath) { if($hv['fphotopath'] !='') { $keyname = $FUNIVCODE."/".$hv['fphotopath']; $s3 = S3Client::factory( array( 'credentials' => array( 'key' => IAM_KEY, 'secret' => IAM_SECRET ), 'version' => "latest", 'region' => 'ap-south-1' ) ); $filePath = tempnam(sys_get_temp_dir(), rand(10,15)); $result = $s3->getObject([ 'Bucket' => STUDENT_PHOTOS_BUCKET, 'Key' => $keyname, 'SaveAs' => $filePath ]); if(file_exists($filePath)) { if($FUNIVCODE == '051' || $FUNIVCODE == '052') $this->pdf->Image($filePath,128,$y+1,18,18); else $this->pdf->Image($filePath,119,$y+1,18,18); } } } $this->pdf->SetFont('Times','',9); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,20, $sl_no,"1",0,"C"); if($FUNIVCODE == '051' || $FUNIVCODE == '052' || $FUNIVCODE == '056') $this->pdf->cell(37,20, $hv['FREGNO'],"1",0,"C"); else $this->pdf->cell(28,20, $hv['FREGNO'],"1",0,"C"); $this->pdf->cell(70,20, $hv['FNAME'],"1",0,"L"); $this->pdf->cell(20,20,'',"1",0,"L"); if($FUNIVCODE == '021'){ $this->pdf->cell(20,20, "","1",0,"C"); } $this->pdf->cell(28,20, "","1",0,"C"); $this->pdf->cell(21,20, "","1",1,"C"); } $c++; $sl_no++; $t_s+=1; } $this->pdf->Ln(5); if($FUNIVCODE == '055') $slcndno = '150'; else $slcndno = '90'; if($this->pdf->GetY() > $slcndno) { if($FUNIVCODE == '052') { $this->pdf->Ln(10); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(0,7, "No. of Answer Booklets received: ","0",0,"L"); $this->pdf->cell(0,7, "Signature of the Receiver","0",1,"R"); } $this->headeractive = true; if($FUNIVCODE !== '040'){ $this->pdf->AddPage(); $this->logoheader($FUNIVCODE,'first'); } } $this->pdf->SetFont('Times','B',12); $this->pdf->Ln(3); if($FUNIVCODE !== '040'){ if($FUNIVCODE != '052' && $FUNIVCODE != '055') { $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Register No. of Candidate(s) who arrived late","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,5, "Register No. of Candidate(s) who left the ","LR",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "hall temporarily ","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); } $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, $this->fregroll." of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Total No. of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); if($FUNIVCODE == '052') { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,10, "Sl. No of Blank Answer Booklets of Absentee(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); }else { if($FUNIVCODE == '055') { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Total No. of Candidate(s) Answer Books","LR",0,"L"); }else { $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Total No. of Candidate(s) Present Answer Books","LR",0,"L"); } $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->cell(90,5, "returned to Examination Section","LRB",0,"L"); else $this->pdf->cell(90,5, "over to Chief - Superintendent","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Serial No. of Blank Answer Books","LRT",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->cell(90,5, "returned to Examination Section ","LRB",0,"L"); else $this->pdf->cell(90,5, "returned to Chief-Superintendent ","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); } $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, $this->fregroll." of Candidate(s) Involved in ","LR",0,"L"); $this->pdf->cell(91,5, "","LR",1,"C"); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->cell(90,5, "Malpractice","LRB",0,"L"); $this->pdf->cell(91,5, "","LRB",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Sl.No. of Answer Booklets of M.P. Case(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); $this->pdf->cell($empty_cell_width,10, "","0",0,"L"); $this->pdf->cell(90,10, "Nature of M.P. Case(s)","1",0,"L"); $this->pdf->cell(91,10, "","1",1,"C"); if($FUNIVCODE == '055') $this->pdf->Ln(1); else $this->pdf->Ln(16); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '021') { $this->pdf->Cell(50,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(70,7,"Signature of the Invigilator","0",0,"L"); $this->pdf->Cell(60,7,"Room Superintendent","0",1,"R"); $this->pdf->Ln(16); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->Cell(40,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(90,7,"Deputy Chief Superintendent","0",0,"L"); $this->pdf->Cell(60,7,"Chief Superintendent of Examination","0",1,"R"); }else { if($FUNIVCODE == '055') { $this->pdf->SetFont('Times','B',10); $this->pdf->Cell(0,7,"Certificate by the Invigilator ","0",1,"C"); $this->pdf->SetFont('Times','',10); $str = "Note: The invigilator shall not sign this certificate unless he/she has actually read to candidates the instructions given below before the commencement of examination: I have read the following instruction to candidates before the commencement of Examination: You should follow the instructions printed on the admission ticket and the first and second page of answer book. You should search your pockets, desk and benches and handover to me any paper, book or note, electronic devices (mobile phones, electronic watches and memory, laptop computers, personal stereo systems, walkie tallies sets, cameras, recording systems etc.,) which you may find therein before starting to answer the paper of examination."; $this->pdf->multicell(0,7,$str,"0","L"); $this->pdf->Ln(2); $this->pdf->SetFont('Times','B',12); } $this->pdf->Cell(90,7,"Date : _________ ","0",0,"L"); $this->pdf->Cell(90,7,"Signature of the Invigilator ","0",1,"R"); if($FUNIVCODE == '055') $this->pdf->Ln(8); else $this->pdf->Ln(16); //$this->pdf->Ln(10); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); if($FUNIVCODE == '055') $this->pdf->Cell(90,7,"","0",0,"L"); else $this->pdf->Cell(90,7,"Date : _________ ","0",0,"L"); if($FUNIVCODE == '052') $this->pdf->Cell(90,7,"Signature of the DCS / CS","0",1,"R"); else if($FUNIVCODE == '055') $this->pdf->Cell(90,1,"Signature of Chief Superintendent/Deputy Chief Superintendent","0",1,"R"); else $this->pdf->Cell(90,7,"Signature of Chief Superintendent ","0",1,"R"); } }else{ $this->pdf->ln(12); // $this->pdf->Cell(10,5,"","0",0,"L"); // $this->pdf->Cell(90,5," Date : _________ ","0",0,"L"); $this->pdf->Cell(90,5," Signature of the Invigilator ","0",0,"L"); // $this->pdf->Cell(90,5,"Date : _________ ","0",0,"L"); $this->pdf->Cell(90,5,"Signature of Chief Superintendent ","0",1,"R"); } if($FUNIVCODE == '052') { $this->pdf->Ln(5); $this->pdf->cell($empty_cell_width,5, "","0",0,"L"); $this->pdf->Cell(180,7,"Note : 1. Fill All the above details Accurately","0",1,"L"); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->Cell(180,7," 2. DCS / CS to affix the signature after verification while receiving the Answer booklets and Bundling.","0",1,"L"); } } } } function SendOutput() { $this->pdf->Output("Invigilators Dairy.pdf","I"); } } function invigilatorDairy($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $class_obj=new ra_invigilators_dairy(); // $class_obj->AliasNbPages(); $class_obj->DefaultConstructor($aobj_context); $class_obj->GetFullQry(); $class_obj->formcolldata(); $class_obj->formData(); // $class_obj->formData("College Copy"); $class_obj->SendOutput(); } ?>
Close