Помощь по скриптам | помогите пожалуйста
Zhum , вот индекс фаил
<?php
define('NTOP', 1);
$title = 'Главная';
require_once ('system/connect.php');
require_once ('system/core.php');
require_once ('system/function.php');
require_once ('m/head.php');
echo '<table cellspacing="0" cellpadding="0" width="100%" style="text-align:center"><tr><td width="50%"><a href="http://'.$set['home'].'/m/category" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Категории</strong></font></a></td> <td width="50%"><div class="fmenu"><strong>TOP100</strong></td></tr></table></div><div class="clear"></div>';
$all = mysql_num_rows(mysql_query("SELECT * FROM `".$prefix."sait` WHERE `status` = '1' AND `ban` = '0' AND `hosts` > '0'"));
if($all != 0)
{
$total=intval(($all-1)/$page_top)+1;
$page=abs(intval($_GET['page']));
if(empty($page) OR $page < 0)
{
$page = 1;
}
if($page > $total)
{
$page = $total;
}
$past=intval($all/$page_top);
$start=$page*$page_top-$page_top;
$top = mysql_query("SELECT * FROM `".$prefix."sait` WHERE `status` = '1' AND `ban` = '0' AND `hosts` > '0' ORDER BY `hosts` DESC LIMIT ".$start.",".$page_top."");
while($row = mysql_fetch_array($top))
{
$start++;
if($_SESSION['id'] == $row['id']){
$div_1 = '</div><div class="main"><b><font color="red">';}
else {
$div_1 = '</div><div class="main">';}
echo $div_1 .$start.' <img src="http://www.google.com/s2/favicons?domain='.$row['url'].'" width="16" height="16"> <a href="http://'.$set['home'].'/out/'.$row['id'].'" target="_blank"><b>'.$row['url'].'</b></a> ['.$row['hosts'].'/'.$row['hits'].'] <a href="http://'.$set['home'].'/stats/'.$row['id'].'">[?]</a></br>';
if(mb_strlen($row['about']) > 100)
{
$text = substr($row['about'],0,100);
echo ''.$text.'...<br/>';
}
else
{
echo ''.$row['about'].'<br/></font></b>';
}
echo '</div>';
}
navigation($all,$page_top,$page,'/',$total);
}
else
{
echo '<div class="main">';
echo 'Сайтов учавствующих в Топ-100 не обнаружено!';
echo '</div>';
}
echo '<table cellspacing="0" cellpadding="0" width="100%" style="text-align:center">';
echo '
<tr><td width="50%"><a href="http://'.$set['home'].'/m/allStats" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Cтатистика</strong></font></a> </td>
<td width="50%"><a href="http://'.$set['home'].'/m/authentication.php" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Участникам</strong></font></a></td></tr></table>
';
echo '</div>';
echo '<div class="main">';
require_once ('rekniz.php');
echo '</div>';
require_once ('m/foot.php');
require_once ('liveinternet.php');
?>
<?php
define('NTOP', 1);
$title = 'Главная';
require_once ('system/connect.php');
require_once ('system/core.php');
require_once ('system/function.php');
require_once ('m/head.php');
echo '<table cellspacing="0" cellpadding="0" width="100%" style="text-align:center"><tr><td width="50%"><a href="http://'.$set['home'].'/m/category" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Категории</strong></font></a></td> <td width="50%"><div class="fmenu"><strong>TOP100</strong></td></tr></table></div><div class="clear"></div>';
$all = mysql_num_rows(mysql_query("SELECT * FROM `".$prefix."sait` WHERE `status` = '1' AND `ban` = '0' AND `hosts` > '0'"));
if($all != 0)
{
$total=intval(($all-1)/$page_top)+1;
$page=abs(intval($_GET['page']));
if(empty($page) OR $page < 0)
{
$page = 1;
}
if($page > $total)
{
$page = $total;
}
$past=intval($all/$page_top);
$start=$page*$page_top-$page_top;
$top = mysql_query("SELECT * FROM `".$prefix."sait` WHERE `status` = '1' AND `ban` = '0' AND `hosts` > '0' ORDER BY `hosts` DESC LIMIT ".$start.",".$page_top."");
while($row = mysql_fetch_array($top))
{
$start++;
if($_SESSION['id'] == $row['id']){
$div_1 = '</div><div class="main"><b><font color="red">';}
else {
$div_1 = '</div><div class="main">';}
echo $div_1 .$start.' <img src="http://www.google.com/s2/favicons?domain='.$row['url'].'" width="16" height="16"> <a href="http://'.$set['home'].'/out/'.$row['id'].'" target="_blank"><b>'.$row['url'].'</b></a> ['.$row['hosts'].'/'.$row['hits'].'] <a href="http://'.$set['home'].'/stats/'.$row['id'].'">[?]</a></br>';
if(mb_strlen($row['about']) > 100)
{
$text = substr($row['about'],0,100);
echo ''.$text.'...<br/>';
}
else
{
echo ''.$row['about'].'<br/></font></b>';
}
echo '</div>';
}
navigation($all,$page_top,$page,'/',$total);
}
else
{
echo '<div class="main">';
echo 'Сайтов учавствующих в Топ-100 не обнаружено!';
echo '</div>';
}
echo '<table cellspacing="0" cellpadding="0" width="100%" style="text-align:center">';
echo '
<tr><td width="50%"><a href="http://'.$set['home'].'/m/allStats" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Cтатистика</strong></font></a> </td>
<td width="50%"><a href="http://'.$set['home'].'/m/authentication.php" style="display:block;border-right:none;" class="fmenu"><font color="#afff31"><strong>Участникам</strong></font></a></td></tr></table>
';
echo '</div>';
echo '<div class="main">';
require_once ('rekniz.php');
echo '</div>';
require_once ('m/foot.php');
require_once ('liveinternet.php');
?>
wape , вбил нечего не нашло
system/connect.php
system/core.php
system/function.php
m/head.php
как вариант могут быть тут
system/core.php
system/function.php
m/head.php
как вариант могут быть тут
удален] , попробуй в тех файлах в коде нажать Ctrl + F6, и впиши адрес куда кидает, найдёшь так быстрее
удален] (24.03.2019 в 23:46)
wape , вбил нечего не нашло
wape , вбил нечего не нашло
скрипт пабл ?
wape , нет на чичи взял
по инклудам, либо в htaccess
убери с футера этот код счетчика
<script type="text/javascript" src="http://c.waptut.ru/10272/small.js"></script><noscript><a href="http://waptut.ru/in.go?id=10272"><img src="http://c.waptut.ru/10272/small.png" alt="Waptut.ru - Рейтинг мобильных сайтов" /></a></noscript>