= 11 && substr($remaddr, 0, 11) == '204.130.161') ? '204.130.161.181:8000' : '66.178.151.114:8000'; $offset = date('O'); $lat = 42.44; $lng = -123.33; $zen = 90; $ofs = date('Z') / 3600; $sunrise_ts = date_sunrise(time(), SUNFUNCS_RET_TIMESTAMP, $lat, $lng, $zen, $ofs); $sunset_ts = date_sunset(time(), SUNFUNCS_RET_TIMESTAMP, $lat, $lng, $zen, $ofs); $now_ts = date('U'); $sunrise = date('g:i A', $sunrise_ts); $sunset = date('g:i A', $sunset_ts); $today = date('l, F j, Y'); $mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_DATABASE); $talkback = array(); $query = 'select id, mdate, username, comments from sys_talkback where story_id = 7 and approved = \'1\' order by mdate desc limit 20'; if (!($res = $mysqli->query($query))) printf("MySQL Error #%d, %s.\n", $mysqli->errno, $mysqli->error); while ($row = $res->fetch_assoc()) { extract($row); list ($date, $time) = explode(' ', $mdate); $disp_date = date('n/j/Y g:i:s a', strtotime($date . ' ' . $time)); $talkback[$id] = array($disp_date, $username, $comments); } $mysqli->close(); ?>
|
Holiday Plaza cam The Holiday Plaza web camera is located in the Palace building on Fifth Street, facing G Street, in downtown Grants Pass. The Holiday Plaza is scheduled to stay open and host activities through Jan 4. The Holiday Plaza camera is sponsored by the Towne Center Association and the Daily Courier. The Daily Courier's three cameras are among the only Web cams in Josephine County and all of Southern Oregon that feature live streaming video. Have a look at the river with our original Web cam, Courier Cam on the Rogue. Check out what's happening downtown with our Courier Cam Downtown. |
The following comments are from the readers of thedailycourier.com. In no way do they represent the views of The Daily Courier or thedailycourier.com. Comments will not be posted immediately, but will be approved and post periodically throughout the day. Thank you for your participation.
Thank you for your comments. They appear below. Please be aware that rude, off-topic or otherwise immaterial comments will be removed by our moderator.
$talk_array) { list ($date, $name, $cmnt) = $talk_array; echo '' . $name . ' ' . $date . '
' . htmlentities($cmnt) . '