<?php include("includes/db_config.php");
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true){ }else{
echo "<script>window.location.href='index.php'</script>";
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Telangana Journalist Reporter Association</title>
    <?php include("includes/css.php");?>
    <link rel="canonical" href="https://www.tjra.in/" />
    <meta property="og:locale" content="en_Us" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="Telangana Journalist Reporter Association" />
    <meta property="og:description" content="Telangana Journalist Reporter Association provides " />
    <meta property="og:url" content="https://www.tjra.in//" />
    <meta property="og:site_name" content="Telangana Journalist Reporter Association" />
    <meta charset="utf-8">
    <meta name="keywords" content="" />
    <meta name="author" content="Telangana Journalist Reporter Association">
    <meta name="description" content="" />
      <style>
        .team-one--about {
            padding: 50px 0px 50px 0px;
        }

        /* Vertical Tabs */
        .vertical-tabs {
            font-size: 14px;
            padding: 0px;
            color: #008000;
            width: 100%
        }

        .vertical-tabs .nav-tabs .nav-link {
            background: #b91e4d;
            border: 1px solid transparent;
            color: #fff;
            border-radius: 0px; height: 37px;
        }

        .vertical-tabs .nav-tabs .nav-link.active {
            background-color: #000 !important;
            border-color: transparent !important;
            color: #fff;
        }

        .vertical-tabs .nav-tabs .nav-link:hover {
            background-color: #000 !important;
            border-color: transparent !important;
            color: #fff;
        }


        .vertical-tabs .nav-tabs .nav-link {
            border: 1px solid transparent;
        }

        .vertical-tabs .tab-content>.active {
            background: #fff;
            display: block;
        }

        .vertical-tabs .nav.nav-tabs {
            border-bottom: 0;
            border-right: 1px solid transparent;
            display: block;
            float: left;
            width: 100%;
            padding: 0px
        }

        .vertical-tabs div.tab-content {
            border: solid 1px #4CAF50 !important;
            max-height: 200px;
        }

        .vertical-tabs .sv-tab-panel {
            background: #fff;
            height: 145px;
            padding-top: 10px;
        }

        .vertical-tabs div#home-v.tab-pane .sv-tab-panel {
            background: #a6dba6
        }

        .vertical-tabs div#profile-v.tab-pane .sv-tab-panel {
            background: #99d699;
        }

        .vertical-tabs div#messages-v.tab-pane .sv-tab-panel {
            background: #8cd18c
        }

        .vertical-tabs div#settings-v.tab-pane .sv-tab-panel {
            background: #80cc80
        }

        .nav-tabs .nav-item {
            border-bottom: 1px solid #ccc;
            margin-bottom: 1px;
        }

        .vertical-tabs .nav-tabs .nav-item {
            padding: 0px 0px !important;
            border-bottom: 1px solid #fff !important;
            border-radius: 0px;
        }
       .page-header {
            padding-top: 10px;
            padding-bottom: 5px;
        }

        .page-header__bg {
            background-image: none;
            background-color: #fff;
        }

        .page-header__bg::before {
            background-color: #000
        }
        .careox-breadcrumb li { 
  color: #fff;
        }
        
@media (min-width: 320px) and (max-width: 640px) {
        .page-header {
  padding-top: 40px;
  padding-bottom: 5px;
}
        }
    </style>
</head>

<body class="custom-cursor">
    <div class="custom-cursor__cursor"></div>
    <div class="custom-cursor__cursor-two"></div>

    <div class="page-wrapper">
        <?php include("includes/header.php");?>

        <section class="page-header">
            <div class="page-header__bg"></div>
            <div class="container-fluid">
                 <ul class="careox-breadcrumb list-unstyled">
                    <li><a href="index.php">Home</a></li>
                    <li><span>My Profile</span></li>
                </ul>
            </div>
        </section>
        <section class="team-one team-one--about pb-50 pt-50">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-xl-3">
                        <div class="vertical-tabs">
                            <ul class="nav nav-tabs" role="tablist">
                                <li class="nav-item">
                                    <a class="nav-link active" href="my-profile.php">My Profile</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="edit-profile.php">Edit Profile</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="my-idcard.php">My Id-Card</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="my-certificate.php">My Certificate</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="my-booking.php">My Booking</a>
                                </li> 
                                <li class="nav-item">
                                    <a class="nav-link" href="logout.php">Logout</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-xl-9">
                        <div class="sv-tab-panel table-responsive">
                            <h3 class="mb-2">My Profile</h3>
                            <table class="table table-bordered table-striped mb-6">
                                <thead></thead>
                                <tbody>
                                    <?php $user_id=$_SESSION['id'];
                                    $sql1="select * from user_profile where id='$user_id'";
                                    $result1 = mysqli_query($conn, $sql1);
                                    $res1= mysqli_fetch_array($result1);?>
                                   <tr>
                                        <th>Organization Name :</th>
                                        <td colspan="3"><?= $res1['organizations'];?></td> 
                                    </tr>
                                    <tr>
                                        <th>Id No.:</th>
                                        <td><?= $res1['user_id'];?></td>
										  <th>Name:</th>
                                        <td><?= $res1['name'];?></td>
                                    </tr>
                                    <tr>										
                                        <th style="width:180px">Father's/The Son Of Name :</th>
                                        <td><?= $res1['father_name'];?> </td>
                                         <th>Email-Id :</th>
                                        <td><?= $res1['email_id'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Contact No. :</th>
                                        <td>+91-<?= $res1['contact_no'];?></td>
                                        <th style="width:170px">Alt. Contact No. :</th>
                                        <td>+91-<?= $res1['alt_contact_no'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Company Name :</th>
                                       <td><?= $res1['company_name'];?></td>
										 <th>Place Of work :</th>
                                       <td><?= $res1['place_work'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Place Of work :</th>
                                       <td><?= $res1['place_work'];?></td>
                                        <th>Designation :</th>
                                        <td><?= $res1['designation'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Date Of Birth :</th>
                                        <td><?= $res1['dob'];?></td>
                                         <th>Labour From :</th>
                                        <td><?= $res1['labour'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Adhaar No :</th>
                                        <td><?= $res1['acardno'];?></td>
                                         <th>Blood Group :</th>
                                        <td><?= $res1['blood_group'];?></td>
                                    </tr>
                                    <tr>
                                        <th>Name of nominee :</th>
                                        <td><?= $res1['nominee_name'];?></td>
                                         <th>Total Family Member :</th>
                                        <td><?= $res1['family_member'];?></td>
                                    </tr>
                                    <tr>
										 <th>Your Photo :</th>
                                        <td><img src="admin-jurep/images/<?= $res1['image'];?>" style="height:100px"></td>
                                        <th>Signature :</th>
                                        <td><img src="admin-jurep/images/<?= $res1['signature'];?>" style="height:100px"></td>
                                    </tr>
                                    <tr>
										<th>Adhaar Card No. :</th>
                                        <td><img src="admin-jurep/images/<?= $res1['aadhar_no'];?>" style="height:100px"></td>
                                        <th>Sign.Of Muqaddam/Choudhary:</th>
                                        <td><img src="admin-jurep/images/<?= $res1['signature_muqaddam'];?>" style="height:100px"></td>
                                    </tr>
                                    <tr> 
                                        <th>Address :</th>
                                        <td colspan="3"><?= $res1['address'];?></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <?php include("includes/newsletter.php");?>
    </div>
    <?php include("includes/footer.php");?>
    <?php include("includes/js.php");?>
</body>

</html>