Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/public_html/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/public_html/project-detail.php

<?php 
include('config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
$db = new DBConn();
require_once(PATH_INCLUDE.'/header.php');

//$id=explode('@@',base64_decode($_REQUEST['id']));

if(!empty($_REQUEST['id'])){
    $id=explode('@@',base64_decode($_REQUEST['id']));  
}

if(!empty($_REQUEST['id']) && $id[0]==1){
    $cid = 1;
}else if(!empty($_REQUEST['id']) && $id[0]==2){
    $cid = 2;
}else{
    $cid = 1;
}

$longImage=$db->ExecuteQuery("SELECT Long_Image FROM category WHERE Category_Id=".$cid);

$sql="SELECT SC.Sub_Id, SC.Sub_Name, Image_Path, CG.Category_Name, SC.Sub_Desc, IU.Client_Id, C.Client_Name 

    FROM sub_category SC 

    INNER JOIN category CG ON CG.Category_Id=SC.Category_Id 
    INNER JOIN image_upload IU ON IU.Sub_Id=SC.Sub_Id  
    INNER JOIN clients C ON C.Client_Id=IU.Client_Id

    WHERE SC.Category_Id=".$cid." AND SC.Sub_Id=".$id[1]." AND MainImage=1 GROUP BY IU.Client_Id ORDER BY SC.`Position` ASC";

$subcat=$db->ExecuteQuery($sql);
?>
<section class="p-t-0 p-b-0">
	
	<div class="d-flex">
        <!-- background animation  -->      
        <div class="bg-animate"><img src="images/body-bg.png"  class="respimg" alt=""></div>
        <!-- wrapper inner -->
		<div class="wrapper-inner">
			<!-- <div class="sec-title text-center mb50 wow bounceInDown animated" data-wow-duration="500ms">
				<h2>Project Detail</h2>
				<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
			</div> -->

            <div class="container2">
                <div class="wow bounceInDown animated" data-wow-duration="500ms">
                    <div class="section-title">
                        <h3><?php echo $subcat[1]['Sub_Name']." CLIENTS FOR ".$subcat[1]['Category_Name']; ?></h3>
                    </div>
                </div>

                <section style="border-bottom: 6px solid #eee;">
                    <div class="gallery-items three-coulms grid-small-pad">
                        <!-- 1 -->
                        <?php foreach($subcat as $val){ ?>
                        <div class="gallery-item houses">
                            <div class="grid-item-holder">
                                <div class="box-item">
                                    <a href="client.php?id=<?php echo base64_encode($id[0].'@@'.$val['Sub_Id'].'@@'.$val['Client_Id']) ;?>">
                                        <span class="overlay2"></span> 
                                        <img  src="<?php echo PATH_UPLOAD_IMAGE.'/projects/'.$val['Image_Path']?>" alt="">
                                    </a>
                                </div>
                                <div class="grid-item ">
                                    <h3><a href="client.php?id=<?php echo base64_encode($id[0].'@@'.$val['Sub_Id'].'@@'.$val['Client_Id']) ;?>" class=""><?php echo $val['Client_Name'];?></a></h3>
                                    <span><?php echo $subcat[1]['Category_Name'] ?> DESIGN</span>
                                </div>
                            </div>
                        </div>
                        <?php } ?>
                        
                    </div>
                    <!-- end gallery items -->
                    <div style="clear: both;"></div>
                </section>
                <div class="content-nav">
                    <!-- <ul>
                        <li style="font-size: 28px;"><i class="fa fa-long-arrow-left"></i></li>
                        <li><span>/</span></li>
                        <li><a href="interior-design.html" class="ajax"><i class="fa fa-long-arrow-right"></i></a></li>
                    </ul> -->
                    <div class="p-all">
                        <a href="projects.php?cid=<?php echo base64_encode($id[0]); ?>"><i class="fa fa-th-large"></i></a>
                    </div>
                </div>
            </div>
		</div>

        <div class="img-wrap2 p-r-0 p-l-0 hidden-xs" style="background: #f4f4f4 url('<?php echo PATH_UPLOAD_IMAGE.'/category/long/'.$longImage[1]['Long_Image']?>') right fixed no-repeat; background-size: 40%; overflow:hidden; position: fixed;"></div>
        <!-- <div class="img-wrap">
            <div class="bg" style="background-image: url(images/bg/long/1.jpg)" data-top-bottom="transform: translateY(300px);" data-bottom-top="transform: translateY(-300px);"></div>
        </div> -->
		<!-- <?php if($id[0]==1){ ?>
            <div class="img-wrap2 p-r-0 p-l-0 hidden-xs" style="background: #f4f4f4 url('images/bg/long/1.jpg') right fixed no-repeat; background-size: 40%; overflow:hidden; position: fixed;"></div>
        <?php }else{ ?>
            <div class="img-wrap2 p-r-0 p-l-0 hidden-xs" style="background: #f4f4f4 url('images/bg/long/4.jpg') right fixed no-repeat; background-size: 40%; overflow:hidden; position: fixed;"></div>
        <?php } ?> -->
        
	</div>
</section>


<?php require_once(PATH_INCLUDE.'/footer.php'); ?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42