Server IP : 50.63.8.133  /  Your IP : 18.216.207.192
Web Server : Microsoft-IIS/10.0
System : Windows NT P3NWVPWEB032 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : IWPD_10999(xformtec) ( 0)
PHP Version : 5.4.45
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  G:/PleskVhosts/xform.in/madhurivivah.com/admin/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : G:/PleskVhosts/xform.in/madhurivivah.com/admin/edit-profile.php
<?php

include('include/config.php');
session_start();





?>


<?php
if (isset($_GET['editid'])) {
    $editid = $_GET['editid'];
    $sql1 = "SELECT * FROM member_profile WHERE id LIKE '%$editid%'";
    $res1 = mysqli_query($con, $sql1);
    $row1 = mysqli_fetch_array($res1);
}


?>












<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Twitter -->
    <meta name="twitter:site" content="">
    <meta name="twitter:creator" content="">
    <meta name="twitter:card" content="s">
    <meta name="twitter:title" content="">
    <meta name="twitter:description" content="">
    <meta name="twitter:image" content="">

    <!-- Facebook -->
    <meta property="og:url" content="">
    <meta property="og:title" content="Bracket">
    <meta property="og:description" content="">

    <meta property="og:image" content="">
    <meta property="og:image:secure_url" content="">
    <meta property="og:image:type" content="image/png">
    <meta property="og:image:width" content="1200">
    <meta property="og:image:height" content="600">

    <!-- Meta -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>madhuri vivah | View profile</title>

    <!-- vendor css -->
    <link href="lib/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="lib/Ionicons/css/ionicons.css" rel="stylesheet">
    <link href="lib/perfect-scrollbar/css/perfect-scrollbar.css" rel="stylesheet">
    <link href="lib/jquery-switchbutton/jquery.switchButton.css" rel="stylesheet">

    <!-- Bracket CSS -->
    <link rel="stylesheet" href="css/bracket.css">
</head>

<body>


    <!-- ########## START: LEFT PANEL ########## -->
    <?php include_once('sidebar.php'); ?>
    <!-- br-sideleft -->
    <!-- ########## END: LEFT PANEL ########## -->

    <!-- ########## START: HEAD PANEL ########## -->
    <?php //include_once('include/header1.php'); 
    ?>
    <!-- br-header -->
    <!-- ########## END: HEAD PANEL ########## -->

    <!-- ########## START: RIGHT PANEL ########## -->
    <?php include_once('right-pannel-sidebar.php'); ?>
    <!-- br-sideright -->
    <!-- ########## END: RIGHT PANEL ########## --->

    <!-- ########## START: MAIN PANEL ########## -->



    <div class="br-mainpanel br-profile-page" id="toprint">






















        <div class="card shadow-base bd-0 rounded-0 widget-4">
            <div class="card-header ht-75">
                <div class="hidden-xs-down">


                </div>
                <div class="tx-24 hidden-xs-down">
                    <a href="" class="mg-r-10"><i class="icon ion-ios-email-outline"></i></a>
                    <a href=""><i class="icon ion-more"></i></a>
                </div>
            </div><!-- card-header -->
            <div class="card-body">
                <p> <?php echo htmlentities($ermsg1); ?></p>
                <div class="img">

                    <?php
                    if (isset($_POST['update6'])) {


                        $imgfile = $_FILES["profile_photo"]["name"];

                         $extension = substr($imgfile, strlen($imgfile) - 4, strlen($imgfile));
        // allowed extensions
        $allowed_extensions = array(".jpg", "jpeg", ".png", ".gif");
        // Validation for allowed extensions .in_array() function searches an array for a specific value.
        if (!in_array($extension, $allowed_extensions)) {
            echo "<script>alert('Invalid format. Only jpg / jpeg/ png /gif format allowed');</script>";
        } else {
            //rename the image file
            $imgnewfile = md5($imgfile) . $extension;

                        move_uploaded_file($_FILES["profile_photo"]["tmp_name"], "img/profile-photos/" . $imgfile);


                        $id = intval($_GET['editid']);
                        //$sql1 = "UPDATE member_profile SET profile_photo='$imgfile' WHERE id='$id'";
                        $sql2 = mysqli_query($con, "Update  member_profile set profile_photo='$imgfile' where id='$id'");


                        if ($sql2) {

                            //echo "Records inserted successfully.";
                            {
                                echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                           
                  </script>";
                            }
                        } else {


                            $ermsg1 = "Please Try Agin";
                        }


                        //if ($query) {
                        //$msg = " Your Personal Information  updated ";
                        // } else {
                        //$error = "Something went wrong . Please try again.";
                        // }

                    }

}

                    ?>

                    <?php

                    if ($row1['profile_photo']) {
                    ?>
                        <img src="img/profile-photos/<?php echo htmlentities($row1['profile_photo']); ?>" alt="" style="height: 300px ; width:250px;">
                    <?php
                    } else {
                    ?>
                        <img src="img/image-not-available.png" alt="" style="height: 300px ; width:250px;">
                    <?php
                    }

                    ?>






                </div>
                <form name="update_profile_picture" action="" method="post" enctype='multipart/form-data'>
                    <input type="file" name="profile_photo" placeholder="Update Your Profile Picture">
                    <button class="btn btn-success" name="update6" type="submit"><b>Update Profile Picture</b></button>
                </form>
                <!-- card-profile-img --><br>
                <h4 class="tx-normal tx-roboto tx-white"><?php echo htmlentities($row1['member_profile_id']); ?></h4>



                <a href="all-profile.php"> <button class="btn btn-warning pd-x-30 pd-y-15 tx-uppercase tx-bold tx-spacing-6 tx-12">back</button></a>


            </div><!-- card-body -->
        </div><!-- card -->

        <div class="ht-70 bg-gray-100 pd-x-20 d-flex align-items-center justify-content-center shadow-base">
            <ul class="nav nav-outline active-info align-items-center flex-row" role="tablist">
                <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#posts" role="tab">Posts</a></li>

            </ul>
        </div>


















        <div class="tab-content br-profile-body">
            <div class="tab-pane fade active show" id="posts">
                <div class="row">
                    <div class="col-lg-12">

                        <p> <?php echo htmlentities($ermsg1); ?></p>



                        <?php
                        if (isset($_POST['update'])) {
                            $first_name = $_POST['first_name'];

                            $last_name = $_POST['last_name'];
                            $date_of_birth = $_POST['date_of_birth'];
                            $age = $_POST['age'];
                            $gender = $_POST['gender'];
                            $hieght = $_POST['hieght'];
                            $blood_group = $_POST['blood_group'];
                            $skin_type = $_POST['skin_type'];
                            $weight = $_POST['weight'];
                            $body_look = $_POST['body_look'];
                            $lence = $_POST['lence'];
                            $cast = $_POST['cast'];
                             $sub_cast = $_POST['sub_cast'];
                            $religion = $_POST['religion'];
                            $married_status = $_POST['married_status'];
                            $mobile_number = $_POST['mobile_number'];







                            $id = intval($_GET['editid']);
                            //$sql1 = "UPDATE member_profile SET profile_photo='$imgfile' WHERE id='$id'";
                            $sql3 = mysqli_query($con, "Update  member_profile set first_name='$first_name',gender='$gender',cast='$cast',sub_cast='$sub_cast',religion='$religion',married_status='$married_status',mobile_number='$mobile_number',last_name='$last_name',date_of_birth='$date_of_birth',age='$age',hieght='$hieght',blood_group='$blood_group',skin_type='$skin_type',weight='$weight',body_look='$body_look',lence='$lence' where id='$id'");


                            //$sql1 = "UPDATE member_profile SET first_name='$first_name',middle_name='$middle_name',cast='$cast',religion='$religion',married_status='$married_status',mobile_number='$mobile_number',last_name='$last_name',date_of_birth='$date_of_birth',age='$age',hieght='$hieght',blood_group='$blood_group',skin_type='$skin_type',weight='$weight',body_look='$body_look',lence='$lence' WHERE member_profile_id='" . $_SESSION['member_profile_id'] . "'";


                            if ($sql3) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                           
                  </script>";
                                }
                            } else {


                                $ermsg2 = "Either Email ID or Password is Incorrect..!";
                            }


                            //if ($query) {
                            //$msg = " Your Personal Information  updated ";
                            // } else {
                            //$error = "Something went wrong . Please try again.";
                            // }

                        }



                        ?>


                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>


                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary ">Personial Information</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">

                                            <table class="table table-bordered">
                                                <tbody>

                                                    <tr>

                                                        <td>GROOM / BRIDE FULL NAME :-

                                                        </td>

                                                        <td>

                                                            <input class="form-control" type="text" name="first_name" Value="<?php echo htmlentities($row1['first_name']); ?>" title="Enter First Name">
                                                            <input class="form-control" type="text" name="last_name" Value="<?php echo htmlentities($row1['last_name']); ?>">

                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>GENDER :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['gender']); ?>
                                                    
                                                        <select name="gender" class="form-control" >
                                                <option value="">SELECT</option>
                                                <option value="Male">Male</option>
                                                <option value="Female">Female</option>

                                            </select>
                                                    
                                                    
                                                    </td>


                                                    </tr>
                                                    <tr>

                                                        <td>MARRITAL STATUS :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['married_status']); ?>


                                                            <select name="married_status" class="btn btn-warning form-control" value="<?php echo htmlentities($row['married_status']); ?>">
                                                                <option value="">SELECT Marital Status</option>
                                                                <?php
                                                                // Feching active categories
                                                                $ret = mysqli_query($con, "select id,marrital_status_name from marrital_status where status=1");
                                                                while ($result = mysqli_fetch_array($ret)) {
                                                                ?>

                                                                    <option value="<?php echo htmlentities($result['marrital_status_name']); ?>"><?php echo htmlentities($result['marrital_status_name']); ?></option>


                                                                <?php } ?>

                                                            </select>
                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>MOBILE NUMBER :-

                                                        </td>

                                                        <td>
                                                            <input class="form-control" type="text" name="mobile_number" Value="<?php echo htmlentities($row1['mobile_number']); ?>">

                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>EMAIL ID :-

                                                        </td>

                                                        <td>

                                                            <input class="form-control" type="text" name="email" Value="<?php echo htmlentities($row1['email']); ?>">

                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>DATE OF BIRTH :-

                                                        </td>

                                                        <td>
                                                            <input class="form-control" type="text" name="date_of_birth" Value="<?php echo htmlentities($row1['date_of_birth']); ?>">


                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>RELIGION :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['religion']); ?>

                                                            <select class="btn btn-warning form-control" name="religion" value="<?php echo htmlentities($row['religion']); ?>">
                                                                <option value="">--Please choose an Your Religion--</option>
                                                                <option value="Hindu" name="">Hindu</option>
                                                                <option value="Bauddha" name="">Bauddha</option>
                                                            </select>


                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>CAST :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['cast']); ?>

                                                            <select class="btn btn-warning form-control" name="cast" value="<?php if (isset($row)) {
                                                                                                                                echo $row['cast'];
                                                                                                                            } ?>">


                                                                <option value="">--Please choose an Your Cast--</option>




                                                                <?php
                                                                // Feching active categories
                                                                $ret = mysqli_query($con, "select id,name_cast from all_cast where status=1");
                                                                while ($result = mysqli_fetch_array($ret)) {
                                                                ?>

                                                                    <option value="<?php echo htmlentities($result['name_cast']); ?>"><?php echo htmlentities($result['name_cast']); ?></option>


                                                                <?php } ?>
                                                            </select>


                                                        </td>


                                                    </tr>
                                                     <tr>

                                                        <td>SUB CAST :-

                                                        </td>

                                                        <td>

                                                            <input class="form-control" type="text" name="sub_cast" Value="<?php echo htmlentities($row1['sub_cast']); ?>">
                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>AGE :-

                                                        </td>

                                                        <td>

                                                            <input class="form-control" type="text" name="age" Value="<?php echo htmlentities($row1['age']); ?>">
                                                        </td>


                                                    </tr>

                                                    <tr>

                                                        <td>HIGHT :-

                                                        </td>

                                                        <td>

                                                            <input class="form-control" type="text" name="hieght" Value="<?php echo htmlentities($row1['hieght']); ?>">

                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>BLOOD GROUP :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['blood_group']); ?>

                                                            <select class="btn btn-warning form-control" name="blood_group" value="<?php if (isset($row)) {
                                                                                                                                        echo $row['blood_group'];
                                                                                                                                    } ?>">
                                                                <option value="">--Please choose an Your Blood Group--</option>
                                                                <option value="A+" name="">A Positive</option>
                                                                <option value="A-" name="">A Negative</option>
                                                                <option value="A?" name="">A Unknown</option>
                                                                <option value="B+" name="">B Positive</option>
                                                                <option value="B-" name="">B Negative</option>
                                                                <option value="B?" name="">B Unknown</option>
                                                                <option value="AB+" name="">AB Positive</option>
                                                                <option value="AB-" name="">AB Negative</option>
                                                                <option value="AB?" name="">AB Unknown</option>
                                                                <option value="O+" name="">O Positive</option>
                                                                <option value="O-" name="">O Negative</option>
                                                                <option value="O?" name="">O Unknown</option>
                                                                <option value="?" name="">Unknown</option>
                                                            </select>
                                                        </td>


                                                    </tr>


                                                    <tr>

                                                        <td>COMPLEXION :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['skin_type']); ?>

                                                            <select class="btn btn-warning form-control" name="skin_type" value="<?php if (isset($row)) {
                                                                                                                                        echo $row['skin_type'];
                                                                                                                                    } ?>">
                                                                <option value="">--Please choose an option--</option>
                                                                <option value="wheatish" name="">Wheatish(गहूवर्ण)</option>

                                                                <option value="Fair" name="">Fair(गोरा)</option>
                                                                <option value="Dark" name="">Dark(काळा/सावळा)</option>
                                                            </select>

                                                        </td>


                                                    </tr>

                                                    <tr>

                                                        <td>WEIGHT :-

                                                        </td>

                                                        <td>


                                                            <input class="form-control" type="text" name="weight" Value="<?php echo htmlentities($row1['weight']); ?>">


                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>BUILT :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['body_look']); ?>

                                                            <select id="p-select" class="btn btn-warning form-control" name="body_look" value="<?php if (isset($row)) {
                                                                                                                                                    echo $row['body_look'];
                                                                                                                                                } ?>">
                                                                <option value="">--Please choose an option--</option>
                                                                <option value="Stout">Stout</option>
                                                                <option value="Medium">Medium</option>
                                                                <option value="Slim">Slim</option>

                                                            </select>



                                                        </td>


                                                    </tr>
                                                    <tr>

                                                        <td>LENSES/SPECTS :-

                                                        </td>

                                                        <td><?php echo htmlentities($row1['lence']); ?>


                                                            <select id="p-select" class="btn btn-warning form-control" name="lence" value="<?php if (isset($row)) {
                                                                                                                                                echo $row['lence'];
                                                                                                                                            } ?>">
                                                                <option value="">Select Lenses</option>
                                                                <option value="yes">yes</option>
                                                                <option value="No">no</option>


                                                            </select>



                                                        </td>


                                                    </tr>



                                                </tbody>

                                            </table>

                                        </div><!-- d-flex -->


                                        <button class="btn btn-success" name="update" type="submit"><b>Update Personal Information</b></button>

                                    </div><!-- media-body -->
                                </div><!-- media -->
                            </div><!-- card -->



                        </form>

                        <?php
                        if (isset($_POST['update1'])) {
                            $education = $_POST['education'];
                            $hobbies = $_POST['hobbies'];
                            $income = $_POST['income'];
                            $job_work = $_POST['job_work'];


                            $id = intval($_GET['editid']);

                            $sql4 = mysqli_query($con, "Update member_profile set  education='$education',hobbies='$hobbies',income='$income',job_work='$job_work' where id='$id'");


                            if ($sql4) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                     
                  </script>";
                                }
                            } else {


                                $ermsg = "Either Email ID or Password is Incorrect..!";
                            }
                        }






                        ?>



                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>


                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary ">Education Information</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">

                                            <table class="table table-bordered">
                                                <tbody>

                                                    <tr>

                                                        <td>EDUCATION :-</td>
                                                        <td>

                                                            <input class="form-control" name="education" type="text" value="<?php echo htmlentities($row1['education']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>JOB/BUSINESS :-</td>
                                                        <td>
                                                            <input class="form-control" name="job_work" type="text" value="<?php echo htmlentities($row1['job_work']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>ANNUALY ENCOME :-</td>
                                                        <td>
                                                            <input class="form-control" name="income" type="text" value="<?php echo htmlentities($row1['income']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>HOBBIES :-</td>
                                                        <td>
                                                            <input class="form-control" name="hobbies" type="text" value="<?php echo htmlentities($row1['hobbies']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div><!-- d-flex -->
                                        <button class="btn btn-success" name="update1" type="submit"><b>Update Education Information</b></button>

                                    </div><!-- media-body -->
                                </div><!-- media -->
                            </div><!-- card -->




                        </form>







                        <?php


                        if (isset($_POST['update2'])) {
                            $father_name = $_POST['father_name'];
                            $mother_name = $_POST['mother_name'];
                            $all_brothers = $_POST['all_brothers'];
                            $all_sisters = $_POST['all_sisters'];
                            $family_work = $_POST['family_work'];
                            $diet = $_POST['diet'];


                            $id = intval($_GET['editid']);

                            $sql5 = mysqli_query($con, "Update member_profile set father_name='$father_name',mother_name='$mother_name',all_brothers='$all_brothers',all_sisters='$all_sisters',family_work='$family_work',diet='$diet' where id='$id'");
                            //$sql1 = "UPDATE member_profile SET father_name='$father_name',mother_name='$mother_name',all_brothers='$all_brothers',all_sisters='$all_sisters',family_work='$family_work',diet='$diet'WHERE member_profile_id='" . $_SESSION['member_profile_id'] . "'";


                            if ($sql5) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                     
                  </script>";
                                }
                            } else {


                                $ermsg = "Either Email ID or Password is Incorrect..!";
                            }
                        }







                        ?>





                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>

                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary ">Fammily Information</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">

                                            <table class="table table-bordered">
                                                <tbody>

                                                    <tr>

                                                        <td>FATHER NAME :-</td>
                                                        <td>
                                                            <input class="form-control" name="father_name" type="text" value="<?php echo htmlentities($row1['father_name']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>MOTHER NAME :-</td>
                                                        <td>
                                                            <input class="form-control" name="mother_name" type="text" value="<?php echo htmlentities($row1['mother_name']); ?>"></input>


                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>MHOW MANY BROTHERS :-</td>
                                                        <td>
                                                            <input class="form-control" name="all_brothers" type="text" value="<?php echo htmlentities($row1['all_brothers']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>MHOW MANY SISTERS :-</td>
                                                        <td>
                                                            <input class="form-control" name="all_sisters" type="text" value="<?php echo htmlentities($row1['all_sisters']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>FAMMILY WORK :-</td>
                                                        <td>

                                                            <input class="form-control" name="family_work" type="text" value="<?php echo htmlentities($row1['family_work']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>DIET :-</td>
                                                        <td>

                                                            <input class="form-control" name="diet" type="text" value="<?php echo htmlentities($row1['diet']); ?>"></input>

                                                        </td>

                                                    </tr>

                                                </tbody>
                                            </table>
                                        </div><!-- d-flex -->

                                        <button class="btn btn-success" name="update2" type="submit"><b>Update Family Information</b></button>
                                    </div><!-- media-body -->
                                </div><!-- media -->
                            </div><!-- card -->

                        </form>















                        <?php


                        if (isset($_POST['update3'])) {
                            $gotra = $_POST['gotra'];
                            $devak = $_POST['devak'];
                            $gan = $_POST['gan'];
                            $naadi = $_POST['naadi'];
                            $nakashtra = $_POST['nakashtra'];
                            $charan = $_POST['charan'];
                            $raas = $_POST['raas'];
                            $birth_place = $_POST['birth_place'];
                            $birth_time = $_POST['birth_time'];


                            $id = intval($_GET['editid']);

                            $sql5 = mysqli_query($con, "Update member_profile set  gotra='$gotra',devak='$devak',gan='$gan',naadi='$naadi',nakashtra='$nakashtra',charan='$charan',raas='$raas',birth_place='$birth_place',birth_time='$birth_time' where id='$id'");



                            if (mysqli_query($con, $sql1)) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                       
                  </script>";
                                }
                            } else {


                                $ermsg = "Either Email ID or Password is Incorrect..!";
                            }
                        }





                        ?>



                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>

                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary ">Horoscope Information</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">

                                            <table class="table table-bordered">
                                                <tbody>

                                                    <tr>

                                                        <td>GOTRA(गोत्र ) :-</td>
                                                        <td>
                                                            <input class="form-control" name="gotra" type="text" value="<?php echo htmlentities($row1['gotra']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>GAN (गण) :-</td>
                                                        <td>
                                                            <input class="form-control" name="gan" type="text" value="<?php echo htmlentities($row1['gan']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>NAKSHATRA(नक्षत्र ) :-</td>
                                                        <td>
                                                            <input class="form-control" name="nakashtra" type="text" value="<?php echo htmlentities($row1['nakashtra']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>NAADI (नाडी) :--</td>
                                                        <td>

                                                            <input class="form-control" name="naadi" type="text" value="<?php echo htmlentities($row1['naadi']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>RASHI(रास ):-</td>
                                                        <td>

                                                            <input class="form-control" name="raas" type="text" value="<?php echo htmlentities($row1['raas']); ?>"></input>

                                                        </td>

                                                    </tr>

                                                    <tr>

                                                        <td> DEVAK (देवक):-

                                                        </td>
                                                        <td><input class="form-control" name="devak" type="text" value="<?php echo htmlentities($row1['devak']); ?>"></input></td>



                                                    </tr>


                                                    <tr>

                                                        <td>CHARAN (चरण) :-</td>
                                                        <td>

                                                            <input class="form-control" name="charan" type="text" value="<?php echo htmlentities($row1['charan']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>BIRTH PLACE:-</td>
                                                        <td>

                                                            <input class="form-control" name="birth_place" type="text" value="<?php echo htmlentities($row1['birth_place']); ?>"></input>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>BIRTH TIME:-</td>
                                                        <td><?php echo htmlentities($row1['birth_time']); ?>
                                                            <input class="form-control" name="birth_time" type="text" value="<?php echo htmlentities($row1['birth_time']); ?>"></input>
                                                        </td>

                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div><!-- d-flex -->

                                        <button class="btn btn-success" name="update3" type="submit"><b>Update HOROSCOPE Information</b></button>

                                    </div><!-- media-body -->
                                </div><!-- media -->
                            </div><!-- card -->
                        </form>





                        <?php





                        if (isset($_POST['update4'])) {
                            $currant_address = $_POST['currant_address'];
                            $permanant_address = $_POST['permanant_address'];
                            $state = $_POST['state'];
                            $district = $_POST['district'];



                            $id = intval($_GET['editid']);

                            $sql5 = mysqli_query($con, "Update member_profile set  currant_address='$currant_address',permanant_address='$permanant_address',state='$state',district='$district' where id='$id'");
                            // $sql1 = "UPDATE member_profile SET currant_address='$currant_address',permanant_address='$permanant_address',state='$state',district='$district'WHERE member_profile_id='" . $_SESSION['member_profile_id'] . "'";


                            if ($sql1) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                      alert('Profile Updated Successfully..!!!');
                                         
                  </script>";
                                }
                            } else {


                                $ermsg = "Either Email ID or Password is Incorrect..!";
                            }
                        }







                        ?>



                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>
                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary ">Address Information</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">

                                            <table class="table table-bordered">
                                                <tbody>

                                                    <tr>

                                                        <td>CURRENT ADDRESS :-</td>
                                                        <td>

                                                            <textarea class="form-control" rows="5" cols="50" name="currant_address">
           <?php echo htmlentities($row1['currant_address']); ?>
         </textarea>


                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>PARMANENT ADDRESS :-</td>
                                                        <td>

                                                            <textarea class="form-control" rows="5" cols="50" name="permanant_address">
          <?php echo htmlentities($row1['permanant_address']); ?>
         </textarea>

                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>STATE :-</td>
                                                        <td><?php echo htmlentities($row1['state']); ?>
                                                            <select class="btn btn-warning form-control" name="state" id="state" class="form-control">
                                                                <option value="">--Select Your State--</option>

                                                                <?php
                                                                // Feching active categories
                                                                $ret = mysqli_query($con, "select id,state_name from state where status=1");
                                                                while ($result = mysqli_fetch_array($ret)) {
                                                                ?>

                                                                    <option value="<?php echo htmlentities($result['state_name']); ?>"><?php echo htmlentities($result['state_name']); ?></option>


                                                                <?php } ?>
                                                            </select>
                                                        </td>

                                                    </tr>
                                                    <tr>

                                                        <td>DISTRICT :-</td>
                                                        <td>

                                                            <input class="form-control" name="district" type="text" value="<?php echo htmlentities($row1['district']); ?>">

                                                        </td>

                                                    </tr>



                                                </tbody>
                                            </table>
                                        </div><!-- d-flex -->

                                        <button class="btn btn-success" name="update4" type="submit"><b>Update Address Information</b></button>

                                    </div><!-- media-body -->
                                </div><!-- media -->
                            </div><!-- card -->


                        </form>





                        <?php





                        if (isset($_POST['update5'])) {
                            $expectation = $_POST['expectation'];
                            $ads_info = $_POST['ads_info'];




                            $id = intval($_GET['editid']);

                            $sql5 = mysqli_query($con, "Update member_profile set  expectation='$expectation',ads_info='$ads_info' where id='$id'");




                            if ( $sql5) {

                                //echo "Records inserted successfully.";
                                {
                                    echo "<script>
                                    alert('Profile Updated Successfully..!!!');
                                                       
                                </script>";
                                }
                            } else {


                                $ermsg = "Either Email ID or Password is Incorrect..!";
                            }
                        }





                        ?>


                        <form name="update_prsonal_information" action="" method="post" enctype='multipart/form-data'>
                            <div class="media-list bg-white rounded shadow-base">
                                <h3 class="btn btn-oblong btn-primary">expectation</h3>
                                <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                    <div class="media-body mg-l-20">
                                        <div class="d-flex justify-content-between mg-b-10">




                                            <p class="form-control">
                                                <textarea id="w3review" class="form-control" name="expectation" rows="4" cols="50" value=" <?php echo htmlentities($row1['expectation']); ?>"><?php echo htmlentities($row1['expectation']); ?></textarea></td>
                                            </p>





                                        </div><!-- d-flex -->




                                        <div class="media-list bg-white rounded shadow-base">
                                            <h3 class="btn btn-oblong btn-primary">Additional Information</h3>
                                            <div class="media pd-20 pd-xs-30" style="  border: 2px solid #1c87c9;">
                                                <div class="media-body mg-l-20">
                                                    <div class="d-flex justify-content-between mg-b-10">




                                                        <p class="form-control">

                                                            <textarea id="w3review" class="form-control" name="ads_info" rows="4" cols="50" value=" <?php echo htmlentities($row1['ads_info']); ?>"><?php echo htmlentities($row1['ads_info']); ?></textarea>

                                                        </p>





                                                    </div><!-- d-flex -->

                                                </div><!-- media-body -->
                                            </div><!-- media -->
                                        </div><!-- card -->





                                        <p>मी संस्थेचे माहितीपत्रक वाचले असून त्यातील सूचना व नियम मला मान्य आहेत वरील भरलेली संपूर्ण माहिती खरी असून त्यास मी संपूर्ण जबाबदार आहे</p>

                                        <button class="btn btn-success" name="update5" type="submit"><b>Update Personal Information</b></button>
                                    </div><!-- media-body -->



                                </div><!-- media -->


                            </div><!-- card -->

                        </form>














                    </div><!-- col-lg-8 -->
                </div><!-- row -->
            </div><!-- tab-pane -->


        </div><!-- tab-pane -->










    </div><!-- br-pagebody -->





    <!-- ########## END: MAIN PANEL ########## -->

    <script src="lib/jquery/jquery.js"></script>
    <script src="lib/popper.js/popper.js"></script>
    <script src="lib/bootstrap/bootstrap.js"></script>
    <script src="lib/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
    <script src="lib/moment/moment.js"></script>
    <script src="lib/jquery-ui/jquery-ui.js"></script>
    <script src="lib/jquery-switchbutton/jquery.switchButton.js"></script>
    <script src="lib/peity/jquery.peity.js"></script>

    <script src="js/bracket.js"></script>
    <script>
        function printpart() {
            var printwin = window.open("");
            printwin.document.write(document.getElementById("toprint").innerHTML);
            printwin.stop();
            printwin.print();
            printwin.close();
        }
    </script>

</body>

</html>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
April 17 2025 11:26:52
0 / 0
0777
about-images
--
November 02 2023 07:45:20
0 / 0
0777
blog-images
--
June 28 2024 08:28:09
0 / 0
0777
css
--
November 02 2023 07:45:26
0 / 0
0777
fedexexpress
--
March 05 2025 09:40:57
0 / 0
0777
gallary
--
March 04 2025 04:45:47
0 / 0
0777
img
--
December 01 2023 20:53:14
0 / 0
0777
include
--
November 02 2023 07:48:17
0 / 0
0777
js
--
November 02 2023 07:48:21
0 / 0
0777
lib
--
November 02 2023 07:48:29
0 / 0
0777
slider-images
--
March 04 2025 04:43:23
0 / 0
0777
story
--
April 21 2025 08:34:08
0 / 0
0777
.htaccess
0.772 KB
September 22 2023 07:07:25
0 / 0
0666
404.php
2.678 KB
June 05 2022 08:00:12
0 / 0
0666
a.html
1.987 KB
May 14 2022 21:22:34
0 / 0
0666
active-profile.php
12.279 KB
October 16 2022 10:56:50
0 / 0
0666
add-about.php
12.315 KB
September 16 2022 00:34:50
0 / 0
0666
add-blog-categori.php
9.562 KB
May 05 2022 07:09:46
0 / 0
0666
add-blog.php
10.853 KB
December 17 2022 23:04:14
0 / 0
0666
add-cast.php
8.957 KB
May 16 2022 03:00:44
0 / 0
0666
add-contact.php
13.006 KB
May 20 2022 08:40:24
0 / 0
0666
add-district.php
10.146 KB
May 17 2022 01:12:58
0 / 0
0666
add-faq.php
8.505 KB
May 05 2022 06:22:36
0 / 0
0666
add-gallary.php
9.605 KB
May 21 2022 09:06:34
0 / 0
0666
add-marrital-status.php
9.14 KB
May 16 2022 03:01:16
0 / 0
0666
add-membership.php
11.767 KB
September 13 2022 18:57:22
0 / 0
0666
add-slider.php
11.935 KB
May 19 2022 12:21:18
0 / 0
0666
add-state.php
8.97 KB
May 16 2022 03:01:02
0 / 0
0666
add-story.php
10.093 KB
October 13 2023 11:22:07
0 / 0
0666
add-term-condition.php
9.177 KB
October 01 2022 21:05:22
0 / 0
0666
add-testimonial.php
8.584 KB
May 05 2022 06:08:30
0 / 0
0666
add-why-choose-us.php
8.601 KB
May 05 2022 06:03:26
0 / 0
0666
all-profile.php
17.09 KB
August 26 2023 10:19:28
0 / 0
0666
all-user.php
11.056 KB
November 03 2022 22:28:50
0 / 0
0666
blog-category.php
8.83 KB
May 05 2022 07:37:48
0 / 0
0666
blog.php
13.785 KB
November 18 2022 23:35:58
0 / 0
0666
cast.php
12.35 KB
October 01 2022 19:48:24
0 / 0
0666
change-password.php
10.564 KB
November 03 2022 19:20:22
0 / 0
0666
check.php
0.828 KB
April 08 2022 21:08:48
0 / 0
0666
contact.php
13.168 KB
June 05 2022 21:14:38
0 / 0
0666
dashboard.php
15.579 KB
January 21 2023 23:49:58
0 / 0
0666
deactive-profile.php
12.27 KB
October 16 2022 11:01:56
0 / 0
0666
district.php
13.17 KB
May 16 2022 23:58:28
0 / 0
0666
edit-blog-categori.php
9.544 KB
May 05 2022 17:00:06
0 / 0
0666
edit-blog.php
10.461 KB
November 18 2022 23:41:02
0 / 0
0666
edit-cast.php
9.633 KB
October 01 2022 19:55:26
0 / 0
0666
edit-membership.php
12.694 KB
November 16 2022 18:11:08
0 / 0
0666
edit-profile.php
56.25 KB
December 28 2022 19:24:18
0 / 0
0666
edit-slider.php
8.531 KB
May 05 2022 04:47:24
0 / 0
0666
edit-story.php
8.363 KB
May 05 2022 00:39:56
0 / 0
0666
error_log
12.08 MB
April 20 2024 09:18:28
0 / 0
0666
forgot-password.php
2.689 KB
November 03 2022 18:11:54
0 / 0
0666
gallary.php
13.888 KB
September 04 2023 12:32:55
0 / 0
0666
index.php
4.139 KB
September 14 2023 07:18:03
0 / 0
0666
login.php
3.094 KB
April 01 2022 23:53:28
0 / 0
0666
logout.php
0.106 KB
June 24 2022 19:14:42
0 / 0
0666
marrital-status.php
12.444 KB
June 24 2022 19:26:04
0 / 0
0666
memberdata.php
1.511 KB
June 14 2024 17:59:53
0 / 0
0666
membership.php
13.21 KB
November 16 2022 17:50:54
0 / 0
0666
registration.php
6.104 KB
April 02 2022 00:50:22
0 / 0
0666
right-pannel-sidebar.php
21.975 KB
May 04 2022 23:54:42
0 / 0
0666
sidebar.php
7.43 KB
September 05 2023 05:45:01
0 / 0
0666
slider.php
12.592 KB
June 24 2022 19:32:18
0 / 0
0666
state.php
12.274 KB
June 24 2022 19:25:20
0 / 0
0666
successstories.php
10.01 KB
October 13 2023 11:20:11
0 / 0
0666
userdata.php
1.496 KB
June 14 2024 17:59:52
0 / 0
0666
view-profile.php
18.215 KB
August 26 2023 10:16:27
0 / 0
0666
view-user-profile.php
7.743 KB
June 24 2022 20:24:30
0 / 0
0666