|
|
Vol. 11, Issue 48 - Friday, February 17, 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
\n
Urgent_Bulletin;
} elseif ($a_row['priority'] == '2') {
print <<< Urgent_Standard
\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
// URGENT_STANDARD
|
| | */
?>
|
|  |
(1996-Present)
F | S | S | M | T | W | T
Sections
GNF_ADBLOCK;
} else {
print <<< GNF_ADBLOCK
GNF_ADBLOCK;
}
/* SSI INCLUDE
*/
?>
|  |
|
On the Scene
John Berger
|
FREE AT LAST: Ruben Murillo found "Freedomland" slower than he'd expected when he caught a preview screening of the new Samuel Jackson/Julianne Moore mystery Monday at Dole Cannery. Kaydence Pakjake, second from left, didn't have an opinion, but Kawai Pakjake, Johanna Padeken, and Joline Murillo agreed that the story was confusing as well as unpredictable.
|
|
REFLECTING ON THE TROPICS: Allison Wong and Jun Kaneko co-hosted a pre-opening narrated tour of his new exhibit, "Tropical Reflection: Drawings, Paintings and Sculpture by Jun Kaneko," Feb. 9 at the Contemporary Museum at First Hawaiian Center. A frequent visitor to Hawaii, Kaneko describes his bold colorful drawings and paintings as his response to the energy and powerful presence of the land, the ocean, the wind and Hawaii's lush vegetation. The exhibit is open weekdays through June 6.
|
|
IT'S OFF: Leysa Bravo, left, Charlie Degala and Philana Bouvier appraised a painting by Erika Klara Luecke during the opening night reception for Leucke's exhibit, Feb. 9 at the Contemporary Museum at First Hawaiian Center.
|
|
A NIGHT AT THE BEIJING OPERA: Retired Marine Lt. Gen. Hank Stackpole, left, and his wife, Vivian, second from left, joined Australian Consul General John Quinn, and his wife, Alison, for the opening night performance of "Women Generals of the Yang Family" last Friday at Kennedy Theatre.
|
|
HAPPY BIRTHDAY, MALIA!: The dress code was "nightclub lingerie," and the drink of choice was champagne, as Malia Song, center, celebrated her birthday with a few close friends at Next Door on Saturday. Vanessa Visaya, left, Lara Lasher, Mayumi Sato and Jamie Kunisaki joined Song.
|
|
|
THIS ARTICLE

PRINTER-FRIENDLY";
/* USE #include virtual="/print/linkgen.inc.php" IN HTML FILES */
?>
E-mail to Features
THIS EDITION
Local News
Features
Sports
Business
Editorial
 |
S-B Photographers |  |
Susan Scott |  |
Corky Trinidad |  |
John Berger |  |
Jason Genegabus |  |
Kalani Simpson |  |
Corky Trinidad |
|
|  |
 | |
|
|
 |
|