View previous topic :: View next topic |
Author |
Message |
JayCee^
Joined: 01 Mar 2004 Posts: 2
|
Posted: Mon Mar 01, 2004 3:57 pm Post subject: Alls going well - just one or two bits of help needed :) |
|
|
I very carefully went through the guidance offered in another thread and was surprised how easy it was to create.
I have included my code as below.
I have the following queries:
How do I add the date next to the Title for every post that I make?
How can I add lines (separators) as per http://www.socketx.co.uk/b2/b2a.php?
I would like to be able to place a line under the date and title and after the posted by and at what time output.
I am sure that its not hard. I have actually bought some php books because this all looks so cool
Code: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../maines.css">
<meta http-equiv='Page-Enter' content='progid:DXImageTransform.Microsoft.Fade(Duration=0)'>
<meta http-equiv='Page-Exit' content='progid:DXImageTransform.Microsoft.Fade(Duration=1)'>
<title>mywebsite</title>
</head>
<body bgcolor="#FFFFFF">
<div align="left">
<!-- start Main Table -->
<table bgcolor="silver" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border: 0px solid black;" bordercolor="#996633" BACKGROUND="#999999" width="760">
<tr><td width="100%">
<!-- End Main Table -->
<td valign="top"><!-- start Main section column-->
<!-- start Main section -->
<!-- start Main Table -->
<table bgcolor="#cccccc" border="0" cellpadding="0" cellspacing="0" BACKGROUND="#CCCC99" width="760">
<tr><td width="100%">
<!-- End Main Table -->
<div align="center">
<table width="300" border="0" cellpadding="0" cellspacing="0" align="center" style="border-collapse: collapse; border: 0px solid black;" bordercolor="black">
<tr>
<td height="10"> </td>
</tr>
<td class="info">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<p>
<?php permalink_anchor(); ?>
<?php the_date("d.m.y"); ?> <strong><?php the_title(); ?></strong><br />
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<em>posted by <strong><?php the_author() ?></strong> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
<br />
</p>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
</td>
</tr>
<tr>
<td height="40"> </td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table>
<tr><td class="info"><a href="http://www.enemyspotted.net/forums" target="_blank">Forum</a> <a href="http://www.enemyspotted.net" target="_blank">Enemyspotted</a> <a href="mailto:[email protected]">Contact</a></td></tr>
</table>
</td></tr>
</table>
</div>
</body>
</html> |
|
|
Back to top |
|
 |
Muze.ca
Joined: 17 Mar 2004 Posts: 17 Location: Toronto
|
Posted: Tue Mar 30, 2004 12:11 am Post subject: |
|
|
My reply isnt about your question. I was actually wondering what books you thought were best? Im looking into some myself.. I know the basics, and have only found ones that are too basic.. or very advanced.. did you find any in between? |
|
Back to top |
|
 |
|