-
Notifications
You must be signed in to change notification settings - Fork 1
/
_index.php
74 lines (61 loc) · 2.46 KB
/
_index.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
73
74
<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 6.0::19990601::extensions to HTML 4.0//EN" "hmpro6.dtd">
<HTML>
<HEAD>
<META NAME="KEYWORDS" CONTENT="infinite , instant , unlimited , crossword , cross, word, generator , puzzle , script , crosswords, printable">
<META NAME="DESCRIPTION" CONTENT="Infinite Crossword Puzzle Generator Script to create Crosswords for prining or saving for use in your web browser">
<TITLE>Crossword Puzzle Generator by Emogic.com</TITLE>
</HEAD>
<BODY BACKGROUND="crossword.gif">
<CENTER>
<TABLE CELLPADDING="0" CELLSPACING="0" BGCOLOR="#FFFFFF">
<TR>
<TD></TD>
</TR>
</TABLE>
<TABLE CELLPADDING="0" CELLSPACING="1" BGCOLOR="#000000">
<TR>
<TD>
<TABLE CELLPADDING="5" CELLSPACING="0" BGCOLOR="#FFFFFF">
<TR>
<TD>
<Center><H3>Crossword Puzzles made by Emogics Crossword Puzzle Generator</H3></center>
<CENTER>
<p>
<a href="/cgi/crosswords/">Create a new Crossword Puzzle</a>
</p>
<?php
$myarray = array();
$dir="./"; // Directory where files are stored
if ($dir_list = opendir($dir))
{
while(($filename = readdir($dir_list)) !== false)
{
if ($filename != "." && $filename != ".." && $filename != "index.php")
#if ($filename != "." && $filename != ".." && $filename != "index.php")
#if (strpos($filename , "html"))
{
$myarray[] = $filename;
}
}
closedir($dir_list);
}
sort($myarray);
foreach ($myarray as $key => $val)
{
?>
<a href="<?php echo $val; ?>/" target="_self"><?php echo $val;?></a> ,
<?php
}
?>
</CENTER>
<P></P> </TD>
</TR>
</TABLE></TD>
</TR>
</TABLE>
<TABLE CELLPADDING="0" CELLSPACING="0" BGCOLOR="#FFFFFF">
<TR>
<TD> </TD>
</TR>
</TABLE></CENTER> </BODY>
</HTML>