Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/www/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/www/index-old.php

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


//get hhere sub - category list
$subcat=$db->ExecuteQuery("SELECT SC.Sub_Id, SC.Sub_Name, Image_Path, CG.Category_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 AND MainImage=1 WHERE CG.Category_Id=1  ORDER BY SC.`Position` ASC");

/*$subcat2=$db->ExecuteQuery("SELECT SC.Sub_Id, SC.Sub_Name, Image_Path, CG.Category_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 AND MainImage=1 WHERE CG.Category_Id=2  ORDER BY SC.`Position` ASC");*/

/*$subcat3=$db->ExecuteQuery("SELECT SC.Sub_Id, SC.Sub_Name, Image_Path, CG.Category_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 AND MainImage=1 WHERE CG.Category_Id=3  ORDER BY SC.`Position` ASC");*/

$subcategories=$db->ExecuteQuery("SELECT Sub_Id, Sub_Name FROM sub_category WHERE Category_Id=1 ORDER BY Sub_Name ASC");
$getTeam=$db->ExecuteQuery("SELECT Team_Id,Team_Member_Name, Designation, Short_Description, Description, Photo FROM team ORDER BY Team_Id ASC");
$getSlides=$db->ExecuteQuery("SELECT Title, Line1, Image, URL FROM slider ORDER BY Id DESC");
$getSlidesCount=$db->ExecuteQuery("SELECT COUNT(Image) AS ImageCount FROM slider");

/********************************/
$getCategory=$db->ExecuteQuery("SELECT Category_Id, Category_Name, Category_Image FROM category");
$video=$db->ExecuteQuery("SELECT * FROM video");
$getOurWorks=$db->ExecuteQuery("SELECT * FROM our_works");
/********************************/

/*if (isset($_REQUEST['submit']) ) {
	
	///////////////////////////////////
		//data send to the admin via Email
		///////////////////////////////////
		
		//$to  = "mail@shrishtiarchitects.com";
		$to  = "sudhir5106@gmail.com";
		
		// subject ///////////////////////////////////////
		$subject = 'New enquiry has been initiated';
		
		$user_name=$_POST['name'];
		$emailId=$_POST['email'];
		$msg=$_POST['message'];
		
		
		// message ////////////////////////////////////////////////
		$message = "
		<table width='100%' border='0' cellspacing='0' cellpadding='0'>
		  <tr>
			<td>Name:</td>
			<td align='left'><strong>$user_name</strong></td>
		  </tr>
		  <tr>
			<td>Email:</td>
			<td align='left'><strong>$emailId</strong></td>
		  </tr>
		  <tr>
			<td>Message/Enquiry:</td>
			<td align='left'><strong>$msg</strong></td>
		  </tr>
		</table>";
		
		// To send HTML mail, the Content-type header must be set
		$headers  = 'MIME-Version: 1.0' . "\r\n";
		$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
		
		
		// Additional headers
		$headers .= 'From: Shrishti Architects <mail@shrishtiarchitects.com>' . "\r\n";
		//$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
		//$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
		
		// Mail it
		mail($to, $subject, $message, $headers);
		////////////////////////////////////////////////////////////////
		echo 1;
	
}// eof submit*/

?>
<script type="text/javascript">
	function checkForm()
	{	
		var name = document.getElementById("name").value;
		var email = document.getElementById("email").value;
		var enquiry = document.getElementById("message").value;
		
		if (name=="")
		{
			alert("Please Enter Your Name");
			return(false);
		}
		if (email=="")
		{
			alert("Please Enter Your Email");
			return(false);
		}
		if (enquiry=="")
		{
			alert("Please submit your Message");
			return(false);
		}
		
		return(true);	
	}
</script>
		
        <!-- section 1 Slider image -->
          <section class="p-t-0 p-b-0">
              <div id="sg-carousel" class="carousel slide carousel-fade" data-ride="carousel">                 
                 <!-- Carousel items -->
                 <div class="carousel-inner carousel-zoom xs-height">
                 <?php 
                 $i=1;
                 
                 foreach($getSlides AS $getSlidesVal){                 	
                 ?>
                  
                 <div class="item <?php if($i==1){ echo "active"; } ?>">
                        <!--<img class="img-responsive" src="images/slide/1.jpg" alt="">-->
                        <img class="img-responsive" src="<?php echo PATH_UPLOAD_IMAGE."/slider/".$getSlidesVal['Image'] ?>" alt="">
                        <div class="carousel-caption animated bounceInUp">
                            <div class="slide-caption">
                                <div class="col-sm-10 col-xs-10 padding-left-zero">
                                	<strong><?php echo $getSlidesVal['Title']; ?></strong><br>
                               		<span><?php echo $getSlidesVal['Line1']; ?></span>
                                </div>
                        	</div>
                      	</div>
                 </div> 
               <?php  
                 $i++;
                  }?>
                      <!-- Carousel nav -->
                      <a class="carousel-control left" href="#sg-carousel" data-slide="prev">‹</a>
                      <a class="carousel-control right" href="#sg-carousel" data-slide="next">›</a>
                      
                 
              </div>
          </div>
          </section>

        <!--
        Home Slider
        ==================================== -->
		
		<!-- <section id="slider">
			<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
			
				
				<ol class="carousel-indicators">
					
					<?php 
					$j=0;
					for($i = 1; $i <= $getSlidesCount[1]['ImageCount']; $i++) { ?>
						<li class="<?php echo $i==1?'active':'' ?>" data-target="#carousel-example-generic" data-slide-to="<?php echo $j; ?>"></li>
					<?php $j++;} ?>					
					
					
				</ol>
				
				<div class="carousel-inner custom-slider-block" role="listbox">
					 
					
					<div class="item active" style="background: url(<?php echo PATH_IMG ?>/slider/1.jpg) center center;">
						<div class="carousel-caption ts-animate-hero-items">
							<h2 data-wow-duration="700ms" data-wow-delay="500ms" class="wow bounceInDown animated">Rupesh<span> Patni</span>!</h2>
							
							<h3 id="description" data-wow-duration="1000ms" class="wow slideInLeft animated"><span class="color" >Architect</span></h3>
							
							 <p data-wow-duration="1000ms" class="wow slideInRight animated">We are a team of professionals</p>
							 
							
						</div>
					</div>
					
					<?php 
					$i=1;
					foreach($getSlides AS $getSlidesVal){ ?>
					
					<div class="item <?php echo $i==1?'active':''; ?>" style="background-image: url(<?php echo PATH_UPLOAD_IMAGE."/slider/".$getSlidesVal['Image'] ?>);"><a target="_blank" class="slideLink" href="<?php echo $getSlidesVal['URL']; ?>"></a>
						<div class="carousel-caption">
							<h2 data-wow-duration="500ms" data-wow-delay="500ms" class="wow bounceInDown animated"><?php echo $getSlidesVal['Title']; ?>!</h2>
							
							<p><?php echo $getSlidesVal['Line1']; ?></p>
							
						</div>
					</div>
				<?php $i++; } ?>
					
				</div>
				
			</div>
		</section> -->
		
        <!--
        End Home SliderEnd
        ==================================== -->
		
        <!--
        Features
        ==================================== -->
		
		<section id="services" class="services features">
			<div class="container">
				<div class="row">
				
					<div class="sec-title text-center mb50 wow bounceInDown animated" data-wow-duration="500ms">
						<h2>Our Services</h2>
						<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
					</div>

					<div class="sec-sub-title text-center">
						<!-- <h3 class="m-b-30"><strong>Our Specialization: Hotels &amp; Restaurants.</strong></h3> -->
						<p style="font-weight:normal;">
							<strong>Ar.Rupesh Patni</strong> has made the firm into a specialised work force. We excel in both <strong>architectural and interior design of buildings like hotels (restaurants, bars), schools, residential (apartments, bunglows), commercial complexes, religious buildings, factories, vehicles showrooms, etc.</strong> <br><br>

Our interior design department deals exhaustively in <strong>interiors of commercial establishments like jewellery showrooms, fashion stores, hotels, restaurants, flats & bunglows, etc.</strong><br><br>

Our specialization: <strong>hotels & restaurants, showrooms, bunglows etc</strong>.

						</p>
						<!-- <p style="font-weight:normal;">Our interior design department deals exhaustively in interiors of commercial establishments <br><strong>like:</strong> jewellery shops, fashion stores, hotels, restaurants, residential buildings like bunglows, etc.

We undertake designing and planning of both architectural and interior projects with emphasis on vaastu and its incorporation to all practical limits.<br>

3d images are developed to provide proper visualisation of the project concepts and help to envisage the beauty of your dreams before hand.<br><br>

We are proud to have a firm and long lasting relationship with our clients. We feel indebted to our numerous clients who have bestowed their faith in our professional ability by giving us multiple projects (by each client) all these years.<br>

We assure you of thorough professional guidance and are ready to take up projects of any nature and scale.</p> -->
					</div>

					<div class="row">
						<?php foreach ($getCategory as $key => $value) { ?>							
						
                        <!-- services 1 -->
                        <div class="col-md-4 wow fadeInLeft" data-wow-duration="500ms" data-wow-delay="900ms">
                            <div class="services-box box-item">
                                <div class="services-image box-item" style="height:224px;">
                                    <a href='<?php echo $value['Category_Id']=="1"?"architecture-service.php":($value['Category_Id']=="2"?"interior-design.php":"vastu-design.php") ?>' class="popup-youtube">
	                                    <span class="overlay2"></span>
	                                    <img src="<?php echo PATH_UPLOAD_IMAGE."/category/".$value['Category_Image'];?>"  alt="" class="respimg">
                                    </a>
                                </div>
                                <div class="services-info">
                                    <h4><?php echo $value['Category_Name']; ?></h4>
                                <?php if($value['Category_Id']=="1"){ ?>
                                    <ul>
                                        <li><span>Conceptual Planning</span></li>
                                        <li><span>3D Views</span></li>
                                        <li><span>Structural Planning</span></li>
                                    </ul>
                                <?php }else if($value['Category_Id']=="2"){ ?>

                                	<ul>
                                        <li><span>Conceptual Planning</span></li>
                                        <li><span>3D Views</span></li>
                                        <li><span>Material Selection</span></li>
                                    </ul>

                                <?php }else{ ?>

                                	<ul>
                                        <li><span>Right Direction</span></li>
                                        <li><span>Right Placement of Rooms</span></li>
                                        <li><span>Right Proportion</span></li>
                                    </ul>

                                <?php } ?>
                                </div>
                            </div>
                        </div>

                        <?php } ?>

                    </div>
						
				</div>
			</div>
		</section>
		
        <!--
        End Features
        ==================================== -->
		
		
        <!--
        Our Works
        ==================================== -->
		
		<section id="works" class="works clearfix">
			<div class="container">
				<div class="row">
				
					<div class="sec-title text-center">
						<h2>Our Works</h2>
						<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
					</div>
					
					<!-- <div class="sec-sub-title text-center">
						<p>Our interiror design department deals exhaustively in interior of commercial establishments like jewellery shops, fashion stores, hotels, restaurants, residential buildings like bunglows, etc.
						We undertake designing and planning of both achitectural and interior projects with emphasis on vaastu and its incorporation to all practical limits.</p>
					</div> -->
					
					<div class="work-filter wow fadeInRight animated m-t-30" data-wow-duration="500ms">
						<ul class="text-center">
							<li><a href="javascript:;" data-filter="all" class="active filter">All</a></li>
							<li><a href="javascript:;" data-filter=".hospitality" class="filter">Hospitality</a></li>
							<li><a href="javascript:;" data-filter=".residential" class="filter">Residential</a></li>
							<li><a href="javascript:;" data-filter=".commercial" class="filter">Commercial</a></li>
							<li><a href="javascript:;" data-filter=".institutional" class="filter">Institutional</a></li>
						</ul>
					</div>
					
				</div>
			</div>
			
			<div class="project-wrapper">
			
				<?php foreach($getOurWorks as $val){ ?>
				<figure class="mix work-item <?php echo $val['Subcategory'];?>">
					<a href="<?php echo $val['URL']; ?>">
						<div style="width:100%;overflow: hidden;"><img width="100%" src="<?php echo PATH_UPLOAD_IMAGE.'/ourworks/'.$val['Image']?>" /></div>
						<figcaption class="ImageCaption">
							<h4><?php echo $val['Subcategory'];?></h4>
						</figcaption>
					</a>
				</figure>
				<?php } ?>
				
			</div>
		

		</section>
		
        <!--
        End Our Works
        ==================================== -->
		
        <!--
        Meet Our Team
        ==================================== -->		
		
		<section id="team" class="team">
			<div class="container">
				<div class="row">
		
					<div class="sec-title text-center wow fadeInUp animated" data-wow-duration="700ms">
						<h2>Meet Our Team</h2>
						<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
					</div>
					
					<div class="sec-sub-title text-center wow fadeInRight animated" data-wow-duration="500ms">
						<!-- <p>We take the opportunity to introduce ourselves as a team of young and enterprising professionals. We have to our credit varied projects ranging from both residential to commercial in nature. Our services have included assistance as per requirment from designing, supervision, etc. to any special expert advice in any particular field, to providing complete manpower and construction assistance.</p> -->
						<p>We are a team of qualified professionals dedicated to shape your dreams into reality. Under the guidance of <strong>Ar.Rupesh Patni</strong>, we are providing customised solutions that serve you best.</p>
					</div>

					<!-- single member -->
					<?php foreach($getTeam AS $getTeamVal){ ?>
					<figure class="team-member m-b-30 col-md-3 col-sm-6 col-xs-12 text-center wow fadeInUp animated" data-wow-duration="500ms">
						<div class="member-thumb">
							<img src="<?php echo PATH_UPLOAD_IMAGE."/team/".$getTeamVal['Photo']; ?>" alt="Team Member" class="img-responsive">
							<figcaption class="overlay">
								<h5><?php echo $getTeamVal['Team_Member_Name']; ?></h5>
								<p><?php echo $getTeamVal['Short_Description']; ?></p>
								<div style="margin-top: 30px;"><button type="button" id="teamId-<?php echo $getTeamVal['Team_Id']; ?>" class="btn btn-info viewMoreBtn" style="float:none;">View more</button></div>
							</figcaption>
						</div>
						<h4><?php echo $getTeamVal['Team_Member_Name']; ?></h4>
						<span><?php echo $getTeamVal['Designation']; ?></span>
					</figure>
					<?php } ?>
					<!-- end single member -->


					<div class="modal" id="myModal">
					  <div class="modal-dialog modal-lg zoomInUp animated delay-1s">
					    <div class="modal-content">

					      <!-- Modal Header -->
					      <div class="modal-header" style="border-bottom: 0;">
					        
					      </div>

					      <!-- Modal body -->
					      <div id="team-details" class="modal-body">
					        
					      </div>

					      <!-- Modal footer -->
					      <div class="modal-footer" style="text-align: center;">
					        <button type="button" class="btn btn-danger" data-dismiss="modal" style="float:none;">Close</button>
					      </div>

					    </div>
					  </div>
					</div>
					
					
					
				</div>
			</div>
		</section>
		
        <!--
        End Meet Our Team
        ==================================== -->
		
		<!--
        Some fun facts
        ==================================== -->		
		
		<section id="facts" class="facts">
			<div class="parallax-overlay">
				<div class="container">
					<div class="row number-counters">
						
						<div class="sec-title text-center mb50 wow rubberBand animated" data-wow-duration="1000ms">
							<h2>Some Fun Facts</h2>
							<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
						</div>
						
						<!-- first count item -->
						<div class="col-md-3 col-sm-6 col-xs-12 text-center wow fadeInUp animated" data-wow-duration="500ms">
							<div class="counters-item">
								<i class="fa fa-clock-o fa-3x"></i>
								<strong data-to="3200">0</strong>
								<!-- Set Your Number here. i,e. data-to="56" -->
								<p>Hours of Work</p>
							</div>
						</div>
						<div class="col-md-3 col-sm-6 col-xs-12 text-center wow fadeInUp animated" data-wow-duration="500ms" data-wow-delay="600ms">
							<div class="counters-item">
								<i class="fa fa-rocket fa-3x"></i>
								<strong data-to="360">0</strong>
								<!-- Set Your Number here. i,e. data-to="56" -->
								<p>Finished Projects</p>
							</div>
						</div>

						<div class="col-md-6 col-sm-6 col-xs-12 text-center wow fadeInUp animated">
							<?php echo $video[1]['Video_Link'] ?>
						</div>
						<!-- end first count item -->
				
					</div>
				</div>
			</div>
		</section>
		
        <!--
        End Some fun facts
        ==================================== -->
		
		
		<!--
        Contact Us
        ==================================== -->		
		
		<section id="contact" class="contact">
			<div class="container">
				<div class="row mb50">
				
					<div class="sec-title text-center mb50 wow fadeInDown animated" data-wow-duration="500ms">
						<h2>Let’s Discuss</h2>
						<div class="devider"><i class="fa fa-heart-o fa-lg"></i></div>
					</div>
					
					<div class="sec-sub-title text-center wow rubberBand animated" data-wow-duration="1000ms">
						<p>WANT TO ORDER A PROJECT ? CONTACT WITH US</p>
					</div>
					
					<!-- contact address -->
					<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12 wow fadeInLeft animated" data-wow-duration="500ms">
						<div class="contact-address">
							<h3>CONTACT DETAILS!</h3>
							<p>Manglam Chambers, Block : C, Plot: 6-7,</p>
							<p>Dakshin Gangotri, Supela, Bhilai - 490023</p>
							<p><i class="fa fa-phone"></i> 0788-2974500</p>
							<p><i class="fa fa-mobile"></i>&nbsp; 07647-982-800</p>
							<p><i class="fa fa-envelope-o"></i> <a class="mail" href="mailTo:mail@shrishtiarchitects.com">mail@shrishtiarchitects.com</a></p>
						</div>
					</div>
					<!-- end contact address -->

 
					
					<!-- contact form -->
					<div class="col-lg-8 col-md-8 col-sm-7 col-xs-12 wow fadeInDown animated" data-wow-duration="500ms" data-wow-delay="300ms">
						<div class="contact-form">
							<h3>Say hello!</h3>
							<form class="form-horizontal fromstyle" role="form" id="contactform" action="sendemail.php" method="post" onsubmit="return checkForm()">
								<div class="input-group name-email">
									<div class="input-field">
										<input type="text" name="name" id="name" placeholder="Name" class="form-control">
									</div>
									<div class="input-field">
										<input type="email" name="email" id="email" placeholder="Email" class="form-control">
									</div>
								</div>
								<div class="input-group">
									<textarea name="message" id="message" placeholder="Message" class="form-control"></textarea>
								</div>

								<div class="input-group">
									<input type="submit" id="form-submit" class="pull-right" value="Send message">
								</div>
							</form>
						</div>
					</div>
					<!-- end contact form -->
					
					<!-- footer social links -->
					<div class="col-lg-1 col-md-1 col-sm-1 col-xs-12 wow fadeInRight animated" data-wow-duration="500ms" data-wow-delay="600ms">
						<ul class="footer-social">							
							<li><a target="_blank" title="Twitter" href="https://twitter.com/shrishti_arch"><i class="fa fa-twitter fa-2x"></i></a></li>						
							<li><a target="_blank" title="Facebook" href="https://www.facebook.com/shrishtiarchitects01"><i class="fa fa-facebook fa-2x"></i></a></li>
							<li><a target="_blank" title="Youtube" href="https://www.youtube.com/channel/UCnRFYkpqqf9fufD08EcqVCA"><i class="fa fa-youtube fa-2x"></i></a></li>
							<li><a target="_blank" title="Instagram" href="https://www.instagram.com/shrishtiarchitects01/"><i class="fa fa-instagram fa-2x"></i></a></li>
						</ul>
					</div>
					<!-- end footer social links -->
					
				</div>
			</div>
			
			<!-- Google map -->
			<!-- <div id="map_canvas" class="wow bounceInDown animated" data-wow-duration="500ms"></div> -->
			<!-- End Google map -->
			
		</section>
		
        <!--
        End Contact Us
        ==================================== -->
<?php require_once(PATH_INCLUDE.'/footer.php'); ?>

<script type="text/javascript">
	$(document).ready(function(){
		$(document).on("click",".viewMoreBtn",function(e){
			var getId = $(this).attr("id");
			var teamId = getId.split("-");


			var formdata = new FormData();
			formdata.append('type', "getTeamMember");
			formdata.append('teamId', teamId[1]);
			
			$.ajax({
			   type: "POST",
			   url: "global_curd.php",
			   data:formdata,
			   success: function(data){ //alert(data); console.log(data);
				   
			   		$('#myModal').modal('show');
			   		$("#team-details").html(data);

			   },
			   cache: false,
			   contentType: false,
			   processData: false
			});//eof ajax

			
		});
	});//eof ready function
</script>


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