Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/www/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/www/client.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']));

    /********************************/
    $sql="SELECT Image_Path, Client_Name, Website, IU.Project, Location, Short_Description, Description, SC.Sub_Name
    FROM image_upload IU 
    INNER JOIN clients C ON C.Client_Id=IU.Client_Id
    INNER JOIN sub_category SC ON SC.Sub_Id = IU.Sub_Id
    WHERE IU.Category_Id=".$id[0]." AND IU.Sub_Id=".$id[1]." AND IU.Client_Id=".$id[2];

    $subcat=$db->ExecuteQuery($sql);
    /********************************/

    $restClients = $db->ExecuteQuery("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='".$id[0]."' AND SC.Sub_Id='".$id[1]."' GROUP BY IU.Client_Id ORDER BY SC.`Position` ASC");
?>
<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="container2">

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

                <section style="border-bottom: 6px solid #eee;">                    
                    <section>
                        <div class="gallery-items three-coulms grid-small-pad popup-gallery">
                            
                            <?php foreach ($subcat as $key => $value) { ?>                            
                            <div class="gallery-item houses">
                                <div class="grid-item-holder">
                                    <div class="box-item">
                                        <a href="<?php echo PATH_UPLOAD_IMAGE.'/projects/'.$value['Image_Path']?>">
                                        <span class="overlay"></span> 
                                        <img  src="<?php echo PATH_UPLOAD_IMAGE.'/projects/'.$value['Image_Path']?>" alt="">
                                        </a>
                                    </div>
                                </div>
                            </div>
                            <?php } ?>
                            
                        </div>
                        <!-- end gallery items -->  
                        <div class="clear"></div>

                        <hr>

                        <div class="project-details">
                            <h3><strong><?php echo $subcat[1]['Short_Description'];?></strong></h3>
                            <p><?php echo $subcat[1]['Description'];?></p>
                            <ul class="descr">
                                <li><span>Project :</span>  <?php echo $subcat[1]['Project'];?></li>
                                <li><span>Location : </span>  <?php echo $subcat[1]['Location'];?></li>
                            <?php if(!empty($subcat[1]['Website'])){ ?>
                                <li><span>Website : </span>  <a target="_blank" class="websiteLink" href="<?php echo $subcat[1]['Website'];?>"><?php echo $subcat[1]['Website'];?></a></li>
                            <?php } ?>
                            </ul>
                        </div>

                        <div class="clear"></div>
                    </section>

                    <!-- about text end -->
                    <div class="content-nav">
                        <!-- <ul>
                            <li><a href="portfolio-single2.html" class="ajax"><i class="fa fa-long-arrow-left"></i></a></li>
                            <li><span>/</span></li>
                            <li><a href="portfolio-single3.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 class="p-r-0 p-l-0 hidden-lg">
      
                        <section  class="no-border">
                            <div class="section-title">
                                <h3><?php echo $subcat[1]['Sub_Name']?> Clients</h3>
                            </div>
                            <div class="project-details">
                                <div class="gallery-items three-coulms grid-small-pad">
                                    <?php foreach($restClients 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-custom">
                                                    <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>
                                                </div>
                                            </div>
                                        </div>
                                    <?php } ?>
                                </div>                    
                            </div>
                        </section>                    
                    </div>
                </section>
                
            </div>

                <!-- <section class="m-t-50" style="border-bottom: 6px solid #eee;">
                    <div class="gallery-items three-coulms grid-small-pad">
                        
                        <?php foreach($subcat as $val){ ?>
                        <div class="gallery-item houses">
                            <div class="grid-item-holder">
                                <div class="box-item">
                                    <a href="architecture-clients.html" class="ajax">
                                    <span class="overlay2"></span> 
                                    <img  src="<?php echo PATH_UPLOAD_IMAGE.'/'.$val['Image_Path']?>"   alt="">
                                    </a>
                                </div>
                                <div class="grid-item ">
                                    <h3><a href="architecture-clients.html" class=""><?php echo $val['Client_Name'];?></a></h3>
                                    <span>Architecture Design</span>
                                </div>
                            </div>
                        </div>
                        <?php } ?>
                        
                    </div>
                    
                    <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> -->
            </div>
		</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> -->
		<div class="img-wrap2 p-r-0 p-l-0 fixed-column-custom hidden-xs">
      
            <section  class="no-border">
                <div class="section-title">
                    <h3><?php echo $subcat[1]['Sub_Name']?> Clients</h3>
                </div>
                <div class="project-details">
                    <div class="gallery-items three-coulms grid-small-pad">
                        <?php foreach($restClients 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/thumb/'.$val['Image_Path']?>" alt="">
                                        </a>
                                    </div>
                                    <div class="grid-item-custom">
                                        <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>
                                    </div>
                                </div>
                            </div>
                        <?php } ?>
                    </div>                    
                </div>
            </section>
        
	</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