Vol. 11, Issue 40 - Thursday, February 9, 2006
/
// revised 2005-09-03 require('breaking.config.php'); // CONNECT TO MySQL $link = mysql_connect($mysql_host); if ( ! $link ) die ("Couldn't connect to MySQL"); @mysql_select_db($mysql_database,$link); // DETERMINE PERIOD_DATE, 24 HOURS AGO $today = date('ymdHis'); $p1_query = "select date_add('" . $today . "' , interval -24 hour)"; $p1_result = mysql_query($p1_query); while ($p_row = mysql_fetch_row($p1_result)) { foreach ($p_row as $field) $period_date = $field; } // DETERMINE PERIOD_MONTH, 2 MONTHS AGO $p2_query = "select date_add('" . $today . "' , interval -2 month)"; $p2_result = mysql_query($p2_query); while ($p2_row = mysql_fetch_row($p2_result)) { foreach ($p2_row as $field) $period_month = $field; } // SEARCH NON-URGENT NEWS, 24 HOURS AGO, PRIORITY 0, 3, & 4 $urgent_query = "select * from breaking where date >= '" . $period_date . "' and priority <= '2' and visible='Yes' order by priority, date desc"; $results = mysql_query($urgent_query); $numrows = mysql_num_rows($results); // DISPLAY NON-URGENT NEWS if ($numrows >= 1) { print <<< Urgent_Open
ALERT:
\n Urgent_Open; while ($a_row = mysql_fetch_array($results)) { if ($a_row['priority'] == '0' || $a_row['priority'] == '1') { $head = $a_row['headline']; print <<< Urgent_Bulletin
$head
\n Urgent_Bulletin; } elseif ($a_row['priority'] == '2') { print <<< Urgent_Standard
$a_row[headline]
\n Urgent_Standard; } } print <<< Urgent_Close
\n Urgent_Close; } else { print "\n\n"; } // CLOSE MYSQL CONNECTION mysql_close($link); exit; /* FORMAT FOR URGENT
URGENT:
// URGENT_BULLETIN
$head
// URGENT_STANDARD
$a_row[headline]
*/ ?>
Info
|
PDA/Text
|
Corrections
|
Calendars
|
Movies
Obituaries
|
Vital Stats
|
Weather
|
Surf
Search
StarBulletin.com
Web
Go »
Back Issues
(1996-Present)
T
|
F
|
S
|
S
|
M
|
T
|
W
Who should be the starting quarterback for the UH football team?
Sections
Local News
Features
Sports
Business
Editorial
Travel
(Sunday)
Corrections
GNF_ADBLOCK; } else { print <<< GNF_ADBLOCK GNF_ADBLOCK; } /* SSI INCLUDE */ ?>
Classifieds
Wheels
Island Homes
Jobs
Government Section
Bidding Advantage
Advertise
Columns
Kauakukalahale
Dictionaries
Poll
Calendar
Movies
Special Packages
MidWeek
Subscriptions
Newsstands
Directory
PDA/Text
StarHeadlines
RSS
Contribute
Television & Radio
Star-Bulletin staff
TODAY
BASEBALL -- COLLEGE
TIME
TV
RADIO
N. Georgia College vs. Hawaii Pacific
4 p.m.
1500-AM
BASKETBALL -- PRO MEN
Heat at Mavericks
3 p.m.
TNT
Bulls at Kings
5:30 p.m.
TNT
BASKETBALL -- COLLEGE MEN
Ohio St. at Michigan
2 p.m.
ESPN
UCLA at Washington State
3:30 p.m.
FSW2
St. John's at Georgetown
4 p.m.
ESPN2
West Virginia at Pittsburgh
4 p.m.
ESPN
Stanford at California
5:30 p.m.
FSW
USC at Washington
5:30 p.m.
FSW2
Pacific at CS Fullerton
6 p.m.
ESPN2
Hawaii Pacific at Hawaii-Hilo
7:30 p.m.
OC16
1500-AM
BASKETBALL -- COLLEGE WOMEN
LSU at Tennessee
2 p.m.
ESPN2
Fresno State at Hawaii
7 p.m.
1420-AM
GOLF
Johnnie Walker Classic*
4 a.m.
GLF
Pebble Beach National Pro-Am*
Noon
USA
VOLLEYBALL -- COLLEGE MEN
Hawaii at Pepperdine
5 p.m.
1420-AM
TALK SHOWS
Johnny Miro/Super Bowl Wayne
5 a.m.
690-AM
The Bobby Curran Show
6:05 a.m.
1420-AM
The Sports Bar
3:05 p.m.
1420-AM
TOMORROW
BASEBALL -- COLLEGE
TIME
TV
RADIO
N. Georgia College vs. Hawaii Pacific
4 p.m.
1500-AM
UC Irvine at Hawaii
6:30 p.m.
KFVE
1420-AM
BASKETBALL -- PRO MEN
Spurs at Nets
3 p.m.
ESPN
Mavericks at Nuggets
5:30 p.m.
ESPN
Grizzlies at Clippers
5:30 p.m.
FSW2
BASKETBALL -- COLLEGE MEN
Chaminade at BYU-Hawaii
7:30 p.m.
97.5-FM
BOXING -- FRIDAY NIGHT FIGHTS
Camarena vs. Malignaggi
4 p.m.
ESPN2
GOLF
Johnnie Walker Classic*
4 a.m.
GLF
Pebble Beach National Pro-Am*
Noon
USA
OLYMPICS -- XX WINTER GAMES
Opening Ceremony*
6:30 p.m.
KHNL
1110-AM
SOCCER
Japan vs. U.S. National Team
6 p.m.
ESPN2
VOLLEYBALL -- COLLEGE MEN
Hawaii at Pepperdine
5 p.m.
1420-AM
TALK SHOWS
Johnny Miro/Super Bowl Wayne
5 a.m.
690-AM
The Bobby Curran Show
6:05 a.m.
1420-AM
On Point with Artie Wilson
9:05 a.m.
1420-AM
The Sports Bar
3:05 p.m.
1420-AM
* Tape delayed
BACK TO TOP
© Honolulu Star-Bulletin --
http://archives.starbulletin.com
THIS ARTICLE
PRINTER-FRIENDLY"; /* USE #include virtual="/print/linkgen.inc.php" IN HTML FILES */ ?>
E-mail to Sports
THIS EDITION
Local News
»
Budget ax looms over telescopes
»
'Masters' of the Grammy
»
Kaneohe sailor dies in Afghanistan
»
The arrival of the $200M ride
»
Top judge 'concerned' about state court
»
Hawaii tops nation in state taxes paid
»
Gas price caps to drop 10 cents
»
New clues reopen 16-year-old murder case
»
Boater drowns in Lake Wilson
»
Legislature to consider 'sunshine,' ethics bills
»
State seeks $15M to fund bird flu emergency plan
»
Experts to overhaul youth prison
»
Mayor wants buildings named after Fasi
»
Newswatch, Police/Fire
»
Corrections
»
Obituaries
»
Weather
Features
»
Boutique believes in equal-opportunity fashion
»
Grammy Winners List
»
Da Kine
»
The Goddess Speaks
Sports
»
Seahawks share Pats past
»
Anteaters are up next at Murakami Stadium
»
OIA hoops playoffs ripe for surprises
»
BYUH gets big win at Chaminade
»
Hawaii Grown: Asuka digging it at UCI
»
California provides Maui's Spence room to grow
»
Iolani is creeping up on ILH leader
»
Pearl City advances to play King Kekaulike
»
Hawaii Beat
»
Notebook
»
Hawaii Grown Notebook
»
Scoreboard
»
TV & Radio
Business
»
Ward to add specialty grocer
»
Cyanotech tries to diversify
»
Business Briefs
»
Market Watch
»
Wall Street Journal Sunday
»
Dilbert
Editorial
»
Mechanism in place for improving youth prison
»
Gathering Place
»
Another View
»
Our Side Of The Story
»
Letters
Kokua Line
June Watanabe
Island Images
S-B Photographers
Honolulu Lite
Charles Memminger
In the Mix
Jason Genegabus
TheBuzz
Erika Engle
In partnership with
Copyright © 2006 StarBulletin.com. All rights reserved.
News
|
Business
|
Features
|
Sports
|
Editorial
|
Calendars
Subscribe
|
Advertise
|
Classifieds
|
Advanced Search
Info
|
Letter to Editor
|
Feedback
500 Ala Moana Blvd. #7-210, Honolulu, HI 96813 808-529-4747
As featured on