Location: PHPKode > projects > SQL Familytree > blocks/credits.php
<?php
////////////////////////////////////////////////////////////////////////////////
//
// $Id: credits.php,v 1.3 2002/02/04 18:15:10 carney Exp $
//
// Copyright (C) 2002 Michael Carney
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
////////////////////////////////////////////////////////////////////////////////


function credits_handler($vars)
{
    global $t,$p;
    $creditbox  = ""; 
    $creditbox .= "<table border=0 cellpadding=0 cellspacing=10>\n"; 
    $creditbox .= "<tr><td align=center valign=top><a href=\"http://www.carneyweb.com\"><img border=0 src=\"images/Vanilla_logo.png\" alt=\"copyright 2002 Mike Carney\"></a></td></tr>\n";
    $creditbox .= "<tr><td align=center valign=top><a href=\"http://sqlfamily.sourceforge.net\"><img border=0 src=\"images/powered.png\" alt=\"copyright 2002 Mitchell Young\"></a></td></tr>\n";
    $creditbox .= "<tr><td align=center valign=top><a href=\"http://www.matterform.com\"><img src=\"images/qb_credit.gif\"></a></td></tr>\n";
    $creditbox .= "</table>\n";
    
    $p->setBlockVars(array("blockTitle"=>"Credits",
                           "blockContent"=>"$creditbox"));
}
?>
Return current item: SQL Familytree