403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.6
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/langngon.com/wp-content/themes/langngon/templates/entry/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/langngon.com/wp-content/themes/langngon/templates/entry/rated.php
<?php
$id = get_the_id();
?>
<div class="meta-infos">
  <ul class="list-justified">
    <li>
      <div class="rated">
        <?php 
            $post_rated  = (int)get_field('zini_rated', $id);
            $rated_1 ='-half-o';
            $rated_2 = '-o';
            $rated_3 = '-o';
            $rated_4 = '-o';
            $rated_5 = '-o';
          if ($post_rated >= 2) { 
            $rated_1 = '';
            if ($post_rated == 3) { $rated_2 = '-half-o'; }
            if ($post_rated >= 4) {
              $rated_2 = '';
              if ($post_rated == 5) { $rated_3 = '-half-o'; }
              if ($post_rated >= 6) {
                $rated_3 = '';
                if ($post_rated == 7) { $rated_4 = '-half-o'; }
                if ($post_rated >= 8) {
                  $rated_4 = '';
                  if ($post_rated == 9) { $rated_5 = '-half-o'; }
                  if ($post_rated == 10) { $rated_5 = ''; }
                }
              }
            }
          }
        ?>
        <span class="fa fa-star<?php echo $rated_1; ?>"></span>
        <span class="fa fa-star<?php echo $rated_2; ?>"></span>
        <span class="fa fa-star<?php echo $rated_3; ?>"></span>
        <span class="fa fa-star<?php echo $rated_4; ?>"></span>
        <span class="fa fa-star<?php echo $rated_5; ?>"></span>
      </div>
    </li>
    <li>
      <?php get_view_post($id); ?>
    </li>
    <li>
      <div class="google-plus">
        <div class="g-plusone" data-annotation="bubble" data-size="medium"></div>
      </div>
    </li>
    <li>
      <div class="facebook-liked">
        <div class="fb-like" data-href="<?php echo get_permalink(); ?>" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true">
        </div>
      </div>
    </li>
  </ul>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit