رفتن به مطلب

sokoot67

عضو سایت
  • تعداد ارسال‌ها

    91
  • تاریخ عضویت

  • آخرین بازدید

نوشته‌ها ارسال شده توسط sokoot67

  1. این هم فایل htaccess


    <IfModule mod_expires.c>
    # Enable expirations
    ExpiresActive On
    # Default directive
    ExpiresDefault "access plus 1 month"
    # My favicon
    ExpiresByType image/x-icon "access plus 1 year"
    # Images
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType image/jpg "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    # CSS
    ExpiresByType text/css "access 1 month"
    # Javascript
    ExpiresByType application/javascript "access plus 1 year"
    </IfModule>

    # BEGIN Compress text files
    <ifModule mod_deflate.c>
    <filesMatch "\.(css|js|x?html?|php)$">
    SetOutputFilter DEFLATE
    </filesMatch>
    </ifModule>
    # END Compress text files

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

  2. سلام

    سایت من وقتی یه بار باز میشه در کش سیو میشه و اگر مطلب جدید ارسال کنم کسی که یک بار سایت رو باز کرده باشه و بخواد دوباره به سایت سر بزنه وقتی سایت رو باز می کنه همون مطالب قدیمی رو می بینه یعنی سایت یک بار باز میشه بعد باید دوبار refresh کنه تا متوجه بشه که مطلب جدید اومده با تمام مرورگر ها و چند سیستم تست کردم همین جور بود

    از یک جهت خوبه سریع سایت بالا میاد ولی از جهت دیگه کاربر نمیدونه مطلب جدید ارسال شده و 99 درصد کاربران سایت رو refresh نمی کنن

    چکار کنم

    از تنظیمات وردپرس هست یا فایل httaccess و یا ....

    لطفا راهنمای کنید

    ممنون

  3. $args = array( 'numberposts' => 17, 'exclude' => '1' );

    جواب نداد

    دقیقا اولش هم همین کد رو گذاشتم جواب نداد شک کردم گفتم مثال بزنید


    <div class="sidebar-box2">
    <ul>
    <?php
    $args = array( 'numberposts' => 18, 'orderby' => 'rand' , 'exclude' => 62,14,);
    $rand_posts = get_posts( $args );
    foreach( $rand_posts as $post ) : ?>
    <li class="clearfix">
    <div class="kadr">
    <div class="tab-thumb">
    <a href="<?php the_permalink(); ?>" class="thumb">
    <?php if( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) {
    the_post_thumbnail('thumbnail'); ?>
    <?php } else { ?>
    <div class="tab-thumbnail"></div>
    <?php } ?>
    </a>
    </div>

    <h3 class="entry-title"> <a href="<?php the_permalink(); ?>" class="title"><?php the_title(); ?></a> <span style="font-size:10px;color: red;"></span></h3>
    <div class="entry-meta entry-header">

    </div></div>
    </li>


    <?php endforeach; ?>
    </ul>


    </div>

  4. سلام

    این کد مطالب تصادفی سایتم هست چکار کنم که از بین 18 دسته یک دسته رو نشون نده و 17 تا رو نشون بده


    <div class="sidebar-box2">
    <ul>
    <?php
    $args = array( 'numberposts' => 18, 'orderby' => 'rand' );
    $rand_posts = get_posts( $args );
    foreach( $rand_posts as $post ) : ?>
    <li class="clearfix">
    <div class="kadr">
    <div class="tab-thumb">
    <a href="<?php the_permalink(); ?>" class="thumb">
    <?php if( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) {
    the_post_thumbnail('thumbnail'); ?>
    <?php } else { ?>
    <div class="tab-thumbnail"></div>
    <?php } ?>
    </a>
    </div>

    <h3 class="entry-title"> <a href="<?php the_permalink(); ?>" class="title"><?php the_title(); ?></a> <span style="font-size:10px;color: red;"></span></h3>
    <div class="entry-meta entry-header">

    </div></div>
    </li>

    ممنون

  5. محتوای فایل leftsbar2 را اینجا قرار دهید

    مطالب تصادفی هست


    <div class="left1">

    <div class="sidebar-box3">
    <ul>
    <?php
    $args = array( 'numberposts' => 18, 'orderby' => 'rand' );
    $rand_posts = get_posts( $args );
    foreach( $rand_posts as $post ) : ?>
    <li class="clearfix">
    <div class="kadr1">
    <div class="tab-thumb">
    <a href="<?php the_permalink(); ?>" class="thumb">
    <?php if( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) {
    the_post_thumbnail('thumbnail'); ?>
    <?php } else { ?>
    <div class="tab-thumbnail"></div>
    <?php } ?>
    </a>
    </div>

    <h3 class="entry-title"> <a href="<?php the_permalink(); ?>" class="title"><?php the_title(); ?></a> <span style="font-size:10px;color: red;"></span></h3>
    <div class="entry-meta entry-header">

    </div></div>
    </li>

    <?php endforeach; ?>
    </ul>

    </div>
    </div>

  6. سلام

    نمی دونم چرا عنوان مطلب در بالای مطلب عنوان یک مطلب دیگه هیت و هر بار refresh کردن عنوان یک مطلب دیگه رو میاره

    مثلا در سایت مطلب در مورد وردپرس چیست باز می کنی مطلب همون عنوان در نوار عنوان هم همون عنوان ورد پرس چیست ولی در بالای متن عنوان یک مطلب دیگه است

    این هم کد فایل

    ممنون


    <?php include(TEMPLATEPATH . '/header.php');
    if (have_posts()) : while (have_posts()) : the_post();
    foreach((get_the_category()) as $category) {
    $cat=$category->cat_ID ;
    }
    ?>
    <?php endwhile; ?>
    <?php endif; ?>
    <?php global $date; $date=date('m/j'); ?>
    <div class="white">
    <div id="col3" class="cls">
    <?php include (TEMPLATEPATH . '/leftsbar2.php'); ?>
    <div class="right">
    <div class="box3 rad8">

    <div class="title cls">

    <div class="title cls"><h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to ','dnld'); ?><?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1></div>
    <div class="content" id="cms-body">

    <?php the_content(__('','dnld')); ?>
    <div align="center">
    <font style="background-color: #ffffff;" color="#0060ff" size="4"> <blink><strong>با نظراتتون به ما دلگرمی بدهید...</strong></blink></font><span style="background-color: #0099FF"><br>
    </span>
    </div>
    </div>
    <div style="text-align: center; margin: 5px;"><div style="text-align: center;">
    <center><?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(4) ) : else : ?> <?php endif; ?></div>
    </div>
    <div class="box2"><div style="padding: 5px; text-align: right;">
    ارسال شده در <span class="tc2"><?php echo jdate('l j F Y'); ?></span> و <span class="tc2"><?php echo jdate('G:i'); ?></span>
    </div></div>
    <div class="info">
    <img border="0" src="<?php bloginfo('template_directory'); ?>/images/author.png"> نویسنده :<?php the_author_nickname(); ?>  
    <img border="0" src="<?php bloginfo('template_directory'); ?>/images/view.png"> تعداد بازدید : <?php setPostViews(get_the_ID()); ?><?php echo getPostViews(get_the_ID()); ?>   
    <img border="0" src="<?php bloginfo('template_directory'); ?>/images/cat-gory.png">دسته بندی : <?php the_category(' , ')?>
    <g:plusone size="medium" href="<?php the_permalink(); ?>"></g:plusone>
    </br>
    </div>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="box2">
    <table border="0">
    <tr>
    <td><font style="font-weight: bold; color: rgb(204, 51, 204);" size="3"><span style="font-family: times new roman,times,serif;">اشتراک گذاری این مطلب در :</span></font> </td>
    <td><div class="bor"> <a href="http://balatarin.com/links/submit?phase=2&url=<?php the_permalink() ?>&title=<?php the_title() ?><br />" rel="nofollow" target="_blank"><div class="parent-icon-menu" style="width:26px;height:26px;background-position:-1330px -46px;background-repeat:no-repeat;" alt="بالاترین" title="اشتراک گذاری در بالاترین" > </div></div></a></td>
    <td><div class="bor"> <a href="http://www.cloob.com/share/link/add?url=[Post_Link]&title=[Post_Title]" target="_blank" title="اشتراک گذاري در کلوب" ><div class="parent-icon-menu" style="width:26px;height:26px;background-position:-1393px -46px;background-repeat:no-repeat;" alt="کلوب" title="اشتراک گذاری در کلوب" > </div></div></a> </td>
    <td><div class="bor"> <a href="http://twitter.com/home?status=[Post_Title] - [Post_Link]" target="_blank" rel="nofollow" title="اشتراک در توييتر" ><div class="parent-icon-menu" style="width:26px;height:26px;background-position:-1300px -46px;background-repeat:no-repeat;" alt="تویتر" title="اشتراک گذاری در تویتر" > </div></div></a></td>
    <td><div class="bor"> <a href="http://facebook.com/sharer.php?u=[Post_Link]&t=[Post_Title]" target="_blank" rel="nofollow" title="اشتراک گذاري در Facebook" ><div class="parent-icon-menu" style="width:26px;height:28px;background-position:-1002px -45px;background-repeat:no-repeat;" alt="فیس بوک" title="اشتراک گذاری در فیس بوک" > </div></div></a></td>
    <td><div class="bor"> <a href="http://google.com/bookmarks/mark?op=add&bkmk=[Post_Link]&title=[Post_Title]" target="_blank" rel="nofollow" title="اشتراک گذاري در Google Bookmarks" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1521px -45px;background-repeat:no-repeat;" alt="گوگل" title="اشتراک گذاری در Google Bookmarks" > </div></div></a></td>
    <td><div class="bor"> <a href="http://www.google.com/reader/link?url=[Post_Link]&title=[Post_Title]&srcURL=[Post_Link]" target="_blank" rel="nofollow" title="اشتراک گذاري در Google Buzz" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1359px -46px;background-repeat:no-repeat;" alt="گوگل " title="اشتراک گذاری در Google Buzz" > </div></div></a></td>
    <td><div class="bor"> <a href="http://digg.com/submit?phase=2&url=[Post_Link]&title=[Post_Title]" target="_blank" rel="nofollow" title="اشتراک گذاري در Digg" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1453px -46px;background-repeat:no-repeat;" alt="دیگ" title="اشتراک گذاری در دیگ" > </div></div></a></td>
    <td><div class="bor"> <a href="ymsgr:im?msg=ino bebin - [Post_Link] - [Post_Title]" target="_blank" rel="nofollow" title="اشتراک گذاري در ياهو مسنجر" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1030px -45px;background-repeat:no-repeat;" alt="یاهو مسنجر" title="اشتراک گذاری در یاهو مسنجر" > </div></div></a></td>
    <td><div class="bor"> <a href="http://technorati.com/faves?add=[Post_Link]&title=[Post_Title]" target="_blank" rel="nofollow" title="اشتراک گذاري در Technorati" ><div class="parent-icon-menu" style="width:26px;height:26px;background-position:-1298px -46px;background-repeat:no-repeat;" alt="تک" title="اشتراک گذاری در Technorati" > </div></div></a></td>
    <td><div class="bor"> <a href="http://friendfeed.com/share?title=[Post_Title]&url=[Post_Link]" target="_blank" rel="nofollow" title="اشتراک گذاري در FriendFeed" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1487px -46px;background-repeat:no-repeat;" alt="فرند فید" title="اشتراک گذاری در فرند فید" > </div></div></a></td>
    <td><div class="bor"> <a href="mailto:?subject=<?php the_title() ?>&body=سلام من از این مطلب لذت بردم، پیشنهاد می کنم شما هم بخوانید <?php the_permalink() ?>" rel="nofollow" target="_blank" ><div class="parent-icon-menu" style="width:28px;height:27px;background-position:-1066px -45px;background-repeat:no-repeat;" alt="ایمیل" title="ایمیل این مطلب به دوستان" > </div></div></a></td>
    </tr>
    </table>
    </div>


    <div class="box2">
    <div class="bahman">
    مطالب مرتبط:
    <br>
    <div style="padding: 5px 20px;">
    <?php
    $tags = wp_get_post_tags($post->ID);
    if ($tags) {
    $first_tag = $tags[0]->term_id;
    $args=array(
    'tag__in' => array($first_tag),
    'post__not_in' => array($post->ID),
    'showposts'=>5,
    'caller_get_posts'=>1
    );

    $rel_posts = new WP_Query($args);
    if( $rel_posts->have_posts() ) {
    while ($rel_posts->have_posts()) : $rel_posts->the_post(); ?>

    <div class="rel_posts">
    <div class="rel_link"><li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></li></div>
    </div>
    <?php
    endwhile;
    }
    }
    ?>
    <div class="clearer"></div>
    </div></div></div>
    <div class="info">
    <?php comments_template(); // Get wp-comments.php template ?>
    </div>

    </div>
    </div>
    </div>
    </div>

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <?php endif; ?>

    <?php endwhile; else: ?>
    <h2 class="center"><?php _e('یافت نشد !'); ?></h2>
    <p class="center"><?php _e('متأسفانه جستجوی شما نتیجه ای در بر نداشت.'); ?></p>
    <?php endif; ?>
    <?php wp_footer(); ?>
    </div><?php include(TEMPLATEPATH . '/footer.php'); ?></div></div>

    <?php get_footer(); ?>
    </div>
    </div>

  7. کد style


    @font-face{font-famiy:BKoodak;src:url(fonts/BKoodakBold.eot?#) format(eot), url(fonts/BKoodakBold.woff) format(woff), url(fonts/BKoodakBold.ttf) format(truetype);}*{margin:0;padding:0;}body{background:#e5e5e5 url(images/bg.jpg) repeat-x;font-size:11px;line-height:17px;color:#222;direction:rtl;font-family:tahoma;text-align:right;}a{text-decoration:none;color:#425969;}a:hover{text-decoration:none;color:#111;}a.more{font-size:12px;text-decoration:none;color:#fff;background-color:#ff7a19;-moz-border-radius:5px;padding:3px 5px;}a.more:hover{color:#fff;background-color:#373737;}a.btn{font-size:12px;text-decoration:none;color:#fff;background-color:#202020;-moz-border-radius:5px;margin:3px;padding:4px 6px 6px;}a.btn:hover{color:#1f1f1f;background-color:#fff;}div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{vertical-align:baseline;outline:0;list-style:none;text-decoration:none;margin:0;padding:0;}input{color:#797979;font:normal 11px tahoma;border:1px solid #d9d9d9;background:#f7fafb;}textarea{color:#51535B;font:normal 11px tahoma;border:1px solid #d9d9d9;background:#fbfbfb;}#search{float:right;color:#51535B;padding:0;}#warpper{width:960px;background:#fff;box-shadow:0 0 8px #2d2d2d;-moz-box-shadow:0 0 8px #2d2d2d;-webkit-box-shadow:0 0 8px #2d2d2d;text-align:right;margin:0 auto;}#header{width:960px;height:240px;background:#fff url(images/logo.jpg) no-repeat bottom right;margin:10px auto 0;}#nav{background:none;height:40px;width:960px;border:0;padding-top:5px;}#nav ul{list-style:none;margin:0;padding:0;}#nav ul li{float:left;}.right{float:right;width:180px;margin-right:8px;}.right1{float:right;width:300px;margin-right:8px;}.sidebar-box ul li{border-bottom:1px solid #eee;list-style-type:none;background:url(images/arr.gif) no-repeat right;padding-right:8px;}.sidebar-box2 ul li{border-bottom:1px solid #eee;list-style-type:none;padding:5px 8px;}.rss-box{background:#efa903;border:1px solid #d89300;-moz-border-radius:8px;-moz-outline-radius:8px;margin-bottom:10px;outline:0 solid #ddd;list-style-type:none;color:#fff;padding:3px 5px;}.hotposts{border-bottom:1px dashed #ddd;padding-bottom:7px;}.hotposts H3{font-size:11px;padding-top:6px;}.centerblocks{float:right;width:579px;}.centerblocks5{float:right;width:461px;padding:1px 0 0;}.centerblocks1{float:right;width:579px;padding:11px 0 0;}.post{border:1px solid #e7e7e7;border-radius:10px;-moz-border-radius:8px;-moz-outline-radius:8px;background:#fff;box-shadow:0 0 5px #ddd;-moz-box-shadow:0 0 5px #ddd;-webkit-box-shadow:0 0 5px #ddd;margin:0 4px 15px;padding:8px;}.post #block{height:350px;overflow:hidden;}.post #block1{height:33px;overflow:hidden;}.post1 #block2{height:390px;overflow:hidden;}.post ul li{border-bottom:1px solid #eee;list-style-type:none;padding:5px 8px 1px 0;}.post #post-title{text-align:right;}.post #post-title h1{font-size:11px;font:bold;padding-right:15px;}.post #content{padding:4px 5px 8px;}.post #content img{margin:7px 0;}.post #info{padding-right:5px;background:#f5f5f5;color:#b6b6b6;border:1px dashed #ddd;border-bottom:1px dashed #ddd;}.author-info{background:#fcf2c2;border:1px solid #e7e7e7;-moz-border-radius:8px;-moz-outline-radius:8px;box-shadow:0 0 5px #ddd;-moz-box-shadow:0 0 5px #ddd;-webkit-box-shadow:0 0 5px #ddd;margin:0 4px;padding:3px 10px 5px 5px;}.author-info h4{background:#fcf2c2;font-weight:700;border-bottom:1px dashed #ddd;margin-bottom:8px;}.author-img{float:left;border:5px solid #ded5ab;margin:0 10px 10px;}.clipimg{float:right;width:99px;height:99px;border:1px solid #ddd;margin:8px 4px;padding:1px;}.clipimg img{border:0;width:99px;height:99px;}.gameimg{float:right;width:86px;height:86px;border:1px solid #ddd;margin:8px 4px;padding:1px;}.gameimg img{border:0;width:86px;height:86px;}.game-more{padding-right:5px;background:none;color:#b6b6b6;border:1px dashed #ddd;border-bottom:1px dashed #ddd;margin:0 4px 3px 7px;}.comment{direction:rtl;padding:8px 6px 6px 8px;}.commenthead{border-bottom:2px solid #ff7a19;padding-bottom:3px;}.commenthead1{border-bottom:2px solid #00f;padding-bottom:3px;}.comment-content{background:#fff;border-bottom:1px dashed #ddd;padding-bottom:5px;margin:4px 10px;}.comment-content #content{padding-right:7px;}.add-comment{padding-right:10px;padding-top:10px;line-height:25px;}#text{background:#FFF;border:1px solid #E6E6E6;text-align:right;width:400px;height:150px;font-family:tahoma;font-size:9pt;color:#000;margin-top:4px;}.articles{padding:10px;}.thumbnail{float:center;width:75px;height:75px;background:#FFF url(images/no-thumbnail.png);border:1px solid #ddd;margin:8px 4px;padding:0;}.thumbnail img{border:0;width:80px;height:80px;}.rel_posts{float:left;margin:15px 15px 15px 0;}.rel_thumb{margin:10px 0;}.rel_thumb img{border:1px solid #aaa;}.rel_link{text-align:right;color:#555;}.clearer{clear:both;}.tab-thumb img{background:#f8f8f8;border:1px solid #eee;float:right;width:75px;height:75px;margin:0 0 0 10px;padding:4px 4px 10px;}.tab-thumbnail{border:1px solid #eee;float:right;width:75px;height:75px;background:url(images/no-thumbnail.png);margin:0 0 0 10px;padding:4px;}.entry-title,.entry-title a{font-size:10px;line-height:20px;color:#333;font-family:tahoma;padding-top:25px;}.entry-title a:hover{text-decoration:none;color:red;}.entry-title1,.entry-title1 a{font-size:10px;line-height:20px;color:#333;font-family:tahoma;padding-top:30px;-webkit-transition:All .3215s ease;-moz-transition:All .3215s ease;-o-transition:All .3215s ease;margin:2px 0;}.entry-title2,.entry-title2 a{font-size:10px;line-height:20px;color:#333;font-family:tahoma;padding-top:10px;-webkit-transition:All .3215s ease;-moz-transition:All .3215s ease;-o-transition:All .3215s ease;margin:2px 0;}.entry-meta,.entry-meta a{color:#999;font-size:10px;text-transform:uppercase;}.entry-meta a:hover{text-decoration:none;}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.clearfix{display:block;}.none{display:none;}.post-thumb img{background:#fff;border:1px solid #eee;float:right;width:120px;height:150px;margin:0 0 0 10px;padding:4px;}.post-tab-thumbnail{border:1px solid #eee;background:url(images/news.png);float:right;width:120px;height:150px;margin:0 0 0 10px;padding:4px;}.post-entry-title,.post-entry-title a{color:#21759b;font-family:BYekan;background:url(images/bg-dots.png) right bottom repeat-x;padding:15px 5px 8px 2px;}.post-entry-title a:hover{color:red;text-decoration:none;}.post-entry-meta{padding-top:2px;}.post-entry-header{background:url(images/bg-dots.png) right bottom repeat-x;margin:0 0 15px;padding:0 0 5px;}.post-entry-header2{width:400px;background:url(images/bg-dots.png) right bottom repeat-x;margin:0 0 5px;padding:0 10px 5px 0;}.post-main ul{padding-top:70px;}.post-main ul li{background:#fff url(images/arr.gif) no-repeat right 11px;-webkit-transition:All .3215s ease;-moz-transition:All .3215s ease;-o-transition:All .3215s ease;margin:2px 0;padding:3px 10px 1px 3px;}.post-main ul li:hover{background:#FF0 url(images/arr.gif) no-repeat right 11px;padding:9px 18px 9px 10px;}.block-img{width:100px;height:100px;float:right;padding:10px 0 100px;}.block-img img{width:100px;height:135px;}.block-content{width:365px;height:100%;padding:0 20px 100px 0;}ul.tabs{float:right;list-style:none;height:32px;width:100%;font:12px tahoma;margin:0;padding:1px;}ul.tabs li{float:right;cursor:pointer;height:31px;line-height:31px;border:1px solid #999;border-right:none;font-weight:700;background:#EEE;overflow:hidden;position:relative;margin:0;padding:0 2px;}ul.tabs li:hover{background:#CCC;}ul.tabs li:first-child{border-radius:0 7px 0 0;-moz-border-radius:0 5px 0 0;-ms-border-radius:0 5px 0 0;-webkit-border-radius:0 5px 0 0;-o-border-radius:0 5px 0 0;-khtml-border-radius:0 5px 0 0;border-right:1px solid #999;}ul.tabs li:last-child{border-radius:7px 0 0 0;-moz-border-radius:5px 0 0;-ms-border-radius:5px 0 0 0;-webkit-border-radius:5px 0 0 0;-o-border-radius:5px 0 0 0;-khtml-border-radius:5px 0 0 0;}ul.tabs li.tabactive{background:#FFF;border-bottom:1px solid #FFF;}.alltabs{border:1px solid #999;clear:both;float:right;width:100%;background:#FFF;border-radius:5px 0 5px 5px;-moz-border-radius:5px 0 5px 5px;-ms-border-radius:5px 0 5px 5px;-webkit-border-radius:5px 0 5px 5px;-o-border-radius:5px 0 5px 5px;-khtml-border-radius:5px 0 5px 5px;}.tab{font:11px tahoma;text-align:right;display:none;padding:0 0 5px 9px;}ul.tabs .tabactive{float:right;background:red;color:#FFF;}.parent-icon-menu{padding-right:7px;background:url(images/pic3.jpg);}.parent-element-sidebar2{background:url(images/pic1.jpg);}.parent-element-sidebar3{background:url(images/pic2.jpg);}.tv{background:url(images/tv.jpg);}.parent-element-sidebar5{background:url(images/pic4.jpg);}#footer{text-align:right;font-size:12px;color:#000;margin-top:10px;border-top:1px dotted #aaa;padding-top:10px;padding-bottom:10px;}#footer a{color:#000;}#footer a:hover{color:#111;}#input,#input2{height:20px;width:100px;text-align:right;direction:rtl;padding-right:50px;padding-top:-5px;border:0 solid #ddd;-moz-border-radius:10px;background:none;margin-bottom:8px;}.sidebar-box,.sidebar-box2,.sidebar-box1{border-radius:10px;border:1px solid #ddd;-moz-border-radius:8px;-moz-outline-radius:8px;margin-bottom:10px;outline:0 solid #ddd;list-style-type:none;padding:3px 5px;}.sidebar-box ul,.sidebar-box2 ul,.post ul{list-style-type:none;}.sidebar-box ul li ul,.sidebar-box2 ul li ul{border:0;}.sidebar-box H3,.rss-box H3{font-size:11px;}.center,.center2{float:right;width:579px;margin:0 4px;}.center1{float:right;width:640px;margin:0 4px;}.post #info:hover,.game-more:hover{background:#ededed;color:#232323;}#author,#email,#url{float:left;background:#FFF url(images/txtbgi.gif) repeat scroll 0 50%;border:1px solid #E6E6E6;text-align:right;font-family:tahoma;font-size:9pt;color:#000;width:200px;height:20px;margin:1px 0 1px 45px;}.left,.left2{float:left;width:175px;margin-left:8px;}.tab-thumbnail img:hover,.tab-thumb img:hover,.post-thumb img:hover,.post-tab-thumbnail img:hover{border:1px solid #8E999E;background:#FFB963;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.bor:hover{border:1px solid #FFB963;background:#FFB963;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:3px;}.entry-title1 a:hover,.entry-title2 a:hover{text-decoration:none;color:#0551ff;background:#7ff644;font-size:13px;border:solid 0;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;padding:9px 18px 9px 10px;}
    .post-main1 ul{padding-top:50px;}.post-main1 ul li{background:#fff url(images/arr.gif) no-repeat right 11px;-webkit-transition:All .3215s ease;-moz-transition:All .3215s ease;-o-transition:All .3215s ease;margin:2px 0;padding:3px 10px 1px 3px;}.post-main1 ul li:hover{background:#FF0 url(images/arr.gif) no-repeat right 11px;padding:9px 18px 9px 10px;}
    .post-main2 ul{padding-top:120px;}.post-main2 ul li{background:#fff url(images/arr.gif) no-repeat right 11px;-webkit-transition:All .3215s ease;-moz-transition:All .3215s ease;-o-transition:All .3215s ease;margin:2px 0;padding:3px 10px 1px 3px;}.post-main2 ul li:hover{background:#FF0 url(images/arr.gif) no-repeat right 11px;padding:9px 18px 9px 10px;}
    .button { border-top: 1px solid #ffffff; background: #ffffff; background: -webkit-gradient(linear, left top, left bottom, from(#dedede), to(#ffffff)); background: -moz-linear-gradient(top, #dedede, #ffffff); padding: 3px 6px; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; box-shadow: rgba(0,0,0,1) 0 1px 0; text-shadow: rgba(0,0,0,.4) 0 1px 0; color: #000000; font-size: 15px; font-family: Arial; text-decoration: none; vertical-align: middle; } .button:hover { border-top-color: #5346b5; background: #5346b5; color: #3aff1c; } .button:active { border-top-color: #d9416c; background: #d9416c; }

  8. سلام

    نمی دونم چرا زمان ارسال مطلب

    بین جملات اینتر می زنم یا عکس رو وسط چین می کنم

    زمانی که روی سایت نگاه می کنم انگار نه انگار بین جملات اینتر زدم و به هم چسبیدن و عکس هم راست چین هست

    ولی فقط رنگ متن و بقیه تغییرات ثبت میشه

    مشکل از چیه ؟ چطور درستش کنم

    ممنون

  9. سلام

    من زیاد تجربه ای در برنامه نویسی سایت ندارم

    من یک سایت تفریحی دارم که صفحه ی اصلیش دارای چندین بلوک هست مانند اخبار گالری عکس و ...

    حال می خواهد تو هر بلوک یک سری دکمه معرفی کنم

    مثلا در بلوک گالری عکس بعد از 5 عنوان مطالب مربوطه زیرش چند دکمه عکس ماشین عکس طبیعت و ... تعریف کنم همین طور برای بلوک های دیگه

    می خواهم بدونم این کدها رو در خود فایل index مستقیم بنویسم در فایل دیگه بنویسم انجا فراخوانی بشه چکار کنم

    اگر بخواهم فراخوانی کنم چطوری این کار را بکنم

    ممنون

×
×
  • اضافه کردن...