-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaboutus.php
72 lines (66 loc) · 3.31 KB
/
aboutus.php
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!--
### STOCKHAWK ###
Aboutus.php:
Shows information in the About page. Contains the information in simple text format.
-->
<?php require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'header.html' ?>
<body>
<script type="text/javascript">
</script>
<?php
/*
Check if the existing session expired or not. If expired, redirect to login page.
*/
session_start();
if(empty($_SESSION['login_user'])){
header("location: index.php");exit();
}
require_once './config.php';
$con = mysqli_connect($hostname, $username, $password, $databasename); //Connection setup with database.
if (mysqli_connect_errno()) {
//die("Failed to connect");
header("location: error.html");
}
?>
<style>
.demo-charts:hover {
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
</style>
<div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<?php require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'header_bar.html' ?>
<?php require_once dirname(__FILE__).DIRECTORY_SEPARATOR.'sidebar.php' ?>
<main class="mdl-layout__content mdl-color--grey-100">
<div class="demo-cards mdl-cell mdl-cell--12-col mdl-cell--12-col-tablet mdl-grid mdl-grid--no-spacing">
<div class="mdl-card__title mdl-card--expand mdl-color--teal-300">
<h2 class="mdl-card__title-text">Help and Information</h2>
</div>
<?php
//printing out the information
echo '
<div class="demo-charts mdl-color--white mdl-shadow--8dp mdl-cell mdl-cell--12-col mdl-grid">
<div class="mdl-card__supporting-text mdl-color-text--black-500">
<h3><font size="5"><b>About us and contact information</b></font></h3>
<font size="4">
StockHawk is a portfolio management system which helps you in managing your stocks and shares.
The market section displays all the companies that are listed in the market. Stock transaction can be made using
from the stock page of each company. You can manage your cash as well, but please make sure you have sufficient cash before
buying a share as transaction is not possible without it. You can sell your stock at will from Sell Stock section. Also you can
submit a request to the moderator to sell the share at a definite price.<br> You can find all your transaction and portfolio details at
the homepage. Please find your personal messages in the inbox and outbox section.<br><br>
</font>
<br>
<h4><b>Moderators</b></h4>
<h5><b>[Nilanjan Daw]</b></h5> <b>email</b>: nilanjandaw[at]gmail[dot]com <br> <b>phone:</b> [+91] 9674362607<br>
<b><h5>[Priyangbada Ganguly]</b></h5> <b>email</b>: xcspriya[at]gmail[dot]com<br> <b>phone:</b> [+91] 9830944913<br>
<b><h5>[Priyanjit Dey]</b></h5> <b>email</b>: priyanjit[dot]dey[at]gmail[dot]com<br> <b>phone:</b> [+91] 9474851429<br>
</div>
</div>
';
?>
</div>
</main>
</div>
<script src="../../material.min.js"></script>
</body>
</html>