Major updates to default structure, Some minor class/id issues still need resolving. Aiming for XHTML 1.1 Strict compliance but DOCTYPE will remain XHTML 1.0.

git-svn-id: https://develop.svn.wordpress.org/trunk@5 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-04-03 08:16:37 +00:00
parent c0cbc5c173
commit 79c49ee1b4
1 changed files with 64 additions and 65 deletions

129
index.php
View File

@ -4,58 +4,56 @@
<!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html --> <!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->
<head> <head>
<title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title> <title><?php bloginfo('name') ?><?php single_post_title(' :: ') ?><?php single_cat_title(' :: ') ?><?php single_month_title(' :: ') ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="imagetoolbar" content="no" />
<style type="text/css" media="screen"> <style type="text/css" media="screen">
@import url( layout2b.css ); @import url( layout2b.css );
</style> </style>
<link rel="stylesheet" type="text/css" media="print" href="print.css" /> <link rel="stylesheet" type="text/css" media="print" href="print.css" />
<link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" /> <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php comments_popup_script() ?> <?php comments_popup_script() ?>
</head> </head>
<body> <body>
<h1 id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <h1 id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<div id="content">
<div id="content">
<!-- // b2 loop start --> <!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?> <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("","<h2>","</h2>"); ?> <?php the_date('','<h2>','</h2>'); ?>
<?php permalink_anchor(); ?>
<h3 class="storyTitle"><?php the_title(); ?> <h3 class="storyTitle"><?php the_title(); ?> <span class="storyCategory"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</span></a> - <span class="storyAuthor"><?php the_author() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
<a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a>&nbsp;-&nbsp;
<span class="storyAuthor"><?php the_author() ?> - <?php the_author_email() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
</h3> </h3>
<div class="storyContent"> <div class="storyContent">
<?php the_content(); ?> <?php the_content(); ?>
<div class="rightFlush"> <div class="feedback">
<?php link_pages("<br />Pages: ","<br />","number") ?> <?php link_pages('<br />Pages: ', '<br />', 'number') ?>
<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?> <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)') ?>
<?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?> <?php trackback_popup_link('TrackBack (0)', 'TrackBack (1)', 'TrackBack (%)') ?>
<?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?> <?php pingback_popup_link('PingBack (0)', 'PingBack (1)', 'PingBack (%)') ?>
<?php trackback_rdf() ?> <?php trackback_rdf() ?>
<!-- this includes the comments and a form to add a new comment --> <!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?> <?php include ('b2comments.php'); ?>
<!-- this includes the trackbacks --> <!-- this includes the trackbacks -->
<?php include ("b2trackback.php"); ?> <?php include ('b2trackback.php'); ?>
<!-- this includes the pingbacks --> <!-- this includes the pingbacks -->
<?php include ("b2pingbacks.php"); ?> <?php include ('b2pingbacks.php'); ?>
</div> </div>
@ -68,48 +66,49 @@
</div> </div>
<p class="centerP"><?php timer_stop(1); ?> <p class="centerP"><?php timer_stop(1); ?> <cite>Powered by <a href="http://wordpress.org"><strong>Wordpress</strong></a></cite>
[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
</p> </p>
<div id="menu"> <div id="menu">
<h4>quick links:</h4> <ul>
<li>Quick Links:
<ul>
<li><a href="http://wordpress.org" title="The Wordpress Organization">Wordpress</a></li>
<li><a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a></li>
<li><a href="http://some other site" title="another link">another link</a></li>
<li><a href="http://photomatt.net" title="another link">another link</a></li>
</ul>
</li>
<li>Categories:
<a href="http://wordpress.org" title="Wordpress Fork">Wordpress</a><br /> <?php list_cats(0, 'All', 'name'); // fix this ?>
<a href="http://www.cafelog.com" title="b2's homepage">cafelog.com</a><br /> </li>
<a href="http://some other site" title="another link">another link</a><br /> <li>Search:
<a href="http://some other site" title="another link">another link</a><br /> <form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
<div>
<input type="text" name="s" size="15" /><br />
<h4>categories:</h4> <input type="submit" name="submit" value="search" />
</div>
<?php list_cats(0, 'All', 'name'); ?> </form>
</li>
<h4>search:</h4> <li>Archives:
<?php include("b2archives.php"); // fix this too ?>
<form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>"> </li>
<div> <li>Other:
<input type="text" name="s" size="15" /><br /> <ul>
<input type="submit" name="submit" value="search" /> <li><a href="b2login.php">login</a></li>
</div> <li><a href="b2register.php">register</a></li>
</form> </ul>
</li>
<h4>archives:</h4> <li>Misc:
<ul>
<?php include("b2archives.php"); ?> <li><a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0" /></a></li>
<br /> <li><a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a></li>
</ul>
</li>
<h4>other:</h4> </ul>
<a href="b2login.php">login</a><br />
<a href="b2register.php">register</a><br />
<br />
<a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0" /></a><br />
<a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
</div> </div>