33. VenDeta
(Off)
[ 26 Sep 2013, 13:00 ]
mogesalmebit. ici ra mjirdeba ? dcms scriptze mjirdeba go.php failis redaqtireba. anu minda rom movlenebshi rodesac shedixar, pirdapir imis anketaze gadagagdos vinc shefasebebs dagiwers. me ver shevdzeli da vin damexmareba. mgoni bazashic unda ragacas redaqtireba. exa aq davwer go.php papkis sciptebs:
<?
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
include_once 'sys/inc/user.php';
$set['title']='Gooooooo';
include_once 'sys/inc/thead.php';
title();
if (!isset($_GET['go']) || (mysql_result(mysql_query("SELECT COUNT(*) FROM `rekl` WHERE `id` = '".intval($_GET['go'])."'"),0)==0 && !ereg('^https?://',@base64_decode($_GET['go']
{
header("Location: index.php?".SID);
exit;
}
if (ereg('^(ht|f)tps?://',base64_decode($_GET['go']
)
{
echo "<div class='title'>Go: <a href=\"".base64_decode($_GET['go'])."\">".base64_decode($_GET['go'])."</a></div>\n";
include_once 'sys/inc/tfoot.php';
exit;
}
else
{
$rekl=mysql_fetch_array(mysql_query("SELECT * FROM `rekl` WHERE `id` = '".intval($_GET['go'])."'"));
mysql_query("UPDATE `rekl` SET `count` = '".($rekl['count']+1)."' WHERE `id` = '$rekl[id]'");
header("Refresh: 2; url=$rekl[link]");
echo "За содержание рекламируемого ресурса<br />\n";
echo "администрация сайта ".strtoupper(htmlspecialchars(stripslashes($_SERVER['HTTP_HOST'])))." ответственности не несёт.<br />\n";
echo "<b><a href=\"$rekl[link]\">gadasvla</a></b><br />\n";
echo "gadmosvla: $rekl[count]<br />\n";
}
include_once 'sys/inc/tfoot.php';
?>
da aqedan minda amis redaqtireba ro chem saitze shemagdos da ara flov.tk ze
echo "<div class='title'>Go: <a href=\"".base64_decode($_GET['go'])."\">".base64_decode($_GET['go'])."</a></div>\n";
rogor davaredaqtiro ? damexmaret
[Pasuxi][Cit]|