Annotation of ETA/urisList.php3, revision 1.7
1.1 frystyk 1: <script language="php">
1.6 frystyk 2: #
1.7 ! frystyk 3: # @(#) $Id: urisList.php3,v 1.6 1999/05/26 22:59:32 frystyk Exp $
1.1 frystyk 4: #
5: # Copyright © 1995-1998 World Wide Web Consortium, (Massachusetts
6: # Institute of Technology, Institut National de Recherche en
7: # Informatique et en Automatique, Keio University). All Rights
8: # Reserved. This program is distributed under the W3C's Software
9: # Intellectual Property License. This program is distributed in the hope
10: # that it will be useful, but WITHOUT ANY WARRANTY; without even the
11: # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12: # PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
13: # details.
14:
1.6 frystyk 15: $this = 'urisList.php3';
16: require ('funcs.phi');
17: $domain = getDomain();
18: require ($domain.'config.phi');
19:
20: # -------------------- get table data --------------------
21:
22: list($w3cdb, $result) = formatQuery($w3cdb,
23: "SELECT uris.id,uris.uri,uris.luri FROM uris",
24: "");
1.1 frystyk 25:
26: # -------------------- pre templates --------------------
27:
1.6 frystyk 28: $W3C_TITLE = render_listTitle('Web Addresses', $domain, $title_modifier);
1.1 frystyk 29: $W3C_AUTHOR = "forum@w3.org";
1.7 ! frystyk 30: $W3C_DATE = '$Date: 1999/05/26 22:59:32 $';
1.4 eric 31: $W3C_TOP = '
32: We keep track of Issues and other first class objects in a URI table.';
33: $W3C_BOTTOM = '';
1.5 frystyk 34: $W3C_NAVBAR = render_navbar_top(array());
1.1 frystyk 35:
1.7 ! frystyk 36: include ($domain.'pre-template.tpl');
1.1 frystyk 37:
38: # -------------------- render table head --------------------
39:
40: </script>
41:
1.4 eric 42: <table border="1" cellspacing="0" width="100%">
1.1 frystyk 43: <caption></caption>
44: <tbody>
45: <tr>
1.4 eric 46: <th><a href="<?php echo formatChain($this, array('order'=>'uris.id'))?>">Data Entry</a></th>
47: <th><a href="<?php echo formatChain($this, array('order'=>'uris.uri'))?>">URI</a></th>
48: <th><a href="<?php echo formatChain($this, array('order'=>'uris.luri'))?>">Long URI information</a></th>
1.1 frystyk 49: </tr>
50: <script language="php">
51:
52: # -------------------- render data --------------------
53:
54: while ($row = mysql_fetch_row($result)) {
55: $T_uris_id = $row[0];
1.6 frystyk 56: $URIS_INSPECT = '<p align="center"><a href="'.formatRef('uris.php3', array('uris_id'=>$T_uris_id)).'"><view</a></p>';
57: $T_uris_uri = '<a href="' .formatRef($row[1], '') .'">' .$row[1] .'</a>';
58: $T_uris_luri = '<a href="' .formatRef($row[2], '') .'">' .$row[2] .'</a>';
1.4 eric 59: $T_split = tdColumns(parseUri($row[1]));
1.1 frystyk 60: </script>
1.4 eric 61: <tr>
62: <td><?php echo $URIS_INSPECT?></td>
63: <td><?php echo $T_uris_uri?></td>
1.1 frystyk 64: <td><?php echo $T_uris_luri?></td>
1.3 eric 65: <?php echo $T_split?>
1.1 frystyk 66: </tr>
67: <?php
68: } ?>
69: </tbody>
70: </table>
1.4 eric 71: <p align="center">[ <a href="<?php echo formatRef('uris.php3', array('editing'=>1, 'nextAction'=>'add'))?>">Add a New URI</a> ] </p>
1.1 frystyk 72:
73: <script language="php">
74:
75: # -------------------- post templates --------------------
76:
1.7 ! frystyk 77: include ($domain.'post-template.tpl');
1.1 frystyk 78: </script>
79: </body>
80: </html>
Webmaster