BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
home
/
vssraipur
/
public_html
📤 Upload
📝 New File
📁 New Folder
Close
Editing: fpp.php
<?php include('header.php'); include('dbconfig.php'); require_once('PHPMailer/PHPMailerAutoload.php'); if(isset($_POST["submit"])){ // echo "<pre>"; print_r($_POST); die(); $insert = mysqli_query($conn,"INSERT INTO fpp (`name`,`email`,`phone`,`message`) VALUES ('".$_POST["full_name"]."','".$_POST["email_id"]."','".$_POST["mobile_no"]."','".$_POST["message"]."')"); //header("Location: http://vssraipur.com/success.php"); $mail_text = '<table style="border-collapse:collapse;margin:0 auto;max-width:600px;padding:0;width:100%;border: 1px solid #ddd;"> <thead> <tr> <th style="border-collapse:collapse;padding:10px; text-align: center;"> '; $mail_text .= '<img src="http://vssraipur.com/wp-content/themes/vss/images/logo.png" alt="" style="display:table; margin: auto; max-width: 190px;" class="CToWUd">'; $mail_text .= '</th> </tr> </thead> <tbody> <tr> <td style="border-bottom:1px solid #e9e9e9;border-collapse:collapse;border-top:1px solid #e9e9e9;padding:8%;width:100%;" bgcolor="#f7f7f7"> <table style="border-collapse:collapse;padding:0;text-align:left;width:100%;"> <tbody> <tr > <td style="border-collapse:collapse;padding:0;" colspan="12"> <p style="color:#3c3c3c;font-size:18px;margin:0 0 10px;">Thanks for showing interest in the FPP program. Your name has been registered for the Information Webinar on August 7, 2021 at 10 a.m. The link for the same would be mailed shortly. <br> Regards Team VSS</p> </td> </tr> </tbody> </table> </td> </tr> <tr> <td style="border-collapse:collapse;color:#ffffff;padding:0;width:100%;"> <table style="border-collapse:collapse;padding:0;width:100%;" bgcolor="#ffffff"> <tbody> <tr> <td style="border-collapse:collapse;padding:10px; text-align: center;"> <img src="https://disdwarka.skoolroom.in/uploads/disdwarka/images/skoolroom.png" alt="" style="display:table; margin: auto; max-width: 190px;" class="CToWUd"> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table>'; $mailto = $_POST["email_id"]; include "PHPMailer/class.phpmailer.php"; $host = 'mail.skoolroom.in'; $port = 465; $to = 'venkateshwarsignatureschool@gmail.com'; //$to = $mailto; $toname = $mailto; $username = "fpp@vssraipur.com"; $from = "fpp@vssraipur.com"; $fromname= 'VSS Recruitments'; $reply = "fpp@vssraipur.com"; $replyname = "fpp@vssraipur.com"; $password = "VSSFPP@12345!"; $subject = 'Thank you for registration'; $mail = new PHPMailer; $mail->isSMTP(); $mail->SMTPAuth = true; $mail->Host = $host; $mail->Username = $username; $mail->Password = $password; $mail->SMTPSecure = 'ssl'; $mail->Port = $port; $mail->IsHTML(true); $mail->setFrom($reply, $fromname); $mail->addReplyTo($reply, $replyname); $mail->addAddress($to, $toname); $mail->Subject = $subject; $mail->Body = $mail_text; if($mail->Send()){ // echo 'done'; }else{ // echo 'error'; } ?> <script type="text/javascript"> window.location = "http://vssraipur.com/success"; </script> <?php } ?> <div class="page-title parallax parallax1" style="background-image: url('images/skyline-Auckland-New-Zealand-Westhaven-Marina.jpg');"> <div class="overlay"></div> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="page-title-heading"> <h1 class="title">FPPP</h1> <div class="breadcrumbs"> <ul> <li><a href="#">Venkateshwar Signature School</a></li> <li>FPPP</li> </ul> </div> </div> </div> </div> </div> </div> <section class="flat-row pad-bottom90px section-fpp"> <div class="container "> <div class="row"> <div class="col-xs-12 text-center mb-20"> <h2>STUDY IN NEW ZEALAND - THE FPP PROGRAM</h2> </div> <div class="col-xs-12"> <p>The Venkateshwar Signature School, Raipur in partnership with UP Education and iQuery offers Foundation Preparatory Pathway Programme (FPPP) to the aspiring students looking for studying in world's top-rated universities situated in New Zealand. </p> <h6>The program is a pathway to three of the best Government Universities in New Zealand</h6> </div> <div class="col-md-4 text-center"> <img src="images/logo_one.png" alt=""> <p>University of Auckland <br>(# 85 - QS World Ranking)</p> </div> <div class="col-md-4 text-center"> <img src="images/logo_two.png" alt=""> <p>Victoria University of Wellington <br>(# 233 - QS World Ranking)</p> </div> <div class="col-md-4 text-center"> <img src="images/logo_three.png" alt=""> <p>AUT University <br>(# 437 - World Ranking)</p> </div> <div class="col-xs-12 text-center"> <h4 class="text-uppercase">WHY CHOOSE THE FOUNDATION Preparatory PATHWAY PROGRAMME?</h4> </div> <div class="col-xs-12 mb-20"> <p>The Foundation Preparation Pathway Programme (FPPP) is designed to guide and prepare students for the Foundation Pathway Programme in New Zealand, for which a qualifying exam is required to be taken.</p> <p>The 17-week training is provided in Mathematics, Science, Business, Ancient History, English for IELTS and General Study Skills.</p> <p>The students who qualify the Exam for Foundation Preparatory Programme are offered assured seats in one of the three universities (University of Auckland, Victoria University of Wellington, AUT University) along with the possibility of scholarships for meritorious students. </p> </div> <div class="mb-20 col-xs-12"> <h3 class="text-center mb-20">WHO CAN APPLY?</h3> <p>The opportunity is open for the students studying in classes X, XI and XII. Interested students must meet the following entry requirements:</p> <ul> <li>Student should be aged 16 or above</li> <li>Successfully completed year 10 in India with at least 80% in key subjects</li> <li style="list-style-type: none;font-weight: bold;">OR</li> <li style="list-style-type: none;">Completed the equivalence of IGCSE with 2 x B and 2 x C passes</li> <li>Have English proficiency equivalent to IELTS 5.0</li> </ul> </div> <div class="row x4_column"> <div class="col-xs-12"> <h4 style="margin-bottom: 10px;">Download Prospectus and Brochure</h4> </div> <div class="col-sm-3"> <a href="/pdf/Foundation_Preparation_Pathway_Brochure_and_Application.pdf" target="_blank"> <p>Foundation Preparation Pathway Brochure and Application</p> </a> </div> <div class="col-sm-3"> <a href="pdf/AUT_University_Prospectus.pdf" target="_blank"> <p>AUT University Prospectus</p> </a> </div> <div class="col-sm-3"> <a href="pdf/University_of_Auckland_Prospectus.pdf" target="_blank"> <p>University of Auckland Prospectus</p> </a> </div> <div class="col-sm-3"> <a href="pdf/Victoria_University_Prospectus.pdf" target="_blank"> <p>Victoria University Prospectus</p> </a> </div> </div> </div> </div> <div class="container-fluid" style="padding: 50px;background-color: #212e66;margin: 40px 0;"> <div class="clearfix mb-20"> <h4 style="margin: 10px 0 20px;color: white;text-align: center;">Presentation: Study in Top Universities of New Zealand - The FPP Program</h4> <iframe jsname="L5Fo6c" jscontroller="usmiIb" jsaction="rcuQ6b:WYd;" class="YMEQtf L6cTce-purZT L6cTce-pSzOP KfXz0b" sandbox="allow-scripts allow-popups allow-forms allow-same-origin allow-popups-to-escape-sandbox allow-downloads" frameborder="0" aria-label="Presentation, FPP_Programme_UP_NZ_21_June_2021 Dolphin" allowfullscreen="" src="https://docs.google.com/presentation/d/1-fJy-Jjae-z1Nf2-kzg0U0WFD0_EdiEfDUyJKP_pBxg/embed" width="850" height="500"></iframe> </div> </div> <div class="container"> <div class="row"> <div class="col-xs-12"> <form id="form_Study_newzealand" method="post" enctype="multipart/form-data" autocomplete="off" class="clearfix"> <div class="col-xs-12 mb-20"> <h3>Study in New Zealand - Contact Us Form</h3> </div> <div class="col-xs-12 form-group"> <label for="">Full Name</label> <input type="text" class="form-control" value="" id="full_name" name="full_name" required=""> </div> <div class="col-xs-12 form-group"> <label for="">Mobile No</label> <input type="number" class="form-control" value="" id="mobile_no" name="mobile_no" required=""> </div> <div class="col-xs-12 form-group"> <label for="">Email ID</label> <input type="text" class="form-control" value="" id="email_id" name="email_id" required=""> </div> <div class="col-xs-12 form-group"> <label for="">Your Message</label> <textarea name="message" id="message" cols="30" rows="10" required=""></textarea> </div> <div class="col-xs-12"> <input type="submit" name="submit" value="submit" id="submit" class="btn btn-primary"> </div> </form> </div> </div> </div> </section> <style> iframe { margin: auto; } #form_Study_newzealand input { text-align: left; } .section-fpp .container { max-width: 940px; } .section-fpp img { margin: 28px 0 10px; } .section-fpp p { margin-bottom: 20px; } .section-fpp ul li { list-style-type: circle; list-style-position: inside; } .section-fpp ol li { list-style-type: decimal; list-style-position: inside; } h4 { margin-bottom: 30px; } .mb-20 { margin-bottom: 20px; } .form-control, textarea { margin-bottom: 0; } #form_Study_newzealand { border: 8px double #f5f5f5; padding: 20px; margin: 20px 0 0; } input#submit { text-align: center; padding: 0; } .page-title .overlay { opacity: .8; } .x4_column .col-sm-3 { padding: 15px; } .x4_column a p { margin: 0; width: 100%; } .x4_column a { border: 7px double #de292d26; display: block; padding: 5px; text-align: center; font-weight: 600; color: #de292d; min-height: 140px; display: flex; align-items: center; } .x4_column a:hover { border: 7px double #de292d; } </style> <?php include('footer.php'); ?>
Save
Cancel