= 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(); ?>
|
Caveman Bridge Cam at Taprock The Caveman Bridge Cam at Taprock captures Grants Pass' most iconic landmark over the Rogue River. Our camera is pointed out one of the windows at the Taprock restaurant. Evergreen Park can be seen on the far right side of the shot. The video for this camera may take a few seconds to load. The wireless connection we are using means that the camera could, on rare occasions, lose its connection to the Internet. If that happens, let us know by leaving a comment below. The Daily Courier's four cameras are the largest network of webcams in Josephine County and all of Southern Oregon with live streaming video. Check out what's happening downtown with our Courier Cam Downtown. Have a look at the river with our original webcam, Courier Cam on the Rogue. Like cute animals? Check out our Critter Cam at the Rogue Valley Humane Society. |
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) . '