ホーム > イベントカレンダー

イベントカレンダー

Event Calendar おのみち花暦
= %s AND enddate = '0000-00-00' ORDER BY startdate ASC" ,$areasql ,quote_smart($startdate) ,quote_smart($enddate) , quote_smart(date("Y-m-d")) ); //echo "\n"; $res = mysqli_query($mysqli, $sql); if (!$res) { print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli)); exit; } $rec = mysqli_num_rows($res); //クエリーレコード数 if ($rec>0){ ?>

尾道近隣エリア(しまなみ海道・やまなみ街道沿線)のイベント情報をご紹介します。

当日イベント

開催期間が1日の祭りやイベントです。この日限りの催し物です、ぜひお見逃しなく!
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)

    0){ $areatable = mysqli_fetch_assoc($res2); switch ($areatable["area"]){ case 1: $areaicon = 'おのみちエリア'; break; case 2: $areaicon = 'しまなみ・百島エリア'; break; case 3: $areaicon = '近隣エリア'; break; case 4: $areaicon = '全域エリア'; break; } $areastr = $areatable["name"]."(".$areastr.")"; } ?>
    &ym=">

%s)) AND enddate >= %s ORDER BY startdate ASC" ,$areasql ,quote_smart($startdate) ,quote_smart($enddate) ,quote_smart($startdate) ,quote_smart($enddate) ,quote_smart($startdate) ,quote_smart($enddate) , quote_smart(date("Y-m-d")) ); //echo "\n"; $res = mysqli_query($mysqli, $sql); if (!$res) { print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli)); exit; } $rec = mysqli_num_rows($res); //クエリーレコード数 if ($rec>0){ ?>

期間イベント

開催期間が期間にわたっての祭りやイベント情報です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)

    %s)) ORDER BY startdate ASC",$areasql,quote_smart($startdate),quote_smart($enddate),quote_smart($startdate),quote_smart($enddate),quote_smart($startdate),quote_smart($enddate)); //echo "\n"; $res = mysqli_query($mysqli, $sql); if (!$res) { print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli)); exit; } $rec = mysqli_num_rows($res); //クエリーレコード数 for ($i=0;$i<$rec;$i++){ $eventtable = mysqli_fetch_assoc($res); $sql2 = sprintf("SELECT * FROM o_area WHERE id = %s",quote_smart($eventtable["area"])); $res2 = mysqli_query($mysqli, $sql2); if (!$res2) { print("$sql2 が実行できませんでした.理由: " .mysqli_error($mysqli)); exit; } $rec2 = mysqli_num_rows($res2); //クエリーレコード数 if($rec2>0){ $areatable = mysqli_fetch_assoc($res2); switch ($areatable["area"]){ case 1: $areaicon = 'おのみちエリア'; break; case 2: $areaicon = 'しまなみ・百島エリア'; break; case 3: $areaicon = '近隣エリア'; break; case 4: $areaicon = '全域エリア'; break; } $areastr = $areatable["name"]."(".$areastr.")"; } ?>
  • ) ~
    &ym=">

\n"; $res = mysqli_query($mysqli, $sql); if (!$res) { print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli)); exit; } $rec = mysqli_num_rows($res); //クエリーレコード数 if ($rec>0){ ?>

当日イベント(終了分)

開催期間が1日の祭りやイベント(終了分)情報です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)

    0){ $areatable = mysqli_fetch_assoc($res2); switch ($areatable["area"]){ case 1: $areaicon = 'おのみちエリア'; break; case 2: $areaicon = 'しまなみ・百島エリア'; break; case 3: $areaicon = '近隣エリア'; break; case 4: $areaicon = '全域エリア'; break; } $areastr = $areatable["name"]."(".$areastr.")"; } ?>
    &ym=">

%s)) AND enddate < %s ORDER BY startdate ASC" ,$areasql ,quote_smart($startdate) ,quote_smart($enddate) ,quote_smart($startdate) ,quote_smart($enddate) ,quote_smart($startdate) ,quote_smart($enddate) , quote_smart(date("Y-m-d")) ); //echo "\n"; $res = mysqli_query($mysqli, $sql); if (!$res) { print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli)); exit; } $rec = mysqli_num_rows($res); //クエリーレコード数 if ($rec>0){ ?>

期間イベント(終了分)

開催期間が期間にわたっての祭りやイベント情報(終了分)です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)

    0){ $areatable = mysqli_fetch_assoc($res2); switch ($areatable["area"]){ case 1: $areaicon = 'おのみちエリア'; break; case 2: $areaicon = 'しまなみ・百島エリア'; break; case 3: $areaicon = '近隣エリア'; break; case 4: $areaicon = '全域エリア'; break; } $areastr = $areatable["name"]."(".$areastr.")"; } ?>
  • ) ~
    &ym=">

ご覧になりたい月や年をクリック!