notepad-chaos teması hocam, teşekkür ederim ilgilendiğin için
<div class="sonyorum-head"></div>
<div class="recent-posts">
<?php global $wpdb; $sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 10"; $comments = $wpdb->get_results($sql); $output = $pre_HTML; $output .= "\n<ul>"; foreach ($comments as $comment) { $output .= "\n<li><a href=\"" . get_permalink($comment->ID) . "#comment-" . $comment->comment_ID . "\" title=\"Yazan: ".strip_tags($comment->comment_author) ." | Konu : " . " " . $comment->post_title . "\">" . strip_tags($comment->com_excerpt) ."</a></li>"; } $output .= "\n</ul>"; $output .= $post_HTML; echo $output;?>
</div>
<div class="postit-bottom"></div>
<div style="clear:both;"></div>
<div class="categories-upper"></div>
<div class="categories">
<ul>
<?php wp_list_categories('sort_column=name&hierarchical=0&title_li='); ?>
</ul>
</div>
<div class="categories-btm"></div>
<div class="side-meta">
<ul>
<?php wp_register(); ?>
<li>
<?php wp_loginout(); ?>
</li>
<li><a href="http://validator.w3.org/check/referer" title="XHTML 1.0 Transitional standartındadır.">Standart <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="Wordpress Günlük Sistemi">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
<h2>Etiketler</h2>
<?php wp_tag_cloud('smallest=11&largest=25&unit=px&number=50&format=flat&orderby=count&order=RAND'); ?>
</div>