1. 全ページ共通
  2. $calendar2.html

$calendar2.html

サンプルコード

<div><{$calendar2.html}></div>

HTML出力イメージ

<div>
    <table class="makeshop-calendar2">
        <thead>
            <tr>
                <th class="sunday">日</th>
                <th class="monday">月</th>
                <th class="tuesday">火</th>
                <th class="wednesday">水</th>
                <th class="thursday">木</th>
                <th class="friday">金</th>
                <th class="saturday">土</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td class="wednesday day1">1</td>
                <td class="thursday day2">2</td>
                <td class="friday day3">3</td>
                <td class="saturday day4">4</td>
            </tr>
            <tr>
                <td class="sunday day5">5</td>
                <td class="monday day6">6</td>
                <td class="tuesday day7">7</td>
                <td class="wednesday day8">8</td>
                <td class="thursday day9">9</td>
                <td class="friday day10">10</td>
                <td class="saturday day11">11</td>
            </tr>
            <tr>
                <td class="sunday day12">12</td>
                <td class="monday day13">13</td>
                <td class="tuesday day14">14</td>
                <td class="wednesday day15">15</td>
                <td class="thursday day16">16</td>
                <td class="friday day17">17</td>
                <td class="saturday day18">18</td>
            </tr>
            <tr>
                <td class="sunday day19">19</td>
                <td class="monday day20">20</td>
                <td class="tuesday day21">21</td>
                <td class="wednesday day22">22</td>
                <td class="thursday day23">23</td>
                <td class="friday day24">24</td>
                <td class="saturday day25">25</td>
            </tr>
            <tr>
                <td class="sunday day26">26</td>
                <td class="monday day27">27</td>
                <td class="tuesday day28">28</td>
                <td class="wednesday day29">29</td>
                <td class="thursday day30">30</td>
                <td class="friday day31">31</td>
                <td></td>
            </tr>
        </tbody>
    </table>
</div>