/[cvs.andrew.net.au]/stock/main.php
ViewVC logotype

Contents of /stock/main.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Thu Mar 14 13:23:57 2002 UTC (22 years, 7 months ago) by apollock
Branch: MAIN, stock
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
Imported sources

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: logged in as <?php echo $PHP_AUTH_USER?></TITLE>
13 <STYLE type="text/css">
14 <?php include("stylesheet.css");?>
15 </STYLE>
16 </HEAD>
17 <BODY bgcolor="white" ID="body">
18 <H1>stock.andrew.net.au</H1>
19 <!--<H2>Logged in as <?php echo $PHP_AUTH_USER?></H2>-->
20 <DIV align=right class="toolbar">
21 <A class="toolbar" href="addwatch.php">Add a watchscreen</A>
22 <A class="toolbar" href="editwatch.php">Edit a watchscreen</A>
23 <A class="toolbar" href="delwatch.php">Delete a watchscreen</A>
24 |
25 <A class="toolbar" href="password.php">Change password</A>
26 </DIV>
27 <DL>
28 <DT>Watchscreens
29 <P>
30 <?php $watchscreen = GetWatchscreens(GetUserId($PHP_AUTH_USER));
31 while (list($id, $name) = each($watchscreen)) {?>
32 <DD><A href="showwatch.php?id=<?php echo $id?>"><?php echo $name?></A><BR>
33 <?php } ?>
34 </P>
35 <DT>How it works
36 <DD><P>Every weeknight at 9pm, this system goes and fetches the day's trading information for the shares in it's watchscreens from the ASX. It stores this in it's database for comparison against the values entered, and calculates trends and gains or losses.</P>
37 <P>If you enter a security that isn't currently being tracked, it will be picked up at 9pm on the next trading day and be visible from that point onwards.</P>
38 </DL>
39 </BODY>
40 </HTML>
41
42 <?php } else {
43 ProcessLogon();
44 }
45 ?>

  ViewVC Help
Powered by ViewVC 1.1.22