LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /home/udaipurk/public_html/websites/samaj/samaj/
File Upload :
Command :
Current File : /home/udaipurk/public_html/websites/samaj/samaj/tirth.php

<?php
include('header.php');

 ?>


						<br>
						<section id="ccr-world-news">
					<div class="ccr-gallery-ttile">
							<span></span> 
							<p>Explore Tirth</p>
					</div> <!-- .ccr-gallery-ttile -->
					<div id="post_content" class="post_content" role="main" >
            
                <article id="post_287" class="format-standard gallery-style-1 post-287 page type-page status-publish hentry">
                
<div id="table_div" class="sc_table sc_table_style_regular" style="    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;">
<form action="" method="get" id="commentform">
				<table style="    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;width:100%">
																<tr>
																	<td style="border: 1px solid #e0e0e0;
    padding: 7px 10px 7px;
    background: #fff;
    overflow: hidden;
    font-size: 15px;
    color: #000;"> Select State</td>
																	<td style="border: 1px solid #e0e0e0;padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 15px;color: #000;">
																	<select name="state"  style="padding:3px;height:36px;width:60%">
																	<option value="0">Select</option>
																	<?php 
																	$query=mysqli_query($link,"select distinct city from tirth");
																	while($row=mysqli_fetch_array($query))
																	{
																	?>
																	<option><?php echo $row['city']; ?></option>
																	<?php } ?>
																	</select></td>
																	
																	</tr>
																
																	<tr>
																	<td colspan="2" style="border: 1px solid #e0e0e0;
    padding: 7px 10px 7px;

    background: #fff;
    overflow: hidden;
    font-size: 15px;
    color: #000;"><input id="submit" type="submit" name="search" value="Search" style="margin:10px 0 10px 0" /></td>

																	</tr>
																	</table>
																	</form>
							</div>							
 <div class="post_content clearboth">
<?php 
if(isset($_GET['state']))
{
	$state=$_GET['state'];
	$query=mysqli_query($link,"select * from tirth where city='$state' order by t_id desc");
	$num_rows=mysqli_num_rows($query);
	if($num_rows!=0)
	{
?>
 <div class="ccr-last-update">
				<div class="update-ribon" style="width:140px">Search Results</div> <!-- /.update-ribon -->
				<span class="update-ribon-right"></span> <!-- /.update-ribon-left -->
				<div class="update-news-text" id="update-news-text" >
						<ul id="latestUpdate">  
						    <li style="width:100%"><a href="#">Total Tirth Place(<?php echo $num_rows; ?>)</a></li>
						   
						</ul>
				</div> <!-- /.update-text -->

				<div class="update-right-border"></div> <!-- /.update-right-border -->
			</div> <!-- / .ccr-last-update -->


		<div id="table_div" class="sc_table sc_table_style_regular" style="border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;">
			
<table border="1" style="    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 20px;width:100%" id="tablepaging" class="yui">
<tbody>
<!– Results table headers –>
<thead>
<th style="    padding: 9px 10px 9px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
    color: #404040;
	 border: 1px solid #e0e0e0;
    background: #ffffff;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
    background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Photo</th>

<th style="    padding: 9px 10px 9px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
    color: #404040;
    background: #ffffff;
	 border: 1px solid #e0e0e0;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
    background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Name</th>
<th style="    padding: 9px 10px 9px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
    color: #404040;
	 border: 1px solid #e0e0e0;
    background: #ffffff;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
    background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">State</th>
<th style="    padding: 9px 10px 9px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
	 border: 1px solid #e0e0e0;
    color: #404040;
    background: #ffffff;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
    background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Address</th>

<th style="    padding: 9px 10px 9px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;
    color: #404040;
	 border: 1px solid #e0e0e0;
    background: #ffffff;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
    background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
    background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">View Detail</th>

</thead>
<?php 
while($sh_res=mysqli_fetch_array($query))
{
	$t_id=$sh_res['t_id'];
?>
<tr >
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px; background: #fff;overflow: hidden;font-size: 15px;color: #000;"><img src="admin/<?php echo $sh_res['photo']; ?>" style="width:130px;height:100px"/></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 15px;color: #000;"><?php echo $sh_res['name']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 15px;color: #000;"><?php echo $sh_res['city']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 15px;color: #000;"><?php echo $sh_res['address']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 15px;color: #000;"><a href="<?php echo "tirth_detail.php?t_id=$t_id" ?>" >Click Here</a></td>
</tr>
<?php } ?>
</tbody>
</table>
<div id="pageNavPosition" style="padding-top: 20px">
		</div>
	<script type="text/javascript"><!--
var pager = new Pager('tablepaging', 30);
pager.init();
pager.showPageNav('pager', 'pageNavPosition');
pager.showPage(1);
</script>	
    
					    	        </article>
    			
                					                                    
                
		</div><!-- #content -->
<?php } } ?>
					</section>

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

LittleDemon - FACEBOOK
[ KELUAR ]