HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/eeggs.ru/wp-content/themes/minyx2Lite/index.php
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
  <?php if (have_posts()) : ?>
  <?php $post = $posts[0];  ?>
  <?php if (is_category()) { ?>
  <h2 class="pagetitle">&#8216;
    <?php single_cat_title(); ?>
    &#8217;
    <?php _e('- архив','minyx2Lite')?>
  </h2>
  <?php  } elseif (is_day()) { ?>
  <h2 class="pagetitle">
    <?php _e('Архив за','minyx2Lite')?>
    <?php the_time('j F, Y'); ?>
  </h2>
  <?php  } elseif (is_month()) { ?>
  <h2 class="pagetitle">
    <?php _e('Архив за','minyx2Lite')?>
    <?php the_time('F Y'); ?>
  </h2>
  <?php } elseif (is_year()) { ?>
  <h2 class="pagetitle">
    <?php _e('Архив за','minyx2Lite') ?>
    <?php the_time('Y'); ?>
  </h2>
  <?php  } elseif (is_search()) { ?>
  <h2 class="pagetitle">
    <?php _e('Результаты поиска','minyx2Lite')?>
    &laquo;<?php echo($s); ?>&raquo; </h2>
  <?php } ?>
  <?php while (have_posts()) : the_post(); ?>
  <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('','minyx2Lite')?> <?php the_title(); ?>">
      <?php the_title(); ?>
      </a></h2>
    <?php if(!is_page()) {  ?>
    <small>
    <?php the_time('d F, y') ?>
    <?php _e('от','minyx2Lite')?>
    <?php the_author() ?>
    <?php edit_post_link('e', ' - ', '  '); ?>
    </small>
    <?php }  ?>
    <?php if(!is_search()) :  ?>
    <div class="entry">
      <?php the_content(__('Далее &raquo;')); ?>
    </div>
    <?php endif;  ?>
    <?php if(!is_page()) {  ?>
    <?php if(is_single()) : ?>
    <ul class="postmetadata alt">
      <li class="icon_date"> <strong>
        <?php _e('Дата:','minyx2Lite')?>
        </strong>
       
        <?php the_time('d.m.Y') ?>
        <?php _e('','minyx2Lite')?>
        <?php the_time() ?>
      </li><br />
      <li class="icon_cat"><strong>
        <?php _e('Категория:','minyx2Lite')?>
        </strong>
        <?php the_category(', ') ?>
      </li>
      <li>
      <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
      </li>
<h4 style="padding: 7px 0px 0px 0px; margin: 0px; font-size:11px;">На эту же тему:</h4>
<ul class='st-related-posts'>
<?php related_posts(); ?>
</ul>
</ul>
    <?php else :  ?>
    <ul class="postmetadata">
      <li class="icon_comment icon_r">
        <?php comments_popup_link(__('Нет комментариев','minyx2Lite'),__('1 комментарий','minyx2Lite'),__('Комментариев - %','minyx2Lite')); ?>
      </li>
      <li class="icon_cat"><strong>
        <?php _e('Категория:','minyx2Lite')?>
        </strong>
        <?php the_category(', ') ?>
      </li>
    </ul>
    <?php endif; ?>
    <?php }  ?>
  </div>
  <?php if(is_single()) :   ?>
  <?php comments_template(); ?>
  <?php endif;  ?>
  <?php endwhile; ?>
  <?php if(is_single() || is_page() ) :  ?>
  <?php else: ?>
  <div class="navigation">
    <div class="alignleft">
      <?php next_posts_link(__('Предыдущие материалы','minyx2Lite')); ?>
    </div>
    <div class="alignright">
      <?php previous_posts_link(__('Следующие материалы','minyx2Lite')); ?>
    </div>
  </div>
  <?php endif;  ?>
  <?php else : ?>
  <?php include (TEMPLATEPATH . '/notfound.php');?>
  <?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>