-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdl_jump.php
More file actions
29 lines (23 loc) · 734 Bytes
/
Copy pathdl_jump.php
File metadata and controls
29 lines (23 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* AuraCMS v.3.0
* Oktober 1, 2013 05:12:10 AM
* Iwan Susyanto, S.Si - admin@auracms.org - 081 327 575 145
*/
define('dl', true);
if (isset($_GET['seftitle'])){
include 'includes/connection.php';
include 'includes/mysql.php';
include 'includes/global.php';
include 'includes/fungsi.php';
$seftitle = seo(text_filter(cleanText($_GET['seftitle'])));
$hasil = $db->sql_query("SELECT * FROM `mod_download` WHERE `seftitle`='$seftitle'");
$data = $db->sql_fetchrow($hasil);
$url = $data['url'];
$hits = int_filter($data['hits']);
$hits = $hits+1 ;
$db->sql_query("UPDATE `mod_download` SET `hits`='$hits' WHERE `seftitle` = '$seftitle'");
header ("location: $url");
exit;
}
?>