you need to edit some files, as view.php removed ip address for download the files. and edit index files for logo, facebook code ads etc
Sea auto index HTML Verson updated
Collapse
X
-
Reply this line
echo '<div class="devider"> </div>Download Link: <a class="dwnLink" rel="nofollow" href="http://88.198.196.110/load.php?id='.$id.'"><strong>[ Download File ]</strong></a><div class="devider"></div>';
add this this
echo '<div class="devider"> </div>Download Link: <a class="dwnLink" rel="nofollow" href="load.php?id='.$id.'"><strong>[ Download File ]</strong></a><div class="devider"></div>';
Comment
-
Guest
It Says, http://downloads.*******.com/1-Hindi+mp3+Songs.html is not found ...
it cant find any file or folder !
everything is working smoothly without it ! plz reply me how to fix it ? :|
Comment
-
One way is to remove < require 'moduls/header.php'; > from top of view.php and instead add
PHP Code:#-----------------------------------------------------#
# ============ЗАГРУЗ-ЦЕНТР============= #
# Автор : Sea #
# E-mail : x-sea-x@ya.ru #
# ICQ : 355152215 #
# Вы не имеете права распространять данный скрипт. #
# По всем вопросам пишите в ICQ. #
#-----------------------------------------------------#
// mod Gemorroj
$HeadTime = microtime(true);
session_start();
header('Content-type: text/html; charset=utf-8');
header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');
header('Last-Modified: ' . gmdate('r') . ' GMT');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style.css"/>
<title>' . $setup['zag'] . '|' . $file_info['name'] . '</title>
</head>
<body>';
Last edited by arnage; 16.10.11, 10:22.<!DOCTYPE html PUBLIC "-//WAPFORUM.RS
Comment
-
Originally posted by arnage View PostOne way is to remove < require 'moduls/header.php'; > from top of view.php and instead add
PHP Code:#-----------------------------------------------------#
# ============ЗАГРУЗ-ЦЕНТР============= #
# Автор : Sea #
# E-mail : x-sea-x@ya.ru #
# ICQ : 355152215 #
# Вы не имеете права распространять данный скрипт. #
# По всем вопросам пишите в ICQ. #
#-----------------------------------------------------#
// mod Gemorroj
$HeadTime = microtime(true);
session_start();
header('Content-type: text/html; charset=utf-8');
header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');
header('Last-Modified: ' . gmdate('r') . ' GMT');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style.css"/>
<title>' . $setup['zag'] . '|' . $file_info['name'] . '</title>
</head>
<body>';
$file_info['name'] is showing nothing
Comment
-
Yes, not just copy-paste... or read it again for title.
PHP Code:$file = mysql_fetch_array(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
$file_title = $file['name'];
Or add in header.php something like:
PHP Code:if (strpos($_SERVER['PHP_SELF'], 'view.php') !== false) {
$file = mysql_fetch_array(mysql_query('SELECT * FROM `files` WHERE `id` = '.$id));
$file_title = $file['name'];
} else {
$file_title = '';
}
There is several ways to achieve this.Last edited by arnage; 16.11.11, 14:05.<!DOCTYPE html PUBLIC "-//WAPFORUM.RS
Comment
Comment