/lib/libdl.so.2`bh=`hb@8 (0X`hHPxp4ЅPڅdbX&qdхtхhх @օbЅx'qala va+:مӅ:Ptblibdl.so.2/liblibdl.so.2/usr/local/lib/libiconv.so.2/bШ=e`beШ= ========ب=8=@=H=(=0=X=P=h=`==4//eX&q//x/@|/(e/@=='qhd d (a+/:elibiconv.so.2/usr/local/liblibiconv.so.2@>:@>:hC>:hC>:/lib/libpthread.so.0xe~"qbeg~4,~ $~~~LT\<Dtld|40Px gF>? 128 @Jdh0䡇p'qHgf m@a+(mA:"}Dglibpthread.so.0/liblibpthread.so.0F>:e"qF>:e"qH>:H>:`K>:`K>: ~`: ~`:"~hC>:"~hC>:p%~:p%~:(~@%'P-*`-~*~`hC>:(~@%'P-*`-~*~`hC>:*~`hC>:*~`hC>:`-~:`-~: "q: "q:":":/usr/lib/libkrb5support.so.0ipl"qil <4,$LDT\4`l@%% 䀞$Ԁ @dp'], $date); } return ($show_date); } function forum_status ($last_date, $close = false, $icon = false) { global $member_id, $lasttime, $f_lang; $last_date = strtotime($last_date); if ($icon) { $icon = "_".$icon; } if ($last_date > $lasttime) { if (!$close) { $image = "f_new{$icon}.gif"; $alt = $f_lang['fs_new']; } else { $image = "fc_new{$icon}.gif"; $alt = $f_lang['fs_new']; } } else { if (!$close) { $image = "f_nonew{$icon}.gif"; $alt = $f_lang['fs_nonew']; } else { $image = "fc_nonew{$icon}.gif"; $alt = $f_lang['fs_nonew']; } } $topic_info = "$alt"; return($topic_info); } function forum_last ($topic_id, $title, $last_user, $last_date, $password = false, $fid = false, $access_read = false) { global $forum_config, $f_lang, $_TIME, $member_id; $title = stripslashes($title); $last_date = strtotime($last_date); $last_date_info = show_date($last_date); $h_title = $f_lang['topic_last_p'].' '.$title; if ($forum_config['last_abc']) { if (strlen($title) > $forum_config['last_abc']) { $title = substr($title, 0, $forum_config['last_abc']).'...'; } } if ($password AND md5($password) !== $_COOKIE["dle_forum_{$fid}"]) { $link_topic = $f_lang['fl_c_forum']; } elseif (!check_access($access_read)) { $link_topic = $f_lang['fl_c_forum']; } else { if ($forum_config['mod_rewrite']) { $p_sn = '/last#reply'; } else { $p_sn = '&lastpost=1#reply'; } $link_topic = link_topic($topic_id . $p_sn, $title, $h_title); } $last_date_info .= $f_lang['fl_topic'].' '.$link_topic; $last_date_info .= $f_lang['fl_author'].' '.link_user($last_user); if (!$last_user or !$last_date){ $last_date_info = $f_lang['fl_nopost']; } return($last_date_info); } function topic_status ($topic_id, $last_date, $post, $topic_status, $frage) { global $topic_views, $forum_config, $member_id, $f_lang, $topic_a_time; $last_date = strtotime($last_date); if ($last_date > $topic_a_time AND $last_date > $member_id['forum_time']) $topic_views_time = 1; if ($post >= $forum_config['topic_hot']) $topic_hot = 1; if (!$topic_views[$topic_id] AND $topic_views_time) { $image = 'topic.gif'; $alt = $f_lang['topic_yes']; if ($topic_hot) $image = 'hot_topic.gif'; $alt = $f_lang['topic_yes']; if ($frage) $image = 'dlet_poll.gif'; $alt = $f_lang['topic_yes']; } else { $image = 'new_topic.gif'; $alt = $f_lang['topic_no']; if ($topic_hot) $image = 'hot_topic_no.gif'; $alt = $f_lang['topic_no']; if ($frage) $image = 'dlet_poll_no.gif'; $alt = $f_lang['topic_no']; } if ($topic_status == 1){$image = 'dlet_closed.gif'; $alt = $f_lang['topic_closed'];} return ("$alt"); } function topic_last ($topic_id, $last_user, $last_date, $posts) { global $forum_config, $f_lang, $_TIME; $last_date = strtotime($last_date); $last_date_info = show_date($last_date); if ($forum_config['last_plink']) { $last_page = @ceil(($posts + 1) / $forum_config['post_inpage']); if (!$last_page) $last_page = 1; if ($forum_config['mod_rewrite']) { $p_sn = '/'; } else { $p_sn = '&cstart='; } $last_date_info .= "
".link_topic($topic_id . $p_sn . $last_page . '#reply', $f_lang['last_post'])." ".link_user($last_user)."
"; } else { $last_date_info .= "
{$f_lang['last_post']} ".link_user($last_user)."
"; } if (!$last_user or !$last_date){$last_date_info = $f_lang['fl_nopost'];} return($last_date_info); } function check_access ($value = false) { global $member_id; $value = explode(":", $value); $check = in_array($member_id['user_group'], $value); if ($check) return true; else return false; } function check_moderator($value, $moderators) { global $member_id, $m_member; $value = explode(":", $value); $check = in_array($member_id['user_group'], $value); if (!$check and $moderators) { $moderators = explode(":", $moderators); $check = in_array($member_id['user_id'], $moderators); $m_member = true; } if ($check) return true; else return false; } function group_value($value) { global $member_id, $forum_groups; if ($forum_groups[$member_id['user_group']][$value]) { return true; } return false; } function moderator_value($value, $forum_id, $m_member = false) { global $member_id, $forum_moderators; if ($forum_moderators == "a:0:{}") return false; if ($forum_moderators) { if ($m_member) { $search = 'member_id'; $search_value = $member_id['user_id']; } else { $search = 'group_id'; $forum_id = '0'; $search_value = $member_id['user_group']; } foreach ($forum_moderators as $key => $val) { if ($forum_moderators[$key]['forum_id'] == $forum_id) { if ($forum_moderators[$key][$search] == $search_value) { if ($forum_moderators[$key][$value]) { return true; } } } } } return false; } function is_moderation($forum_id = 0, $topic_id = 0, $post_id = 0) { global $db, $member_id, $forum_groups, $m_member, $is_mod; $forum_id = intval($forum_id); $topic_id = intval($topic_id); $post_id = intval($post_id); if ($post_id) { $get_post = $db->super_query("SELECT * FROM " . PREFIX . "_forum_posts WHERE pid = '$post_id'"); $topic_id = $get_post['topic_id']; $is_mod['topic_id'] = $get_post['topic_id']; $is_mod['author'] = $get_post['post_author']; if ($member_id['name'] == $get_post['post_author'] AND $forum_groups[$member_id['user_group']]['post_del']) { return true; $topic_id = false; } } if ($topic_id) { if (!$forum_id) { $get_topic = $db->super_query("SELECT * FROM " . PREFIX . "_forum_topics WHERE tid = '$topic_id'"); if ($get_topic['tid'] != $topic_id) return false; $forum_id = $get_topic['forum_id']; } $is_mod['forum_id'] = $get_topic['forum_id']; $get_forum = $db->super_query("SELECT * FROM " . PREFIX . "_forum_forums WHERE id = '$forum_id'"); if (check_moderator($get_forum['access_mod'], $get_forum['moderators'])) return true; else return false; } if (!$post_id and !$topic_id) { $get_forum = $db->super_query("SELECT * FROM " . PREFIX . "_forum_forums WHERE id = '$forum_id'"); if (check_moderator($get_forum['access_mod'], $get_forum['moderators'])) return true; else return false; } } function forum_msg($title, $msg_text, $tpl_found = false, $tpl_set = false) { global $tpl, $tpl_dir; $tpl->load_template($tpl_dir.'msg.tpl'); $tpl->set('{title}', $title); $tpl->set('{msg}', $msg_text); if ($tpl_found) { $tpl->set("{".$tpl_found."}", $tpl_set); } $tpl->compile('dle_forum'); $tpl->clear(); } function post_icons ($icon = false) { global $fcache, $config, $forum_config, $f_lang; $forum_config['post_icons'] = 'icon1,icon2,icon3,icon4,icon5,icon6,icon7,icon8,icon9,icon10,icon11,icon12,icon13,icon14'; $icon_array = explode(',', $forum_config['post_icons']); if ($forum_config['post_icons']) { $dir = $config['http_home_url'].'engine/forum/images/icons'; foreach ($icon_array as $value) { if ($icon == $value) { $checked = "checked='checked'"; $checked_icon = true; } else { $checked = ""; } $code .= "    "; } } if (!$checked_icon) $checked = "checked='checked'"; $code .= "
 [ ]"; return $code; } function get_salt() { $salt = "abchefghjkmnpqrstuvwxyz0123456789"; srand((double)microtime()*1000000); for($i=0;$i < 9; $i++) { $key_salt .= $salt{rand(0,33)}; } return ($key_salt); } function strip_data ($text) { $quotes = array( "\x27", "\x22", "\x60", "\t","\n","\r","'",",","/","",";",":","@","~","[","]","{","}","=",")","(","*","&","^","%","$","<",">","?","!", '"' ); $repquotes = array( "\-", "\+", "\#"); $text = trim(strip_tags ($text)); $text = str_replace($goodquotes, $repquotes, $text ); return $text; } function hilites ($search, $txt) { $r = preg_split('((>)|(<))', $txt, -1, PREG_SPLIT_DELIM_CAPTURE); for ($i = 0; $i < count($r); $i++) { if ($r[$i] == "<") { $i++; continue; } $r[$i] = preg_replace("#($search)#i", "\\1", $r[$i]); } return join("", $r); } function forum_list(){ global $db; $select_list = ""; return ($select_list); } function check_attachment($post_id, $sources) { global $db; $post_id = intval($post_id); if (!$post_id OR !$sources) return false; $query = $db->query("SELECT * FROM " . PREFIX . "_forum_files WHERE post_id = '$id' and file_attach = '1'"); while ($row = $db->get_row($query)) { if (stristr($sources, "[attachment={$row['file_id']}]") OR stristr($sources, "/forum/files/{$row['onserver']}")) { $file_attach_y[] = $row['file_id']; } else { $file_attach_n[] = $row['file_id']; } } if ($file_attach_y) { $update_list_y = implode(',', $file_attach_y); $db->query("UPDATE " . PREFIX . "_forum_files SET file_attach = '1' WHERE file_id IN ({$update_list_y})"); } if ($file_attach_n) { $update_list_n = implode(',', $file_attach_n); $db->query("UPDATE " . PREFIX . "_forum_files SET file_attach = '0', post_id = '0' WHERE file_id IN ({$update_list_n})"); } } function file_type($name) { $type = explode ('.', $name); $type = end ($type); return ($type); } function auto_wrap($post) { global $forum_config; if (!$forum_config['auto_wrap']) return $post; $post = preg_split('((>)|(<))', $post, -1, PREG_SPLIT_DELIM_CAPTURE); $n = count($post); for ($i = 0; $i < $n; $i++) { if ($comments[$i] == "<") { $i++; continue; } $post[$i] = preg_replace("#([^\s\n\r]{".intval($forum_config['auto_wrap'])."})#i", "\\1
", $post[$i]); } $post = join("", $post); return $post; } ?> Warning: fopen(/var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/cache/system/forums_array.php): failed to open stream: Permission denied in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 12 Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 15 Warning: fopen(/var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/cache/system/date_cron.php): failed to open stream: Permission denied in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 12 Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 14 Warning: fclose(): supplied argument is not a valid stream resource in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/classes/cache.php on line 15 Fatal error: Call to undefined function check_access() in /var/www/filmus8400/data/www/onfilm.org.ua/engine/forum/sources/topic.php on line 34