| 1 |
<?php |
| 2 |
|
| 3 |
//include("inc/util.inc"); |
| 4 |
include_once("inc/LoggedIn.inc"); |
| 5 |
include_once("inc/ProcessLogon.inc"); |
| 6 |
include_once("inc/GetWatchscreens.inc"); |
| 7 |
include_once("inc/GetUserId.inc"); |
| 8 |
|
| 9 |
if (!LoggedIn()) {?> |
| 10 |
<HTML> |
| 11 |
<HEAD> |
| 12 |
<TITLE>Stock Monitor</TITLE> |
| 13 |
<STYLE type="text/css"> |
| 14 |
<?php include("stylesheet.css");?> |
| 15 |
a.andrew { text-decoration: none } |
| 16 |
a.andrew:hover { text-decoration: underline } |
| 17 |
</STYLE> |
| 18 |
</HEAD> |
| 19 |
<BODY bgcolor="white" ID="body"> |
| 20 |
<H1>stock.<A href="http://www.andrew.net.au" class="andrew" >andrew.net.au</A></H1> |
| 21 |
<DIV align=right class="toolbar"> |
| 22 |
<A class="toolbar" href="main.php">Login</A> |
| 23 |
<A class="toolbar" href="register.php">Register</A> |
| 24 |
</DIV> |
| 25 |
<P> |
| 26 |
Welcome to my stock watching website. This free service allows you to create watchscreens for ASX registered stock, and store a purchase date and purchase price, allowing you to track the capital gain or loss of your stock over time. It can be used to keep track of a real portfolio, or for simply hypothetical "paper trading". |
| 27 |
</P> |
| 28 |
</BODY> |
| 29 |
</HTML> |
| 30 |
|
| 31 |
<?php } else { |
| 32 |
header("Location: /main.php"); |
| 33 |
} |
| 34 |
?> |