hossein98 141 ارسال شده در مهر 91 گزارش بازنشر ارسال شده در مهر 91 سلام دوستان من صفحه اصلی سایتم تصویر شاخص قرار دادم اما میخوام کنار نوشته بیاد نه اینکه بالای نوشته باشه قالب قدیمیم http://parsipuls.com/ اونطوری که میخوام هستش ها اما نمیدونم چطوری اینجور شده که در قالب جدیدم اعمال کنم!!!!!کد صفحه ایندکس<?php get_header(); ?><body><div class="PageCotainer"> <div class="HeaderCotainer"> <p class="HeaderCotainerLogo"><a href="<?php bloginfo('url') ?>" target="_self" title="پارسی پالس"><em>پارسی پالس</em></a></p> </div><?php include (TEMPLATEPATH . '/topmenu.php'); ?> <div class="TopNavCotainer"> <div class="TopNavCotainerRightCell"></div> <div class="TopNavCotainerMiddleCell"> <div class="TopNavCotainerMiddleCellHot"><div class="gk_news_highlighter" id="news-highlight-1"> <div class="gk_news_highlighter_interface"> <span class="text"> </span> </div> <div class="gk_news_highlighter_wrapper"><marquee direction="right" scrollamount="5" scrolldelay="89" width="690" height=15 style="text-align:right;" onmouseover="this.stop();" onmouseout="this.start();"><?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5");foreach ($result as $post) {setup_postdata($post);$postid = $post->ID;$title = $post->post_title;$commentcount = $post->comment_count;if ($commentcount != 0) { ?><li><a href="<?php echo get_permalink($postid); ?>"><font color="#FFFFFF"><?php echo $title ?> </font></a> <b><font color="#000000">|</font> </b></li><?php } } ?></marquee> </div></div> </div> </div> <div class="TopNavCotainerLeftCell"> <div class="Timenow"> <span><?php echo jdate('Y m d'); ?></span> </div> </div> </div> <div class="BodyCotainer"> <div class="ContentBodyCotainer"><?php include (TEMPLATEPATH . '/rightbar.php'); ?> <div class="BodyCotainerMiddleCell"><?php include (TEMPLATEPATH . '/centerbox.php'); ?><?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="MiddleCotainer"> <div class="FullCotainer"> <div class="FullHead"> <div class="texhossein"> <strong><h3> <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title( ); ?></div class="texhossein"></a></h3></strong> </div> <div class="FullBody"> <div class="FullBodyContent"> <div class="componentheading"> <font color="#0B3768">دسته :</font> <?php _e(' ','dnld'); ?> <?php the_category(__('|'|' ')); ?> <font color="#AE3738">|</font> <font color="#0B3768">بازدید :</font> <?php if(function_exists('the_views')) { the_views(); } ?></div><table class="blog" cellpadding="0" cellspacing="0" width="450"><tr><td valign="top"> </div> <table class="contentpaneopen"><tr> <td class="contentheading" width="100%"> <font color="#0B3768">نوشته شده توسط<span lang="en-us">:</span></font> <?php the_author(); ?> </td> <td align="right" width="100%" class="buttonheading"><a title="<?php the_time('j F') ?>"><img src="<?php bloginfo('template_directory'); ?>/images/date_button.png" alt="" /></a> </td> <td align="right" width="100%" class="buttonheading"><a title="<?php the_time('g:i a'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/timeButton.png" alt="" /></a> </td> <td align="right" width="100%" class="buttonheading"><a href="<?php the_permalink() ?>" title="لینک ثابت"><img src="<?php bloginfo('template_directory'); ?>/images/linkButton.png" alt="لینک ثابت" /></a> </td> </tr></table> <div align="center"><table class="contentpaneopen" width="450"><tr><td valign="top"><div class="post-photo"><img src="<?php echo catch_that_image() ?>" height="116px" width="96px"></div><div class="post-content"><p><span style="font-family: tahoma,helvetica,sans-serif; font-size: 11px;"><span class="userContent"><span dir="rtl"><?php the_content_rss('', TRUE, '', 60); ?><a href="<?php the_permalink() ?>" class="more-link" title="<?php the_title( ); ?>">ادامه</a> </span></span></span></p><br></div></td></tr><tr><td align="right"><?php the_tags(__('برچسب ها : ','dnld'), __(', ','dnld'), __('<br />','dnld')); ?></td></tr><tr><td align="right"><!-- START of joscomment --><div class='write_comment'><?php comments_popup_link('بدون نظر', 'يك نظر', '% نظر'); ?></div><!-- END of joscomment --></td></tr><tr><td align="left"></td></tr></table> </div><span class="article_separator"> </span> </div> </td></tr></table> </div> </div> <div class="FullBottom"></div> </div> </div><?php endwhile; ?><?php else : ?>هنوز مطلبی در سایت قرار داده نشده است.<?php endif; ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="20"> </td> </tr> <tr> <td><center><div> <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?> </div></center></td> </tr> <tr> <td height="20"> </td> </tr> </table> <div class="MiddleCotainer"> <div class="MiddleRightBlockCotainer"> <div class="MiddleRightBlockHead"> <strong>نویسندگان</strong> </div> <div class="MiddleRightBlockBody"> <div class="MiddleRightBlockBodyContent"> <ul class="latestnews"> <?php wp_dropdown_users($args); ?></ul> </div> </div> <div class="MiddleRightBlockBottom"></div> </div> <div class="MiddleLeftBlockCotainer"> <div class="MiddleLeftBlockHead"> <strong>آرشیو</strong> </div> <div class="MiddleLeftBlockBody"> <div class="MiddleLeftBlockBodyContent"> <ul class="latestnews"> <?php wp_get_jarchives('type=monthly'); ?></ul> </div> </div> <div class="MiddleLeftBlockBottom"></div> </div> </div> </div><?php include (TEMPLATEPATH . '/leftbar.php'); ?> </div> </div> <div class="BottomCotainer"></div> <div class="FooterCotainer"> <span>کليه حقوق مادي و معنوي اين وب سايت محفوظ مي باشد.</span><br/> <span>درج مطالب در وب سايت ها، وبلاگ ها و نشريات با ذکـــر منبع مجاز است.</span><br><span>طراحی شده بوسیله <a href="http://parsipuls.com/">حسین</a></span> </div></div><div class="CopyrightCotainer"> <div class="Copyright"><a href="<?php bloginfo('url') ?>" title="صفحه نخست" target="_blank"><em>صفحهنخست</em></a></div></div><div class="google1"><iframe scrolling='no' style=' position:relative;bottom:15px;border:0; padding:0; margin:0; background:none;' src='/wp/wp-content/themes/parsipul2-7/log2.php' width='301' height='170'></iframe></div><div style="display:none">parsipuls.com</div></body></html> نقل قول لینک به ارسال
imanfakhar 26231 ارسال شده در مهر 91 گزارش بازنشر ارسال شده در مهر 91 این کد را اضافه کن انتهای فایل style.css.post-photo {float:right;margin:3px 3px 3px 10px;vertical-align:top;} 2 نقل قول لینک به ارسال
hossein98 141 ارسال شده در مهر 91 مالک گزارش بازنشر ارسال شده در مهر 91 سلامی دوبارهمن نمیدونم چرا تصویر شاخص را کامل نمیذاره و نصفش خالیهبه عکس توشجه کنید نقل قول لینک به ارسال
سعید حسینی 2409 ارسال شده در مهر 91 گزارش بازنشر ارسال شده در مهر 91 اگر امکان داره روی سایتتون بذارید استایلشو ببینم. 2 نقل قول لینک به ارسال
NESTED 4295 ارسال شده در مهر 91 گزارش بازنشر ارسال شده در مهر 91 در استایل قالب به کلاس post-photo عرض و ارتفاع بدین 3 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .