session_start(); $_SESSION["link"] = "event.php"; include_once("../db_inc.php"); $sqleventCalendarList = "SELECT * FROM `eventCalendarList` ORDER BY `sorting` DESC"; $resulteventCalendarList = mysql_query($sqleventCalendarList); $dataeventCalendarList = array(); $showphoto = ""; for($count=0; $row=mysql_fetch_array($resulteventCalendarList, MYSQL_BOTH); $count++) { $dataeventCalendarList[$count] = $row; if($dataeventCalendarList[$count]["id"] == $_GET["eventID"]) { $showphoto = $dataeventCalendarList[$count]["photo"]; $showname = $dataeventCalendarList[$count]["name"]; } } $sqleventCalendar = "SELECT * FROM `news` WHERE `eventCalenderID` = '16' ORDER BY `sorting` DESC"; $resulteventCalendar = mysql_query($sqleventCalendar); $dataeventCalendar = array(); for($count=0; $row=mysql_fetch_array($resulteventCalendar); $count++) { $dataeventCalendar[$count] = $row; if($_GET["eventcatID"] != "" && $dataeventCalendar[$count]["id"] == $_GET["eventcatID"]) { $marknum = (floor($count/3)*3); $date = split("-",$dataeventCalendar[$count]["date"]); $chmonth = date("m",$date[0]); $chyear = date("Y",$date[0]); } } $countnum = 0; if($_GET["num"] == "" && $_GET["eventcatID"] == "") { $marknum = 0; } else if($_GET["num"] != "") { $marknum = $_GET["num"]; } $page = 0; ?>
|
|||||||||||||||||||||||
include_once("include_link_3.php"); ?> |