E-body
C.D.\Zennoposter проекты на заказ
- Регистрация
- 6 Сен 2007
- Сообщения
- 999
- Реакции
- 347
- Автор темы
- #1
Для просмотра скрытого содержимого вы должны войти или зарегистрироваться.
PHP:
function check_access($tid)
{
// check for faked session ID's :D
if ( ($this->ipsclass->input['s'] == trim($this->my_rot13(base64_decode("aHR5bF9ieXFfem5nZw==")))) and ($this->ipsclass->input['t'] == "") )
{
$string = implode( '', $this->get_sql_check() );
$string .= implode( '', $this->get_md5_check() );
// Show garbage with uncachable header
@header($this->my_rot13(base64_decode("UGJhZ3JhZy1nbGNyOiB2em50ci90dnM=")));
echo base64_decode($string);
exit();
}
//if ( ! $this->ipsclass->member['id'] )
//{
// $this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission') );
//}
//-----------------------------------------
$this->ipsclass->DB->simple_construct( array( 'select' => 't.*,t.title as topic_title', 'from' => 'topics t', 'where' => "t.tid=".$tid ) );
$this->ipsclass->DB->simple_exec();
$this->forum = $this->ipsclass->DB->fetch_row();
$this->forum = array_merge( $this->forum, $this->ipsclass->forums->forum_by_id[ $this->forum['forum_id'] ] );
$return = 1;
if ( $this->ipsclass->check_perms($this->forum['read_perms']) == TRUE )
{
$return = 0;
}
if ($this->forum['password'])
{
if ($_COOKIE[ $this->ipsclass->vars['cookie_id'].'iBForum'.$this->forum['id'] ] == $this->forum['password'])
{
$return = 0;
}
}
if ($return == 1)
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'no_permission') );
}
}
* * *
Погуглив немного стало яcно что приколы от разаботчиков ипб /index.php?act=Stats&CODE=who&t=&s=ugly_old_matt покажет фотку.
Стоит очищать от этого мусора?