본문 바로가기

Web/PHP

스케줄 달력 (schedule.html)


<link rel='stylesheet' href='schedule.css' type='text/css'>
<div class='popper' id='topdeck' style='position : absolute; visibility : hidden;background-color:white;padding:8;border:2 #BDDBF7 solid;filter:progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,Direction=135,Strength=3)'></div>
<script language='javascript' src='/include/poper.js'></script>
<script language='javascript' src='js/Link.js'></script>

<table cellspacing='0' cellpadding='0' border='0' width='100%' align='center' class='calendar_font'>
<tr>
    <td>
        <table cellspacing='0' cellpadding='0' border='0' width='95%' align='center'>
        <tr>
            <td>
                <table cellspacing='0' cellpadding='0' border='0'>
                <tr>
                    <td width='5'><a href='<?php echo $_SERVER[PHP_SELF].'?'.$nBackMonth.$sAppendix;?>'><img src='./img/arrow_l.gif' border='0' align='absbottom' onFocus='this.blur()'></a></td>
                    <td width='55' align='center' style='text-aling:center'><div id='BigMonth' align='center'><?php echo $nMonth;?></div></td>
                    <td width='5'><a href='<?php echo $_SERVER[PHP_SELF].'?'.$nNextMonth.$sAppendix;?>'><img src='./img/arrow_r.gif' border='0' align='absbottom' onFocus='this.blur()'></a></td>
                    <td style='padding-left:10'>
                    <b class='year'><?php
                    echo $nYear;
                    ?></b><br><font class=smallbar>|</font>
                    <?php
                    //
                    // 월 리스트
                    //
                    for($i=1; $i<13; ++$i)
                    {
                        $i2 = $i<10?'0'.$i:$i;
                        echo "
                        <a href='$_SERVER[PHP_SELF]?nYear=$nYear&nMonth=$i2'>$i</a> <font class=smallbar>|</font> ";
                    }
                    ?>
                    </td>
                    <td width='385' valign='bottom' align='right'>
                    <table cellspacing='0' cellpadding='0' border='0' width='100%'>
                    <tr>
                        <td align='center' background='./img/btn_back.gif' width='68' height='29'><a href='javascript:DayView(<?php echo "$nYear$nMonth$nDay";?>);'>일간</a></td>
                        <td width='2'> </td>
                        <td align='center' background='./img/btn_back.gif' width='68' height='29'><a href='javascript:WeekView(<?php echo "$nYear$nMonth$nDay";?>);'>주간</a></td>
                        <td width='2'> </td>
                        <td align='center' background='./img/btn_back.gif' width='68' height='29'><b class='ViewType'>월간</b></td>
                        <td width='2'> </td>
                        <td align='center'><button type='button' onFocus='this.blur()' style='width:174;height:30' onClick='ScheduleWrite()'><img src='img/btn_write.gif'></button></td>
                    </tr>
                    </table>
                    </td>
                </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>

                <!-- Schedule & Calender 시작 -->
                <table cellspacing='1' cellpadding='3' border='0' width='100%' align='center' class='calendar_default'>
                <tr class='calendar_top' style='height:25'>
                    <td style='color:deeppink'>일</td>
                    <td>월</td>
                    <td>화</td>
                    <td>수</td>
                    <td>목</td>
                    <td>금</td>
                    <td style='color:#6666FF'>토</td>
                </tr>
                <?php $objCalendar->Calendar(); ?>
                </tr>
                </table>
            </td>
        </tr>
        </table>
    </td>
</tr>
</table>

'Web > PHP' 카테고리의 다른 글

스케줄 달력 (list.php)  (0) 2013.09.26
스케줄 달력 (schedule.css)  (0) 2013.09.26
스케줄 달력 (solmoon2.php)  (0) 2013.09.26
스케줄 달력 (class.Calendar2.php)  (0) 2013.09.26
양력 -> 음력  (0) 2013.09.26