</a></h1> </div> <div id="top-bar"> <div class="row"> <h5>About this planet</h5> <p> <?php echo get_description(); ?> </p> </div> <div class="row"> <h5>Aggregated blogs</h5> <ul> <?php echo list_blogs(); ?> <li><a href="opml.php">OPML list of aggregated blogs</a></li> </ul> </div> <br style="clear:both" /> </div> <div id="articles"> <?php $articles = list_articles(); for ($n = 0; $n < count($articles); $n++) { $article = $articles[$n]; $link = $article['permalink']; $title = $article['title']; $author = $article['author']; $post_time = $article['post_time'];
if (isset($_POST['uid'])) { $uid = $_POST['uid']; blogdata_deleterecord($uid); } break; case 'insert': blogdata_insert(); break; case 'update': if (isset($_POST['uid'])) { $uid = $_POST['uid']; blogdata_update($uid); } break; default: list_blogs(); break; } //end switch exit(0); /* blogdata_delete($uid = '') Delete a Blog Data record (no recovery) */ function blogdata_deleterecord($uid = '') { debug_msg("FUNCTION: " . __FUNCTION__, 4); db_delete_blogdata($uid); // If no headers are sent, send one if (!headers_sent()) {