Location: PHPKode > scripts > AmaroK Web Frontend > obsidianmusic-2.3.0/pages/latest.php
<?php

//
//  ObsidianMusic
//   a.k.a. amaroK Web Frontend 2.0
//
//  Created 11/24/05
//   Copyright (C) Ryan Loebs (ObsidianX) 2005/2006
//   See LICENSE for GPL
//
//  latest.php - Display the latest additions
//
///////////////////////////////////////

if(eregi("latest.php", $_SERVER['PHP_SELF'])){
	die("Cannot access directly.");
}

// Grab latest songs
$q = query(getquery("latest"));

$rows = getSongArray($q);

$tpl->addVar("root", "title", _PG_LATEST);
$tpl->addVar("songs", "page", _PG_LATEST);

$tpl->addRows("row", $rows);
Return current item: AmaroK Web Frontend