|
|
Vol. 10, Issue 357 - Friday, December 23, 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
\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
*/
?>
GNF_ADBLOCK;
} else {
print <<< GNF_ADBLOCK
GNF_ADBLOCK;
}
/* SSI INCLUDE
*/
?>
|  |
|
On the Scene
John Berger
|
More Models Party at E&O Trading
MORE MERRIMENT FOR CHRISTMAS: Fendi Ala Moana retail manager Patrick Gey, right, and his wife, Marissa, were fashionably on time for More Models' "Holiday Cocktail Reception" Dec. 10 at E&O Trading Company in Ward Center. More Models owner Thom Fanning, second from left, got an assist from Giorgio Taye in hosting a casual cocktail party to celebrate the holiday season and introduce some of the agency's models
|
|
SEARCHING FOR THE RIGHT MODEL: Clothing designer Chelsea Gines, left, enjoyed the party with her mother, JoDee Gines of Pink C. Chelsea and JoDee went to France recently to select fabrics for Chelsea's new line of women's swimwear. Now they're looking for two women -- one Caucasian, one "local" -- to model the new line in her catalog.
|
|
FRED TAKES A BREAK: Waikiki nightlife veteran Fred Piluso, center, enjoyed a holiday drink with Kamakoa Page and Mike Chun. Piluso's nightclub, Scruples, is a Waikiki landmark, but he's more excited these days about helping rebuild his father's home in Florida.
|
|
IS THAT LOGO BIG ENOUGH?: Joey Caldarone, right, shared a table in the lounge with Greg Howell and Heather Olsen. Caldarone said he usually avoids logo wear, but the well-known Polo logo was so large he made an exception.
|
|
ALVIN MEETS LINDSEY: Alvin Chung, third from left, stopped by the party with an entourage that included Jonas Sundet, left, Derek June, Angel Tevis, center, and Colt Dunteman. Lindsey Austin, a licensed ship captain who moonlights as a model, welcomed them to the party.
|
|
|
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 |  |
John Berger |  |
Jason Genegabus |
|
|  |
 | |
|
|
 |
|