

<div class="container-fluid bg-white">
	<div class="container">
		<div class="row">
			<div class="col-lg-12 p-b-3 p-t-3 m-t-3 m-b-3 text-xs-center">
				<h1><strong><?php echo __("ProRank"); ?></strong> <?php echo __("Optimize Your Website"); ?></h1>
				<strong class="home subtitle">
					<?php echo __("Use ProRank to improve your site and identify opportunities to get ahead of the competition"); ?> 
				</strong>
			</div>
		</div>

		<div class="row">
			<div class="col-lg-2"></div>
			<div class="col-lg-8  p-b-3 m-b-3 ">
				 <form class="form-inline form-url-home" onsubmit="return false">
                   <div class="input-group input-group-lg ">
                    <input class="form-control input-url" required type="text" placeholder="<?php echo __("Website URL to review"); ?>" />
                        <button class="btn btn-blue btn-start" type="submit"><?php echo __("Review"); ?></button>
				      
				        
				      
				    </div>
                </form>

                <div class="ads p-t-2">
					<?php echo get_ads("ads1"); ?>					
				</div>

			</div>
			<div class="col-lg-2"></div>
		</div>
	</div>
</div>

<div class="container-fluid bg-home">
	<div class="container">

	<div class="row">
			<div class="col-lg-6  p-t-3 p-b-3  m-t-3  text-xs-center">
				<div class="big-icon">
					<i class="zmdi zmdi-search-replace"></i>
				</div>
				<h3><?php echo __("In-Depth Reviews"); ?></h3>
				<p class="f">
					<?php echo __("Generate as many website reviews as you like and track your progress in real time."); ?> 
				</p>

			</div>

			<div class="col-lg-6  p-t-3 m-t-3  text-xs-center">
				<div class="big-icon">
					<i class="zmdi zmdi-assignment-check"></i>
				</div>
				<h3><?php echo __("Recommendations Checklist"); ?></h3>
				<p class="f">
					<?php echo __("Are you overwhelmed by how much you have to learn about optimizing your website?"); ?> 
				</p>

			</div>

		</div>





		

		
	</div>
</div>

<div class="container-fluid bg-white  p-b-3 p-t-3 ">
	<div class="container">
	<div class="row">
			<div class="col-lg-12 p-b-3 p-t-3 m-t-3 m-b-3 text-xs-center">
				<h2><strong><?php echo number_format($totalSites); ?></strong> <?php echo __("sites has been analyzed by ProRank"); ?></h2>
				<strong class="home subtitle">
					<?php echo __("There are many who have trusted on ProRank and improved their position thanks to our recommendations"); ?> 
				</strong>

			</div>
		</div>
	</div>
</div>
<?php if($recents){ ?>
		<div class="container-fluid bg-white p-b-2 ">
			<div class="container">
				<div class="row">
						<h2 class="text-xs-center m-b-2"><?php echo __("Latest Updated Sites"); ?></h2>
						<?php foreach ($recents as $key => $value){ 
							
							?>
						
						<div class="col-md-3">
							<a class="card link-black" href="<?php echo base_url(); ?><?php echo $value->url; ?>">
						  		<span class="score"><?php echo $value->score; ?></span> 
						  		<img title="<?php echo badWords($value->metaTitle); ?>" class="card-img-top img-fluid lazy"  src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="http://free.pagepeeker.com/v2/thumbs.php?size=x&url=<?php echo $value->url; ?>" alt="<?php echo badWords($value->metaTitle); ?>">
						  		
						  		<div class="card-block truncate">
						  			<progress class="progress progress-sm <?php echo getColorProgress($value->score,80); ?>" value="<?php echo $value->score; ?>" max="100"></progress>								    		
									<div class="truncate"><?php echo badWords($value->metaTitle); ?></div>
									<div class="truncate text-success"><?php echo badWords($value->url); ?></div>
								
									<div>
										<small class="text-muted"><?php echo __("Last Updated:"); ?> <?php echo ago($value->updated); ?></small>
									</div>
						  		</div>
							</a>
						</div>
						<?php }  ?>				
				</div>
			</div>
		</div>
	<?php } ?>