"; ?> <?php // Parses the URI and reads the section for search-friendly URL $var_array = explode("/",$REQUEST_URI); $section = $var_array[2]; echo $siteName; if ($section){ echo ": ".$section; } ?> "; ?>
"; if(!$section) { echo "\"".$siteName."\""; } else { echo ""; echo "\"".$siteName."\""; echo ""; } ?> :::

"; } else if ($section == "Contact") { echo "

Contact ".$siteName."

"; include("lib/contact.php"); } else { echo "

—".$section."—

"; include("lib/content.php"); } if ($section) { echo "
"; $query = "SELECT * FROM quotes order by rand() LIMIT 1"; $result = mysql_query($query); $num_results = mysql_num_rows($result); for ($i=0; $i < $num_results; $i++) { $row = mysql_fetch_array($result); echo "“"; echo stripslashes($row["text"]); echo "”
"; if ($row["source"] != "") { echo "
—"; echo stripslashes($row["source"]); echo "
"; } } echo "
"; } // bottom nav-bar echo "
"; include("lib/navbar.inc"); echo"
"; // footer include("lib/footer.inc"); ?>