イベントカレンダー
イベントカレンダー
Event Calendar
- 尾道エリアの
イベント(尾道市内) - ">近隣エリアの
イベント(尾道市外)
" class="cal_prev">=date("n",$prevdate) ?>月
" class="cal_next">=date("n",$nextdate) ?>月
=date("Y",$nowdate) ?>年=date("n",$nowdate) ?>月
= %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){
?>
';
break;
case 2:
$areaicon = '
';
break;
case 3:
$areaicon = '
';
break;
case 4:
$areaicon = '
';
break;
}
$areastr = $areatable["name"]."(".$areastr.")";
}
?>
%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){
?>
';
break;
case 2:
$areaicon = '
';
break;
case 3:
$areaicon = '
';
break;
case 4:
$areaicon = '
';
break;
}
$areastr = $areatable["name"]."(".$areastr.")";
}
?>
\n";
$res = mysqli_query($mysqli, $sql);
if (!$res) {
print("$sql が実行できませんでした.理由: " . mysqli_error($mysqli));
exit;
}
$rec = mysqli_num_rows($res); //クエリーレコード数
if ($rec>0){
?>
';
break;
case 2:
$areaicon = '
';
break;
case 3:
$areaicon = '
';
break;
case 4:
$areaicon = '
';
break;
}
$areastr = $areatable["name"]."(".$areastr.")";
}
?>
%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){
?>
';
break;
case 2:
$areaicon = '
';
break;
case 3:
$areaicon = '
';
break;
case 4:
$areaicon = '
';
break;
}
$areastr = $areatable["name"]."(".$areastr.")";
}
?>
当日イベント
開催期間が1日の祭りやイベントです。この日限りの催し物です、ぜひお見逃しなく!
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
- = $aaa['name'] ?>
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>)
&ym==$ym ?>">=$eventtable["title"] ?>
/=$eventtable["place"] ?>
=$areaicon ?>(=$areatable["name"] ?>)
=strReplace($eventtable["caption"],2) ?>
期間イベント
開催期間が期間にわたっての祭りやイベント情報です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
- = $aaa['name'] ?>
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>) ~ =date("n月j日",getutime($eventtable["enddate"],1)) ?>(=getweek(getutime($eventtable["enddate"],1)) ?>)
&ym==$ym ?>">=$eventtable["title"] ?>/=$eventtable["place"] ?>
=$areaicon ?>(=$areatable["name"] ?>)
=strReplace($eventtable["caption"],2) ?>
当日イベント(終了分)
開催期間が1日の祭りやイベント(終了分)です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
- = $aaa['name'] ?>
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>)
&ym==$ym ?>">=$eventtable["title"] ?>
/=$eventtable["place"] ?>
=$areaicon ?>(=$areatable["name"] ?>)
=strReplace($eventtable["caption"],2) ?>
期間イベント(終了分)
開催期間が期間にわたっての祭りやイベント情報(終了分)です。
(イベントの名前・画像をクリックすると詳細ページがご覧になれます)
- = $aaa['name'] ?>
=date("n月j日",getutime($eventtable["startdate"],1)) ?>(=getweek(getutime($eventtable["startdate"],1)) ?>) ~ =date("n月j日",getutime($eventtable["enddate"],1)) ?>(=getweek(getutime($eventtable["enddate"],1)) ?>)
&ym==$ym ?>">=$eventtable["title"] ?>/=$eventtable["place"] ?>
=$areaicon ?>(=$areatable["name"] ?>)
=strReplace($eventtable["caption"],2) ?>