Server IP : 103.53.40.154 / Your IP : 3.145.155.149 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/fastelevator.in/admin/../../uttamnagarproperties.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("uttam-header.php");?> <!-- .site-header --> <?php if(empty($_SESSION['RID'])){ header("lacation:index.php"); exit; } $propertyDELid = $_REQUEST['proDelId']; if($propertyDELid!=''){ $delSql = db_query("delete from tbl_posted_properties where 1 and posted_properties_id='$propertyDELid'"); $img_selct = db_query("select * from tbl_properties_image where 1 and properties_image_property_id='$propertyDELid'"); while($sqlsel = mysqli_fetch_array($img_selct)){ $imgName = $sqlsel['properties_image_name']; @unlink("property_image/$imgName"); $del_img = db_query("delete from tbl_properties_image where 1 and properties_image_property_id='$propertyDELid'"); } header("location:my-properties.php"); exit; } ?> <!-- .site-header --> <div class="page-head " style="background: url(images/top-head.jpg) #494c53 no-repeat center top; background-size: cover;"> <div class="container"> <div class="page-head-content"> <h1 class="page-title"><span>My Properties</span></h1> </div> </div> </div> <!-- .page-head --> <div id="content-wrapper" class="site-content-wrapper site-pages"> <div id="content" class="site-content layout-boxed"> <div class="row"> <div class="col-sm-12"> <div id="AddSucc" style="display:none; color:#090; text-align:center; font-size:16px;"><strong>Success ! Property deleted successfully.</strong> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-xs-12 site-main-content"> <main id="main" class="site-main"> <?php $prSql = db_query("select * from tbl_posted_properties where 1 and posted_properties_user_id='".$_SESSION['RID']."' order by posted_properties_id desc"); if(mysqli_num_rows($prSql)>0){ while($PRDATA = mysqli_fetch_array($prSql)){ ?> <article class="user-submit-property meta-item-half hentry clearfix"> <div class="property-thumbnail col-xs-3 col-lg-2"> <a href="property-detail.php?main_property_id=<?=$PRDATA['posted_properties_id'];?>"><img class="img-responsive" src="property_image/<?=db_scalar("select properties_image_name from tbl_properties_image where 1 and properties_image_property_id='$PRDATA[posted_properties_id]' order by properties_image_id desc limit 0,1");?>" alt="<?=$PRDATA['posted_properties_title']?>"></a> </div> <div class="content-wrapper col-xs-9 col-lg-10"> <div class="title-and-meta"> <header class="entry-header"> <h3 class="entry-title"> <a href="property-detail.php?main_property_id=<?=$PRDATA['posted_properties_id'];?>" rel="bookmark"><?=$PRDATA['posted_properties_title']?> <span class="text-primary">(<?=$PRDATA['posted_properties_project'];?>)</span></a><span class="price"><i class="fa fa-inr"></i> <?=$PRDATA['posted_properties_price']?> <?=$PRDATA['posted_properties_price_postfix']?></span> </h3> </header> <!-- .entry-header --> <div class="property-meta entry-meta clearfix"> <div class="meta-item"> <span class="meta-item-label">Posted on:</span> <span class="meta-item-value"><?=date("d M Y",strtotime($PRDATA['posted_properties_add_date']));?></span> </div> <div class="meta-item"> <span class="meta-item-label">Last Modified:</span> <span class="meta-item-value"><?php if($PRDATA['posted_properties_update_date']!='0000-00-00'){ ?><?=date("d M Y",strtotime($PRDATA['posted_properties_update_date']));?><? }else{ ?><?=date("d M Y",strtotime($PRDATA['posted_properties_add_date']));?><? } ?></span> </div> <div class="meta-item"> <span class="meta-item-label">Status:</span> <span class="meta-item-value <?php if($PRDATA['posted_properties_status']=='Approved'){ ?>approved <? }else{ ?>pending<? } ?>"><?=$PRDATA['posted_properties_status']?></span> </div> </div> <!-- .property-meta --> </div> <!--.title-and-meta --> <div class="action-buttons"> <!-- <a class="btn-default" href="#">Pay with Paypal</a>--> <p><a href="submit-property.php?propertyID=<?=base64_encode($PRDATA['posted_properties_id']);?>¶m=<?=base64_encode("uttam nagar properties");?>" title="Edit Propertry"><i class="fa fa-pencil-square-o"></i></a> <a href="my-properties.php?proDelId=<?=$PRDATA['posted_properties_id'];?>" title="Delete Property" onClick="javascript:return confirm('Do you really want to delete this property??');"><i class="fa fa-trash-o"></i></a> <a href="property-detail.php?main_property_id=<?=$PRDATA['posted_properties_id'];?>" target="_blank" title="View Property"><i class="fa fa-eye"></i></a></p> <p style="margin-top:15px;"><a href="javascript:void(0);" style="cursor:default;"><span class="property-status-tag"><?=$PRDATA['posted_properties_rent_sale'];?></span></a></p> </div> <!-- .action-buttons --> </div> <!-- .content-wrapper --> </article> <? }} ?> <!-- .user-submit-property --> <div class="pagination"> <a class="prev page-numbers" href="#"><i class="fa fa-angle-left"></i></a> <span class="page-numbers current">1</span> <a class="page-numbers" href="#">2</a> <a class="next page-numbers" href="#"><i class="fa fa-angle-right"></i></a> </div> <!-- .pagination --> </main> <!-- .site-main --> </div> <!-- .site-main-content --> </div> <!-- .row --> </div> <!-- .container --> </div> <!-- .site-content --> </div> <!-- .site-content-wrapper --> <?php include("uttam-footer.php");?>