Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Вредитель


Сообщения: 460
Благодарности: 126

Профиль | Отправить PM | Цитировать


aggressor_, получилось такое
PHP код: Выделить весь код

?><div id="bottomnav">
<div id="bm"></div>
<div id="recent">
<ul>
<li>
<h2>Recent post</h2>
<div class="therecent">            
<ul class="recent-comment">
            <?php 
            $the_query 
= new WP_Query('cat=' $ex_feat '&showposts=5&orderby=post_date&order=desc');    
            while (
$the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate $post->ID;
            
?>
            <li>
           <div class="cu"> <a class="title" href="<?php echo get_permalink($post->ID); ?>"> <?php echo $post->post_title ?> </a></div>
            <p><?php echo substr(strip_tags(str_replace('[...]''...'$post->post_content)), 050); ?></p>
            </li>
            <?php endwhile; ?>             
            </ul>        
</div>
</li>
<li>
<h2>Recent Comments</h2>
<div class="therecent">
<ul class="recent-comment">
<?php
$comments 
get_comments('number=5');
  foreach(
$comments as $comm) :

  
$url '<a href="'get_permalink($comm->comment_post_ID).'#comment-'.$comm->comment_ID .'" title="'.$comm->comment_author .' | '.get_the_title($comm->comment_post_ID).'">' $comm->comment_author '</a>';
?>
<li>
<div class="cu"><?php echo $url?>:</div>
<p><?php echo substr(strip_tags(str_replace('[...]''...'$comm->comment_content)), 050); ?></p>
</li>

<?php
  
endforeach;
?>
</ul>
</div>
</li>

<?php 
    $img 
get_option('dm_img'); 
    
$about get_option('dm_about'); 
    
?>    
<li>
<h2>About Us</h2>
<div class="about">
<img src="<?php echo ($img); ?>" class="avatar" alt="" />
<p><?php echo ($about); ?> </p>
</div>            
</li>


<li>
<h2>Useful Links</h2>
<div class="therecent">
<ul class="recent-comment">

            <?php get_links(-1'<li>''</li>''between'FALSE'name'FALSEFALSE, -1FALSE); ?>
            
        </ul>
</div>
</li>


</ul>
                

</div>

<div id="bottom">
<div id="links">
<strong><?php bloginfo('name'); ?> © <?php echo date('Y'); ?> </strong> | 
Design by <a rel="nofollow" href="/go.php?url=http://www.generikajetzt.com/" title="Viagra Kaufen">Viagra Kaufen
</a><br /> 
Supported by <a rel="nofollow" href="/go.php?url=http://www.generikajetzt.com/viagra-generika.html" title="Viagra">Viagra
</a> | <a rel="nofollow" href="/go.php?url=http://www.generikajetzt.com/levitra.html" title="Levitra">Levitra
</a> | <a rel="nofollow" href="/go.php?url=http://www.generikajetzt.com/cialis-generika.html" title="Cialis Generika
">Cialis Generika
</a>

</div>        <div id="wpf">
        <a rel="nofollow" href="/go.php?url=http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><?php _e('<abbr title="Wordpress"></abbr>'); ?></a>
        </div>
        <div id="rssf">
        <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Subscribe Content RSS'); ?>"><?php _e('<abbr title="Subscribe RSS feed"></abbr>'); ?></a> 
        </div>
       <div id="twitterf">
           <a href="<?php $twitt get_option('dm_twitt'); echo $twitt?>" title="<?php _e('Twitter Updates'); ?>"></a>
        </div>
</div>    
</div>    
<div id="analytics">
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19945275-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script></div>
<?php wp_footer(); ?>
<div id="footerbg"></div>
<div id="headerbg"></div><?return;?>

-------
Все сказаное является только моим личным мнением.


Последний раз редактировалось DedAlex, 03-11-2011 в 11:06.

Это сообщение посчитали полезным следующие участники:

Отправлено: 10:51, 03-11-2011 | #3