<?php

	{
		require 'common/private/start.inc.php';

		$user = array();
		{
			// set some defaults
			$user['name'] = 'Jim Boerkoel';
			$user['mug'] = 'jim.jpg';
			$user['email'] = 'boerkoel@csail.mit.edu';
			$user['affiliation'] = 'Massachusetts Institute of Technology';
			$user['affiliation_url'] = 'http://www.mit.edu';
			$user['location'] = 'Cambridge, MA';
			$user['tabs'] = array( 'cv'=>'CV', 'links'=>'Links' );
			$user['handler'] = '_example';

			// override if available
			@include( 'index.inc.php' );
		}

		$page_info['title'] = $user['name'];
	}
?>

<?php include_once("analyticstracking.php") ?>

<div id="container">
	<div id="top">


		<div id="contact">
			<div class="header"><?php echo htmlentities( $user['name'] ); ?></div>
			<br />
			<?php echo htmlentities( $user['subtitle'] ); ?>
			<br />
			<a href="<?php echo htmlentities( $user['affiliation_url'] ); ?>"><?php echo htmlentities( $user['affiliation'] ); ?></a>
			<br />
			<?php echo htmlentities( $user['location'] ); ?>
			<br />
			<span style="font-style: italic">E-Mail</span>: <a href="mailto:<?php echo htmlentities( $user['email'] ); ?>"><?php echo htmlentities( $user['email'] ); ?></a>
			<br /><br />


		</div>
		<div id="mug">
					<img src="hrc_logo.png" alt="HRC 2013" width="200" height="200">


		</div>
	</div>

	<div id="content">

<?php
		if ( count( $user['tabs'] ) > 1 )
		{
			jquery_create_tabs( 'tabs', $user['tabs'], $user['handler'], "\t\t" );
		}
		else if ( count( $user['tabs'] ) == 1 )
		{
			$keys = array_keys( $user['tabs'] );

			call_user_func_array( $user['handler'], array( $keys[0], "\t\t" ) );
		}
?>
	</div>
</div>

<div id="footer">
        <img src="logo.png" alt="RSS" width="320" height="75"> <br />

	Last updated on <?php echo htmlentities( date( 'j F Y', filemtime( $_SERVER['SCRIPT_FILENAME'] ) ) . '.' . "\n" ); ?>
	&copy; Jim Boerkoel
	Powered by <a href="http://vitagen.googlecode.com" target="_blank">vitagen</a>.
</div>


<?php

	{
		require 'common/private/end.inc.php';
	}

?>
