D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
praneshaswalphotography.com
/
Filename :
img.php
back
Copy
<?php include "include/config.php"; function create_slug($string){ $slug=strtolower(preg_replace('/[^A-Za-z0-9-]+/', '-', $string)); return $slug; } $img_ids=$_GET['image']; $image = base64_decode($img_ids); //echo $image; $photo = mysqli_query($conn,"select * from photos where id='$image'"); $row = mysqli_fetch_assoc($photo); $image_cat=$row['category']; $row_heading=$row['heading']; //echo $row_heading; $img_path=$img_url.$row['image']; //echo $img_path; $img_url=$base_url."category/".create_slug($image_cat)."/".$img_ids; //$img_url="https://praneshaswalphotography.com/category/wedding-photography/MTY5"; ?> <!DOCTYPE html> <html lang="en"> <head> <title>Fashion Photographer Dehradun | Wedding, Candid Photography Dehradun</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Pranesh is best fashion photographer in Dehradun. He possesses creativity with his skill and master in Pre-Wedding, Wedding Photography and Candid photoshoot."> <meta name="keywords" content="Fashion Photographer, best Fashion Photographer in Dehradun, Wedding Photographer, Pre-wedding Photographer, Candid Photographer, best candid photographer Dehradun"> <meta property="og:title" content="Fashion Photographer in Dehradun – Pranesh Aswal Photography "/> <meta property="og:description" content="Best Fashion Photographer in Dehradun"/> <meta property="og:image" content="<?php echo $img_path; ?>"/> <!-- stylesheet start here --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/css?family=PT+Serif&amp;subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700&amp;subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" integrity="sha512-0S+nbAYis87iX26mmj/+fWt1MmaKCv80H+Mbo+Ne7ES4I6rxswpfnC6PxmLiw33Ywj2ghbtTw0FkLbMWqh4F7Q==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <link rel="stylesheet" type="text/css" href="<?php echo $base_url.'asstes/style.css' ; ?>"> <link rel="stylesheet" href="<?php echo $base_url.'asstes/justifiedGallery.css' ; ?>" /> <link rel="stylesheet" type="text/css" href="<?php echo $base_url.'asstes/responsive.css';?>"> <!-- stylesheet end here --> <!-- javascript start here --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <script src="<?php echo $base_url.'asstes/jquery.justifiedGallery.js';?>"></script> <style> .btn1{ display: inline-block; margin-bottom: 11px; font-weight: 700; text-align: center; vertical-align: middle; cursor: pointer; background-image: none; border:none; text-transform:capitalize; font-family: 'PT Sans',serif; padding: 11px 18px; font-size: 12px; line-height: 1; border-radius:4px; } .btn-primary1{ color: #fff; } a:hover{ text-decoration: none; color: white; } @media only screen and (min-width: 525px) { .btn1{ min-width: 120px !important; } } @media only screen and (max-width: 500px) { a .forspace{ display: none; } a .hidesocialtext{ display:none; } } </style> <!-- javascript script end here --> </head> <body> <!-- navbar start here --> <header class="fixed-top"> <div class="container" style=""> <div class="row"> <div class="col-md-12"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark "> <!-- Show this only on mobile to medium screens --> <a class="navbar-brand d-lg-none mobilelogo" href="<?php echo $base_url.'index.php';?>"><img src="<?php echo $base_url.'images/logo_pranesh.svg';?>"></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggle" aria-controls="navbarToggle" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <!-- Use flexbox utility classes to change how the child elements are justified --> <div class="collapse navbar-collapse justify-content-center" id="navbarToggle"> <ul class="navbar-nav ulwitdh"> <li class="nav-item"> <a class="nav-link active" href="<?php echo $base_url.'index.php';?>" style="">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="<?php echo $base_url.'about.php';?>">about</a> </li> </ul> <!-- Show this only lg screens and up --> <a class="navbar-brand d-none d-lg-block desktoplogo" href="<?php echo $base_url.'index.php';?>"><img src="<?php echo $base_url.'images/logo_pranesh.svg';?>"></a> <ul class="navbar-nav ulwitdh"> <li class="nav-item dropdown"> <a class="nav-link " href="#" id="navbardrop" data-toggle="dropdown"> portfolio </a> <div class="dropdown-menu "> <?php // include "config.php"; $cat_query="select * from category order by id asc"; $cat_query_check=mysqli_query($conn,$cat_query); while($data=mysqli_fetch_assoc($cat_query_check)){ ?> <a class="dropdown-item" href='<?php echo $base_url;?>category/<?php echo create_slug($data["category"]); ?>' style="padding: 10px !important;"><?php echo $data['category']; ?></a> <?php } ?> </div> </li> <li class="nav-item"> <a class="nav-link" href="<?php echo $base_url.'contact.php';?>">contact</a> </li> </ul> </div> </nav> </div> </div> </div> </header> <section class="section-75"> <div class="container"> <div class="row"> <div class="col-md-12"> <div > <a href="http://www.facebook.com/sharer.php?u=<?php echo $img_url; ?>" target="_blank" class="btn1 btn-primary1" style="background-color: #4267B2;"><i class="fab fa-facebook-f " ></i><span class="forspace"> </span><span class="hidesocialtext">Share</span></a> <!-- Twitter --> <a href="http://twitter.com/share?url=<?php echo $img_url; ?>&text=<?php echo $img_url;?>&hashtags=simplesharebuttons" target="_blank" class="btn1 btn-primary1" style="background-color: #55acee;"><i class="fab fa-twitter"></i><span class="forspace"> </span><span class="hidesocialtext">Tweet</span></a> <a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo $img_url; ?>" target="_blank" class="btn1 btn-primary1" style="background-color: #0077b5; "><i class="fab fa-linkedin-in"></i><span class="forspace"> </span><span class="hidesocialtext">Share</span></a> <a href="https://api.whatsapp.com/send?text=<?php echo $img_url;?>" data-action="share/whatsapp/share" class="btn1 btn-primary1" style="background-color: #25d366;" target="_blank"> <i class="fab fa-whatsapp"></i><span class="forspace"> </span><span class="hidesocialtext">Share</span></a> </div> </div> </div> <div class="row"> <div class="col-md-12 image-margin-bottom"> <a><img alt="<?php echo $row_heading; ?>" class="w-100" src="<?php echo $img_path; ?>" title="<?php echo $row_heading; ?>"></a> </div> </div> <div class="container"> <div class="col-md-12 back-p-2 text-right"> <a href='<?php echo $base_url;?>category/<?php echo create_slug($image_cat); ?>'> << Back To Category <?php echo $image_cat; ?></a> </div> </div> </div> </section> <!-- https://bootsnipp.com/snippets/E10d8 --> <!-- https://codepen.io/billyhalim/pen/GZbZvO --> <?php include "include/footer.php" ;?>