summaryrefslogtreecommitdiffstats
path: root/application/views/file/header.php
blob: 896b9c894e7569389325b69459995f7bc1790bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<title><?php echo isset($title) ? $title : ''; ?></title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/default.css?<?php echo filemtime(FCPATH."/data/default.css"); ?>" media="screen" />
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex,nofollow" />
</head>

<body>
	<div class="top">
		<?php echo anchor('file/index', 'New'); ?> |
		<?php echo anchor('file/upload_history', 'History'); ?> |
		<?php echo anchor('user/invite', 'Invite'); ?>

		<div class="right">
			<?php if(isset($username) && $username) { ?>
				<?=anchor("user/logout", "Logout"); ?>
			<?php } else { ?>
				<a>
					Login
					<div id="login-form">
						<?=form_open("user/login"); ?>
							<input type="text" name="username" />
							<input type="password" name="password" />
							<input type="submit" value="Login" name="process" />
						</form>
					</div>
				</a>
			<?php } ?>
		</div>
	</div>

	<div class="content">