示例#1
0
function csr_the_overall_rating_stars($post_id = 0)
{
    echo apply_filters('csr_the_overall_rating_stars', csr_get_overall_rating_stars($post_id));
}
        ?>
</a></h3>
											<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 ", ";
                }