ords'); define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); define('VOTE_USERS_TABLE', $table_prefix.'vote_voters'); ?> data'; // Build up the string with everything but the last child. for ($i = 0; $i < $blockcount; $i++) { $varref .= '[\'' . $blocks[$i] . '.\'][$_' . $blocks[$i] . '_i]'; } // Add the block reference for the last child. $varref .= '[\'' . $blocks[$blockcount] . '.\']'; // Add the iterator for the last child if requried. if ($include_last_iterator) { $varref .= '[$_' . $blocks[$blockcount] . '_i]'; } return $varref; } } ?> ery single URL and form action. If you replace the session // code you must include this routine, even if it's empty. // function append_sid($url, $non_html_amp = false) { global $SID; if ( !empty($SID) && !preg_match('#sid=#', $url) ) { $url .= ( ( strpos($url, '?') != false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID; } return $url; } ?> case AUTH_ACL: $result = $u_access[$j][$key]; case AUTH_MOD: $result = $result || $u_access[$j]['auth_mod']; case AUTH_ADMIN: $result = $result || $is_admin; break; } $auth_user = $auth_user || $result; } } else { $auth_user = $is_admin; } return $auth_user; } ?>rt . $script_name . $url); echo 'Redirect
If your browser does not support meta redirection please click HERE to be redirected
'; exit; } // Behave as per HTTP/1.1 spec for others header('Location: ' . $server_protocol . $server_name . $server_port . $script_name . $url); exit; } ?>); @mysql_free_result($query_id); return true; } else { return false; } } function sql_error($query_id = 0) { $result["message"] = @mysql_error($this->db_connect_id); $result["code"] = @mysql_errno($this->db_connect_id); return $result; } } // class sql_db } // if ... define ?>ie(CRITICAL_ERROR, "Could not connect to the database"); } ?>); define('QUOTA_PM_LIMIT', 2); define('ATTACH_VERSION', '2.3.7'); ?>ession_page']); // admin/index.php: // perform_attach_pageregister($onlinerow_reg[$i]['user_session_page'], TRUE); // perform_attach_pageregister($onlinerow_guest[$i]['session_page'], TRUE); // function perform_attach_pageregister($session_page, $in_admin = FALSE) { global $location, $location_url, $lang; switch ($session_page) { case (PAGE_UACP): $location = $lang['User_acp_title']; $location_url = ($in_admin) ? "index.$phpEx?pane=right" : "index.$phpEx"; break; case (PAGE_RULES): $location = $lang['Rules_page']; $location_url = ($in_admin) ? "index.$phpEx?pane=right" : "index.$phpEx"; break; } } ?> (u.user_id = " . $user_id . ") AND (g.group_id = " . $group_id . ") LIMIT 1"; if ( !($result = attach_sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not get User Group', '', __LINE__, __FILE__, $sql); } if ($db->sql_numrows($result) == 0) { return (FALSE); } else { return (TRUE); } } // -> from phpBB 2.0.4 // This function is for compatibility with PHP 4.x's realpath() // function. In later versions of PHP, it needs to be called // to do checks with some functions. Older versions of PHP don't // seem to need this, so we'll just return the original value. // dougk_ff7 function amod_realpath($path) { global $phpbb_root_path, $phpEx; return (!@function_exists('realpath') || !@realpath($phpbb_root_path . 'includes/functions.'.$phpEx)) ? $path : @realpath($path); } ?> if ( !($result = attach_sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Couldn\'t select Topic ID', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrowset($result); $num_rows = $db->sql_numrows($result); for ($i = 0; $i < $num_rows; $i++) { attachment_sync_topic($row[$i]['topic_id']); } } } ?>w_ftp_upload'])) { $result = ftp_file($new_file, $old_file, $this->type, TRUE); // True for disable error-mode if (!$result) { return (FALSE); } } else { @chmod($new_file, 0666); } return (TRUE); } ?> 64, 5); // Get rect $width = (int)(swf_bits ($buffer, 69 + $bits, $bits) - swf_bits ($buffer, 69, $bits)) / 20; $height = (int)(swf_bits ($buffer, 69 + (3 * $bits), $bits) - swf_bits ($buffer, 69 + (2 * $bits), $bits)) / 20; } else { $error = TRUE; } if (!$error) { fclose($fp); return array( $width, $height, '2' ); } fclose($fp); return ($size); } ?>e(GENERAL_ERROR, 'Couldn\'t update attachment download count', '', __LINE__, __FILE__, $sql); } } if ($link) { $target_blank = ( (intval($display_categories[$attachments['_' . $post_id][$i]['extension']]) == IMAGE_CAT) ) ? 'target="_blank"' : ''; // // display attachment // $template->assign_block_vars('postrow.attach.attachrow', array( 'U_DOWNLOAD_LINK' => append_sid('download.' . $phpEx . '?id=' . $attachments['_' . $post_id][$i]['attach_id']), 'S_UPLOAD_IMAGE' => $upload_image, 'DOWNLOAD_NAME' => $display_name, 'FILESIZE' => $filesize, 'SIZE_VAR' => $size_lang, 'COMMENT' => $comment, 'TARGET_BLANK' => $target_blank, 'L_DOWNLOADED_VIEWED' => $lang['Downloaded'], 'L_DOWNLOAD_COUNT' => sprintf($lang['Download_number'], $attachments['_' . $post_id][$i]['download_count'])) ); } } } } ?> if ( !($result = attach_sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Unable to select Posts Table.', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($result); $sql = "UPDATE " . TOPICS_TABLE . " SET topic_attachment = 1 WHERE topic_id = " . $row['topic_id']; if ( !(attach_sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Unable to update Topics Table.', '', __LINE__, __FILE__, $sql); } } } } // // Handle Attachments (Add/Delete/Edit/Show) - This is the first function called from every message handler // function posting_attachment_mod() { global $mode, $confirm, $is_auth, $post_id, $delete, $refresh, $HTTP_POST_VARS; if (!$refresh) { $add_attachment_box = ( !empty($HTTP_POST_VARS['add_attachment_box']) ) ? TRUE : FALSE; $posted_attachments_box = ( !empty($HTTP_POST_VARS['posted_attachments_box']) ) ? TRUE : FALSE; $refresh = $add_attachment_box || $posted_attachments_box; } // // Choose what to display // $result = $this->handle_attachments($mode); if ($result == FALSE) { return; } if ( ($confirm) && ($delete || $mode == 'delete' || $mode == 'editpost') && ($is_auth['auth_delete'] || $is_auth['auth_mod']) ) { if (!empty($post_id)) { delete_attachment($post_id); } } $this->display_attachment_bodies(); } } // // Entry Point // function execute_posting_attachment_handling() { global $attachment_mod; $attachment_mod['posting'] = new attach_posting(); $attachment_mod['posting']->posting_attachment_mod(); } ?>tachment_bodies(); } } } // // Entry Point // function execute_privmsgs_attachment_handling($mode) { global $attachment_mod; $attachment_mod['pm'] = new attach_pm(); if ($mode != 'read') { $attachment_mod['pm']->privmsgs_attachment_mod($mode); } } ?>fig['allow_ftp_upload'])) { $upload_dir = $attach_config['upload_dir']; } else { $upload_dir = $attach_config['download_path']; } ?>
Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.andreabocelli.org/home/forum2/attach_mod/includes/functions_delete.php:367) in /web/htdocs/www.andreabocelli.org/home/forum2/includes/sessions.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.andreabocelli.org/home/forum2/attach_mod/includes/functions_delete.php:367) in /web/htdocs/www.andreabocelli.org/home/forum2/includes/sessions.php on line 183
r'] = 'Critical Error'; $lang['An_error_occured'] = 'An Error Occurred'; $lang['A_critical_error'] = 'A Critical Error Occurred'; // // That's all, Folks! // ------------------------------------------------- // add to global announcement mod $lang['Topic_global_announcement']='Global Announce:'; $lang['Post_global_announcement'] = 'Global Announce'; $lang['Topic_Moved'] = 'Moved:'; // Advanced Quick Reply Mod $lang['Quick_Reply'] = 'Quick Reply'; $lang['Quick_quote'] = 'Quote the last message'; $lang['QuoteSelelected'] = 'Quote selected'; $lang['QuoteSelelectedEmpty'] = 'Select a text anywhere on a page and try again'; $lang['Quick_Reply_smilies'] = 'all'; // add to Split Topic Type $lang['Post_global_announcements']='Global Announcements'; $lang['Post_Announcements']='Announcements'; $lang['Post_Stickys']='Stickys'; // // Online/Offline/Hidden MOD // $lang['Online'] = 'Online'; $lang['Offline'] = 'Offline'; $lang['Hidden'] = 'Hidden'; $lang['View_status'] = 'Status'; ?>ttachbox_limit'] = 'Your Attachbox is %d%% full'; $lang['No_quota_limit'] = 'No Quota Limit'; $lang['Unlimited'] = 'Unlimited'; ?>
Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.andreabocelli.org/home/forum2/attach_mod/includes/functions_delete.php:367) in /web/htdocs/www.andreabocelli.org/home/forum2/includes/page_header.php on line 488

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.andreabocelli.org/home/forum2/attach_mod/includes/functions_delete.php:367) in /web/htdocs/www.andreabocelli.org/home/forum2/includes/page_header.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.andreabocelli.org/home/forum2/attach_mod/includes/functions_delete.php:367) in /web/htdocs/www.andreabocelli.org/home/forum2/includes/page_header.php on line 491
www.andreabocelli.org ::
www.andreabocelli.org Forum Index  
 FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •   Statistiche  •  Log in
lit_sticky','" . $switch_split_sticky . "')"; if ( !($resultw = $db->sql_query($sqlw)) ) message_die(GENERAL_ERROR, 'Could not add key split_sticky in config table', '', __LINE__, __FILE__, $sql); $board_config['split_sticky'] = $switch_split_sticky; } if ( isset( $board_config['split_sticky'] ) ) { $switch_split_sticky = $board_config['split_sticky']; } //-- fin mod : split topic type -------------------------------------------------------------------- $template->pparse('overall_header'); ?>
Information
Information

Please ensure both the install/ and contrib/ directories are deleted
 
 



Powered by phpBB 2.0.22 2001, 2002 phpBB Group :: FI Theme :: All times are GMT + 1 Hour
Translation By :: Kalamaio :: per la Italian Pack GOLD Edition - Versione 1.1