Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (53 sloc) 1.886 kb
require 'includes/';
$nav = 'applications';
$app = new Application($_GET['id']);
if(!$app->ok()) redirect('index.php');
$versions = $app->versions();
<?PHP include('inc/'); ?>
<div id="bd">
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div class="block tabs spaces">
<div class="hd">
<li><a href="application.php?id=<?PHP echo $app->id; ?>"><?PHP echo $app->name; ?></a></li>
<li class="active"><a href="versions.php?id=<?PHP echo $app->id; ?>">Versions</a></li>
<li><a href="version-new.php?id=<?PHP echo $app->id; ?>">Release New Version</a></li>
<div class="clear"></div>
<div class="bd">
<th>Human Readable Version</th>
<th>Sparkle Version Number</th>
<th>Release Date</th>
<?PHP foreach($versions as $v) : ?>
<td><a href="version-edit.php?id=<?PHP echo $v->id; ?>"><?PHP echo $v->human_version; ?></a></td>
<td><?PHP echo $v->version_number; ?></td>
<td><?PHP echo dater($v->dt, 'n/d/Y g:ia'); ?></td>
<td><?PHP echo number_format($v->downloads); ?></td>
<td><?PHP echo number_format($v->updates); ?></td>
<?PHP endforeach; ?>
<div id="sidebar" class="yui-b">
<?PHP include('inc/'); ?>
Jump to Line
Something went wrong with that request. Please try again.