<!-- Review Wrapper -->
                        <div id="lioit-review-wrapper" class="lioit-review-skin-<?php echo esc_html($lioit_review_skin); ?> lioit-review-placement-<?php echo esc_html($lioit_review_position); ?>">

							<?php if ($lioit_criteria_header !== '') { ?>

                            <!-- Review Header -->
                            <div id="lioit-review-header">
                                <?php echo esc_html($lioit_criteria_header); ?>
                            </div>
                            
                            
                            <!-- Review Summary -->
                            <div class="lioit-review-summary lioit-final-score-<?php echo esc_html($lioit_review_type); ?>">
                
                                
                                <!-- Short Summary -->
                                <div id="lioit-short-summary">
                                    <p><strong>Summary:</strong> <?php echo esc_html($lioit_longer_summary);?></p>
                                </div>
                                
                				
                                <!-- Final Score -->
                                <div id="lioit-criteria-final-score">
                                    <span itemprop="rating">
                                    	<h1>
											<?php if ($lioit_review_type == 'percent') {
												echo (esc_html($lioit_final_percentage) . '<span>%</span>');
											} else {
												echo esc_html($lioit_final_score);
											} ?>
                                    	</h1>
                                    </span>
                                    
                                    <h6><?php echo esc_html($lioit_brief_summary);?></h6>
                                    
									<?php if ($lioit_review_type != 'percent') { ?>
                                    	<span id="lioit-final-score" class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span id="lioit-final-score-cover" class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_final_width);?>%"></span></span> 
									<?php } ?>
                                </div>
                                
                
                            </div>
                            <?php } ?>
                
                            
							
							<?php if ($lioit_review_type == 'percent') { ?>
                
                            	<?php if ($lioit_c1_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c1_description); ?> - <?php echo esc_html($lioit_c1_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c1_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c2_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c2_description); ?> - <?php echo esc_html($lioit_c2_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c2_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c3_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c3_description); ?> - <?php echo esc_html($lioit_c3_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c3_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c4_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c4_description); ?> - <?php echo esc_html($lioit_c4_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c4_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c5_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c5_description); ?> - <?php echo esc_html($lioit_c5_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c5_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c6_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c6_description); ?> - <?php echo esc_html($lioit_c6_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c6_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                                
                            	<?php if ($lioit_c7_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c7_description); ?> - <?php echo esc_html($lioit_c7_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c7_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c8_rating !== '') { ?>
                                <div class="lioit-review-criteria lioit-criteria-percent">
                                    
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c8_description); ?> - <?php echo esc_html($lioit_c8_percentage); ?>%</span>
                                    <span class="lioit-criteria-percentage" style="width:<?php echo esc_html($lioit_c8_percentage); ?>%"></span>
                                </div>
                                <?php } ?>
                
                            <?php } else { // ---------START OTHER LOOPS----------- // ?>
                
                            	<?php if ($lioit_c1_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c1_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c1_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c2_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c2_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c2_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c3_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c3_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c3_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c4_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c4_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c4_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c5_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c5_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c5_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c6_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c6_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c6_description); ?></span>
                                </div>
                                <?php } ?>
                                
                            	<?php if ($lioit_c7_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c7_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c7_description); ?></span>
                                </div>
                                <?php } ?>
                
                            	<?php if ($lioit_c8_rating !== '') { ?>
                                <div class="lioit-review-criteria">
                                    <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?>"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($lioit_c8_width);?>%"></span></span>
                                    <span class="lioit-criteria-description"><?php echo esc_html($lioit_c8_description); ?></span>
                                </div>
                                <?php } ?>
                
                            <?php } ?>
                
                
                
                            
                            
                            <?php if($lioit_user_ratings_visibility == 1) {?>		
								<!-- User Review -->
                                <div class="lioit-user-review-criteria">
                                    <span class="lioit-user-review-description">
                                    	<b>
                                        	<span class="your_rating" style="display:none;"><?php _e('Your Rating', 'lioit'); ?></span>
                                            <span class="user_rating"><?php _e('User Rating', 'lioit'); ?></span>
                                        </b>: 
                                        <span class="score"><?php echo esc_html($ratings->current_rating); ?></span> 
                                        <em>(<span class="count"><?php echo esc_html($ratings->count); ?></span> <?php _e('votes', 'lioit'); ?>)</em>
                                   	</span>
                                    <span class="lioit-user-review-rating">
                                        <span class="lioit-criteria-<?php echo esc_html($lioit_review_type); ?> lioit-cri"><span class="lioit-criteria-cover" style="width:<?php echo esc_html($ratings->current_position); ?>%"></span></span>
                                    </span>
                                </div>
                        	<?php } ?>

                        </div>
                        <!-- /Review Wrapper -->