<div class='sidebox_content'> Know of a science blog that should be included here? <?php $email = $GLOBALS["config"]["email"]; print "<a href='mailto:{$email}'>Suggest it</a>"; ?> </div> </div> <div class='sidebox'> <div class='sidebox_title'>Subscribe</div> <div class='sidebox_content'> <?php if ($safe_category) { print "<p>Subscribe to new blogs from the " . strtolower($safe_category) . " category:"; } feedbox("New blogs", "atom.php?category={$safe_category}&type=latest_blogs"); ?> </div> </div> <?php print_searchbox("Blogs"); ?> </div> <div class='content'> <?php $safe_skip = false; $safe_skip = mysql_escape_string($_GET["skip"]); if (!is_numeric($safe_skip)) { $safe_skip = false; } $filters = array();
plinkto("links.php", $page_vars, array("timeframe" => "3m")); ?> '>three months</a> </div> </div> <div class='sidebox'> <div class='sidebox_title'>Subscribe</div> <div class='sidebox_content'> <?php if ($safe_category) { print "<p>Subscribe to links in the " . strtolower($safe_category) . " category:"; } feedbox("Latest links", "atom.php?category={$safe_category}&type=latest_links"); feedbox("Latest links (min 2 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=2"); feedbox("Latest links (min 4 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=4"); feedbox("Latest links (min 8 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=8"); ?> </div> </div> </div> <div class='content'> <?php $links = get_links($safe_order_by, $filters); if ($links) { print_pagination($links, $safe_skip, "links.php", $GLOBALS["config"]['links_per_page']); foreach ($links as $link) { print_link($link); } print_pagination($links, $safe_skip, "links.php", $GLOBALS["config"]['links_per_page']); } else { print "No links found.";
--> <!-- for fancy effects... --> <script type="text/javascript" src="javascripts/prototype.js"></script> <script type="text/javascript" src="javascripts/scriptaculous.js"></script> <script type="text/javascript" src="javascripts/lightbox.js"></script> <script type="text/javascript" src="javascripts/postgenomic.js"></script> <!-- the Postgenomic blog is postgenomic.com specific, really... --> <link rel='alternate' type='application/atom+xml' title='Postgenomic blog' href='http://www.ghastlyfop.com/pgtips/atom.xml'/> <?php feedbox("Latest posts, all categories", "atom.php?type=latest_posts", true); if ($config['collect_papers']) { feedbox("Latest papers, all categories", "atom.php?type=latest_papers", true); } if ($config['collect_links']) { feedbox("Latest links (min 2 blogs), all categories", "atom.php?type=latest_links&min_links=2", true); } ?> </head> <body> <div class='title_banner'> <div class='title_category'> Explore <select id='category_select' name='category' onchange='javascript:location = "<?php if ($PAGE_TYPE == "posts") { plinkto("posts.php"); } else { if ($PAGE_TYPE == "links") { plinkto("links.php");
'>show all posts</a> </div> </div> <div class='sidebox'> <div class='sidebox_title'>Subscribe</div> <div class='sidebox_content'> <?php if ($safe_category) { print "<p>Subscribe to posts in the " . strtolower($safe_category) . " category:"; } feedbox("Latest posts", "atom.php?category={$safe_category}&type=latest_posts"); feedbox("Recently popular posts", "atom.php?category={$safe_category}&type=popular_posts"); feedbox("Latest reviews", "atom.php?category={$safe_category}&type=latest_posts&tag=review"); feedbox("Latest conference reports", "atom.php?category={$safe_category}&type=latest_posts&tag=conference"); feedbox("Latest original research", "atom.php?category={$safe_category}&type=latest_posts&tag=original_research"); ?> </div> </div> <?php print_searchbox("Posts"); ?> </div> <div class='content'> <?php $this_category_rows = 0; $every_category_rows = 0; if ($output_available) { if ($safe_term) { $subfilters = $filters; $subfilters['category'] = false;
<div class='sidebox_title'>Subscribe</div> <div class='sidebox_content'> <?php if ($safe_category && $safe_journal) { print "<p>Subscribe to " . strtolower($safe_category) . " papers from {$safe_journal}:"; } else { if ($safe_category) { print "<p>Subscribe to papers in the " . strtolower($safe_category) . " category:"; } else { if ($safe_journal) { print "<p>Subscribe to papers from {$safe_journal}:"; } } } feedbox("Latest papers", "atom.php?category={$safe_category}&journal={$safe_journal}&type=latest_papers"); feedbox("Recent hot papers", "atom.php?category={$safe_category}&journal={$safe_journal}&type=popular_papers"); ?> </div> </div> <div class='sidebox'> <div class='sidebox_title'>Show papers with comments from...</div> <div class='sidebox_content'> <?php if ($safe_comment_source) { print " <p>limiting to papers with comments from <b>{$safe_comment_source}</b> (<a href='" . linkto("papers.php", $page_vars, array("comment_source" => false)) . "'>remove limit</a>)"; } ?> <div class='basic_thumbnail'><a href='<?php plinkto("papers.php", $page_vars, array("comment_source" => "Nature Highlights")); ?> '><img border='0' src='images/hilight_comment.png'/></a></div>