<?php
include("cnf/vars.php");
include("cnf/funct2.php");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
$acc_f = 'a_forum.php';
$f_p = 'data/';
$f_lst = 'f_lst';
$f_t = '_';
$slp_p = 60*40;
$fr_p = $life_old_th*60*60*24; # 20 дней...
$can_del = 0;
$logged='1';
if (isset($_COOKIE['name'])){$name=$_COOKIE['name'];}
else{$name=''; }
if ($name!=""){ SetCookie("name", $name, time()+60*60*24*30);}
if (isset($_POST['name'])){$name = $_POST['name'];}
$name=(substr(f_c_m_s($name), 0, 30));
$a='ll';
if (isset($_GET['a'])){$a = $_GET['a'];}
if (isset($_POST['a'])){$a = $_POST['a'];}
$a=ereg_replace("[^a-z]","",$a);
if (!is_string($a)){unset($a); $a='ll';}
if (($a!='at')&&($a!='aa')&&($a!='dt')&&($a!='da')&&($a!='lg')&&($a!='lt')&&($a!='ll')){$a='ll';}
if ($a!="lg"){
if (isset($_COOKIE['id'])){$id=$_COOKIE['id'];}
else{$id='';}
}
else{
if (!isset($_POST['c'])){$id='';}
if (isset($_COOKIE['id'])){$id=$_COOKIE['id'];}
}
$idt='';
if (isset($_GET['idt'])){$idt = $_GET['idt'];}
if (isset($_POST['idt'])){$idt = $_POST['idt'];}
if (!is_string($idt)){unset($idt); $a='ll';}
else{$idt=ereg_replace("[^0-9]","",$idt);}
$p='1';
if (isset($_GET['p'])){$p = $_GET['p'];}
if (isset($_POST['p'])){$p = $_POST['p'];}
if (!is_string($p)){unset($p); $p='1';$a='ll';}
else{$p=ereg_replace("[^0-9]","",$p);}
$p=substr($p,0,4);
if ($a=='lg'){ include("cnf/forum/login.php");}
up_forum();
if ($id==md5($adps.date("d",time().md5($ad)))){$can_del=1;}
$my_w=0;// изменяем
$my_r=0;// смотрим
//echo "[id=$id]";
if ($a=='at'){ include("cnf/forum/add_t.php");}
if ($a=='dt'){ include("cnf/forum/delete_t.php");}
if ($a=='aa'){ include("cnf/forum/add_a.php");}
if ($a=='da'){ include("cnf/forum/delete_a.php");}
if ($a=='lt'){ include("cnf/forum/look_t.php");}
if ($a=='ll'){ include("cnf/forum/list_t.php");}
down_forum();
function up_forum(){
global $forum_name;
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<link rel="icon" href="http://file.cs-kukmor.org/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://file.cs-kukmor.org/favicon.ico" type="image/x-icon">
<meta content="text/html; charset=Windows-1251" http-equiv="content-type">
<title>FileStash - filehost </title>
<meta content="FileStash - forum" name="description">
<meta content="FileStash - forum" name="keywords">
<style>
a{text-decoration: none; color: #1164b0;}
a:hover{text-decoration: underline; color: #70a2cf;}
a.pg{text-decoration: none; color: #000000;}
a.pg:hover{text-decoration: underline; color: #000000;}
a.m2{text-decoration: none; color: #777777;}
a.m2:hover{text-decoration: underline; color: #777777;}
td{font-family: Tahoma; font-size: 13px;color:#111111;}
body{font-family: Tahoma; font-size: 13px; color:#111111;}
.c1{width:200;BACKGROUND-COLOR:#000000; border: thin; color:#000000; BORDER-BOTTOM: #000000 1px outset; BORDER-LEFT: #000000 1px outset; BORDER-RIGHT: #000000 2px outset; BORDER-TOP: #000000 1px outset;}
.c2{font-size:13px;font-family: Arial;color:#777777;}
.c3{width:200;BACKGROUND-COLOR:#ffffff; color:#000000; BORDER-BOTTOM: #000000 1px outset; BORDER-LEFT: #000000 1px outset; BORDER-RIGHT: #000000 2px outset; BORDER-TOP: #000000 1px outset;}
input{font-size:11px;}
select{font-size:11px;}
.mh{color:#0066cc; font-family: Verdana; font-size: 18px;}
.author{font-size:7pt;color:#000000;}
</style>
</head><body>
<center>
<table style="text-align: left; width: 642px; height: 32px;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;height: 55px"><img style="width: 640px; height: 50px;" alt="" src="/en/img/logo11.png"> </td>
</tr>
<tr>
<td style="vertical-align: bottom; height: 20px;">
<a href=/en/><img title=Home
style=border: 0px solid ; width: 269px; height: 20px; alt=Home
src=/en/img/en-home.png></a><a href=/en/faq.html><img
title=FAQ style=border: 0px solid ; width: 58px; height: 20px;
alt=FAQ src=/en/img/en-faq.png></a><a
href=/en/load.html><img title=Download
style=border: 0px solid ; width: 138px; height: 20px;
alt=Downloadв src=/en/img/en-load.png></a><a href=/en/hosts.html><img
title=Forum style=width: 175
px; height: 20px; alt=Forum
src=/en/img/en-forum.png></a><a href=/en/forum/><img
title=Help style=width: 175
px; height: 20px; alt=Help
src=/en/img/en-help.png></a>
</td>
</tr>
<tr>
<td style="vertical-align: bottom; text-align: right; height: 20px;"><a
href="/ua/"><img style="border: 0px solid ; width: 17px; height: 11px;"
alt="Український" title="Український"
src="http://file.cs-kukmor.org/file_hosting/ua.png"></a> <a
href="/en/"><img style="border: 0px solid ; width: 16px; height: 11px;"
alt="English" title="English"
src="http://file.cs-kukmor.org/file_hosting/us.png"></a> <a
href="/"><img style="border: 0px solid ; width: 16px; height: 11px;"
alt="Русский" title="Русский"
src="http://file.cs-kukmor.org/file_hosting/ru.png"></a> </td>
</tr>
</tbody>
</table>
<center>
<center>
<center><br>
<table style="text-align: left; width: 600px; " border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr align="left">
<td style="vertical-align: bottom; width: 620px;">
<center>
<?php
}
function down_forum(){ ?>
<?php
}
function my_pages($g,$mp){
?><a class=pg href='<?php echo $g; ?>&p=<?php echo $mp; ?>'><?php echo $mp; ?></a> <?php
}
function my_links(){ ?>
<?php
}
?>
</center>
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1" style="vertical-align: top;">
<div style="text-align: center;">
<center>
<table style="text-align: left; width: 556px; height: 0px;" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;">
</td>
</tr>
</tbody>
</table>
</center><br>
</center>
<?php
$stat=<<<EOD
<!-- Rating@Mail.ru counter -->
<script type="text/javascript">//<![CDATA[
(function(w,n,d,r,s){d.write('<p><a href="http://top.mail.ru/jump?from=2312723">'+
'<img src="http://da.c4.b3.a2.top.mail.ru/counter?id=2312723;t=171;js=13'+
((r=d.referrer)?';r='+escape(r):'')+((s=w.screen)?';s='+s.width+'*'+s.height:'')+';_='+Math.random()+
'" style="border:0;" height="15" width="88" alt="Рейтинг@Mail.ru" /><\/a><\/p>');})(window,navigator,document);//]]>
</script><noscript><p><a href="http://top.mail.ru/jump?from=2312723">
<img src="http://da.c4.b3.a2.top.mail.ru/counter?id=2312723;t=171;js=na"
style="border:0;" height="15" width="88" alt="Рейтинг@Mail.ru" /></a></p></noscript>
<!-- //Rating@Mail.ru counter -->
EOD;
$statik= <<<EOD
<!-- Yandex.Metrika informer -->
<a href="http://metrika.yandex.ru/stat/?id=20225281&from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/20225281/1_0_6590C2FF_4570A2FF_1_pageviews"
style="width:80px; height:15px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры)" onclick="try{Ya.Metrika.informer({i:this,id:20225281,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter20225281 = new Ya.Metrika({id:20225281,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/20225281" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
EOD;
?>
</span></div><center><table style="text-align: left; width: 180px; height: 15px;" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="1" rowspan="1" style="vertical-align: top; height: 25px;"><img style="width: 640px; height: 20px;" src="/file_hosting/logo2.png"><br>
</td></tr><tr>
<td colspan="1" rowspan="1" style="vertical-align: bottom; height: 20px;">
<div style="text-align: center;"><span
style="font-family: Arial; font-size: 10pt;">
<a style="color: rgb(102, 102, 102);" href="/en/forum/">Forum </a>
<a style="color: rgb(102, 102, 102);" href="/en/feedback.html">Feedback</a>
<a style="color: rgb(102, 102, 102);" href="/en/reklama.html">Advertisement
</a>
</div>
<center><table style="text-align: left; width: 180px; height: 15px;" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: middle; text-align: center; height: 12px;"><?php echo $stat ?>
</td>
<td style="vertical-align: middle; text-align: center; height: 12px;"><?php echo $statik ?>
</td>
</tr>
</tbody>
</table></center></div>
<br>
<br>
</center></center>
</body></html>