C:\$Recycle.Bin\S-1-5-21-3967099092-2644009230-141905953-500\$RTL8YJG\qlinks.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/* $Id: qlinks.php,v 1.1.1.1 2002/10/28 19:13:47 pbaecher Exp $ */
/*
          ThWboard - PHP/MySQL Bulletin Board System
        ==============================================
            (c) 2000, 2001 by
               Paul Baecher         <paul@thewall.de>
               Felix Gonschorek   <funner@thewall.de>

          download the latest version:
            http://www.thwboard.de

          This  program is  free  software;  you can
          redistribute it and/or modify it under the
          terms of the GNU General Public License as
          published by the Free Software Foundation;
          either  version 2 of  the License,  or (at
          your option) any later version.

        ==============================================
*/
// quicklinks by Morpheus

include("inc/config.inc.php");
$mysql = @mysql_connect($mysql_h$mysql_u$mysql_p);
$db = @mysql_select_db($mysql_db);

$mysql_h '';
$mysql_u '';
$mysql_p '';
$mysql_db '';

if( !
$mysql || !$db )
{
    print 
$config[nomysqlmsg];
    exit;
}
if (
$id=="") {
print(
"Error 404 - Page not Found");
} else {
$quicklinks_search mysql_query("SELECT * FROM ".$pref."qlink WHERE linkid = '".intval($id)."'");
$data_link mysql_fetch_array($quicklinks_search);
$update_qlink mysql_query("UPDATE ".$pref."qlink SET linkcounter = linkcounter+1 where linkid = '".intval($id)."'");
header("Location: $data_link[linkhttp]");

}

?>
<html>

</HTML>