ホーム > イベントカレンダー
- ">尾道エリアのイベント(尾道市内)
- 近隣エリアのイベント(尾道市外)
" class="cal_prev-wide">=date("n",$prevdate) ?>月
=date("Y",$nowdate) ?>年=date("n",$nowdate) ?>月
" class="cal_next-wide">=date("n",$nextdate) ?>月
= %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 = '
-
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>)
- = $aaa['name'] ?>
=strReplace($eventtable["caption"],2) ?>




開催期間が期間にわたっての祭りやイベント情報です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
-
%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 = '
-
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>) ~ =date("n月j日",getutime($eventtable["enddate"],1)) ?> (=getweek(getutime($eventtable["enddate"],1)) ?>)
- = $aaa['name'] ?>
=strReplace($eventtable["caption"],2) ?>




開催期間が1日の祭りやイベント(終了分)情報です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
-
0){
$areatable = mysqli_fetch_assoc($res2);
switch ($areatable["area"]){
case 1:
$areaicon = '
-
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>)
- = $aaa['name'] ?>
=strReplace($eventtable["caption"],2) ?>




開催期間が期間にわたっての祭りやイベント情報(終了分)です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
-
0){
$areatable = mysqli_fetch_assoc($res2);
switch ($areatable["area"]){
case 1:
$areaicon = '
-
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>) ~ =date("n月j日",getutime($eventtable["enddate"],1)) ?> (=getweek(getutime($eventtable["enddate"],1)) ?>)
- = $aaa['name'] ?>
=strReplace($eventtable["caption"],2) ?>



