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/admin_main/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_main/editName.php
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

<?php
include('headMain.php');
$dbC = db_con_forms_connect();
?>
<!--<div style="background-color: #000066">-->
            <div class="col-md-12">
            <div class="col-md-6 col-lg-offset-3" style="background-color: reda">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title fa-key">Edit Name </h3>
                    </div>
                    <div><?php
                    if (isset($_GET['ID'])){
                        $email=$_GET['ID'];
                        $aspoa="select * from forms where email='$email'";
                        $aspoa_exe=$dbC->query($aspoa);
                        $aspoa_exe->rowCount();
                        $aspoa_fetch=$aspoa_exe->fetch(PDO::FETCH_BOTH);

                    }
                        if (isset($_GET['status'])){
                            $status=$_GET['status'];
                            if ($status=='1'){
                                $msg="Name Updated Successfully";
                            }else{
                                $msg="Name Update Failed";
                            }
                        }
                        ?></div>
                    <div class="panel-body">
                        <form role="form" action="editName_process.php" method="post">
                            <fieldset>
                                <div class="form-group">
                                   E-Mail: <input class="form-control"  name="email" type="text"  autofocus value="<?php echo $aspoa_fetch['email'] ;?>">
                                </div>
                                <div class="form-group">
                                    Surname: <input class="form-control"  name="surname" type="text"  autofocus value="<?php echo $aspoa_fetch['surname'] ;?>">
                                </div>
                                <div class="form-group">
                                    First Name: <input class="form-control"  name="firstname" type="text"  autofocus value="<?php echo $aspoa_fetch['firstname'] ;?>">
                                </div>
                                <div class="form-group">
                                    Other Name: <input class="form-control"  name="othername" type="text"  autofocus value="<?php echo $aspoa_fetch['othername'] ;?>">
                                </div>
                                <div class="form-group">
                                    Application ID:<input class="form-control"  name="applicantid" type="text"  autofocus value="<?php echo $aspoa_fetch['applicant_id'] ;?>" disabled>
                                </div>


                                <!-- Change this to a button or input when using this as a form -->
                               <!-- <a href="index.html" class="btn btn-lg btn-success btn-block">Login</a>-->
                                <input type="submit" class="btn btn-default" value="UPDATE">
                                                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
                </div>
<!--</div>-->

            <div id="myModal" class="modal fade" >



    <!-- jQuery -->
    <script src="../bower_components/jquery/dist/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="../bower_components/metisMenu/dist/metisMenu.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="../dist/js/sb-admin-2.js"></script>
            </div>

Youez - 2016 - github.com/yon3zu
LinuXploit