<span style="line-height:40px;" class='review'><?php 
        if (function_exists("pvc_get_post_views")) {
            echo pvc_get_post_views($classId);
        }
        ?>
</span>
											<span style="line-height:40px;" class='glyphicon glyphicon-eye-open'></span>
										</div>
										<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text">
	
											<p>Рейтинг:
											<?php 
        if (function_exists("csr_get_overall_rating_stars")) {
            echo csr_get_overall_rating_stars($businessId);
            echo "<span class='tt-ratc'>";
            echo csr_get_rating_count($businessId) . " отзыва</span>";
        }
        ?>
											</p>
											<p>Категория:  <span>
											<?php 
        if (is_array($busCatList)) {
            $i = 1;
            foreach ($busCatList as $cat) {
                $termlink = get_term_link(intval($cat->term_id), 'bussiness_cat');
                echo '<a href="' . $termlink . '">' . $cat->name . '</a>';
                if ($i < count($busCatList)) {
                    echo ", ";
                }
                $i++;
            }
Exemplo n.º 2
0
function csr_the_rating_count($post_id = 0)
{
    echo apply_filters('csr_the_rating_count', csr_get_rating_count($post_id));
}
Exemplo n.º 3
0
                }
            }
            ?>
						</ul>
					  </div>
					  <div class="form-horizontal info col-xs-7 col-sm-7 col-md-7 col-lg-6 single-business">
						
                        <?php 
            if (function_exists("csr_get_overall_rating_stars")) {
                ?>
                            <div class="form-group">
                                <div class="price text-left col-xs-10 col-sm-10 col-md-10 col-lg-4 control-label" for="">Рейтинг:</div>
                                <div class="col-xs-10 col-sm-10 col-md-10 col-lg-8" style="height: 20px;">
									<?php 
                echo csr_get_overall_rating_stars($businessId);
                echo "<span class='tt-ratc'>" . csr_get_rating_count($businessId) . " отзыва</span>";
                ?>
                                </div>
                            </div>
                        <?php 
            }
            ?>
                        
                        <?php 
            if (!empty($busCatList)) {
                ?>
							<div class="form-group">
						  		<div class="category text-left col-xs-10 col-sm-10 col-md-10 col-lg-4 control-label">Категория:</div>
						  		<div class="col-xs-10 col-sm-10 col-md-10 col-lg-8"> <span>
								<?php 
                if (is_array($busCatList)) {