include_once ("../tools/dbsettings.html"); include_once ("../tools/functions.html"); if(ereg("^[0-9]{8}",$_SERVER["QUERY_STRING"])){ $yr = substr($_SERVER["QUERY_STRING"],0,4); $mon = substr($_SERVER["QUERY_STRING"],4,2); $dy = substr($_SERVER["QUERY_STRING"],6,2); $querryYmd = $yr."-".$mon."-".$dy; $today = getdate(mktime(0,0,0,$mon,$dy,$yr)); $this_sunday = when_Sunday ($querryYmd);//今週日曜日(Y-m-d) $this_saturday = when_Saturday ($querryYmd);//今週土曜日(Y-m-d) $todays_next_sunday = when_Sunday (sprintf("%4d-%02d-%02d", $yr, $mon, $dy+7)); }else{ $today = getdate(); $querryYmd = $todaycode; $this_sunday = when_Sunday ($todayYMD);//今週日曜日(Y-m-d) $this_saturday = when_Saturday ($todayYMD);//今週土曜日(Y-m-d) $todays_next_sunday = when_Sunday (sprintf("%4d-%02d-%02d", $thisyearcode, $thismonthcode, $thistodaycode+7)); } $m_num = $today[mon]; $m_eng = $today[month]; $d_num = $today[mday]; $year = $today[year]; $f_today = getdate(mktime(0,0,0,$m_num,1,$year)); $wday = $f_today[wday]; $day = 1; $fweek = true; $m_name = "$year ".substr($today[month],0,3); $prev_month = date("Ymd", mktime(0,0,0,$m_num-1,1,$year)); $next_month = date("Ymd", mktime(0,0,0,$m_num+1,1,$year)); $prev_week = date("Ymd", mktime(0,0,0,$m_num,$d_num-7,$year)); $next_week = date("Ymd", mktime(0,0,0,$m_num,$d_num+7,$year)); $prev_day = date("Ymd", mktime(0,0,0,$m_num,$d_num-1,$year)); $next_day = date("Ymd", mktime(0,0,0,$m_num,$d_num+1,$year)); ?>
総合情報 / 総合ディレクター / キュレーター / 建築家チーム 参加アーティスト / イベント情報 / ボランティア / お問い合わせ / 関連リンク ディレクターズ・ダイアリー < ホーム
|