Version Description
- fixed tinymce button and editor issue
Download this release
Release Info
Developer | codename065 |
Plugin | WordPress Download Manager |
Version | 2.1.3 |
Comparing to | |
See all releases |
Version 2.1.3
- class.db.php +41 -0
- class.wpdmpagination.php +409 -0
- css/colorbox.css +41 -0
- css/front.css +166 -0
- css/icons.css +38 -0
- css/images/controls.png +0 -0
- css/images/loading.gif +0 -0
- css/jqueryFileTree.css +91 -0
- d16.png +0 -0
- d24.png +0 -0
- download-manager.php +646 -0
- download.php +92 -0
- download.png +0 -0
- editor_plugin.js +40 -0
- file-type-icons/avi.png +0 -0
- file-type-icons/doc.png +0 -0
- file-type-icons/docx.png +0 -0
- file-type-icons/file.png +0 -0
- file-type-icons/img.png +0 -0
- file-type-icons/mov.png +0 -0
- file-type-icons/mp3.png +0 -0
- file-type-icons/mp4.png +0 -0
- file-type-icons/pps.png +0 -0
- file-type-icons/ppt.png +0 -0
- file-type-icons/psd.png +0 -0
- file-type-icons/rar.png +0 -0
- file-type-icons/wav.png +0 -0
- file-type-icons/wma.png +0 -0
- file-type-icons/zip.png +0 -0
- files/.htaccess +5 -0
- fm-settings.php +70 -0
- functions.php +120 -0
- icon/download.png +0 -0
- images/Thumbs.db +0 -0
- images/add-file.png +0 -0
- images/add.png +0 -0
- images/application.png +0 -0
- images/bg_header.jpg +0 -0
- images/browse.png +0 -0
- images/bullet1.gif +0 -0
- images/bullet2.gif +0 -0
- images/category.png +0 -0
- images/code.png +0 -0
- images/css.png +0 -0
- images/db.png +0 -0
- images/directory.png +0 -0
- images/doc.png +0 -0
- images/down.png +0 -0
- images/download-16.png +0 -0
- images/download-manager-16.png +0 -0
- images/download-manager.png +0 -0
- images/error.png +0 -0
- images/file.png +0 -0
- images/film.png +0 -0
- images/flash.png +0 -0
- images/folder_open.png +0 -0
- images/help.png +0 -0
- images/help1.png +0 -0
- images/html.png +0 -0
- images/icons/download.png +0 -0
- images/import-files.png +0 -0
- images/information-balloon.png +0 -0
- images/information.png +0 -0
- images/java.png +0 -0
- images/linux.png +0 -0
- images/loading.gif +0 -0
- images/lock.png +0 -0
- images/music.png +0 -0
- images/pdf.png +0 -0
- images/php.png +0 -0
- images/picture.png +0 -0
- images/play.png +0 -0
- images/ppt.png +0 -0
- images/psd.png +0 -0
- images/remove.png +0 -0
- images/ruby.png +0 -0
- images/script.png +0 -0
- images/settings.png +0 -0
- images/spinner.gif +0 -0
- images/stats.png +0 -0
- images/templates.png +0 -0
- images/txt.png +0 -0
- images/xls.png +0 -0
- images/zip.png +0 -0
- img/donwloadmanager.png +0 -0
- js/jquery.colorbox-min.js +4 -0
- js/jqueryFileTree.js +95 -0
- l24.png +0 -0
- process.php +265 -0
- readme.txt +206 -0
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- wpdc.ppj +67 -0
- wpdc.ppx +1 -0
- wpdm-add-new-file.php +307 -0
- wpdm-categories.php +125 -0
- wpdm-free-mce-button.php +123 -0
- wpdm-list-files.php +189 -0
- wpdm-server-file-browser.php +71 -0
- wpdm-settings.php +70 -0
- wpdm-widgets.php +63 -0
class.db.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class DMDB{
|
4 |
+
|
5 |
+
|
6 |
+
function AddNew($table, $data){
|
7 |
+
mysql_query("insert into $table set ".self::MakeQuery($data));
|
8 |
+
}
|
9 |
+
|
10 |
+
function Update($table, $data, $cond){
|
11 |
+
mysql_query("update $table set ".self::MakeQuery($data)." where ".$cond);
|
12 |
+
}
|
13 |
+
|
14 |
+
function Delete($table, $cond){
|
15 |
+
$d = mysql_fetch_assoc(mysql_query("select * from $table where $cond"));
|
16 |
+
@unlink(UPLOAD_DIR.$d['file']);
|
17 |
+
mysql_query("delete from $table where ".$cond);
|
18 |
+
}
|
19 |
+
|
20 |
+
function getById($table, $id){
|
21 |
+
return mysql_fetch_assoc(mysql_query("select * from $table where id='$id'"));
|
22 |
+
}
|
23 |
+
|
24 |
+
function getData($table, $where = '', $limit=''){
|
25 |
+
$req = mysql_query("select * from $table $where $limit");
|
26 |
+
while($r = mysql_fetch_assoc($res)){
|
27 |
+
$rows[] = $r;
|
28 |
+
}
|
29 |
+
return $rows;
|
30 |
+
}
|
31 |
+
|
32 |
+
function MakeQuery($data){
|
33 |
+
foreach($data as $k=>$d){
|
34 |
+
$qry[] = "`$k`='$d'";
|
35 |
+
}
|
36 |
+
return implode(",", $qry);
|
37 |
+
}
|
38 |
+
|
39 |
+
}
|
40 |
+
|
41 |
+
?>
|
class.wpdmpagination.php
ADDED
@@ -0,0 +1,409 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class wpdmpagination{
|
4 |
+
|
5 |
+
/*
|
6 |
+
|
7 |
+
Script Name: *Digg Style Paginator Class
|
8 |
+
|
9 |
+
Script URI: http://www.mis-algoritmos.com/2007/05/27/digg-style-pagination-class/
|
10 |
+
|
11 |
+
Description: Class in PHP that allows to use a pagination like a digg or sabrosus style.
|
12 |
+
|
13 |
+
Script Version: 0.4
|
14 |
+
|
15 |
+
Author: Victor De la Rocha
|
16 |
+
|
17 |
+
Author URI: http://www.mis-algoritmos.com
|
18 |
+
|
19 |
+
*/
|
20 |
+
|
21 |
+
/*Default values*/
|
22 |
+
|
23 |
+
var $total_pages = -1;//items
|
24 |
+
|
25 |
+
var $limit = null;
|
26 |
+
|
27 |
+
var $target = "";
|
28 |
+
|
29 |
+
var $page = 1;
|
30 |
+
|
31 |
+
var $adjacents = 2;
|
32 |
+
|
33 |
+
var $showCounter = false;
|
34 |
+
|
35 |
+
var $className = "pagination";
|
36 |
+
|
37 |
+
var $parameterName = "page";
|
38 |
+
|
39 |
+
var $urlF = false;//urlFriendly
|
40 |
+
|
41 |
+
var $uriTPL = '';
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
/*Buttons next and previous*/
|
46 |
+
|
47 |
+
var $nextT = "Next";
|
48 |
+
|
49 |
+
var $nextI = "»"; //►
|
50 |
+
|
51 |
+
var $prevT = "Previous";
|
52 |
+
|
53 |
+
var $prevI = "«"; //◄
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
/*****/
|
58 |
+
|
59 |
+
var $calculate = false;
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
#Total items
|
64 |
+
|
65 |
+
function items($value){$this->total_pages = (int) $value;}
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
#how many items to show per page
|
70 |
+
|
71 |
+
function limit($value){$this->limit = (int) $value;}
|
72 |
+
|
73 |
+
|
74 |
+
|
75 |
+
#Page to sent the page value
|
76 |
+
|
77 |
+
function target($value){$this->target = $value;}
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
function urlTemplate($value){$this->uriTPL = $value;}
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
#Current page
|
86 |
+
|
87 |
+
function currentPage($value){$this->page = (int) $value;}
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
#How many adjacent pages should be shown on each side of the current page?
|
92 |
+
|
93 |
+
function adjacents($value){$this->adjacents = (int) $value;}
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
#show counter?
|
98 |
+
|
99 |
+
function showCounter($value=""){$this->showCounter=($value===true)?true:false;}
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
#to change the class name of the pagination div
|
104 |
+
|
105 |
+
function changeClass($value=""){$this->className=$value;}
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
function nextLabel($value){$this->nextT = $value;}
|
110 |
+
|
111 |
+
function nextIcon($value){$this->nextI = $value;}
|
112 |
+
|
113 |
+
function prevLabel($value){$this->prevT = $value;}
|
114 |
+
|
115 |
+
function prevIcon($value){$this->prevI = $value;}
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
#to change the class name of the pagination div
|
120 |
+
|
121 |
+
function parameterName($value=""){$this->parameterName=$value;}
|
122 |
+
|
123 |
+
|
124 |
+
|
125 |
+
#to change urlFriendly
|
126 |
+
|
127 |
+
function urlFriendly($value="%"){
|
128 |
+
|
129 |
+
if(eregi('^ *$',$value)){
|
130 |
+
|
131 |
+
$this->urlF=false;
|
132 |
+
|
133 |
+
return false;
|
134 |
+
|
135 |
+
}
|
136 |
+
|
137 |
+
$this->urlF=$value;
|
138 |
+
|
139 |
+
}
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
var $pagination;
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
+
function pagination(){}
|
148 |
+
|
149 |
+
function show(){
|
150 |
+
|
151 |
+
if(!$this->calculate)
|
152 |
+
|
153 |
+
if($this->calculate())
|
154 |
+
|
155 |
+
return "<div class=\"$this->className\">$this->pagination</div>\n";
|
156 |
+
|
157 |
+
}
|
158 |
+
|
159 |
+
function get_pagenum_link($id){
|
160 |
+
|
161 |
+
/*
|
162 |
+
|
163 |
+
if(strpos($this->target,'?')===false)
|
164 |
+
|
165 |
+
if($this->urlF)
|
166 |
+
|
167 |
+
return str_replace($this->urlF,$id,$this->target);
|
168 |
+
|
169 |
+
else
|
170 |
+
|
171 |
+
return "$this->target?$this->parameterName=$id";
|
172 |
+
|
173 |
+
else
|
174 |
+
|
175 |
+
return "$this->target&$this->parameterName=$id";
|
176 |
+
|
177 |
+
*/
|
178 |
+
|
179 |
+
return str_replace('[%PAGENO%]',$id,$this->uriTPL);
|
180 |
+
|
181 |
+
}
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
function calculate(){
|
186 |
+
|
187 |
+
$this->pagination = "";
|
188 |
+
|
189 |
+
$this->calculate == true;
|
190 |
+
|
191 |
+
$error = false;
|
192 |
+
|
193 |
+
if($this->urlF and $this->urlF != '%' and strpos($this->target,$this->urlF)===false){
|
194 |
+
|
195 |
+
//Es necesario especificar el comodin para sustituir
|
196 |
+
|
197 |
+
echo "Especificaste un wildcard para sustituir, pero no existe en el target<br />";
|
198 |
+
|
199 |
+
$error = true;
|
200 |
+
|
201 |
+
}elseif($this->urlF and $this->urlF == '%' and strpos($this->target,$this->urlF)===false){
|
202 |
+
|
203 |
+
echo "Es necesario especificar en el target el comodin % para sustituir el n�mero de p�gina<br />";
|
204 |
+
|
205 |
+
$error = true;
|
206 |
+
|
207 |
+
}
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
if($this->total_pages < 0){
|
212 |
+
|
213 |
+
echo "It is necessary to specify the <strong>number of pages</strong> (\$class->items(1000))<br />";
|
214 |
+
|
215 |
+
$error = true;
|
216 |
+
|
217 |
+
}
|
218 |
+
|
219 |
+
if($this->limit == null){
|
220 |
+
|
221 |
+
echo "It is necessary to specify the <strong>limit of items</strong> to show per page (\$class->limit(10))<br />";
|
222 |
+
|
223 |
+
$error = true;
|
224 |
+
|
225 |
+
}
|
226 |
+
|
227 |
+
if($error)return false;
|
228 |
+
|
229 |
+
|
230 |
+
|
231 |
+
$n = trim($this->nextT.' '.$this->nextI);
|
232 |
+
|
233 |
+
$p = trim($this->prevI.' '.$this->prevT);
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
/* Setup vars for query. */
|
238 |
+
|
239 |
+
if($this->page)
|
240 |
+
|
241 |
+
$start = ($this->page - 1) * $this->limit; //first item to display on this page
|
242 |
+
|
243 |
+
else
|
244 |
+
|
245 |
+
$start = 0; //if no page var is given, set start to 0
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
/* Setup page vars for display. */
|
250 |
+
|
251 |
+
$prev = $this->page - 1; //previous page is page - 1
|
252 |
+
|
253 |
+
$next = $this->page + 1; //next page is page + 1
|
254 |
+
|
255 |
+
$lastpage = ceil($this->total_pages/$this->limit); //lastpage is = total pages / items per page, rounded up.
|
256 |
+
|
257 |
+
$lpm1 = $lastpage - 1; //last page minus 1
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
/*
|
262 |
+
|
263 |
+
Now we apply our rules and draw the pagination object.
|
264 |
+
|
265 |
+
We're actually saving the code to a variable in case we want to draw it more than once.
|
266 |
+
|
267 |
+
*/
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
if($lastpage > 1){
|
272 |
+
|
273 |
+
if($this->page){
|
274 |
+
|
275 |
+
//anterior button
|
276 |
+
|
277 |
+
if($this->page > 1)
|
278 |
+
|
279 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($prev)."\" class=\"prev\" rel='Com'>$p</a>";
|
280 |
+
|
281 |
+
else
|
282 |
+
|
283 |
+
$this->pagination .= "<span class=\"disabled\">$p</span>";
|
284 |
+
|
285 |
+
}
|
286 |
+
|
287 |
+
//pages
|
288 |
+
|
289 |
+
if ($lastpage < 7 + ($this->adjacents * 2)){//not enough pages to bother breaking it up
|
290 |
+
|
291 |
+
for ($counter = 1; $counter <= $lastpage; $counter++){
|
292 |
+
|
293 |
+
if ($counter == $this->page)
|
294 |
+
|
295 |
+
$this->pagination .= "<span class=\"current\">$counter</span>";
|
296 |
+
|
297 |
+
else
|
298 |
+
|
299 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($counter)."\" rel='Com'>$counter</a>";
|
300 |
+
|
301 |
+
}
|
302 |
+
|
303 |
+
}
|
304 |
+
|
305 |
+
elseif($lastpage > 5 + ($this->adjacents * 2)){//enough pages to hide some
|
306 |
+
|
307 |
+
//close to beginning; only hide later pages
|
308 |
+
|
309 |
+
if($this->page < 1 + ($this->adjacents * 2)){
|
310 |
+
|
311 |
+
for ($counter = 1; $counter < 4 + ($this->adjacents * 2); $counter++){
|
312 |
+
|
313 |
+
if ($counter == $this->page)
|
314 |
+
|
315 |
+
$this->pagination .= "<span class=\"current\">$counter</span>";
|
316 |
+
|
317 |
+
else
|
318 |
+
|
319 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($counter)."\" rel='Com'>$counter</a>";
|
320 |
+
|
321 |
+
}
|
322 |
+
|
323 |
+
$this->pagination .= "...";
|
324 |
+
|
325 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($lpm1)."\" rel='Com'>$lpm1</a>";
|
326 |
+
|
327 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($lastpage)."\" rel='Com'>$lastpage</a>";
|
328 |
+
|
329 |
+
}
|
330 |
+
|
331 |
+
//in middle; hide some front and some back
|
332 |
+
|
333 |
+
elseif($lastpage - ($this->adjacents * 2) > $this->page && $this->page > ($this->adjacents * 2)){
|
334 |
+
|
335 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link(1)."\" rel='Com'>1</a>";
|
336 |
+
|
337 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link(2)."\" rel='Com'>2</a>";
|
338 |
+
|
339 |
+
$this->pagination .= "...";
|
340 |
+
|
341 |
+
for ($counter = $this->page - $this->adjacents; $counter <= $this->page + $this->adjacents; $counter++)
|
342 |
+
|
343 |
+
if ($counter == $this->page)
|
344 |
+
|
345 |
+
$this->pagination .= "<span class=\"current\">$counter</span>";
|
346 |
+
|
347 |
+
else
|
348 |
+
|
349 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($counter)."\" rel='Com'>$counter</a>";
|
350 |
+
|
351 |
+
$this->pagination .= "...";
|
352 |
+
|
353 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($lpm1)."\" rel='Com'>$lpm1</a>";
|
354 |
+
|
355 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($lastpage)."\" rel='Com'>$lastpage</a>";
|
356 |
+
|
357 |
+
}
|
358 |
+
|
359 |
+
//close to end; only hide early pages
|
360 |
+
|
361 |
+
else{
|
362 |
+
|
363 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link(1)."\" rel='Com'>1</a>";
|
364 |
+
|
365 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link(2)."\" rel='Com'>2</a>";
|
366 |
+
|
367 |
+
$this->pagination .= "...";
|
368 |
+
|
369 |
+
for ($counter = $lastpage - (2 + ($this->adjacents * 2)); $counter <= $lastpage; $counter++)
|
370 |
+
|
371 |
+
if ($counter == $this->page)
|
372 |
+
|
373 |
+
$this->pagination .= "<span class=\"current\">$counter</span>";
|
374 |
+
|
375 |
+
else
|
376 |
+
|
377 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($counter)."\" rel='Com'>$counter</a>";
|
378 |
+
|
379 |
+
}
|
380 |
+
|
381 |
+
}
|
382 |
+
|
383 |
+
if($this->page){
|
384 |
+
|
385 |
+
//siguiente button
|
386 |
+
|
387 |
+
if ($this->page < $counter - 1)
|
388 |
+
|
389 |
+
$this->pagination .= "<a href=\"".$this->get_pagenum_link($next)."\" class=\"next\" rel='Com'>$n</a>";
|
390 |
+
|
391 |
+
else
|
392 |
+
|
393 |
+
$this->pagination .= "<span class=\"disabled\">$n</span>";
|
394 |
+
|
395 |
+
if($this->showCounter)$this->pagination .= "<div class=\"pagination_data\">($this->total_pages Pages)</div>";
|
396 |
+
|
397 |
+
}
|
398 |
+
|
399 |
+
}
|
400 |
+
|
401 |
+
|
402 |
+
|
403 |
+
return true;
|
404 |
+
|
405 |
+
}
|
406 |
+
|
407 |
+
}
|
408 |
+
|
409 |
+
?>
|
css/colorbox.css
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
ColorBox Core Style:
|
3 |
+
The following CSS is consistent between example themes and should not be altered.
|
4 |
+
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
+
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
+
#cboxContent{position:relative;}
|
9 |
+
#cboxLoadedContent{overflow:auto;}
|
10 |
+
#cboxTitle{margin:0;}
|
11 |
+
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
|
12 |
+
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
|
14 |
+
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
15 |
+
|
16 |
+
/*
|
17 |
+
User Style:
|
18 |
+
Change the following styles to modify the appearance of ColorBox. They are
|
19 |
+
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
+
*/
|
21 |
+
#cboxOverlay{background:#fff;}
|
22 |
+
#colorbox{}
|
23 |
+
#cboxContent{margin-top:32px; overflow:visible;}
|
24 |
+
#cboxError{padding:50px; border:1px solid #ccc;}
|
25 |
+
#cboxLoadedContent{background:#000; padding:1px;}
|
26 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
27 |
+
#cboxLoadingOverlay{background:#000;}
|
28 |
+
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
|
29 |
+
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
|
30 |
+
#cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
|
31 |
+
#cboxPrevious{background-position:0px 0px; right:44px;}
|
32 |
+
#cboxPrevious.hover{background-position:0px -25px;}
|
33 |
+
#cboxNext{background-position:-25px 0px; right:22px;}
|
34 |
+
#cboxNext.hover{background-position:-25px -25px;}
|
35 |
+
#cboxClose{background-position:-50px 0px; right:0;}
|
36 |
+
#cboxClose.hover{background-position:-50px -25px;}
|
37 |
+
.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
|
38 |
+
.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
|
39 |
+
.cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
|
40 |
+
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
|
41 |
+
.cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
|
css/front.css
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.download_link{
|
2 |
+
|
3 |
+
padding:10px 20px;
|
4 |
+
background: #6db3f2; /* old browsers */
|
5 |
+
|
6 |
+
background: -moz-linear-gradient(top, #6db3f2 0%, #1e69de 100%); /* firefox */
|
7 |
+
|
8 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6db3f2), color-stop(100%,#1e69de)); /* webkit */
|
9 |
+
|
10 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6db3f2', endColorstr='#1e69de',GradientType=0 ); /* ie */
|
11 |
+
float: left;
|
12 |
+
-webkit-border-radius: 7px;
|
13 |
+
-moz-border-radius: 7px;
|
14 |
+
border-radius: 7px;
|
15 |
+
-moz-box-shadow: 0 0 5px #888;
|
16 |
+
-webkit-box-shadow: 0 0 5px#888;
|
17 |
+
box-shadow: 0 0 5px #888;
|
18 |
+
font-size:10pt;
|
19 |
+
font-family: Tahoma;
|
20 |
+
letter-spacing: 1px;
|
21 |
+
text-transform: uppercase;
|
22 |
+
|
23 |
+
}
|
24 |
+
.download_link a{
|
25 |
+
color: #FFF;
|
26 |
+
font-weight: bold;
|
27 |
+
}
|
28 |
+
.download_link input{
|
29 |
+
border:1px solid #7BBA60;
|
30 |
+
padding:4px;
|
31 |
+
font-size:10pt;
|
32 |
+
font-family: Tahoma;
|
33 |
+
letter-spacing: 1px;
|
34 |
+
}
|
35 |
+
|
36 |
+
.wpdm_submit{
|
37 |
+
background: #777 url('../images/play.png') 4px center no-repeat;
|
38 |
+
color: #FFF;
|
39 |
+
padding-left: 20px !important;
|
40 |
+
}
|
41 |
+
.wpdm_submit_wait{
|
42 |
+
background: #777 url('../images/loading.gif') 4px center no-repeat;
|
43 |
+
color: #FFF;
|
44 |
+
padding-left: 20px !important;
|
45 |
+
}
|
46 |
+
#wpdm_submit_error{
|
47 |
+
background: #FFF4F4;
|
48 |
+
border:1px solid #990000;
|
49 |
+
padding:10px;
|
50 |
+
float: left;
|
51 |
+
margin-top:10px;
|
52 |
+
display: none;
|
53 |
+
}
|
54 |
+
|
55 |
+
.wpdm_package{
|
56 |
+
float: left;
|
57 |
+
margin: 5px;
|
58 |
+
border:1px solid #ccc;
|
59 |
+
padding:5px;
|
60 |
+
text-align: center;
|
61 |
+
}
|
62 |
+
.download_link input{
|
63 |
+
margin:0px !important;
|
64 |
+
}
|
65 |
+
|
66 |
+
.myorder th{font-weight:bold;text-align: left;font-size:10pt;}
|
67 |
+
.myorder tr.items td{text-align: left;font-size:9pt;}
|
68 |
+
.myorder tr.item td{font-size: 8pt;}
|
69 |
+
|
70 |
+
.wpdm_category .thumb{
|
71 |
+
|
72 |
+
-moz-box-shadow: 0 0 5px #888;
|
73 |
+
-webkit-box-shadow: 0 0 5px#888;
|
74 |
+
box-shadow: 0 0 5px #888;
|
75 |
+
|
76 |
+
}
|
77 |
+
.wpdm_category .thumb{
|
78 |
+
float:left;
|
79 |
+
margin-right:25px;
|
80 |
+
}
|
81 |
+
.wpdm_category .desc{
|
82 |
+
float:left;
|
83 |
+
line-height: 1.5;
|
84 |
+
width: 70%;
|
85 |
+
}
|
86 |
+
.middle{
|
87 |
+
font-family:Tahoma;
|
88 |
+
font-size:10pt;
|
89 |
+
letter-spacing: 1px;
|
90 |
+
line-height: 1.5;
|
91 |
+
}
|
92 |
+
.middle .det{padding:15px;}
|
93 |
+
|
94 |
+
|
95 |
+
{
|
96 |
+
width: 700px;
|
97 |
+
padding: 0;
|
98 |
+
margin: 0;
|
99 |
+
}
|
100 |
+
|
101 |
+
#mytable caption {
|
102 |
+
padding: 0 0 5px 0;
|
103 |
+
width: 700px;
|
104 |
+
font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
105 |
+
text-align: right;
|
106 |
+
}
|
107 |
+
|
108 |
+
#mytable th {
|
109 |
+
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
110 |
+
color: #4f6b72;
|
111 |
+
border-right: 1px solid #C1DAD7;
|
112 |
+
border-bottom: 1px solid #C1DAD7;
|
113 |
+
border-top: 1px solid #C1DAD7;
|
114 |
+
letter-spacing: 2px;
|
115 |
+
text-transform: uppercase;
|
116 |
+
text-align: left;
|
117 |
+
padding: 6px 6px 6px 12px;
|
118 |
+
background: #CAE8EA url(../images/bg_header.jpg) no-repeat;
|
119 |
+
}
|
120 |
+
|
121 |
+
#mytable th.nobg {
|
122 |
+
border-top: 0;
|
123 |
+
border-left: 0;
|
124 |
+
border-right: 1px solid #C1DAD7;
|
125 |
+
background: none;
|
126 |
+
}
|
127 |
+
|
128 |
+
#mytable td {
|
129 |
+
border-right: 1px solid #C1DAD7;
|
130 |
+
border-bottom: 1px solid #C1DAD7;
|
131 |
+
background: #fff;
|
132 |
+
padding: 6px 6px 6px 12px;
|
133 |
+
color: #4f6b72;
|
134 |
+
margin:0px !important;
|
135 |
+
}
|
136 |
+
|
137 |
+
|
138 |
+
#mytable tr.order td {
|
139 |
+
background: #F5FAFA;
|
140 |
+
color: #797268;
|
141 |
+
}
|
142 |
+
|
143 |
+
#mytable th.spec {
|
144 |
+
border-left: 1px solid #C1DAD7;
|
145 |
+
border-top: 0;
|
146 |
+
background: #fff url(../images/bullet1.gif) no-repeat;
|
147 |
+
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
148 |
+
}
|
149 |
+
|
150 |
+
#mytable th.specalt {
|
151 |
+
border-left: 1px solid #C1DAD7;
|
152 |
+
border-top: 0;
|
153 |
+
background: #f5fafa url(../images/bullet2.gif) no-repeat;
|
154 |
+
font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
|
155 |
+
color: #797268;
|
156 |
+
}
|
157 |
+
|
158 |
+
.wpdm-filelist{
|
159 |
+
list-style:none;
|
160 |
+
}
|
161 |
+
|
162 |
+
.ind-download{
|
163 |
+
position:inline-block;
|
164 |
+
background: url(../images/download-16.png) left center no-repeat;
|
165 |
+
padding-left:20px;
|
166 |
+
}
|
css/icons.css
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
#icon-file-manager{
|
3 |
+
background: url('../images/download-manager.png') center center no-repeat;
|
4 |
+
}
|
5 |
+
|
6 |
+
#icon-add-new-file{
|
7 |
+
background: url('../images/add-file.png') center center no-repeat;
|
8 |
+
}
|
9 |
+
#icon-error{
|
10 |
+
background: url('../images/error.png') center center no-repeat;
|
11 |
+
}
|
12 |
+
#icon-import-file{
|
13 |
+
background: url('../images/import-files.png') center center no-repeat;
|
14 |
+
}
|
15 |
+
#icon-categories{
|
16 |
+
background: url('../images/category.png') center center no-repeat;
|
17 |
+
}
|
18 |
+
#icon-template{
|
19 |
+
background: url('../images/templates.png') center center no-repeat;
|
20 |
+
}
|
21 |
+
#icon-settings{
|
22 |
+
background: url('../images/settings.png') center center no-repeat;
|
23 |
+
}
|
24 |
+
#icon-stats{
|
25 |
+
background: url('../images/stats.png') center center no-repeat;
|
26 |
+
}
|
27 |
+
|
28 |
+
.infoicon{
|
29 |
+
background: url('../images/help1.png') center center no-repeat;
|
30 |
+
text-indent: -999999;
|
31 |
+
display: inline-block;
|
32 |
+
color:transparent;
|
33 |
+
width:16px;
|
34 |
+
height:16px;
|
35 |
+
border:0px !important;
|
36 |
+
}
|
37 |
+
|
38 |
+
|
css/images/controls.png
ADDED
Binary file
|
css/images/loading.gif
ADDED
Binary file
|
css/jqueryFileTree.css
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
UL.jqueryFileTree {
|
2 |
+
font-family: Verdana, sans-serif;
|
3 |
+
font-size: 11px;
|
4 |
+
line-height: 18px;
|
5 |
+
padding: 0px;
|
6 |
+
margin: 0px;
|
7 |
+
}
|
8 |
+
|
9 |
+
UL.jqueryFileTree LI {
|
10 |
+
list-style: none;
|
11 |
+
padding: 0px;
|
12 |
+
padding-left: 20px;
|
13 |
+
margin: 0px;
|
14 |
+
white-space: nowrap;
|
15 |
+
}
|
16 |
+
|
17 |
+
UL.jqueryFileTree A {
|
18 |
+
color: #333;
|
19 |
+
text-decoration: none;
|
20 |
+
display: block;
|
21 |
+
padding: 0px 2px;
|
22 |
+
}
|
23 |
+
|
24 |
+
UL.jqueryFileTree A:hover {
|
25 |
+
background: #BDF;
|
26 |
+
}
|
27 |
+
|
28 |
+
/* Core Styles */
|
29 |
+
.jqueryFileTree LI.directory { background: url(../images/directory.png) left top no-repeat; }
|
30 |
+
.jqueryFileTree LI.expanded { background: url(../images/folder_open.png) left top no-repeat; }
|
31 |
+
.jqueryFileTree LI.file { background: url(../images/file.png) left top no-repeat; }
|
32 |
+
.jqueryFileTree LI.wait { background: url(../images/spinner.gif) left top no-repeat; }
|
33 |
+
/* File Extensions*/
|
34 |
+
.jqueryFileTree LI.ext_3gp { background: url(../images/film.png) left top no-repeat; }
|
35 |
+
.jqueryFileTree LI.ext_afp { background: url(../images/code.png) left top no-repeat; }
|
36 |
+
.jqueryFileTree LI.ext_afpa { background: url(../images/code.png) left top no-repeat; }
|
37 |
+
.jqueryFileTree LI.ext_asp { background: url(../images/code.png) left top no-repeat; }
|
38 |
+
.jqueryFileTree LI.ext_aspx { background: url(../images/code.png) left top no-repeat; }
|
39 |
+
.jqueryFileTree LI.ext_avi { background: url(../images/film.png) left top no-repeat; }
|
40 |
+
.jqueryFileTree LI.ext_bat { background: url(../images/application.png) left top no-repeat; }
|
41 |
+
.jqueryFileTree LI.ext_bmp { background: url(../images/picture.png) left top no-repeat; }
|
42 |
+
.jqueryFileTree LI.ext_c { background: url(../images/code.png) left top no-repeat; }
|
43 |
+
.jqueryFileTree LI.ext_cfm { background: url(../images/code.png) left top no-repeat; }
|
44 |
+
.jqueryFileTree LI.ext_cgi { background: url(../images/code.png) left top no-repeat; }
|
45 |
+
.jqueryFileTree LI.ext_com { background: url(../images/application.png) left top no-repeat; }
|
46 |
+
.jqueryFileTree LI.ext_cpp { background: url(../images/code.png) left top no-repeat; }
|
47 |
+
.jqueryFileTree LI.ext_css { background: url(../images/css.png) left top no-repeat; }
|
48 |
+
.jqueryFileTree LI.ext_doc { background: url(../images/doc.png) left top no-repeat; }
|
49 |
+
.jqueryFileTree LI.ext_exe { background: url(../images/application.png) left top no-repeat; }
|
50 |
+
.jqueryFileTree LI.ext_gif { background: url(../images/picture.png) left top no-repeat; }
|
51 |
+
.jqueryFileTree LI.ext_fla { background: url(../images/flash.png) left top no-repeat; }
|
52 |
+
.jqueryFileTree LI.ext_h { background: url(../images/code.png) left top no-repeat; }
|
53 |
+
.jqueryFileTree LI.ext_htm { background: url(../images/html.png) left top no-repeat; }
|
54 |
+
.jqueryFileTree LI.ext_html { background: url(../images/html.png) left top no-repeat; }
|
55 |
+
.jqueryFileTree LI.ext_jar { background: url(../images/java.png) left top no-repeat; }
|
56 |
+
.jqueryFileTree LI.ext_jpg { background: url(../images/picture.png) left top no-repeat; }
|
57 |
+
.jqueryFileTree LI.ext_jpeg { background: url(../images/picture.png) left top no-repeat; }
|
58 |
+
.jqueryFileTree LI.ext_js { background: url(../images/script.png) left top no-repeat; }
|
59 |
+
.jqueryFileTree LI.ext_lasso { background: url(../images/code.png) left top no-repeat; }
|
60 |
+
.jqueryFileTree LI.ext_log { background: url(../images/txt.png) left top no-repeat; }
|
61 |
+
.jqueryFileTree LI.ext_m4p { background: url(../images/music.png) left top no-repeat; }
|
62 |
+
.jqueryFileTree LI.ext_mov { background: url(../images/film.png) left top no-repeat; }
|
63 |
+
.jqueryFileTree LI.ext_mp3 { background: url(../images/music.png) left top no-repeat; }
|
64 |
+
.jqueryFileTree LI.ext_mp4 { background: url(../images/film.png) left top no-repeat; }
|
65 |
+
.jqueryFileTree LI.ext_mpg { background: url(../images/film.png) left top no-repeat; }
|
66 |
+
.jqueryFileTree LI.ext_mpeg { background: url(../images/film.png) left top no-repeat; }
|
67 |
+
.jqueryFileTree LI.ext_ogg { background: url(../images/music.png) left top no-repeat; }
|
68 |
+
.jqueryFileTree LI.ext_pcx { background: url(../images/picture.png) left top no-repeat; }
|
69 |
+
.jqueryFileTree LI.ext_pdf { background: url(../images/pdf.png) left top no-repeat; }
|
70 |
+
.jqueryFileTree LI.ext_php { background: url(../images/php.png) left top no-repeat; }
|
71 |
+
.jqueryFileTree LI.ext_png { background: url(../images/picture.png) left top no-repeat; }
|
72 |
+
.jqueryFileTree LI.ext_ppt { background: url(../images/ppt.png) left top no-repeat; }
|
73 |
+
.jqueryFileTree LI.ext_psd { background: url(../images/psd.png) left top no-repeat; }
|
74 |
+
.jqueryFileTree LI.ext_pl { background: url(../images/script.png) left top no-repeat; }
|
75 |
+
.jqueryFileTree LI.ext_py { background: url(../images/script.png) left top no-repeat; }
|
76 |
+
.jqueryFileTree LI.ext_rb { background: url(../images/ruby.png) left top no-repeat; }
|
77 |
+
.jqueryFileTree LI.ext_rbx { background: url(../images/ruby.png) left top no-repeat; }
|
78 |
+
.jqueryFileTree LI.ext_rhtml { background: url(../images/ruby.png) left top no-repeat; }
|
79 |
+
.jqueryFileTree LI.ext_rpm { background: url(../images/linux.png) left top no-repeat; }
|
80 |
+
.jqueryFileTree LI.ext_ruby { background: url(../images/ruby.png) left top no-repeat; }
|
81 |
+
.jqueryFileTree LI.ext_sql { background: url(../images/db.png) left top no-repeat; }
|
82 |
+
.jqueryFileTree LI.ext_swf { background: url(../images/flash.png) left top no-repeat; }
|
83 |
+
.jqueryFileTree LI.ext_tif { background: url(../images/picture.png) left top no-repeat; }
|
84 |
+
.jqueryFileTree LI.ext_tiff { background: url(../images/picture.png) left top no-repeat; }
|
85 |
+
.jqueryFileTree LI.ext_txt { background: url(../images/txt.png) left top no-repeat; }
|
86 |
+
.jqueryFileTree LI.ext_vb { background: url(../images/code.png) left top no-repeat; }
|
87 |
+
.jqueryFileTree LI.ext_wav { background: url(../images/music.png) left top no-repeat; }
|
88 |
+
.jqueryFileTree LI.ext_wmv { background: url(../images/film.png) left top no-repeat; }
|
89 |
+
.jqueryFileTree LI.ext_xls { background: url(../images/xls.png) left top no-repeat; }
|
90 |
+
.jqueryFileTree LI.ext_xml { background: url(../images/code.png) left top no-repeat; }
|
91 |
+
.jqueryFileTree LI.ext_zip { background: url(../images/zip.png) left top no-repeat; }
|
d16.png
ADDED
Binary file
|
d24.png
ADDED
Binary file
|
download-manager.php
ADDED
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @package Download Manager
|
4 |
+
* @author Shaon
|
5 |
+
* @version 2.1.3
|
6 |
+
*/
|
7 |
+
/*
|
8 |
+
Plugin Name: Download Manager
|
9 |
+
Plugin URI: http://www.wpdownloadmanager.com/
|
10 |
+
Description: Manage, track and controll file download from your wordpress site
|
11 |
+
Author: Shaon
|
12 |
+
Version: 2.1.3
|
13 |
+
Author URI: http://www.wpdownloadmanager.com/
|
14 |
+
*/
|
15 |
+
|
16 |
+
$d = str_replace('\\','/',dirname(__FILE__));
|
17 |
+
$d = explode("/", $d);
|
18 |
+
array_pop($d);
|
19 |
+
array_pop($d);
|
20 |
+
$d = implode('/', $d);
|
21 |
+
|
22 |
+
define('UPLOAD_DIR',$d.'/uploads/download-manager-files/');
|
23 |
+
define('UPLOAD_BASE',$d.'/uploads/');
|
24 |
+
|
25 |
+
function wpdm_process(){
|
26 |
+
if($_GET['wpdmact']=='process')
|
27 |
+
include("process.php");
|
28 |
+
}
|
29 |
+
|
30 |
+
include("functions.php");
|
31 |
+
include("class.wpdmpagination.php");
|
32 |
+
include("wpdm-server-file-browser.php");
|
33 |
+
|
34 |
+
if(!$_POST) $_SESSION['download'] = 0;
|
35 |
+
|
36 |
+
function wpdm_download_info(){
|
37 |
+
include("download.php");
|
38 |
+
}
|
39 |
+
|
40 |
+
function wpdm_free_install(){
|
41 |
+
global $wpdb;
|
42 |
+
|
43 |
+
$sql = "CREATE TABLE IF NOT EXISTS `ahm_files` (
|
44 |
+
`id` int(11) NOT NULL AUTO_INCREMENT,
|
45 |
+
`title` varchar(255) NOT NULL,
|
46 |
+
`description` text NOT NULL,
|
47 |
+
`category` text NOT NULL,
|
48 |
+
`file` varchar(255) NOT NULL,
|
49 |
+
`password` varchar(40) NOT NULL,
|
50 |
+
`download_count` int(11) NOT NULL,
|
51 |
+
`access` enum('guest','member') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
52 |
+
`show_counter` tinyint(1) NOT NULL,
|
53 |
+
`quota` INT NOT NULL,
|
54 |
+
`link_label` varchar(255) NOT NULL,
|
55 |
+
PRIMARY KEY (`id`)
|
56 |
+
) ENGINE=MyISAM DEFAULT CHARSET=utf8";
|
57 |
+
|
58 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
59 |
+
|
60 |
+
$wpdb->query($sql);
|
61 |
+
//$wpdb->query("ALTER TABLE `ahm_files` ADD `` varchar(255) NOT NULL");
|
62 |
+
$wpdb->query("ALTER TABLE `ahm_files` ADD `link_label` varchar(255) NOT NULL");
|
63 |
+
$wpdb->query("ALTER TABLE `ahm_files` ADD `show_counter` tinyint(1) NOT NULL");
|
64 |
+
$wpdb->query("ALTER TABLE `ahm_files` ADD `download_count` INT NOT NULL");
|
65 |
+
$wpdb->query("ALTER TABLE `ahm_files` ADD `quota` INT NOT NULL");
|
66 |
+
$wpdb->query("ALTER TABLE `ahm_files` ADD `category` TEXT NOT NULL");
|
67 |
+
|
68 |
+
update_option('wpdm_access_level','administrator');
|
69 |
+
wpdm_create_dir();
|
70 |
+
|
71 |
+
}
|
72 |
+
|
73 |
+
function wpdm_new_packages($show=5, $show_count=true){
|
74 |
+
global $wpdb;
|
75 |
+
|
76 |
+
$data = $wpdb->get_results("select * from ahm_files order by id desc limit 0, $show",ARRAY_A);
|
77 |
+
foreach($data as $d){
|
78 |
+
|
79 |
+
$key = $d['id'];
|
80 |
+
if($show_count) $sc = "<br/><i>$d[download_count] downloads</i>";
|
81 |
+
$url = home_url("/?download={$d[id]}");
|
82 |
+
echo "<li><a class='wpdm-popup' rel='colorbox' title='$d[title]' href='$url'>{$d[title]}</a> $sc</li>\r\n";
|
83 |
+
}
|
84 |
+
}
|
85 |
+
|
86 |
+
function wpdm_import_download_monitor(){
|
87 |
+
global $wpdb;
|
88 |
+
$data = $wpdb->get_results("select * from {$wpdb->prefix}download_monitor_files");
|
89 |
+
if($data){
|
90 |
+
foreach($data as $d){
|
91 |
+
$tdata = $wpdb->get_results("select t.name from {$wpdb->prefix}download_monitor_taxonomies t,{$wpdb->prefix}download_monitor_relationships r where t.taxonomy='category' and t.id=r.taxonomy_id and r.download_id={$d->id}");
|
92 |
+
$ct = array();
|
93 |
+
foreach($tdata as $c){
|
94 |
+
$ctu = strtolower(preg_replace("/([^a-zA-Z0-9\-]+)/","-", $c->name));
|
95 |
+
$ct[] = $ctu;
|
96 |
+
$allc["$ctu"] = array('title'=>$c->name);
|
97 |
+
}
|
98 |
+
$wpdm = array(
|
99 |
+
'title'=>$d->title,
|
100 |
+
'description'=>$d->file_description,
|
101 |
+
'file'=>$d->filename,
|
102 |
+
'password'=>'',
|
103 |
+
'download_count'=>$d->hits,
|
104 |
+
'access'=> ($d->member?'member':'guest'),
|
105 |
+
'show_counter'=>'1',
|
106 |
+
'quota'=>0,
|
107 |
+
'category' => serialize($ct),
|
108 |
+
'link_label'=>'Download'
|
109 |
+
);
|
110 |
+
$wpdb->insert('ahm_files', $wpdm);
|
111 |
+
}
|
112 |
+
$tpldata = maybe_unserialize(get_option('_fm_categories'));
|
113 |
+
if(!$tpldata) $tpldata = array();
|
114 |
+
$tpldata = $tpldata + $allc;
|
115 |
+
update_option('_fm_categories',@serialize($tpldata));
|
116 |
+
}
|
117 |
+
echo "
|
118 |
+
<script>
|
119 |
+
location.href='admin.php?page=file-manager';
|
120 |
+
</script>
|
121 |
+
";
|
122 |
+
die();
|
123 |
+
|
124 |
+
|
125 |
+
}
|
126 |
+
|
127 |
+
|
128 |
+
|
129 |
+
function wpdm_downloadable($content){
|
130 |
+
global $wpdb;
|
131 |
+
|
132 |
+
preg_match_all("/\{filelink\=([^\}]+)\}/", $content, $matches);
|
133 |
+
|
134 |
+
$home = home_url('/');
|
135 |
+
|
136 |
+
$sap = count($_GET)>0?'&':'?';
|
137 |
+
for($i=0;$i<count($matches[1]);$i++){
|
138 |
+
$id = $matches[1][$i];
|
139 |
+
$data = $wpdb->get_row("select * from ahm_files where id='$id'",ARRAY_A);
|
140 |
+
$wpdm_login_msg = get_option('wpdm_login_msg')?get_option('wpdm_login_msg'):'Login Required';
|
141 |
+
$link_label = $data['link_label']?$data['link_label']:'Download';
|
142 |
+
if($data['access']=='member'&&!is_user_logged_in())
|
143 |
+
$matches[1][$i] = "<a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/l24.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">".$wpdm_login_msg."</a>";
|
144 |
+
else {
|
145 |
+
if($data['password']=='') { $url = home_url('/?wpdmact=process&did='.base64_encode($id.'.hotlink')); $classrel = ""; }
|
146 |
+
else { $url = home_url('/?download='.$id); $classrel = " class='wpdm-popup' rel='colorbox' "; }
|
147 |
+
$matches[1][$i] = "<a $classrel title='{$data[title]}' href='$url' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">$link_label</a>";
|
148 |
+
if($data['show_counter']!=0)
|
149 |
+
$matches[1][$i] .= "<br><small style='margin-left:30px;'>Downloaded $data[download_count] times</small>";
|
150 |
+
}
|
151 |
+
}
|
152 |
+
|
153 |
+
preg_match_all("/\{wpdm_category\=([^\}]+)\}/", $content, $cmatches);
|
154 |
+
for($i=0;$i<count($cmatches[1]);$i++){
|
155 |
+
$cmatches[1][$i] = wpdm_embed_category($cmatches[1][$i]);
|
156 |
+
}
|
157 |
+
$content = str_replace($cmatches[0],$cmatches[1], $content);
|
158 |
+
return str_replace($matches[0],$matches[1], $content);
|
159 |
+
|
160 |
+
}
|
161 |
+
|
162 |
+
function wpdm_cblist_categories($parent="", $level = 0, $sel = array()){
|
163 |
+
$cats = maybe_unserialize(get_option('_fm_categories'));
|
164 |
+
if(is_array($cats)){
|
165 |
+
if($parent!='') echo "<ul>";
|
166 |
+
foreach($cats as $id=>$cat){
|
167 |
+
$pres = str_repeat("—", $level);
|
168 |
+
if($cat['parent']==$parent){
|
169 |
+
if(in_array($id,$sel))
|
170 |
+
$checked = 'checked=checked';
|
171 |
+
else
|
172 |
+
$checked = '';
|
173 |
+
echo "<li><input type='checkbox' name='file[category][]' value='$id' $checked /> $cat[title]</li>\n";
|
174 |
+
wpdm_cblist_categories($id,$level+1, $sel);}
|
175 |
+
}
|
176 |
+
if($parent!='') echo "</ul>";
|
177 |
+
}
|
178 |
+
}
|
179 |
+
|
180 |
+
function wpdm_dropdown_categories($parent="", $level = 0, $sel='',$cid='',$class=array()){
|
181 |
+
$cats = maybe_unserialize(get_option('_fm_categories'));
|
182 |
+
if(!is_array($cats)) $cats = array();
|
183 |
+
foreach($cats as $id=>$cat){
|
184 |
+
$pres = str_repeat("—", $level);
|
185 |
+
array_push($class,$parent);
|
186 |
+
if($parent=='') $class = array();
|
187 |
+
$class = array_unique($class);
|
188 |
+
$cssclass = implode(" ",$class);
|
189 |
+
if($cat['parent']==$parent){
|
190 |
+
if($sel==$id)
|
191 |
+
echo "<option class='level_{$level} $id $cssclass' selected=selected value='$id'>{$pres} $cat[title]</option>\n";
|
192 |
+
else
|
193 |
+
echo "<option class='level_{$level} $id $cssclass' value='$id'>{$pres} $cat[title]</option>\n";
|
194 |
+
wpdm_dropdown_categories($id,$level+1, $sel, $cid, $class);}
|
195 |
+
}
|
196 |
+
|
197 |
+
}
|
198 |
+
|
199 |
+
function wpdm_admin_options(){
|
200 |
+
|
201 |
+
if(!file_exists(UPLOAD_DIR)&&$_GET[task]!='wpdm_create_dir'){
|
202 |
+
|
203 |
+
echo "
|
204 |
+
<div id=\"warning\" class=\"error fade\"><p>
|
205 |
+
Automatic dir creation failed! [ <a href='admin.php?page=file-manager&task=CreateDir&re=1'>Try again to create dir automatically</a> ]<br><br>
|
206 |
+
Please create dir <strong>" . UPLOAD_DIR . "</strong> manualy and set permision to <strong>777</strong><br><br>
|
207 |
+
Otherwise you will not be able to upload files.</p></div>";
|
208 |
+
}
|
209 |
+
|
210 |
+
if($_GET[success]==1){
|
211 |
+
echo "
|
212 |
+
<div id=\"message\" class=\"updated fade\"><p>
|
213 |
+
Congratulation! Plugin is ready to use now.
|
214 |
+
</div>
|
215 |
+
";
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
if(!file_exists(UPLOAD_DIR.'.htaccess'))
|
220 |
+
setHtaccess();
|
221 |
+
|
222 |
+
if($_GET[task]!='')
|
223 |
+
return call_user_func($_GET['task']);
|
224 |
+
else
|
225 |
+
include('wpdm-list-files.php');
|
226 |
+
}
|
227 |
+
|
228 |
+
function wpdm_delete_file(){
|
229 |
+
global $wpdb;
|
230 |
+
if(is_array($_GET[id])){
|
231 |
+
foreach($_GET[id] as $id){
|
232 |
+
$qry[] = "id='".(int)$id."'";
|
233 |
+
}
|
234 |
+
$cond = implode(" and ", $qry);
|
235 |
+
} else
|
236 |
+
$cond = "id='".(int)$_GET[id]."'";
|
237 |
+
$wpdb->query("delete from ahm_files where ". $cond);
|
238 |
+
echo "<script>
|
239 |
+
location.href='admin.php?page=file-manager';
|
240 |
+
</script>";
|
241 |
+
die();
|
242 |
+
}
|
243 |
+
|
244 |
+
function wpdm_create_dir(){
|
245 |
+
if(!file_exists(UPLOAD_BASE)){
|
246 |
+
@mkdir(UPLOAD_BASE,0777);
|
247 |
+
}
|
248 |
+
@chmod(UPLOAD_BASE,0777);
|
249 |
+
@mkdir(UPLOAD_DIR,0777);
|
250 |
+
@chmod(UPLOAD_DIR,0777);
|
251 |
+
@chmod(dir(__FILE__).'/cache/',0777);
|
252 |
+
wpdm_set_htaccess();
|
253 |
+
if($_GET[re]==1) {
|
254 |
+
if(file_exists(UPLOAD_DIR)) $s=1;
|
255 |
+
else $s = 0;
|
256 |
+
echo "<script>
|
257 |
+
location.href='{$_SERVER[HTTP_REFERER]}&success={$s}';
|
258 |
+
</script>";
|
259 |
+
die();
|
260 |
+
}
|
261 |
+
}
|
262 |
+
|
263 |
+
function wpdm_settings(){
|
264 |
+
if($_POST){
|
265 |
+
update_option('wpdm_access_level',$_POST[access]);
|
266 |
+
update_option('wpdm_login_msg',$_POST[wpdm_login_msg]);
|
267 |
+
}
|
268 |
+
if(is_uploaded_file($_FILES['icon']['tmp_name'])){
|
269 |
+
///print_r(dirname(__FILE__).'/icon/download.png');
|
270 |
+
move_uploaded_file($_FILES['icon']['tmp_name'],dirname(__FILE__).'/icon/download.png');
|
271 |
+
}
|
272 |
+
$access = get_option('wpdm_access_level');
|
273 |
+
include('wpdm-settings.php');
|
274 |
+
}
|
275 |
+
|
276 |
+
function wpdm_add_new_file(){
|
277 |
+
global $wpdb;
|
278 |
+
if(!file_exists(UPLOAD_DIR)){
|
279 |
+
|
280 |
+
echo "
|
281 |
+
<div id=\"warning\" class=\"error fade\"><p>
|
282 |
+
Automatic dir creation failed! [ <a href='admin.php?page=file-manager&task=wpdm_create_dir&re=1'>Try again to create dir automatically</a> ]<br><br>
|
283 |
+
Please create dir <strong>" . UPLOAD_DIR . "</strong> manualy and set permision to <strong>777</strong><br><br>
|
284 |
+
Otherwise you will not be able to upload files.
|
285 |
+
</p></div>";
|
286 |
+
}
|
287 |
+
|
288 |
+
if($_GET[success]==1){
|
289 |
+
echo "
|
290 |
+
<div id=\"message\" class=\"updated fade\"><p>
|
291 |
+
Congratulation! Plugin is ready to use now.
|
292 |
+
</div>
|
293 |
+
";
|
294 |
+
}
|
295 |
+
|
296 |
+
if($_POST){
|
297 |
+
extract($_POST);
|
298 |
+
if(is_uploaded_file($_FILES['media']['tmp_name'])){
|
299 |
+
$info = pathinfo($_FILES['media']['name']);
|
300 |
+
//echo dirname(__FILE__).'/files/'.$_FILES['media']['name'];
|
301 |
+
|
302 |
+
$name = file_exists(dirname(__FILE__).'/files/'.$_FILES['media']['name'])?str_replace('.'.$info['extension'],'_'.uniqid().'.'.$info['extension'],$info['basename']):$_FILES['media']['name'];
|
303 |
+
move_uploaded_file($_FILES['media']['tmp_name'], UPLOAD_DIR . $name);
|
304 |
+
$file['file'] = $name;
|
305 |
+
|
306 |
+
}
|
307 |
+
|
308 |
+
$file['show_counter'] = 0;
|
309 |
+
$file['category'] = serialize($file['category']);
|
310 |
+
$wpdb->insert("ahm_files", $file);
|
311 |
+
if(!$wpdb->insert_id){
|
312 |
+
$wpdb->show_errors();
|
313 |
+
$wpdb->print_error();
|
314 |
+
die();
|
315 |
+
}
|
316 |
+
echo "<script>
|
317 |
+
location.href='admin.php?page=file-manager';
|
318 |
+
</script>";
|
319 |
+
|
320 |
+
}
|
321 |
+
|
322 |
+
|
323 |
+
include('wpdm-add-new-file.php');
|
324 |
+
}
|
325 |
+
|
326 |
+
function wpdm_edit_file(){
|
327 |
+
global $wpdb;
|
328 |
+
if($_POST){
|
329 |
+
extract($_POST);
|
330 |
+
if(is_uploaded_file($_FILES['media']['tmp_name'])){
|
331 |
+
$info = pathinfo($_FILES['media']['name']);
|
332 |
+
//echo dirname(__FILE__).'/files/'.$_FILES['media']['name'];
|
333 |
+
|
334 |
+
$name = file_exists(UPLOAD_DIR . $_FILES['media']['name'])?str_replace('.'.$info['extension'],'_'.uniqid().'.'.$info['extension'],$info['basename']):$_FILES['media']['name'];
|
335 |
+
move_uploaded_file($_FILES['media']['tmp_name'], UPLOAD_DIR . $name);
|
336 |
+
$file['file'] = $name;
|
337 |
+
}
|
338 |
+
|
339 |
+
$file['category'] = serialize($file['category']);
|
340 |
+
|
341 |
+
$wpdb->update("ahm_files", $file, array("id"=>$_POST[id]));
|
342 |
+
|
343 |
+
echo "<script>
|
344 |
+
location.href='admin.php?page=file-manager';
|
345 |
+
</script>";
|
346 |
+
|
347 |
+
}
|
348 |
+
|
349 |
+
$file = $wpdb->get_row("select * from ahm_files where id='$_GET[id]'",ARRAY_A);
|
350 |
+
|
351 |
+
include('wpdm-add-new-file.php');
|
352 |
+
}
|
353 |
+
|
354 |
+
function wpdm_categories(){
|
355 |
+
|
356 |
+
if($_GET['task']=='DeleteCategory'){
|
357 |
+
$tpldata = maybe_unserialize(get_option('_fm_categories'));
|
358 |
+
unset($tpldata[$_GET['cid']]);
|
359 |
+
update_option('_fm_categories',@serialize($tpldata));
|
360 |
+
echo "<script>
|
361 |
+
location.href='{$_SERVER[HTTP_REFERER]}';
|
362 |
+
</script>";
|
363 |
+
die();
|
364 |
+
}
|
365 |
+
if($_POST['cat']){
|
366 |
+
$tpldata = maybe_unserialize(get_option('_fm_categories'));
|
367 |
+
if(!is_array($tpldata)) $tpldata =array();
|
368 |
+
$tcid = $_POST['cid']?$_POST['cid']:strtolower(preg_replace("/([^a-zA-Z0-9\-]+)/","-", $_POST['cat']['title']));
|
369 |
+
$cid = $tcid;
|
370 |
+
while(array_key_exists($cid, $tpldata)&&$_POST['cid']==''){
|
371 |
+
$cid = $tcid."-".(++$postfx);
|
372 |
+
}
|
373 |
+
|
374 |
+
$tpldata[$cid] = $_POST['cat'];
|
375 |
+
update_option('_fm_categories',@serialize($tpldata));
|
376 |
+
echo "<script>
|
377 |
+
location.href='{$_SERVER[HTTP_REFERER]}';
|
378 |
+
</script>";
|
379 |
+
die();
|
380 |
+
}
|
381 |
+
include("wpdm-categories.php");
|
382 |
+
}
|
383 |
+
|
384 |
+
function wpdm_cat_dropdown_tree($parent="", $level = 0){
|
385 |
+
$cats = maybe_unserialize(get_option('_fm_categories'));
|
386 |
+
foreach($cats as $id=>$cat){
|
387 |
+
$pres = str_repeat("—", $level);
|
388 |
+
if($cat['parent']==$parent){
|
389 |
+
echo "<option value='$id'>{$pres} $cat[title]</option>\n";
|
390 |
+
wpdm_cat_dropdown_tree($id,$level+1);}
|
391 |
+
}
|
392 |
+
}
|
393 |
+
|
394 |
+
function wpdm_embed_category($id){
|
395 |
+
global $wpdb, $current_user, $post, $wp_query;
|
396 |
+
$postlink = get_permalink($post->ID);
|
397 |
+
get_currentuserinfo();
|
398 |
+
|
399 |
+
$user = new WP_User(null);
|
400 |
+
$categories = maybe_unserialize(get_option("_fm_categories",true));
|
401 |
+
$category = $categories[$id];
|
402 |
+
$total = $wpdb->get_var("select count(*) from ahm_files where category like '%\"$id\"%'");
|
403 |
+
|
404 |
+
$item_per_page = 10;
|
405 |
+
$pages = ceil($total/$item_per_page);
|
406 |
+
$page = $_GET['cp']?$_GET['cp']:1;
|
407 |
+
$start = ($page-1)*$item_per_page;
|
408 |
+
$pag = new wpdmpagination();
|
409 |
+
$pag->items($total);
|
410 |
+
$pag->limit($item_per_page);
|
411 |
+
$pag->currentPage($page);
|
412 |
+
$url = strpos($_SERVER['REQUEST_URI'],'?')?$_SERVER['REQUEST_URI'].'&':$_SERVER['REQUEST_URI'].'?';
|
413 |
+
$pag->urlTemplate($url."cp=[%PAGENO%]");
|
414 |
+
|
415 |
+
$ndata = $wpdb->get_results("select * from ahm_files where category like '%\"$id\"%' limit $start, $item_per_page",ARRAY_A);
|
416 |
+
|
417 |
+
|
418 |
+
$sap = count($_GET)>0?'&':'?';
|
419 |
+
$html = '';
|
420 |
+
foreach($ndata as $data){
|
421 |
+
|
422 |
+
$link_label = $data['title']?$data['title']:'Download';
|
423 |
+
$data['page_link'] = "<a class='wpdm-popup' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/icon/download.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\" href='{$postlink}{$sap}download={$data[id]}'>$link_label</a>";
|
424 |
+
if($data[preview]!='')
|
425 |
+
$data['thumb'] = "<img class='wpdm_icon' align='left' src='".plugins_url()."/{$data[preview]}' />";
|
426 |
+
else
|
427 |
+
$data['thumb'] = '';
|
428 |
+
if($data[icon]!='')
|
429 |
+
$data['icon'] = "<img class='wpdm_icon' align='left' src='".plugins_url()."/{$data[icon]}' />";
|
430 |
+
else
|
431 |
+
$data['icon'] = '';
|
432 |
+
|
433 |
+
|
434 |
+
if($data['show_counter']==1){
|
435 |
+
$counter = "{$data[download_count]} downloads<br/>";
|
436 |
+
$data['counter'] = $counter;
|
437 |
+
}
|
438 |
+
|
439 |
+
//foreach( $data as $ind=>$val ) $reps["[".$ind."]"] = $val;
|
440 |
+
//$repeater = stripslashes( strtr( $category['template_repeater'], $reps ));
|
441 |
+
$template = "<li><b>$data[page_link]</b><br/>$data[counter]</li>";
|
442 |
+
if($data['access']=='member'&&!is_user_logged_in())
|
443 |
+
$template = "<li><b><a href='".get_option('siteurl')."/wp-login.php?redirect_to=".$_SERVER['REQUEST_URI']."' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/l24.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">$data[title]</a></b><br/>login to download</li>";
|
444 |
+
$html .= $template;
|
445 |
+
|
446 |
+
|
447 |
+
END;
|
448 |
+
|
449 |
+
|
450 |
+
|
451 |
+
|
452 |
+
|
453 |
+
|
454 |
+
|
455 |
+
}
|
456 |
+
|
457 |
+
|
458 |
+
return "<ul class='wpdm-category $id'>".$html."</div><div style='clear:both'></ul>";
|
459 |
+
}
|
460 |
+
|
461 |
+
|
462 |
+
|
463 |
+
function wpdm_tinymce()
|
464 |
+
{
|
465 |
+
wp_enqueue_script('common');
|
466 |
+
wp_enqueue_script('jquery-color');
|
467 |
+
wp_admin_css('thickbox');
|
468 |
+
wp_print_scripts('post');
|
469 |
+
wp_print_scripts('media-upload');
|
470 |
+
wp_print_scripts('jquery');
|
471 |
+
wp_print_scripts('jquery-ui-core');
|
472 |
+
wp_print_scripts('jquery-ui-tabs');
|
473 |
+
wp_print_scripts('tiny_mce');
|
474 |
+
wp_print_scripts('editor');
|
475 |
+
wp_print_scripts('editor-functions');
|
476 |
+
add_thickbox();
|
477 |
+
//wp_tiny_mce();
|
478 |
+
//wp_admin_css();
|
479 |
+
wp_enqueue_script('utils');
|
480 |
+
do_action("admin_print_styles-post-php");
|
481 |
+
do_action('admin_print_styles');
|
482 |
+
remove_all_filters('mce_external_plugins');
|
483 |
+
}
|
484 |
+
|
485 |
+
function wpdm_set_htaccess(){
|
486 |
+
$cont = 'RewriteEngine On
|
487 |
+
<Files *>
|
488 |
+
Deny from all
|
489 |
+
</Files>
|
490 |
+
';
|
491 |
+
@file_put_contents(UPLOAD_DIR.'.htaccess',$cont);
|
492 |
+
}
|
493 |
+
|
494 |
+
|
495 |
+
function wpdm_front_js(){
|
496 |
+
?>
|
497 |
+
<script language="JavaScript">
|
498 |
+
<!--
|
499 |
+
jQuery(function(){
|
500 |
+
jQuery('.wpdm-popup').colorbox();
|
501 |
+
})
|
502 |
+
//-->
|
503 |
+
</script>
|
504 |
+
<?php
|
505 |
+
}
|
506 |
+
|
507 |
+
function wpdm_copyold(){
|
508 |
+
global $wpdb;
|
509 |
+
$ids = get_option('wpdmc2p_ids',true);
|
510 |
+
if($_POST['task']=='wpdm_copy_files'){
|
511 |
+
if(!is_array($ids)) $ids = array();
|
512 |
+
if(!is_array($_POST[id])) $_POST[id] = array();
|
513 |
+
foreach($_POST[id] as $fid){
|
514 |
+
//if(!in_array($fid, $ids)){
|
515 |
+
$file = $wpdb->get_row("select * from ahm_files where id='$fid'", ARRAY_A);
|
516 |
+
unset($file[id]);
|
517 |
+
//print_r($file);
|
518 |
+
//$wpdb->show_errors();
|
519 |
+
$wpdb->insert("ahm_files",$file);
|
520 |
+
//$wpdb->print_error();die() ;
|
521 |
+
//}
|
522 |
+
}
|
523 |
+
if(is_array($ids))
|
524 |
+
$ids = array_unique(array_merge($ids, $_POST['id']));
|
525 |
+
else
|
526 |
+
$ids = $_POST['id'];
|
527 |
+
/*foreach($_POST as $optn=>$optv){
|
528 |
+
update_option($optn, $optv);
|
529 |
+
} */
|
530 |
+
|
531 |
+
update_option('wpdmc2p_ids',$ids);
|
532 |
+
die('Copied successfully');
|
533 |
+
}
|
534 |
+
|
535 |
+
$res = mysql_query("select * from ahm_files");
|
536 |
+
|
537 |
+
?>
|
538 |
+
|
539 |
+
|
540 |
+
<div class="wrap">
|
541 |
+
<div class="icon32" id="icon-upload"><br></div>
|
542 |
+
|
543 |
+
<h2>Copy from Download Manager</h2> <br>
|
544 |
+
|
545 |
+
<div class="clear"></div>
|
546 |
+
<form action="" method="post">
|
547 |
+
<input type="hidden" name="task" value="wpdm_copy_files" />
|
548 |
+
|
549 |
+
<table cellspacing="0" class="widefat fixed">
|
550 |
+
<thead>
|
551 |
+
<tr>
|
552 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input class="call m" type="checkbox"></th>
|
553 |
+
<th style="" class="manage-column column-media" id="media" scope="col">File</th>
|
554 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Copied</th>
|
555 |
+
</tr>
|
556 |
+
</thead>
|
557 |
+
|
558 |
+
<tfoot>
|
559 |
+
<tr>
|
560 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input class="call m" type="checkbox"></th>
|
561 |
+
<th style="" class="manage-column column-media" id="media" scope="col">File</th>
|
562 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Copied</th>
|
563 |
+
</tr>
|
564 |
+
</tfoot>
|
565 |
+
|
566 |
+
<tbody class="list:post" id="the-list">
|
567 |
+
<?php while($media = mysql_fetch_assoc($res)) { $media['copied'] = @in_array($media[id],$ids)?'Yes':'No'; ?>
|
568 |
+
<tr valign="top" class="alternate author-self status-inherit" id="post-8">
|
569 |
+
|
570 |
+
<th class="check-column" scope="row"><input type="checkbox" value="<?php echo $media[id];?>" class="m" name="id[]"></th>
|
571 |
+
|
572 |
+
<td class="media column-media">
|
573 |
+
<strong><a title="Edit" href="admin.php?page=file-manager&task=EditFile&id=<?php echo $media['id']?>"><?php echo $media['title']?></a></strong>
|
574 |
+
</td>
|
575 |
+
<td class="parent column-parent"><b><?php echo $media['copied']; ?></b></td>
|
576 |
+
|
577 |
+
</tr>
|
578 |
+
<?php } ?>
|
579 |
+
</tbody>
|
580 |
+
</table>
|
581 |
+
<br>
|
582 |
+
|
583 |
+
<input type="submit" value="Copy Selected Files" class="button-primary">
|
584 |
+
</form>
|
585 |
+
<script language="JavaScript">
|
586 |
+
<!--
|
587 |
+
jQuery('.call').click(function(){
|
588 |
+
if(this.checked)
|
589 |
+
jQuery('.m').attr('checked','checked');
|
590 |
+
else
|
591 |
+
jQuery('.m').removeAttr('checked');
|
592 |
+
});
|
593 |
+
//-->
|
594 |
+
</script>
|
595 |
+
</div>
|
596 |
+
<?php
|
597 |
+
}
|
598 |
+
|
599 |
+
function wpdm_hotlink($params){
|
600 |
+
global $wpdb;
|
601 |
+
extract($params);
|
602 |
+
if($id=='') return;
|
603 |
+
$data = $wpdb->get_row("select * from ahm_files where id='$id'",ARRAY_A);
|
604 |
+
if($data['id']=='') return;
|
605 |
+
$link_label = $link_label?$link_label:$data['link_label'];
|
606 |
+
$url = home_url('/?wpdmact=process&did='.base64_encode($id.'.hotlink'));
|
607 |
+
return "<a href='$url'>$link_label</a>";
|
608 |
+
|
609 |
+
}
|
610 |
+
|
611 |
+
function wpdm_menu(){
|
612 |
+
add_menu_page("File Manager","File Manager",get_option('wpdm_access_level'),'file-manager','wpdm_admin_options');
|
613 |
+
$access = get_option('wpdm_access_level')?get_option('wpdm_access_level'):'administrator';
|
614 |
+
add_submenu_page( 'file-manager', 'File Manager', 'Manage', $access, 'file-manager', 'wpdm_admin_options');
|
615 |
+
add_submenu_page( 'file-manager', 'Add New File ‹ File Manager', 'Add New File', $access, 'file-manager/add-new-file', 'wpdm_add_new_file');
|
616 |
+
add_submenu_page( 'file-manager', 'Categories ‹ File Manager', 'Categories', 'administrator', 'file-manager/categories', 'wpdm_categories');
|
617 |
+
add_submenu_page( 'file-manager', 'Settings ‹ File Manager', 'Settings', 'administrator', 'file-manager/settings', 'wpdm_settings');
|
618 |
+
|
619 |
+
}
|
620 |
+
|
621 |
+
if(is_admin()){
|
622 |
+
add_action("admin_menu","wpdm_menu");
|
623 |
+
include("wpdm-free-mce-button.php");
|
624 |
+
wp_enqueue_style('icons',plugins_url().'/download-manager/css/icons.css');
|
625 |
+
|
626 |
+
}else{
|
627 |
+
wp_enqueue_script('jquery');
|
628 |
+
wp_enqueue_script('11',plugins_url().'/download-manager/js/jquery.colorbox-min.js');
|
629 |
+
wp_enqueue_style('22',plugins_url().'/download-manager/css/colorbox.css');
|
630 |
+
add_action('wp_head','wpdm_front_js');
|
631 |
+
}
|
632 |
+
|
633 |
+
if($_GET['page']=='file-manager/add-new-file')
|
634 |
+
add_filter('admin_head','wpdm_tinymce');
|
635 |
+
|
636 |
+
add_action("wp","wpdm_download_info");
|
637 |
+
|
638 |
+
add_filter( 'the_content', 'wpdm_downloadable');
|
639 |
+
|
640 |
+
add_shortcode('wpdm_hotlink','wpdm_hotlink');
|
641 |
+
|
642 |
+
add_action('init','wpdm_process');
|
643 |
+
|
644 |
+
include("wpdm-widgets.php");
|
645 |
+
|
646 |
+
register_activation_hook(__FILE__,'wpdm_free_install');
|
download.php
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $wpdb;
|
3 |
+
$dl = (int)$_REQUEST['download'];
|
4 |
+
if($dl>0){
|
5 |
+
$data = $wpdb->get_row("select * from ahm_files where id='$dl'",ARRAY_A);
|
6 |
+
if($data['access']=='member'&&!is_user_logged_in()){
|
7 |
+
$wpdm_login_msg = get_option('wpdm_login_msg')?get_option('wpdm_login_msg'):'Login Required';
|
8 |
+
die("<div style='padding:20px 30px;background:#fff'><a href='".get_option('siteurl')."/wp-login.php' style=\"background:url('".get_option('siteurl')."/wp-content/plugins/download-manager/l24.png') no-repeat;padding:3px 12px 12px 28px;font:bold 10pt verdana;\">".$wpdm_login_msg."</a></div>") ;
|
9 |
+
}
|
10 |
+
if($_POST['password']==$data['password']&&isset($_POST['password'])){
|
11 |
+
$did = uniqid();
|
12 |
+
file_put_contents(dirname(__FILE__).'/cache/'.$did,serialize($data));
|
13 |
+
die($did);
|
14 |
+
}else if($_POST['password']!=$data['password']&&isset($_POST['password'])){
|
15 |
+
die('error');
|
16 |
+
}
|
17 |
+
?>
|
18 |
+
<style>
|
19 |
+
|
20 |
+
input,form,p{
|
21 |
+
font-size:9pt;
|
22 |
+
}
|
23 |
+
form{text-align:center;}
|
24 |
+
</style>
|
25 |
+
<?php
|
26 |
+
|
27 |
+
if($data){
|
28 |
+
|
29 |
+
echo "<div style='min-weight:300px;min-height:200px;padding:30px;background:#fff;color:#000'><h1><nobr>$data[title]</nobr></h1><br/><p style='height:100px;overflow:auto;'>$data[description]</p>";
|
30 |
+
/*
|
31 |
+
if($_POST&&$data[password]==''){
|
32 |
+
echo "<script>
|
33 |
+
window.opener.location.href='$_SERVER[HTTP_REFERER]'; self.close();</script>"; die(); }
|
34 |
+
*/
|
35 |
+
?>
|
36 |
+
<form method="post">
|
37 |
+
<?php
|
38 |
+
|
39 |
+
if($_POST['password']==$data['password']&&count($_POST)>0){
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
mysql_query("update ahm_files set `download_count`=`download_count`+1 where id='{$data[id]}'");
|
45 |
+
echo "Please Wait... Download starting in a while...
|
46 |
+
</form>
|
47 |
+
|
48 |
+
<script>
|
49 |
+
window.opener.location.href='".get_option('siteurl')."/?wpdmact=process&did={$did}';
|
50 |
+
self.close();
|
51 |
+
</script>
|
52 |
+
";
|
53 |
+
|
54 |
+
die();
|
55 |
+
} else {
|
56 |
+
if($data['password']!=''){
|
57 |
+
if($_POST['password']!=$data['password']&&count($_POST)>0) echo "<span style='color:red'>Wrong password!</span><br>";
|
58 |
+
?>
|
59 |
+
Enter Password: <input type="password" id="pass" size="10" name="password" />
|
60 |
+
<?php }else{?>
|
61 |
+
<input type="hidden" id="pass" name="password" value="" />
|
62 |
+
<?php }}
|
63 |
+
|
64 |
+
?>
|
65 |
+
<input type="button" onclick="validate_pass()" value="Download"/>
|
66 |
+
<div id="err" style="color: red;"></div>
|
67 |
+
</form>
|
68 |
+
<script language="JavaScript">
|
69 |
+
<!--
|
70 |
+
function validate_pass(){
|
71 |
+
jQuery.post("<?php echo home_url('/'); ?>",{'download':'<?php echo $dl; ?>','password':jQuery('#pass').val()},function(res){
|
72 |
+
if(res=='error') jQuery('#err').html('Password not matched');
|
73 |
+
else
|
74 |
+
location.href='<?php echo get_option('siteurl'); ?>/?wpdmact=process&did='+res;
|
75 |
+
|
76 |
+
});
|
77 |
+
}
|
78 |
+
//-->
|
79 |
+
</script>
|
80 |
+
</div>
|
81 |
+
<?php
|
82 |
+
die();
|
83 |
+
}
|
84 |
+
|
85 |
+
else{
|
86 |
+
echo "Error!";
|
87 |
+
}
|
88 |
+
|
89 |
+
|
90 |
+
die();
|
91 |
+
}
|
92 |
+
?>
|
download.png
ADDED
Binary file
|
editor_plugin.js
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
(function() {
|
3 |
+
|
4 |
+
tinymce.create('tinymce.plugins.wpdm_tinyplugin', {
|
5 |
+
|
6 |
+
init : function(ed, url){
|
7 |
+
ed.addCommand('wpdm_mcedonwloadmanager', function() {
|
8 |
+
ed.windowManager.open({
|
9 |
+
title: 'Download Controller',
|
10 |
+
file : 'admin.php?wpdm_action=wpdm_tinymce_button',
|
11 |
+
height: 300,
|
12 |
+
width:400,
|
13 |
+
inline : 1
|
14 |
+
}, {
|
15 |
+
plugin_url : url, // Plugin absolute URL
|
16 |
+
some_custom_arg : 'custom arg' // Custom argument
|
17 |
+
});
|
18 |
+
});
|
19 |
+
|
20 |
+
ed.addButton('wpdm_tinyplugin', {
|
21 |
+
title : 'Download Manager: Insert Package or Category',
|
22 |
+
cmd : 'wpdm_mcedonwloadmanager',
|
23 |
+
image: url + "/img/donwloadmanager.png"
|
24 |
+
});
|
25 |
+
},
|
26 |
+
|
27 |
+
getInfo : function() {
|
28 |
+
return {
|
29 |
+
longname : 'WPDC - TinyMCE Button Add-on',
|
30 |
+
author : 'Shaon',
|
31 |
+
authorurl : 'http://www.wpdownloadmanager.com',
|
32 |
+
infourl : 'http://www.wpdownloadmanager.com',
|
33 |
+
version : "1.0"
|
34 |
+
};
|
35 |
+
}
|
36 |
+
});
|
37 |
+
|
38 |
+
tinymce.PluginManager.add('wpdm_tinyplugin', tinymce.plugins.wpdm_tinyplugin);
|
39 |
+
|
40 |
+
})();
|
file-type-icons/avi.png
ADDED
Binary file
|
file-type-icons/doc.png
ADDED
Binary file
|
file-type-icons/docx.png
ADDED
Binary file
|
file-type-icons/file.png
ADDED
Binary file
|
file-type-icons/img.png
ADDED
Binary file
|
file-type-icons/mov.png
ADDED
Binary file
|
file-type-icons/mp3.png
ADDED
Binary file
|
file-type-icons/mp4.png
ADDED
Binary file
|
file-type-icons/pps.png
ADDED
Binary file
|
file-type-icons/ppt.png
ADDED
Binary file
|
file-type-icons/psd.png
ADDED
Binary file
|
file-type-icons/rar.png
ADDED
Binary file
|
file-type-icons/wav.png
ADDED
Binary file
|
file-type-icons/wma.png
ADDED
Binary file
|
file-type-icons/zip.png
ADDED
Binary file
|
files/.htaccess
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
RewriteEngine On
|
2 |
+
|
3 |
+
<Files *>
|
4 |
+
Deny from all
|
5 |
+
</Files>
|
fm-settings.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.wrap *{
|
3 |
+
font-family: Tahoma;
|
4 |
+
letter-spacing: 1px;
|
5 |
+
}
|
6 |
+
|
7 |
+
input[type=text],textarea{
|
8 |
+
width:500px;
|
9 |
+
padding:5px;
|
10 |
+
}
|
11 |
+
|
12 |
+
input{
|
13 |
+
padding: 7px;
|
14 |
+
}
|
15 |
+
</style>
|
16 |
+
|
17 |
+
<div class="wrap">
|
18 |
+
<div class="icon32" id="icon-options-general"><br></div>
|
19 |
+
<h2>Settings</h2>
|
20 |
+
|
21 |
+
<form action="" method="post" enctype="multipart/form-data">
|
22 |
+
|
23 |
+
<table cellpadding="5" cellspacing="5">
|
24 |
+
|
25 |
+
<tr>
|
26 |
+
<td>Minimum User Access Level:</td>
|
27 |
+
<td><select name="access">
|
28 |
+
<option value="level_10">Administrator</option>
|
29 |
+
<option value="level_5" <?php echo $access=='level_5'?'selected':''?>>Editor</option>
|
30 |
+
<option value="level_2" <?php echo $access=='level_2'?'selected':''?>>Author</option>
|
31 |
+
</select>
|
32 |
+
</td>
|
33 |
+
</tr>
|
34 |
+
|
35 |
+
<tr>
|
36 |
+
<td>Login Required Message:</td>
|
37 |
+
<td>
|
38 |
+
<input type="text" name="wpdm_login_msg" value="<?php echo get_option('wpdm_login_msg',true); ?>" size="40">
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
|
42 |
+
|
43 |
+
<tr>
|
44 |
+
<td>Download Link Icon:</td>
|
45 |
+
<td>
|
46 |
+
<input type="file" name="icon">
|
47 |
+
| Current Icon: <img src="<?php echo plugins_url(); ?>/download-manager/icon/download.png" />
|
48 |
+
</td>
|
49 |
+
</tr>
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
<tr>
|
54 |
+
<td valign="top"></td>
|
55 |
+
<td align="right">
|
56 |
+
|
57 |
+
<input type="button" value="« back" tabindex="9" class="button-secondary" onclick="location.href='admin.php?page=file-manager'" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
58 |
+
|
59 |
+
<input type="reset" value="reset" tabindex="9" class="button-secondary" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
60 |
+
|
61 |
+
<input type="submit" value="save" accesskey="p" tabindex="5" id="publish" class="button-primary" name="publish">
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
|
65 |
+
</table>
|
66 |
+
|
67 |
+
|
68 |
+
</form>
|
69 |
+
|
70 |
+
</div>
|
functions.php
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* add new package meta
|
4 |
+
*
|
5 |
+
* @param mixed $pid
|
6 |
+
* @param mixed $name
|
7 |
+
* @param mixed $value
|
8 |
+
*/
|
9 |
+
function add_wpdm_meta($pid, $name, $value, $uniq = false){
|
10 |
+
global $wpdb;
|
11 |
+
$value = is_array($value)?serialize($value):$value;
|
12 |
+
$uniq = $uniq?1:0;
|
13 |
+
$duplicate = $wpdb->get_var("select pid from {$wpdb->prefix}wpdm_filemeta where pid='$pid' and `name`='$name' and uniq=1");
|
14 |
+
if($duplicate&&$uniq) return false;
|
15 |
+
$wpdb->insert("{$wpdb->prefix}wpdm_filemeta",array('pid'=>$pid, 'name'=>$name, 'value'=>$value, 'uniq'=>$uniq));
|
16 |
+
return true;
|
17 |
+
}
|
18 |
+
|
19 |
+
/**
|
20 |
+
* update package meta
|
21 |
+
*
|
22 |
+
* @param mixed $pid
|
23 |
+
* @param mixed $name
|
24 |
+
* @param mixed $value
|
25 |
+
* @param mixed $uniq
|
26 |
+
*/
|
27 |
+
function update_wpdm_meta($pid, $name, $value, $uniq = false){
|
28 |
+
global $wpdb;
|
29 |
+
$wpdb->show_errors();
|
30 |
+
$uniq = $uniq?1:0;
|
31 |
+
delete_wpdm_meta($pid, $name);
|
32 |
+
$value = is_array($value)?serialize($value):$value;
|
33 |
+
add_wpdm_meta($pid, $name, $value, $uniq);
|
34 |
+
}
|
35 |
+
|
36 |
+
|
37 |
+
/**
|
38 |
+
* delete package meta
|
39 |
+
*
|
40 |
+
* @param mixed $pid
|
41 |
+
* @param mixed $name
|
42 |
+
*/
|
43 |
+
function delete_wpdm_meta($pid, $name){
|
44 |
+
global $wpdb;
|
45 |
+
$wpdb->query("delete from {$wpdb->prefix}wpdm_filemeta where pid='$pid' and `name`='$name'");
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* get package meta
|
50 |
+
*
|
51 |
+
* @param mixed $pid
|
52 |
+
* @param mixed $name
|
53 |
+
* @param mixed $single
|
54 |
+
*/
|
55 |
+
function get_wpdm_meta($pid, $name, $single = true){
|
56 |
+
global $wpdb;
|
57 |
+
$data = $wpdb->get_results("select * from {$wpdb->prefix}wpdm_filemeta where pid='$pid' and `name`='$name'");
|
58 |
+
if($single==true)
|
59 |
+
return is_array(@unserialize($data[0]->value))?unserialize($data[0]->value):$data[0]->value;
|
60 |
+
foreach($data as $d){
|
61 |
+
$d->value = is_array(@unserialize($d->value))?unserialize($d->value):$d->value;
|
62 |
+
$metas[$d->name] = $d->value;
|
63 |
+
}
|
64 |
+
return $metas;
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* check if multi-user ebabled
|
69 |
+
*
|
70 |
+
* @param mixed $cond
|
71 |
+
*/
|
72 |
+
|
73 |
+
function wpdm_multi_user($cond=''){
|
74 |
+
global $wpdb, $current_user;
|
75 |
+
get_currentuserinfo();
|
76 |
+
$ismu = get_option('wpdm_multi_user')==1&&!$current_user->caps['administrator']?true:false;
|
77 |
+
return $ismu&&$cond?$cond:$ismu;
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* popup
|
82 |
+
*
|
83 |
+
*/
|
84 |
+
function wpdm_popup(){
|
85 |
+
?>
|
86 |
+
<script language="JavaScript">
|
87 |
+
<!--
|
88 |
+
jQuery(function(){
|
89 |
+
jQuery('.popup-link').click(function(){
|
90 |
+
jQuery.prompt("<iframe noborder=true width=380px height=400px src='"+this.href+"'></iframe>",{ buttons: { Close: false } });
|
91 |
+
return false;
|
92 |
+
});
|
93 |
+
|
94 |
+
});
|
95 |
+
//-->
|
96 |
+
</script>
|
97 |
+
<style>
|
98 |
+
/*-------------impromptu---------- */
|
99 |
+
.jqifade{ position: absolute; background-color: #aaaaaa; }
|
100 |
+
div.jqi{ width: 400px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; position: absolute; background-color: #ffffff; font-size: 11px; text-align: left; border: solid 1px #eeeeee; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 7px; }
|
101 |
+
div.jqi .jqicontainer{ font-weight: bold; }
|
102 |
+
div.jqi .jqiclose{ position: absolute; top: 4px; right: -2px; width: 18px; cursor: default; color: #bbbbbb; font-weight: bold; }
|
103 |
+
div.jqi .jqimessage{ padding: 10px; line-height: 20px; color: #444444; }
|
104 |
+
div.jqi .jqibuttons{ text-align: right; padding: 5px 0 5px 0; border: solid 1px #eeeeee; background-color: #f4f4f4; }
|
105 |
+
div.jqi button{ padding: 3px 10px; margin: 0 10px; background-color: #2F6073; border: solid 1px #f4f4f4; color: #ffffff; font-weight: bold; font-size: 12px; }
|
106 |
+
div.jqi button:hover{ background-color: #728A8C; }
|
107 |
+
div.jqi button.jqidefaultbutton{ background-color: #BF5E26; }
|
108 |
+
.jqiwarning .jqi .jqibuttons{ background-color: #BF5E26; }
|
109 |
+
/*-------------------------------- */
|
110 |
+
</style>
|
111 |
+
|
112 |
+
<?php
|
113 |
+
}
|
114 |
+
|
115 |
+
function __msg($key){
|
116 |
+
include("messages.php");
|
117 |
+
return $msgs[$key]?$msgs[$key]:$key;
|
118 |
+
}
|
119 |
+
|
120 |
+
?>
|
icon/download.png
ADDED
Binary file
|
images/Thumbs.db
ADDED
Binary file
|
images/add-file.png
ADDED
Binary file
|
images/add.png
ADDED
Binary file
|
images/application.png
ADDED
Binary file
|
images/bg_header.jpg
ADDED
Binary file
|
images/browse.png
ADDED
Binary file
|
images/bullet1.gif
ADDED
Binary file
|
images/bullet2.gif
ADDED
Binary file
|
images/category.png
ADDED
Binary file
|
images/code.png
ADDED
Binary file
|
images/css.png
ADDED
Binary file
|
images/db.png
ADDED
Binary file
|
images/directory.png
ADDED
Binary file
|
images/doc.png
ADDED
Binary file
|
images/down.png
ADDED
Binary file
|
images/download-16.png
ADDED
Binary file
|
images/download-manager-16.png
ADDED
Binary file
|
images/download-manager.png
ADDED
Binary file
|
images/error.png
ADDED
Binary file
|
images/file.png
ADDED
Binary file
|
images/film.png
ADDED
Binary file
|
images/flash.png
ADDED
Binary file
|
images/folder_open.png
ADDED
Binary file
|
images/help.png
ADDED
Binary file
|
images/help1.png
ADDED
Binary file
|
images/html.png
ADDED
Binary file
|
images/icons/download.png
ADDED
Binary file
|
images/import-files.png
ADDED
Binary file
|
images/information-balloon.png
ADDED
Binary file
|
images/information.png
ADDED
Binary file
|
images/java.png
ADDED
Binary file
|
images/linux.png
ADDED
Binary file
|
images/loading.gif
ADDED
Binary file
|
images/lock.png
ADDED
Binary file
|
images/music.png
ADDED
Binary file
|
images/pdf.png
ADDED
Binary file
|
images/php.png
ADDED
Binary file
|
images/picture.png
ADDED
Binary file
|
images/play.png
ADDED
Binary file
|
images/ppt.png
ADDED
Binary file
|
images/psd.png
ADDED
Binary file
|
images/remove.png
ADDED
Binary file
|
images/ruby.png
ADDED
Binary file
|
images/script.png
ADDED
Binary file
|
images/settings.png
ADDED
Binary file
|
images/spinner.gif
ADDED
Binary file
|
images/stats.png
ADDED
Binary file
|
images/templates.png
ADDED
Binary file
|
images/txt.png
ADDED
Binary file
|
images/xls.png
ADDED
Binary file
|
images/zip.png
ADDED
Binary file
|
img/donwloadmanager.png
ADDED
Binary file
|
js/jquery.colorbox-min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
// ColorBox v1.3.17.1 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
|
2 |
+
// Copyright (c) 2011 Jack Moore - jack@colorpowered.com
|
3 |
+
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
|
4 |
+
(function(a,b,c){function bc(b){if(!T){O=b,_(a.extend(J,a.data(O,e))),x=a(O),P=0,J.rel!=="nofollow"&&(x=a("."+X).filter(function(){var b=a.data(this,e).rel||this.rel;return b===J.rel}),P=x.index(O),P===-1&&(x=x.add(O),P=x.length-1));if(!R){R=S=!0,q.show();if(J.returnFocus)try{O.blur(),a(O).one(k,function(){try{this.focus()}catch(a){}})}catch(c){}p.css({opacity:+J.opacity,cursor:J.overlayClose?"pointer":"auto"}).show(),J.w=Z(J.initialWidth,"x"),J.h=Z(J.initialHeight,"y"),W.position(0),n&&y.bind("resize."+o+" scroll."+o,function(){p.css({width:y.width(),height:y.height(),top:y.scrollTop(),left:y.scrollLeft()})}).trigger("resize."+o),ba(g,J.onOpen),I.add(C).hide(),H.html(J.close).show()}W.load(!0)}}function bb(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;J.slideshow&&x[1]?(d=function(){E.text(J.slideshowStop).unbind(c).bind(i,function(){if(P<x.length-1||J.loop)a=setTimeout(W.next,J.slideshowSpeed)}).bind(h,function(){clearTimeout(a)}).one(c+" "+j,e),q.removeClass(b+"off").addClass(b+"on"),a=setTimeout(W.next,J.slideshowSpeed)},e=function(){clearTimeout(a),E.text(J.slideshowStart).unbind([i,h,j,c].join(" ")).one(c,d),q.removeClass(b+"on").addClass(b+"off")},J.slideshowAuto?d():e()):q.removeClass(b+"off "+b+"on")}function ba(b,c){c&&c.call(O),a.event.trigger(b)}function _(b){for(var c in b)a.isFunction(b[c])&&c.substring(0,2)!=="on"&&(b[c]=b[c].call(O));b.rel=b.rel||O.rel||"nofollow",b.href=b.href||a(O).attr("href"),b.title=b.title||O.title,typeof b.href=="string"&&(b.href=a.trim(b.href))}function $(a){return J.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(a)}function Z(a,b){b=b==="x"?y.width():y.height();return typeof a=="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function Y(c,d){var e=b.createElement("div");c&&(e.id=f+c),e.style.cssText=d||"";return a(e)}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:!1},e="colorbox",f="cbox",g=f+"_open",h=f+"_load",i=f+"_complete",j=f+"_cleanup",k=f+"_closed",l=f+"_purge",m=a.browser.msie&&!a.support.opacity,n=m&&a.browser.version<7,o=f+"_IE6",p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J={},K,L,M,N,O,P,Q,R,S,T,U,V,W,X=f+"Element";W=a.fn[e]=a[e]=function(b,c){var f=this,g;if(!f[0]&&f.selector)return f;b=b||{},c&&(b.onComplete=c);if(!f[0]||f.selector===undefined)f=a("<a/>"),b.open=!0;f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b)),a(this).addClass(X)}),g=b.open,a.isFunction(g)&&(g=g.call(f)),g&&bc(f[0]);return f},W.init=function(){y=a(c),q=Y().attr({id:e,"class":m?f+(n?"IE6":"IE"):""}),p=Y("Overlay",n?"position:absolute":"").hide(),r=Y("Wrapper"),s=Y("Content").append(z=Y("LoadedContent","width:0; height:0; overflow:hidden"),B=Y("LoadingOverlay").add(Y("LoadingGraphic")),C=Y("Title"),D=Y("Current"),F=Y("Next"),G=Y("Previous"),E=Y("Slideshow").bind(g,bb),H=Y("Close")),r.append(Y().append(Y("TopLeft"),t=Y("TopCenter"),Y("TopRight")),Y(!1,"clear:left").append(u=Y("MiddleLeft"),s,v=Y("MiddleRight")),Y(!1,"clear:left").append(Y("BottomLeft"),w=Y("BottomCenter"),Y("BottomRight"))).children().children().css({"float":"left"}),A=Y(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),a("body").prepend(p,q.append(r,A)),s.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover"),K=t.height()+w.height()+s.outerHeight(!0)-s.height(),L=u.width()+v.width()+s.outerWidth(!0)-s.width(),M=z.outerHeight(!0),N=z.outerWidth(!0),q.css({"padding-bottom":K,"padding-right":L}).hide(),F.click(function(){W.next()}),G.click(function(){W.prev()}),H.click(function(){W.close()}),I=F.add(G).add(D).add(E),s.children().removeClass("hover"),p.click(function(){J.overlayClose&&W.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;R&&J.escKey&&b===27&&(a.preventDefault(),W.close()),R&&J.arrowKey&&x[1]&&(b===37?(a.preventDefault(),G.click()):b===39&&(a.preventDefault(),F.click()))})},W.remove=function(){q.add(p).remove(),a("."+X).removeData(e).removeClass(X)},W.position=function(a,c){function g(a){t[0].style.width=w[0].style.width=s[0].style.width=a.style.width,B[0].style.height=B[1].style.height=s[0].style.height=u[0].style.height=v[0].style.height=a.style.height}var d,e=0,f=0;q.hide(),J.fixed&&!n?q.css({position:"fixed"}):(e=y.scrollTop(),f=y.scrollLeft(),q.css({position:"absolute"})),J.right!==!1?f+=Math.max(y.width()-J.w-N-L-Z(J.right,"x"),0):J.left!==!1?f+=Z(J.left,"x"):f+=Math.max(y.width()-J.w-N-L,0)/2,J.bottom!==!1?e+=Math.max(b.documentElement.clientHeight-J.h-M-K-Z(J.bottom,"y"),0):J.top!==!1?e+=Z(J.top,"y"):e+=Math.max(b.documentElement.clientHeight-J.h-M-K,0)/2,q.show(),d=q.width()===J.w+N&&q.height()===J.h+M?0:a,r[0].style.width=r[0].style.height="9999px",q.dequeue().animate({width:J.w+N,height:J.h+M,top:e,left:f},{duration:d,complete:function(){g(this),S=!1,r[0].style.width=J.w+N+L+"px",r[0].style.height=J.h+M+K+"px",c&&c()},step:function(){g(this)}})},W.resize=function(a){if(R){a=a||{},a.width&&(J.w=Z(a.width,"x")-N-L),a.innerWidth&&(J.w=Z(a.innerWidth,"x")),z.css({width:J.w}),a.height&&(J.h=Z(a.height,"y")-M-K),a.innerHeight&&(J.h=Z(a.innerHeight,"y"));if(!a.innerHeight&&!a.height){var b=z.wrapInner("<div style='overflow:auto'></div>").children();J.h=b.height(),b.replaceWith(b.children())}z.css({height:J.h}),W.position(J.transition==="none"?0:J.speed)}},W.prep=function(b){function h(b){W.position(b,function(){function o(){m&&q[0].style.removeAttribute("filter")}var b,d,g,h,j=x.length,k,n;!R||(n=function(){clearTimeout(V),B.hide(),ba(i,J.onComplete)},m&&Q&&z.fadeIn(100),C.html(J.title).add(z).show(),j>1?(typeof J.current=="string"&&D.html(J.current.replace(/\{current\}/,P+1).replace(/\{total\}/,j)).show(),F[J.loop||P<j-1?"show":"hide"]().html(J.next),G[J.loop||P?"show":"hide"]().html(J.previous),b=P?x[P-1]:x[j-1],g=P<j-1?x[P+1]:x[0],J.slideshow&&E.show(),J.preloading&&(h=a.data(g,e).href||g.href,d=a.data(b,e).href||b.href,h=a.isFunction(h)?h.call(g):h,d=a.isFunction(d)?d.call(b):d,$(h)&&(a("<img/>")[0].src=h),$(d)&&(a("<img/>")[0].src=d))):I.hide(),J.iframe?(k=a("<iframe/>").addClass(f+"Iframe")[0],J.fastIframe?n():a(k).one("load",n),k.name=f+ +(new Date),k.src=J.href,J.scrolling||(k.scrolling="no"),m&&(k.frameBorder=0,k.allowTransparency="true"),a(k).appendTo(z).one(l,function(){k.src="//about:blank"})):n(),J.transition==="fade"?q.fadeTo(c,1,o):o(),y.bind("resize."+f,function(){W.position(0)}))})}function g(){J.h=J.h||z.height(),J.h=J.mh&&J.mh<J.h?J.mh:J.h;return J.h}function d(){J.w=J.w||z.width(),J.w=J.mw&&J.mw<J.w?J.mw:J.w;return J.w}if(!!R){var c=J.transition==="none"?0:J.speed;y.unbind("resize."+f),z.remove(),z=Y("LoadedContent").html(b),z.hide().appendTo(A.show()).css({width:d(),overflow:J.scrolling?"auto":"hidden"}).css({height:g()}).prependTo(s),A.hide(),a(Q).css({"float":"none"}),n&&a("select").not(q.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(j,function(){this.style.visibility="inherit"}),J.transition==="fade"?q.fadeTo(c,0,function(){h(0)}):h(c)}},W.load=function(b){var c,d,g=W.prep;S=!0,Q=!1,O=x[P],b||_(a.extend(J,a.data(O,e))),ba(l),ba(h,J.onLoad),J.h=J.height?Z(J.height,"y")-M-K:J.innerHeight&&Z(J.innerHeight,"y"),J.w=J.width?Z(J.width,"x")-N-L:J.innerWidth&&Z(J.innerWidth,"x"),J.mw=J.w,J.mh=J.h,J.maxWidth&&(J.mw=Z(J.maxWidth,"x")-N-L,J.mw=J.w&&J.w<J.mw?J.w:J.mw),J.maxHeight&&(J.mh=Z(J.maxHeight,"y")-M-K,J.mh=J.h&&J.h<J.mh?J.h:J.mh),c=J.href,V=setTimeout(function(){B.show()},100),J.inline?(Y().hide().insertBefore(a(c)[0]).one(l,function(){a(this).replaceWith(z.children())}),g(a(c))):J.iframe?g(" "):J.html?g(J.html):$(c)?(a(Q=new Image).addClass(f+"Photo").error(function(){J.title=!1,g(Y("Error").text("This image could not be loaded"))}).load(function(){var a;Q.onload=null,J.scalePhotos&&(d=function(){Q.height-=Q.height*a,Q.width-=Q.width*a},J.mw&&Q.width>J.mw&&(a=(Q.width-J.mw)/Q.width,d()),J.mh&&Q.height>J.mh&&(a=(Q.height-J.mh)/Q.height,d())),J.h&&(Q.style.marginTop=Math.max(J.h-Q.height,0)/2+"px"),x[1]&&(P<x.length-1||J.loop)&&(Q.style.cursor="pointer",Q.onclick=function(){W.next()}),m&&(Q.style.msInterpolationMode="bicubic"),setTimeout(function(){g(Q)},1)}),setTimeout(function(){Q.src=c},1)):c&&A.load(c,J.data,function(b,c,d){g(c==="error"?Y("Error").text("Request unsuccessful: "+d.statusText):a(this).contents())})},W.next=function(){!S&&x[1]&&(P<x.length-1||J.loop)&&(P=P<x.length-1?P+1:0,W.load())},W.prev=function(){!S&&x[1]&&(P||J.loop)&&(P=P?P-1:x.length-1,W.load())},W.close=function(){R&&!T&&(T=!0,R=!1,ba(j,J.onCleanup),y.unbind("."+f+" ."+o),p.fadeTo(200,0),q.stop().fadeTo(300,0,function(){q.add(p).css({opacity:1,cursor:"auto"}).hide(),ba(l),z.remove(),setTimeout(function(){T=!1,ba(k,J.onClosed)},1)}))},W.element=function(){return a(O)},W.settings=d,U=function(a){a.button!==0&&typeof a.button!="undefined"||a.ctrlKey||a.shiftKey||a.altKey||(a.preventDefault(),bc(this))},a.fn.delegate?a(b).delegate("."+X,"click",U):a("."+X).live("click",U),a(W.init)})(jQuery,document,this)
|
js/jqueryFileTree.js
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// jQuery File Tree Plugin
|
2 |
+
//
|
3 |
+
// Version 1.01
|
4 |
+
//
|
5 |
+
// Cory S.N. LaViska
|
6 |
+
// A Beautiful Site (http://abeautifulsite.net/)
|
7 |
+
// 24 March 2008
|
8 |
+
//
|
9 |
+
// Visit http://abeautifulsite.net/notebook.php?article=58 for more information
|
10 |
+
//
|
11 |
+
// Usage: $('.fileTreeDemo').fileTree( options, callback )
|
12 |
+
//
|
13 |
+
// Options: root - root folder to display; default = /
|
14 |
+
// script - location of the serverside AJAX file to use; default = jqueryFileTree.php
|
15 |
+
// folderEvent - event to trigger expand/collapse; default = click
|
16 |
+
// expandSpeed - default = 500 (ms); use -1 for no animation
|
17 |
+
// collapseSpeed - default = 500 (ms); use -1 for no animation
|
18 |
+
// expandEasing - easing function to use on expand (optional)
|
19 |
+
// collapseEasing - easing function to use on collapse (optional)
|
20 |
+
// multiFolder - whether or not to limit the browser to one subfolder at a time
|
21 |
+
// loadMessage - Message to display while initial tree loads (can be HTML)
|
22 |
+
//
|
23 |
+
// History:
|
24 |
+
//
|
25 |
+
// 1.01 - updated to work with foreign characters in directory/file names (12 April 2008)
|
26 |
+
// 1.00 - released (24 March 2008)
|
27 |
+
//
|
28 |
+
// TERMS OF USE
|
29 |
+
//
|
30 |
+
// This plugin is dual-licensed under the GNU General Public License and the MIT License and
|
31 |
+
// is copyright 2008 A Beautiful Site, LLC.
|
32 |
+
//
|
33 |
+
if(jQuery) (function($){
|
34 |
+
|
35 |
+
$.extend($.fn, {
|
36 |
+
fileTree: function(o, h) {
|
37 |
+
// Defaults
|
38 |
+
if( !o ) var o = {};
|
39 |
+
if( o.root == undefined ) o.root = '/';
|
40 |
+
if( o.script == undefined ) o.script = 'jqueryFileTree.php';
|
41 |
+
if( o.folderEvent == undefined ) o.folderEvent = 'click';
|
42 |
+
if( o.expandSpeed == undefined ) o.expandSpeed= 500;
|
43 |
+
if( o.collapseSpeed == undefined ) o.collapseSpeed= 500;
|
44 |
+
if( o.expandEasing == undefined ) o.expandEasing = null;
|
45 |
+
if( o.collapseEasing == undefined ) o.collapseEasing = null;
|
46 |
+
if( o.multiFolder == undefined ) o.multiFolder = true;
|
47 |
+
if( o.loadMessage == undefined ) o.loadMessage = 'Loading...';
|
48 |
+
|
49 |
+
$(this).each( function() {
|
50 |
+
|
51 |
+
function showTree(c, t) {
|
52 |
+
$(c).addClass('wait');
|
53 |
+
$(".jqueryFileTree.start").remove();
|
54 |
+
$.post(o.script, { dir: t }, function(data) {
|
55 |
+
$(c).find('.start').html('');
|
56 |
+
$(c).removeClass('wait').append(data);
|
57 |
+
if( o.root == t ) $(c).find('UL:hidden').show(); else $(c).find('UL:hidden').slideDown({ duration: o.expandSpeed, easing: o.expandEasing });
|
58 |
+
bindTree(c);
|
59 |
+
});
|
60 |
+
}
|
61 |
+
|
62 |
+
function bindTree(t) {
|
63 |
+
$(t).find('LI A').bind(o.folderEvent, function() {
|
64 |
+
if( $(this).parent().hasClass('directory') ) {
|
65 |
+
if( $(this).parent().hasClass('collapsed') ) {
|
66 |
+
// Expand
|
67 |
+
if( !o.multiFolder ) {
|
68 |
+
$(this).parent().parent().find('UL').slideUp({ duration: o.collapseSpeed, easing: o.collapseEasing });
|
69 |
+
$(this).parent().parent().find('LI.directory').removeClass('expanded').addClass('collapsed');
|
70 |
+
}
|
71 |
+
$(this).parent().find('UL').remove(); // cleanup
|
72 |
+
showTree( $(this).parent(), escape($(this).attr('rel').match( /.*\// )) );
|
73 |
+
$(this).parent().removeClass('collapsed').addClass('expanded');
|
74 |
+
} else {
|
75 |
+
// Collapse
|
76 |
+
$(this).parent().find('UL').slideUp({ duration: o.collapseSpeed, easing: o.collapseEasing });
|
77 |
+
$(this).parent().removeClass('expanded').addClass('collapsed');
|
78 |
+
}
|
79 |
+
} else {
|
80 |
+
h($(this).attr('rel'));
|
81 |
+
}
|
82 |
+
return false;
|
83 |
+
});
|
84 |
+
// Prevent A from triggering the # on non-click events
|
85 |
+
if( o.folderEvent.toLowerCase != 'click' ) $(t).find('LI A').bind('click', function() { return false; });
|
86 |
+
}
|
87 |
+
// Loading message
|
88 |
+
$(this).html('<ul class="jqueryFileTree start"><li class="wait">' + o.loadMessage + '<li></ul>');
|
89 |
+
// Get the initial file list
|
90 |
+
showTree( $(this), escape(o.root) );
|
91 |
+
});
|
92 |
+
}
|
93 |
+
});
|
94 |
+
|
95 |
+
})(jQuery);
|
l24.png
ADDED
Binary file
|
process.php
ADDED
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $wpdb;
|
3 |
+
if(!file_exists(dirname(__FILE__).'/cache/'))
|
4 |
+
die("<code>".dirname(__FILE__).'/cache/</code> is missing!' );
|
5 |
+
|
6 |
+
if(!is_writable(dirname(__FILE__).'/cache/'))
|
7 |
+
die("<code>".dirname(__FILE__).'/cache/</code> must have to be writable!' );
|
8 |
+
$did = explode('.',base64_decode($_GET['did']));
|
9 |
+
$id = array_shift($did);
|
10 |
+
if(!is_numeric($id)){
|
11 |
+
$data = @unserialize(file_get_contents(dirname(__FILE__).'/cache/'.$_GET['did']));
|
12 |
+
|
13 |
+
}
|
14 |
+
else {
|
15 |
+
|
16 |
+
|
17 |
+
$data = $wpdb->get_row("select * from ahm_files where id='$id'",ARRAY_A);
|
18 |
+
}
|
19 |
+
|
20 |
+
if(is_array($data)){
|
21 |
+
|
22 |
+
@unlink(dirname(__FILE__).'/cache/'.$_GET['did']);
|
23 |
+
|
24 |
+
//d$data = DMDB::getById('ahm_files',$_GET['download']);
|
25 |
+
if(file_exists($data['file']))
|
26 |
+
$fname = $data['file'];
|
27 |
+
else if(file_exists(UPLOAD_DIR . $data['file']))
|
28 |
+
$fname = UPLOAD_DIR . $data['file'];
|
29 |
+
else
|
30 |
+
die('File not found!');
|
31 |
+
|
32 |
+
$wpdb->query("update ahm_files set download_count=download_count+1 where id='$data[id]'");
|
33 |
+
|
34 |
+
$mime_types = array("323" => "text/h323",
|
35 |
+
"acx" => "application/internet-property-stream",
|
36 |
+
"ai" => "application/postscript",
|
37 |
+
"aif" => "audio/x-aiff",
|
38 |
+
"aifc" => "audio/x-aiff",
|
39 |
+
"aiff" => "audio/x-aiff",
|
40 |
+
"asf" => "video/x-ms-asf",
|
41 |
+
"asr" => "video/x-ms-asf",
|
42 |
+
"asx" => "video/x-ms-asf",
|
43 |
+
"au" => "audio/basic",
|
44 |
+
"avi" => "video/x-msvideo",
|
45 |
+
"axs" => "application/olescript",
|
46 |
+
"bas" => "text/plain",
|
47 |
+
"bcpio" => "application/x-bcpio",
|
48 |
+
"bin" => "application/octet-stream",
|
49 |
+
"bmp" => "image/bmp",
|
50 |
+
"c" => "text/plain",
|
51 |
+
"cat" => "application/vnd.ms-pkiseccat",
|
52 |
+
"cdf" => "application/x-cdf",
|
53 |
+
"cer" => "application/x-x509-ca-cert",
|
54 |
+
"class" => "application/octet-stream",
|
55 |
+
"clp" => "application/x-msclip",
|
56 |
+
"cmx" => "image/x-cmx",
|
57 |
+
"cod" => "image/cis-cod",
|
58 |
+
"cpio" => "application/x-cpio",
|
59 |
+
"crd" => "application/x-mscardfile",
|
60 |
+
"crl" => "application/pkix-crl",
|
61 |
+
"crt" => "application/x-x509-ca-cert",
|
62 |
+
"csh" => "application/x-csh",
|
63 |
+
"css" => "text/css",
|
64 |
+
"dcr" => "application/x-director",
|
65 |
+
"der" => "application/x-x509-ca-cert",
|
66 |
+
"dir" => "application/x-director",
|
67 |
+
"dll" => "application/x-msdownload",
|
68 |
+
"dms" => "application/octet-stream",
|
69 |
+
"doc" => "application/msword",
|
70 |
+
"dot" => "application/msword",
|
71 |
+
"dvi" => "application/x-dvi",
|
72 |
+
"dxr" => "application/x-director",
|
73 |
+
"eps" => "application/postscript",
|
74 |
+
"etx" => "text/x-setext",
|
75 |
+
"evy" => "application/envoy",
|
76 |
+
"exe" => "application/octet-stream",
|
77 |
+
"fif" => "application/fractals",
|
78 |
+
"flr" => "x-world/x-vrml",
|
79 |
+
"gif" => "image/gif",
|
80 |
+
"gtar" => "application/x-gtar",
|
81 |
+
"gz" => "application/x-gzip",
|
82 |
+
"h" => "text/plain",
|
83 |
+
"hdf" => "application/x-hdf",
|
84 |
+
"hlp" => "application/winhlp",
|
85 |
+
"hqx" => "application/mac-binhex40",
|
86 |
+
"hta" => "application/hta",
|
87 |
+
"htc" => "text/x-component",
|
88 |
+
"htm" => "text/html",
|
89 |
+
"html" => "text/html",
|
90 |
+
"htt" => "text/webviewhtml",
|
91 |
+
"ico" => "image/x-icon",
|
92 |
+
"ief" => "image/ief",
|
93 |
+
"iii" => "application/x-iphone",
|
94 |
+
"ins" => "application/x-internet-signup",
|
95 |
+
"isp" => "application/x-internet-signup",
|
96 |
+
"jfif" => "image/pipeg",
|
97 |
+
"jpe" => "image/jpeg",
|
98 |
+
"jpeg" => "image/jpeg",
|
99 |
+
"jpg" => "image/jpeg",
|
100 |
+
"js" => "application/x-javascript",
|
101 |
+
"latex" => "application/x-latex",
|
102 |
+
"lha" => "application/octet-stream",
|
103 |
+
"lsf" => "video/x-la-asf",
|
104 |
+
"lsx" => "video/x-la-asf",
|
105 |
+
"lzh" => "application/octet-stream",
|
106 |
+
"m13" => "application/x-msmediaview",
|
107 |
+
"m14" => "application/x-msmediaview",
|
108 |
+
"m3u" => "audio/x-mpegurl",
|
109 |
+
"man" => "application/x-troff-man",
|
110 |
+
"mdb" => "application/x-msaccess",
|
111 |
+
"me" => "application/x-troff-me",
|
112 |
+
"mht" => "message/rfc822",
|
113 |
+
"mhtml" => "message/rfc822",
|
114 |
+
"mid" => "audio/mid",
|
115 |
+
"mny" => "application/x-msmoney",
|
116 |
+
"mov" => "video/quicktime",
|
117 |
+
"movie" => "video/x-sgi-movie",
|
118 |
+
"mp2" => "video/mpeg",
|
119 |
+
"mp3" => "audio/mpeg",
|
120 |
+
"mpa" => "video/mpeg",
|
121 |
+
"mpe" => "video/mpeg",
|
122 |
+
"mpeg" => "video/mpeg",
|
123 |
+
"mpg" => "video/mpeg",
|
124 |
+
"mpp" => "application/vnd.ms-project",
|
125 |
+
"mpv2" => "video/mpeg",
|
126 |
+
"ms" => "application/x-troff-ms",
|
127 |
+
"mvb" => "application/x-msmediaview",
|
128 |
+
"nws" => "message/rfc822",
|
129 |
+
"oda" => "application/oda",
|
130 |
+
"p10" => "application/pkcs10",
|
131 |
+
"p12" => "application/x-pkcs12",
|
132 |
+
"p7b" => "application/x-pkcs7-certificates",
|
133 |
+
"p7c" => "application/x-pkcs7-mime",
|
134 |
+
"p7m" => "application/x-pkcs7-mime",
|
135 |
+
"p7r" => "application/x-pkcs7-certreqresp",
|
136 |
+
"p7s" => "application/x-pkcs7-signature",
|
137 |
+
"pbm" => "image/x-portable-bitmap",
|
138 |
+
"pdf" => "application/pdf",
|
139 |
+
"pfx" => "application/x-pkcs12",
|
140 |
+
"pgm" => "image/x-portable-graymap",
|
141 |
+
"pko" => "application/ynd.ms-pkipko",
|
142 |
+
"pma" => "application/x-perfmon",
|
143 |
+
"pmc" => "application/x-perfmon",
|
144 |
+
"pml" => "application/x-perfmon",
|
145 |
+
"pmr" => "application/x-perfmon",
|
146 |
+
"pmw" => "application/x-perfmon",
|
147 |
+
"pnm" => "image/x-portable-anymap",
|
148 |
+
"pot" => "application/vnd.ms-powerpoint",
|
149 |
+
"ppm" => "image/x-portable-pixmap",
|
150 |
+
"pps" => "application/vnd.ms-powerpoint",
|
151 |
+
"ppt" => "application/vnd.ms-powerpoint",
|
152 |
+
"prf" => "application/pics-rules",
|
153 |
+
"ps" => "application/postscript",
|
154 |
+
"pub" => "application/x-mspublisher",
|
155 |
+
"qt" => "video/quicktime",
|
156 |
+
"ra" => "audio/x-pn-realaudio",
|
157 |
+
"ram" => "audio/x-pn-realaudio",
|
158 |
+
"ras" => "image/x-cmu-raster",
|
159 |
+
"rgb" => "image/x-rgb",
|
160 |
+
"rmi" => "audio/mid",
|
161 |
+
"roff" => "application/x-troff",
|
162 |
+
"rtf" => "application/rtf",
|
163 |
+
"rtx" => "text/richtext",
|
164 |
+
"scd" => "application/x-msschedule",
|
165 |
+
"sct" => "text/scriptlet",
|
166 |
+
"setpay" => "application/set-payment-initiation",
|
167 |
+
"setreg" => "application/set-registration-initiation",
|
168 |
+
"sh" => "application/x-sh",
|
169 |
+
"shar" => "application/x-shar",
|
170 |
+
"sit" => "application/x-stuffit",
|
171 |
+
"snd" => "audio/basic",
|
172 |
+
"spc" => "application/x-pkcs7-certificates",
|
173 |
+
"spl" => "application/futuresplash",
|
174 |
+
"src" => "application/x-wais-source",
|
175 |
+
"sst" => "application/vnd.ms-pkicertstore",
|
176 |
+
"stl" => "application/vnd.ms-pkistl",
|
177 |
+
"stm" => "text/html",
|
178 |
+
"svg" => "image/svg+xml",
|
179 |
+
"sv4cpio" => "application/x-sv4cpio",
|
180 |
+
"sv4crc" => "application/x-sv4crc",
|
181 |
+
"t" => "application/x-troff",
|
182 |
+
"tar" => "application/x-tar",
|
183 |
+
"tcl" => "application/x-tcl",
|
184 |
+
"tex" => "application/x-tex",
|
185 |
+
"texi" => "application/x-texinfo",
|
186 |
+
"texinfo" => "application/x-texinfo",
|
187 |
+
"tgz" => "application/x-compressed",
|
188 |
+
"tif" => "image/tiff",
|
189 |
+
"tiff" => "image/tiff",
|
190 |
+
"tr" => "application/x-troff",
|
191 |
+
"trm" => "application/x-msterminal",
|
192 |
+
"tsv" => "text/tab-separated-values",
|
193 |
+
"txt" => "text/plain",
|
194 |
+
"uls" => "text/iuls",
|
195 |
+
"ustar" => "application/x-ustar",
|
196 |
+
"vcf" => "text/x-vcard",
|
197 |
+
"vrml" => "x-world/x-vrml",
|
198 |
+
"wav" => "audio/x-wav",
|
199 |
+
"wcm" => "application/vnd.ms-works",
|
200 |
+
"wdb" => "application/vnd.ms-works",
|
201 |
+
"wks" => "application/vnd.ms-works",
|
202 |
+
"wmf" => "application/x-msmetafile",
|
203 |
+
"wps" => "application/vnd.ms-works",
|
204 |
+
"wri" => "application/x-mswrite",
|
205 |
+
"wrl" => "x-world/x-vrml",
|
206 |
+
"wrz" => "x-world/x-vrml",
|
207 |
+
"xaf" => "x-world/x-vrml",
|
208 |
+
"xbm" => "image/x-xbitmap",
|
209 |
+
"xla" => "application/vnd.ms-excel",
|
210 |
+
"xlc" => "application/vnd.ms-excel",
|
211 |
+
"xlm" => "application/vnd.ms-excel",
|
212 |
+
"xls" => "application/vnd.ms-excel",
|
213 |
+
"xlt" => "application/vnd.ms-excel",
|
214 |
+
"xlw" => "application/vnd.ms-excel",
|
215 |
+
"xof" => "x-world/x-vrml",
|
216 |
+
"xpm" => "image/x-xpixmap",
|
217 |
+
"xwd" => "image/x-xwindowdump",
|
218 |
+
"z" => "application/x-compress",
|
219 |
+
"zip" => "application/zip");
|
220 |
+
|
221 |
+
$mtype = $mime_types[strtolower(end(explode('.',$fname)))];
|
222 |
+
|
223 |
+
$asfname = basename($fname);
|
224 |
+
|
225 |
+
$fsize = filesize($fname);
|
226 |
+
|
227 |
+
header("Content-Description: File Transfer");
|
228 |
+
header("Content-Type: $mtype");
|
229 |
+
header("Content-Disposition: attachment; filename=\"$asfname\"");
|
230 |
+
header("Content-Transfer-Encoding: binary");
|
231 |
+
header("Content-Length: " . $fsize);
|
232 |
+
|
233 |
+
|
234 |
+
|
235 |
+
$file = @fopen($fname,"rb");
|
236 |
+
|
237 |
+
if ($file) {
|
238 |
+
|
239 |
+
|
240 |
+
while (!feof($file)) {
|
241 |
+
echo fread($file, 8192);
|
242 |
+
}
|
243 |
+
fclose($file);
|
244 |
+
|
245 |
+
if (connection_status()!=0) {
|
246 |
+
|
247 |
+
@fclose($file);
|
248 |
+
|
249 |
+
die();
|
250 |
+
|
251 |
+
}
|
252 |
+
|
253 |
+
|
254 |
+
|
255 |
+
@fclose($file);
|
256 |
+
|
257 |
+
|
258 |
+
}
|
259 |
+
|
260 |
+
} else {
|
261 |
+
die('File not found');
|
262 |
+
}
|
263 |
+
|
264 |
+
die();
|
265 |
+
?>
|
readme.txt
ADDED
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Download Manager ===
|
2 |
+
Contributors: Shaon
|
3 |
+
Donate link:
|
4 |
+
Tags: files, downloads, downloadables, download manager, file manager, download monitor, download counter, password protection, downlad tracker, download protection, ad, admin, administration, ads, adsense, advertising, affiliate, AJAX, amazon, analytics, anti-spam, api, archive, atom, audio, authentication, author, automatic, blog, blogroll, book, bookmark, bookmarking, bookmarks, buddypress, button, calendar, captcha, categories, category, cms, code, comment, comments, community, contact, content, counter, CSS, custom, dashboard, database, date, del.icio.us, Digg, ecommerce, edit, editor, email, embed, event, events, excerpt, Facebook, feed, feeds, filter, flash, flickr, form, Formatting, free, gallery, google, html, image, images, integration, iphone, javascript, jquery, language, lightbox, Like, link, links, list, login, mail, manage, maps, media, menu, meta, mobile, mp3, multisite, music, myspace, navigation, network, News, nofollow, notification, page, pages, password, paypal, performance, permalink, photo, photos, php, picture, pictures, plugin, plugins, Post, posts, profile, quotes, random, Reddit, redirect, register, registration, related, rss, scroll, search, security, seo, Share, sharing, shortcode, sidebar, simple, slideshow, social, social, bookmarking, spam, statistics, stats, Style, tag, tags, template, text, theme, themes, thumbnail, time, TinyMCE, title, tracking, tweet, twitter, update, upload, url, user, users, video, widget, widgets, wordpress, wpmu, xml, yahoo, youtube
|
5 |
+
Requires at least: 2.0.2
|
6 |
+
Tested up to: 3.3
|
7 |
+
License: GPLv2 or later
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
WordPress Download Manager plugin will help you to manage, track and control file downloads from your wordpress site.
|
12 |
+
|
13 |
+
|
14 |
+
== Description ==
|
15 |
+
|
16 |
+
WordPress Download Manager plugin will help you to manage, track and control file downloads from your wordpress site. You can set password and set access level any of your downloadable files from your wordpress site.
|
17 |
+
You can add/embed downloadable files anywhere in the post just pasting the embed code inside your post content using WordPress Download Manager.
|
18 |
+
|
19 |
+
`v2.1.2 comes with new shortcode [wpdm_hotlink id=file_id_required link_label=any_text_optional],
|
20 |
+
use the short-code to place direct download link to files without showing popup
|
21 |
+
also enabled 1 click download for files without password`
|
22 |
+
|
23 |
+
= Features =
|
24 |
+
* Control who can access to download
|
25 |
+
* Password protection
|
26 |
+
* Download Counter
|
27 |
+
* control who can user this plugin (author, editor, administrator)
|
28 |
+
* Custom download link icon
|
29 |
+
* Custom link label
|
30 |
+
* shortcode for download link
|
31 |
+
* jquery popup for download page
|
32 |
+
* Tinymce button for short-code embed
|
33 |
+
* Widget for new downloads
|
34 |
+
* Multi-level Categories
|
35 |
+
* Custom TinyMce Button
|
36 |
+
* Category embed short-code
|
37 |
+
* Advanced server file browser
|
38 |
+
* "Download Monitor" to "Download Manager" files Importer
|
39 |
+
|
40 |
+
= Discussion forum for Download Manager =
|
41 |
+
`http://www.wpdownloadmanager.com/forum/?vasthtmlaction=viewforum&f=2.0`
|
42 |
+
|
43 |
+
= My other plugins =
|
44 |
+
`http://wordpress.org/extend/plugins/profile/codename065`
|
45 |
+
|
46 |
+
|
47 |
+
== Installation ==
|
48 |
+
|
49 |
+
|
50 |
+
1. Upload `download-manager` to the `/wp-content/plugins/` directory
|
51 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
52 |
+
|
53 |
+
|
54 |
+
== Frequently Asked Questions ==
|
55 |
+
|
56 |
+
|
57 |
+
== Screenshots ==
|
58 |
+
1. Create new download package
|
59 |
+
2. Manage download packages
|
60 |
+
3. Categories
|
61 |
+
|
62 |
+
== Changelog ==
|
63 |
+
|
64 |
+
= 2.1.3 =
|
65 |
+
* fixed tinymce button and editor issue
|
66 |
+
|
67 |
+
= 2.1.2 =
|
68 |
+
* fixed download issues with 2.1.1
|
69 |
+
* acitvated direct download without apearing popup for the files without password, so popup will apear only for files with password
|
70 |
+
= 2.1.1 =
|
71 |
+
* added new shortcode [wpdm_hotlink id=file_id_required link_label=any_text_optional], use the short-code to place direct download link to files without showing popup
|
72 |
+
= 2.1.0 =
|
73 |
+
* adjusted category hirarchy issue on parent selection
|
74 |
+
* download monitor importer adjusted
|
75 |
+
|
76 |
+
= 2.0.19 =
|
77 |
+
* members download issue fixed with widget
|
78 |
+
|
79 |
+
= 2.0.18 =
|
80 |
+
* members download issue fixed with category embed code
|
81 |
+
|
82 |
+
= 2.0.17 =
|
83 |
+
* server file browser issue fixed
|
84 |
+
|
85 |
+
= 2.0.16 =
|
86 |
+
* memory limit error fixed
|
87 |
+
* tinymce issue adjusted
|
88 |
+
* download url issue adjusted
|
89 |
+
* `file not found` issue adjusted
|
90 |
+
|
91 |
+
= 2.0.15 =
|
92 |
+
|
93 |
+
* pagination class conflict issue resolved
|
94 |
+
* adjusted a minor database bug
|
95 |
+
|
96 |
+
= 2.0.14 =
|
97 |
+
* Addded option for "Import Download Monitor files". You can use this option if you already using "Download Monitor" from earlier and want use "Download Manager" now. It'll import all files and categories from "Download Monitor" to "Download Manager"
|
98 |
+
|
99 |
+
= 2.0.13 =
|
100 |
+
* access option restored
|
101 |
+
|
102 |
+
= 2.0.12 =
|
103 |
+
* frontend download counter issue adjusted
|
104 |
+
|
105 |
+
= 2.0.11 =
|
106 |
+
* download counter and download label issue fixed
|
107 |
+
|
108 |
+
= 2.0.10 =
|
109 |
+
* fixed bug with server browser
|
110 |
+
* fixed bug with db table creation
|
111 |
+
|
112 |
+
= 2.0.9 =
|
113 |
+
* added categroy feature
|
114 |
+
* new popup style added
|
115 |
+
* advanced server file browser added
|
116 |
+
|
117 |
+
|
118 |
+
= 2.0.7 =
|
119 |
+
* fixed bug with installation
|
120 |
+
* fixed bug with icon
|
121 |
+
|
122 |
+
= 2.0.6 =
|
123 |
+
* new widget added for showing new downloads
|
124 |
+
* adjusted file delete issue
|
125 |
+
|
126 |
+
= 2.0.5 =
|
127 |
+
* new option for tiny-mce button added
|
128 |
+
* "Install" function conflict resolved
|
129 |
+
|
130 |
+
= 2.0.4 =
|
131 |
+
* some plgins conflict adjusted
|
132 |
+
* new option added for setting custom message
|
133 |
+
* new option added for uploading upload link icon
|
134 |
+
|
135 |
+
= 2.0.3 =
|
136 |
+
* Add/Edit Downoad count option added
|
137 |
+
= 2.0.2 =
|
138 |
+
* database class conflick fixed
|
139 |
+
|
140 |
+
= 2.0.1 =
|
141 |
+
* New Option added for download link label
|
142 |
+
|
143 |
+
= 1.5.9 =
|
144 |
+
* Hotlink protection added
|
145 |
+
|
146 |
+
= 1.5.33 =
|
147 |
+
* Add new option for controlling plugin access. Now you can set access level for the plugin
|
148 |
+
|
149 |
+
= 1.5.32 =
|
150 |
+
* Minor bug fixed with creating db table
|
151 |
+
|
152 |
+
= 1.5.3 =
|
153 |
+
* Download counter show/hide feature added for frontend download counter display
|
154 |
+
|
155 |
+
= 1.5.2 =
|
156 |
+
* Added admin option to see download counts
|
157 |
+
* 3 Minor bugs fixed
|
158 |
+
|
159 |
+
|
160 |
+
= 1.5.1 =
|
161 |
+
* Adjsuted minor issues with download counter
|
162 |
+
|
163 |
+
= 1.5 =
|
164 |
+
* New feature: Download counter
|
165 |
+
* 2 minor bug fixed
|
166 |
+
|
167 |
+
= 1.4 =
|
168 |
+
* Fixed conflict with some other plugins
|
169 |
+
|
170 |
+
= 1.3 =
|
171 |
+
* Fixed issue with pagination
|
172 |
+
|
173 |
+
= 1.2.5 =
|
174 |
+
* Added new option for automatic dir creation
|
175 |
+
|
176 |
+
= 1.2.4 =
|
177 |
+
* Fixed bug with upload path
|
178 |
+
* `File exists` check added
|
179 |
+
* Moved upload dir to new location for security reason
|
180 |
+
|
181 |
+
= 1.2.3 =
|
182 |
+
* removed function mime_content_type()
|
183 |
+
* Thanks Adnest (adnest@gmail.com) for your help
|
184 |
+
|
185 |
+
= 1.2.2 =
|
186 |
+
* Fixed bug with edit item
|
187 |
+
|
188 |
+
|
189 |
+
= 1.2.1 =
|
190 |
+
* Fixed bug with download link
|
191 |
+
|
192 |
+
= 1.2 =
|
193 |
+
* Fxied installation bug
|
194 |
+
|
195 |
+
|
196 |
+
|
197 |
+
= 1.1 =
|
198 |
+
* Fixed security bug with direct download protection
|
199 |
+
|
200 |
+
|
201 |
+
== Arbitrary section ==
|
202 |
+
N/A
|
203 |
+
|
204 |
+
== A brief Markdown Example ==
|
205 |
+
|
206 |
+
== Upgrade Notice ==
|
screenshot-1.png
ADDED
Binary file
|
screenshot-2.png
ADDED
Binary file
|
screenshot-3.png
ADDED
Binary file
|
wpdc.ppj
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[PHPEdProject]
|
2 |
+
RelativeRootDir=..\download-controler
|
3 |
+
URL=http://localhost
|
4 |
+
MappingPublishingRoot=
|
5 |
+
DriverID=
|
6 |
+
SourceControl=0
|
7 |
+
DontPublishDirs=CVS;.svn
|
8 |
+
DefaultFile=
|
9 |
+
HideFiles=
|
10 |
+
HideDirs=CVS;.svn
|
11 |
+
EncoderEnabled=0
|
12 |
+
MappingRemote0=E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler
|
13 |
+
MappingLocal0=E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler
|
14 |
+
MappingURL0=http://localhost
|
15 |
+
MappingPublishing0=
|
16 |
+
MappingCount=1
|
17 |
+
MappingMainIdx=0
|
18 |
+
RunMode=2
|
19 |
+
CustomPropCount=0
|
20 |
+
PublishingFilterCount=1
|
21 |
+
PublishingAllowFilterCount=1
|
22 |
+
DefaultEncodingCount=1
|
23 |
+
IncPath_count=0
|
24 |
+
ParserProp_Override=0
|
25 |
+
ParserProp_PHP_SubLang=2
|
26 |
+
ParserPropPHPShortTags=1
|
27 |
+
ParserProp_PHP_AspTags=0
|
28 |
+
ParserProp_JS_ParsePHP=0
|
29 |
+
ParserProp_CSS_ParsePHP=0
|
30 |
+
[Encoder]
|
31 |
+
destinationtype=0
|
32 |
+
compatibilitylevel=1
|
33 |
+
extinfo=0
|
34 |
+
lineinfo=0
|
35 |
+
phpdoc=1
|
36 |
+
copyall=1
|
37 |
+
stoponerr=0
|
38 |
+
suppresssucc=0
|
39 |
+
shorttags=1
|
40 |
+
asptags=0
|
41 |
+
licensing=0
|
42 |
+
excl=0
|
43 |
+
obfusclevel=0
|
44 |
+
headertype=0
|
45 |
+
[PHPEdProject.Filters]
|
46 |
+
\=
|
47 |
+
[PHPEdProject.Filters.Allow]
|
48 |
+
\=
|
49 |
+
[PHPEdProject.Encodings]
|
50 |
+
\=UTF-8
|
51 |
+
[Wizard]
|
52 |
+
srunmode=2
|
53 |
+
slocalwebroot=E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler
|
54 |
+
swebrooturl=http://localhost/
|
55 |
+
sprojectroot=E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler
|
56 |
+
[Debugger]
|
57 |
+
custom=0
|
58 |
+
host=clienthost
|
59 |
+
errlevel=3 - All errors and warnings
|
60 |
+
sesstimeout=15
|
61 |
+
cp=System default encoding
|
62 |
+
stopbeginning=1
|
63 |
+
dbgsessions=1
|
64 |
+
showmaperrors=1
|
65 |
+
readonlyed=0
|
66 |
+
profwithdbg=0
|
67 |
+
Custom.Debug.Settings=0
|
wpdc.ppx
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?xml version="1.0" encoding="utf-8"?><_root _check="0"><ca52F9DEE0 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler" _n="download-controler"><eaF4D759AE _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\download-controller.php" _n="download-controller.php" _sz="20363" _p="1" _crc="893348202" _dt="1053323668"><favar><abA343B7BF _n="d" _y="17" _x="3" _r="9" _vr=".implode()"/><ab77CB9B76 _n="_GET" _y="25" _x="9" _r="4"/><ab2F392DF8 _n="_POST" _y="33" _x="11" _r="1"/><ab788D0DAA _n="_SESSION" _y="33" _x="25" _r="1"/><abAFDCE5D4 _n="wpdb" _y="36" _x="17" _r="31"/><ab6A57CFA6 _n="current_user" _y="333" _x="32" _r="1"/><ab09BFF6FD _n="post" _y="333" _x="39" _r="2"/><abEDCC920F _n="wp_query" _y="333" _x="50" _r="1"/></favar><_rslv><ab2B73B2A1 _n=".str_replace()"/><ab1877273D _n=".dirname()"/><ab5C1FE996 _n=".explode()"/><abEA150E14 _n=".array_pop()"/><abDE856E16 _n=".implode()"/><ab4768846F _n=".define()"/><ab938C36EF _n="$wpdb.prefix"/><ab0F14E148 _n=".dbDelta()"/><ab8154F6D6 _n=".update_option()"/><ab42000EA6 _n=".wpdc_create_dir()"/><abE50C03E1 _n="$wpdb.get_results"/><ab79D15B35 _n="$wpdb.get_results()"/><ab060EE961 _n=".home_url()"/><ab0DF23739 _n=".preg_match_all()"/><ab4FCBF1EA _n=".count()"/><ab4EE10C8F _n="$wpdb.query"/><ab1E5C9923 _n="$wpdb.query()"/><abB2448AFB _n=".get_option()"/><abFCABF3AA _n=".is_user_logged_in()"/><ab91BF80EE _n=".wpdc_embed_category()"/><ab224FF3FC _n=".maybe_unserialize()"/><ab469BAD9C _n=".is_array()"/><ab7CD09A74 _n=".str_repeat()"/><abB508A541 _n=".in_array()"/><ab8F6C4766 _n=".wpdc_cblist_categories()"/><ab42DE73AF _n=".wpdc_dropdown_categories()"/><abAC5BFBC9 _n=".file_exists()"/><ab14385A3E _n=".setHtaccess()"/><ab35DAF71B _n=".call_user_func()"/><ab62A59C36 _n=".mkdir()"/><abD9E16C65 _n=".chmod()"/><ab073FFB00 _n=".wpdc_set_htaccess()"/><ab08979426 _n=".is_uploaded_file()"/><abF4B3CF52 _n=".move_uploaded_file()"/><ab878540D3 _n=".pathinfo()"/><ab3146EAB6 _n=".extract()"/><ab747887EF _n=".uniqid()"/><ab39C49F6B _n=".serialize()"/><ab08EFF854 _n="$wpdb.insert"/><ab1059A9F6 _n="$wpdb.insert()"/><ab4FC6D7D4 _n="$wpdb.insert_id"/><ab82DDA12F _n="$wpdb.print_error"/><ab18700CFF _n="$wpdb.print_error()"/><abC6F8D0FF _n="$wpdb.update"/><ab1AA10B65 _n="$wpdb.update()"/><abF4BBD253 _n="$wpdb.get_row"/><abE82FA3A0 _n="$wpdb.get_row()"/><ab1A56F49A _n=".strtolower()"/><ab786734F4 _n=".preg_replace()"/><ab41A5BD4D _n=".array_key_exists()"/><ab9A074D55 _n=".wpdc_cat_dropdown_tree()"/><ab76D41B93 _n=".get_permalink()"/><ab6D9B281A _n="$post.ID"/><abABDCD7A7 _n=".get_currentuserinfo()"/><ab947AEB55 _n="$wpdb.get_var"/><ab130C0FEC _n="$wpdb.get_var()"/><ab27B6EBD1 _n=".ceil()"/><ab4995040D _n="Pagination.items"/><ab2FCCD926 _n="Pagination.items()"/><ab0AF9E320 _n="Pagination.limit"/><abE63055BA _n="Pagination.limit()"/><ab0BDE5E20 _n="Pagination.currentPage"/><ab13D7806E _n="Pagination.currentPage()"/><ab0FEE6742 _n=".strpos()"/><ab98F88787 _n="Pagination.urlTemplate"/><ab16EBFDE5 _n="Pagination.urlTemplate()"/><ab874A99D3 _n=".plugins_url()"/><ab2BBF6839 _n=".wp_enqueue_script()"/><ab5432E4C9 _n=".wp_admin_css()"/><ab57B367CF _n=".wp_print_scripts()"/><abC4984DBC _n=".add_thickbox()"/><ab2B0C89EE _n=".wp_tiny_mce()"/><abB168BC98 _n=".do_action()"/><abF8826EFD _n=".remove_all_filters()"/><ab68E07B53 _n=".file_put_contents()"/><ab5C7AB9AC _n=".array_unique()"/><ab334F1BB1 _n=".array_merge()"/><ab5EB460BC _n=".mysql_query()"/><ab7FA0640A _n=".mysql_fetch_assoc()"/><ab87AC2012 _n=".add_menu_page()"/><abE9F19198 _n=".add_submenu_page()"/><abA9201B64 _n=".is_admin()"/><ab1B360886 _n=".add_action()"/><abEAF4E364 _n=".wp_enqueue_style()"/><ab875B5694 _n=".add_filter()"/><abFA57AEC2 _n=".register_activation_hook()"/></_rslv><fadef><ga2728084E _n="UPLOAD_DIR" _y="23" _x="8"/><ga5803FEF0 _n="UPLOAD_BASE" _y="24" _x="8"/></fadef><falnk><ia7C2AE9B0 _n="include" _y="26" _x="24" _val="("process.php")"/><ia5893648C _n="include" _y="28" _x="25" _val="("download.php")"/><ia30BAE221 _n="include" _y="29" _x="26" _val="("functions.php")"/><ia19AF0AE7 _n="include" _y="30" _x="33" _val="("class.pagination.php")"/><ia5EE36071 _n="include" _y="31" _x="41" _val="("wpdc-server-file-browser.php")"/><ia39037DDE _n="require_once" _y="54" _x="63" _val="(ABSPATH . "wp-admin/includes/upgrade.php")"/><ia888D471B _n="include" _y="166" _x="36" _val="("wpdc-list-files.php")"/><ia2CF627F2 _n="include" _y="213" _x="34" _val="("wpdc-settings.php")"/><iaA8D78851 _n="include" _y="262" _x="38" _val="("wpdc-add-new-file.php")"/><ia528B6F31 _n="include" _y="319" _x="35" _val="("wpdc-categories.php")"/><ia1E101498 _n="include" _y="548" _x="41" _val="("wpdc-free-mce-button.php")"/><ia255D2743 _n="include" _y="564" _x="29" _val="("wpdc-widgets.php")"/></falnk><fafnc><ma1A77BA18 _n="wpdc_free_Install" _y="35" _x="27" _ex="1" _ey="62" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="36" _x="17" _r="3" _to="13"/><ab61C240D9 _n="sql" _y="39" _x="11" _r="2"/></favar></ma1A77BA18><ma6E9CFB1F _n="wpdc_new_packages" _y="64" _x="27" _ex="1" _ey="75" _al="$show = 5, $show_count = true" _s="1"><favar><abB6339E5F _n="show" _y="64" _x="28" _r="3" _pri="1" _val="5"/><ab4D8F63EE _n="show_count" _y="64" _x="37" _r="3" _pri="2" _val="true"/><abAFDCE5D4 _n="wpdb" _y="65" _x="17" _r="3" _to="13"/><ab053F6F95 _n="data" _y="67" _x="10" _r="2" _vr="$wpdb.get_results()"/><abA343B7BF _n="d" _y="68" _x="24" _r="4"/><ab4B640BDE _n="key" _y="70" _x="13" _r="1"/><abF517E1E9 _n="sc" _y="71" _x="28" _r="2"/><ab928EAC1D _n="url" _y="72" _x="13" _r="2" _vr=".home_url()"/></favar><fapar><naB6339E5F _n="show" _y="64" _x="28" _pri="1" _val="5" _to="2"/><na4D8F63EE _n="show_count" _y="64" _x="37" _pri="2" _val="true" _to="9"/></fapar></ma6E9CFB1F><maBCC79AB9 _n="wpdc_downloadable" _y="79" _x="27" _ex="1" _ey="108" _al="$content" _vr=".str_replace()" _s="1"><favar><ab31D699AB _n="content" _y="79" _x="28" _r="7" _pri="1" _vr=".str_replace()"/><abAFDCE5D4 _n="wpdb" _y="80" _x="17" _r="3" _to="13"/><abA47B1FEB _n="matches" _y="82" _x="66" _r="8"/><abA3C82E6F _n="sap" _y="86" _x="9" _r="2"/><ab77CB9B76 _n="_GET" _y="86" _x="23" _r="1"/><abEE3D190A _n="i" _y="87" _x="11" _r="12"/><abC9360499 _n="id" _y="88" _x="8" _r="3"/><ab053F6F95 _n="data" _y="89" _x="10" _r="5" _vr="$wpdb.query()"/><abF12C460D _n="wpdc_login_msg" _y="90" _x="20" _r="2" _vr=".get_option()"/><abBCBA0FD0 _n="link_label" _y="91" _x="16" _r="2"/><abC3353E85 _n="_SERVER" _y="93" _x="94" _r="2"/><ab437096C6 _n="cmatches" _y="101" _x="72" _r="6" _vr=".wpdc_embed_category()"/></favar><fapar><na31D699AB _n="content" _y="79" _x="28" _pri="1" _to="0"/></fapar></maBCC79AB9><ma99A63510 _n="wpdc_cblist_categories" _y="110" _x="32" _ex="1" _ey="126" _al="$parent, $level = 0, $sel = array" _s="1"><favar><abECE3A3B8 _n="parent" _y="110" _x="33" _r="5" _pri="1"/><abEE106E57 _n="level" _y="110" _x="45" _r="4" _pri="2" _val="0"/><abA9023B06 _n="sel" _y="110" _x="57" _r="4" _pri="3" _val="array"/><abCF465EE7 _n="cats" _y="111" _x="9" _r="3" _vr=".maybe_unserialize()"/><abC9360499 _n="id" _y="114" _x="24" _r="4"/><ab3C0F9408 _n="cat" _y="114" _x="30" _r="2"/><abC8308D78 _n="pres" _y="115" _x="13" _r="1" _vr=".str_repeat()"/><ab5B0856F6 _n="checked" _y="118" _x="16" _r="3"/></favar><fapar><naECE3A3B8 _n="parent" _y="110" _x="33" _pri="1" _to="4"/><naEE106E57 _n="level" _y="110" _x="45" _pri="2" _val="0" _to="2"/><naA9023B06 _n="sel" _y="110" _x="57" _pri="3" _val="array" _to="10"/></fapar></ma99A63510><maD86F55BE _n="wpdc_dropdown_categories" _y="128" _x="34" _ex="1" _ey="138" _al="$parent, $level = 0" _s="1"><favar><abECE3A3B8 _n="parent" _y="128" _x="35" _r="3" _pri="1"/><abEE106E57 _n="level" _y="128" _x="47" _r="4" _pri="2" _val="0"/><abCF465EE7 _n="cats" _y="129" _x="9" _r="2" _vr=".maybe_unserialize()"/><abC9360499 _n="id" _y="131" _x="24" _r="3"/><ab3C0F9408 _n="cat" _y="131" _x="30" _r="2"/><abC8308D78 _n="pres" _y="132" _x="13" _r="2" _vr=".str_repeat()"/><abA9023B06 _n="sel" _y="135" _x="51" _r="1"/></favar><fapar><naECE3A3B8 _n="parent" _y="128" _x="35" _pri="1" _to="4"/><naEE106E57 _n="level" _y="128" _x="47" _pri="2" _val="0" _to="2"/></fapar></maD86F55BE><maB38D692C _n="wpdc_admin_options" _y="140" _x="28" _ex="1" _ey="167" _vr=".call_user_func()" _s="1"><favar><ab77CB9B76 _n="_GET" _y="142" _x="39" _r="4"/></favar></maB38D692C><ma119F0A22 _n="wpdc_delete_file" _y="169" _x="26" _ex="1" _ey="183" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="170" _x="17" _r="3" _to="13"/><ab77CB9B76 _n="_GET" _y="171" _x="22" _r="3"/><abC9360499 _n="id" _y="172" _x="33" _r="2"/><ab902A88B1 _n="qry" _y="173" _x="17" _r="2"/><abD21473E7 _n="cond" _y="175" _x="14" _r="3" _vr=".implode()"/></favar></ma119F0A22><maD6740297 _n="wpdc_create_dir" _y="185" _x="25" _ex="1" _ey="201" _s="1"><favar><ab77CB9B76 _n="_GET" _y="193" _x="12" _r="1"/><ab35C734BA _n="s" _y="194" _x="34" _r="3"/><abC3353E85 _n="_SERVER" _y="197" _x="33" _r="1"/></favar></maD6740297><maC393E74B _n="wpdc_settings" _y="203" _x="23" _ex="1" _ey="214" _s="1"><favar><ab2F392DF8 _n="_POST" _y="204" _x="14" _r="3"/><ab433E752A _n="_FILES" _y="208" _x="32" _r="2"/><ab72BAC876 _n="access" _y="212" _x="12" _r="1" _vr=".get_option()"/></favar></maC393E74B><ma5334F944 _n="wpdc_add_new_file" _y="216" _x="27" _ex="1" _ey="263" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="217" _x="17" _r="5" _to="13"/><ab77CB9B76 _n="_GET" _y="228" _x="13" _r="1"/><ab2F392DF8 _n="_POST" _y="236" _x="14" _r="2"/><ab433E752A _n="_FILES" _y="238" _x="32" _r="5"/><ab9B2AAF9B _n="info" _y="239" _x="14" _r="4" _vr=".pathinfo()"/><abDCFED24D _n="name" _y="242" _x="14" _r="3" _vr=".file_exists()"/><ab6100D8CA _n="file" _y="244" _x="14" _r="5" _vr=".serialize()"/></favar></ma5334F944><ma3E60DC4A _n="wpdc_edit_file" _y="265" _x="24" _ex="1" _ey="290" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="266" _x="18" _r="5" _to="13"/><ab2F392DF8 _n="_POST" _y="267" _x="14" _r="3"/><ab433E752A _n="_FILES" _y="269" _x="32" _r="5"/><ab9B2AAF9B _n="info" _y="270" _x="14" _r="4" _vr=".pathinfo()"/><abDCFED24D _n="name" _y="273" _x="14" _r="3" _vr=".file_exists()"/><ab6100D8CA _n="file" _y="275" _x="14" _r="5" _vr="$wpdb.get_row()"/></favar></ma3E60DC4A><maDD9040E3 _n="wpdc_categories" _y="292" _x="25" _ex="1" _ey="320" _s="1"><favar><ab77CB9B76 _n="_GET" _y="294" _x="12" _r="2"/><abFFC0A43D _n="tpldata" _y="295" _x="17" _r="9" _vr=".maybe_unserialize()"/><abC3353E85 _n="_SERVER" _y="299" _x="33" _r="2"/><ab2F392DF8 _n="_POST" _y="303" _x="15" _r="6"/><ab22D4187B _n="tcid" _y="306" _x="14" _r="3"/><ab8235E287 _n="cid" _y="307" _x="13" _r="4"/><ab1C654BCB _n="postfx" _y="309" _x="40" _r="1"/></favar></maDD9040E3><maDCC6218C _n="wpdc_cat_dropdown_tree" _y="322" _x="32" _ex="1" _ey="330" _al="$parent, $level = 0" _s="1"><favar><abECE3A3B8 _n="parent" _y="322" _x="33" _r="3" _pri="1"/><abEE106E57 _n="level" _y="322" _x="45" _r="4" _pri="2" _val="0"/><abCF465EE7 _n="cats" _y="323" _x="9" _r="2" _vr=".maybe_unserialize()"/><abC9360499 _n="id" _y="324" _x="24" _r="3"/><ab3C0F9408 _n="cat" _y="324" _x="30" _r="2"/><abC8308D78 _n="pres" _y="325" _x="13" _r="2" _vr=".str_repeat()"/></favar><fapar><naECE3A3B8 _n="parent" _y="322" _x="33" _pri="1" _to="4"/><naEE106E57 _n="level" _y="322" _x="45" _pri="2" _val="0" _to="2"/></fapar></maDCC6218C><maB1CCBBA1 _n="wpdc_embed_category" _y="332" _x="29" _ex="1" _ey="396" _al="$id" _s="1"><favar><abC9360499 _n="id" _y="332" _x="30" _r="6" _pri="1"/><abAFDCE5D4 _n="wpdb" _y="333" _x="17" _r="5" _to="13"/><ab6A57CFA6 _n="current_user" _y="333" _x="32" _r="1" _to="13"/><ab09BFF6FD _n="post" _y="333" _x="39" _r="2" _to="13"/><abEDCC920F _n="wp_query" _y="333" _x="50" _r="1" _to="13"/><abB093524F _n="postlink" _y="334" _x="14" _r="2" _vr=".get_permalink()"/><ab48DC2AE2 _n="user" _y="337" _x="10" _r="1" _vr="WP_User"/><abCF8675CE _n="categories" _y="338" _x="16" _r="2" _vr=".maybe_unserialize()"/><abBA28DA1E _n="category" _y="339" _x="14" _r="1"/><ab66FB7D30 _n="total" _y="340" _x="11" _r="3" _vr="$wpdb.get_var()"/><ab794DE613 _n="item_per_page" _y="342" _x="19" _r="5"/><abD2A066EB _n="pages" _y="343" _x="11" _r="1" _vr=".ceil()"/><abA13D5E4B _n="page" _y="344" _x="10" _r="3"/><ab77CB9B76 _n="_GET" _y="344" _x="18" _r="3"/><ab623EDC60 _n="start" _y="345" _x="11" _r="2"/><ab9B3E39EC _n="pag" _y="346" _x="9" _r="5" _vr="Pagination"/><ab928EAC1D _n="url" _y="350" _x="9" _r="2" _vr=".strpos()"/><abC3353E85 _n="_SERVER" _y="350" _x="27" _r="3"/><abD9BCE9DC _n="ndata" _y="353" _x="11" _r="2" _vr="$wpdb.get_results()"/><abA3C82E6F _n="sap" _y="356" _x="5" _r="2"/><ab3ADF6409 _n="html" _y="357" _x="6" _r="3"/><ab053F6F95 _n="data" _y="358" _x="24" _r="16"/><abBCBA0FD0 _n="link_label" _y="360" _x="16" _r="2"/><ab74707DD0 _n="counter" _y="373" _x="25" _r="2"/><ab2C83E2E8 _n="template" _y="379" _x="22" _r="2"/></favar><fapar><naC9360499 _n="id" _y="332" _x="30" _pri="1" _to="0"/></fapar></maB1CCBBA1><ma032C0CB4 _n="wpdc_tinymce" _y="400" _x="22" _ex="1" _ey="420"/><maD1EA4107 _n="wpdc_set_htaccess" _y="422" _x="27" _ex="1" _ey="429" _s="1"><favar><ab8306B1AD _n="cont" _y="423" _x="10" _r="2"/></favar></maD1EA4107><ma1B961243 _n="wpdc_front_js" _y="432" _x="23" _ex="1" _ey="442"/><ma082E996D _n="wpdc_copyold" _y="444" _x="22" _ex="1" _ey="534" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="445" _x="17" _r="4" _to="13"/><abAF4A90D1 _n="ids" _y="446" _x="9" _r="9" _vr=".array_unique()"/><ab2F392DF8 _n="_POST" _y="447" _x="14" _r="6"/><ab31A42FD7 _n="fid" _y="450" _x="35" _r="2"/><ab6100D8CA _n="file" _y="452" _x="18" _r="3" _vr="$wpdb.get_row()"/><ab92DF3D00 _n="res" _y="472" _x="9" _r="2" _vr=".mysql_query()"/><abB519CA09 _n="media" _y="504" _x="23" _r="7" _vr=".in_array()"/></favar></ma082E996D><ma88580077 _n="wpdc_menu" _y="536" _x="19" _ex="1" _ey="544"/></fafnc></eaF4D759AE><ca0B8F7417 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\css" _n="css"><eaCF846626 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\css\colorbox.css" _n="colorbox.css" _sz="2400" _p="1" _crc="3094599639" _dt="1052872339"><facss><fasel><nb67EFD31B _n="#colorbox"><falstruct><gc6CAB71F2 _n="#colorbox" _y="5" _x="1" _ex="9" _ey="5" _spt="2"/></falstruct></nb67EFD31B><nbE58DE529 _n="#cboxOverlay"><falstruct><gc3CB7621A _n="#cboxOverlay" _y="5" _x="12" _ex="23" _ey="5" _spt="2"/></falstruct></nbE58DE529><nb632ABF7F _n="#cboxWrapper"><falstruct><gc4134D7A0 _n="#cboxWrapper" _y="5" _x="26" _ex="37" _ey="5" _spt="2"/></falstruct></nb632ABF7F><nbE148894D _n="#cboxOverlay"><falstruct><gc38720E7E _n="#cboxOverlay" _y="6" _x="1" _ex="12" _ey="6" _spt="2"/></falstruct></nbE148894D><nb6F650AD3 _n="#cboxMiddleLeft"><falstruct><gc9727CD93 _n="#cboxMiddleLeft" _y="7" _x="1" _ex="15" _ey="7" _spt="2"/></falstruct></nb6F650AD3><nbCC48F37D _n="#cboxBottomLeft"><falstruct><gc9619F3DD _n="#cboxBottomLeft" _y="7" _x="18" _ex="32" _ey="7" _spt="2"/></falstruct></nbCC48F37D><nb4E2AC54F _n="#cboxContent"><falstruct><gcF6159F66 _n="#cboxContent" _y="8" _x="1" _ex="12" _ey="8" _spt="2"/></falstruct></nb4E2AC54F><nbC88D9F19 _n="#cboxLoadedContent"><falstruct><gc41881F06 _n="#cboxLoadedContent" _y="9" _x="1" _ex="18" _ey="9" _spt="2"/></falstruct></nbC88D9F19><nb4AEFA92B _n="#cboxTitle"><falstruct><gc269B47AA _n="#cboxTitle" _y="10" _x="1" _ex="10" _ey="10" _spt="2"/></falstruct></nb4AEFA92B><nbC4C22AB5 _n="#cboxLoadingOverlay"><falstruct><gc6C38046B _n="#cboxLoadingOverlay" _y="11" _x="1" _ex="19" _ey="11" _spt="2"/></falstruct></nbC4C22AB5><nb22E7466F _n="#cboxLoadingGraphic"><falstruct><gcB774DCFF _n="#cboxLoadingGraphic" _y="11" _x="22" _ex="40" _ey="11" _spt="2"/></falstruct></nb22E7466F><nbA085705D _n="#cboxPrevious"><falstruct><gc50D1CC2E _n="#cboxPrevious" _y="12" _x="1" _ex="13" _ey="12" _spt="2"/></falstruct></nbA085705D><nb26222A0B _n="#cboxNext"><falstruct><gcE2B49713 _n="#cboxNext" _y="12" _x="16" _ex="24" _ey="12" _spt="2"/></falstruct></nb26222A0B><nbA4401C39 _n="#cboxClose"><falstruct><gcEC8CFB59 _n="#cboxClose" _y="12" _x="27" _ex="36" _ey="12" _spt="2"/></falstruct></nbA4401C39><nb2A6D9FA7 _n="#cboxSlideshow"><falstruct><gc43D059C5 _n="#cboxSlideshow" _y="12" _x="39" _ex="52" _ey="12" _spt="2"/></falstruct></nb2A6D9FA7><nb4780FAD7 _n=".cboxPhoto"><falstruct><dc7E83B83F _n=".cboxPhoto" _y="13" _x="1" _ex="10" _ey="13" _spt="3"/></falstruct></nb4780FAD7><nbC5E2CCE5 _n=".cboxIframe"><falstruct><dc083B6AA0 _n=".cboxIframe" _y="14" _x="1" _ex="11" _ey="14" _spt="3"/></falstruct></nbC5E2CCE5><nb434596B3 _n="#cboxOverlay"><falstruct><gc0487C784 _n="#cboxOverlay" _y="21" _x="1" _ex="12" _ey="21" _spt="2"/></falstruct></nb434596B3><nbC127A081 _n="#colorbox"><falstruct><gc05C442B2 _n="#colorbox" _y="22" _x="1" _ex="9" _ey="22" _spt="2"/></falstruct></nbC127A081><nb4F0A231F _n="#cboxContent"><falstruct><gcF7357936 _n="#cboxContent" _y="23" _x="5" _ex="16" _ey="23" _spt="2"/></falstruct></nb4F0A231F><nbFEB82D4A _n="#cboxError"><falstruct><gcFD1DB6D0 _n="#cboxError" _y="24" _x="9" _ex="18" _ey="24" _spt="2"/></falstruct></nbFEB82D4A><nb7CDA1B78 _n="#cboxLoadedContent"><falstruct><gcF5DF9B67 _n="#cboxLoadedContent" _y="25" _x="9" _ex="26" _ey="25" _spt="2"/></falstruct></nb7CDA1B78><nbFA7D412E _n="#cboxLoadingGraphic"><falstruct><gc6FEEDBBE _n="#cboxLoadingGraphic" _y="26" _x="9" _ex="27" _ey="26" _spt="2"/></falstruct></nbFA7D412E><nb781F771C _n="#cboxLoadingOverlay"><falstruct><gcD0E559C2 _n="#cboxLoadingOverlay" _y="27" _x="9" _ex="27" _ey="27" _spt="2"/></falstruct></nb781F771C><nbF632F482 _n="#cboxTitle"><falstruct><gc9A461A03 _n="#cboxTitle" _y="28" _x="9" _ex="18" _ey="28" _spt="2"/></falstruct></nbF632F482><nb9BDF91F2 _n="#cboxCurrent"><falstruct><gc306C256A _n="#cboxCurrent" _y="29" _x="9" _ex="20" _ey="29" _spt="2"/></falstruct></nb9BDF91F2><nb19BDA7C0 _n="#cboxSlideshow"><falstruct><gc700061A2 _n="#cboxSlideshow" _y="30" _x="9" _ex="22" _ey="30" _spt="2"/></falstruct></nb19BDA7C0><nb9F1AFD96 _n="#cboxPrevious"><falstruct><gc6F4E41E5 _n="#cboxPrevious" _y="30" _x="25" _ex="37" _ey="30" _spt="2"/></falstruct></nb9F1AFD96><nb1D78CBA4 _n="#cboxNext"><falstruct><gcD9EE76BC _n="#cboxNext" _y="30" _x="40" _ex="48" _ey="30" _spt="2"/></falstruct></nb1D78CBA4><nb9355483A _n="#cboxClose"><falstruct><gcDB99AF5A _n="#cboxClose" _y="30" _x="51" _ex="60" _ey="30" _spt="2"/></falstruct></nb9355483A><nb757024E0 _n="#cboxPrevious"><falstruct><gc85249893 _n="#cboxPrevious" _y="31" _x="9" _ex="21" _ey="31" _spt="2"/></falstruct></nb757024E0><nbF71212D2 _n="#cboxPrevious.hover"><falstruct><gc0746AEA1 _n="#cboxPrevious" _y="32" _x="9" _ex="21" _ey="32" _spt="2"/><dc5AF8678A _n=".hover" _y="32" _x="22" _ex="27" _ey="32" _spt="3"/></falstruct></nbF71212D2><nb3084539D _n="#cboxNext"><falstruct><gc7670D8B7 _n="#cboxNext" _y="33" _x="9" _ex="17" _ey="33" _spt="2"/></falstruct></nb3084539D><nbB2E665AF _n="#cboxNext.hover"><falstruct><gcF85D5B29 _n="#cboxNext" _y="34" _x="9" _ex="17" _ey="34" _spt="2"/><dc1786C93F _n=".hover" _y="34" _x="18" _ex="23" _ey="34" _spt="3"/></falstruct></nbB2E665AF><nb10179858 _n="#cboxClose"><falstruct><gc58DB7F38 _n="#cboxClose" _y="35" _x="9" _ex="18" _ey="35" _spt="2"/></falstruct></nb10179858><nb9275AE6A _n="#cboxClose.hover"><falstruct><gcDAB9490A _n="#cboxClose" _y="36" _x="9" _ex="18" _ey="36" _spt="2"/><dc3F9FDB32 _n=".hover" _y="36" _x="19" _ex="24" _ey="36" _spt="3"/></falstruct></nb9275AE6A><nb55E3EF25 _n=".cboxSlideshow_on #cboxPrevious"><falstruct><dcE1A34F21 _n=".cboxSlideshow_on" _y="37" _x="9" _ex="25" _ey="37" _spt="3"/><hc463B6AB4 _n=" " _spt="5"/><gcA9F8E6FA _n="#cboxPrevious" _y="37" _x="27" _ex="39" _ey="37" _spt="2"/></falstruct></nb55E3EF25><nb59AC5A89 _n=".cboxSlideshow_off #cboxPrevious"><falstruct><dc97901423 _n=".cboxSlideshow_off" _y="37" _x="42" _ex="59" _ey="37" _spt="3"/><hc968C53BA _n=" " _spt="5"/><gc75006A58 _n="#cboxPrevious" _y="37" _x="61" _ex="73" _ey="37" _spt="2"/></falstruct></nb59AC5A89><nb8554D62B _n=".cboxSlideshow_on #cboxSlideshow"><falstruct><dc35D11A4B _n=".cboxSlideshow_on" _y="38" _x="9" _ex="25" _ey="38" _spt="3"/><hc92493FDE _n=" " _spt="5"/><gcE82C7C2D _n="#cboxSlideshow" _y="38" _x="27" _ex="40" _ey="38" _spt="2"/></falstruct></nb8554D62B><nb8191BA4F _n=".cboxSlideshow_on #cboxSlideshow.hover"><falstruct><dc399EAFE7 _n=".cboxSlideshow_on" _y="39" _x="9" _ex="25" _ey="39" _spt="3"/><hc9E068A72 _n=" " _spt="5"/><gc0BEC9AC3 _n="#cboxSlideshow" _y="39" _x="27" _ex="40" _ey="39" _spt="2"/><dc491C73AF _n=".hover" _y="39" _x="41" _ex="46" _ey="39" _spt="3"/></falstruct></nb8191BA4F><nbA102718A _n=".cboxSlideshow_off #cboxSlideshow"><falstruct><dc31A485B0 _n=".cboxSlideshow_off" _y="40" _x="9" _ex="26" _ey="40" _spt="3"/><hcB61F987F _n=" " _spt="5"/><gc4E18EDBE _n="#cboxSlideshow" _y="40" _x="28" _ex="41" _ey="40" _spt="2"/></falstruct></nbA102718A><nbA5C71DEE _n=".cboxSlideshow_off #cboxSlideshow.hover"><falstruct><dc3561E9D4 _n=".cboxSlideshow_off" _y="41" _x="9" _ex="26" _ey="41" _spt="3"/><hcBA502DD3 _n=" " _spt="5"/><gc42575812 _n="#cboxSlideshow" _y="41" _x="28" _ex="41" _ey="41" _spt="2"/><dc8BD413BE _n=".hover" _y="41" _x="42" _ex="47" _ey="41" _spt="3"/></falstruct></nbA5C71DEE></fasel></facss></eaCF846626><ea152E0A52 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\css\front.css" _n="front.css" _sz="3770" _p="1" _crc="2552289014" _dt="1052872339"><facss><fasel><nb67EFD31B _n=".download_link"><falstruct><dc81C33596 _n=".download_link" _y="1" _x="1" _ex="14" _ey="1" _spt="3"/></falstruct></nb67EFD31B><nbE58DE529 _n=".download_link a"><falstruct><dc03A103A4 _n=".download_link" _y="24" _x="1" _ex="14" _ey="24" _spt="3"/><hc2A7CA3C5 _n=" " _spt="5"/><fc337210FF _n="a" _y="24" _x="16" _ex="16" _ey="24" _spt="1"/></falstruct></nbE58DE529><nbE148894D _n=".download_link input"><falstruct><dc07646FC0 _n=".download_link" _y="28" _x="1" _ex="14" _ey="28" _spt="3"/><hc26331669 _n=" " _spt="5"/><fc59EC99E3 _n="input" _y="28" _x="16" _ex="20" _ey="28" _spt="1"/></falstruct></nbE148894D><nbCC48F37D _n=".wpdm_submit"><falstruct><dc2FD66793 _n=".wpdm_submit" _y="36" _x="1" _ex="12" _ey="36" _spt="3"/></falstruct></nbCC48F37D><nb4E2AC54F _n=".wpdm_submit_wait"><falstruct><dcA90C9398 _n=".wpdm_submit_wait" _y="41" _x="1" _ex="17" _ey="41" _spt="3"/></falstruct></nb4E2AC54F><nbC88D9F19 _n="#wpdm_submit_error"><falstruct><gc2F61F4F0 _n="#wpdm_submit_error" _y="46" _x="1" _ex="18" _ey="46" _spt="2"/></falstruct></nbC88D9F19><nb4AEFA92B _n=".wpdm_package"><falstruct><dcEFABF531 _n=".wpdm_package" _y="55" _x="1" _ex="13" _ey="55" _spt="3"/></falstruct></nb4AEFA92B><nbC4C22AB5 _n=".download_link input"><falstruct><dc8F21712E _n=".download_link" _y="62" _x="1" _ex="14" _ey="62" _spt="3"/><hcB35DF5CC _n=" " _spt="5"/><fc642B99D3 _n="input" _y="62" _x="16" _ex="20" _ey="62" _spt="1"/></falstruct></nbC4C22AB5><nbA085705D _n=".myorder th"><falstruct><dcD312CF5F _n=".myorder" _y="66" _x="1" _ex="8" _ey="66" _spt="3"/><hcB79899A8 _n=" " _spt="5"/><fc57C073AE _n="th" _y="66" _x="10" _ex="11" _ey="66" _spt="1"/></falstruct></nbA085705D><nbA4401C39 _n=".myorder tr.items td"><falstruct><dcD7D7A33B _n=".myorder" _y="67" _x="1" _ex="8" _ey="67" _spt="3"/><hcBBD72C04 _n=" " _spt="5"/><fcA6AE8BA0 _n="tr" _y="67" _x="10" _ex="11" _ey="67" _spt="1"/><dc139770ED _n=".items" _y="67" _x="12" _ex="17" _ey="67" _spt="3"/><hc970B526D _n=" " _spt="5"/><fc8EF14C2E _n="td" _y="67" _x="19" _ex="20" _ey="67" _spt="1"/></falstruct></nbA4401C39><nb84D3D7FC _n=".myorder tr.item td"><falstruct><dc71E332A8 _n=".myorder" _y="68" _x="1" _ex="8" _ey="68" _spt="3"/><hc93CE3E09 _n=" " _spt="5"/><fc0CD5AF9F _n="tr" _y="68" _x="10" _ex="11" _ey="68" _spt="1"/><dc3B9D1A3C _n=".item" _y="68" _x="12" _ex="16" _ey="68" _spt="3"/><hcDEB090BC _n=" " _spt="5"/><fc4528B8CD _n="td" _y="68" _x="18" _ex="19" _ey="68" _spt="1"/></falstruct></nb84D3D7FC><nbFEB82D4A _n=".wpdm_category .thumb"><falstruct><dc492CBFBA _n=".wpdm_category" _y="70" _x="1" _ex="14" _ey="70" _spt="3"/><hcED60A8DB _n=" " _spt="5"/><dcF540F46C _n=".thumb" _y="70" _x="16" _ex="21" _ey="70" _spt="3"/></falstruct></nbFEB82D4A><nbFA7D412E _n=".wpdm_category .thumb"><falstruct><dc4DE9D3DE _n=".wpdm_category" _y="77" _x="1" _ex="14" _ey="77" _spt="3"/><hcE9A5C4BF _n=" " _spt="5"/><dcF1859808 _n=".thumb" _y="77" _x="16" _ex="21" _ey="77" _spt="3"/></falstruct></nbFA7D412E><nbF632F482 _n=".wpdm_category .desc"><falstruct><dc41A66672 _n=".wpdm_category" _y="81" _x="1" _ex="14" _ey="81" _spt="3"/><hc0A652251 _n=" " _spt="5"/><dc85D73699 _n=".desc" _y="81" _x="16" _ex="20" _ey="81" _spt="3"/></falstruct></nbF632F482><nb19BDA7C0 _n=".middle"><falstruct><dc7F90B4D1 _n=".middle" _y="86" _x="1" _ex="7" _ey="86" _spt="3"/></falstruct></nb19BDA7C0><nb9F1AFD96 _n=".middle .det"><falstruct><dcF937EE87 _n=".middle" _y="92" _x="1" _ex="7" _ey="92" _spt="3"/><hc8CC27807 _n=" " _spt="5"/><dcD3DC6CF2 _n=".det" _y="92" _x="9" _ex="12" _ey="92" _spt="3"/></falstruct></nb9F1AFD96><nb9355483A _n="#mytable caption"><falstruct><gc8FA528D0 _n="#mytable" _y="101" _x="1" _ex="8" _ey="101" _spt="2"/><hcE4CA9743 _n=" " _spt="5"/><fc106379CA _n="caption" _y="101" _x="10" _ex="16" _ey="101" _spt="1"/></falstruct></nb9355483A><nbF71212D2 _n="#mytable th"><falstruct><gcEBE27238 _n="#mytable" _y="108" _x="1" _ex="8" _ey="108" _spt="2"/><hcE00FFB27 _n=" " _spt="5"/><fc00571121 _n="th" _y="108" _x="10" _ex="11" _ey="108" _spt="1"/></falstruct></nbF71212D2><nbF3D77EB6 _n="#mytable th.nobg"><falstruct><gcEF271E5C _n="#mytable" _y="121" _x="1" _ex="8" _ey="121" _spt="2"/><hcEC404E8B _n=" " _spt="5"/><fc0C18A48D _n="th" _y="121" _x="10" _ex="11" _ey="121" _spt="1"/><dc4425B1FC _n=".nobg" _y="121" _x="12" _ex="16" _ey="121" _spt="3"/></falstruct></nbF3D77EB6><nb51268341 _n="#mytable td"><falstruct><gcCFB4D599 _n="#mytable" _y="128" _x="1" _ex="8" _ey="128" _spt="2"/><hc42FE06D0 _n=" " _spt="5"/><fc5FC174F7 _n="td" _y="128" _x="10" _ex="11" _ey="128" _spt="1"/></falstruct></nb51268341><nb55E3EF25 _n="#mytable tr.order td"><falstruct><gcCB71B9FD _n="#mytable" _y="138" _x="1" _ex="8" _ey="138" _spt="2"/><hc463B6AB4 _n=" " _spt="5"/><fcD56F4E8E _n="tr" _y="138" _x="10" _ex="11" _ey="138" _spt="1"/><dc75F65453 _n=".order" _y="138" _x="12" _ex="17" _ey="138" _spt="3"/><hcD7BD48A3 _n=" " _spt="5"/><fc4C2560D2 _n="td" _y="138" _x="19" _ex="20" _ey="138" _spt="1"/></falstruct></nb55E3EF25><nbC465CD32 _n="#mytable th.spec"><falstruct><gcD895ADD8 _n="#mytable" _y="143" _x="1" _ex="8" _ey="143" _spt="2"/><hcD37824C7 _n=" " _spt="5"/><fc3320CEC1 _n="th" _y="143" _x="10" _ex="11" _ey="143" _spt="1"/><dcECEFCE27 _n=".spec" _y="143" _x="12" _ex="16" _ey="143" _spt="3"/></falstruct></nbC465CD32><nb8191BA4F _n="#mytable th.specalt"><falstruct><gc134C593B _n="#mytable" _y="150" _x="1" _ex="8" _ey="150" _spt="2"/><hc9E068A72 _n=" " _spt="5"/><fc13B30504 _n="th" _y="150" _x="10" _ex="11" _ey="150" _spt="1"/><dc65FFB83A _n=".specalt" _y="150" _x="12" _ex="19" _ey="150" _spt="3"/></falstruct></nb8191BA4F><nbA102718A _n=".wpdm-filelist"><falstruct><dc18BCC21A _n=".wpdm-filelist" _y="158" _x="1" _ex="14" _ey="158" _spt="3"/></falstruct></nbA102718A><nb27A52BDC _n=".ind-download"><falstruct><dc5FE26AAA _n=".ind-download" _y="162" _x="1" _ex="13" _ey="162" _spt="3"/></falstruct></nb27A52BDC></fasel></facss><_prl><gdAED29F8E _y="10" _x="16" _prt="3,2,1,102,0" _pmg="MSIE-specific CSS syntax"/><gd5BB15909 _y="92" _x="28" _prt="3,4,1,0,0" _pmg="unexpected {"/></_prl></ea152E0A52><ea0B3EE60E _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\css\icons.css" _n="icons.css" _sz="1048" _p="1" _crc="2678558676" _dt="1052872339"><facss><fasel><nb67EFD31B _n=".wrap *"><falstruct><dcAB4200E1 _n=".wrap" _y="1" _x="1" _ex="5" _ey="1" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fc890A5FE5 _n="*" _y="1" _x="7" _ex="7" _ey="1" _spt="1"/></falstruct></nb67EFD31B><nb632ABF7F _n="#icon-file-manager"><falstruct><gcE1302948 _n="#icon-file-manager" _y="5" _x="1" _ex="18" _ey="5" _spt="2"/></falstruct></nb632ABF7F><nbE148894D _n="#icon-add-new-file"><falstruct><gc15A9906E _n="#icon-add-new-file" _y="9" _x="1" _ex="18" _ey="9" _spt="2"/></falstruct></nbE148894D><nb6F650AD3 _n="#icon-error"><falstruct><gc7BB3207E _n="#icon-error" _y="12" _x="1" _ex="11" _ey="12" _spt="2"/></falstruct></nb6F650AD3><nbCC48F37D _n="#icon-import-file"><falstruct><gc5C61F820 _n="#icon-import-file" _y="15" _x="1" _ex="17" _ey="15" _spt="2"/></falstruct></nbCC48F37D><nb4E2AC54F _n="#icon-categories"><falstruct><gcD2B3EC5D _n="#icon-categories" _y="18" _x="1" _ex="16" _ey="18" _spt="2"/></falstruct></nb4E2AC54F><nbC88D9F19 _n="#icon-template"><falstruct><gcED304166 _n="#icon-template" _y="21" _x="1" _ex="14" _ey="21" _spt="2"/></falstruct></nbC88D9F19><nb4AEFA92B _n="#icon-settings"><falstruct><gc74B0D0D9 _n="#icon-settings" _y="24" _x="1" _ex="14" _ey="24" _spt="2"/></falstruct></nb4AEFA92B><nbC4C22AB5 _n="#icon-stats"><falstruct><gc778FCA02 _n="#icon-stats" _y="27" _x="1" _ex="11" _ey="27" _spt="2"/></falstruct></nbC4C22AB5><nb22E7466F _n=".infoicon"><falstruct><dc9FBA5DA5 _n=".infoicon" _y="31" _x="1" _ex="9" _ey="31" _spt="3"/></falstruct></nb22E7466F></fasel></facss></ea0B3EE60E><eaFA7F6E8A _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\css\jqueryFileTree.css" _n="jqueryFileTree.css" _sz="5973" _p="1" _crc="2435237824" _dt="1052872339"><facss><fasel><nb67EFD31B _n="UL.jqueryFileTree"><falstruct><fc2F27E105 _n="UL" _y="1" _x="1" _ex="2" _ey="1" _spt="1"/><dc513A44C1 _n=".jqueryFileTree" _y="1" _x="3" _ex="17" _ey="1" _spt="3"/></falstruct></nb67EFD31B><nbA4BCFE30 _n="UL.jqueryFileTree LI"><falstruct><fc6AD39678 _n="UL" _y="9" _x="1" _ex="2" _ey="9" _spt="1"/><dc96AC058E _n=".jqueryFileTree" _y="9" _x="3" _ex="17" _ey="9" _spt="3"/><hcA81E95F7 _n=" " _spt="5"/><fcC823BC40 _n="LI" _y="9" _x="19" _ex="20" _ey="9" _spt="1"/></falstruct></nbA4BCFE30><nb6F650AD3 _n="UL.jqueryFileTree A"><falstruct><fc27AD38CD _n="UL" _y="17" _x="1" _ex="2" _ey="17" _spt="1"/><dcFEED5FA8 _n=".jqueryFileTree" _y="17" _x="3" _ex="17" _ey="17" _spt="3"/><hc1CC35BC7 _n=" " _spt="5"/><fc204CDE2F _n="A" _y="17" _x="19" _ex="19" _ey="17" _spt="1"/></falstruct></nb6F650AD3><nb0F1BDE56 _n="UL.jqueryFileTree A:hover"><falstruct><fc107B3C0C _n="UL" _y="24" _x="1" _ex="2" _ey="24" _spt="1"/><dcBB1928D5 _n=".jqueryFileTree" _y="24" _x="3" _ex="17" _ey="24" _spt="3"/><hcDB551A88 _n=" " _spt="5"/><fc65B8A952 _n="A" _y="24" _x="19" _ex="19" _ey="24" _spt="1"/><ecF6FD1389 _n=":hover" _spt="4"/></falstruct></nb0F1BDE56><nb85F331AC _n=".jqueryFileTree LI.directory"><falstruct><dc1042EABA _n=".jqueryFileTree" _y="29" _x="1" _ex="15" _ey="29" _spt="3"/><hcF26CEED5 _n=" " _spt="5"/><fcCBC8EA7B _n="LI" _y="29" _x="17" _ex="18" _ey="29" _spt="1"/><dc86E5B91D _n=".directory" _y="29" _x="19" _ex="28" _ey="29" _spt="3"/></falstruct></nb85F331AC><nb26222A0B _n=".jqueryFileTree LI.expanded"><falstruct><dc55B69DC7 _n=".jqueryFileTree" _y="30" _x="1" _ex="15" _ey="30" _spt="3"/><hc35FAAF9A _n=" " _spt="5"/><fc8E3C9D06 _n="LI" _y="30" _x="17" _ex="18" _ey="30" _spt="1"/><dc0213445F _n=".expanded" _y="30" _x="19" _ex="27" _ey="30" _spt="3"/></falstruct></nb26222A0B><nb6B5C84BE _n=".jqueryFileTree LI.file"><falstruct><dc75255602 _n=".jqueryFileTree" _y="31" _x="1" _ex="15" _ey="31" _spt="3"/><hc970B526D _n=" " _spt="5"/><fcAEAF56C3 _n="LI" _y="31" _x="17" _ex="18" _ey="31" _spt="1"/><dc5054AE0B _n=".file" _y="31" _x="19" _ex="23" _ey="31" _spt="3"/></falstruct></nb6B5C84BE><nb434596B3 _n=".jqueryFileTree LI.wait"><falstruct><dc30D1217F _n=".jqueryFileTree" _y="32" _x="1" _ex="15" _ey="32" _spt="3"/><hc509D1322 _n=" " _spt="5"/><fcEB5B21BE _n="LI" _y="32" _x="17" _ex="18" _ey="32" _spt="1"/><dcA6B35AEC _n=".wait" _y="32" _x="19" _ex="23" _ey="32" _spt="3"/></falstruct></nb434596B3><nb0E3B3806 _n=".jqueryFileTree LI.ext_3gp"><falstruct><dcCC1D819F _n=".jqueryFileTree" _y="34" _x="1" _ex="15" _ey="34" _spt="3"/><hc2E3385F0 _n=" " _spt="5"/><fc1797815E _n="LI" _y="34" _x="17" _ex="18" _ey="34" _spt="1"/><dc4294AC38 _n=".ext_3gp" _y="34" _x="19" _ex="26" _ey="34" _spt="3"/></falstruct></nb0E3B3806><nbFA7D412E _n=".jqueryFileTree LI.ext_afp"><falstruct><dc89E9F6E2 _n=".jqueryFileTree" _y="35" _x="1" _ex="15" _ey="35" _spt="3"/><hcE9A5C4BF _n=" " _spt="5"/><fc5263F623 _n="LI" _y="35" _x="17" _ex="18" _ey="35" _spt="1"/><dc621B13AA _n=".ext_afp" _y="35" _x="19" _ex="26" _ey="35" _spt="3"/></falstruct></nbFA7D412E><nbB703EF9B _n=".jqueryFileTree LI.ext_afpa"><falstruct><dcA97A3D27 _n=".jqueryFileTree" _y="36" _x="1" _ex="15" _ey="36" _spt="3"/><hc4B543948 _n=" " _spt="5"/><fc72F03DE6 _n="LI" _y="36" _x="17" _ex="18" _ey="36" _spt="1"/><dc734EEC87 _n=".ext_afpa" _y="36" _x="19" _ex="27" _ey="36" _spt="3"/></falstruct></nbB703EF9B><nb9F1AFD96 _n=".jqueryFileTree LI.ext_asp"><falstruct><dcEC8E4A5A _n=".jqueryFileTree" _y="37" _x="1" _ex="15" _ey="37" _spt="3"/><hc8CC27807 _n=" " _spt="5"/><fc37044A9B _n="LI" _y="37" _x="17" _ex="18" _ey="37" _spt="1"/><dc4843F426 _n=".ext_asp" _y="37" _x="19" _ex="26" _ey="37" _spt="3"/></falstruct></nb9F1AFD96><nbD2645323 _n=".jqueryFileTree LI.ext_aspx"><falstruct><dc47D58835 _n=".jqueryFileTree" _y="38" _x="1" _ex="15" _ey="38" _spt="3"/><hcA5FB8C5A _n=" " _spt="5"/><fc9C5F88F4 _n="LI" _y="38" _x="17" _ex="18" _ey="38" _spt="1"/><dc62F80770 _n=".ext_aspx" _y="38" _x="19" _ex="27" _ey="38" _spt="3"/></falstruct></nbD2645323><nb71B54884 _n=".jqueryFileTree LI.ext_avi"><falstruct><dc0221FF48 _n=".jqueryFileTree" _y="39" _x="1" _ex="15" _ey="39" _spt="3"/><hc626DCD15 _n=" " _spt="5"/><fcD9ABFF89 _n="LI" _y="39" _x="17" _ex="18" _ey="39" _spt="1"/><dc91B17858 _n=".ext_avi" _y="39" _x="19" _ex="26" _ey="39" _spt="3"/></falstruct></nb71B54884><nb3CCBE631 _n=".jqueryFileTree LI.ext_bat"><falstruct><dc22B2348D _n=".jqueryFileTree" _y="40" _x="1" _ex="15" _ey="40" _spt="3"/><hcC09C30E2 _n=" " _spt="5"/><fcF938344C _n="LI" _y="40" _x="17" _ex="18" _ey="40" _spt="1"/><dc4B9D3121 _n=".ext_bat" _y="40" _x="19" _ex="26" _ey="40" _spt="3"/></falstruct></nb3CCBE631><nb14D2F43C _n=".jqueryFileTree LI.ext_bmp"><falstruct><dc674643F0 _n=".jqueryFileTree" _y="41" _x="1" _ex="15" _ey="41" _spt="3"/><hc070A71AD _n=" " _spt="5"/><fcBCCC4331 _n="LI" _y="41" _x="17" _ex="18" _ey="41" _spt="1"/><dcD913FB0E _n=".ext_bmp" _y="41" _x="19" _ex="26" _ey="41" _spt="3"/></falstruct></nb14D2F43C><nb59AC5A89 _n=".jqueryFileTree LI.ext_c"><falstruct><dc74A257D5 _n=".jqueryFileTree" _y="42" _x="1" _ex="15" _ey="42" _spt="3"/><hc968C53BA _n=" " _spt="5"/><fcAF285714 _n="LI" _y="42" _x="17" _ex="18" _ey="42" _spt="1"/><dc3023F132 _n=".ext_c" _y="42" _x="19" _ex="24" _ey="42" _spt="3"/></falstruct></nb59AC5A89><nb42C29764 _n=".jqueryFileTree LI.ext_cfm"><falstruct><dc315620A8 _n=".jqueryFileTree" _y="43" _x="1" _ex="15" _ey="43" _spt="3"/><hc511A12F5 _n=" " _spt="5"/><fcEADC2069 _n="LI" _y="43" _x="17" _ex="18" _ey="43" _spt="1"/><dcA265785B _n=".ext_cfm" _y="43" _x="19" _ex="26" _ey="43" _spt="3"/></falstruct></nb42C29764><nb0FBC39D1 _n=".jqueryFileTree LI.ext_cgi"><falstruct><dc11C5EB6D _n=".jqueryFileTree" _y="44" _x="1" _ex="15" _ey="44" _spt="3"/><hcF3EBEF02 _n=" " _spt="5"/><fcCA4FEBAC _n="LI" _y="44" _x="17" _ex="18" _ey="44" _spt="1"/><dc84990B57 _n=".ext_cgi" _y="44" _x="19" _ex="26" _ey="44" _spt="3"/></falstruct></nb0FBC39D1><nb27A52BDC _n=".jqueryFileTree LI.ext_com"><falstruct><dc54319C10 _n=".jqueryFileTree" _y="45" _x="1" _ex="15" _ey="45" _spt="3"/><hc347DAE4D _n=" " _spt="5"/><fc8FBB9CD1 _n="LI" _y="45" _x="17" _ex="18" _ey="45" _spt="1"/><dcEC198BFC _n=".ext_com" _y="45" _x="19" _ex="26" _ey="45" _spt="3"/></falstruct></nb27A52BDC><nb6ADB8569 _n=".jqueryFileTree LI.ext_cpp"><falstruct><dc5ACCC28B _n=".jqueryFileTree" _y="46" _x="1" _ex="15" _ey="46" _spt="3"/><hcDB69FB9A _n=" " _spt="5"/><fcB9D15C7C _n="LI" _y="46" _x="17" _ex="18" _ey="46" _spt="1"/><dc86D9377A _n=".ext_cpp" _y="46" _x="19" _ex="26" _ey="46" _spt="3"/></falstruct></nb6ADB8569><nbE4DF62A4 _n=".jqueryFileTree LI.ext_css"><falstruct><dc1F38B5F6 _n=".jqueryFileTree" _y="47" _x="1" _ex="15" _ey="47" _spt="3"/><hc1CFFBAD5 _n=" " _spt="5"/><fcFC252B01 _n="LI" _y="47" _x="17" _ex="18" _ey="47" _spt="1"/><dcADBC7BFC _n=".ext_css" _y="47" _x="19" _ex="26" _ey="47" _spt="3"/></falstruct></nbE4DF62A4><nbA9A1CC11 _n=".jqueryFileTree LI.ext_doc"><falstruct><dc3FAB7E33 _n=".jqueryFileTree" _y="48" _x="1" _ex="15" _ey="48" _spt="3"/><hcBE0E4722 _n=" " _spt="5"/><fcDCB6E0C4 _n="LI" _y="48" _x="17" _ex="18" _ey="48" _spt="1"/><dcC1BB8292 _n=".ext_doc" _y="48" _x="19" _ex="26" _ey="48" _spt="3"/></falstruct></nbA9A1CC11><nb81B8DE1C _n=".jqueryFileTree LI.ext_exe"><falstruct><dc7A5F094E _n=".jqueryFileTree" _y="49" _x="1" _ex="15" _ey="49" _spt="3"/><hc7998066D _n=" " _spt="5"/><fc994297B9 _n="LI" _y="49" _x="17" _ex="18" _ey="49" _spt="1"/><dc73BDCEE9 _n=".ext_exe" _y="49" _x="19" _ex="26" _ey="49" _spt="3"/></falstruct></nb81B8DE1C><nbCCC670A9 _n=".jqueryFileTree LI.ext_gif"><falstruct><dcD104CB21 _n=".jqueryFileTree" _y="50" _x="1" _ex="15" _ey="50" _spt="3"/><hc50A1F230 _n=" " _spt="5"/><fc321955D6 _n="LI" _y="50" _x="17" _ex="18" _ey="50" _spt="1"/><dcFCB857B2 _n=".ext_gif" _y="50" _x="19" _ex="26" _ey="50" _spt="3"/></falstruct></nbCCC670A9><nb6F176B0E _n=".jqueryFileTree LI.ext_fla"><falstruct><dc94F0BC5C _n=".jqueryFileTree" _y="51" _x="1" _ex="15" _ey="51" _spt="3"/><hc9737B37F _n=" " _spt="5"/><fc77ED22AB _n="LI" _y="51" _x="17" _ex="18" _ey="51" _spt="1"/><dc05EFEA26 _n=".ext_fla" _y="51" _x="19" _ex="26" _ey="51" _spt="3"/></falstruct></nb6F176B0E><nb2269C5BB _n=".jqueryFileTree LI.ext_h"><falstruct><dcB4637799 _n=".jqueryFileTree" _y="52" _x="1" _ex="15" _ey="52" _spt="3"/><hc35C64E88 _n=" " _spt="5"/><fc577EE96E _n="LI" _y="52" _x="17" _ex="18" _ey="52" _spt="1"/><dcDE5D2FF3 _n=".ext_h" _y="52" _x="19" _ex="24" _ey="52" _spt="3"/></falstruct></nb2269C5BB><nb0A70D7B6 _n=".jqueryFileTree LI.ext_htm"><falstruct><dcF19700E4 _n=".jqueryFileTree" _y="53" _x="1" _ex="15" _ey="53" _spt="3"/><hcF2500FC7 _n=" " _spt="5"/><fc128A9E13 _n="LI" _y="53" _x="17" _ex="18" _ey="53" _spt="1"/><dc2D8FB114 _n=".ext_htm" _y="53" _x="19" _ex="26" _ey="53" _spt="3"/></falstruct></nb0A70D7B6><nb470E7903 _n=".jqueryFileTree LI.ext_html"><falstruct><dc0D5BA004 _n=".jqueryFileTree" _y="54" _x="1" _ex="15" _ey="54" _spt="3"/><hc8CFE9915 _n=" " _spt="5"/><fcEE463EF3 _n="LI" _y="54" _x="17" _ex="18" _ey="54" _spt="1"/><dc7B4D7B60 _n=".ext_html" _y="54" _x="19" _ex="27" _ey="54" _spt="3"/></falstruct></nb470E7903><nbB348002B _n=".jqueryFileTree LI.ext_jar"><falstruct><dc48AFD779 _n=".jqueryFileTree" _y="55" _x="1" _ex="15" _ey="55" _spt="3"/><hc4B68D85A _n=" " _spt="5"/><fcABB2498E _n="LI" _y="55" _x="17" _ex="18" _ey="55" _spt="1"/><dc20404101 _n=".ext_jar" _y="55" _x="19" _ex="26" _ey="55" _spt="3"/></falstruct></nbB348002B><nbFE36AE9E _n=".jqueryFileTree LI.ext_jpg"><falstruct><dc683C1CBC _n=".jqueryFileTree" _y="56" _x="1" _ex="15" _ey="56" _spt="3"/><hcE99925AD _n=" " _spt="5"/><fc8B21824B _n="LI" _y="56" _x="17" _ex="18" _ey="56" _spt="1"/><dc172B3EA6 _n=".ext_jpg" _y="56" _x="19" _ex="26" _ey="56" _spt="3"/></falstruct></nbFE36AE9E><nbD62FBC93 _n=".jqueryFileTree LI.ext_jpeg"><falstruct><dc2DC86BC1 _n=".jqueryFileTree" _y="57" _x="1" _ex="15" _ey="57" _spt="3"/><hc2E0F64E2 _n=" " _spt="5"/><fcCED5F536 _n="LI" _y="57" _x="17" _ex="18" _ey="57" _spt="1"/><dcA550E697 _n=".ext_jpeg" _y="57" _x="19" _ex="27" _ey="57" _spt="3"/></falstruct></nbD62FBC93><nb9B511226 _n=".jqueryFileTree LI.ext_js"><falstruct><dc8693A9AE _n=".jqueryFileTree" _y="58" _x="1" _ex="15" _ey="58" _spt="3"/><hc073690BF _n=" " _spt="5"/><fc658E3759 _n="LI" _y="58" _x="17" _ex="18" _ey="58" _spt="1"/><dc531751EB _n=".ext_js" _y="58" _x="19" _ex="25" _ey="58" _spt="3"/></falstruct></nb9B511226><nb38800981 _n=".jqueryFileTree LI.ext_lasso"><falstruct><dcC367DED3 _n=".jqueryFileTree" _y="59" _x="1" _ex="15" _ey="59" _spt="3"/><hcC0A0D1F0 _n=" " _spt="5"/><fc207A4024 _n="LI" _y="59" _x="17" _ex="18" _ey="59" _spt="1"/><dcE43B2AF1 _n=".ext_lasso" _y="59" _x="19" _ex="28" _ey="59" _spt="3"/></falstruct></nb38800981><nb75FEA734 _n=".jqueryFileTree LI.ext_log"><falstruct><dcE3F41516 _n=".jqueryFileTree" _y="60" _x="1" _ex="15" _ey="60" _spt="3"/><hc62512C07 _n=" " _spt="5"/><fc00E98BE1 _n="LI" _y="60" _x="17" _ex="18" _ey="60" _spt="1"/><dc199CAF35 _n=".ext_log" _y="60" _x="19" _ex="26" _ey="60" _spt="3"/></falstruct></nb75FEA734><nb5DE7B539 _n=".jqueryFileTree LI.ext_m4p"><falstruct><dcA600626B _n=".jqueryFileTree" _y="61" _x="1" _ex="15" _ey="61" _spt="3"/><hcA5C76D48 _n=" " _spt="5"/><fc451DFC9C _n="LI" _y="61" _x="17" _ex="18" _ey="61" _spt="1"/><dc304C747A _n=".ext_m4p" _y="61" _x="19" _ex="26" _ey="61" _spt="3"/></falstruct></nb5DE7B539><nb10991B8C _n=".jqueryFileTree LI.ext_mov"><falstruct><dcB5E4764E _n=".jqueryFileTree" _y="62" _x="1" _ex="15" _ey="62" _spt="3"/><hc34414F5F _n=" " _spt="5"/><fc56F9E8B9 _n="LI" _y="62" _x="17" _ex="18" _ey="62" _spt="1"/><dc95F17846 _n=".ext_mov" _y="62" _x="19" _ex="26" _ey="62" _spt="3"/></falstruct></nb10991B8C><nb0BF7D661 _n=".jqueryFileTree LI.ext_mp3"><falstruct><dcF0100133 _n=".jqueryFileTree" _y="63" _x="1" _ex="15" _ey="63" _spt="3"/><hcF3D70E10 _n=" " _spt="5"/><fc130D9FC4 _n="LI" _y="63" _x="17" _ex="18" _ey="63" _spt="1"/><dcB23E5412 _n=".ext_mp3" _y="63" _x="19" _ex="26" _ey="63" _spt="3"/></falstruct></nb0BF7D661><nb468978D4 _n=".jqueryFileTree LI.ext_mp4"><falstruct><dcD083CAF6 _n=".jqueryFileTree" _y="64" _x="1" _ex="15" _ey="64" _spt="3"/><hc5126F3E7 _n=" " _spt="5"/><fc339E5401 _n="LI" _y="64" _x="17" _ex="18" _ey="64" _spt="1"/><dc0589D943 _n=".ext_mp4" _y="64" _x="19" _ex="26" _ey="64" _spt="3"/></falstruct></nb468978D4><nb6E906AD9 _n=".jqueryFileTree LI.ext_mpg"><falstruct><dc9577BD8B _n=".jqueryFileTree" _y="65" _x="1" _ex="15" _ey="65" _spt="3"/><hc96B0B2A8 _n=" " _spt="5"/><fc766A237C _n="LI" _y="65" _x="17" _ex="18" _ey="65" _spt="1"/><dcEBA4847B _n=".ext_mpg" _y="65" _x="19" _ex="26" _ey="65" _spt="3"/></falstruct></nb6E906AD9><nb23EEC46C _n=".jqueryFileTree LI.ext_mpeg"><falstruct><dcF4BE560D _n=".jqueryFileTree" _y="66" _x="1" _ex="15" _ey="66" _spt="3"/><hc751B6F1C _n=" " _spt="5"/><fc17A3C8FA _n="LI" _y="66" _x="17" _ex="18" _ey="66" _spt="1"/><dc32A195A0 _n=".ext_mpeg" _y="66" _x="19" _ex="27" _ey="66" _spt="3"/></falstruct></nb23EEC46C><nb4AADF622 _n=".jqueryFileTree LI.ext_ogg"><falstruct><dcB14A2170 _n=".jqueryFileTree" _y="67" _x="1" _ex="15" _ey="67" _spt="3"/><hcB28D2E53 _n=" " _spt="5"/><fc5257BF87 _n="LI" _y="67" _x="17" _ex="18" _ey="67" _spt="1"/><dcC19D51A9 _n=".ext_ogg" _y="67" _x="19" _ex="26" _ey="67" _spt="3"/></falstruct></nb4AADF622><nb07D35897 _n=".jqueryFileTree LI.ext_pcx"><falstruct><dc91D9EAB5 _n=".jqueryFileTree" _y="68" _x="1" _ex="15" _ey="68" _spt="3"/><hc107CD3A4 _n=" " _spt="5"/><fc72C47442 _n="LI" _y="68" _x="17" _ex="18" _ey="68" _spt="1"/><dc1FD2E520 _n=".ext_pcx" _y="68" _x="19" _ex="26" _ey="68" _spt="3"/></falstruct></nb07D35897><nb2FCA4A9A _n=".jqueryFileTree LI.ext_pdf"><falstruct><dcD42D9DC8 _n=".jqueryFileTree" _y="69" _x="1" _ex="15" _ey="69" _spt="3"/><hcD7EA92EB _n=" " _spt="5"/><fc3730033F _n="LI" _y="69" _x="17" _ex="18" _ey="69" _spt="1"/><dcB433FC48 _n=".ext_pdf" _y="69" _x="19" _ex="26" _ey="69" _spt="3"/></falstruct></nb2FCA4A9A><nb62B4E42F _n=".jqueryFileTree LI.ext_php"><falstruct><dc7F765FA7 _n=".jqueryFileTree" _y="70" _x="1" _ex="15" _ey="70" _spt="3"/><hcFED366B6 _n=" " _spt="5"/><fc9C6BC150 _n="LI" _y="70" _x="17" _ex="18" _ey="70" _spt="1"/><dcB39D5519 _n=".ext_php" _y="70" _x="19" _ex="26" _ey="70" _spt="3"/></falstruct></nb62B4E42F><nbC165FF88 _n=".jqueryFileTree LI.ext_png"><falstruct><dc3A8228DA _n=".jqueryFileTree" _y="71" _x="1" _ex="15" _ey="71" _spt="3"/><hc394527F9 _n=" " _spt="5"/><fcD99FB62D _n="LI" _y="71" _x="17" _ex="18" _ey="71" _spt="1"/><dc0D0CC181 _n=".ext_png" _y="71" _x="19" _ex="26" _ey="71" _spt="3"/></falstruct></nbC165FF88><nb8C1B513D _n=".jqueryFileTree LI.ext_ppt"><falstruct><dc1A11E31F _n=".jqueryFileTree" _y="72" _x="1" _ex="15" _ey="72" _spt="3"/><hc9BB4DA0E _n=" " _spt="5"/><fcF90C7DE8 _n="LI" _y="72" _x="17" _ex="18" _ey="72" _spt="1"/><dc3035DA11 _n=".ext_ppt" _y="72" _x="19" _ex="26" _ey="72" _spt="3"/></falstruct></nb8C1B513D><nbA4024330 _n=".jqueryFileTree LI.ext_psd"><falstruct><dc5FE59462 _n=".jqueryFileTree" _y="73" _x="1" _ex="15" _ey="73" _spt="3"/><hc5C229B41 _n=" " _spt="5"/><fcBCF80A95 _n="LI" _y="73" _x="17" _ex="18" _ey="73" _spt="1"/><dcD366A265 _n=".ext_psd" _y="73" _x="19" _ex="26" _ey="73" _spt="3"/></falstruct></nbA4024330><nbE97CED85 _n=".jqueryFileTree LI.ext_pl"><falstruct><dcA3293482 _n=".jqueryFileTree" _y="74" _x="1" _ex="15" _ey="74" _spt="3"/><hc228C0D93 _n=" " _spt="5"/><fc4034AA75 _n="LI" _y="74" _x="17" _ex="18" _ey="74" _spt="1"/><dcD09FDB52 _n=".ext_pl" _y="74" _x="19" _ex="25" _ey="74" _spt="3"/></falstruct></nbE97CED85><nb1D3A94AD _n=".jqueryFileTree LI.ext_py"><falstruct><dcE6DD43FF _n=".jqueryFileTree" _y="75" _x="1" _ex="15" _ey="75" _spt="3"/><hcE51A4CDC _n=" " _spt="5"/><fc05C0DD08 _n="LI" _y="75" _x="17" _ex="18" _ey="75" _spt="1"/><dc54797485 _n=".ext_py" _y="75" _x="19" _ex="25" _ey="75" _spt="3"/></falstruct></nb1D3A94AD><nb50443A18 _n=".jqueryFileTree LI.ext_rb"><falstruct><dcC64E883A _n=".jqueryFileTree" _y="76" _x="1" _ex="15" _ey="76" _spt="3"/><hc47EBB12B _n=" " _spt="5"/><fc255316CD _n="LI" _y="76" _x="17" _ex="18" _ey="76" _spt="1"/><dcBA3A18FB _n=".ext_rb" _y="76" _x="19" _ex="25" _ey="76" _spt="3"/></falstruct></nb50443A18><nb785D2815 _n=".jqueryFileTree LI.ext_rbx"><falstruct><dc83BAFF47 _n=".jqueryFileTree" _y="77" _x="1" _ex="15" _ey="77" _spt="3"/><hc807DF064 _n=" " _spt="5"/><fc60A761B0 _n="LI" _y="77" _x="17" _ex="18" _ey="77" _spt="1"/><dc22698A4F _n=".ext_rbx" _y="77" _x="19" _ex="26" _ey="77" _spt="3"/></falstruct></nb785D2815><nb352386A0 _n=".jqueryFileTree LI.ext_rhtml"><falstruct><dc28E13D28 _n=".jqueryFileTree" _y="78" _x="1" _ex="15" _ey="78" _spt="3"/><hcA9440439 _n=" " _spt="5"/><fcCBFCA3DF _n="LI" _y="78" _x="17" _ex="18" _ey="78" _spt="1"/><dcC3F8C93F _n=".ext_rhtml" _y="78" _x="19" _ex="28" _ey="78" _spt="3"/></falstruct></nb352386A0><nb96F29D07 _n=".jqueryFileTree LI.ext_rpm"><falstruct><dc6D154A55 _n=".jqueryFileTree" _y="79" _x="1" _ex="15" _ey="79" _spt="3"/><hc6ED24576 _n=" " _spt="5"/><fc8E08D4A2 _n="LI" _y="79" _x="17" _ex="18" _ey="79" _spt="1"/><dc56A83F4A _n=".ext_rpm" _y="79" _x="19" _ex="26" _ey="79" _spt="3"/></falstruct></nb96F29D07><nbDB8C33B2 _n=".jqueryFileTree LI.ext_ruby"><falstruct><dc4D868190 _n=".jqueryFileTree" _y="80" _x="1" _ex="15" _ey="80" _spt="3"/><hcCC23B881 _n=" " _spt="5"/><fcAE9B1F67 _n="LI" _y="80" _x="17" _ex="18" _ey="80" _spt="1"/><dc615E2A1E _n=".ext_ruby" _y="80" _x="19" _ex="27" _ey="80" _spt="3"/></falstruct></nbDB8C33B2><nbF39521BF _n=".jqueryFileTree LI.ext_sql"><falstruct><dc0872F6ED _n=".jqueryFileTree" _y="81" _x="1" _ex="15" _ey="81" _spt="3"/><hc0BB5F9CE _n=" " _spt="5"/><fcEB6F681A _n="LI" _y="81" _x="17" _ex="18" _ey="81" _spt="1"/><dcFCE84E4A _n=".ext_sql" _y="81" _x="19" _ex="26" _ey="81" _spt="3"/></falstruct></nbF39521BF><nbBEEB8F0A _n=".jqueryFileTree LI.ext_swf"><falstruct><dc1B96E2C8 _n=".jqueryFileTree" _y="82" _x="1" _ex="15" _ey="82" _spt="3"/><hc9A33DBD9 _n=" " _spt="5"/><fcF88B7C3F _n="LI" _y="82" _x="17" _ex="18" _ey="82" _spt="1"/><dcEE4D076D _n=".ext_swf" _y="82" _x="19" _ex="26" _ey="82" _spt="3"/></falstruct></nbBEEB8F0A><nbA58542E7 _n=".jqueryFileTree LI.ext_tif"><falstruct><dc5E6295B5 _n=".jqueryFileTree" _y="83" _x="1" _ex="15" _ey="83" _spt="3"/><hc5DA59A96 _n=" " _spt="5"/><fcBD7F0B42 _n="LI" _y="83" _x="17" _ex="18" _ey="83" _spt="1"/><dcF1CC0CC3 _n=".ext_tif" _y="83" _x="19" _ex="26" _ey="83" _spt="3"/></falstruct></nbA58542E7><nbE8FBEC52 _n=".jqueryFileTree LI.ext_tiff"><falstruct><dc7EF15E70 _n=".jqueryFileTree" _y="84" _x="1" _ex="15" _ey="84" _spt="3"/><hcFF546761 _n=" " _spt="5"/><fc9DECC087 _n="LI" _y="84" _x="17" _ex="18" _ey="84" _spt="1"/><dc644155A3 _n=".ext_tiff" _y="84" _x="19" _ex="27" _ey="84" _spt="3"/></falstruct></nbE8FBEC52><nbC0E2FE5F _n=".jqueryFileTree LI.ext_txt"><falstruct><dc3B05290D _n=".jqueryFileTree" _y="85" _x="1" _ex="15" _ey="85" _spt="3"/><hc38C2262E _n=" " _spt="5"/><fcD818B7FA _n="LI" _y="85" _x="17" _ex="18" _ey="85" _spt="1"/><dc1477428D _n=".ext_txt" _y="85" _x="19" _ex="26" _ey="85" _spt="3"/></falstruct></nbC0E2FE5F><nb8D9C50EA _n=".jqueryFileTree LI.ext_vb"><falstruct><dc516D0AC6 _n=".jqueryFileTree" _y="86" _x="1" _ex="15" _ey="86" _spt="3"/><hcD0C833D7 _n=" " _spt="5"/><fcB2709431 _n="LI" _y="86" _x="17" _ex="18" _ey="86" _spt="1"/><dc57B9710E _n=".ext_vb" _y="86" _x="19" _ex="25" _ey="86" _spt="3"/></falstruct></nb8D9C50EA><nbEF7EAAE9 _n=".jqueryFileTree LI.ext_wav"><falstruct><dc14997DBB _n=".jqueryFileTree" _y="87" _x="1" _ex="15" _ey="87" _spt="3"/><hc175E7298 _n=" " _spt="5"/><fcF784E34C _n="LI" _y="87" _x="17" _ex="18" _ey="87" _spt="1"/><dc949416D5 _n=".ext_wav" _y="87" _x="19" _ex="26" _ey="87" _spt="3"/></falstruct></nbEF7EAAE9><nbA200045C _n=".jqueryFileTree LI.ext_wmv"><falstruct><dc340AB67E _n=".jqueryFileTree" _y="88" _x="1" _ex="15" _ey="88" _spt="3"/><hcB5AF8F6F _n=" " _spt="5"/><fcD7172889 _n="LI" _y="88" _x="17" _ex="18" _ey="88" _spt="1"/><dcB4CA6294 _n=".ext_wmv" _y="88" _x="19" _ex="26" _ey="88" _spt="3"/></falstruct></nbA200045C><nb8A191651 _n=".jqueryFileTree LI.ext_xls"><falstruct><dc71FEC103 _n=".jqueryFileTree" _y="89" _x="1" _ex="15" _ey="89" _spt="3"/><hc7239CE20 _n=" " _spt="5"/><fc92E35FF4 _n="LI" _y="89" _x="17" _ex="18" _ey="89" _spt="1"/><dc54E920A2 _n=".ext_xls" _y="89" _x="19" _ex="26" _ey="89" _spt="3"/></falstruct></nb8A191651><nbC767B8E4 _n=".jqueryFileTree LI.ext_xml"><falstruct><dcDAA5036C _n=".jqueryFileTree" _y="90" _x="1" _ex="15" _ey="90" _spt="3"/><hc5B003A7D _n=" " _spt="5"/><fc39B89D9B _n="LI" _y="90" _x="17" _ex="18" _ey="90" _spt="1"/><dcC8D73819 _n=".ext_xml" _y="90" _x="19" _ex="26" _ey="90" _spt="3"/></falstruct></nbC767B8E4><nb64B6A343 _n=".jqueryFileTree LI.ext_zip"><falstruct><dc9F517411 _n=".jqueryFileTree" _y="91" _x="1" _ex="15" _ey="91" _spt="3"/><hc9C967B32 _n=" " _spt="5"/><fc7C4CEAE6 _n="LI" _y="91" _x="17" _ex="18" _ey="91" _spt="1"/><dc82140834 _n=".ext_zip" _y="91" _x="19" _ex="26" _ey="91" _spt="3"/></falstruct></nb64B6A343></fasel></facss></eaFA7F6E8A></ca0B8F7417><ca0470CE40 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\js" _n="js"><ea351F75DE _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\js\jquery.colorbox-min.js" _n="jquery.colorbox-min.js" _sz="9820" _p="1" _crc="2679776101" _dt="1052872340"><fajsl><fajsvcls/><fajsvar><pcCABEC7C9 _n="O" _y="4" _x="40" _ex="42" _ey="4"/><pc97E3B02F _n="S" _y="4" _x="5338" _ex="5340" _ey="4"/></fajsvar></fajsl></ea351F75DE><eaE4E7AE75 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\js\jqueryFileTree.js" _n="jqueryFileTree.js" _sz="3805" _p="1" _crc="569444043" _dt="1052872340"/></ca0470CE40><ea2C500211 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\class.db.php" _n="class.db.php" _sz="1032" _p="1" _crc="802935355" _dt="1052872340"><facls><ja22FB9999 _n="DMDB" _y="3" _x="12" _ex="1" _ey="39" _exp="1" _s="0"><fafnc><oa969508E5 _n="AddNew" _y="6" _x="20" _ex="5" _ey="8" _al="$table, $data" _mod="65792" _s="1"><favar><ab466BD0D3 _n="table" _y="6" _x="21" _r="3" _pri="1"/><ab053F6F95 _n="data" _y="6" _x="29" _r="3" _pri="2"/></favar><fapar><na466BD0D3 _n="table" _y="6" _x="21" _pri="1" _to="0"/><na053F6F95 _n="data" _y="6" _x="29" _pri="2" _to="0"/></fapar></oa969508E5><oa7B9054A5 _n="Update" _y="10" _x="20" _ex="5" _ey="12" _al="$table, $data, $cond" _mod="65792" _s="1"><favar><ab466BD0D3 _n="table" _y="10" _x="21" _r="3" _pri="1"/><ab053F6F95 _n="data" _y="10" _x="29" _r="3" _pri="2"/><abD21473E7 _n="cond" _y="10" _x="36" _r="3" _pri="3"/></favar><fapar><na466BD0D3 _n="table" _y="10" _x="21" _pri="1" _to="0"/><na053F6F95 _n="data" _y="10" _x="29" _pri="2" _to="0"/><naD21473E7 _n="cond" _y="10" _x="36" _pri="3" _to="0"/></fapar></oa7B9054A5><oaE7221ABB _n="Delete" _y="14" _x="20" _ex="5" _ey="18" _al="$table, $cond" _mod="65792" _s="1"><favar><ab466BD0D3 _n="table" _y="14" _x="21" _r="4" _pri="1"/><abD21473E7 _n="cond" _y="14" _x="29" _r="4" _pri="2"/><abA343B7BF _n="d" _y="15" _x="11" _r="2" _vr=".mysql_fetch_assoc()"/></favar><fapar><na466BD0D3 _n="table" _y="14" _x="21" _pri="1" _to="0"/><naD21473E7 _n="cond" _y="14" _x="29" _pri="2" _to="0"/></fapar></oaE7221ABB><oaCE705B71 _n="getById" _y="20" _x="21" _ex="5" _ey="22" _al="$table, $id" _mod="65792" _vr=".mysql_fetch_assoc()" _s="1"><favar><ab466BD0D3 _n="table" _y="20" _x="22" _r="3" _pri="1"/><abC9360499 _n="id" _y="20" _x="30" _r="3" _pri="2"/></favar><fapar><na466BD0D3 _n="table" _y="20" _x="22" _pri="1" _to="0"/><naC9360499 _n="id" _y="20" _x="30" _pri="2" _to="0"/></fapar></oaCE705B71><oaB882B587 _n="getData" _y="24" _x="21" _ex="5" _ey="30" _al="$table, $where, $limit" _mod="65792" _vr=".mysql_fetch_assoc()" _s="1"><favar><ab466BD0D3 _n="table" _y="24" _x="22" _r="3" _pri="1"/><ab7ADB6B8A _n="where" _y="24" _x="30" _r="3" _pri="2"/><ab18D01DA1 _n="limit" _y="24" _x="43" _r="3" _pri="3"/><ab10BD0B32 _n="req" _y="25" _x="11" _r="1" _vr=".mysql_query()"/><ab74F62FA3 _n="r" _y="26" _x="15" _r="2" _vr=".mysql_fetch_assoc()"/><ab92DF3D00 _n="res" _y="26" _x="40" _r="1"/><abE4B9F07F _n="rows" _y="27" _x="16" _r="2" _vr=".mysql_fetch_assoc()"/></favar><fapar><na466BD0D3 _n="table" _y="24" _x="22" _pri="1" _to="0"/><na7ADB6B8A _n="where" _y="24" _x="30" _pri="2" _to="4"/><na18D01DA1 _n="limit" _y="24" _x="43" _pri="3" _to="4"/></fapar></oaB882B587><oaD0C170F2 _n="MakeQuery" _y="32" _x="23" _ex="5" _ey="37" _al="$data" _mod="65792" _vr=".implode()" _s="1"><favar><ab053F6F95 _n="data" _y="32" _x="24" _r="3" _pri="1"/><ab6C5F2F38 _n="k" _y="33" _x="28" _r="2"/><abA343B7BF _n="d" _y="33" _x="32" _r="2"/><ab902A88B1 _n="qry" _y="34" _x="17" _r="2"/></favar><fapar><na053F6F95 _n="data" _y="32" _x="24" _pri="1" _to="0"/></fapar></oaD0C170F2></fafnc></ja22FB9999></facls><_rslv><ab5EB460BC _n=".mysql_query()"/><ab4690C8D0 _n="DMDB.MakeQuery()"/><ab7FA0640A _n=".mysql_fetch_assoc()"/><abB475CEB8 _n=".unlink()"/><abDE856E16 _n=".implode()"/></_rslv></ea2C500211><ea5A7059E4 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\class.pagination.php" _n="class.pagination.php" _sz="15948" _p="1" _crc="219507963" _dt="1052872340"><facls><jaBCF4DEB1 _n="pagination" _y="3" _x="18" _ex="9" _ey="407" _exp="1" _s="0"><favar><ab1C15F7F9 _n="total_pages" _y="23" _x="33" _mod="256" _r="1"/><ab18D01DA1 _n="limit" _y="25" _x="27" _mod="256" _r="1"/><ab99FE6C21 _n="target" _y="27" _x="28" _mod="256" _r="1"/><abA13D5E4B _n="page" _y="29" _x="26" _mod="256" _r="1"/><abAE987AE0 _n="adjacents" _y="31" _x="31" _mod="256" _r="1"/><ab75972137 _n="showCounter" _y="33" _x="33" _mod="256" _r="1"/><ab13C4CB7A _n="className" _y="35" _x="31" _mod="256" _r="1"/><ab84CCFBAF _n="parameterName" _y="37" _x="35" _mod="256" _r="1"/><ab90B354EF _n="urlF" _y="39" _x="26" _mod="256" _r="1"/><ab0B640505 _n="uriTPL" _y="41" _x="28" _mod="256" _r="1"/><abA22DAB96 _n="nextT" _y="47" _x="27" _mod="256" _r="1"/><abBE41C769 _n="nextI" _y="49" _x="27" _mod="256" _r="1"/><ab057DF3CC _n="prevT" _y="51" _x="27" _mod="256" _r="1"/><ab19119F33 _n="prevI" _y="53" _x="27" _mod="256" _r="1"/><ab94163F53 _n="calculate" _y="59" _x="31" _mod="256" _r="1"/><abBCF4DEB1 _n="pagination" _y="143" _x="32" _mod="256" _r="1"/></favar><fafnc><oa5BBCFA8C _n="items" _y="65" _x="31" _ex="74" _ey="65" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="65" _x="32" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="65" _x="45" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="65" _x="32" _pri="1" _to="0"/></fapar></oa5BBCFA8C><oa18D01DA1 _n="limit" _y="71" _x="31" _ex="68" _ey="71" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="71" _x="32" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="71" _x="45" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="71" _x="32" _pri="1" _to="0"/></fapar></oa18D01DA1><oa99FE6C21 _n="target" _y="77" _x="32" _ex="64" _ey="77" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="77" _x="33" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="77" _x="46" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="77" _x="33" _pri="1" _to="0"/></fapar></oa99FE6C21><oaF2E9E1F2 _n="urlTemplate" _y="81" _x="37" _ex="69" _ey="81" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="81" _x="38" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="81" _x="51" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="81" _x="38" _pri="1" _to="0"/></fapar></oaF2E9E1F2><oa4AD671BB _n="currentPage" _y="87" _x="37" _ex="73" _ey="87" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="87" _x="38" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="87" _x="51" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="87" _x="38" _pri="1" _to="0"/></fapar></oa4AD671BB><oaAE987AE0 _n="adjacents" _y="93" _x="35" _ex="76" _ey="93" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="93" _x="36" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="93" _x="49" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="93" _x="36" _pri="1" _to="0"/></fapar></oaAE987AE0><oaADEF45FA _n="showCounter" _y="99" _x="37" _ex="95" _ey="99" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="99" _x="38" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="99" _x="54" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="99" _x="38" _pri="1" _to="4"/></fapar></oaADEF45FA><oaA7BCBFD5 _n="changeClass" _y="105" _x="37" _ex="73" _ey="105" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="105" _x="38" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="105" _x="54" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="105" _x="38" _pri="1" _to="4"/></fapar></oaA7BCBFD5><oa1264768C _n="nextLabel" _y="109" _x="35" _ex="66" _ey="109" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="109" _x="36" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="109" _x="49" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="109" _x="36" _pri="1" _to="0"/></fapar></oa1264768C><oa329BE206 _n="nextIcon" _y="111" _x="34" _ex="65" _ey="111" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="111" _x="35" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="111" _x="48" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="111" _x="35" _pri="1" _to="0"/></fapar></oa329BE206><oaC03E559D _n="prevLabel" _y="113" _x="35" _ex="66" _ey="113" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="113" _x="36" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="113" _x="49" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="113" _x="36" _pri="1" _to="0"/></fapar></oaC03E559D><oa84F97A55 _n="prevIcon" _y="115" _x="34" _ex="65" _ey="115" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="115" _x="35" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="115" _x="48" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="115" _x="35" _pri="1" _to="0"/></fapar></oa84F97A55><oaD2AE8D56 _n="parameterName" _y="121" _x="39" _ex="79" _ey="121" _al="$value" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="121" _x="40" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="121" _x="56" _r="1"/></favar><fapar><na1EC23EC0 _n="value" _y="121" _x="40" _pri="1" _to="4"/></fapar></oaD2AE8D56><oa93A1AA33 _n="urlFriendly" _y="127" _x="37" _ex="25" _ey="139" _al="$value = "%"" _mod="256" _s="1"><favar><ab1EC23EC0 _n="value" _y="127" _x="38" _r="4" _pri="1" _val="%"/><ab77A05C14 _n="this" _y="131" _x="54" _r="2"/></favar><fapar><na1EC23EC0 _n="value" _y="127" _x="38" _pri="1" _val="%" _to="4"/></fapar></oa93A1AA33><oaBCF4DEB1 _n="pagination" _y="147" _x="36" _ex="39" _ey="147" _mod="73984"/><oaB6339E5F _n="show" _y="149" _x="30" _ex="25" _ey="157" _mod="256" _s="1"><favar><ab77A05C14 _n="this" _y="151" _x="42" _r="4"/></favar></oaB6339E5F><oa430A2CC3 _n="get_pagenum_link" _y="159" _x="42" _ex="25" _ey="181" _al="$id" _mod="256" _vr=".str_replace()" _s="1"><favar><abC9360499 _n="id" _y="159" _x="43" _r="3" _pri="1"/><ab77A05C14 _n="this" _y="179" _x="73" _r="1"/></favar><fapar><naC9360499 _n="id" _y="159" _x="43" _pri="1" _to="0"/></fapar></oa430A2CC3><oa94163F53 _n="calculate" _y="185" _x="35" _ex="25" _ey="405" _mod="256" _s="1"><favar><ab77A05C14 _n="this" _y="187" _x="38" _r="86"/><abBB9E68FD _n="error" _y="191" _x="39" _r="6"/><ab29AB5845 _n="n" _y="231" _x="35" _r="3" _vr=".trim()"/><abF6941991 _n="p" _y="233" _x="35" _r="3" _vr=".trim()"/><ab623EDC60 _n="start" _y="241" _x="47" _r="2"/><ab8DC4FA05 _n="prev" _y="251" _x="38" _r="2"/><ab77385DE2 _n="next" _y="253" _x="38" _r="2"/><ab6BEF00E1 _n="lastpage" _y="255" _x="42" _r="13" _vr=".ceil()"/><abCFB0AA19 _n="lpm1" _y="257" _x="38" _r="5"/><ab74707DD0 _n="counter" _y="291" _x="78" _r="29"/></favar></oa94163F53></fafnc></jaBCF4DEB1></facls><_rslv><ab8C60FEDE _n="pagination.total_pages"/><abD824511A _n="pagination.limit"/><ab9EA44650 _n="pagination.target"/><ab0C3E2F74 _n="pagination.uriTPL"/><ab4FF7524A _n="pagination.page"/><ab41326015 _n="pagination.adjacents"/><abE5E22810 _n="pagination.showCounter"/><abFC6ED18F _n="pagination.className"/><ab62D9E72D _n="pagination.nextT"/><ab7EB58BD2 _n="pagination.nextI"/><abC589BF77 _n="pagination.prevT"/><abD9E5D388 _n="pagination.prevI"/><abB9894934 _n="pagination.parameterName"/><ab6DE72D07 _n=".eregi()"/><ab7E7958EE _n="pagination.urlF"/><ab7BBC25A6 _n="pagination.calculate"/><abE9EEFC86 _n="pagination.calculate()"/><ab73A43B5E _n="pagination.pagination"/><ab2B73B2A1 _n=".str_replace()"/><ab0FEE6742 _n=".strpos()"/><ab60FB45A7 _n=".trim()"/><ab27B6EBD1 _n=".ceil()"/><ab0918E6AD _n="pagination.get_pagenum_link"/><ab472EBEEE _n="pagination.get_pagenum_link()"/></_rslv></ea5A7059E4><ea6C274981 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\download.php" _n="download.php" _sz="3063" _p="1" _crc="503887981" _dt="1052872340"><favar><abAFDCE5D4 _n="wpdb" _y="2" _x="13" _r="4"/><ab1C64B7A3 _n="dl" _y="3" _x="4" _r="4"/><ab3367B828 _n="_REQUEST" _y="3" _x="21" _r="1"/><ab053F6F95 _n="data" _y="5" _x="10" _r="9" _vr="$wpdb.get_row()"/><ab2F392DF8 _n="_POST" _y="6" _x="14" _r="8"/><ab3A05E79A _n="did" _y="7" _x="13" _r="4" _vr=".uniqid()"/></favar><_rslv><abF4BBD253 _n="$wpdb.get_row"/><abE82FA3A0 _n="$wpdb.get_row()"/><ab938C36EF _n="$wpdb.prefix"/><ab747887EF _n=".uniqid()"/><ab68E07B53 _n=".file_put_contents()"/><ab1877273D _n=".dirname()"/><ab39C49F6B _n=".serialize()"/><ab4FCBF1EA _n=".count()"/><ab5EB460BC _n=".mysql_query()"/><abB2448AFB _n=".get_option()"/><ab060EE961 _n=".home_url()"/></_rslv><facss><fasel><nb67EFD31B _n="*"><falstruct><fc0B6869D7 _n="*" _y="15" _x="1" _ex="1" _ey="15" _spt="1"/></falstruct></nb67EFD31B><nbE58DE529 _n="input"><falstruct><fcD3047619 _n="input" _y="20" _x="1" _ex="5" _ey="20" _spt="1"/></falstruct></nbE58DE529><nb632ABF7F _n="form"><falstruct><fc0B10D0E4 _n="form" _y="20" _x="7" _ex="10" _ey="20" _spt="1"/></falstruct></nb632ABF7F><nbE148894D _n="p"><falstruct><fc4B208325 _n="p" _y="20" _x="12" _ex="12" _ey="20" _spt="1"/></falstruct></nbE148894D><nb6F650AD3 _n="form"><falstruct><fc075F6548 _n="form" _y="23" _x="1" _ex="4" _ey="23" _spt="1"/></falstruct></nb6F650AD3></fasel></facss><fajsl><fajsfnc><bd864AC1FC _n="validate_pass" _y="70" _x="11" _ex="11" _ey="77"/></fajsfnc></fajsl></ea6C274981><eaCA2E09B4 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\editor_plugin.js" _n="editor_plugin.js" _sz="1606" _p="1" _crc="3351340529" _dt="1052872340"/><ea2B9606AE _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\functions.php" _n="functions.php" _sz="4189" _p="1" _crc="3403450648" _dt="1052872340"><fafnc><maDAFB3204 _n="add_wpdc_meta" _y="9" _x="27" _ex="5" _ey="17" _al="mixed $pid, mixed $name, mixed $value, $uniq = false" _s="1"><_doc>fd05E293ED</_doc><favar><abB745A002 _n="pid" _y="9" _x="28" _r="4" _pri="1" _vr="mixed"/><abDCFED24D _n="name" _y="9" _x="34" _r="4" _pri="2" _vr="mixed"/><ab1EC23EC0 _n="value" _y="9" _x="41" _r="7" _pri="3" _vr=".is_array()"/><ab7621993C _n="uniq" _y="9" _x="49" _r="6" _pri="4" _val="false"/><abAFDCE5D4 _n="wpdb" _y="10" _x="21" _r="5" _to="13"/><ab132F665A _n="duplicate" _y="13" _x="19" _r="2" _vr="$wpdb.get_var()"/></favar><fapar><naB745A002 _n="pid" _y="9" _x="28" _pri="1" _to="0" _vr="mixed"/><naDCFED24D _n="name" _y="9" _x="34" _pri="2" _to="0" _vr="mixed"/><na1EC23EC0 _n="value" _y="9" _x="41" _pri="3" _to="0" _vr="mixed"/><na7621993C _n="uniq" _y="9" _x="49" _pri="4" _val="false" _to="9"/></fapar></maDAFB3204><ma7CBEABDC _n="update_wpdc_meta" _y="27" _x="30" _ex="5" _ey="34" _al="mixed $pid, mixed $name, mixed $value, mixed $uniq = false" _s="1"><_doc>fd26D1BA93</_doc><favar><abB745A002 _n="pid" _y="27" _x="31" _r="4" _pri="1" _vr="mixed"/><abDCFED24D _n="name" _y="27" _x="37" _r="4" _pri="2" _vr="mixed"/><ab1EC23EC0 _n="value" _y="27" _x="44" _r="7" _pri="3" _vr=".is_array()"/><ab7621993C _n="uniq" _y="27" _x="52" _r="5" _pri="4" _val="false" _vr="mixed"/><abAFDCE5D4 _n="wpdb" _y="28" _x="21" _r="2" _to="13"/></favar><fapar><naB745A002 _n="pid" _y="27" _x="31" _pri="1" _to="0" _vr="mixed"/><naDCFED24D _n="name" _y="27" _x="37" _pri="2" _to="0" _vr="mixed"/><na1EC23EC0 _n="value" _y="27" _x="44" _pri="3" _to="0" _vr="mixed"/><na7621993C _n="uniq" _y="27" _x="52" _pri="4" _val="false" _to="9" _vr="mixed"/></fapar></ma7CBEABDC><ma23F81CAA _n="delete_wpdc_meta" _y="43" _x="30" _ex="5" _ey="46" _al="mixed $pid, mixed $name" _s="1"><_doc>fdB3019085</_doc><favar><abB745A002 _n="pid" _y="43" _x="31" _r="3" _pri="1" _vr="mixed"/><abDCFED24D _n="name" _y="43" _x="37" _r="3" _pri="2" _vr="mixed"/><abAFDCE5D4 _n="wpdb" _y="44" _x="21" _r="3" _to="13"/></favar><fapar><naB745A002 _n="pid" _y="43" _x="31" _pri="1" _to="0" _vr="mixed"/><naDCFED24D _n="name" _y="43" _x="37" _pri="2" _to="0" _vr="mixed"/></fapar></ma23F81CAA><ma0D093E13 _n="get_wpdc_meta" _y="55" _x="27" _ex="5" _ey="65" _al="mixed $pid, mixed $name, mixed $single = true" _vr="$d.value" _s="1"><_doc>fdBAF98E09</_doc><favar><abB745A002 _n="pid" _y="55" _x="28" _r="3" _pri="1" _vr="mixed"/><abDCFED24D _n="name" _y="55" _x="34" _r="3" _pri="2" _vr="mixed"/><ab1C1FE643 _n="single" _y="55" _x="41" _r="3" _pri="3" _val="true" _vr="mixed"/><abAFDCE5D4 _n="wpdb" _y="56" _x="21" _r="3" _to="13"/><ab053F6F95 _n="data" _y="57" _x="14" _r="5" _vr="$wpdb.get_results()"/><abA343B7BF _n="d" _y="60" _x="28" _r="7"/><ab12435CB7 _n="metas" _y="62" _x="19" _r="2" _vr="$d.value"/></favar><fapar><naB745A002 _n="pid" _y="55" _x="28" _pri="1" _to="0" _vr="mixed"/><naDCFED24D _n="name" _y="55" _x="34" _pri="2" _to="0" _vr="mixed"/><na1C1FE643 _n="single" _y="55" _x="41" _pri="3" _val="true" _to="9" _vr="mixed"/></fapar></ma0D093E13><maEC646B81 _n="wpdc_multi_user" _y="73" _x="29" _ex="5" _ey="78" _al="mixed $cond" _s="1"><_doc>fdC3E460D3</_doc><favar><abD21473E7 _n="cond" _y="73" _x="30" _r="4" _pri="1" _vr="mixed"/><abAFDCE5D4 _n="wpdb" _y="74" _x="21" _r="1" _to="13"/><ab6A57CFA6 _n="current_user" _y="74" _x="36" _r="2" _to="13"/><ab0446CB43 _n="ismu" _y="76" _x="14" _r="3"/></favar><fapar><naD21473E7 _n="cond" _y="73" _x="30" _pri="1" _to="4" _vr="mixed"/></fapar></maEC646B81><ma08B099C3 _n="wpdc_popup" _y="84" _x="24" _ex="5" _ey="113"><_doc>fd4B618AA0</_doc></ma08B099C3><maB045303F _n="__msg" _y="115" _x="19" _ex="5" _ey="118" _al="$key" _s="1"><favar><ab4B640BDE _n="key" _y="115" _x="20" _r="5" _pri="1"/><ab1C0F66FE _n="msgs" _y="117" _x="21" _r="2"/></favar><fapar><na4B640BDE _n="key" _y="115" _x="20" _pri="1" _to="0"/></fapar></maB045303F></fafnc><_hsh><fd05E293ED _y="2" _x="5">/**\n * add new package meta\n * \n * @param mixed $pid\n * @param mixed $name\n * @param mixed $value\n */</fd05E293ED><fd26D1BA93 _y="19" _x="5">/**\n * update package meta\n * \n * @param mixed $pid\n * @param mixed $name\n * @param mixed $value\n * @param mixed $uniq\n */</fd26D1BA93><fdB3019085 _y="37" _x="5">/**\n * delete package meta\n * \n * @param mixed $pid\n * @param mixed $name\n */</fdB3019085><fdBAF98E09 _y="48" _x="5">/**\n * get package meta\n * \n * @param mixed $pid\n * @param mixed $name\n * @param mixed $single\n */</fdBAF98E09><fdC3E460D3 _y="67" _x="5">/**\n * check if multi-user ebabled\n * \n * @param mixed $cond\n */</fdC3E460D3><fd4B618AA0 _y="80" _x="5">/**\n * popup\n * \n */</fd4B618AA0></_hsh><favar><abAFDCE5D4 _n="wpdb" _y="10" _x="21" _r="14"/><ab6A57CFA6 _n="current_user" _y="74" _x="36" _r="2"/></favar><_rslv><ab469BAD9C _n=".is_array()"/><ab39C49F6B _n=".serialize()"/><ab947AEB55 _n="$wpdb.get_var"/><ab130C0FEC _n="$wpdb.get_var()"/><ab938C36EF _n="$wpdb.prefix"/><ab08EFF854 _n="$wpdb.insert"/><ab1059A9F6 _n="$wpdb.insert()"/><ab9B5F3A29 _n="$wpdb.show_errors"/><ab07517A4B _n="$wpdb.show_errors()"/><ab8C1E0E96 _n=".delete_wpdc_meta()"/><ab3FD842B2 _n=".add_wpdc_meta()"/><ab4EE10C8F _n="$wpdb.query"/><ab1E5C9923 _n="$wpdb.query()"/><abE50C03E1 _n="$wpdb.get_results"/><ab79D15B35 _n="$wpdb.get_results()"/><abE07A8A7C _n=".unserialize()"/><ab4D292B7F _n="$wpdb.get_results().value"/><ab13DE7068 _n="$d.value">.is_array()</ab13DE7068><abA5CB4357 _n="$d.name"/><abABDCD7A7 _n=".get_currentuserinfo()"/><abB2448AFB _n=".get_option()"/><ab358D1AFE _n="$current_user.caps"/></_rslv><falnk><ia2A976884 _n="include" _y="116" _x="33" _val="("messages.php")"/></falnk><facss><fasel><nb67EFD31B _n=".jqifade"><falstruct><dcD7309E4A _n=".jqifade" _y="99" _x="13" _ex="20" _ey="99" _spt="3"/></falstruct></nb67EFD31B><nbE58DE529 _n="div.jqi"><falstruct><fc354AB85B _n="div" _y="100" _x="13" _ex="15" _ey="100" _spt="1"/><dc838DB031 _n=".jqi" _y="100" _x="16" _ex="19" _ey="100" _spt="3"/></falstruct></nbE58DE529><nb221BA466 _n="div.jqi .jqicontainer"><falstruct><fc70BECF26 _n="div" _y="101" _x="13" _ex="15" _ey="101" _spt="1"/><dc40DE9D1A _n=".jqi" _y="101" _x="16" _ex="19" _ey="101" _spt="3"/><hc26331669 _n=" " _spt="5"/><dcCDC14737 _n=".jqicontainer" _y="101" _x="21" _ex="33" _ey="101" _spt="3"/></falstruct></nb221BA466><nbCC48F37D _n="div.jqi .jqiclose"><falstruct><fcB9FE6C58 _n="div" _y="102" _x="13" _ex="15" _ey="102" _spt="1"/><dcE6A10959 _n=".jqi" _y="102" _x="16" _ex="19" _ey="102" _spt="3"/><hc9EA16DF5 _n=" " _spt="5"/><dcA0E1B9DA _n=".jqiclose" _y="102" _x="21" _ex="29" _ey="102" _spt="3"/></falstruct></nbCC48F37D><nb89BC8400 _n="div.jqi .jqimessage"><falstruct><fc7E682D17 _n="div" _y="103" _x="13" _ex="15" _ey="103" _spt="1"/><dcA3557E24 _n=".jqi" _y="103" _x="16" _ex="19" _ey="103" _spt="3"/><hc55789916 _n=" " _spt="5"/><dcA8AF3825 _n=".jqimessage" _y="103" _x="21" _ex="31" _ey="103" _spt="3"/></falstruct></nb89BC8400><nb22E7466F _n="div.jqi .jqibuttons"><falstruct><fc5751D94A _n="div" _y="104" _x="13" _ex="15" _ey="104" _spt="1"/><dc080EBC4B _n=".jqi" _y="104" _x="16" _ex="19" _ey="104" _spt="3"/><hc700ED8E7 _n=" " _spt="5"/><dcAC6D2757 _n=".jqibuttons" _y="104" _x="21" _ex="31" _ey="104" _spt="3"/></falstruct></nb22E7466F><nb67133112 _n="div.jqi button"><falstruct><fc90C79805 _n="div" _y="105" _x="13" _ex="15" _ey="105" _spt="1"/><dc4DFACB36 _n=".jqi" _y="105" _x="16" _ex="19" _ey="105" _spt="3"/><hcBBD72C04 _n=" " _spt="5"/><fcA23F1474 _n="button" _y="105" _x="21" _ex="26" _ey="105" _spt="1"/></falstruct></nb67133112><nb4780FAD7 _n="div.jqi button:hover"><falstruct><fc323665F2 _n="div" _y="106" _x="13" _ex="15" _ey="106" _spt="1"/><dc6D6900F3 _n=".jqi" _y="106" _x="16" _ex="19" _ey="106" _spt="3"/><hc1569645F _n=" " _spt="5"/><fc8A260679 _n="button" _y="106" _x="21" _ex="26" _ey="106" _spt="1"/><ec304BB496 _n=":hover" _spt="4"/></falstruct></nb4780FAD7><nbC127A081 _n="div.jqi button.jqidefaultbutton"><falstruct><fcB4913FA4 _n="div" _y="107" _x="13" _ex="15" _ey="107" _spt="1"/><dcE781EF09 _n=".jqi" _y="107" _x="16" _ex="19" _ey="107" _spt="3"/><hc9F818BA5 _n=" " _spt="5"/><fc37DBBD80 _n="button" _y="107" _x="21" _ex="26" _ey="107" _spt="1"/><dcD83567BC _n=".jqidefaultbutton" _y="107" _x="27" _ex="43" _ey="107" _spt="3"/></falstruct></nbC127A081><nb7CDA1B78 _n=".jqiwarning .jqi .jqibuttons"><falstruct><dcB095F64E _n=".jqiwarning" _y="108" _x="13" _ex="23" _ey="108" _spt="3"/><hc6BC7F28D _n=" " _spt="5"/><dc13C79621 _n=".jqi" _y="108" _x="25" _ex="28" _ey="108" _spt="3"/><hcE9A5C4BF _n=" " _spt="5"/><dcB3616159 _n=".jqibuttons" _y="108" _x="30" _ex="40" _ey="108" _spt="3"/></falstruct></nb7CDA1B78></fasel></facss></ea2B9606AE><ea0313FFDD _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\process.php" _n="process.php" _sz="11648" _p="1" _crc="3609249464" _dt="1052872340"><favar><ab053F6F95 _n="data" _y="3" _x="6" _r="6" _vr=".unserialize()"/><ab77CB9B76 _n="_GET" _y="3" _x="74" _r="2"/><abF43D8317 _n="fname" _y="11" _x="11" _r="6"/><ab0426584F _n="mime_types" _y="17" _x="16" _r="2"/><ab54E4EE4F _n="mtype" _y="204" _x="11" _r="2"/><ab1E11B467 _n="asfname" _y="206" _x="13" _r="2" _vr=".basename()"/><ab45F4A0D1 _n="fsize" _y="208" _x="11" _r="3" _vr=".filesize()"/><ab6100D8CA _n="file" _y="222" _x="10" _r="5" _vr=".fopen()"/></favar><_rslv><abE07A8A7C _n=".unserialize()"/><ab93997FE6 _n=".file_get_contents()"/><ab1877273D _n=".dirname()"/><ab469BAD9C _n=".is_array()"/><abB475CEB8 _n=".unlink()"/><abAC5BFBC9 _n=".file_exists()"/><ab1A56F49A _n=".strtolower()"/><abBD192035 _n=".end()"/><ab5C1FE996 _n=".explode()"/><ab325D29CA _n=".basename()"/><ab17D5460C _n=".filesize()"/><abC5F7790A _n=".header()"/><abCD535C77 _n=".fopen()"/><abEFD8BD01 _n=".fread()"/><abC891668A _n=".flush()"/><ab36B147B1 _n=".connection_status()"/><ab4EBA7110 _n=".fclose()"/></_rslv></ea0313FFDD><eaA3573768 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-add-new-file.php" _n="wpdc-add-new-file.php" _sz="6514" _p="1" _crc="3451728348" _dt="1052872340"><_rslv><ab874A99D3 _n=".plugins_url()"/><abF5FECA14 _n=".the_editor()"/><ab6D7D7B72 _n=".stripslashes()"/><ab2B0F8458 _n=".wp_nonce_field()"/><ab224FF3FC _n=".maybe_unserialize()"/><ab469BAD9C _n=".is_array()"/><ab8F6C4766 _n=".wpdc_cblist_categories()"/><ab325D29CA _n=".basename()"/></_rslv><favar><ab77CB9B76 _n="_GET" _y="27" _x="15" _r="2"/><ab6100D8CA _n="file" _y="36" _x="55" _r="12"/><abF4B4D991 _n="currentAccesss" _y="92" _x="17" _r="4" _vr=".maybe_unserialize()"/><ab0BBAF478 _n="files" _y="136" _x="16" _r="1"/></favar><facss><fasel><nb67EFD31B _n=".wrap *"><falstruct><dcAB4200E1 _n=".wrap" _y="2" _x="1" _ex="5" _ey="2" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fc890A5FE5 _n="*" _y="2" _x="7" _ex="7" _ey="2" _spt="1"/></falstruct></nb67EFD31B><nb632ABF7F _n="input[type=text]"><falstruct><fc55A32C4F _n="input" _y="7" _x="1" _ex="5" _ey="7" _spt="1"/><ic55A30EDE _n="type" _val="text" _spt="6" _sop="="/></falstruct></nb632ABF7F><nbA0799254 _n="textarea"><falstruct><fc427F2AFB _n="textarea" _y="7" _x="18" _ex="25" _ey="7" _spt="1"/></falstruct></nbA0799254><nb2E5411CA _n="input"><falstruct><fcCBB537D8 _n="input" _y="12" _x="1" _ex="5" _ey="12" _spt="1"/></falstruct></nb2E5411CA><nb8D79E864 _n=".cfile"><falstruct><dc74954244 _n=".cfile" _y="15" _x="1" _ex="6" _ey="15" _spt="3"/></falstruct></nb8D79E864><nb0F1BDE56 _n=".dfile"><falstruct><dc3298D577 _n=".dfile" _y="16" _x="1" _ex="6" _ey="16" _spt="3"/></falstruct></nb0F1BDE56><nb89BC8400 _n=".cfile img"><falstruct><dc70502E20 _n=".cfile" _y="17" _x="1" _ex="6" _ey="17" _spt="3"/><hc9A640191 _n=" " _spt="5"/><fc84119030 _n="img" _y="17" _x="8" _ex="10" _ey="17" _spt="1"/></falstruct></nb89BC8400><nb85F331AC _n=".dfile img"><falstruct><dcD8F20C01 _n=".dfile" _y="17" _x="13" _ex="18" _ey="17" _spt="3"/><hcF26CEED5 _n=" " _spt="5"/><fcE056CAD8 _n="img" _y="17" _x="20" _ex="22" _ey="17" _spt="1"/></falstruct></nb85F331AC><nbE1B46B44 _n=".inside"><falstruct><dc304C45EC _n=".inside" _y="18" _x="1" _ex="7" _ey="18" _spt="3"/></falstruct></nbE1B46B44><nb67133112 _n="#editorcontainer textarea"><falstruct><gcD05A9B05 _n="#editorcontainer" _y="19" _x="1" _ex="16" _ey="19" _spt="2"/><hc74CBB483 _n=" " _spt="5"/><fc9FE6D77A _n="textarea" _y="19" _x="18" _ex="25" _ey="19" _spt="1"/></falstruct></nb67133112><nb6B5C84BE _n="#file_uploadUploader"><falstruct><gcA340F17D _n="#file_uploadUploader" _y="20" _x="1" _ex="20" _ey="20" _spt="2"/></falstruct></nb6B5C84BE><nb06B1E1CE _n="#file_uploadUploader:hover"><falstruct><gc2122C74F _n="#file_uploadUploader" _y="21" _x="1" _ex="20" _ey="21" _spt="2"/><ecB6ECEEC0 _n=":hover" _spt="4"/></falstruct></nb06B1E1CE><nb434596B3 _n=".frm td"><falstruct><dcD15A63B3 _n=".frm" _y="22" _x="1" _ex="4" _ey="22" _spt="3"/><hc509D1322 _n=" " _spt="5"/><fcCB053B53 _n="td" _y="22" _x="6" _ex="7" _ey="22" _spt="1"/></falstruct></nb434596B3></fasel></facss><_prl><gdE1AE28D8 _y="42" _x="94" _prt="3,4,1,1,0" _pmg="unexpected end of file"/></_prl></eaA3573768><ea288443A9 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-categories.php" _n="wpdc-categories.php" _sz="4676" _p="1" _crc="2484005270" _dt="1052872340"><fafnc><ma081AFC96 _n="wpdm_render_cats" _y="43" _x="30" _ex="47" _ey="65" _al="$parent, $level = 0" _s="1"><favar><abECE3A3B8 _n="parent" _y="43" _x="31" _r="3" _pri="1"/><abEE106E57 _n="level" _y="43" _x="42" _r="4" _pri="2" _val="0"/><abCF8675CE _n="categories" _y="44" _x="19" _r="3" _vr=".maybe_unserialize()"/><abC9360499 _n="id" _y="46" _x="31" _r="6"/><abBA28DA1E _n="category" _y="46" _x="42" _r="3"/><abC8308D78 _n="pres" _y="48" _x="18" _r="2" _vr=".str_repeat()"/></favar><fapar><naECE3A3B8 _n="parent" _y="43" _x="31" _pri="1" _to="4"/><naEE106E57 _n="level" _y="43" _x="42" _pri="2" _val="0" _to="2"/></fapar></ma081AFC96></fafnc><_rslv><ab224FF3FC _n=".maybe_unserialize()"/><abB2448AFB _n=".get_option()"/><ab469BAD9C _n=".is_array()"/><ab7CD09A74 _n=".str_repeat()"/><ab16BD4A3A _n=".wpdm_render_cats()"/><ab3E9F79DC _n=".htmlspecialchars()"/><ab6D7D7B72 _n=".stripslashes()"/><ab9A074D55 _n=".wpdc_cat_dropdown_tree()"/></_rslv><favar><ab77CB9B76 _n="_GET" _y="74" _x="131" _r="5"/><ab3C0F9408 _n="cat" _y="79" _x="9" _r="11" _vr=".maybe_unserialize()"/></favar><facss><fasel><nb67EFD31B _n=".wrap *"><falstruct><dcAB4200E1 _n=".wrap" _y="2" _x="1" _ex="5" _ey="2" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fc890A5FE5 _n="*" _y="2" _x="7" _ex="7" _ey="2" _spt="1"/></falstruct></nb67EFD31B><nb632ABF7F _n="input[type=text]"><falstruct><fc55A32C4F _n="input" _y="7" _x="1" _ex="5" _ey="7" _spt="1"/><ic55A30EDE _n="type" _val="text" _spt="6" _sop="="/></falstruct></nb632ABF7F><nbA0799254 _n="textarea"><falstruct><fc427F2AFB _n="textarea" _y="7" _x="18" _ex="25" _ey="7" _spt="1"/></falstruct></nbA0799254><nb2E5411CA _n="input"><falstruct><fcCBB537D8 _n="input" _y="12" _x="1" _ex="5" _ey="12" _spt="1"/></falstruct></nb2E5411CA></fasel></facss></ea288443A9><eaA32D146D _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-free-mce-button.php" _n="wpdc-free-mce-button.php" _sz="4095" _p="1" _crc="2161431151" _dt="1052925448"><_rslv><ab875B5694 _n=".add_filter()"/><abA30FED84 _n=".array_push()"/><ab60FB45A7 _n=".trim()"/><ab301F6CF3 _n=".get_bloginfo()"/><ab10368BE0 _n=".bloginfo()"/><abB2448AFB _n=".get_option()"/><abE50C03E1 _n="$wpdb.get_results"/><ab79D15B35 _n="$wpdb.get_results()"/><ab938C36EF _n="$wpdb.prefix"/><ab42DE73AF _n=".wpdc_dropdown_categories()"/><ab060EE961 _n=".home_url()"/><ab1B360886 _n=".add_action()"/></_rslv><fafnc><maA42B4BF6 _n="wpdc_tinyplugin_add_button" _y="8" _x="36" _ex="1" _ey="12" _al="$buttons" _s="1"><favar><ab5A96EF0E _n="buttons" _y="8" _x="37" _r="4" _pri="1"/></favar><fapar><na5A96EF0E _n="buttons" _y="8" _x="37" _pri="1" _to="0"/></fapar></maA42B4BF6><ma35BA0FB6 _n="wpdc_tinyplugin_register" _y="14" _x="34" _ex="1" _ey="20" _al="$plugin_array" _s="1"><favar><ab07988FB8 _n="plugin_array" _y="14" _x="35" _r="4" _pri="1"/><ab928EAC1D _n="url" _y="16" _x="9" _r="2"/></favar><fapar><na07988FB8 _n="plugin_array" _y="14" _x="35" _pri="1" _to="0"/></fapar></ma35BA0FB6><ma4FA65C0A _n="wpdc_free_tinymce" _y="23" _x="27" _ex="1" _ey="119" _s="1"><favar><abAFDCE5D4 _n="wpdb" _y="24" _x="17" _r="3" _to="13"/><ab77CB9B76 _n="_GET" _y="25" _x="13" _r="1"/><ab92DF3D00 _n="res" _y="70" _x="9" _r="2" _vr="$wpdb.get_results()"/><abF2FAEC0B _n="row" _y="71" _x="25" _r="3"/></favar></ma4FA65C0A></fafnc><favar><abAFDCE5D4 _n="wpdb" _y="24" _x="17" _r="3"/></favar><facss><fasel><nb67EFD31B _n="*"><falstruct><fc0B6869D7 _n="*" _y="32" _x="1" _ex="1" _ey="32" _spt="1"/></falstruct></nb67EFD31B><nbE58DE529 _n="select"><falstruct><fc906E3DC5 _n="select" _y="33" _x="1" _ex="6" _ey="33" _spt="1"/></falstruct></nbE58DE529><nb632ABF7F _n="input"><falstruct><fc55A32C4F _n="input" _y="33" _x="8" _ex="12" _ey="33" _spt="1"/></falstruct></nb632ABF7F><nbE148894D _n=".button"><falstruct><dc1FA34790 _n=".button" _y="34" _x="1" _ex="7" _ey="34" _spt="3"/></falstruct></nbE148894D><nb6F650AD3 _n=".input"><falstruct><dcA97E084F _n=".input" _y="49" _x="1" _ex="6" _ey="49" _spt="3"/></falstruct></nb6F650AD3><nbCC48F37D _n=".button-primary"><falstruct><dcE712B706 _n=".button-primary" _y="61" _x="1" _ex="15" _ey="61" _spt="3"/></falstruct></nbCC48F37D><nb4E2AC54F _n="fieldset"><falstruct><fc82E59B23 _n="fieldset" _y="62" _x="1" _ex="8" _ey="62" _spt="1"/></falstruct></nb4E2AC54F></fasel></facss><_prl><gd66268258 _y="41" _x="16" _prt="3,2,1,102,0" _pmg="MSIE-specific CSS syntax"/><gdD988CB96 _y="57" _x="16" _prt="3,2,1,102,0" _pmg="MSIE-specific CSS syntax"/></_prl></eaA32D146D><ea52C8BAD8 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-list-files.php" _n="wpdc-list-files.php" _sz="8148" _p="1" _crc="1428155774" _dt="1053323648"><favar><abAFDCE5D4 _n="wpdb" _y="2" _x="13" _r="3"/><ab18D01DA1 _n="limit" _y="3" _x="7" _r="6"/><ab623EDC60 _n="start" _y="5" _x="7" _r="2"/><ab77CB9B76 _n="_GET" _y="5" _x="15" _r="5"/><ab92DF3D00 _n="res" _y="6" _x="5" _r="2" _vr=".mysql_query()"/><abF2FAEC0B _n="row" _y="8" _x="5" _r="4" _vr=".mysql_fetch_assoc()"/><abB519CA09 _n="media" _y="80" _x="23" _r="17" _vr=".mysql_fetch_assoc()"/><ab8E472243 _n="icon" _y="84" _x="26" _r="8"/><ab437BEC6B _n="page_links" _y="124" _x="12" _r="3" _vr=".paginate_links()"/><ab5D215187 _n="page_links_text" _y="141" _x="51" _r="2" _vr=".sprintf()"/></favar><_rslv><ab5EB460BC _n=".mysql_query()"/><ab938C36EF _n="$wpdb.prefix"/><ab7FA0640A _n=".mysql_fetch_assoc()"/><abBD192035 _n=".end()"/><ab5C1FE996 _n=".explode()"/><abAC5BFBC9 _n=".file_exists()"/><ab1877273D _n=".dirname()"/><ab8D49ED36 _n=".paginate_links()"/><ab5B9A4D98 _n=".add_query_arg()"/><ab98E7FF1D _n=".__()"/><ab27B6EBD1 _n=".ceil()"/><ab88FB05A9 _n=".sprintf()"/><abD9A26C60 _n=".number_format_i18n()"/><ab3673A98D _n=".min()"/></_rslv><facss><fasel><nb67EFD31B _n=".wrap *"><falstruct><dcAB4200E1 _n=".wrap" _y="12" _x="1" _ex="5" _ey="12" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fc890A5FE5 _n="*" _y="12" _x="7" _ex="7" _ey="12" _spt="1"/></falstruct></nb67EFD31B></fasel></facss></ea52C8BAD8><eaBA4691E0 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-server-file-browser.php" _n="wpdc-server-file-browser.php" _sz="2829" _p="1" _crc="316912937" _dt="1052925448"><fafnc><ma84027707 _n="wpdc_dir_tree" _y="3" _x="23" _ex="1" _ey="27" _s="1"><favar><ab77CB9B76 _n="_GET" _y="4" _x="13" _r="1"/><ab2F392DF8 _n="_POST" _y="5" _x="11" _r="10" _vr=".urldecode()"/><ab53501CA5 _n="root" _y="6" _x="26" _r="6"/><ab0BBAF478 _n="files" _y="7" _x="12" _r="5" _vr=".scandir()"/><ab6100D8CA _n="file" _y="12" _x="31" _r="15"/><ab34F4DCF3 _n="ext" _y="20" _x="13" _r="2" _vr=".preg_replace()"/></favar></ma84027707><ma3F75AADB _n="wpdc_file_browser" _y="29" _x="27" _ex="1" _ey="61" _s="1"><favar><ab77CB9B76 _n="_GET" _y="30" _x="13" _r="1"/><abC3353E85 _n="_SERVER" _y="42" _x="80" _r="1"/></favar></ma3F75AADB></fafnc><_rslv><abF3DC3F29 _n=".urldecode()"/><abAC5BFBC9 _n=".file_exists()"/><ab62757A60 _n=".scandir()"/><ab120BA9D4 _n=".natcasesort()"/><ab4FCBF1EA _n=".count()"/><abDBE1D690 _n=".is_dir()"/><abD915D19A _n=".htmlentities()"/><ab786734F4 _n=".preg_replace()"/><ab874A99D3 _n=".plugins_url()"/><abB2448AFB _n=".get_option()"/><abA9201B64 _n=".is_admin()"/><ab2BBF6839 _n=".wp_enqueue_script()"/><ab1B360886 _n=".add_action()"/></_rslv><facss><fasel><nb67EFD31B _n=".jqueryFileTree li"><falstruct><dc926969EA _n=".jqueryFileTree" _y="33" _x="28" _ex="42" _ey="33" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fcC44C4E83 _n="li" _y="33" _x="44" _ex="45" _ey="33" _spt="1"/></falstruct></nb67EFD31B></fasel></facss></eaBA4691E0><ea453EE848 _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-settings.php" _n="wpdc-settings.php" _sz="1595" _p="1" _crc="2153703175" _dt="1052872340"><favar><ab72BAC876 _n="access" _y="29" _x="47" _r="2"/></favar><_rslv><abB2448AFB _n=".get_option()"/><ab874A99D3 _n=".plugins_url()"/></_rslv><facss><fasel><nb67EFD31B _n=".wrap *"><falstruct><dcAB4200E1 _n=".wrap" _y="2" _x="1" _ex="5" _ey="2" _spt="3"/><hcACDBF993 _n=" " _spt="5"/><fc890A5FE5 _n="*" _y="2" _x="7" _ex="7" _ey="2" _spt="1"/></falstruct></nb67EFD31B><nb632ABF7F _n="input[type=text]"><falstruct><fc55A32C4F _n="input" _y="7" _x="1" _ex="5" _ey="7" _spt="1"/><ic55A30EDE _n="type" _val="text" _spt="6" _sop="="/></falstruct></nb632ABF7F><nbA0799254 _n="textarea"><falstruct><fc427F2AFB _n="textarea" _y="7" _x="18" _ex="25" _ey="7" _spt="1"/></falstruct></nbA0799254><nb2E5411CA _n="input"><falstruct><fcCBB537D8 _n="input" _y="12" _x="1" _ex="5" _ey="12" _spt="1"/></falstruct></nb2E5411CA></fasel></facss></ea453EE848><ea8A19846E _rn="E:\xampp\htdocs\wpdm\wp-content\plugins\download-controler\wpdc-widgets.php" _n="wpdc-widgets.php" _sz="2371" _p="1" _crc="3941145648" _dt="1052872340"><facls><jaE6D3EFD9 _n="wpdc_newpacks_widget" _y="5" _x="45" _ex="1" _ey="59" _exp="1" _s="0" _par="WP_Widget"><fafnc><oaE6D3EFD9 _n="wpdc_newpacks_widget" _y="7" _x="34" _ex="5" _ey="9" _mod="73984"><_doc>fdFE4B7F81</_doc></oaE6D3EFD9><oa3154F1FF _n="widget" _y="12" _x="20" _ex="5" _ey="26" _al="$args, $instance" _mod="65792" _s="1"><_doc>fd8A066FF5</_doc><favar><abF6C99562 _n="args" _y="12" _x="21" _r="3" _pri="1"/><abBC92E803 _n="instance" _y="12" _x="28" _r="5" _pri="2"/><ab7591BAD5 _n="title" _y="14" _x="15" _r="3" _vr=".apply_filters()"/><ab03791F39 _n="sdc" _y="15" _x="13" _r="2"/><abD5AEB930 _n="nop" _y="16" _x="13" _r="2"/><abAFF424D8 _n="before_widget" _y="18" _x="40" _r="1"/><ab940E5C39 _n="before_title" _y="20" _x="43" _r="1"/><abA551F1A4 _n="after_title" _y="20" _x="67" _r="1"/><abD522ADE5 _n="after_widget" _y="24" _x="34" _r="1"/></favar><fapar><naF6C99562 _n="args" _y="12" _x="21" _pri="1" _to="0"/><naBC92E803 _n="instance" _y="12" _x="28" _pri="2" _to="0"/></fapar></oa3154F1FF><oa7B9054A5 _n="update" _y="29" _x="20" _ex="5" _ey="35" _al="$new_instance, $old_instance" _mod="65792" _vr=".strip_tags()" _s="1"><_doc>fdCA23A75C</_doc><favar><ab974A27B3 _n="new_instance" _y="29" _x="21" _r="5" _pri="1"/><ab9F8B06D3 _n="old_instance" _y="29" _x="36" _r="3" _pri="2"/><abBC92E803 _n="instance" _y="30" _x="14" _r="5" _vr=".strip_tags()"/></favar><fapar><na974A27B3 _n="new_instance" _y="29" _x="21" _pri="1" _to="0"/><na9F8B06D3 _n="old_instance" _y="29" _x="36" _pri="2" _to="0"/></fapar></oa7B9054A5><oaD8499E64 _n="form" _y="38" _x="18" _ex="5" _ey="57" _al="$instance" _mod="256" _s="1"><_doc>fdC0854D67</_doc><favar><abBC92E803 _n="instance" _y="38" _x="19" _r="5" _pri="1"/><ab7591BAD5 _n="title" _y="39" _x="15" _r="2" _vr=".esc_attr()"/><ab03791F39 _n="sdc" _y="40" _x="13" _r="2" _vr=".esc_attr()"/><abD5AEB930 _n="nop" _y="41" _x="13" _r="2" _vr=".esc_attr()"/><ab77A05C14 _n="this" _y="44" _x="39" _r="9"/></favar><fapar><naBC92E803 _n="instance" _y="38" _x="19" _pri="1" _to="0"/></fapar></oaD8499E64></fafnc></jaE6D3EFD9></facls><_hsh><fdFE4B7F81 _y="6" _x="5">/** constructor */</fdFE4B7F81><fd8A066FF5 _y="11" _x="5">/** @see WP_Widget::widget */</fd8A066FF5><fdCA23A75C _y="28" _x="5">/** @see WP_Widget::update */</fdCA23A75C><fdC0854D67 _y="37" _x="5">/** @see WP_Widget::form */</fdC0854D67></_hsh><_rslv><abE5ECE0CD _n="WP_Widget.WP_Widget()"/><ab3146EAB6 _n=".extract()"/><ab42896E64 _n=".apply_filters()"/><ab4DABD018 _n=".wpdc_new_packages()"/><abA791C526 _n=".strip_tags()"/><ab75A1E851 _n=".esc_attr()"/><abC5630884 _n="wpdc_newpacks_widget.get_field_id"/><ab46BECE08 _n="wpdc_newpacks_widget.get_field_id()"/><ab53C31EB8 _n="._e()"/><abEA8EC0A2 _n="wpdc_newpacks_widget.get_field_name"/><ab669A8B80 _n="wpdc_newpacks_widget.get_field_name()"/><ab1B360886 _n=".add_action()"/><ab491E6EBA _n=".create_function()"/></_rslv></ea8A19846E></ca52F9DEE0><_ver ParserProp_Override="0" ParserProp_PHP_SubLang="2" ParserPropPHPShortTags="1" ParserProp_PHP_AspTags="0" ParserProp_JS_ParsePHP="0" ParserProp_CSS_ParsePHP="0">1125397</_ver><_grp><fadef _s="1"/><favar _s="1"/><facls _s="1"/><fafnc _s="1"/><faint/><fanms/><fajsfnc _s="1"/><fajsvar _s="1"/></_grp></_root>
|
wpdm-add-new-file.php
ADDED
@@ -0,0 +1,307 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.wrap *{
|
3 |
+
|
4 |
+
letter-spacing: 1px;
|
5 |
+
}
|
6 |
+
|
7 |
+
input[type=text],textarea{
|
8 |
+
|
9 |
+
|
10 |
+
}
|
11 |
+
|
12 |
+
input{
|
13 |
+
padding: 4px 7px;
|
14 |
+
}
|
15 |
+
.cfile{margin: 2px;border:1px solid #008000;background: #F3FFF2;overflow:hidden;padding:5px;}
|
16 |
+
.dfile{margin: 2px;border:1px solid #800;background: #ffdfdf;overflow:hidden;padding:5px;}
|
17 |
+
.cfile img, .dfile img{cursor: pointer;}
|
18 |
+
.inside{padding:10px !important;}
|
19 |
+
#editorcontainer textarea{border:0px;width:99.9%;}
|
20 |
+
#file_uploadUploader {background: transparent url('<?php echo plugins_url(); ?>/download-manager/images/browse.png') left top no-repeat; }
|
21 |
+
#file_uploadUploader:hover {background-position: left bottom; }
|
22 |
+
.frm td{line-height: 30px; border-bottom: 1px solid #EEEEEE; padding:5px; font-size:9pt;font-family: Tahoma;}
|
23 |
+
|
24 |
+
</style>
|
25 |
+
|
26 |
+
<div class="wrap metabox-holder has-right-sidebar">
|
27 |
+
<?php if($_GET['task']=='wpdm_edit_file'){ ?>
|
28 |
+
<div class="icon32" id="icon-add-new-file"><br></div>
|
29 |
+
<h2>Edit Download Package</h2>
|
30 |
+
<?php } else { ?>
|
31 |
+
<div class="icon32" id="icon-add-new-file"><br></div>
|
32 |
+
<h2>Add New Download Package</h2>
|
33 |
+
|
34 |
+
<?php }?>
|
35 |
+
<form action="" method="post" enctype="multipart/form-data">
|
36 |
+
<input type="hidden" name="id" value="<?php echo $file['id']; ?>" />
|
37 |
+
<div style="width: 75%;float:left;">
|
38 |
+
|
39 |
+
<table cellpadding="5" cellspacing="5" width="100%">
|
40 |
+
<tr>
|
41 |
+
|
42 |
+
<td><input style="font-size:16pt;width:100%;color:<?php echo $file['title']?'#000':'#ccc'; ?>" onfocus="if(this.value=='Enter title here') {this.value=''; jQuery(this).css('color','#000'); }" onblur="if(this.value==''||this.value=='Enter title here') {this.value='Enter title here'; jQuery(this).css('color','#ccc');}" type="text" value="<?php echo $file['title']?$file['title']:'Enter title here'; ?>" name="file[title]" /></td>
|
43 |
+
</tr>
|
44 |
+
|
45 |
+
<tr>
|
46 |
+
<td valign="top">
|
47 |
+
<div id="poststuff" class="postarea">
|
48 |
+
<?php the_editor(stripslashes($file['description']),'file[description]','file[description]', true); ?>
|
49 |
+
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
50 |
+
<?php wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
|
51 |
+
</div>
|
52 |
+
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
|
56 |
+
|
57 |
+
<tr>
|
58 |
+
<td> <br>
|
59 |
+
|
60 |
+
<div style="width: 48%;float: left;">
|
61 |
+
<div class="postbox " id="file_settings">
|
62 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><span>Package Settings</span></h3>
|
63 |
+
<div class="inside">
|
64 |
+
<table cellpadding="5" id="file_settings_table" cellspacing="0" width="100%" class="frm">
|
65 |
+
<tr id="link_label_row">
|
66 |
+
<td width="110px">Link Label:</td>
|
67 |
+
<td><input size="10" type="text" style="width: 200px" value="<?php echo $file[link_label]?$file[link_label]:'Download'; ?>" name="file[link_label]" />
|
68 |
+
</td></tr>
|
69 |
+
<tr id="password_row">
|
70 |
+
<td>Password:</td>
|
71 |
+
<td><input size="10" style="width: 200px" type="text" name="file[password]" value="<?php echo $file[password]; ?>" /></td>
|
72 |
+
</tr>
|
73 |
+
<tr id="download_limit_row">
|
74 |
+
<td>Stock Limit:</td>
|
75 |
+
<td><input size="10" style="width: 80px" type="text" name="file[quota]" value="<?php echo $file[quota]; ?>" /></td>
|
76 |
+
</tr>
|
77 |
+
<tr>
|
78 |
+
<td>Download Count: </td>
|
79 |
+
<td><input type="text" name="file[download_count]" value="<?php echo $file[download_count]?$file[download_count]:0; ?>" /></td>
|
80 |
+
</tr>
|
81 |
+
|
82 |
+
<tr>
|
83 |
+
<td>Counter: </td>
|
84 |
+
<td><select name="file[show_counter]">
|
85 |
+
<option value="0">Hide</option>
|
86 |
+
<option value="1" <?php if($file['show_counter']!=0) echo 'selected="selected"'; ?> >Show</option>
|
87 |
+
</select></td>
|
88 |
+
</tr>
|
89 |
+
<tr>
|
90 |
+
<td width="70">Access:</td>
|
91 |
+
<td><select name="file[access]">
|
92 |
+
<option value="guest">All Visitors</option>
|
93 |
+
<option value="member" <?php if($file[access]=='memder') echo 'selected'; ?>>Members Only</option>
|
94 |
+
</select>
|
95 |
+
</td>
|
96 |
+
</tr>
|
97 |
+
</table>
|
98 |
+
<div class="clear"></div>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
|
102 |
+
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<div style="width: 48%;float: right;height: inherit;">
|
106 |
+
<div class="postbox " id="categories_meta_box">
|
107 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><span>Categories</span></h3>
|
108 |
+
<div class="inside">
|
109 |
+
<ul>
|
110 |
+
<?php
|
111 |
+
$currentAccesss = maybe_unserialize( $file['category'] );
|
112 |
+
if(!is_array($currentAccesss)) $currentAccesss = array();
|
113 |
+
wpdm_cblist_categories('',0,$currentAccesss);
|
114 |
+
?>
|
115 |
+
</ul>
|
116 |
+
|
117 |
+
<div class="clear"></div>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
|
121 |
+
|
122 |
+
</div>
|
123 |
+
|
124 |
+
|
125 |
+
</td>
|
126 |
+
</tr>
|
127 |
+
|
128 |
+
|
129 |
+
<tr>
|
130 |
+
|
131 |
+
<td align="right">
|
132 |
+
|
133 |
+
</td>
|
134 |
+
</tr>
|
135 |
+
|
136 |
+
</table>
|
137 |
+
</div>
|
138 |
+
<div style="float: right;width:23%">
|
139 |
+
|
140 |
+
<div class="postbox " id="upload_meta_box">
|
141 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><span>Upload file from PC</span></h3>
|
142 |
+
<div class="inside">
|
143 |
+
|
144 |
+
<div id="currentfiles">
|
145 |
+
<?php if($file['file']!=''){ ?>
|
146 |
+
<div class="cfile">
|
147 |
+
<nobr>
|
148 |
+
<b style="float: left"><?php echo basename($file['file']); ?></b> <a href='#' id="dcf" title="Delete Current File" style="float: right;">delete</a>
|
149 |
+
</nobr>
|
150 |
+
<div style="clear: both;"></div>
|
151 |
+
</div>
|
152 |
+
<?php } ?>
|
153 |
+
|
154 |
+
|
155 |
+
<?php if($files): ?>
|
156 |
+
<script type="text/javascript">
|
157 |
+
|
158 |
+
|
159 |
+
jQuery('#dcf').click(function(){
|
160 |
+
|
161 |
+
return false;
|
162 |
+
});
|
163 |
+
|
164 |
+
|
165 |
+
|
166 |
+
</script>
|
167 |
+
|
168 |
+
|
169 |
+
<?php endif; ?>
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
</div>
|
174 |
+
<input type="file" id="file_upload" name="media"/>
|
175 |
+
|
176 |
+
<div class="clear"></div>
|
177 |
+
</div>
|
178 |
+
</div>
|
179 |
+
|
180 |
+
<div class="postbox " id="action">
|
181 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><span>Add file from server</span></h3>
|
182 |
+
<div class="inside">
|
183 |
+
|
184 |
+
|
185 |
+
<ul id="serverfiles">
|
186 |
+
|
187 |
+
|
188 |
+
|
189 |
+
<?php
|
190 |
+
/*
|
191 |
+
$path = "wp-content/plugins/download-manager/imports/";
|
192 |
+
$scan = scandir( '../'.$path );
|
193 |
+
$k = 0;
|
194 |
+
foreach( $scan as $v )
|
195 |
+
{
|
196 |
+
if( $v=='.' or $v=='..' or is_dir('../'.$path.$v) ) continue;
|
197 |
+
|
198 |
+
$fileinfo[$k]['file'] = 'download-manager/imports/'.$v;
|
199 |
+
$fileinfo[$k]['name'] = $v;
|
200 |
+
$k++;
|
201 |
+
}
|
202 |
+
|
203 |
+
|
204 |
+
if( !empty($fileinfo) )
|
205 |
+
{
|
206 |
+
|
207 |
+
include dirname(__FILE__).'/imports.php';
|
208 |
+
?>
|
209 |
+
<div id="major-publishing-actions">
|
210 |
+
<div id="delete-action">
|
211 |
+
|
212 |
+
What do you want:<select name="whatido">
|
213 |
+
<option value="move"> Move files </option>
|
214 |
+
<option value="copy"> Copy files </option>
|
215 |
+
</select>
|
216 |
+
|
217 |
+
|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
|
222 |
+
<div class="clear"></div>
|
223 |
+
</div>
|
224 |
+
|
225 |
+
|
226 |
+
<?php
|
227 |
+
} else {
|
228 |
+
|
229 |
+
?>
|
230 |
+
<div style="padding: 5px;line-height: 1.5;font-family: Tahoma; letter-spacing: 1px;">
|
231 |
+
upload your files on <code>/wp-content/plugins/download-manager/imports/</code> using ftp, file list will show here.</div>
|
232 |
+
|
233 |
+
<?php } */ ?>
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
</ul> <br>
|
238 |
+
|
239 |
+
<a href="admin.php?page=file-manager&task=wpdm_file_browser" class="thickbox button-secondary">Open File Browser</a>
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
<div class="clear"></div>
|
249 |
+
</div>
|
250 |
+
</div>
|
251 |
+
|
252 |
+
|
253 |
+
<!--download icon-->
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
|
262 |
+
|
263 |
+
|
264 |
+
|
265 |
+
<div class="clear"></div>
|
266 |
+
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
<!--end downlaod icon-->
|
271 |
+
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
|
284 |
+
<div class="postbox " id="action">
|
285 |
+
<div title="Click to toggle" class="handlediv"><br></div><h3 class="hndle"><span>Actions</span></h3>
|
286 |
+
<div class="inside">
|
287 |
+
|
288 |
+
|
289 |
+
|
290 |
+
<input type="button" value="« Back" tabindex="9" class="button-secondary" onclick="location.href='admin.php?page=file-manager'" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
291 |
+
|
292 |
+
<input type="reset" value="Reset" tabindex="9" class="button-secondary" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
293 |
+
|
294 |
+
<input type="submit" value="<?php echo $_GET['task']=='wpdm_edit_file'?'Update Package':'Create Package'; ?>" accesskey="p" tabindex="5" id="publish" class="button-primary" name="publish">
|
295 |
+
<div class="clear"></div>
|
296 |
+
</div>
|
297 |
+
</div>
|
298 |
+
|
299 |
+
</div>
|
300 |
+
|
301 |
+
</form>
|
302 |
+
|
303 |
+
</div>
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
|
wpdm-categories.php
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.wrap *{
|
3 |
+
font-family: Tahoma;
|
4 |
+
letter-spacing: 1px;
|
5 |
+
}
|
6 |
+
|
7 |
+
input[type=text],textarea{
|
8 |
+
width:500px;
|
9 |
+
padding:5px;
|
10 |
+
}
|
11 |
+
|
12 |
+
input{
|
13 |
+
padding: 7px;
|
14 |
+
}
|
15 |
+
</style>
|
16 |
+
|
17 |
+
<div class="wrap">
|
18 |
+
<div class="icon32" id="icon-categories"><br></div>
|
19 |
+
<h2>Categories <a href='admin.php?page=file-manager/categories' class="button-secondary">add new</a></h2><br>
|
20 |
+
|
21 |
+
<div style="margin-left:10px;float: left;width:47%">
|
22 |
+
<table cellspacing="0" class="widefat fixed">
|
23 |
+
<thead>
|
24 |
+
<tr>
|
25 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
26 |
+
|
27 |
+
<th style="" class="manage-column column-media" id="media" scope="col">Category</th>
|
28 |
+
|
29 |
+
|
30 |
+
</tr>
|
31 |
+
</thead>
|
32 |
+
|
33 |
+
<tfoot>
|
34 |
+
<tr>
|
35 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
36 |
+
|
37 |
+
<th style="" class="manage-column column-media" id="media" scope="col">Category</th>
|
38 |
+
</tr>
|
39 |
+
</tfoot>
|
40 |
+
|
41 |
+
<tbody class="list:post" id="the-list">
|
42 |
+
<?php
|
43 |
+
function wpdm_render_cats($parent="",$level=0){
|
44 |
+
if($categories = maybe_unserialize(get_option("_fm_categories",true))){
|
45 |
+
if(is_array($categories)){
|
46 |
+
foreach($categories as $id=>$category) {
|
47 |
+
if($category['parent']==$parent){
|
48 |
+
$pres = str_repeat("—", $level);
|
49 |
+
?>
|
50 |
+
|
51 |
+
<tr valign="top" class="alternate author-self status-inherit" id="post-8">
|
52 |
+
|
53 |
+
<th class="check-column" scope="row"><input type="checkbox" value="8" name="id[]"></th>
|
54 |
+
<td class="column-icon media-icon" style="text-align: left;">
|
55 |
+
<a title="Edit" href="admin.php?page=file-manager/categories&task=EditCategory&cid=<?php echo $id; ?>">
|
56 |
+
<b><?php echo $pres.' '.$category['title']?></b>
|
57 |
+
</a>
|
58 |
+
<div class="row-actions"><span class="edit"><a href="admin.php?page=file-manager/categories&task=EditCategory&cid=<?php echo $id; ?>">Edit</a> | </span><span class="delete"><a href="admin.php?page=file-manager/categories&task=DeleteCategory&cid=<?php echo $id?>" onclick="return showNotice.warn();" class="submitdelete">Delete Permanently</a> | <input type="text" title="copy the code and place it anywhere inside your post or page" value="{wpdm_category=<?php echo $id; ?>}" readonly=readonly onclick="this.select()" style="width:180px;font-size: 10px;" /></div>
|
59 |
+
</td>
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
</tr>
|
65 |
+
<?php wpdm_render_cats($id,$level+1);}}}}}wpdm_render_cats(); ?>
|
66 |
+
</tbody>
|
67 |
+
</table>
|
68 |
+
</div>
|
69 |
+
<div style="margin-left:10px;float: right;width:45%;margin-top:-70px">
|
70 |
+
<form action="" method="post">
|
71 |
+
<table cellspacing="0">
|
72 |
+
<thead>
|
73 |
+
<tr>
|
74 |
+
<th style="padding-bottom: 10px" class="manage-column column-author" id="author" scope="col" align="left"><h2><?php echo $_GET['cid']?'Edit':'Add';?> Category</h2></th>
|
75 |
+
</tr>
|
76 |
+
</thead>
|
77 |
+
|
78 |
+
<?php
|
79 |
+
$cat = maybe_unserialize(get_option('_fm_categories',true));
|
80 |
+
$cat = $cat[$_GET['cid']];
|
81 |
+
$cat[template_wraper] = $cat[template_wraper]?$cat[template_wraper]:'<div class="wpdm_category">
|
82 |
+
[repeating_block]
|
83 |
+
</div>';
|
84 |
+
|
85 |
+
$cat[template_repeater] = $cat[template_repeater]?$cat[template_repeater]:'<div class="wpdm_package">
|
86 |
+
<a href="[page_url]">[thumb]</a><br>
|
87 |
+
<b><a href="[page_url]">[title]</a></b><br>
|
88 |
+
[download_count] downloads
|
89 |
+
|
90 |
+
</div>';
|
91 |
+
?>
|
92 |
+
|
93 |
+
<tbody class="list:post" id="the-list">
|
94 |
+
<tr valign="top" class="alternate author-self status-inherit" id="post-8">
|
95 |
+
<td class="author column-author">
|
96 |
+
<input style="" type="hidden" name="cid" value="<?php echo $_GET[cid]?$_GET[cid]:''; ?>">
|
97 |
+
Title:<br>
|
98 |
+
<input type="text" style="width: 99%;font-size: 14pt" name="cat[title]" value="<?php echo htmlspecialchars($cat[title]); ?>">
|
99 |
+
Description:
|
100 |
+
<textarea spellcheck=false style="width: 99%;height:150px" name="cat[content]"><?php echo stripslashes(htmlspecialchars($cat[content])); ?></textarea>
|
101 |
+
<br />
|
102 |
+
Parent:<br />
|
103 |
+
<select name="cat[parent]">
|
104 |
+
<option value="">Top Level Category</option>
|
105 |
+
<?php wpdm_dropdown_categories('',0,$cat['parent']); ?>
|
106 |
+
</select>
|
107 |
+
<br>
|
108 |
+
<br>
|
109 |
+
<input type="submit" value="<?php echo $_GET['cid']?'Update':'Create';?> Category" class="button-primary">
|
110 |
+
</td>
|
111 |
+
|
112 |
+
</tr>
|
113 |
+
</tbody>
|
114 |
+
</table>
|
115 |
+
</form>
|
116 |
+
</div>
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
</div>
|
121 |
+
<script language="JavaScript">
|
122 |
+
<!--
|
123 |
+
jQuery('.<?php echo $_GET['cid'];?>').attr('disabled','disabled');
|
124 |
+
//-->
|
125 |
+
</script>
|
wpdm-free-mce-button.php
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
add_filter('mce_external_plugins', "wpdm_tinyplugin_register");
|
6 |
+
add_filter('mce_buttons', 'wpdm_tinyplugin_add_button', 0);
|
7 |
+
|
8 |
+
function wpdm_tinyplugin_add_button($buttons)
|
9 |
+
{
|
10 |
+
array_push($buttons, "separator", "wpdm_tinyplugin");
|
11 |
+
return $buttons;
|
12 |
+
}
|
13 |
+
|
14 |
+
function wpdm_tinyplugin_register($plugin_array)
|
15 |
+
{
|
16 |
+
$url = plugins_url("download-manager/editor_plugin.js");
|
17 |
+
|
18 |
+
$plugin_array['wpdm_tinyplugin'] = $url;
|
19 |
+
return $plugin_array;
|
20 |
+
}
|
21 |
+
|
22 |
+
|
23 |
+
function wpdm_free_tinymce(){
|
24 |
+
global $wpdb;
|
25 |
+
if($_GET['wpdm_action']!='wpdm_tinymce_button') return false;
|
26 |
+
?>
|
27 |
+
<html>
|
28 |
+
<head>
|
29 |
+
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
30 |
+
<title>Download Contrller » Insert Package or Category</title>
|
31 |
+
<style type="text/css">
|
32 |
+
*{font-family: Tahoma !important; font-size: 9pt; letter-spacing: 1px;}
|
33 |
+
select,input{padding:5px;font-size: 9pt !important;font-family: Tahoma !important; letter-spacing: 1px;margin:5px;}
|
34 |
+
.button{
|
35 |
+
background: #7abcff; /* old browsers */
|
36 |
+
|
37 |
+
background: -moz-linear-gradient(top, #7abcff 0%, #60abf8 44%, #4096ee 100%); /* firefox */
|
38 |
+
|
39 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7abcff), color-stop(44%,#60abf8), color-stop(100%,#4096ee)); /* webkit */
|
40 |
+
|
41 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* ie */
|
42 |
+
-webkit-border-radius: 4px;
|
43 |
+
-moz-border-radius: 4px;
|
44 |
+
border-radius: 4px;
|
45 |
+
border:1px solid #FFF;
|
46 |
+
color: #FFF;
|
47 |
+
}
|
48 |
+
|
49 |
+
.input{
|
50 |
+
width: 340px;
|
51 |
+
background: #EDEDED; /* old browsers */
|
52 |
+
|
53 |
+
background: -moz-linear-gradient(top, #EDEDED 24%, #fefefe 81%); /* firefox */
|
54 |
+
|
55 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(24%,#EDEDED), color-stop(81%,#fefefe)); /* webkit */
|
56 |
+
|
57 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EDEDED', endColorstr='#fefefe',GradientType=0 ); /* ie */
|
58 |
+
border:1px solid #aaa;
|
59 |
+
color: #000;
|
60 |
+
}
|
61 |
+
.button-primary{cursor: pointer;}
|
62 |
+
fieldset{padding: 10px;}
|
63 |
+
</style>
|
64 |
+
</head>
|
65 |
+
<body> <br>
|
66 |
+
|
67 |
+
<fieldset><legend>Embed File</legend>
|
68 |
+
<select class="button input" id="fl">
|
69 |
+
<?php
|
70 |
+
$res = $wpdb->get_results("select * from ahm_files", ARRAY_A);
|
71 |
+
foreach($res as $row){
|
72 |
+
?>
|
73 |
+
|
74 |
+
<option value="<?php echo $row['id']; ?>"><?php echo $row['title']; ?></option>
|
75 |
+
|
76 |
+
|
77 |
+
<?php
|
78 |
+
|
79 |
+
}
|
80 |
+
?>
|
81 |
+
</select>
|
82 |
+
<input type="submit" id="addtopost" class="button button-primary" name="addtopost" value="Insert into post" />
|
83 |
+
</fieldset> <br>
|
84 |
+
<fieldset><legend>Embed Category</legend>
|
85 |
+
<select class="button input" id="flc">
|
86 |
+
<?php
|
87 |
+
wpdm_dropdown_categories();
|
88 |
+
?>
|
89 |
+
</select>
|
90 |
+
<input type="submit" id="addtopostc" class="button button-primary" name="addtopost" value="Insert into post" />
|
91 |
+
</fieldset>
|
92 |
+
|
93 |
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
|
94 |
+
<script type="text/javascript" src="<?php echo home_url('/wp-includes/js/tinymce/tiny_mce_popup.js'); ?>"></script>
|
95 |
+
<script type="text/javascript">
|
96 |
+
/* <![CDATA[ */
|
97 |
+
jQuery('#addtopost').click(function(){
|
98 |
+
var win = window.dialogArguments || opener || parent || top;
|
99 |
+
win.send_to_editor('{filelink='+$('#fl').val()+'}');
|
100 |
+
tinyMCEPopup.close();
|
101 |
+
return false;
|
102 |
+
});
|
103 |
+
jQuery('#addtopostc').click(function(){
|
104 |
+
var win = window.dialogArguments || opener || parent || top;
|
105 |
+
win.send_to_editor('{wpdm_category='+jQuery('#flc').val()+'}');
|
106 |
+
tinyMCEPopup.close();
|
107 |
+
return false;
|
108 |
+
});
|
109 |
+
|
110 |
+
/* ]]> */
|
111 |
+
</script>
|
112 |
+
|
113 |
+
</body>
|
114 |
+
</html>
|
115 |
+
|
116 |
+
<?php
|
117 |
+
|
118 |
+
die();
|
119 |
+
}
|
120 |
+
|
121 |
+
|
122 |
+
add_action('init', 'wpdm_free_tinymce');
|
123 |
+
|
wpdm-list-files.php
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $wpdb;
|
3 |
+
$limit = 10;
|
4 |
+
|
5 |
+
$start = $_GET['paged']?(($_GET['paged']-1)*$limit):0;
|
6 |
+
$res = mysql_query("select * from ahm_files limit $start, $limit");
|
7 |
+
|
8 |
+
$row = mysql_fetch_assoc(mysql_query("select count(*) as total from ahm_files"));
|
9 |
+
|
10 |
+
?>
|
11 |
+
<style>
|
12 |
+
.wrap *{
|
13 |
+
font-family: Tahoma;
|
14 |
+
letter-spacing: 1px;
|
15 |
+
}
|
16 |
+
</style>
|
17 |
+
|
18 |
+
<div class="wrap">
|
19 |
+
<div class="icon32" id="icon-upload"><br></div>
|
20 |
+
|
21 |
+
<h2>Manage Files
|
22 |
+
<a class="button add-new-h2" href="admin.php?page=file-manager/add-new-file">Add New</a>
|
23 |
+
<a class="button add-new-h2" href="admin.php?page=file-manager&task=wpdm_import_download_monitor">Import Files from Download Monitor</a>
|
24 |
+
</h2>
|
25 |
+
<div class="updated" style="padding:5px 10px;position: absolute;color:#008000;font-weight:bold;margin:-35px 0 0 550px">
|
26 |
+
<a style="color: #3399ff;" href="http://www.wpdownloadmanager.com/download/" target="_blank">Get download manager premium version now! only @ 30.00 $ </a> |
|
27 |
+
<a style="color: #3399ff;" href="http://www.wpdownloadmanager.com/features/" target="_blank">Checkout the features here</a>
|
28 |
+
</div>
|
29 |
+
<i><b style="font-family:Georgia">Simply Copy and Paste the embed code at anywhere in post contents</b></i><br><br>
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
<form method="get" action="" id="posts-filter">
|
37 |
+
<div class="tablenav">
|
38 |
+
|
39 |
+
<div class="alignleft actions">
|
40 |
+
<select class="select-action" name="task">
|
41 |
+
<option selected="selected" value="">Bulk Actions</option>
|
42 |
+
<option value="DeleteFile">Delete Permanently</option>
|
43 |
+
</select>
|
44 |
+
<input type="submit" class="button-secondary action" id="doaction" name="doaction" value="Apply">
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
</div>
|
50 |
+
|
51 |
+
<br class="clear">
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<div class="clear"></div>
|
55 |
+
|
56 |
+
<table cellspacing="0" class="widefat fixed">
|
57 |
+
<thead>
|
58 |
+
<tr>
|
59 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
60 |
+
<th style="" class="manage-column column-icon" id="icon" scope="col"></th>
|
61 |
+
<th style="" class="manage-column column-media" id="media" scope="col">File</th>
|
62 |
+
<th style="" class="manage-column column-author" id="author" scope="col">Password</th>
|
63 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Access</th>
|
64 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Counter</th>
|
65 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Downloads</th>
|
66 |
+
</tr>
|
67 |
+
</thead>
|
68 |
+
|
69 |
+
<tfoot>
|
70 |
+
<tr>
|
71 |
+
<th style="" class="manage-column column-cb check-column" id="cb" scope="col"><input type="checkbox"></th>
|
72 |
+
<th style="" class="manage-column column-icon" id="icon" scope="col"></th>
|
73 |
+
<th style="" class="manage-column column-media" id="media" scope="col">File</th>
|
74 |
+
<th style="" class="manage-column column-author" id="author" scope="col">Password</th>
|
75 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Access</th>
|
76 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Counter</th>
|
77 |
+
<th style="" class="manage-column column-parent" id="parent" scope="col">Downloads</th>
|
78 |
+
</tr>
|
79 |
+
</tfoot>
|
80 |
+
|
81 |
+
<tbody class="list:post" id="the-list">
|
82 |
+
<?php while($media = mysql_fetch_assoc($res)) {
|
83 |
+
|
84 |
+
switch(end(explode(".",$media[file]))){
|
85 |
+
case 'jpg': case 'png': case 'bmp': case 'gif':
|
86 |
+
$icon = 'img.png';
|
87 |
+
break;
|
88 |
+
case 'mp3': $icon = 'mp3.png'; break;
|
89 |
+
case 'mp4': $icon = 'mp4.png'; break;
|
90 |
+
case 'zip': $icon = 'zip.png'; break;
|
91 |
+
|
92 |
+
default:
|
93 |
+
$icon = end(explode(".",$media[file])).'.png';
|
94 |
+
break;
|
95 |
+
|
96 |
+
|
97 |
+
}
|
98 |
+
if(!file_exists(dirname(__FILE__).'/file-type-icons/'.$icon)) $icon = "file.png";
|
99 |
+
|
100 |
+
?>
|
101 |
+
<tr valign="top" class="alternate author-self status-inherit" id="post-8">
|
102 |
+
|
103 |
+
<th class="check-column" scope="row"><input type="checkbox" value="8" name="id[]"></th>
|
104 |
+
<td class="column-icon media-icon">
|
105 |
+
<a title="Edit" href="admin.php?page=file-manager&task=EditFile&id=<?php echo $media['id']?>">
|
106 |
+
<img title="<?php echo end(explode(".",$media['file']))?> file" alt="<?php echo end(explode(".",$media['file']))?> file" class="attachment-80x60" src="../wp-content/plugins/download-manager/file-type-icons/<?php echo $icon; ?>">
|
107 |
+
</a>
|
108 |
+
</td>
|
109 |
+
<td class="media column-media">
|
110 |
+
<strong><a title="Edit" href="admin.php?page=file-manager&task=wpdm_edit_file&id=<?php echo $media['id']?>"><?php echo $media['title']?></a></strong> | Embed Code: <input style="text-align:center" type="text" onclick="this.select()" size="20" title="Simply Copy and Paste in post contents" value="{filelink=<?php echo $media['id'];?>}" /><br>
|
111 |
+
<code>File: <?php echo $media['file']; ?></code><Br>
|
112 |
+
<?php echo $media['description']?>
|
113 |
+
<div class="row-actions"><span class="edit"><a href="admin.php?page=file-manager&task=wpdm_edit_file&id=<?php echo $media['id']?>">Edit</a> | </span><span class="delete"><a href="admin.php?page=file-manager&task=wpdm_delete_file&id=<?php echo $media['id']?>" onclick="return showNotice.warn();" class="submitdelete">Delete Permanently</a></div>
|
114 |
+
</td>
|
115 |
+
<td class="author column-author"><?php echo $media['password']; ?></td>
|
116 |
+
<td class="parent column-parent"><?php echo $media['access']; ?></td>
|
117 |
+
<td class="parent column-parent"><?php echo $media['show_counter']!=0?'Show':'Hide'; ?></td>
|
118 |
+
<td class="parent column-parent"><?php echo $media['download_count']; ?></td>
|
119 |
+
|
120 |
+
</tr>
|
121 |
+
<?php } ?>
|
122 |
+
</tbody>
|
123 |
+
</table>
|
124 |
+
|
125 |
+
<?php
|
126 |
+
$page_links = paginate_links( array(
|
127 |
+
'base' => add_query_arg( 'paged', '%#%' ),
|
128 |
+
'format' => '',
|
129 |
+
'prev_text' => __('«'),
|
130 |
+
'next_text' => __('»'),
|
131 |
+
'total' => ceil($row[total]/$limit),
|
132 |
+
'current' => $_GET['paged']
|
133 |
+
));
|
134 |
+
|
135 |
+
|
136 |
+
?>
|
137 |
+
|
138 |
+
<div id="ajax-response"></div>
|
139 |
+
|
140 |
+
<div class="tablenav">
|
141 |
+
|
142 |
+
<?php if ( $page_links ) { ?>
|
143 |
+
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s',
|
144 |
+
number_format_i18n( ( $_GET['paged'] - 1 ) * $limit + 1 ),
|
145 |
+
number_format_i18n( min( $_GET['paged'] * $limit, $row[total] ) ),
|
146 |
+
number_format_i18n( $row[total] ),
|
147 |
+
$page_links
|
148 |
+
); echo $page_links_text; ?></div>
|
149 |
+
<?php } ?>
|
150 |
+
|
151 |
+
<div class="alignleft actions">
|
152 |
+
<select class="select-action" name="action2">
|
153 |
+
<option selected="selected" value="-1">Bulk Actions</option>
|
154 |
+
<option value="delete">Delete Permanently</option>
|
155 |
+
</select>
|
156 |
+
<input type="submit" class="button-secondary action" id="doaction2" name="doaction2" value="Apply">
|
157 |
+
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<br class="clear">
|
161 |
+
</div>
|
162 |
+
<div style="display: none;" class="find-box" id="find-posts">
|
163 |
+
<div class="find-box-head" id="find-posts-head">Find Posts or Pages</div>
|
164 |
+
<div class="find-box-inside">
|
165 |
+
<div class="find-box-search">
|
166 |
+
|
167 |
+
<input type="hidden" value="" id="affected" name="affected">
|
168 |
+
<input type="hidden" value="3a4edcbda3" name="_ajax_nonce" id="_ajax_nonce"> <label for="find-posts-input" class="screen-reader-text">Search</label>
|
169 |
+
<input type="text" value="" name="ps" id="find-posts-input">
|
170 |
+
<input type="button" class="button" value="Search" onclick="findPosts.send();"><br>
|
171 |
+
|
172 |
+
<input type="radio" value="posts" checked="checked" id="find-posts-posts" name="find-posts-what">
|
173 |
+
<label for="find-posts-posts">Posts</label>
|
174 |
+
<input type="radio" value="pages" id="find-posts-pages" name="find-posts-what">
|
175 |
+
<label for="find-posts-pages">Pages</label>
|
176 |
+
</div>
|
177 |
+
<div id="find-posts-response"></div>
|
178 |
+
</div>
|
179 |
+
<div class="find-box-buttons">
|
180 |
+
<input type="button" value="Close" onclick="findPosts.close();" class="button alignleft">
|
181 |
+
<input type="submit" value="Select" class="button-primary alignright" id="find-posts-submit">
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
</form>
|
185 |
+
<br class="clear">
|
186 |
+
|
187 |
+
</div>
|
188 |
+
|
189 |
+
|
wpdm-server-file-browser.php
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function wpdm_dir_tree(){
|
4 |
+
if($_GET['task']!='wpdm_dir_tree') return;
|
5 |
+
$_POST['dir'] = urldecode($_POST['dir']);
|
6 |
+
if( file_exists($root . $_POST['dir']) ) {
|
7 |
+
$files = scandir($root . $_POST['dir']);
|
8 |
+
natcasesort($files);
|
9 |
+
if( count($files) > 2 ) { /* The 2 accounts for . and .. */
|
10 |
+
echo "<ul class=\"jqueryFileTree\" style=\"display: none;\">";
|
11 |
+
// All dirs
|
12 |
+
foreach( $files as $file ) {
|
13 |
+
if( file_exists($root . $_POST['dir'] . $file) && $file != '.' && $file != '..' && is_dir($root . $_POST['dir'] . $file) ) {
|
14 |
+
echo "<li class=\"directory collapsed\"><a href=\"#\" rel=\"" . htmlentities($_POST['dir'] . $file) . "/\">" . htmlentities($file) . "</a></li>";
|
15 |
+
}
|
16 |
+
}
|
17 |
+
// All files
|
18 |
+
foreach( $files as $file ) {
|
19 |
+
if( file_exists($root . $_POST['dir'] . $file) && $file != '.' && $file != '..' && !is_dir($root . $_POST['dir'] . $file) ) {
|
20 |
+
$ext = preg_replace('/^.*\./', '', $file);
|
21 |
+
echo "<li class=\"file ext_$ext\"><a href=\"#\" rel=\"" . htmlentities($_POST['dir'] . $file) . "\">" . htmlentities($file) . "</a></li>";
|
22 |
+
}
|
23 |
+
}
|
24 |
+
echo "</ul>";
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
28 |
+
|
29 |
+
function wpdm_file_browser(){
|
30 |
+
if($_GET['task']!='wpdm_file_browser') return;
|
31 |
+
?>
|
32 |
+
<link rel="stylesheet" href="<?php echo plugins_url().'/download-manager/css/jqueryFileTree.css';?>" />
|
33 |
+
<style type="text/css">.jqueryFileTree li{line-height: 20px;}</style>
|
34 |
+
<div class="wrap">
|
35 |
+
<div class="icon32" id="icon-categories"><br></div>
|
36 |
+
<h2>Browse Files</h2>
|
37 |
+
<div id="tree"></div>
|
38 |
+
<script language="JavaScript">
|
39 |
+
<!--
|
40 |
+
jQuery(document).ready( function() {
|
41 |
+
jQuery('#tree').fileTree({
|
42 |
+
root: '<?php echo get_option('_wpdm_file_browser_root',$_SERVER['DOCUMENT_ROOT']); ?>/',
|
43 |
+
script: 'admin.php?task=wpdm_dir_tree',
|
44 |
+
expandSpeed: 1000,
|
45 |
+
collapseSpeed: 1000,
|
46 |
+
multiFolder: false
|
47 |
+
}, function(file) {
|
48 |
+
var sfilename = file.split('/');
|
49 |
+
var filename = sfilename[sfilename.length-1];
|
50 |
+
jQuery('#serverfiles').html('').append('<li><label><input checked=checked type="checkbox" value="'+file+'" name="file[file]" class="role"> '+filename+'</label></li>');
|
51 |
+
tb_remove();
|
52 |
+
});
|
53 |
+
|
54 |
+
jQuery('#TB_ajaxContent').css('width','630px').css('height','90%');
|
55 |
+
});
|
56 |
+
//-->
|
57 |
+
</script>
|
58 |
+
</div>
|
59 |
+
<?php
|
60 |
+
die();
|
61 |
+
}
|
62 |
+
|
63 |
+
if(is_admin()){
|
64 |
+
wp_enqueue_script('jquery');
|
65 |
+
wp_enqueue_script('file-tree-js',plugins_url().'/download-manager/js/jqueryFileTree.js');
|
66 |
+
add_action("init","wpdm_file_browser");
|
67 |
+
add_action("init","wpdm_dir_tree");
|
68 |
+
}
|
69 |
+
|
70 |
+
|
71 |
+
?>
|
wpdm-settings.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.wrap *{
|
3 |
+
font-family: Tahoma;
|
4 |
+
letter-spacing: 1px;
|
5 |
+
}
|
6 |
+
|
7 |
+
input[type=text],textarea{
|
8 |
+
width:500px;
|
9 |
+
padding:5px;
|
10 |
+
}
|
11 |
+
|
12 |
+
input{
|
13 |
+
padding: 7px;
|
14 |
+
}
|
15 |
+
</style>
|
16 |
+
|
17 |
+
<div class="wrap">
|
18 |
+
<div class="icon32" id="icon-options-general"><br></div>
|
19 |
+
<h2>Settings</h2>
|
20 |
+
|
21 |
+
<form action="" method="post" enctype="multipart/form-data">
|
22 |
+
|
23 |
+
<table cellpadding="5" cellspacing="5">
|
24 |
+
|
25 |
+
<tr>
|
26 |
+
<td>Minimum User Access Level:</td>
|
27 |
+
<td><select name="access">
|
28 |
+
<option value="level_10">Administrator</option>
|
29 |
+
<option value="level_5" <?php echo $access=='level_5'?'selected':''?>>Editor</option>
|
30 |
+
<option value="level_2" <?php echo $access=='level_2'?'selected':''?>>Author</option>
|
31 |
+
</select>
|
32 |
+
</td>
|
33 |
+
</tr>
|
34 |
+
|
35 |
+
<tr>
|
36 |
+
<td>Login Required Message:</td>
|
37 |
+
<td>
|
38 |
+
<input type="text" name="wpdm_login_msg" value="<?php echo get_option('wpdm_login_msg',true); ?>" size="40">
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
|
42 |
+
|
43 |
+
<tr>
|
44 |
+
<td>Download Link Icon:</td>
|
45 |
+
<td>
|
46 |
+
<input type="file" name="icon">
|
47 |
+
| Current Icon: <img src="<?php echo plugins_url(); ?>/download-manager/icon/download.png" />
|
48 |
+
</td>
|
49 |
+
</tr>
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
<tr>
|
54 |
+
<td valign="top"></td>
|
55 |
+
<td align="right">
|
56 |
+
|
57 |
+
<input type="button" value="« back" tabindex="9" class="button-secondary" onclick="location.href='admin.php?page=file-manager'" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
58 |
+
|
59 |
+
<input type="reset" value="reset" tabindex="9" class="button-secondary" class="add:the-list:newmeta" name="addmeta" id="addmetasub">
|
60 |
+
|
61 |
+
<input type="submit" value="save" accesskey="p" tabindex="5" id="publish" class="button-primary" name="publish">
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
|
65 |
+
</table>
|
66 |
+
|
67 |
+
|
68 |
+
</form>
|
69 |
+
|
70 |
+
</div>
|
wpdm-widgets.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
class wpdm_newpacks_widget extends WP_Widget {
|
6 |
+
/** constructor */
|
7 |
+
function wpdm_newpacks_widget() {
|
8 |
+
parent::WP_Widget(false, 'WPDM New Packages');
|
9 |
+
}
|
10 |
+
|
11 |
+
/** @see WP_Widget::widget */
|
12 |
+
function widget($args, $instance) {
|
13 |
+
extract( $args );
|
14 |
+
$title = apply_filters('widget_title', $instance['title']);
|
15 |
+
$sdc = $instance['sdc'];
|
16 |
+
$nop = $instance['nop1'];
|
17 |
+
?>
|
18 |
+
<?php echo $before_widget; ?>
|
19 |
+
<?php if ( $title )
|
20 |
+
echo $before_title . $title . $after_title;
|
21 |
+
echo "<ul>";
|
22 |
+
wpdm_new_packages($nop,$sdc);
|
23 |
+
echo "</ul>";
|
24 |
+
echo $after_widget; ?>
|
25 |
+
<?php
|
26 |
+
}
|
27 |
+
|
28 |
+
/** @see WP_Widget::update */
|
29 |
+
function update($new_instance, $old_instance) {
|
30 |
+
$instance = $old_instance;
|
31 |
+
$instance['title'] = strip_tags($new_instance['title']);
|
32 |
+
$instance['sdc'] = strip_tags($new_instance['sdc']);
|
33 |
+
$instance['nop1'] = strip_tags($new_instance['nop1']);
|
34 |
+
return $instance;
|
35 |
+
}
|
36 |
+
|
37 |
+
/** @see WP_Widget::form */
|
38 |
+
function form($instance) {
|
39 |
+
$title = esc_attr($instance['title']);
|
40 |
+
$sdc = esc_attr($instance['sdc']);
|
41 |
+
$nop = esc_attr($instance['nop1']);
|
42 |
+
?>
|
43 |
+
<p>
|
44 |
+
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?></label>
|
45 |
+
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" />
|
46 |
+
</p>
|
47 |
+
<p>
|
48 |
+
<label for="<?php echo $this->get_field_id('nop1'); ?>"><?php _e('Number of packages to show:'); ?></label>
|
49 |
+
<input class="widefat" id="<?php echo $this->get_field_id('nop1'); ?>" name="<?php echo $this->get_field_name('nop1'); ?>" type="text" value="<?php echo $nop; ?>" />
|
50 |
+
</p>
|
51 |
+
<p>
|
52 |
+
<label for="<?php echo $this->get_field_id('sdc'); ?>"><?php _e('Show Download Count:'); ?>
|
53 |
+
<input id="<?php echo $this->get_field_id('sdc'); ?>" name="<?php echo $this->get_field_name('sdc'); ?>" type="checkbox" value="1" <?php echo $sdc?'checked=checked':''; ?> />
|
54 |
+
</label>
|
55 |
+
</p>
|
56 |
+
<?php
|
57 |
+
}
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
+
add_action('widgets_init', create_function('', 'return register_widget("wpdm_newpacks_widget");'));
|
62 |
+
|
63 |
+
?>
|