continue;
$config['url'] = WEB_ROOT . DIRECTORY_SEPARATOR . $dir . DIRECTORY_SEPARATOR . basename($f);
- $config['timestamp'] = $config['date'] ? mktime($config['date']) : mktime(filemtime($f));
+ $config['timestamp'] = $config['date'] ? date('U', strtotime($config['date'])) : date('U', strtotime(filemtime($f)));
$config['category'] = $dir;
$config['content'] = $content;
$config['tags'] = explode(' ', $config['tags']);
<p>
- quilime is a codification of exploration, resources, and creativity.
+ ‘quilime’ is a codification of exploration, resources, and creativity.
<br/>
<br/>
- author: gabriel dunne (<a href="mailto:gdunne@quilime.com">email</a>, <a href="http://gabrieldunne.com">www</a>)
+ <strong>author</strong>: gabriel dunne (<a href="mailto:gdunne@quilime.com">email</a>, <a href="http://gabrieldunne.com">www</a>)
<br/>
- elsewhere:
+ <strong>elsewhere</strong>:
<a href="http://flickr.com/photos/quilime/">flickr</a>,
<a href="http://delicious.com/quilime/">delicious</a>,
<a href="http://vimeo.com/quilime/">vimeo</a>,
--- /dev/null
+<html>
+
+<head>
+
+ <? $this->include_template('head-inc.html.tpl') ?>
+
+ <title>
+ <?=SITE_TITLE; ?>
+ <? if ($single): ?>
+ - log: <?= $data['title']; ?>
+ [<?=date("Y M d", strtotime($data['date']));?>]
+ <? else: ?>
+ - log
+ <? endif; ?>
+ </title>
+
+</head>
+
+<body>
+
+ <?php $this->include_template('nav.html'); ?>
+
+ <div id="content">
+
+ <?php if ($single) : ?>
+
+ <? //$this->include_template('entry.html.tpl', array('entry' => $item)); ?>
+
+ <h2>
+ <a title="posted <?php echo get_relative_time($data['timestamp']); ?>" href="<?php echo $data['url'];?>">
+ <?php echo $data['title']; ?>
+ </a><small>[<?php echo date("Y M d", strtotime($data['date']));?>]</small>
+ </h2>
+
+ <div class="content">
+ <?=$data['inline_content'];?>
+ </div>
+
+ <?php elseif ($view == 'archive'): ?>
+
+ <table class="archive" cellspacing="0" cellpadding="0">
+ <tr>
+ <td style="text-align:right; padding-right:1em;">
+
+ </td>
+ <td>
+ </td>
+ <?php
+ $c = 1;
+ foreach($data as $log):
+ ?>
+ <tr>
+ <td style="text-align:right; padding-right:1em;">
+ <span class="date"><?php echo date("m/d/Y", $log['timestamp']); ?></span>
+ </td>
+ <td>
+ <strong>
+ <a onmouseout="$('.c_pop').hide();" onmouseover="$('.c_pop').hide(); $('#c_<?php echo $c; ?>').show();" href="<?php echo $log['url']?>"><?php echo $log['title']; ?></a>
+ </strong>
+ <div id="c_<?php echo $c; ?>" class="c_pop">
+ <?=$log['content']; ?>
+ </div>
+ </td>
+ </tr>
+ <? $c++; endforeach; ?>
+ </table>
+
+ <br/>
+
+ <a class="func" href="/log/">view inline</a>
+
+
+
+
+
+ <?php else: ?>
+
+ <ul class="inline_content log">
+ <?php foreach($data as $log): ?>
+ <li>
+ <h3>
+
+ <a title="<?php echo get_relative_time($log['timestamp']); ?>" href="<?php echo $log['url'];?>">
+ <?php echo $log['title']; ?></a>
+ </h3>
+ <div class="content">
+ <?php echo $log['content']; ?>
+ </div>
+ </li>
+ <? endforeach; ?>
+ </ul>
+
+ <br/>
+ <a class="func" href="/log/?v=archive">view archive</a>
+
+
+ <?php endif; ?>
+
+ </div>
+
+</body>
+
+</html>
\ No newline at end of file
<ul class="nav">
+
<li><a href="/">home</a><br/><br/></li>
<li><a href="/log/">log</a></li>
- <li><a href="/code/">code</a><br/><br/></li>
+ <li><a href="/code/">code</a></li>
+ <br/>
<li><a href="/agg/">aggregate</a></li>
<li><a href="/links/">links</a></li>
<li><a href="/about/">about</a></li>
+
</ul>