پرش به محتوا

الگو:آخرین مطالب: تفاوت میان نسخه‌ها

از صبح نجف
جزبدون خلاصۀ ویرایش
برچسب: ویرایش مبدأ ۲۰۱۷
جزبدون خلاصۀ ویرایش
برچسب: ویرایش مبدأ ۲۰۱۷
 
(۲۴ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<div style="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: stretch; margin: 0 auto;">
<div style="display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; margin: 20px auto 0 auto;">
      
      
     <!-- الگوی اول: مطالب تصادفی -->
     <!-- الگوی اول: مطالب وبلاگ نویس -->
    <div style="flex: 1 1 300px; min-width: 250px; max-width: 650px; border: 1px solid #e0e0e0; padding: 15px; background: linear-gradient(145deg, #fefefe, #f5f7fa); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);">
<div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #bae6fd; padding: 18px; background: linear-gradient(80deg, #e5ffe4, #ffffff); border-radius: 16px; box-shadow: 0 8px 20px rgba(14,165,233,0.08);">
        <div style="font-size: 18px; font-weight: bold; color: #2c3e50; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #4a90e2; text-align: center;">🎲 مطالب تصادفی</div>
    <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
        📰 وبلاگ نویس
    </div>
    <div style="color: #075985;">
         <DynamicPageList>
         <DynamicPageList>
namespace = main
category            = وبلاگ نویس
count = 16
count               = 10
ordermethod = sortkey
order                = descending
order = ascending
ordermethod         = categoryadd
suppresserrors = true
addfirstcategorydate = true
shownamespace        = false
mode                = unordered
suppresserrors       = true
</DynamicPageList>
</DynamicPageList>
     </div>
     </div>
</div>


    <!-- الگوی دوم: آخرین مطالب -->
 
    <div style="flex: 1 1 300px; min-width: 250px; max-width: 650px; border: 1px solid #e0e0e0; padding: 15px; background: linear-gradient(145deg, #fefefe, #f5f7fa); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);">
<!-- الگوی سوم: مقالات -->
        <div style="font-size: 18px; font-weight: bold; color: #2c3e50; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #4a90e2; text-align: center;">📰 آخرین مطالب</div>
<div style="flex: 1 1 300px; min-width: 250px; max-width: 600px; border: 1px solid #bae6fd; padding: 18px; background: linear-gradient(80deg, #e5ffe4, #ffffff); border-radius: 16px; box-shadow: 0 8px 20px rgba(14,165,233,0.08);">
    <div style="font-size: 18px; font-weight: bold; color: #0369a1; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #0ea5e9; text-align: center;">
        📰 مقالات
    </div>
    <div style="color: #075985;">
         <DynamicPageList>
         <DynamicPageList>
namespace = main
category            = مقالات
count = 16
count               = 10
ordermethod = lastedit
order                = descending
order = descending
ordermethod         = categoryadd
mode = unordered
addfirstcategorydate = true
suppresserrors = true
shownamespace        = false
addtitlecategory = false
mode                 = unordered
suppresserrors       = true
</DynamicPageList>
</DynamicPageList>
     </div>
     </div>
</div>


</div>
</div>

نسخهٔ کنونی تا ‏۱۴ اردیبهشت ۱۴۰۵، ساعت ۱۰:۳۰

       📰 وبلاگ نویس


       📰 مقالات