Example #1
0
    if (!empty($load)) {
        $_SESSION['id_admin'] = $load[0]['id'];
        $_SESSION['user_admin'] = $load[0]['user'];
        $_SESSION['password_admin'] = $load[0]['password'];
    }
}
// Check login
if (isset($_SESSION['user_admin']) && isset($_SESSION['password_admin'])) {
    header('location: index.php');
    exit;
}
Template::getHeader();
?>
	<div id="content">
		<form method="post" name="login" action="login.php">
			<div class="block_field">
				<label for="user">User<label>
				<input type="text" name="user" id="user" size="30" />
			</div>
			<div class="block_field">
				<label for="password">Password<label>
				<input type="password" name="password" id="password" size="30" />
			</div>
			<div class="block_field">
				<button type="submit" value="Login">Login</button>
			</div>
		</form>
	</div>
<?php 
Template::getFooter();
Example #2
0
								</tr>
                <tr>
                    <td><img src="./public/pictures/about/thanks/gnu.png" /><br /><a href="https://openssl.org/"><b>OpenSSL</b></a></td>
		    <td><img src="./public/pictures/about/thanks/opensource.png" /><br /><a href="https://github.com/emn178/js-sha512/"><b>js-sha512</b></a></td>
		    <td><img src="./public/pictures/about/thanks/opensource.png" /><br /><a href="https://github.com/emn178/hi-base64"><b>hi-base64</b></a></td>
                </tr>
  		<tr>
                    <td><img src="./public/pictures/about/thanks/glusterfs.png" /><br /><a href="https://www.gluster.org/"><b>GlusterFS</b></a></td>
		    <td><img src="./public/pictures/about/thanks/opensource.png" /><br /><a href="http://www.proxmox.com/"><b>Proxmox</b></a></td>
		   <td><img src="./public/pictures/about/thanks/telegram.svg" /><br /><a href="https://telegram.org/"><b>Telegram</b></a></td>
                </tr>
  		<tr>
                    <td><img src="./public/pictures/about/thanks/nginx.jpg" /><br /><a href="https://nginx.org/"><b>NGINX</b></a></td>
                </tr>
            </table>
        </section>

        <!-- Footer : Copyright + RS -->
        <section id="footer">
            <div id="copyright">&copy; 2015-2016 <b>Kantum Technologies</b></div>
            <div id="rs">
                <a href="mailto:muonium@protonmail.ch"><img src="./public/pictures/features/mail.svg" alt="mail" /></a>
                <a href="https://plus.google.com/u/0/b/113792890240805745979/113792890240805745979/posts"><img src="./public/pictures/features/gplus.svg" alt="google plus" /></a>
                <a href="https://twitter.com/MuoniumCloud"><img src="./public/pictures/features/twitter.svg" alt="twitter" /></a>
                <a href="https://www.facebook.com/MuoniumCloud/"><img src="./public/pictures/features/facebook.svg" alt="facebook" /></a>
            </div>
        </section>
    </body>
<?php 
$_template->getFooter();