<?php for($i = 0; $row = $q->fetch(); $i++ ): ?>
<li>
<?php echo date("Y-m-d", strtotime($row['date'])) ?>
- <a class="uname" href="/get.php?user=<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
- <a href="<?php echo $row['location'] ?>"><?php echo $row['title'] ?></a>
+ <a class="uname" href="/?user=<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
+ <a href="<?php echo $row['location'] ?>"><?php echo $row['title'] ? $row['title'] : "<title>" ?></a>
<span class="tags"><?php echo $row['tags'] ?></span>
<?php if ($user = get_user()): ?>
<?php if ($user['user'] == $row['user']): ?>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Cousine:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css' />
<link href="/style.css" rel="styleSheet" type="text/css" media="screen" />
+<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
\ No newline at end of file
switch($endpoint)
{
case 'about' :
+ echo "clmpr is a place to save hyperlinks";
+ echo '<br/>© 2011 <a href="http://quilime.com">quilime</a>';
+ exit;
break;
default :
<body>
-<div class="header"><b>C</b>itation, <b>L</b>ogging and <b>M</b>ulti-<b>P</b>urpose a<b>R</b>chive</div>
+<div class="header"><b>c</b>itation, <b>l</b>ogging and <b>m</b>ulti-<b>p</b>urpose a<b>r</b>chive</div>
<?php include 'signin.php'; ?>
<hr />
<div id="footer">
<a class="about" href="/about">about</a>
-</div>
\ No newline at end of file
+</div>
.header {
color: #888888;
- font-size: 18px;
}
.header b {