Vol. 10, Issue 309 - Saturday, Nov. 05, 2005
/
// 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)
S
|
S
|
M
|
T
|
W
|
T
|
F
Sections
Local News
Features
Sports
Business
Editorial
Travel
(Sunday)
Corrections
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
AUTO RACING
TIME
TV
RADIO
O'Reilly Challenge
9 a.m.
TNT
BOWLING
Hawaii TV Bowling
4 p.m.
KWHE
FOOTBALL -- COLLEGE
Iowa at Northwestern
7 a.m.
ESPN
Minnesota at Indiana
7 a.m.
ESPN2
Texas at Baylor
7:30 a.m.
FSW
Tennessee at Notre Dame
9:30 a.m.
KHNL
California at Oregon
10:30 a.m.
KITV
Alabama at Mississippi State
10:30 a.m.
KGMB
Illinois at Ohio State
10:30 a.m.
ESPN
Army at Air Force
10:30 a.m.
ESPNCL
Hawaii at Nevada
11 a.m.
KFVE
1420-AM,
1110-AM,
570-AM
UCLA at Arizona
1:30 p.m.
FSW2
Texas A&M at Texas Tech
2 p.m.
FSW
Vanderbilt at Florida
2:15 p.m.
ESPN2
Miami at Virginia Tech
2:45 p.m.
ESPN
Stanford at USC
5 p.m.
TBS
Hawaii at Nevada*
9:30 p.m.
KFVE
FOOTBALL -- HIGH SCHOOL
Punahou vs. Pac-Five
4:30 p.m.
97.5-FM,
870-AM
Kamehameha vs. Saint Louis
7:30 p.m.
97.5-FM,
870-AM
GOLF
The Tour Championship
2 p.m.
KITV
HOCKEY -- PRO
Predators at Kings
11 a.m.
FSW
SOCCER -- PRO
Galaxy at Rapids*
5 p.m.
FSW2
VOLLEYBALL -- COLLEGE WOMEN
Idaho at Hawaii
7 p.m.
KFVE
1420-AM
UH-Hilo at BYU-Hawaii
7:30 p.m.
OC16
VOLLEYBALL -- HIGH SCHOOL
BIIF boys tournament final
3 p.m.
OC16
BIIF girls tournament final
5 p.m.
OC16
TALK SHOWS
The Golf Club (Oahu)
7 a.m.
1500-AM
The Golf Club (Hilo)
7 a.m.
670-AM
The Golf Club (Kauai)
7 a.m.
99.9-FM
The Golf Club (Maui)
7 a.m.
104.7-FM
Warrior Game Day
9 a.m.
1420-AM
Warrior Warmup
10:05 a.m.
1420-AM
TOMORROW
AUTO RACING
TIME
TV
RADIO
Dickies 500
10:30 a.m.
KHNL
BASKETBALL -- PRO
Nuggets at Lakers
4:30 p.m.
FSW
FOOTBALL -- PRO
Raiders at Chiefs
8 a.m.
1420-AM
Panthers at Buccaneers
8 a.m.
KHON
Chargers at Jets
8 a.m.
KGMB
Steelers at Packers
11 a.m.
KGMB
49ers at Giants
11:15 a.m.
1420-AM
Eagles at Redskins
3:30 p.m.
ESPN
1420-AM,
1110-AM,
570-AM
GOLF
The Tour Championship
7 a.m.
ESPN2
The Tour Championship
8 a.m.
KITV
SOCCER -- PRO
Fire at Revolution
10 a.m.
ESPN2
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
»
Flu fears spark run on shots ...and kim chee?
»
U.S. official found guilty of lying to get benefits
»
Jury 'wrestling' in murder retrial
»
Cayetano urges Kim to run for governor
»
Recycling protester barred over sign
»
Piles of trouble
»
Isle homes join historic registry
»
Cops seek aid in finding robbers
»
Newswatch, Police/Fire
»
Obituaries
»
Corrections
»
Whatever Happened To...
»
Weather
Features
»
Samuel L. Jackson: Working It
»
Barometer of Cool
»
Nobel nominee to speak on Buddhism, peace
»
The Hit List
»
Religion Briefs
»
On Faith
Sports
»
Aiea still standing
»
Hawaii tries for elusive victory in Reno
»
Liftoff inevitable for UH's Houston
»
Wahine come home early
»
Kahuku going for 3
»
No. 8 Iolani keeps up with Damien's Pilares
»
Hawaii Beat
»
Scoreboard
»
TV & Radio
Business
»
Land sales propel MLP to $2M gain in quarter
»
Business Briefs
»
Market Watch
»
Unemployment
»
Hawaii Stock Index
»
Wall Street Journal Sunday
»
Dilbert
Editorial
»
Abolish all torture of U.S. detainees
»
A cautionary tale for state, city authorities
»
Letters
»
Gathering Place
Island Images
S-B Photographers
Island Mele
John Berger
View from the Pew
Mary Adamski
Wood Craft
Ben Wood
Cents and Sensibility
Guy Steele
In partnership with
Copyright © 2005 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