uawdijnntqw1x1x1
IP : 3.15.186.220
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
quran
/
..
/
css.1
/
..
/
post-ratings.1
/
templates
/
post-ratings-control.php
/
/
<?php /* * @template Post Ratings Control * @revised May 14, 2012 * @author digitalnature, http://digitalnature.eu * @license GPL, http://www.opensource.org/licenses/gpl-license */ /* This is the HTML template for the ratings control/info block. You can override it by creating your own template with the same name, inside your theme / child theme folder. The mark-up can be almost entirely changed, the only things required are the ".ratings" class for the wrapper div, and the "data-post" attribute on it, containing the ID of the current post. Note that you don't have to keep the filters below. The CSS can also be changed (and should be), see post_ratings.css ... Available variables inside this template: $rating - real, rating of the current post $votes - integer, number of votes the post has $bayesian_rating - real, weighted rating (score) $max_rating - integer, maximum possible rating */ // local variable, we will make this the title of the html block $current_rating = apply_filters('post_ratings_current_rating', sprintf('%.2F / %d', $rating, $max_rating), $rating, $max_rating); ?> <div class="ratings <?php if(is_singular()) print 'hreview-aggregate'; ?>" data-post="<?php the_ID(); ?>"> <?php if(is_singular()): // microdata only on singular pages, @see: http//support.google.com/webmasters/bin/answer.py?hl=en&answer=146645 ?> <span class="item"><span class="fn"><?php the_title(); ?></span></span> <?php endif; ?> <ul <?php if(!PostRatings()->currentUserCanRate()) print 'class="rated"'; ?> style="width:<?php print ($max_rating * 16); ?>px" title="<?php esc_attr_e($current_rating); ?>"> <li class="rating" style="width:<?php print ($rating * 16); ?>px"> <span class="average"> <?php print $current_rating; ?> </span> <span class="best"> <?php print $max_rating; ?> </span> </li> <?php if(PostRatings()->currentUserCanRate()): // only display links if the user can rate the post ?> <?php for($i = 1; $i <= $max_rating; $i++): ?> <?php $title = apply_filters('post_ratings_control_title', sprintf(__('التقييم %1$d من %2$d نجوم', 'post-ratings'), $i, $max_rating), $i, $max_rating); ?> <li class="s<?php print $i; ?>"> <a title="<?php esc_attr_e($title); ?>"><?php print apply_filters('post_ratings_control_text', sprintf('%d / %d', $i, $max_rating), $i, $max_rating); ?></a> </li> <?php endfor; ?> <?php endif; ?> </ul> <div class="meta"> <?php printf(_n('التقييم %1$s - متوسط %2$s (النسبة %3$s%%)', ' التقييم %1$s - متوسط %2$s (النسبة %3$s%%)', $votes, 'post-ratings'), sprintf('<strong class="votes">%d</strong>', $votes), sprintf('<strong>%.2F</strong>', $rating), sprintf('<strong>%d</strong>', $bayesian_rating)); ?> </div> </div>
/home/sudancam/.trash/quran/../css.1/../post-ratings.1/templates/post-ratings-control.php