Ejemplo n.º 1
0
<?php

include "dtc_storefront.php";
$plaf = getTestimonials();
$testims = drawTestimonials($plaf);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>GPLHost:>_ Open source hosting worldwide _ Web spaces featuring GPL control panel</title>
</head>

<body id="globalpage" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
	  <?php 
echo $testims;
?>
	<?php 
echo drawTestimonialsForm("gplhost-testimonials-record.php");
?>
</body>
</html>
			</div>
			<div class="col-sm-4">
				<h4>39</h4>
				<p class="line"></p>
				<p class="text-center stat">Top 50 Players</p>
			</div>
			<div class="col-sm-4">
				<h4>96</h4>
				<p class="line"></p>
				<p class="text-center stat">Sets now in play</p>
			</div>
		</div>
		<div class="row testimonials">
			<h2 class="text-center">Player Testimonials</h2>
			<?php 
foreach (getTestimonials() as $testi) {
    ?>
				<div class="col-sm-3 testimonial">
					<img src="<?php 
    echo testimonialImage($testi->ID);
    ?>
" class="img-responsive">
					<h3><?php 
    echo $testi->post_title;
    ?>
</h3>
					<a>More Info</a>
					<div id="testimonial-modal">
	          <div class="close-email-window">
	            <img src="<?php 
    echo get_stylesheet_directory_uri();
Ejemplo n.º 3
0
			<p><a href="https://www.instagram.com/bowiecenter/"><i class="fa fa-instagram"></i> Follow us on Instagram</a></p>
		</div>
		<?php endif ?>


	</div>
	<?php if (is_front_page()) : ?>
		<h2 class="header-2">Testimonials</h2>
		<div id="testimonials" class="carousel slide" data-ride="carousel">
		  <!-- Indicators -->


		  <!-- Wrapper for slides -->
		  <div class="carousel-inner" role="listbox">
		    <?php $i=0 ?>
		    <?php foreach(getTestimonials() as $testimonial) : ?>
		    	<div class="item <?php if ($i==0) echo 'active' ?>">
		      	<p><?php echo $testimonial->post_content ?></p>
		      	<p><span class="testimonial-name">-<?php echo $testimonial->post_title ?></span></p>
		    	</div>
		    	<?php $i++ ?>
		    <?php endforeach ?>
		  </div>

		  <!-- Controls -->
		  <a class="left carousel-control" href="#testimonials" role="button" data-slide="prev">
		    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
		    <span class="sr-only">Previous</span>
		  </a>
		  <a class="right carousel-control" href="#testimonials" role="button" data-slide="next">
		    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>