GIF89a
<?php ob_start(); ini_set('error_reporting', E_STRICT); include("session.php"); include("connect.php"); include("libs.php"); mysqli_set_charset($conn,'utf8'); date_default_timezone_set('Asia/Kolkata'); setOnline($conn,$_COOKIE["user_id"]); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link rel="shortcut icon" type="image/png" href="assest/images/care_logo.png" /> <link href="mystyle.css" type="text/css" rel="stylesheet"> <link href="assest/css/font-awesome.min.css" rel="stylesheet"> <link href="style.css" type="text/css" rel="stylesheet"> <!-- Latest compiled and minified CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Latest compiled JavaScript --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> <title>Care</title> <style type="text/css"> .linksi a:hover{ background-color: #9fa19f; } .wallet{ border: 2px solid #ffffff; border-radius:5px; } .topic_link a:hover{ background-color: #c2bebe; } /*side menus*/ .sidebar { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background-color: #212529; overflow-x: hidden; transition: 0.5s; padding-top: 60px; border: 1px solid none; border-radius: 4px; } .sidebar a { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: #818181; display: block; transition: 0.3s; } .sidebar a:hover { color: #f1f1f1; } .sidebar .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } .openbtn { font-size: 25px; font-weight: bold; cursor: pointer; background-color: #212529; color: white; border: none; } .openbtn:hover { background-color: #212529; border: 4px solid #2d3237; border-radius: 5px; } #main { transition: margin-left .5s; padding: 5px; } /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) @media screen and (max-height: 450px) { .sidebar {padding-top: 15px;} .sidebar a {font-size: 18px;} }*/ </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script type="text/javascript" src="js/checkMobb.js"></script> <script type="text/javascript" src="js/alertDismiss.js"></script> <script type="text/javascript" src="js/login.js"></script> <script type="text/javascript" src="js/share.js"></script> <script type="text/javascript" src="js/saveReg.js"></script> <script type="text/javascript" src="js/loadCity.js"></script> <script type="text/javascript" src="js/callMsg.js"></script> <script type="text/javascript" src="js/sendToChat.js"></script> <script type="text/javascript" src="js/saveComment.js"></script> <script type="text/javascript" src="js/sendReport.js"></script> <script type="text/javascript" src="js/updateProfile.js"></script> <script type="text/javascript" src="js/validPic.js"></script> <script type="text/javascript" src="js/joinPrime.js"></script> <link href="css/toast.css" type="text/css" rel="stylesheet"> </head> <body> <section class="mx-3"> <div class="container no-gutters"> <div class="row row-spac no-gutters"> <div class="col-md-5 no-gutters my-1" style="margin: auto;padding: 0px;position: relative;"> <div class="row"> <div class="col-12"> <div class="top d-flex justify-content-center"> <?php if(checkOnline($conn,$_GET['id'])>5){ ?> <small class="bg-light rounded-pill text-danger p-2">Currently this listener is offline</small> <?php } else { ?> <small class="bg-light rounded-pill text-danger p-2"><font color="green">Currently this listener is online</font></small> <?php } ?> </div> </div> </div> <div class="row"> <div class="col-4"> <?php $img=profile($conn,$_GET['id'],"img"); $genderr=profile($conn,$_GET['id'],"gender"); ?> <img src="<?php echo findDP($conn,$img,$genderr); ?>" height="100px" width="100px"> </div> <div class="col-4"> <div class="top my-3 float-start"> <a class="text-decoration-none text-dark"><b><?php echo profile($conn,$_GET['id'],"user_name"); ?></b></a><br> <?php if(checkOnline($conn,$_GET['id'])>5){ ?> <a href="" class="text-decoration-none text-alert" style="color: red">Offline</a> <?php } else { ?> <a href="" class="text-decoration-none text-success" style="color: green">Online</a> <?php } ?> </div> </div> <div class="col-4"> <div class="top my-3 float-end"> <a class="text-decoration-none text-white btn btn-dark d-block btn-sm" role="button" onclick="sendReport('<?php echo $_GET['id']; ?>','<?php echo $_COOKIE["user_id"]; ?>')">Report</a> <a href="#"><i class="bi bi-share-fill pt-3 float-start" onclick="share('<?php echo profile($conn,$_GET['id'],"user_name"); ?>','<?php echo profile($conn,$_GET['id'],"img"); ?>','1')"></i></a> <?php $user=profile($conn,$_GET['id'],"user_name"); $url=urlencode($user.", Want to meet your. Just install Care Dating app and enjoy date with in your circle.") ?> <a href="https://wa.me/?text=<?php echo $url; ?>" data-action="share/whatsapp/share"><i class="bi bi-whatsapp pt-3 float-end"></i></a> </div> </div> <hr> </div> </div> </div> </div> </div> </section> <section class="mx-3"> <div class="container no-gutters"> <div class="row row-spac no-gutters"> <div class="col-md-5 no-gutters my-1" style="margin: auto;padding: 0px; position: relative;"> <div class="row mb-3"> <div class="col-12 rounded" style="background-color: #F1F1F1;"> <div class="top my-3"> <h6 class="my-4"> <i class="bi bi-file-person"></i><b> From</b></h6> <p><?php echo "I'm from ".profile($conn,$_GET['id'],"city")." ( ".profile($conn,$_GET['id'],"state")." )"; ?></p> <p><?php echo "Interested in ".profile($conn,$_GET['id'],"interest"); ?></p> </div> </div> </div> <div class="row mb-3"> <div class="col-12 rounded bg-light"> <div class="top my-2" > <h6 class="my-2"><b>Details</b></h6> <b><i class="bi bi-info-circle-fill"><?php echo profile($conn,$_GET['id'],"gender"); ?></i><br> <i class="bi bi-person"> <?php echo profile($conn,$_GET['id'],"age"); ?> Years</i><br> <br> <i class="bi bi-vector-pen"> Language: Hindi English</i> </div> </div> </div> <div class="row mb-3"> <div class="col-12 rounded bg-light"> <div class="top my-3"> <h6 class="my-4"> <i class="bi bi-star-fill"></i><b> Rating</b></h6> <div class="float-end"> <h6 class="fw-bold"><?php echo profile($conn,$_GET['id'],"rating")."/5"; ?></h6> <p class=""><?php echo followers($conn,$_GET['id'],"2"); ?> Followers </p> <p class=""><?php echo followers($conn,$_GET['id'],"3"); ?> Likes </p> <p class=""><?php echo followers($conn,$_GET['id'],"1"); ?> Following </p> </div> </div> </div> </div> </div> </div> </div> </div> </section> <section class="mx-3" style="margin-bottom: 100px;"> <div class="container no-gutters"> <div class="row row-spac no-gutters"> <div class="col-md-5 no-gutters" style="margin: auto;padding: 0px;position: relative;"> <div class="row"> <div class="col-12"> <div class="d-flex justify-content-center bg-dark text-white pt-2 rounded"> <?php echo totalReview($conn,$_GET['id']); ?>+ Reviews </div> </div> </div> <?php $sqlR="SELECT * FROM `review` WHERE `user_id`='".$_GET['id']."' ORDER BY `sr` DESC"; $rsR=mysqli_query($conn,$sqlR); while($rowR=mysqli_fetch_array($rsR)){ ?> <div class="row"> <div class="col-12 bg-light rounded"> <div class="top my-3 float-start"> <?php $star=round(profile($conn,$_GET['id'],"rating")); for($i=1;$i<=5;$i++){ if($i<=$star){ ?> <i class="bi bi-star-fill" style="color: #D3C410"></i> <?php } else { ?> <i class="bi bi-star-fill"></i> <?php } } ?> <h6 class="pt-3"><?php echo profile($conn,$rowR['replier_id'],"user_name"); ?></h6> <h2 class="pt-3"><?php echo $rowR['msgg']; ?></h2> </div> <div class="top my-3 float-end"> <h6><?php echo calTime($rowR['datee'],$rowR['timee']); ?> Hours Ago</h6> <!-- <a href=""><i class="bi bi-share-fill pt-3 float-end"></i></a> --> </div> </div> <hr> </div> <?php } ?> <div class="row my-3"> <div class="col-12 rounded bg-light"> <div class="top my-3"> <div class="form-floating"> <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea> <label for="floatingTextarea">Comments</label> <button type="button" class="btn btn-dark my-2 float-end" onclick="saveComment('<?php echo $_COOKIE["user_id"]; ?>','<?php echo $_GET['id']; ?>')">POST</button> </div> </div> </div> </div> <button type="button" class="btn btn-dark rounded-pill p-3 shadow fw-bold" style=" position: fixed; z-index: 10; top: 75%; right: 2%; width:30%; color: #fff; cursor: pointer; " onclick="sendToChat('<?php echo $_GET['id']; ?>','<?php echo $_COOKIE["user_id"]; ?>')">CHAT NOW</button> <?php include("footer.php"); ?> </div> </div> </div> </section> </body> </html> <div id="snackbar"><span id="snack_msgg" style="color: white"></span></div>