PHP 5.6.40
Preview: about.php Size: 3.50 KB
/home/urbanman/hindustansecurity.in/about.php

<?php
error_reporting(0);
include("admin/common/app_function.php");
include("admin/config.php");
include("header.php");
//index_header($title); 
?>
		
		
		<div>
			<div class="container">
				
				<div class="row">
					<div class="col-sm-2"></div>
					
					 <?php
   $r_abt = sprintf("SELECT * from  about");
	$resdata_abt = $conn->query($r_abt);
	$rowAbt = mysqli_fetch_assoc($resdata_abt);
  
  ?>
					<div class="col-sm-2"></div>
				</div>
				<div class="row tab-row" style="margin-top:20px;margin-bottom:20px;">
					
					<div class="col-sm-12">
					<center>	
						<div class="tab">
							  
							  <button class="tablinks " onclick="openCity(event, 'Hospitality')"  id="defaultOpen">About</button>
							
							  <button class="tablinks " onclick="openCity(event, 'Vision')">Our Vision</button>
							<button class="tablinks " onclick="openCity(event, 'Mission')">We Provide</button>
						</div>
						</center>
						<div id="Hospitality" class="tabcontent" >
						<div class="row">
				    
					<div class="col-md-6" style="margin-bottom:10px;">
					    
					<img class="d-block w-100 img-thumbnail" src="<?php echo "admin/".$uploadpath.$rowAbt['img']; ?>" class="img-fluid" style="margin-top:20px ! important">
					</div>
					<div class="col-md-6">
					<p><?php echo $rowAbt[content];?> </p>
					
					</div>
				</div>
						
						</div>
					 <?php
   $r_vision = sprintf("SELECT * from  vision");
	$resdata_visi = $conn->query($r_vision);
	$rowVision = mysqli_fetch_assoc($resdata_visi);
  
  ?>	
						<div id="Vision" class="tabcontent"   >
						<div class="row">
				    
					<div class="col-md-6" style="margin-bottom:10px;">
					
						<img class="d-block w-100 img-thumbnail" src="<?php echo "admin/".$uploadpath.$rowVision['img']; ?>" class="img-fluid" style="margin-top:20px ! important">
					</div>
					<div class="col-md-6">
						<p><?php echo $rowVision[content];?></p>
					
					</div>
				</div>
							
						</div>
						<div id="Mission" class="tabcontent">
						<div class="row">
				    <div class="col-md-6">
						 <img class="d-block w-100 img-thumbnail" src="img/security-services.png" alt="we provide" style="margin-top:20px ! important">
						
						
					</div>
					<div class="col-md-6" style="margin-bottom:10px;">
					   
						<div class="container">
  <h2>We Provide</h2>
         
  <table class="table">

    <tbody>
	 <?php
   $r_weprovide = sprintf("SELECT * from  weprovide");
	$resdata_wepro = $conn->query($r_weprovide);
	while($rowWepro = mysqli_fetch_assoc($resdata_wepro)){?>

      <tr>
        <td><font color="#0A8D1A">&raquo; <?php echo $rowWepro[content];?></font></td>
      
      </tr>
	<?php } ?>
     
    </tbody>
  </table>
</div>

					</div>
					
				</div>
							
						</div>
					</div>
					
				<script>
				function openCity(evt, cityName) {
					var i, tabcontent, tablinks;
					tabcontent = document.getElementsByClassName("tabcontent");
					for (i = 0; i < tabcontent.length; i++) {
						tabcontent[i].style.display = "none";
					}
					tablinks = document.getElementsByClassName("tablinks");
					for (i = 0; i < tablinks.length; i++) {
						tablinks[i].className = tablinks[i].className.replace(" active", "");
					}
					document.getElementById(cityName).style.display = "block";
					evt.currentTarget.className += " active";
				}

				// Get the element with id="defaultOpen" and click on it
				document.getElementById("defaultOpen").click();
				
				</script>
			
				</div>
			</div>
		</div><!---about end-->
		

		

		 <?php include("footer.php");?>

Directory Contents

Dirs: 7 × Files: 22

Name Size Perms Modified Actions
- drwxr-xr-x 2026-07-14 05:46:15
Edit Download
admin DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
cgi-bin DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
css DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
fonts DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
img DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
js DIR
- drwxrwxrwx 2026-07-14 05:46:15
Edit Download
3.50 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
28.62 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
24.41 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
78 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
951 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
1.78 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
2.78 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
2.40 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
933 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
0 B lrw-r--r-- 2026-07-14 05:56:45
Edit Download
3.45 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
0 B lrw-r--r-- 2026-07-15 01:40:45
Edit Download
864 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
6.67 KB lrw-rw-rw- 2026-07-01 15:48:05
Edit Download
14.66 KB lrw-rw-rw- 2026-07-01 15:48:35
Edit Download
4.49 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
992 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
923 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
3.67 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
534 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
604.86 KB lrw-rw-rw- 2026-06-26 17:25:03
Edit Download
287 B lrw-rw-rw- 2026-06-26 17:25:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).