<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: siamakabi</title>
    <description>The latest articles on DEV Community by siamakabi (@siamakabi).</description>
    <link>https://dev.to/siamakabi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1038883%2F8c7f1bdb-7296-4b21-bd94-083f0cb707f6.jpeg</url>
      <title>DEV Community: siamakabi</title>
      <link>https://dev.to/siamakabi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/siamakabi"/>
    <language>en</language>
    <item>
      <title>pocketbase</title>
      <dc:creator>siamakabi</dc:creator>
      <pubDate>Thu, 09 Oct 2025 23:27:47 +0000</pubDate>
      <link>https://dev.to/siamakabi/pocketbase-44i1</link>
      <guid>https://dev.to/siamakabi/pocketbase-44i1</guid>
      <description></description>
    </item>
    <item>
      <title>database</title>
      <dc:creator>siamakabi</dc:creator>
      <pubDate>Mon, 13 Jan 2025 13:34:56 +0000</pubDate>
      <link>https://dev.to/siamakabi/database-426p</link>
      <guid>https://dev.to/siamakabi/database-426p</guid>
      <description></description>
    </item>
    <item>
      <title>Morilog Jalali laravel persian</title>
      <dc:creator>siamakabi</dc:creator>
      <pubDate>Sun, 02 Apr 2023 12:28:38 +0000</pubDate>
      <link>https://dev.to/siamakabi/morilog-jalali-laravel-persian-4jlj</link>
      <guid>https://dev.to/siamakabi/morilog-jalali-laravel-persian-4jlj</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
require_once 'vendor/autoload.php';

use Morilog\Jalali\Jalalian;

// تاریخ شروع
$start_date = Jalalian::fromFormat('Y/m/d', '1402/01/01')-&amp;gt;toCarbon();
// تاریخ پایان
$end_date = Jalalian::fromFormat('Y/m/d', '1402/01/31')-&amp;gt;toCarbon();

// ساخت جدول
$table = "&amp;lt;table&amp;gt;&amp;lt;thead&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;روز هفته&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;تاریخ&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;نام روز&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/thead&amp;gt;&amp;lt;tbody&amp;gt;";

// حلقه برای گرفتن تاریخ‌های بین دو تاریخ شمسی
while ($start_date &amp;lt;= $end_date) {
    // تبدیل تاریخ میلادی به شمسی
    $jdate = Jalalian::fromCarbon($start_date);
    // اضافه کردن سطر به جدول
    $table .= "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" . $jdate-&amp;gt;getDayOfWeek() . "&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;" . $jdate-&amp;gt;format('Y/m/d') . "&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;" . getDayName($jdate-&amp;gt;getDayOfWeek()) . "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;";
    // افزایش تاریخ به روز بعدی
    $start_date-&amp;gt;addDay();
}

// بستن جدول
$table .= "&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;";

echo $table;

function getDayName($day_of_week){
    switch ($day_of_week){
        case 0:
            return 'شنبه';
        case 1:
            return 'یک‌شنبه';
        case 2:
            return 'دوشنبه';
        case 3:
            return 'سه‌شنبه';
        case 4:
            return 'چهارشنبه';
        case 5:
            return 'پنج‌شنبه';
        case 6:
            return 'جمعه';
    }
}
?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="http://noorgram.rozblog.com/post/232"&gt;منبع&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>first post</title>
      <dc:creator>siamakabi</dc:creator>
      <pubDate>Sun, 05 Mar 2023 10:16:40 +0000</pubDate>
      <link>https://dev.to/siamakabi/first-post-1gel</link>
      <guid>https://dev.to/siamakabi/first-post-1gel</guid>
      <description>&lt;p&gt;Hello friends&lt;br&gt;
I am interested in website design&lt;br&gt;
I hope to learn useful things from you&lt;br&gt;
For better management of these sites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://mag.noorgram.ir"&gt;https://mag.noorgram.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://noorgram.ir"&gt;https://mag.noorgram.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://norgram.ir"&gt;https://norgram.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://shut.ir"&gt;https://shut.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://shutt.ir"&gt;https://shutt.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://emojifa.ir"&gt;https://emojifa.ir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tabdil.site/area"&gt;https://tabdil.site/area&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
