ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/wedding-info-new/
Upload File :
Current File : //proc/self/root/home2/selectio/www/wedding-info-new/astrologer_dtls.php

<?php
   include "header.php";
   $ids = $_REQUEST['ids'];
    $query = "SELECT * FROM  tbl_astrologer where id = $ids";
       $prepared = $pdo->prepare($query);
       $prepared->execute();
       $result = $prepared->fetchAll(PDO::FETCH_ASSOC);
       
       
       
       
    //variables Decalaration starts here
    // gender
    $gender="";
    if($result[0]['gender']==1){
    $gender="Male";
    }elseif($result[0]['gender']==2){
    $gender="Female";
    }

    // occupation
    $occupation="";
    if($result[0]['occupation']==1){
    $occupation="Farmer";
    }
    
    if (!isset($result[0]['religion']) || $result[0]['religion'] === null) {
          $rel = "Please fill Horoscope details";
    }else{
        $rel = "";
    }
    if (!isset($result[0]['caste']) || $result[0]['caste'] === null || $result[0]['caste'] == "" )  {
          $caste = "Please fill Horoscope details";
    }else{
          $caste = " ";
    }
    if (!isset($result[0]['mother_tonque']) || $result[0]['mother_tonque'] == null || $result[0]['mother_tonque'] == "") {
          $mother_tonque = "Please fill Horoscope details";
    }else{
          $mother_tonque = " ";
    }
    if (!isset($result[0]['h_hour']) || $result[0]['h_hour'] === null ) {
          $time = "Please fill Horoscope details";
    }else{
          $time = "";
    }
    if (!isset($result[0]['h_place_birth']) || $result[0]['h_place_birth'] == null  ||  $result[0]['h_place_birth'] == "") {
          $h_place_birth = "Please fill Horoscope details";
    }else{
          $h_place_birth = $result[0]['$h_place_birth'];
    } 
    if (!isset($result[0]['h_dosham']) || $result[0]['h_dosham'] == "" ||  $result[0]['h_dosham'] == null ) {
          $h_dosham = "Please fill Horoscope details";
    }else{
          $h_dosham ="";
    }
    if (!isset($result[0]['h_zodic']) || $result[0]['h_zodic'] == "" || $result[0]['h_zodic'] == null ) {
          $h_zodic = "Please fill Horoscope details";
    }else{
          $h_zodic = "";
    }
    //variables Decalaration ends here
       
    
     
?>
<!-- panel space start -->
<section class="panel-space"></section>
<!-- panel space end -->
<?=print_r($result);
   ?>
<!-- login section start -->
<section class="form-section px-15  section-b-space">
   <div class="row"
      style="background-color: lightgray">
      <div class="col-12 col-sm-12">
         <div class="parent-img" style="width: 100%;display: flex;justify-content: center;align-items: center;;padding: 10% 0 10% 0;">
            <img style="width: 70%;"  src="https://mdbcdn.b-cdn.net/img/new/standard/city/041.webp"   class="img-thumbnail"   alt="Hollywood Sign on The Hill" />
         </div>
         <br>
         <hr>
      </div>
      <div class="row">
         <div class="col-md col-sm-12 col-md-6" >
            <div>
               <b><?=$result[0]['name']?> <span class="text-success" >Online</span></b> <br>
               <small style="text-transform: lowercase;"><b><?=$result[0]['city']?>,<?=$result[0]['state']?>,<?=$result[0]['pincode']?></b></small>
            </div>
            <br>
         </div>
         <div class="col-md col-sm-12 col-md-6" >
            <p class="bg-warning text-white" style="width: 120px; height: 30px;display: flex;justify-content: center;align-items: center;float:left;"><b>Profile Info</b></p>
            <a class="bg-warning text-white" style="width: 120px; height: 30px; display: flex; justify-content: center; align-items: center; float: left; margin-left: 10px;" href="horoscope_form.php?ids=<?= $ids ?>"><b>Horoscope Reg</b></a>

           <p>Share</p>
         </div>
      </div>
   </div>
   <div class="row" >
       <div class="row">
         <div class="col-md col-sm-12 col-md-12" >
            <div>
                
                <table class="table">
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Age</td>
                        <td><?=$result[0]['age']?></td>
                        <td rowspan=5>
                            <div class="row" >
                                <div class="col-span-12" >
                                    <p class="bg-danger rounded " style="display: flex;justify-content: center;" > Pin Card </p>
                                    
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Occupation</td>
                        <td><?=$occupation?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Annual Income(Rs)</td>
                        <td><?=$result[0]['annual_incm']?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Physical Status</td>
                        <td><?=$result[0]['phy_status']?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Marital Status</td>
                        <td><?=$result[0]['martial_status']?></td>
                    </tr>
                    <hr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Religion</td>
                        <td><?=$result[0]['religion']?><?=$rel?></td>
                        <td rowspan="3">
                            <p class="bg bg-warning text-white" style="width:100px;    width: 100px;display: flex;justify-content: center;" >Religious Info</p>
                            <p>&#10025; 5.0(15)</p>
                        </td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Mother Tongue</td>
                        <td><?=$result[0]['mother_tonque']?><?=$mother_tonque?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Caste</td>
                        <td><?=$result[0]['caste']?><?=$caste?></td>
                    </tr>
                    <hr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Gender</td>
                        <td><?=$gender?></td>
                         <td rowspan="6">
                            <p class="bg bg-warning text-white" style="width:100px;    width: 100px;display: flex;justify-content: center;" >Religious Info</p>
                            
                            <span class="bg bg-success text-white" >Chat</span>
                            <span class="bg bg-info text-white" >call</span>
                        </td>
                        
                    </tr>
                    
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Date of Birth</td>
                        <td><?=$result[0]['dob']?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Time of Birth</td>
                        <td><?=$result[0]['h_hour'].":".$result[0]['h_min'].":".$result[0]['h_session'] ?> <?=$time?></td>
                    </tr>
                    
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Place of Birth</td>
                        <td><?=$result[0]['h_place_birth']?><?=$h_place_birth?></td>
                    </tr>
                    
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Zodiac Signs / Star</td>
                        <td><?=$result[0]['h_zodic']?><?=$h_zodic?></td>
                    </tr>
                    <tr>
                        <td style="color: purple;font-weight: bolder;">Dosham</td>
                        <td><?=$result[0]['h_dosham']?><?=$h_dosham?></td>
                    </tr>
                    
                </table>
            </div>
         </div>
         <div class="col-12 col-sm-12 col-md-12" >
             <div  style="background:linear-gradient(63deg,rgba(120,195,236,1) 30%, rgba(120,195,236,1) 55%, rgba(120,195,236,1) 61%,  rgba(255,194,152,1) 91%)"  >
             <b>Important Notice: You Already Accepted The Teams and Conditions Of WeddingInfo Site So Kindly Read it again..</b>
             </div>
             
             
         </div>
      </div>
       
       
       
   </div>
</section>
<!-- login section end -->
<!-- panel space start -->
<section class="panel-space"></section>
<!-- panel space end -->
<script>
   var input = document.querySelector("#mobile_no");
   window.intlTelInput(input, {
       separateDialCode: true,
       excludeCountries: ["il"],
       preferredCountries: ["in"]
   });
   var alter_input = document.querySelector("#alter_mobile_no");
   window.intlTelInput(alter_input, {
       separateDialCode: true,
       excludeCountries: ["il"],
       preferredCountries: ["in"]
   });
</script>
<script>
   function displaySelectedImage(input, imgId) {
   const imgElement = document.getElementById(imgId);
   
   if (input.files && input.files[0]) {
       const reader = new FileReader();
   
       reader.onload = function(e) {
           imgElement.src = e.target.result;
       };
   
       reader.readAsDataURL(input.files[0]);
   } else {
       imgElement.src = '';
   }
   }
</script>
<script>
   $(document).ready(function() {
   
   $('#profile_verification').submit(function(e) {
       e.preventDefault();
       alert('hello');
       var formData = new FormData(this);
       formData.append('type', 'upload');
       console.log(formData);
       $.ajax({
           url: 'api/profile_add.php',
           type: 'post',
           dataType: 'json',
           data: formData,
           cache: false,
           contentType: false,
           processData: false,
           success: function(response) {
               console.log(response);
               if (response['status'] == 200) {
                   alert(response['message']);
                   $(this).trigger("reset");
   
               } else {
                   alert(response['message']);
               }
           }
       });
   });
   });
</script>
<?php
   include "footer2.php"; ?>

Zerion Mini Shell 1.0