/**********************
* UPDATE THESE VARIABLES
*/
$ad_fullbanner_unit_num = 418; //UPDATE THIS with the proper taxonomy ID for the full banner group
$ad_medrect_top_unit_num = 420; //UPDATE THIS with the proper taxonomy ID for the top med rect group
$ad_medrect_bot_unit_num = 419; //UPDATE THIS with the proper taxonomy ID for the bottom med rect group
$adsense_unit = 1; //UPDATE THIS with the proper unit ID from the AdSense module
$adsense_channel = 2; //UPDATE THIS with the proper channel ID for this section from the AdSense module
global $user;
$result = db_query_range(“SELECT DISTINCT n.nid
FROM term_node t
JOIN node n ON t.nid = n.nid
LEFT JOIN sunweight s ON n.nid = s.nid
WHERE tid IN (%s)
AND t.nid NOT IN (SELECT nid FROM {term_node} WHERE tid IN (%s))
AND n.status=1
ORDER BY n.created DESC, s.weight ASC”,
implode(‘,’,$elections_tid), implode(‘,’,$exclusion_list), 0, 9);
$stories = array();
while($info = db_fetch_object($result)) {
$stories[] = node_load($info->nid);
}
//build the charts for the delegate count here
$dems_del_names = array();
foreach($dems_delegates as $candidate => $tally) {
$dems_del_names[] = $candidate . “: ” . $tally;
}
$dems_delegate_chart = array(
‘#chart_id’ => ‘election08_delegates_dems’,
‘#type’ => CHART_TYPE_PIE,
‘#labels’ => $dems_del_names,
‘#data_colors’ => $dems_colors,
‘#size’ => chart_size(335,137),
‘#data’ => $dems_delegates
);
echo chart_render($chart);
}
?> Last Update: =$last_update;?> These results are from voter responses at four polling locations at or near Cornell, and are not scientific.
Tompkins County Returns
Democrats
Obama
6,593
Clinton
4,647
Republicans
McCain
1,927
Romney
1,093
Huckabee
540
Paul
337
//upper medium rectangle ad unit
if(!module_exists('ad') || supernova_num_ads($ad_medrect_top_unit_num) <= 0) {
print adsense_display('300x250', $adsense_unit, $adsense_channel);
} else {
print ad($ad_medrect_top_unit_num,1);
}
echo ' ‘;
In my column today, I wrote about Apple’s new ultra-mobile notebook, the MacBook Air. This svelte little machine retails for $1799 from Apple’s online and retail stores, but if you live on the hill, there’s a better option.
The Cornell Daily Sun is looking to hire web programmers and designers to work on CornellSun.com. Experience with PHP and CSS/XHTML is desirable. Contact Chris Barnes above for more information.
Bill Gates, the famous founder of Microsoft, gave his last keynote address to the International Consumer Electronics Show last night in Las Vegas. Gates has now delivered 12 addresses in his many years at the helm of the software behemoth, so the event was marked by a great deal of reminiscing and retrospection.
Although the video montages were quite entertaining (perhaps even Oscar-worthy, considering the current strike-induced lack of quality programming) and while the event did give some fitting closure to Gates’ lengthy career, the real meat and potatoes of the Microsoft keynote were presented by Robbie Bach, the company’s president of entertainment and devices.
The Sun has currently stopped printing for the Thanksgiving holiday break. CornellSun.com will continue to update you on breaking news throughout that time. Regular publication will resume on Monday, November 26th. From all of us at The Sun, have a happy and safe Thanksgiving!