403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.71.120.136
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_student/remitaschoolfeeSummerSpecial.php
<?php
ob_start();
include('headMain.php');
$remark='Normal';

//header('location:'.'closedSemester.php');
//die();
   // if(!isset($_SESSION['matNo'])){
    //    header('location:login.php');
   // }
    ?>
    <div id="wrapper">
    <script type="text/javascript" language="javascript" src="../js/jquery-1.7.1.js"></script>

    <script type="text/javascript" language="javascript" >

        $(function(){
            $("#olevel").change(function(){
                ($("#olevel").val());
                $.post("../js/getolevel.php",{olevel:$("#olevel").val()},function(data){
                    $("#amt").val(data);
                });
            });


            $("#paymentModeSummer").change(function(){
               ($("#paymentModeSummer").val());
                $.post("../js/getPartPaymentSummer.php",{paymentModeSummer:$("#paymentModeSummer").val()},function(data){
                    //	alert (data);
                    $("#amt").val(data);
                    $("#paymentModeSummera").val(data);
                });
            });


        });



    </script>



    <table width="100%" align="center" cellpadding="3" cellspacing="5">
        <tr>
            <td><fieldset>

                    <form id="form1" name="form1" method="post" action="processpaymentSummer.php" role="form">


                                <fieldset>
                                    <legend>
                                        <div class="row">
                                            <div class="col-lg-2"></div>
                                            <div class="col-lg-8">
                                                <div class="panel panel-default">
                                                    <div class="panel-heading">
                                                        School Fees Payment (<?php echo $_SESSION['matNo'] ;?>)
                                                    </div>
                                                    <div class="panel-body">

                                                        <div class="row">
                                                            <div class="col-lg-12">
                                                                <form role="form">

                                                                <table width="100%" cellspacing="5" cellpadding="3">
                            <?php
                            require_once('../connect.php');
                            $_SESSION['ptype']='School Fees';
                            $matno= $_SESSION['matNo'];
                            $levelID=$_SESSION['levelID'];
                            $course= $_SESSION['course'];
                            $_SESSION['deptID']=0;
                            $res=$db->query("select * from dept where dOption='$course'");
                            $res_fetch=$res->fetch(PDO::FETCH_BOTH);
                            $n=$res->rowCount();
                            if ($n>0){
                                $deptID=$_SESSION['deptID']=$res_fetch['sn'];
                            }
                            $sql_current=$db->query("select * from current");
                            $sql_current_fetch=$sql_current->fetch(PDO::FETCH_BOTH);
                            $num_current=$sql_current->rowCount();
                            if ($num_current>0){
                                $semester=$_SESSION['asemester']=$sql_current_fetch['asemester'];
                                $asession=$_SESSION['asession']=$sql_current_fetch['asession'];
                            }
                            //End

                            $query=$db->query("select * from remitaorder where `regNo`='$matno' and paymentType='Summer School Fees' and transApproved='True' and pay_session='$asession' and status<>'Re-fund'");
                           $q_num=$query->rowCount();
                            if ($q_num==3){
                                echo "Payment Has Been Made, Proceed to Registration";
                            }else{

                                $checkAmount="select * from schoolfee where dept='$deptID' and level='$levelID' and status='$remark'" ;
                                $resultAmount=$db->query($checkAmount);
                                $resultAmount_fetch=$resultAmount->fetch(PDO::FETCH_BOTH);
                                $numAmount=$resultAmount->rowCount();
                                if ($numAmount>0){
                                    //echo $remark;
                                    $amount=$_SESSION['amount']= 0;//+5000;
                                    $_SESSION['amount1']=0;
                                    ?>
                                    <tr>
                                        <td><h3 style="color: red">Note: Students participating in Summer programme are advised to confirm their eligibility with their HODs before making payment.</h3></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><b><h3> Amount Expected:<input type="text" id="paymentModeSummera" disabled="disabled" style="border: none; color: red"><div id="paymentModeSummera"></div></h3></b></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3"><table width="100%" align="center">
                                                <tbody>
                                                <tr>
                                                    <td width="60%">Payer Name:</td>
                                                    <td><input name="payerName" type="text" value="<?php echo $_SESSION['names'];?>" size="45" readonly="readonly"  id="txtRound"class="form-control"/></td>
                                                </tr>
                                                <tr>
                                                    <td width="200">Payer Email: <font color="red">*</font></td>
                                                    <td><input name="payerEmail" required="required" value="" type="email" id="txtRound" class="form-control" /></td>
                                                </tr>

                                                <tr>
                                                    <td width="200">Payer Phone: <font color="red">*</font></td>
                                                    <td><input name="payerPhone" required="required" value="" type="text" id="txtRound" class="form-control" /></td>
                                                </tr>
                                                <?php
                                             //   $r=$db->query("select * from realdata where matNo='$matno' and levelID in ('8','9')");
                                               // $dptCheck=$r->rowCount();
                                              //  if ($dptCheck>0){
                                                    ?><!--<tr >
                                                        <td>Payment Mode</td>
                                                        <td><label for="paymentMode"></label>
                                                            <select name="paymentMode" id="paymentMode" class="form-control">
                                                                <option value="0">Full Payment</option>
                                                                <option value="1">Part Payment</option>
                                                            </select></td>
                                                    </tr>
                                                    <tr id='trow'>

                                                    </tr>-->


                                                    <tr>
                                                        <td>Select Number of Course(s) <font color="red">*</font></td>
                                                        <td><label for="paymentMode"></label>
                                                            <select name="paymentModeSummer" id="paymentModeSummer" class="form-control">
                                                                <option value="25500">Only One Course with Accommodation</option>
                                                                <option value="20500">Only One Course</option>
                                                                <option value="27500">Two (2) Courses in One Semester with Accommodation</option>
                                                                <option value="22500">Two (2) Courses in One Semester </option>
                                                                <option value="28750">Two (2) Courses in Two Semester with Accommodation</option>
                                                                <option value="23750">Two (2) Courses in Two Semester</option>
                                                                <option value="29500">Three (3) Courses in One Semester with Accommodation</option>
                                                                <option value="24500">Three (3) Courses in One Semester</option>
                                                                <option value="30750">Three (3) Courses in Two Semester with Accommodation</option>
                                                                <option value="25750">Three (3) Courses in Two Semester</option>
                                                                <option value="32750">Four (4) Courses in Two Semester with Accommodation</option>
                                                                <option value="27750">Four (4) Courses in Two Semester</option>
                                                                <option value="34750">Five (5) Courses in Two Semester with Accommodation</option>
                                                                <option value="29750">Five (5) Courses in Two Semester</option>
                                                                <option value="36750">Six (6) Courses in Two Semester with Accommodation</option>
                                                                <option value="31750">Six (6) Courses in Two Semester</option>
                                                            </select></td>
                                                    </tr>


                                                <tr>
                                                    <td width="200">
                                                        Total Amount:  </td>
                                                    <td id="amt1"><input name="amt" type="text" required="required"  value="<?php echo $amount;?>" id="amt" class="form-control" /></td>
                                                </tr>
                                                <tr>
                                                    <td width="200">Payment Type:</td>
                                                    <td><select title="Credit Card Type" name="paymenttype" id="paymenttype" autocomplete="off"  class="form-control" required="required">
                                                            <option>-- Select Payment Type --</option>
                                                            <option value="VERVE"> Verve Card</option>
                                                            <option value="VISA"> Visa</option>
                                                            <option value="MASTERCARD"> MasterCard</option>
                                                            <option value="POCKETMONI"> PocketMoni</option>
                                                            <option value="POS"> POS</option>
                                                            <option value="ATM"> ATM</option>
                                                            <option value="BANK_BRANCH">BANK BRANCH</option>
                                                            <option value="BANK_INTERNET">BANK INTERNET</option>
                                                            <option value="REMITA_PAY"> Remita Account Transfer</option>
                                                        </select></td>
                                                </tr>
                                                <tr>
                                                    <td><p></p></td>
                                                    </tr>
                                                <tr>
                                                    <td colspan="2" align="center"><p><input type ="submit" name="input" value="Pay" id="button"  class="btn btn-primary form-control"/>  <table width="50%" cellspacing="5" cellpadding="3">

                                                        </table>
                                                            <img src="../images/remitaLogo.jpg" alt="" width="418" height="90" />
                                                        <p><?php echo' <br /><a href="paymentHistory.php"> Click to check Payment History</a>';?></td>
                                                </tr>
                                                </tbody>
                                            </table></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">&nbsp;</td>
                                    </tr>
                                <?php }else {
                                    ?>
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td>&nbsp;</td>
                                        <td><b>
                                                <h3 style="color: blue"> Amount Expected: 0</h3></b></td>
                                    </tr>

                                <?php
                                }
                            }
                            ?>
                        </table>
                    </form>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </legend>
                                    </fieldset>
                        </form>
                    </fieldset>
                </td>
            </tr>
        </table>

    <?php
include('footMain.php');
ob_end_flush();
    ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit