get("message"); $session->del("message"); $id = intval($_GET["id"]); $sql = "select content from adver2 where id = ".$id." and publish = 'Y' and begin_time <= '".date("Y-m-d H:i:s")."' and end_time >= '".date("Y-m-d H:i:s")."'"; $result = $mysql->query($sql); if($result->size() > 0){ $row = $result->fetch(); ?> 美學生活