2
<div id="logoContainer">
3
<a href="#" class="logo" title="Back to startpage">haha poo xD!</a>
4
<span class="title">Webbprogrammering</span>
4
<span class="title">Läran om Gson - D1POPCRN (7.5hp)</span>
5
<a href="#" class="logo" title="Back to startpage">haha poo xD!</a>
6
<span class="outerBorder"></span>
13
echo '<span class="userConfig notLoggedIn" id="loginLink" >
14
<p class="userLink" title="Click to login">1</p>
15
<span class="userInformation">Login</span>
18
else if($userName!=''){
20
echo '<span class="userConfig loggedIn" id="popoutLink">
21
<p class="userLink" title="Configuration">#</p>
22
<span class="userInformation">'.$userName.'</span>
28
<div class="invisHeader">
30
<ul><!--[if IE]>Using IE! You piece of shit!<![endif]-->
31
<a href="#"><li>Settings</li></a>
32
<a href="javascript:expandCourses();"><li class="expander">Courses</li></a>
33
<ul id="expandedCourses">
34
<li class="expanded">JavaScript - DA113G</li>
35
<li class="expanded">AJAX API - DA235H</li>
36
<li class="expanded">SQL Database - CP666A</li>
38
<a href="#"><li>Add User</li></a>
39
<li name="changePwd" title="Click to change password">Change Password</li>
40
<a href="<?php echo base_url(); ?>logout"><li>Logout</li></a>
45
<div id="passwordChanger">
46
<p class="passwordHeader">Change password</p><p class="passwordHeaderBorder"></p>
47
<form id="changePassword" onsubmit="return confirm('<?php echo base_url(); ?>'); return false;">
49
<span class="errorMessage" name="currentPwd" title="Enter your current password.">#</span>
50
<input type="password" id="currentPwd"/>
53
<span class="errorMessage" name="newPwd" title="Password can only use: a-z A-Z 0-9 _ - and must be of minimum 6 characters.">#</span>
54
<input type="password" id="newPwd" onkeyup="validNewPwd(), validRepeatedPwd();"/>
57
<span class="errorMessage" name="repeatPwd" title="Passwords don't match!">#</span>
58
<input type="password" id="repeatPwd" onkeyup="validRepeatedPwd();"/>
61
<span class="errorMessage" name="hintPwd" title="This hint should be cool!">#</span>
62
<input type="text" id="hintPwd"/>
64
<input type="button" class="button" value="Cancel" onclick="cancelPasswordChange();"/>
65
<input type="button" class="button" value="Ok" onclick="confirm('<?php echo base_url(); ?>');"/>
68
<div id="formContainer" hidden="hidden">
69
<h2 class="loginTitle">Login</h2>
70
<?php echo form_open('login/validate'); ?>
71
<div class="inputarea">
72
<input class="text" type="text" size="20" id="username" name="username" placeholder="username"/><br>
73
<input class="text" type="password" size="20" id="password" name="password" placeholder="password"/><br>
76
<input class="hint" type="button"/>
77
<input class="submit" type="submit" value="Login"/>
b'\\ No newline at end of file'