-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEEselected2.php
More file actions
150 lines (106 loc) · 4.3 KB
/
EEselected2.php
File metadata and controls
150 lines (106 loc) · 4.3 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<title>Expression Engine Add-on Manager v1.0.2</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Expression Engine Add-on Manager v1.0 - Program which includes ">
<meta name="keywords" content="Expression,Engine,Expression Engine,ExpressionEngine,HTML,CSS,XML,JavaScript,PHP,Add-ons,AOM,Addons,Add-ons,Add on Manager">
<meta name="author" content="Carl Skeel">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
<link href="data:text/css;charset=utf-8," data-href="../dist/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet">
<link type="text/css" href="EEcss/EEselect.css" rel="stylesheet">
</head>
<body>
<form id="form2" method="post" action="EEselected2.php">
<div class="container-fluid">
<div class="row topA">
<div class="col-md-2"> <img src="images/EE_logo75wl.png" width="75" height="75" alt="Expression Engine"></div>
<div class="col-md-9">
<h1 class="text-right">Expression Engine Add-on Manager v1.0.2</h1>
</div>
<div class="col-md-1">
</div>
</div><!--End row top A-->
<div class="row topB">
<div class="col-md-5">
<div class="AppBar">
<div class="container">
<h3 class="text-left">Addons</h3>
</div>
</div><!--EndAppBar-->
</div>
<div class="col-md-7">
</div>
</div><!--End row top B-->
<div class="row content">
<div class="col-md-4">
<fieldset>
Place to view actual zip file.
<?php/*
if ($_POST) {
echo '<pre>';
echo htmlspecialchars(print_r($_POST, true));
echo '</pre>';
} */
?>
<?php
echo "<pre>";
echo "\n";
$dir = "./zippedFolders";
$dirEntries = scandir($dir);
echo "<table border='1' width='100%' >\n";
echo "<tr><th colspan='4'>Directory listing for <strong>" . htmlentities($dir) . "</strong></th></tr>\n";
echo "<tr>";
echo "<th><strong><em>Name</em></strong></th>";
echo "</tr>\n";
foreach ($dirEntries as $entry) {
if ((strcmp($entry, '.') != 0) && (strcmp($entry, '..') != 0)) {
$fullEntryName = $dir . "/" . $entry;
echo "<tr><td>";
if (is_file($fullEntryName))
echo "<a href=\"$FullEntryName\">" . htmlentities($entry). "</a>";
//echo "<a href=\"fileDownLoaderStartPHP.php?filename=$Entry\">" . htmlentities($Entry). "</a>";
else
echo htmlentities($entry);
echo "</td>";
echo "</tr>\n";
}
}
echo "</table>\n";
echo "\n";
echo "</pre>";
?>
</fieldset>
<p id="formbuttons">
<!--<input type="button" name="prevb" id="prevb" value="Previous" onclick="window.location='EEselected1.php'" />-->
<input type="button" name="startb" id="startb" value="Create New" onclick="window.location='EEselect.html'" />
<!--<input type="submit" name="nextb" id="nextb" value="Next" />-->
</p>
</div><!--End col mid 4-->
<div class="col-md-4">
....
</div><!--End col mid 4-->
<div class="col-md-4">
</div><!--End col mid 4-->
</div><!--End row content-->
<div class="row foot">
<div class="col-md-12 footctr">
<p class="ftp1">v1.0-1.0.2 Author: Carl Skeel</p>
</div>
</div><!--End row foot-->
<!--test area-->
</div><!--EndCfluid-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- <script src="http://code.jquery.com/jquery-1.11.1.js"></script> -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<!-- jQuery & JS files Located here. -->
<script src="EEjs/EE.js" type="text/javascript" ></script>
<!-- -->
</form><!--End Form Content Selector-->
</body>
</html>