50 lines
1.2 KiB
PHP
50 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* <pre>
|
|
* Invision Power Services
|
|
* IP.Board v3.1.4
|
|
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
|
|
* </pre>
|
|
*
|
|
* @author $Author: bfarber $
|
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
|
* @license http://www.invisionpower.com/community/board/license.html
|
|
* @package IP.Board
|
|
* @subpackage Members
|
|
* @link http://www.invisionpower.com
|
|
* @version $Rev: 5713 $
|
|
*
|
|
*/
|
|
//-----------------------------------------
|
|
// Get stuff we need
|
|
//-----------------------------------------
|
|
|
|
define( 'IPB_THIS_SCRIPT', 'api' );
|
|
define( 'IPB_LOAD_SQL' , 'queries' );
|
|
|
|
require_once( '../../initdata.php' );
|
|
|
|
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
|
|
$registry = ipsRegistry::instance();
|
|
$registry->init();
|
|
|
|
$id = intval(ipsRegistry::$request['id']);
|
|
$member = IPSMember::load( $id );
|
|
$avatar = IPSMember::buildAvatar( $member );
|
|
|
|
//-----------------------------------------
|
|
// Print avatar
|
|
//-----------------------------------------
|
|
|
|
print <<<HTML
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
</head>
|
|
<body>{$avatar}</body>
|
|
</html>
|
|
HTML;
|
|
|
|
exit; |