= 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 = 2 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(); ?>
|
Courier Cam on the Rogue The Courier Cam on the Rogue River is located near the Grants Pass Parkway, looking west from the city’s water filtration plant, down the Rogue toward the Seventh Street Bridge, with the historic Caveman Bridge just beyond. The Daily Courier’s four cameras are the largest network of webcams in Josephine County and all of Southern Oregon with live streaming video and it’s perfect for checking out rafters or birds, watching summer sunsets, seeing what the weather’s like in Grants Pass, or creating a beautiful window to the river in your home or office.
|
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) . '