require_once("astc_includes.php"); require_once('lastRSS.php'); //ini_set("display_errors","1"); // Exhiblet Stuff // --------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------- $ex_dir = 'exhiblets'; if ($ex_arr = makeArr($ex_dir)){ $i = rand(0,sizeof($ex_arr) -1); $content = "$ex_dir/".$ex_arr[$i]; }else{ $content = "$ex_dir/additive.html"; } function makeArr($_dir_path){ $arr = Array(); if (is_dir($_dir_path)){ $dir = dir($_dir_path); while(($file = $dir->read()) !== false) { if($file != '.' && $file != '..' && !(preg_match("/.*\.LCK *$/", $file))) $arr[] = $file; } return $arr; } return false; } // --------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------- $site_prefix = "http://www.museumexhibits.org"; $iglo_feed = "http://www.astc.org/iglo/?feed=rss2"; $iglo_result = getFeedResults( $iglo_feed ); $exhibit_feed = "http://www.exhibitfiles.org/home/rss"; $exhibit_result = getFeedResults( $exhibit_feed ); $caise_feed = "http://caise.insci.org/index.php?mact=News,cntnt01,rss&cntnt01showtemplate=false&cntnt01&cntnt01number=20&cntnt01returnid=51"; //$caise_feed = "http://www.insci.org/rss/"; $caise_result = getFeedResults( $caise_feed ); $dimensions_feed = $site_prefix . "/blog/category/astc-dimensions/feed"; $dimensions_result = getCustomFeedResults( $dimensions_feed , 2 ); $connect_feed = $site_prefix . "/blog/category/astc-connect/feed"; $connect_result = getFeedResults( $connect_feed ); $featured_query = "SELECT p.* FROM wp_posts p, wp_post2cat c WHERE c.post_id = p.ID AND c.category_id = '4'"; $featured_query = "SELECT * from wp_posts where post_status='publish' order by post_date desc limit 1"; $featured_query = "select wp_posts.* from wp_posts left join wp_term_relationships on wp_term_relationships.object_id = wp_posts.id where wp_term_relationships.term_taxonomy_id=4 and post_status='publish' order by post_date desc limit 1;"; $result = doQuery( $featured_query ); ?>
Search |
while( $row = mysql_fetch_array( $result , MYSQL_ASSOC )) { ?>
">= $row{"post_title"}; ?>= date( DATE_FORMAT , convert_datetime( $row{"post_date"} )); ?> - Posted in Featured= post_to_html($row{"post_content"}); ?> } ?>
include('tab_section_includes/iglo_tab.htm'); ?>
RSS Feed
What's new at IGLO= outputRSSList( $iglo_result , "No feed results were found. " ); ?>
include('tab_section_includes/dimensions_tab.htm'); ?>
RSS Feed
What's new in ASTC Dimensions= outputRSSList( $dimensions_result , "No feed results were found. " ); ?>
include('tab_section_includes/connect_tab.htm'); ?>
RSS Feed
What's new on ASTC Connect= outputRSSList( $connect_result , "No feed results were found. " ); ?>
include('tab_section_includes/exhibit_tab.htm'); ?>
RSS Feed
What's new on ExhibitFiles= outputRSSList( $exhibit_result , "No feed results were found. " ); ?>
include('tab_section_includes/caise_tab.htm'); ?>
RSS Feed
What's new on CAISE= outputRSSList( $caise_result , "No feed results were found. " ); ?>ASTC MarketPlaceLooking for an exhibit designer, multimedia producer, or fundraising consultant? Search for these and other products and services offered by ASTC members. ASTC Job BankWant to work in a science center (or searching for someone to work in yours)? This is the place to look — or to post an ad. |
||||||
|
||||||||||