<div id="ReviewsSectionWr" class="ReviewsSectionWr commonTextSection bdrbottom">
 <div class="container">
 <h2>Real Reviews From Real Customers</h2>
       <ul id="myTab" class="nav nav-tabs">
             <!-- <li class="active">
           <a href="#reviewsModal" data-toggle="modal"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/reviews_yelp.png" alt="Yelp"></a>
            </li>-->
          
														<li class="active"><a href="#tab3" data-toggle="tab"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/logo-verified-reviews.png" alt="Verified Reviews"></a>
              </li>
              </ul>
       
 
            <div id="myTabContent" class="tab-content">
              
          <div class="tab-pane fade in active" id="tab3">
                <div class="ReviewsInnerCont">
                <div class="ReviewsCustomer">
                
	   <?
	    $apiKey_CR="1e1c0a7b9491a4s45238591099254058f9";
		$apiBaseUrl_CR='https://www.globallimos.com';
		$time_CR=date('Ymdhis');
		$ipaddress_CR=$_SERVER['REMOTE_ADDR'];
		$websiteid_CR=12;
		$link_CR =(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 
		function GetApiDataSchema_CR($apiUrl,$postdata){
			$post = urldecode($postdata);
			$curl = curl_init($apiUrl);
					
		
			curl_setopt($curl, CURLOPT_POST, true);
			curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
			curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
			curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
			curl_setopt($curl, CURLOPT_USERAGENT , 'Mozilla 5.0');
			curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
			curl_setopt($curl, CURLOPT_VERBOSE , true);		
			$resp = curl_exec($curl);	
			return $resp;
		}  
		//echo $link; 
		$apiUrl_CR=$apiBaseUrl_CR."/api/schema/reviews.php?apikey=".$apiKey_CR."&time=".$time_CR;
		$postdata_CR=$postdata_CR.'&websiteid='.$websiteid_CR.'&pageurl='.$link_CR;
		//echo $apiUrl;
		$resp_CR=GetApiDataSchema_CR($apiUrl_CR,$postdata_CR);
		$responseAPI_CR=json_decode($resp_CR);
		//print_r($responseAPI_CR);
		if($responseAPI_CR->displayReview==1){
	   ?>		   
		   <div class="ReviewsSlider">
			<?
			$SchemaReviewDt_CR=$responseAPI_CR->SchemaReview;	
			for($indx_CR=0;$indx_CR < $responseAPI_CR->schemaReviewCount;$indx_CR=$indx_CR+1){
				$rowRD_CR=$SchemaReviewDt_CR[$indx_CR];
				$reviewbody_CR=str_replace('<p>','',$rowRD_CR->reviewbody);
				$reviewbody_CR=str_replace('</p>','',$reviewbody_CR);
				?>
				<div class="item">
			  <div class="ReviewsContWrap cf">
				<div class="authorImgAndName">
				  <div class="authorImg"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-inverted.png" width="89" height="89" alt=""> </div>
				 </div>
				<div class="ReviewsCont">
				<div class="StarRating">
				<? if($rowRD_CR->rating==1){?>
					<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1">
				<? }elseif($rowRD_CR->rating==2){?>
					<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2">
				<? }elseif($rowRD_CR->rating==3){?>
					<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3">
				<? }elseif($rowRD_CR->rating==4){?>
					<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">
				<? }elseif($rowRD_CR->rating==5){?>
						<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">  <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 5">
				<? }?>
				<span class="rating-Date-qualifier"><?=date('M, d Y',strtotime($rowRD_CR->datepublished))?></span>
			   </div>
				 <h3><?=$rowRD_CR->reviewtitle?></h3>
				 <div class="reviewwrapper">
				 <div class="reviewReadMorecont">
				  <p><?=substr($reviewbody_CR,0,80)?></p>
					<a href="#" class="readMoreReview">Read More</a>
					<div class="reviewReadMorepopupcont">
					 <p><?=$reviewbody_CR?></p></div>
					</div>
					</div>
					<div class="authorName"><?=$rowRD_CR->reviewername?></div>
				</div>
			  </div>
			</div>			
		<? }?>			
		</div>
			
		<div class="divButtonMRow">
			 <a id="tbBtSection" class="CommanBtnwr tableShowhideBtn" href="#" > See All Review</a> <a href="#" data-toggle="modal" data-target="#reviewUsFormModal" class="CommanBtnwr"> Review Us</a> 
		</div>
	
		   <section id="verifiedUserReviews" class="verifiedUserReviews showHideCont">
	<div class="row">
	<div class="col-sm-8">
	<div class="verifiedUserReviewsWrap">
	<h3 class="tp-head-title">Reviews</h3>
	<p>Customers rated this pro highly for work quality, value, and professionalism.</p>
	<div class="verifiedUserReviewsTopDiv cf">
	<div class="ReviewsTopBx">
	<div class="tp-title"><?=round($responseAPI_CR->schemaReviewAvgCount,1)?></div>
	<div class="StarRating">	
		<? if(round($responseAPI_CR->schemaReviewAvgCount)==1){?>
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 2">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 3">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
		<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==2){?>
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 3">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
		<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==3){?>
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> 
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
		<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==4){?>
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> 
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
		<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==5){?>
			<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">  <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 5">
		<? }?>
	</div>
	<div class="tpbodyReview"><?=$responseAPI_CR->schemaReviewCount?> reviews</div>
	</div>
	<div class="ReviewsTopBx ReviewsTopBxtwo">
	<ul>
	<li><span class="mr1">5</span> <span class="ratingStaricon"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/dark-blue-star.png" alt="star 5"></span> <span class="PrograsBarWrp"><span class="PrograsBar" style="width:<?=$responseAPI_CR->schemaReviewCount5Per?>%;"></span></span> <span class="PrograsBarpercentage"><?=$responseAPI_CR->schemaReviewCount5Per?>%</span></li>
	<li><span class="mr1">4</span> <span class="ratingStaricon"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/blue-star.png" alt="star 4"></span> <span class="PrograsBarWrp"><span class="PrograsBar" style="width:<?=$responseAPI_CR->schemaReviewCount4Per?>%;"></span></span> <span class="PrograsBarpercentage"><?=$responseAPI_CR->schemaReviewCount4Per?>%</span></li>
	<li><span class="mr1">3</span> <span class="ratingStaricon"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/light-blue-star.png" alt="star 3"></span> <span class="PrograsBarWrp"><span class="PrograsBar" style="width:<?=$responseAPI_CR->schemaReviewCount3Per?>%;"></span></span> <span class="PrograsBarpercentage"><?=$responseAPI_CR->schemaReviewCount3Per?>%</span></li>
	<li><span class="mr1">2</span> <span class="ratingStaricon"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/yellow-star.png" alt="star 2"></span> <span class="PrograsBarWrp"><span class="PrograsBar" style="width:<?=$responseAPI_CR->schemaReviewCount2Per?>%;"></span></span> <span class="PrograsBarpercentage"><?=$responseAPI_CR->schemaReviewCount2Per?>%</span></li>
	<li><span class="mr1">1</span> <span class="ratingStaricon"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/red-star.png" alt="star 1"></span> <span class="PrograsBarWrp"><span class="PrograsBar" style="width:<?=$responseAPI_CR->schemaReviewCount1Per?>%;"></span></span> <span class="PrograsBarpercentage"><?=$responseAPI_CR->schemaReviewCount1Per?>%</span></li>
	</ul>
	</div>
	</div>
	<div class="VsearchReviewForm">
	<div class="row gutter-5">
	<div class="col-sm-8"> 
	<div class="Searchreviewsformgroup">	
	<form>	
	<!--<button type="button"><i class="fa fa-search"></i></button>      
	<input type="text" placeholder="Search reviews" name="autocomplete" id="autocomplete" onfocus="geolocate()" autocomplete="off" class="form-control PickupAddress commonTopForm">-->
	</form>
	</div>
	</div> 
	 
	<div class="col-sm-4">
	<!--<select class="form-control">
		<option value="" selected="selected">Most relevant</option>
			<option value="" >Highest rated</option>
				<option value="">Lowest rated</option>
					<option value="">Newest first</option>
						<option value="">Oldest first</option>
							</select>-->
	</div>
	 </div>
		 </div>
	<div class="VuserreviewsSection">
	<ul class="VuserreviewsList">
	<?
	$SchemaReviewDt_CR=$responseAPI_CR->SchemaReview;	
	for($indx_CR=0;$indx_CR < $responseAPI_CR->schemaReviewCount;$indx_CR=$indx_CR+1){
		$rowRD_CR=$SchemaReviewDt_CR[$indx_CR];
		$reviewbody_CR=str_replace('<p>','',$rowRD_CR->reviewbody);
		$reviewbody_CR=str_replace('</p>','',$reviewbody_CR);
		?>
		<li>
			<div class="reviewMain">
			<h3 class="ReCusname"><?=$rowRD_CR->reviewername?></h3>
			<p class="CuschooseService"><?=$rowRD_CR->reviewtitle?></p>
			<div class="StarRating">	
			<? if(round($responseAPI_CR->schemaReviewAvgCount)==1){?>
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 2">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 3">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
			<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==2){?>
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 3">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
			<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==3){?>
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> 
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 4">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
			<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==4){?>
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> 
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> 
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users-blank.png" alt="star 5">
			<? }elseif(round($responseAPI_CR->schemaReviewAvgCount)==5){?>
				<img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 1"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 2"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 3"> <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 4">  <img src="<?php echo get_template_directory_uri(); ?>/assets/images/star-verified-users.png" alt="star 5">
			<? }?>
			</div>
			<div class="reviewbodyCont">
			  <p><?=$reviewbody_CR?></p>
			</div>
			<div class="Vreviewdetails"><span class="reviewlabel-text"><span><?=date('M, d Y',strtotime($rowRD_CR->datepublished))?></span></span><span class="reviewlabel-text">Verified</span></div>
			</div>
		</li>
<?	}?>
	</ul>
	<!--<div class="pagination">
	  <a href="#">&laquo;</a>
	  <a href="#">1</a>
	  <a href="#" class="active">2</a>
	  <a href="#">3</a>
	  <a href="#">4</a>
	  <a href="#">5</a>
	  <a href="#">&raquo;</a>
	</div>-->
	</div>
	</div>
	</div>
	<div class="col-sm-4 divstiky">
	<div class="VreviewsRightbx">
	<div class="RedivButtonTRow">
	<div class="container">
	  <a class="CommanBtnwr BtngetRates" href="javascript:OpenSearchModel(1);"><i class="fa fa-usd"></i> Get Rates</a> <a class="CommanBtnwr BtnCotactUs" href="tel:916-444-3344"><i class="fa fa-phone"></i> 916-444-3344</a> 
	</div>
	</div>
	</div>
	</div>
	</div>
	</section>
	 <? }else{?>
           <h5 class="txtcommingsoon">Coming Soon</h5>
   	 <? }?> 	
    <!-- start verified reviews-->
     

<!--End verified reviews-->


        </div>
       </div>
       </div>
       
         </div>
          </div>
          </div>