Welcome to one of the UC Libraries Exhibits Sites. These exhibits were prepared for the ARB Library throughout the last few years. While every effort is made to insure accessibility, some of our older exhibits may not be fully compatible for all who need assistive technology. We are working on updating these sites, but should you need more information, please contact us via our contact us page on our main website.
<?php // $bcount = get_blog_count();
global $wpdb;
$blogs = $wpdb->get_results("SELECT * FROM $wpdb->blogs WHERE spam = '0' AND deleted = '0' and archived = '0' and public='1'");
if(!empty($blogs)){
?><ul class="menu"><?php
foreach($blogs as $blog){
$details = get_blog_details($blog->blog_id);
if($details != false){
$addr = $details->siteurl;
$name = $details->blogname;
if(!(($blog->blog_id == 1)&&($show_main != 1))){
?>
<li class="menu-item<?php if($counter == get_current_blog_id()){ echo ' current-menu-item';}?>">
<a href="<?php echo $addr; ?>"><?php echo $name;?></a>
</li>
<?php
}
}
}
?></ul><?php
}
?>