Vol. 11, Issue 33 - Thursday, February 2, 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
Chico State at Hawaii Pacific
4 p.m.
1500-AM
BASKETBALL -- PRO MEN
Cavaliers at Heat
3 p.m.
TNT
Spurs at Warriors
5:30 p.m.
TNT
BASKETBALL -- COLLEGE MEN
George Washington at Xavier
2 p.m.
ESPN2
North Carolina at Maryland
2 p.m.
ESPN
Arizona at USC
5:30 p.m.
FSW
Arizona State at UCLA
5:30 p.m.
FSW2
Idaho at Hawaii
7 p.m.
KFVE
1420-AM
BYU-Hawaii vs. Hawaii Pacific
7:30 p.m.
KWHE
1500-AM
97.5-FM
Idaho at Hawaii*
10:30 p.m.
KFVE
BASKETBALL -- COLLEGE WOMEN
Hawaii at Idaho
5 p.m.
1420-AM
GOLF
Dubai Desert Classic*
4 a.m.
GLF
FBR Open*
4 p.m.
USA
SOFTBALL -- HIGH SCHOOL
St. Francis-Mil. winner vs. Baldwin
6 p.m.
OC16
Pearl City vs. Kamehameha
8 p.m.
OC16
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
Chico State at Hawaii Pacific (2)
4 p.m.
1500-AM
San Diego State at Hawaii
6:30 p.m.
KFVE
1420-AM
BASKETBALL -- PRO MEN
Clippers at Celtics
2:30 p.m.
FSW2
Pistons at 76ers
3 p.m.
ESPN
Timberwolves at Trail Blazers
5:30 p.m.
ESPN
BOXING
Davis vs. Gogoladze
4 p.m.
ESPN2
Frazier vs. Powell*
9 p.m.
SHOW
GOLF
Dubai Desert Classic*
4 a.m.
GLF
FBR Open*
4 p.m.
USA
SOFTBALL -- HIGH SCHOOL
Division I semifinal
6 p.m.
OC16
Division I semifinal
8 p.m.
OC16
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
»
Del Monte quits Kunia
»
Isle arms dumps raise questions
»
Kaneohe Marine receives Silver Star
»
Neighbor recounts horror as pit bulls attack
»
Insanity ruled in acquittal for killing
»
Kauai chief blames politics
»
UH system sees enrollment drop
»
Voices of the homeless
»
Legislators hear 'Lost' actor read Psalm 23
»
Property tax measures advance
»
Isle wholesale gas prices set to drop 3 cents
»
Amputee telling war story on Big Isle tour
»
Activist played role in Hawaii water policy
»
Welfare fraud nets woman prison term
»
Kihei kayakers followed by white shark
»
Newswatch, Police/Fire
»
Corrections
»
Obituaries
»
Weather
Features
»
Friday night out!
»
Show reveals absurdity of beauty pursuit
»
Korean designer featured in fashion show
»
Valentine's events
»
Da Kine
»
The Goddess Speaks
Sports
»
Super Bowl spotlight shining even on rookie
»
Base'Bows open with a win
»
Rainbows make it to the halfway mark still alive
»
Kahuku has big day, UH a gray 1
»
Hawaii Grown: Graceland volleyball
»
Kai will train with national soccer team
»
Moanalua romps in opene
»
Waipahu advances to face top seed
»
Trojans top Menehunes
»
Mililani clinches division crown
»
Hawaii Beat
»
Hawaii Grown Notebook
»
Scoreboard
»
TV & Radio
Business
»
Beans of Kona coffee discord
»
Matson, real estate boost A&B's profit
»
Dollars per hotel room set record during 2005
»
Business Briefs
»
Market Watch
»
Wall Street Journal Sunday
»
Dilbert
Editorial
»
Bush should bend to get partisan support
»
Letters
Kokua Line
June Watanabe
Island Images
S-B Photographers
Corky's Hawaii
Corky Trinidad
Honolulu Lite
Charles Memminger
Just For Kicks
Al Chase
TheBuzz
Erika Engle
Editorial Cartoon
Corky Trinidad
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