Hadi00 75 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 سلامبنده قصد دارم بین باکس مطالب سایت بنر قالب بدم.منظورم قسمت هاییه که با کادر قرمز مشخص کردم http://p30up.ir/images/08qlte6azywe13z4ztyw.jpg نقل قول لینک به ارسال
بیتفا 74 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 فایل index.php یا home.php رو باز کن. کلاس div با عنوان postvasat پیدا کن و بعد کد تبلیغات رو بعد از بسته شدن این div قرار بده. 2 نقل قول لینک به ارسال
Hadi00 75 ارسال شده در فروردین 94 مالک گزارش بازنشر ارسال شده در فروردین 94 فایل index.php یا home.php رو باز کن. کلاس div با عنوان postvasat پیدا کن و بعد کد تبلیغات رو بعد از بسته شدن این div قرار بده.ممنونمیدونه postvasat موجود بود توو index که کلاس div نداشت!!! 1 نقل قول لینک به ارسال
بیتفا 74 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 داداش div دارای کلاس میشه!!! ok? نقل قول لینک به ارسال
Hadi00 75 ارسال شده در فروردین 94 مالک گزارش بازنشر ارسال شده در فروردین 94 داداش div دارای کلاس میشه!!! ok?دوست من اگه قصدتون راهنماییه .جوری راهنمایی کنید که سوالش پیش نیاد!من اگه اطلاعاتی داشتم تاپیک نمیزدم!!! 1 نقل قول لینک به ارسال
SM-Mahdavi 5427 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 سلامشما کاری به کلاس نداری. زیر کد بسته شدن مطلب باید بزارید. کدهاتون رو بزارید براتون انجام بدیم. 3 نقل قول لینک به ارسال
Hadi00 75 ارسال شده در فروردین 94 مالک گزارش بازنشر ارسال شده در فروردین 94 <?php get_header(); ?><div class="main"><?php include ('navbar.php'); ?><?php include ('ads.php'); ?><?php include ('top.php'); ?><?php include ('right-sidebar.php'); ?><div class="vasat"><div class="postvasat"><div class="titlepostt zh"><span>اخبار</span></div><div class="bgpostt" style="margin-bottom:15px;" ><div class="taki"><?php $cat=6; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=6; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div><div class="postvasat borderbottom"><div class="titlepostt zg"><span>روانشناسـی</span></div><div class="bgpostt"><div class="taki"><?php $cat=3916; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=3916; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt zl"><span>دارو</span></div><div class="bgpostt"><div class="taki"><?php $cat=113; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=113; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>زناشویی</span></div><div class="bgpostt"><div class="taki"><?php $cat=621; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=621; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>سرطان</span></div><div class="bgpostt"><div class="taki"><?php $cat=119; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=119; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>سلامت</span></div><div class="bgpostt"><div class="taki"><?php $cat=2; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=2; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>آشـپـزی</span></div><div class="bgpostt"><div class="taki"><?php $cat=4622; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=4622; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>مواد غذایی</span></div><div class="bgpostt"><div class="taki"><?php $cat=1; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=1; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>پـزشکـی</span></div><div class="bgpostt"><div class="taki"><?php $cat=124; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=124; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><div class="postvasat borderbottom"><div class="titlepostt"><span>مقالات</span></div><div class="bgpostt"><div class="taki"><?php $cat=27; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=27; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div></div></div><?php include ('left-sidebar.php'); ?></div><?php get_footer(); ?> نقل قول لینک به ارسال
علی زینلی 2114 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 سلام ، هروقت صحبت از پست میشه بحث loop و query هم هست،خب حالا اینکه میخواین بین هر کدوم از دسته بندی های دارو ، روانشناسی و... یه بنر باشه باید پیدا کنین که این ها چه شکلی به نمایش در اومدن.هر کدوم از دسته بندی ها به وسیله یه query نمایش داده میشنمثال (کوئری مقالات): <?php get_header(); ?><div class="main"><?php include ('navbar.php'); ?><?php include ('ads.php'); ?><?php include ('top.php'); ?><?php include ('right-sidebar.php'); ?><div class="vasat"><div class="postvasat"><div class="titlepostt zh"><span>اخبار</span></div><div class="bgpostt" style="margin-bottom:15px;" ><div class="taki"><?php $cat=6; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=6; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt zg"><span>روانشناسـی</span></div><div class="bgpostt"><div class="taki"><?php $cat=3916; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=3916; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt zl"><span>دارو</span></div><div class="bgpostt"><div class="taki"><?php $cat=113; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=113; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>زناشویی</span></div><div class="bgpostt"><div class="taki"><?php $cat=621; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=621; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>سرطان</span></div><div class="bgpostt"><div class="taki"><?php $cat=119; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=119; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>سلامت</span></div><div class="bgpostt"><div class="taki"><?php $cat=2; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=2; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>آشـپـزی</span></div><div class="bgpostt"><div class="taki"><?php $cat=4622; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=4622; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>مواد غذایی</span></div><div class="bgpostt"><div class="taki"><?php $cat=1; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=1; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>پـزشکـی</span></div><div class="bgpostt"><div class="taki"><?php $cat=124; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=124; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---><div class="postvasat borderbottom"><div class="titlepostt"><span>مقالات</span></div><div class="bgpostt"><div class="taki"><?php $cat=27; ?><?php query_posts("cat=$cat&showposts=1"); ?><?php while (have_posts()) : the_post(); ?><div class="cvn"><span><h2><?php the_title(); ?></h2></span><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('single-post-thumbnail'); ?></a></div><ul><li>تعداد بازدید:<?php if(function_exists('the_views')) { the_views(); } ?></li><li> تاریخ انتشار:<?php$days = round((date('U') - get_the_time('U')) / (60*60*24));if ($days==0) { echo "امروز منتشر شد"; }elseif ($days==1) { echo "دیروز منتشر شد"; }else { echo "منتشر شده در" . $days . " روز پیش";}?></li></ul><div class="kho default-skin scroll"><?php the_content_rss('', TRUE, '', 50); ?></div><?php endwhile;?><?php wp_reset_query(); ?></div><div class="chandi"><?php $cat=27; ?><?php query_posts("cat=$cat&showposts=5"); ?><?php while (have_posts()) : the_post(); ?><ul><li><h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2><span>بازدید : <?php if(function_exists('the_views')) { the_views(); } ?></span></li></ul><?php endwhile;?><?php wp_reset_query(); ?></div></div></div><!--- مثل نمایش بنر ---></div></div><?php include ('left-sidebar.php'); ?></div><?php get_footer(); ?> نوشته زیر رو پیدا کنید و جاش کد بنر خودتون رو بذارین:<!--- مثل نمایش بنر ---> 1 نقل قول لینک به ارسال
بیتفا 74 ارسال شده در فروردین 94 گزارش بازنشر ارسال شده در فروردین 94 <div class="postvasat borderbottom">اینا رو پیدا کن و بالای اون کد تبلیغات رو بذاردر ضمن من جسارت نکردم که ناراحت شدی خوشگلیاعلی 1 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .