I hereby claim:
- I am fitzage on github.
- I am fitzage (https://keybase.io/fitzage) on keybase.
- I have a public key ASCnBqQ6NkuBoCyI-VxknLarbG521-xL_OYtijCCUd-pWQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<? | |
function latestnotfuture($articles, $options=array()) { | |
global $site; | |
$defaults = array( | |
'category' => '', | |
'num' => '1', | |
'dateformat' => 'Y-m-d H:i', |
<?php | |
function truncate($input, $numwords, $padding="") | |
{ | |
$output = strtok($input, " \n"); | |
while(--$numwords > 0) $output .= " " . strtok(" \n"); | |
if($output != $input) $output .= $padding; | |
// Original PHP code by Chirp Internet: www.chirp.com.au | |
// Please acknowledge use of this code by including this header. | |
$opened = array(); |