phpbb στην πρώτη σελίδα

Μια περιοχή για το phpBB, την δημοφιλή δωρεάν πλατφόρμα για forums

Συντονιστές: WebDev Moderators, Super-Moderators, PHP Moderators

Απάντηση
Άβαταρ μέλους
cdhyper
Literature Moderator
Δημοσιεύσεις: 9707
Εγγραφή: 23 Ιουν 2001 03:00
Τοποθεσία: Φωτονερόπετρα
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από cdhyper » 25 Ιούλ 2004 05:41

Μου είχε αναφέρει ο cordis σε προηγούμενο topic ότι το freestuff δεν χρησιμοποιεί το γνωστό topics anywhere addon του phpbb για να φέρνει τα τελευταία νέα στην πρώτη σελίδα. Αυτό έχει σαν αποτέλεσμα να αποφεύγει το javascript και να καταχωρούνται οι σελίδες του forum μια χαρά στις μηχανές αναζήτησης.

Η ερώτηση αυτονόητη (κυρίως προς cordis): έχετε φτιάξει τίποτα χειροποίητο γι αυτή τη δουλειά που αντικαθιστά το topics_anywhere; Υπάρχει κάπου στο internet; Μπορώ να το βρω;
Σύγκριση τιμών Supermarket: http://www.shopnsave.gr
Νέα Ιταλικα επιπλα κουζινας
Για φιλοσόφους: http://filosofia.gr και http://liantinis.org

Άβαταρ μέλους
Rapid-eraser
WebDev Moderator
Δημοσιεύσεις: 6851
Εγγραφή: 05 Απρ 2003 17:50
Τοποθεσία: Πειραιάς
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Rapid-eraser » 25 Ιούλ 2004 10:15

dev eivai toso diskolo va to ftiakseis :P

basic sql 8elei kai ligi php
Cu, Rapid-eraser, Tα αγαθά copies κτώνται.
Love is like oxygen, You get too much you get too high
Not enough and you're gonna die, Love gets you high

Άβαταρ μέλους
cdhyper
Literature Moderator
Δημοσιεύσεις: 9707
Εγγραφή: 23 Ιουν 2001 03:00
Τοποθεσία: Φωτονερόπετρα
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από cdhyper » 25 Ιούλ 2004 10:37

Ηπιο εύκολη λύση ήταν ανέκαθεν η έτοιμη. Γι αυτό ρώτησα :kaloe:
Σύγκριση τιμών Supermarket: http://www.shopnsave.gr
Νέα Ιταλικα επιπλα κουζινας
Για φιλοσόφους: http://filosofia.gr και http://liantinis.org

Άβαταρ μέλους
Nkapa
Honorary Member
Δημοσιεύσεις: 872
Εγγραφή: 22 Απρ 2002 16:38
Τοποθεσία: Μυτιλήνη
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Nkapa » 04 Σεπ 2004 16:26

Μπορεί να βοηθήσει κάποιος ενδιαφέρει κι εμένα το θέμα...

Άβαταρ μέλους
denniskriti
Δημοσιεύσεις: 103
Εγγραφή: 02 Σεπ 2004 10:16
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από denniskriti » 04 Σεπ 2004 16:31

kai emena ...kai pws akribos tha to egkatastisoume????

Άβαταρ μέλους
Basilakis
PHP Moderator
Δημοσιεύσεις: 8574
Εγγραφή: 17 Νοέμ 2003 13:03
Τοποθεσία: Womans' Brain
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Basilakis » 07 Σεπ 2004 20:16

Βρήκα κάτι που ίσως μας βοηθήσει.. το phpbb2plus κάνει αυτό το πράγμα... έτσι έψαξα και βρήκα ποία αρχεία χρησιμοποιεί... Αλλά δεν μ πόρεσε να τα κάνω edit.

fetchposts.php

Κώδικας: Επιλογή όλων

<?php
/***************************************************************************
 *                            fetchposts.php
 *                           -------------------
 *   begin              : Tuesday, August 13, 2002
 *   copyright          : (C) 2002 Smartor
 *   email              : smartor_xp@hotmail.com
 *   original work      : Volker Rattel <ca5ey@clanunity.net>
 *
 *   $Id: fetchposts.php,v 2.1.7 2003/01/30, 16:45:24 Smartor Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   Some code in this file I borrowed from the phpBB Fetch Posts MOD by Ca5ey
 *   and Mouse Hover Topic Preview MOD by Shannado
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

error_reporting(E_ERROR | E_WARNING | E_PARSE);
set_magic_quotes_runtime(0);

include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);


function phpbb_fetch_posts($forum_sql, $number_of_posts, $text_length)
{
	global $db, $board_config;

	$sql = 'SELECT
			  t.topic_id,
			  t.topic_time,
			  t.topic_title,
			  pt.post_text,
			  u.username,
			  u.user_id,
			  t.topic_replies,
			  pt.bbcode_uid,
			  t.forum_id,
			  t.topic_poster,
			  t.topic_first_post_id,
			  t.topic_status,
			  pt.post_id,
			  p.post_id,
			  p.enable_smilies
			FROM
			  ' . TOPICS_TABLE . ' AS t,
			  ' . USERS_TABLE . ' AS u,
			  ' . POSTS_TEXT_TABLE . ' AS pt,
			  ' . POSTS_TABLE . ' AS p
			WHERE
			  t.forum_id IN (' . $forum_sql . ') AND
			  t.topic_time <= ' . time() . ' AND
			  t.topic_poster = u.user_id AND
			  t.topic_first_post_id = pt.post_id AND
			  t.topic_first_post_id = p.post_id AND
			  t.topic_status <> 2
			ORDER BY
			  t.topic_time DESC';
	if ($number_of_posts != 0)
	{
		$sql .= '
			LIMIT
			  0,' . $number_of_posts;
	}
	//
	// query the database
	//
	if(!($result = $db->sql_query($sql)))
	{
		message_die(GENERAL_ERROR, 'Could not query announcements information', '', __LINE__, __FILE__, $sql);
	}
	//
	// fetch all postings
	//
	$posts = array();
	if ($row = $db->sql_fetchrow($result))
	{
		$i = 0;
		do
		{
			$posts[$i]['bbcode_uid'] = $row['bbcode_uid'];
			$posts[$i]['enable_smilies'] = $row['enable_smilies'];
			$posts[$i]['post_text'] = $row['post_text'];
			$posts[$i]['topic_id'] = $row['topic_id'];
			$posts[$i]['topic_replies'] = $row['topic_replies'];
			$posts[$i]['topic_time'] = create_date($board_config['default_dateformat'], $row['topic_time'], $board_config['board_timezone']);
			$posts[$i]['topic_title'] = $row['topic_title'];
			$posts[$i]['user_id'] = $row['user_id'];
			$posts[$i]['username'] = $row['username'];

			//
			// do a little magic
			// note: part of this comes from mds' news script and some additional magics from Smartor
			//
			stripslashes($posts[$i]['post_text']);
			if (($text_length == 0) or (strlen($posts[$i]['post_text']) <= $text_length))
			{				
				$posts[$i]['post_text'] = bbencode_second_pass($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);
				$posts[$i]['striped'] = 0;
			}
			else // strip text for news
			{
				$posts[$i]['post_text'] = bbencode_strip($posts[$i]['post_text'], $posts[$i]['bbcode_uid']);
				$posts[$i]['post_text'] = substr($posts[$i]['post_text'], 0, $text_length) . '...';
				$posts[$i]['striped'] = 1;
			}
			//
			// Smilies
			//
			if ($posts[$i]['enable_smilies'] == 1)
			{
				$posts[$i]['post_text'] = smilies_pass($posts[$i]['post_text']);
			}
			$posts[$i]['post_text'] = make_clickable($posts[$i]['post_text']);
			//
			// define censored word matches
			//
			$orig_word = array();
			$replacement_word = array();
			obtain_word_list($orig_word, $replacement_word);
			//
			// censor text and title
			//
			if (count($orig_word))
			{
				$posts[$i]['topic_title'] = preg_replace($orig_word, $replacement_word, $posts[$i]['topic_title']);
				$posts[$i]['post_text'] = preg_replace($orig_word, $replacement_word, 	$posts[$i]['post_text']);
			}
			$posts[$i]['post_text'] = nl2br($posts[$i]['post_text']);
			$i++;
		}
		while ($row = $db->sql_fetchrow($result));
	}
	//
	// return the result
	//
	return $posts;
} // phpbb_fetch_posts

function phpbb_fetch_poll($forum_sql)
{
	global $db;

	$sql = 'SELECT
			  t.*,
			  vd.*
			FROM
			  ' . TOPICS_TABLE	 . ' AS t,
			  ' . VOTE_DESC_TABLE  . ' AS vd
			WHERE
			  t.forum_id IN (' . $forum_sql . ') AND
			  t.topic_status <> 1 AND
			  t.topic_status <> 2 AND
			  t.topic_vote = 1 AND
			  t.topic_id = vd.topic_id
			ORDER BY
			  t.topic_time DESC
			LIMIT
			  0,1';

	if (!$query = $db->sql_query($sql))
	{
		message_die(GENERAL_ERROR, 'Could not query poll information', '', __LINE__, __FILE__, $sql);
	}

	$result = $db->sql_fetchrow($query);

	if ($result)
	{
		$sql = 'SELECT
				  *
				FROM
				  ' . VOTE_RESULTS_TABLE . '
				WHERE
				  vote_id = ' . $result['vote_id'] . '
				ORDER BY
				  vote_option_id';

		if (!$query = $db->sql_query($sql))
		{
			message_die(GENERAL_ERROR, 'Could not query vote result information', '', __LINE__, __FILE__, $sql);
		}

		while ($row = $db->sql_fetchrow($query))
		{
			$result['options'][] = $row;
		}		
	}

	return $result;
} // end func phpbb_fetch_poll

//
// Function strip all BBcodes (borrowed from Mouse Hover Topic Preview MOD)
//
function bbencode_strip($text, $uid)
{
	// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
	// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
	$text = " " . $text;

	// First: If there isn't a "[" and a "]" in the message, don't bother.
	if (! (strpos($text, "[") && strpos($text, "]")) )
	{
		// Remove padding, return.
		$text = substr($text, 1);
		return $text;
	}

	// &#91;code&#93; and [ /CODE ] for posting code (HTML, PHP, C etc etc) in your posts.
	$text = str_replace("[code:1:$uid]","", $text);
	$text = str_replace("[/code:1:$uid]", "", $text);
	$text = str_replace("[code:$uid]", "", $text);
	$text = str_replace("[/code:$uid]", "", $text);

	// [quote] and [/quote] for posting replies with quote, or just for quoting stuff.
	$text = str_replace("[quote:1:$uid]","", $text);
	$text = str_replace("[/quote:1:$uid]", "", $text);
	$text = str_replace("[quote:$uid]", "", $text);
	$text = str_replace("[/quote:$uid]", "", $text);
	// New one liner to deal with opening quotes with usernames...
	// replaces the two line version that I had here before..
	$text = preg_replace("/\[quote:$uid=(?:\"?([^\"]*)\"?)\]/si", "", $text);
	$text = preg_replace("/\[quote:1:$uid=(?:\"?([^\"]*)\"?)\]/si", "", $text);
	
	// [list] and [list=x] for (un)ordered lists.
	// unordered lists
	$text = str_replace("[list:$uid]", "", $text);
	// li tags
	$text = str_replace("[*:$uid]", "", $text);
	// ending tags
	$text = str_replace("[/list:u:$uid]", "", $text);
	$text = str_replace("[/list:o:$uid]", "", $text);
	// Ordered lists
	$text = preg_replace("/\[list=([a1]):$uid\]/si", "", $text);

	// colours
	$text = preg_replace("/\[color=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", "", $text);
	$text = str_replace("[/color:$uid]", "", $text);

	// url #2
	$text = str_replace("[url]","", $text);
	$text = str_replace("[/url]", "", $text);

	// url /\[url=([a-z0-9\-\.,\?!%\*_\/:;~\\&$@\/=\+]+)\](.*?)\[/url\]/si
	$text = preg_replace("/\[url=([a-z0-9\-\.,\?!%\*_\/:;~\\&$@\/=\+]+)\]/si", "", $text);
	$text = str_replace("[/url:$uid]", "", $text);

	// img
	$text = str_replace("[img:$uid]","", $text);
	$text = str_replace("[/img:$uid]", "", $text);

	// email
	$text = str_replace("[email:$uid]","", $text);
	$text = str_replace("[/email:$uid]", "", $text);

	// size
	$text = preg_replace("/\[size=([\-\+]?[1-2]?[0-9]):$uid\]/si", "", $text);
	$text = str_replace("[/size:$uid]", "", $text);
	
	// align
	$text = preg_replace("/\[align=(left|right|center|justify):$uid\]/si", "", $text);
	$text = str_replace("[/align:$uid]", "", $text);

	// [b] and [/b] for bolding text.
	$text = str_replace("[b:$uid]","", $text);
	$text = str_replace("[/b:$uid]", "", $text);

	// [u] and [/u] for underlining text.
	$text = str_replace("[u:$uid]", "", $text);
	$text = str_replace("[/u:$uid]", "", $text);

	// [i] and [/i] for italicizing text.
	$text = str_replace("[i:$uid]", "", $text);
	$text = str_replace("[/i:$uid]", "", $text);
   	
	// Remove our padding from the string..
	$text = substr($text, 1);

	return $text;
}

?>
&#91;/code&#93;


news.php
&#91;code&#93;
<?php
/***************************************************************************
 *                             includes/news.php
 *                            -------------------
 *   begin                : Monday, Jan 14, 2002
 *   copyright            : (C) 2002 Samuel Cochran
 *   email                : sam@wyvern.com.au
 *
 *   $Id: news.php,v 1.2.1 2002/05/30 20:41:00 sj26 Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

//Συνδέστετο με το αχρείο στο forum σας
include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);

/** 
 * News auth
 * Authenticates a forum and checks if the user can view/read it. 
 * If not, pops the news item out of the array and checks the next 
 * news item.
 **/ 
function news_auth(&$news, $i)
{
	global $userdata, $is_auth;

	// Get all forum data (only once)
	if( empty($is_auth) )
	{
		$is_auth = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata);
	}

	// Check permissions
	if( !$is_auth[$news[$i]['forum_id']]['auth_view'] || !$is_auth[$news[$i]['forum_id']]['auth_read'] )
	{
		// Pop off unauthorized entry
		array_splice($news, $i, 1);

		// If an entry still exists, check it
		if( isset($news[$i]) )
		{
			news_auth($news, $i);
		}
	}
	
	if( count($news) > 0 )
	{
		return true;
	}
	
	return false;
}

$is_auth = array();

// 
// Assign some basic language variables
// 
$template->assign_vars(array(
	'NEWS_LINK' => append_sid('news.'.$phpEx),

	'L_NEWS' => $lang['News'],
	'L_AUTHOR' => $lang['Author'],
	'L_READ_MORE' => $lang['Read_more'],
	'L_COMMENTS' => $lang['Comments'],
	'L_NEWS_ARCHIVE' => $lang['News_Archive'],
	'L_NEWS_NONE' => $lang['News_none'])
);

// 
// Here we have the (*very* simplified) sql statement ;)
// I knew there was an easy way :roll:
// 
$sql = "SELECT t.topic_id, t.forum_id, t.topic_title, t.topic_time, t.topic_replies, t.topic_last_post_id, t.topic_views, t.topic_vote, u.username, u.user_id, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
	FROM " . FORUMS_TABLE . " f, " . TOPICS_TABLE  . " t, " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt 
	WHERE f.forum_news = '" . TRUE . "' 
		AND t.forum_id = f.forum_id 
		AND p.topic_id = t.topic_id 
		AND p.post_id = t.topic_first_post_id 
		AND pt.post_id = p.post_id 
		AND u.user_id = p.poster_id 
		AND ((
				f.forum_news_post = '" . TRUE . "' 
				AND t.topic_type = '" . POST_NORMAL . "' 
			)
			OR (
				f.forum_news_sticky = '" . TRUE . "' 
				AND t.topic_type = '" . POST_STICKY . "' 
			)
			OR (
				f.forum_news_announce = '" . TRUE . "' 
				AND (
					t.topic_type = '" . POST_ANNOUNCE . "' 
					OR t.topic_type = '" . POST_GLOBAL_ANNOUNCE . "' 
				)
			)
		)
	ORDER BY topic_time DESC";

if( !$result = $db->sql_query($sql) )
{
	message_die(GENERAL_ERROR, "Couldn't obtain news data", "", __LINE__, __FILE__, $sql);
}
else
{
	$news = $db->sql_fetchrowset($result);

	for( $i = 0; $i < ( !defined('NEWS_ARCHIVE') ? $board_config['news_items'] : @count($news) ); $i++ )
	{
		// Stop from trying to display a non-existant topic and make sure we have 
		// permission to view the post
		if( !isset($news[$i]) || empty($news[$i]) || !news_auth($news, $i) )
		{
			break;
		}

		//
		// Main part where bbcode is parsed and stuff like that regarding the post text
		//
		$message = $news[$i]['post_text'];
		$bbcode_uid = $news[$i]['bbcode_uid'];
		$poll = '';

		$user_sig = ( $news[$i]['enable_sig'] && $news[$i]['user_sig'] != '' && $board_config['news_display_signature'] ) ? $news[$i]['user_sig'] : "";
		$user_sig_bbcode_uid = $news[$i]['user_sig_bbcode_uid'];

		//
		// Define censored word matches
		//
		$orig_word = array();
		$replacement_word = array();
		obtain_word_list($orig_word, $replacement_word);

		$poster_id = $news[$i]['user_id'];
		$poster = $news[$i]['username'];

		//
		// If the board has HTML off but the post has HTML
		// on then we process it, else leave it alone
		//
		if( !$board_config['allow_html'] )
		{
			if( $user_sig != "" && $userdata['user_allowhtml'] )
			{
				$user_sig = preg_replace("#(<)([\/]?.*?)(>)#is", "&lt;\\2&gt;", $user_sig);
			}
			if( $news[0]['enable_html'] )
			{
				$message = preg_replace("#(<)([\/]?.*?)(>)#is", "&lt;\\2&gt;", $message);
			}
		}

		//
		// Parse message and/or sig for BBCode if reqd
		//
		if( $board_config['allow_bbcode'] )
		{
			if( $user_sig != '' && $user_sig_bbcode_uid != '' )
			{
				$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace("/\:[0-9a-z\:]+\]/si", "]", $user_sig);
			}
			if( $bbcode_uid != '' )
			{
				$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace("/\:[0-9a-z\:]+\]/si", "]", $message);
			}
		}
		if( $user_sig != '' )
		{
			$user_sig = make_clickable($user_sig);
		}
		$message = make_clickable($message);

		//
		// Replace naughty words
		//
		if( count($orig_word) )
		{
			if( $user_sig != '' )
			{
				$user_sig = preg_replace($orig_word, $replacement_word, $user_sig);
			}
			$post_subject = preg_replace($orig_word, $replacement_word, $post_subject);
			$message = preg_replace($orig_word, $replacement_word, $message);
		}

		//
		// Parse smilies
		//
		if( $board_config['allow_smilies'] )
		{
			if( $news[$i]['user_allowsmile'] && $user_sig != "" )
			{
				$user_sig = smilies_pass($user_sig);
			}
			if( $news[$i]['enable_smilies'] )
			{
				$message = smilies_pass($message);
			}
		}

		//
		// Replace newlines (we use this rather than nl2br because
		// till recently it wasn't XHTML compliant)
		//
		if( $user_sig != '' )
		{
			$user_sig = '<br /><hr />' . str_replace("\n", "\n<br />", $user_sig);
		}

		if( $board_config['news_display_edit_info'] )
		{
			//
			// Editing information
			//
			if( $news[$i]['post_edit_count'] )
			{
				$l_edit_time_total = ( $news[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total'];

				$l_edited_by = '<br />' . sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'], $news[$i]['post_edit_time'], $board_config['board_timezone']), $news[$i]['post_edit_count']);
			}
			else
			{
				$l_edited_by = '';
			}
		}

		$message = str_replace("\n", "\n<br />\n", $message);

		if( $board_config['news_trim_char'] != "" )
		{
			$message = explode($board_config['news_trim_char'], $message);
			$message = $message[0];
			$message .= ' ...<br /><p align="right"><a href="' . append_sid("viewtopic.$phpEx?t=" . $news[$i]['topic_id']) . '">Read more</a>&nbsp;</p>';
		}

		$l_comment = ($news[$i]['topic_replies'] == "1") ? strtolower($lang['Comment']) : strtolower($lang['Comments']);
		$poster_name = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;id=" . $news[$i]['user_id']) . "\">$poster</a>";
		$topic_time = create_date($board_config['news_time_format'], $news[$i]['topic_time'], $board_config['board_timezone']);

		//
		// Assign replacement variables to template
		//
		$template->assign_block_vars('newsrow',	array(
			'TOPIC_ID' => $news[$i]['topic_id'],
			'TOPIC_TITLE' => $news[$i]['topic_title'],
			'TOPIC_TIME' => $topic_time,
			'TOPIC_REPLIES' => $news[$i]['topic_replies'],
			'TOPIC_VIEWS' => $news[$i]['topic_views'],

			'TOPIC_LINK' => append_sid("viewtopic.$phpEx?t=" . $news[$i]['topic_id']),
			'TOPIC_LAST_POST_LINK' => append_sid("viewtopic.$phpEx?p=" . $news[$i]['topic_last_post_id'] . "#" . $news[$i]['topic_last_post_id']),

			'POSTER_NAME' => $poster_name,

			'POST_SUBJECT' => $post_subject,
			'MESSAGE' => $message,
			'SIGNATURE' => $user_sig,
			'EDITED_MESSAGE' => $l_edited_by,
			'READS' => sprintf($lang['Reads'], $news[$i]['topic_views']),
			'POSTED_BY_ON' => sprintf('Posted by %s on %s', $poster_name, $topic_time),

			'NEWS_POLL_DISPLAY' => $poll,

			'L_COMMENT' => $l_comment)
		);

		//
		// Does this topic contain a poll? 
		//
		if ( !empty($news[$i]['topic_vote']) && $board_config['news_display_polls'] )
		{
			$sql = "SELECT vd.vote_id, vd.vote_text, vd.vote_start, vd.vote_length, vr.vote_option_id, vr.vote_option_text, vr.vote_result
				FROM " . VOTE_DESC_TABLE . " vd, " . VOTE_RESULTS_TABLE . " vr
				WHERE vd.topic_id = " . $news[$i]['topic_id'] . "
					AND vr.vote_id = vd.vote_id
				ORDER BY vr.vote_option_id ASC";
			if ( !($result = $db->sql_query($sql)) )
			{
				message_die(GENERAL_ERROR, "Could not obtain vote data for this topic", '', __LINE__, __FILE__, $sql);
			}

			if ( $vote_info = $db->sql_fetchrowset($result) )
			{
				$template->assign_block_vars('newsrow.switch_poll', array());
				
				$db->sql_freeresult($result);
				$vote_options = count($vote_info);

				$vote_id = $vote_info[0]['vote_id'];
				$vote_title = $vote_info[0]['vote_text'];

				$sql = "SELECT vote_id
					FROM " . VOTE_USERS_TABLE . "
					WHERE vote_id = $vote_id
						AND vote_user_id = " . $userdata['user_id'];
				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR, "Could not obtain user vote data for this topic", '', __LINE__, __FILE__, $sql);
				}

				$user_voted = ( $row = $db->sql_fetchrow($result) ) ? TRUE : 0;
				$db->sql_freeresult($result);

				if ( isset($HTTP_GET_VARS['vote']) || isset($HTTP_POST_VARS['vote']) )
				{
					$view_result = ( ( ( isset($HTTP_GET_VARS['vote']) ) ? $HTTP_GET_VARS['vote'] : $HTTP_POST_VARS['vote'] ) == 'viewresult' ) ? TRUE : 0;
				}
				else
				{
					$view_result = 0;
				}

				$poll_expired = ( $vote_info[0]['vote_length'] ) ? ( ( $vote_info[0]['vote_start'] + $vote_info[0]['vote_length'] < time() ) ? TRUE : 0 ) : 0;

				if ( count($orig_word) )
				{
					$vote_title = preg_replace($orig_word, $replacement_word, $vote_title);
				}

				if ( $user_voted || $view_result || $poll_expired || !$is_auth[$news[$i]['forum_id']]['auth_vote'] || $news[$i]['topic_status'] == TOPIC_LOCKED )
				{
					$template->assign_vars(array(
						'L_TOTAL_VOTES' => $lang['Total_votes'])
					);

					$vote_results_sum = 0;

					for($j = 0; $j < $vote_options; $j++)
					{
						$vote_results_sum += $vote_info[$j]['vote_result'];
					}

					$template->assign_block_vars('newsrow.switch_poll_view', array(
						'POLL_QUESTION' => $vote_title,
						'TOTAL_VOTES' => $vote_results_sum,
	
						'S_POLL_ACTION' => append_sid("posting.$phpEx?" . POST_TOPIC_URL . "=$topic_id"))
					);

					$vote_graphic = 0;
					$vote_graphic_max = count($images['voting_graphic']);

					for($j = 0; $j < $vote_options; $j++)
					{
						$vote_percent = ( $vote_results_sum > 0 ) ? $vote_info[$j]['vote_result'] / $vote_results_sum : 0;
						$vote_graphic_length = round($vote_percent * $board_config['vote_graphic_length']);

						$vote_graphic_img = $images['voting_graphic'][$vote_graphic];
						$vote_graphic = ($vote_graphic < $vote_graphic_max - 1) ? $vote_graphic + 1 : 0;

						if ( count($orig_word) )
						{
							$vote_info[$j]['vote_option_text'] = preg_replace($orig_word, $replacement_word, $vote_info[$j]['vote_option_text']);
						}

						$template->assign_block_vars('newsrow.switch_poll_view.poll_option', array(
							'POLL_OPTION_CAPTION' => $vote_info[$j]['vote_option_text'],
							'POLL_OPTION_RESULT' => $vote_info[$j]['vote_result'],
							'POLL_OPTION_PERCENT' => sprintf("%.1d%%", ($vote_percent * 100)),

							'POLL_OPTION_IMG' => $vote_graphic_img,
							'POLL_OPTION_IMG_WIDTH' => $vote_graphic_length)
						);
					}
				}
				else
				{
					$template->assign_vars(array(
						'L_SUBMIT_VOTE' => $lang['Submit_vote'],
						'L_VIEW_RESULTS' => $lang['View_results'])
					);

					$template->assign_block_vars('newsrow.switch_poll_vote', array(
						'POLL_QUESTION' => $vote_title,
	
						'S_HIDDEN_FIELDS' => '<input type="hidden" name="topic_id" value="' . $news[$i]['topic_id'] . '"><input type="hidden" name="mode" value="vote">',
						'S_POLL_ACTION' => append_sid("posting.$phpEx?" . POST_TOPIC_URL . '=' . $news[$i]['topic_id']),
	
						'U_VIEW_RESULTS' => append_sid(basename(__FILE__) . '?' . ( $cat_id ? POST_CAT_URL . '=' . $cat_id . '&amp;' : '' ) . "vote=viewresult"))
					);

					for($j = 0; $j < $vote_options; $j++)
					{
						if ( count($orig_word) )
						{
							$vote_info[$j]['vote_option_text'] = preg_replace($orig_word, $replacement_word, $vote_info[$j]['vote_option_text']);
						}

						$template->assign_block_vars('newsrow.switch_poll_vote.poll_option', array(
							'POLL_OPTION_ID' => $vote_info[$j]['vote_option_id'],
							'POLL_OPTION_CAPTION' => $vote_info[$j]['vote_option_text'])
						);
					}
				}
			}
		}
		else
		{
			$template->assign_block_vars('newsrow.switch_no_poll', array());
		}
	}
	
	if( count($news) == 0 )
	{
		$template->assign_block_vars('newsnone', array());
	}
}

?>
&#91;/code&#93;

portal.php
&#91;code&#93;
<?php
/***************************************************************************
 *                                portal.php
 *                            -------------------
 *   begin                : Tuesday, August 13, 2002
 *   copyright            : (C) 2002 Smartor
 *   email                : smartor_xp@hotmail.com
 *
 *   $Id: portal.php,v 2.1.7 2003/01/30, 17:05:58 Smartor Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   Some code in this file I borrowed from the original index.php, Welcome
 *   Avatar MOD and others...
 *
 ***************************************************************************/

//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
//$CFG['number_of_news'] = '5';

// Length of news
//$CFG['news_length'] = '5';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
//$CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
//$CFG['poll_forum'] = '1';

//
// END configuration
// --------------------------------------------------------

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'fetchposts.'.$phpEx);



$template->assign_vars(array(
	'WELCOME_TEXT' => $CFG['welcome_text'],
	'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
	'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
	'TOTAL_TOPICS' => sprintf($lang['total_topics'], $total_topics),
	'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
	'L_FORUM' => $lang['Forum'],
	'L_BOARD_NAVIGATION' => $lang['Board_navigation'],
	'L_STATISTICS' => $lang['Statistics'],	
	'L_ANNOUNCEMENT' => $lang['Post_Announcement'],
	'L_POSTED' => $lang['Posted'],
	'L_COMMENTS' => $lang['Comments'],
	'L_VIEW_COMMENTS' => $lang['View_comments'],
	'L_POST_COMMENT' => $lang['Post_your_comment'],
	'L_SEND_PASSWORD' => $lang['Forgotten_password'],
	'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword"),
	'L_REGISTER_NEW_ACCOUNT' => sprintf($lang['Register_new_account'], '<a href="' . append_sid("profile.$phpEx?mode=register") . '">', '</a>'),
	'L_REMEMBER_ME' => $lang['Remember_me'],
	'L_VIEW_COMPLETE_LIST' => $lang['View_complete_list'],
	'L_POLL' => $lang['Poll'],
	'L_VOTE_BUTTON' => $lang['Vote'],
	'L_WHOSBIRTHDAY_WEEK' => ($board_config['birthday_check_day']>1) ? sprintf((($birthday_week_list) ? $lang['Birthday_week'].$birthday_week_list : $lang['Nobirthday_week']), $board_config['birthday_check_day']) : '',
	'L_WHOSBIRTHDAY_TODAY' => ($board_config['birthday_check_day']) ? ($birthday_today_list) ? $lang['Birthday_today'].$birthday_today_list : $lang['Nobirthday_today'] : '',
	'L_NEWEST_NICKPAGES' => $lang['Newest_Nickpages'],
	
	// Welcome Avatar
	'L_NAME_WELCOME' => $lang['Welcome'],
	'U_NAME_LINK' => $name_link,
	'AVATAR_IMG' => $avatar_img)
);

//
// Fetch Posts from Announcements Forum
//
if(!isset($HTTP_GET_VARS['article']))
{
	$template->assign_block_vars('welcome_text', array());

	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], $CFG['news_length']);

	for ($i = 0; $i < count($fetchposts); $i++)
	{
		if( $fetchposts[$i]['striped'] == 1 )
		{
			$open_bracket = '[ ';
			$close_bracket = ' ]';
			$read_full = $lang['Read_Full'];
		}
		else
		{
			$open_bracket = '';
			$close_bracket = '';
			$read_full = '';
		}

		$template->assign_block_vars('fetchpost_row', array(
			'TITLE' => $fetchposts[$i]['topic_title'],
			'POSTER' => $fetchposts[$i]['username'],
			'TIME' => $fetchposts[$i]['topic_time'],
			'TEXT' => $fetchposts[$i]['post_text'],
			'REPLIES' => $fetchposts[$i]['topic_replies'],
			'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
			'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&amp;t=' . $fetchposts[$i]['topic_id']),
			'U_READ_FULL' => append_sid('portal.' . $phpEx . '?article=' . $i),
			'L_READ_FULL' => $read_full,
			'OPEN' => $open_bracket,
			'CLOSE' => $close_bracket)
		);
	}
}
else
{
	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], 0);

	$i = intval($HTTP_GET_VARS['article']);

	$template->assign_block_vars('fetchpost_row', array(
		'TITLE' => $fetchposts[$i]['topic_title'],
		'POSTER' => $fetchposts[$i]['username'],
		'TIME' => $fetchposts[$i]['topic_time'],
		'TEXT' => $fetchposts[$i]['post_text'],
		'REPLIES' => $fetchposts[$i]['topic_replies'],
		'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']),
		'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&amp;t=' . $fetchposts[$i]['topic_id'])
		)
	);
}
//
// END: Fetch Announcements
//

//
// Fetch Poll
//
$fetchpoll = phpbb_fetch_poll($CFG['poll_forum']);

if (!empty($fetchpoll))
{
	$template->assign_vars(array(		
		'S_POLL_QUESTION' => $fetchpoll['vote_text'],
		'S_POLL_ACTION' => append_sid('posting.'.$phpEx.'?'.POST_TOPIC_URL.'='.$fetchpoll['topic_id']),
		'S_TOPIC_ID' => $fetchpoll['topic_id'],
		'L_SUBMIT_VOTE' => $lang['Submit_vote'],
		'L_LOGIN_TO_VOTE' => $lang['Login_to_vote']		
		)
	);

	for ($i = 0; $i < count($fetchpoll['options']); $i++)
	{
		$template->assign_block_vars('poll_option_row', array(
			'OPTION_ID' => $fetchpoll['options'][$i]['vote_option_id'],
			'OPTION_TEXT' => $fetchpoll['options'][$i]['vote_option_text'],
			'VOTE_RESULT' => $fetchpoll['options'][$i]['vote_result'],
			)
		);
	}	
}
else
{
	$template->assign_vars(array(		
		'S_POLL_QUESTION' => $lang['No_poll'],
		'DISABLED' => 'disabled="disabled"'
		)
	);
}

//
// Generate the page
//
include($phpbb_root_path . 'mods/netclectic/mini_cal/mini_cal.'.$phpEx);
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>
&#91;/code&#93;

Το έγραφο portal κάνει όλη την δουλεία εμφάνισης... Όποις κάνει το script χρειάζετε 2 αρχεία ακόμη... Το confing και ένα extension.php... Πρέπει να προσέξετε όμως και στα παραπάνω αρχεία να τα συνδέσετε με τα σωστά includes όπως είναι στον φάκελό σας στο forum.

extension.inc
&#91;code&#93;
<?php
/***************************************************************************  
 *                               extension.inc
 *                            -------------------                         
 *   begin                : Saturday, Feb 13, 2001 
 *   copyright            : (C) 2001 The phpBB Group        
 *   email                : support@phpbb.com                           
 *                                                          
 *   $Id: extension.inc,v 1.5 2002/04/04 11:52:50 psotfx Exp $
 *                                                            
 * 
 ***************************************************************************/ 

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

//
// Change this if your extension is not .php!
//
$phpEx = "php";

$starttime = 0;

?>
&#91;/code&#93;

confing.php
&#91;code&#93;
<?php


// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql';

$dbhost = 'localhost';
$dbname = 'test';
$dbuser = '';
$dbpasswd = '';

$table_prefix = 'phpbb2_';

define('PHPBB_INSTALLED', true);

?>
&#91;/code&#93;

Άβαταρ μέλους
cordis
Administrator, [F|H]ounder, [C|S]EO
Δημοσιεύσεις: 27617
Εγγραφή: 09 Οκτ 1999 03:00
Τοποθεσία: Greece
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από cordis » 13 Σεπ 2004 14:45

βασικά έχω πάρει αυτό
http://www.phpbb.com/phpBB/catdb.php?mo ... &id=816665

και του έχω αλλάξει λίγο το sql και να βγάζει HTML και όχι XML/RSS
Δεν απαντάω σε προσωπικά μηνύματα με ερωτήσεις που καλύπτονται από τις ενότητες του forum. Για ο,τι άλλο είμαι εδώ για εσάς.
- follow me @twitter

Άβαταρ μέλους
Nkapa
Honorary Member
Δημοσιεύσεις: 872
Εγγραφή: 22 Απρ 2002 16:38
Τοποθεσία: Μυτιλήνη
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Nkapa » 13 Σεπ 2004 15:50

Γιάννη η αλλαγή αυτή πως γίνεται? Μπορούμε από κάπου να διαβάσουμε πως θα γίνει αυτό?

Άβαταρ μέλους
ThyClub
Honorary Member
Δημοσιεύσεις: 5312
Εγγραφή: 17 Νοέμ 2003 00:21
Τοποθεσία: Hell's Kitchen
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από ThyClub » 13 Σεπ 2004 17:23

Για να βγάζει html και οχι rss/xml απλα αλλάζεις τα tags απο xml σε html στο template του αρχείου.

ΠΧ:

echo "<channel><item>blah blahh</item></channel>";

σε

echo "<div id=\"channel\">
<p id=\"item\">
blah blahh
</p></div>";

Άβαταρ μέλους
cvoodan
Honorary Member
Δημοσιεύσεις: 2151
Εγγραφή: 13 Μάιος 2003 14:09
Τοποθεσία: Πίσω σου!

phpbb στην πρώτη σελίδα

Δημοσίευση από cvoodan » 13 Σεπ 2004 17:56

χμ... Λογικά το rss_body.tpl θα κάνεις edit μόνο για να αλλάξεις αυτά.
Εικόνα

Άβαταρ μέλους
cordis
Administrator, [F|H]ounder, [C|S]EO
Δημοσιεύσεις: 27617
Εγγραφή: 09 Οκτ 1999 03:00
Τοποθεσία: Greece
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από cordis » 13 Σεπ 2004 23:26

cvoodan έγραψε:χμ... Λογικά το rss_body.tpl θα κάνεις edit μόνο για να αλλάξεις αυτά.
ναι βασικά αν θυμάμαι καλά αυτό είχα πειράξει, καθώς και τον αριθμό των posts που θα φαίνονται...
Δεν απαντάω σε προσωπικά μηνύματα με ερωτήσεις που καλύπτονται από τις ενότητες του forum. Για ο,τι άλλο είμαι εδώ για εσάς.
- follow me @twitter

Άβαταρ μέλους
cvoodan
Honorary Member
Δημοσιεύσεις: 2151
Εγγραφή: 13 Μάιος 2003 14:09
Τοποθεσία: Πίσω σου!

phpbb στην πρώτη σελίδα

Δημοσίευση από cvoodan » 17 Σεπ 2004 22:12

John πάιζει να κάνεις upload το αρχείο?
Εικόνα

Άβαταρ μέλους
Basilakis
PHP Moderator
Δημοσιεύσεις: 8574
Εγγραφή: 17 Νοέμ 2003 13:03
Τοποθεσία: Womans' Brain
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Basilakis » 19 Σεπ 2004 18:44

Brhka kati paromoio pou kanei fetch posts alla exw prob me to phpbbrootpath... kai opws kai na to dwsw den to dinei swsta...

anyway... kwsth an den to dwsei o john ta leme on-line na sou to dwsw molis to teleiwsw!

Άβαταρ μέλους
Basilakis
PHP Moderator
Δημοσιεύσεις: 8574
Εγγραφή: 17 Νοέμ 2003 13:03
Τοποθεσία: Womans' Brain
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από Basilakis » 19 Σεπ 2004 19:27

telika den to katafera...!

Άβαταρ μέλους
cordis
Administrator, [F|H]ounder, [C|S]EO
Δημοσιεύσεις: 27617
Εγγραφή: 09 Οκτ 1999 03:00
Τοποθεσία: Greece
Επικοινωνία:

phpbb στην πρώτη σελίδα

Δημοσίευση από cordis » 19 Σεπ 2004 21:07

πάρτε αυτό και πειραματιστείτε...

Κώδικας: Επιλογή όλων

<?php
///////////////////////////////////////////////////////////////////////////////
//                            ACTIVE_TOPICS.PHP
///////////////////////////////////////////////////////////////////////////////
// Copyright&#58;   &#40;C&#41; 2002 Matthijs van de Water <matthijs@beryllium.net>
// Version&#58;     1.1
// Date&#58;        03/02/2002
///////////////////////////////////////////////////////////////////////////////
// Show phpBB 2.0 Active Topics List
// Output format can be any HTML or XML
// This script must be able to access vital phpBB 2.0 configuration scripts
///////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
// CUSTOM SETTINGS
///////////////////////////////////////////////////////////////////////////////

// Amount of active topics to show
define&#40;"TOPIC_COUNT", 10&#41;;

// Path to the phpBB 2.0 root directory
define&#40;"PHPBB_PATH", "../phpBB2/"&#41;;

// URL to the phpBB 2.0 installation
define&#40;"PHPBB_LOCATION", "http&#58;//www.yourhost.com/phpBB2/"&#41;;

// Time format to output the date/time &#40;for format see PHP manual&#41;
define&#40;"TIME_FORMAT", "H&#58;i"&#41;;

///////////////////////////////////////////////////////////////////////////////

// Includes of phpBB scripts
$phpbb_root_path = PHPBB_PATH;
if &#40; !defined&#40;'IN_PHPBB'&#41; &#41; 
&#123;
  define&#40;'IN_PHPBB', true&#41;;
  include&#40;PHPBB_PATH . 'extension.inc'&#41;;
  include&#40;PHPBB_PATH . 'config.'.$phpEx&#41;;
  include&#40;PHPBB_PATH . 'includes/constants.'.$phpEx&#41;;
  include&#40;PHPBB_PATH . 'includes/db.'.$phpEx&#41;;
&#125;

///////////////////////////////////////////////////////////////////////////////
// HTML header start
///////////////////////////////////////////////////////////////////////////////
?>
<table border="0" cellpadding="3" cellspacing="1">
  <th>
    <td align="center" colspan="2">Currently Active Topics</td>
  </th>

<?php
///////////////////////////////////////////////////////////////////////////////
// HTML header end
///////////////////////////////////////////////////////////////////////////////

// sql statement to fetch active topics of public forums
$sql = "SELECT DISTINCT t.topic_title, t.topic_last_post_id, p.post_time, f.forum_name 
  FROM " . TOPICS_TABLE . " AS t, " . POSTS_TABLE . " AS p, " . FORUMS_TABLE . " AS f 
  WHERE 
    t.forum_id = f.forum_id 
      AND f.auth_view = " . AUTH_ALL . " 
      AND p.topic_id = t.topic_id 
      AND p.post_id = t.topic_last_post_id
  ORDER BY p.post_time DESC LIMIT " . TOPIC_COUNT;
$nt_result = $db->sql_query&#40;$sql&#41;;

if&#40;!$nt_result&#41;
&#123;
    die&#40;"Failed obtaining list of active topics".mysql_error&#40;&#41;&#41;;
&#125;
else
&#123;
    $nt_data = $db->sql_fetchrowset&#40;$af_result&#41;;
&#125;
    
if &#40; count&#40;$nt_data&#41; == 0 &#41;
&#123;
    die&#40;"No topics found"&#41;;
&#125;
else
&#123;
  // $nt_data contains all interesting data
  for &#40;$i = 0; $i < count&#40;$nt_data&#41;; $i++&#41;
  &#123;
    $title = $nt_data&#91;$i&#93;&#91;'topic_title'&#93;;
    $url = PHPBB_LOCATION . 'viewtopic.' . $phpEx . "?" . POST_POST_URL . "=" . $nt_data&#91;$i&#93;&#91;'topic_last_post_id'&#93; . "#" . $nt_data&#91;$i&#93;&#91;'topic_last_post_id'&#93;;
    $on_forum = 'On the ' . $nt_data&#91;$i&#93;&#91;'forum_name'&#93; . ' forum';
    $post_time = date&#40;TIME_FORMAT, $nt_data&#91;$i&#93;&#91;'post_time'&#93;&#41;;
    
    // As of now you can actually do anything with the data
    // I chose to output in XML

///////////////////////////////////////////////////////////////////////////////
// Item HTML start
///////////////////////////////////////////////////////////////////////////////
?>
  <tr>
    <td><?php echo $post_time; ?></td>
    <td><a href="<?php echo $url; ?>" title="<?php echo $on_forum; ?>"><?php echo $title; ?></a></td>
  </tr>
<?php
///////////////////////////////////////////////////////////////////////////////
// Item HTML end
///////////////////////////////////////////////////////////////////////////////

  &#125;
&#125;

///////////////////////////////////////////////////////////////////////////////
// Footer HTML start
///////////////////////////////////////////////////////////////////////////////
?>
</table>
<?php
///////////////////////////////////////////////////////////////////////////////
// Footer HTML end
///////////////////////////////////////////////////////////////////////////////

// EOF
?> 
Δεν απαντάω σε προσωπικά μηνύματα με ερωτήσεις που καλύπτονται από τις ενότητες του forum. Για ο,τι άλλο είμαι εδώ για εσάς.
- follow me @twitter

Απάντηση

Επιστροφή στο “phpBB”

Μέλη σε σύνδεση

Μέλη σε αυτήν τη Δ. Συζήτηση: Δεν υπάρχουν εγγεγραμμένα μέλη και 0 επισκέπτες