Вход Регистрация
Файл: feed/filter.php
Строк: 68
<?php

require_once '../incfiles/core.php';
require_once 
'../incfiles/func.php';
require_once 
'../incfiles/auth.php';
require_once 
'../incfiles/user.php';

if (empty(
$user_id)) {go(URL.'/');}

$title lang('Фильтр новостей','Фільтр новин');
require_once 
'../incfiles/head.php';

?>
<script type="text/javascript">
$(function(){
    $('#form').on('submit', function(e){
    Page.Loading('start');
    e.preventDefault();
    var $that = $(this),
        formData = new FormData($that.get(0));
    $.ajax({
      url: $that.attr('action'),
      type: $that.attr('method'),
      contentType: false,
      processData: false,
      data: formData,
      success: function(response){
        if(response){
             $('.content').html(response);
            Page.Loading('stop');
      }
     }
    });
  });
});
</script>
<?

$act 
htmlentities(trim($_GET['act']));
switch(
$act)
{
default:
echo
'<div class="content_block">
<a href="'
.URL.'/feed/" onclick="Page.Go(this.href); return false"><li><img src="'.URL.'/design/img/menu/feed.png"/>'.lang('Записи','Записи').'</li></a>
<a href="'
.URL.'/feed/photos.php" onclick="Page.Go(this.href); return false"><li><img src="'.URL.'/design/img/menu/photo.png"/>'.lang('Фото','Фото').'</li></a>
<a href="'
.URL.'/feed/update.php" onclick="Page.Go(this.href); return false"><li><img src="'.URL.'/design/img/menu/users.png"/>'.lang('Обновления','Оновлення').'</li></a>
<a href="'
.URL.'/feed/groups.php" onclick="Page.Go(this.href); return false"><li><img src="'.URL.'/design/img/menu/groups.png"/>'.lang('Сообщества','Спільноти').'</li></a>
<a href="'
.URL.'/feed/search.php" onclick="Page.Go(this.href); return false"><li><img src="'.URL.'/design/img/menu/journal.png"/>'.lang('Поиск','Пошук').'</li></a>
</div>
'
;



break;
}



require_once 
'../incfiles/foot.php';
?>
Онлайн: 2
Реклама