스케쥴




달력에 오늘 일정




컨텐츠 정보


본문

달력에 오늘 일정


내용


▶ 오늘일정

<!-- ================================================= -->
<?php
if ($member['mb_level'] >= $board['bo_read_level']) {
$today_w = date('Ymd', G5_SERVER_TIME); // 오늘일정
$nextday_w = date('Ymd'strtotime($today_w . ' +1 day')); // 내일일정
?>
<div class="day_list" style="width:<?php echo $width;?>">
    <table>
    <tr>
        <th>오늘 일정<br><?php echo date('m월 d일'strtotime($today_w)); ?></th>
        <td>
        <?php
        $sql = " select * from $write_table where wr_1 <= $today_w and wr_2 >= $today_w order by wr_num desc ";
        $result = sql_query($sql);
        for ($i=0$row = sql_fetch_array($result); $i++) {
        ?>
        <div>
            <h3 class="day_subject"><?php echo get_text($row['wr_subject']); ?></h3>
            <p class="day_content"><?php echo conv_content($row['wr_content'], 0?></p>
        </div>
        <?php } ?>
        <?php if ($i == 0) { ?><p class="empty_day">오늘 일정이 없습니다.</p><?php } ?>
        </td>
    </tr>
    <tr>
        <th>내일 일정<br><?php echo date('m월 d일'strtotime($nextday_w)); ?></th>
        <td>
        <?php
        $sql = " select * from $write_table where wr_1 <= $nextday_w and wr_2 >= $nextday_w order by wr_num desc ";
        $result = sql_query($sql);
        for ($i=0$row = sql_fetch_array($result); $i++) {
        ?>
        <div>
            <h3 class="day_subject"><?php echo get_text($row['wr_subject']); ?></h3>
            <p class="day_content"><?php echo conv_content($row['wr_content'], 0?></p>
        </div>
        <?php } ?>
        <?php if ($i == 0) { ?><p class="empty_day">내일 일정이 없습니다.</p><?php } ?>
        </td>
    </tr>
    </table>
</div>
<?php } ?>
<!-- =========================== -->


1.png https://11q.kr 에 등록된 자료 입니다.

뷰PDF add1,add2



관련자료

댓글 0
등록된 댓글이 없습니다.


전체 6 / 1 페이지
전체 6 / 1 페이지



♥간단_메모글♥


최근글


새댓글



PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
▶ 2024-04-27 05:18:25

오늘의 홈 현황


  • 현재 접속자♨ 103 명
  • 오늘 가입자※ 0 명
  • 어제 가입자※ 5 명
  • 주간 가입자※ 21 명
  • 오늘 방문자 766 명
  • 어제 방문자 1,688 명
  • 최대 방문자 13,042 명
  • 전체 방문자 4,290,971 명
  • 전체 게시물※ 8,534 개
  • 전체 댓글수※ 24,516 개
  • 전체 회원수 10,933 명

QR코드


☞ QR코드 스캔은 kakao앱 자체 QR코드

알림 0








최신글↑