-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
66 lines (56 loc) · 1.64 KB
/
sidebar.php
File metadata and controls
66 lines (56 loc) · 1.64 KB
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
<?
function PrintHeadlines()
{
system('/home/sites/dir.evolt.org/web/sidebar.pl');
/**********************************************************************
$file = fopen("http://www.evolt.org/xml/articles.xml", "r");
if (!$file) {
print "Couldn't connect to evolt.org\n";
exit;
}
while (!feof($file)) {
$line = fgets($file, 1024);
if (eregi('<a href=\"([^\"]+)\">(.+)</a>', $line, $match)) {
print " <p><a href='$match[1]' target='_content'>" .
$match[2] . "</a></p>\n";
}
}
fclose($file);
**********************************************************************/
}
?>
<html>
<head>
<title>evolt.org</title>
<link rel="stylesheet" type="text/css" href="http://evolt.org/evolt/thisisold_isaac.css">
</head>
<body bgcolor="#cccccc">
<table width="98%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td>
<a href="http://dir.evolt.org/sidebar.php">Refresh</a>
</td>
</tr>
<tr>
<td bgcolor="#000000"><a href="http://evolt.org/" target="_content"><img src="http://evolt.org/evolt/images/evolt_logo_static_b.gif" alt="evolt.org" border="0"></a></td>
</tr>
<tr>
<td class="main">
<a href="http://browsers.evolt.org/" target="_content">Browsers</a> |
<a href="http://lists.evolt.org/" target="_content">Lists</a> |
<a href="http://lists.evolt.org/harvest/" target="_content">Tips</a> |
<!-- <a href="http://members.evolt.org/" target="_content">Members</a> | -->
<a href="http://dir.evolt.org/" target="_content">Directory</a>
<br><br>
</td>
</tr>
<tr>
<td class="main">
<?
PrintHeadlines();
?>
</td>
</tr>
</table>
</body>
</html>