Images

Found an error on By-Tor.com? Post it here.

Moderator: by-tor

Post Reply
User avatar
New World Man
Posts: 131
Joined: Mon Nov 17, 2003 4:01 am
Location: NC
Contact:

Images

Post by New World Man »

by-tor wrote:Note to self.....don't put an errors section up on a temp site.
Guess I shouldn't ask about posting images............ :shock:

When is the permanent site expected? No RUSH of course. :)
I'm in motion.
I am still.
I am crying.
I am still.
I'm together.
I'm apart.
I'm forever.
At the start.

Still... I am.
User avatar
by-tor
Posts: 1395
Joined: Thu Nov 13, 2003 12:21 am
Location: Misplaced Southerner
Contact:

Re: Images

Post by by-tor »

New World Man wrote:Guess I shouldn't ask about posting images............ :shock:
What images? If you want to post some from another site, more power to you. If you need me to host them, just email them to me.
New World Man wrote:When is the permanent site expected? No RUSH of course. :)
It's going to be awhile. I have the permanent box ready, and I plan on making that switch tomorrow night (that's right boys and girls, the site will be down tomorrow night from about 10pm cst to 11pm cst (gmt -6). Other than that, I could put the old look and feel back up, but I really don't want to go back to the old layout after having to rebuild everything else.
Don't tell me about rock and roll I'm out there in the clubs and on the streets and I'm living it! I am rock and roll!
Guest

Re: Images

Post by Guest »

by-tor wrote:What images? If you want to post some from another site, more power to you. If you need me to host them, just email them to me.


Seems like when I try to post images from another site like I have before, it doesn't work and the avatar image isn't working either. Any tips oh wise one?
User avatar
New World Man
Posts: 131
Joined: Mon Nov 17, 2003 4:01 am
Location: NC
Contact:

Post by New World Man »

oops, posted as a guest...........

Seems like when I try to post images from another site like I have before, it doesn't work and the avatar image isn't working either. Any tips oh wise one?
I'm in motion.
I am still.
I am crying.
I am still.
I'm together.
I'm apart.
I'm forever.
At the start.

Still... I am.
User avatar
schuette
Posts: 17945
Joined: Thu Nov 13, 2003 2:45 am
Location: Grangemouth, Scotland

Re: Images

Post by schuette »

by-tor wrote:It's going to be awhile. I have the permanent box ready, and I plan on making that switch tomorrow night (that's right boys and girls, the site will be down tomorrow night from about 10pm cst to 11pm cst (gmt -6). Other than that, I could put the old look and feel back up, but I really don't want to go back to the old layout after having to rebuild everything else.
you want to put that in English now...if you have the permanent box ready to switch tomorrow night then why will the permanent site be awhile...?
Image
Image
Image
User avatar
by-tor
Posts: 1395
Joined: Thu Nov 13, 2003 12:21 am
Location: Misplaced Southerner
Contact:

Post by by-tor »

Machine != site.

The box is built, the software to run the site is installed, and everything is configured, but I still have to write the actual code for the site.
Don't tell me about rock and roll I'm out there in the clubs and on the streets and I'm living it! I am rock and roll!
Guest

Post by Guest »

and does writing the code take a while?
User avatar
schuette
Posts: 17945
Joined: Thu Nov 13, 2003 2:45 am
Location: Grangemouth, Scotland

Post by schuette »

the above guest was me. Are guests only allowed to post cuz it's a permanent site?
Image
Image
Image
User avatar
by-tor
Posts: 1395
Joined: Thu Nov 13, 2003 12:21 am
Location: Misplaced Southerner
Contact:

Post by by-tor »

Guests have always been allowed to post in the errors section.

You can be the judge on how long writing the code can take....this is the main page for this forum on the server, before it gets parsed and sent to your browser.....

Code: Select all

<?php
define&#40;'IN_PHPBB', true&#41;;
$phpbb_root_path = './';
include&#40;$phpbb_root_path . 'extension.inc'&#41;;
include&#40;$phpbb_root_path . 'common.'.$phpEx&#41;;

//
// Start session management
//
$userdata = session_pagestart&#40;$user_ip, PAGE_INDEX&#41;;
init_userprefs&#40;$userdata&#41;;
//
// End session management
//

$viewcat = &#40; !empty&#40;$HTTP_GET_VARS&#91;POST_CAT_URL&#93;&#41; &#41; ? $HTTP_GET_VARS&#91;POST_CAT_URL&#93; &#58; -1;

if&#40; isset&#40;$HTTP_GET_VARS&#91;'mark'&#93;&#41; || isset&#40;$HTTP_POST_VARS&#91;'mark'&#93;&#41; &#41;
&#123;
	$mark_read = &#40; isset&#40;$HTTP_POST_VARS&#91;'mark'&#93;&#41; &#41; ? $HTTP_POST_VARS&#91;'mark'&#93; &#58; $HTTP_GET_VARS&#91;'mark'&#93;;
&#125;
else
&#123;
	$mark_read = '';
&#125;

//
// Handle marking posts
//
if&#40; $mark_read == 'forums' &#41;
&#123;
	if&#40; $userdata&#91;'session_logged_in'&#93; &#41;
	&#123;
		setcookie&#40;$board_config&#91;'cookie_name'&#93; . '_f_all', time&#40;&#41;, 0, $board_config&#91;'cookie_path'&#93;, $board_config&#91;'cookie_domain'&#93;, $board_config&#91;'cookie_secure'&#93;&#41;;
	&#125;

	$template->assign_vars&#40;array&#40;
		"META" => '<meta http-equiv="refresh" content="3;url='  .append_sid&#40;"index.$phpEx"&#41; . '">'&#41;
	&#41;;

	$message = $lang&#91;'Forums_marked_read'&#93; . '<br /><br />' . sprintf&#40;$lang&#91;'Click_return_index'&#93;, '<a href="' . append_sid&#40;"index.$phpEx"&#41; . '">', '</a> '&#41;;

	message_die&#40;GENERAL_MESSAGE, $message&#41;;
&#125;
//
// End handle marking posts
//

$tracking_topics = &#40; isset&#40;$HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . '_t'&#93;&#41; &#41; ? unserialize&#40;$HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . "_t"&#93;&#41; &#58; array&#40;&#41;;
$tracking_forums = &#40; isset&#40;$HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . '_f'&#93;&#41; &#41; ? unserialize&#40;$HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . "_f"&#93;&#41; &#58; array&#40;&#41;;

//
// If you don't use these stats on your index you may want to consider
// removing them
//
$total_posts = get_db_stat&#40;'postcount'&#41;;
$total_users = get_db_stat&#40;'usercount'&#41;;
$newest_userdata = get_db_stat&#40;'newestuser'&#41;;
$newest_user = $newest_userdata&#91;'username'&#93;;
$newest_uid = $newest_userdata&#91;'user_id'&#93;;

if&#40; $total_posts == 0 &#41;
&#123;
	$l_total_post_s = $lang&#91;'Posted_articles_zero_total'&#93;;
&#125;
else if&#40; $total_posts == 1 &#41;
&#123;
	$l_total_post_s = $lang&#91;'Posted_article_total'&#93;;
&#125;
else
&#123;
	$l_total_post_s = $lang&#91;'Posted_articles_total'&#93;;
&#125;

if&#40; $total_users == 0 &#41;
&#123;
	$l_total_user_s = $lang&#91;'Registered_users_zero_total'&#93;;
&#125;
else if&#40; $total_users == 1 &#41;
&#123;
	$l_total_user_s = $lang&#91;'Registered_user_total'&#93;;
&#125;
else
&#123;
	$l_total_user_s = $lang&#91;'Registered_users_total'&#93;;
&#125;


//
// Start page proper
//
$sql = "SELECT c.cat_id, c.cat_title, c.cat_order
	FROM " . CATEGORIES_TABLE . " c 
	ORDER BY c.cat_order";
if&#40; !&#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
&#123;
	message_die&#40;GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql&#41;;
&#125;

while&#40; $category_rows&#91;&#93; = $db->sql_fetchrow&#40;$result&#41; &#41;;

if&#40; &#40; $total_categories = count&#40;$category_rows&#41; &#41; &#41;
&#123;
	//
	// Define appropriate SQL
	//
	switch&#40;SQL_LAYER&#41;
	&#123;
		case 'postgresql'&#58;
			$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id 
				FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
				WHERE p.post_id = f.forum_last_post_id 
					AND u.user_id = p.poster_id  
					UNION &#40;
						SELECT f.*, NULL, NULL, NULL, NULL
						FROM " . FORUMS_TABLE . " f
						WHERE NOT EXISTS &#40;
							SELECT p.post_time
							FROM " . POSTS_TABLE . " p
							WHERE p.post_id = f.forum_last_post_id  
						&#41;
					&#41;
					ORDER BY cat_id, forum_order";
			break;

		case 'oracle'&#58;
			$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id 
				FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
				WHERE p.post_id = f.forum_last_post_id&#40;+&#41;
					AND u.user_id = p.poster_id&#40;+&#41;
				ORDER BY f.cat_id, f.forum_order";
			break;

		default&#58;
			$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
				FROM &#40;&#40; " . FORUMS_TABLE . " f
				LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id &#41;
				LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id &#41;
				ORDER BY f.cat_id, f.forum_order";
			break;
	&#125;
	if &#40; !&#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
	&#123;
		message_die&#40;GENERAL_ERROR, 'Could not query forums information', '', __LINE__, __FILE__, $sql&#41;;
	&#125;

	$forum_data = array&#40;&#41;;
	while&#40; $row = $db->sql_fetchrow&#40;$result&#41; &#41;
	&#123;
		$forum_data&#91;&#93; = $row;
	&#125;

	if &#40; !&#40;$total_forums = count&#40;$forum_data&#41;&#41; &#41;
	&#123;
		message_die&#40;GENERAL_MESSAGE, $lang&#91;'No_forums'&#93;&#41;;
	&#125;

	//
	// Obtain a list of topic ids which contain
	// posts made since user last visited
	//
	if &#40; $userdata&#91;'session_logged_in'&#93; &#41;
	&#123;
		$sql = "SELECT t.forum_id, t.topic_id, p.post_time 
			FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p 
			WHERE p.post_id = t.topic_last_post_id 
				AND p.post_time > " . $userdata&#91;'user_lastvisit'&#93; . " 
				AND t.topic_moved_id = 0"; 
		if &#40; !&#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
		&#123;
			message_die&#40;GENERAL_ERROR, 'Could not query new topic information', '', __LINE__, __FILE__, $sql&#41;;
		&#125;

		$new_topic_data = array&#40;&#41;;
		while&#40; $topic_data = $db->sql_fetchrow&#40;$result&#41; &#41;
		&#123;
			$new_topic_data&#91;$topic_data&#91;'forum_id'&#93;&#93;&#91;$topic_data&#91;'topic_id'&#93;&#93; = $topic_data&#91;'post_time'&#93;;
		&#125;
	&#125;

	//
	// Obtain list of moderators of each forum
	// First users, then groups ... broken into two queries
	//
	$sql = "SELECT aa.forum_id, u.user_id, u.username 
		FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
		WHERE aa.auth_mod = " . TRUE . " 
			AND g.group_single_user = 1 
			AND ug.group_id = aa.group_id 
			AND g.group_id = aa.group_id 
			AND u.user_id = ug.user_id 
		GROUP BY u.user_id, u.username, aa.forum_id 
		ORDER BY aa.forum_id, u.user_id";
	if &#40; !&#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
	&#123;
		message_die&#40;GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql&#41;;
	&#125;

	$forum_moderators = array&#40;&#41;;
	while&#40; $row = $db->sql_fetchrow&#40;$result&#41; &#41;
	&#123;
		$forum_moderators&#91;$row&#91;'forum_id'&#93;&#93;&#91;&#93; = '<a href="' . append_sid&#40;"profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row&#91;'user_id'&#93;&#41; . '">' . $row&#91;'username'&#93; . '</a>';
	&#125;

	$sql = "SELECT aa.forum_id, g.group_id, g.group_name 
		FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g 
		WHERE aa.auth_mod = " . TRUE . " 
			AND g.group_single_user = 0 
			AND g.group_type <> " . GROUP_HIDDEN . "
			AND ug.group_id = aa.group_id 
			AND g.group_id = aa.group_id 
		GROUP BY g.group_id, g.group_name, aa.forum_id 
		ORDER BY aa.forum_id, g.group_id";
	if &#40; !&#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
	&#123;
		message_die&#40;GENERAL_ERROR, 'Could not query forum moderator information', '', __LINE__, __FILE__, $sql&#41;;
	&#125;

	while&#40; $row = $db->sql_fetchrow&#40;$result&#41; &#41;
	&#123;
		$forum_moderators&#91;$row&#91;'forum_id'&#93;&#93;&#91;&#93; = '<a href="' . append_sid&#40;"groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row&#91;'group_id'&#93;&#41; . '">' . $row&#91;'group_name'&#93; . '</a>';
	&#125;

	//
	// Find which forums are visible for this user
	//
	$is_auth_ary = array&#40;&#41;;
	$is_auth_ary = auth&#40;AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data&#41;;

	//
	// Start output of page
	//
	define&#40;'SHOW_ONLINE', true&#41;;
	$page_title = $lang&#91;'Index'&#93;;
	include&#40;$phpbb_root_path . 'includes/page_header.'.$phpEx&#41;;

	$template->set_filenames&#40;array&#40;
		'body' => 'index_body.tpl'&#41;
	&#41;;

	$template->assign_vars&#40;array&#40;
		'TOTAL_POSTS' => sprintf&#40;$l_total_post_s, $total_posts&#41;,
		'TOTAL_USERS' => sprintf&#40;$l_total_user_s, $total_users&#41;,
		'NEWEST_USER' => sprintf&#40;$lang&#91;'Newest_user'&#93;, '<a href="' . append_sid&#40;"profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid"&#41; . '">', $newest_user, '</a>'&#41;, 

		'FORUM_IMG' => $images&#91;'forum'&#93;,
		'FORUM_NEW_IMG' => $images&#91;'forum_new'&#93;,
		'FORUM_LOCKED_IMG' => $images&#91;'forum_locked'&#93;,

		'L_FORUM' => $lang&#91;'Forum'&#93;,
		'L_TOPICS' => $lang&#91;'Topics'&#93;,
		'L_REPLIES' => $lang&#91;'Replies'&#93;,
		'L_VIEWS' => $lang&#91;'Views'&#93;,
		'L_POSTS' => $lang&#91;'Posts'&#93;,
		'L_LASTPOST' => $lang&#91;'Last_Post'&#93;, 
		'L_NO_NEW_POSTS' => $lang&#91;'No_new_posts'&#93;,
		'L_NEW_POSTS' => $lang&#91;'New_posts'&#93;,
		'L_NO_NEW_POSTS_LOCKED' => $lang&#91;'No_new_posts_locked'&#93;, 
		'L_NEW_POSTS_LOCKED' => $lang&#91;'New_posts_locked'&#93;, 
		'L_ONLINE_EXPLAIN' => $lang&#91;'Online_explain'&#93;, 

		'L_MODERATOR' => $lang&#91;'Moderators'&#93;, 
		'L_FORUM_LOCKED' => $lang&#91;'Forum_is_locked'&#93;,
		'L_MARK_FORUMS_READ' => $lang&#91;'Mark_all_forums'&#93;, 

		'U_MARK_READ' => append_sid&#40;"index.$phpEx?mark=forums"&#41;&#41;
	&#41;;

	//
	// Okay, let's build the index
	//
	for&#40;$i = 0; $i < $total_categories; $i++&#41;
	&#123;
		$cat_id = $category_rows&#91;$i&#93;&#91;'cat_id'&#93;;

		//
		// Should we display this category/forum set?
		//
		$display_forums = false;
		for&#40;$j = 0; $j < $total_forums; $j++&#41;
		&#123;
			if &#40; $is_auth_ary&#91;$forum_data&#91;$j&#93;&#91;'forum_id'&#93;&#93;&#91;'auth_view'&#93; && $forum_data&#91;$j&#93;&#91;'cat_id'&#93; == $cat_id &#41;
			&#123;
				$display_forums = true;
			&#125;
		&#125;

		//
		// Yes, we should, so first dump out the category
		// title, then, if appropriate the forum list
		//
		if &#40; $display_forums &#41;
		&#123;
			$template->assign_block_vars&#40;'catrow', array&#40;
				'CAT_ID' => $cat_id,
				'CAT_DESC' => $category_rows&#91;$i&#93;&#91;'cat_title'&#93;,
				'U_VIEWCAT' => append_sid&#40;"index.$phpEx?" . POST_CAT_URL . "=$cat_id"&#41;&#41;
			&#41;;

			if &#40; $viewcat == $cat_id || $viewcat == -1 &#41;
			&#123;
				for&#40;$j = 0; $j < $total_forums; $j++&#41;
				&#123;
					if &#40; $forum_data&#91;$j&#93;&#91;'cat_id'&#93; == $cat_id &#41;
					&#123;
						$forum_id = $forum_data&#91;$j&#93;&#91;'forum_id'&#93;;

						if &#40; $is_auth_ary&#91;$forum_id&#93;&#91;'auth_view'&#93; &#41;
						&#123;
							if &#40; $forum_data&#91;$j&#93;&#91;'forum_status'&#93; == FORUM_LOCKED &#41;
							&#123;
								$folder_image = $images&#91;'forum_locked'&#93;; 
								$folder_alt = $lang&#91;'Forum_locked'&#93;;
							&#125;
							else
							&#123;
								$unread_topics = false;
								if &#40; $userdata&#91;'session_logged_in'&#93; &#41;
								&#123;
									if &#40; !empty&#40;$new_topic_data&#91;$forum_id&#93;&#41; &#41;
									&#123;
										$forum_last_post_time = 0;

										while&#40; list&#40;$check_topic_id, $check_post_time&#41; = @each&#40;$new_topic_data&#91;$forum_id&#93;&#41; &#41;
										&#123;
											if &#40; empty&#40;$tracking_topics&#91;$check_topic_id&#93;&#41; &#41;
											&#123;
												$unread_topics = true;
												$forum_last_post_time = max&#40;$check_post_time, $forum_last_post_time&#41;;

											&#125;
											else
											&#123;
												if &#40; $tracking_topics&#91;$check_topic_id&#93; < $check_post_time &#41;
												&#123;
													$unread_topics = true;
													$forum_last_post_time = max&#40;$check_post_time, $forum_last_post_time&#41;;
												&#125;
											&#125;
										&#125;

										if &#40; !empty&#40;$tracking_forums&#91;$forum_id&#93;&#41; &#41;
										&#123;
											if &#40; $tracking_forums&#91;$forum_id&#93; > $forum_last_post_time &#41;
											&#123;
												$unread_topics = false;
											&#125;
										&#125;

										if &#40; isset&#40;$HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . '_f_all'&#93;&#41; &#41;
										&#123;
											if &#40; $HTTP_COOKIE_VARS&#91;$board_config&#91;'cookie_name'&#93; . '_f_all'&#93; > $forum_last_post_time &#41;
											&#123;
												$unread_topics = false;
											&#125;
										&#125;

									&#125;
								&#125;

								$folder_image = &#40; $unread_topics &#41; ? $images&#91;'forum_new'&#93; &#58; $images&#91;'forum'&#93;; 
								$folder_alt = &#40; $unread_topics &#41; ? $lang&#91;'New_posts'&#93; &#58; $lang&#91;'No_new_posts'&#93;; 
							&#125;

							$posts = $forum_data&#91;$j&#93;&#91;'forum_posts'&#93;;
							$topics = $forum_data&#91;$j&#93;&#91;'forum_topics'&#93;;

							if &#40; $forum_data&#91;$j&#93;&#91;'forum_last_post_id'&#93; &#41;
							&#123;
								$last_post_time = create_date&#40;$board_config&#91;'default_dateformat'&#93;, $forum_data&#91;$j&#93;&#91;'post_time'&#93;, $board_config&#91;'board_timezone'&#93;&#41;;

								$last_post = $last_post_time . '<br />';

								$last_post .= &#40; $forum_data&#91;$j&#93;&#91;'user_id'&#93; == ANONYMOUS &#41; ? &#40; &#40;$forum_data&#91;$j&#93;&#91;'post_username'&#93; != '' &#41; ? $forum_data&#91;$j&#93;&#91;'post_username'&#93; . ' ' &#58; $lang&#91;'Guest'&#93; . ' ' &#41; &#58; '<a href="' . append_sid&#40;"profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data&#91;$j&#93;&#91;'user_id'&#93;&#41; . '">' . $forum_data&#91;$j&#93;&#91;'username'&#93; . '</a> ';
								
								$last_post .= '<a href="' . append_sid&#40;"viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data&#91;$j&#93;&#91;'forum_last_post_id'&#93;&#41; . '#' . $forum_data&#91;$j&#93;&#91;'forum_last_post_id'&#93; . '"><img src="' . $images&#91;'icon_latest_reply'&#93; . '" border="0" alt="' . $lang&#91;'View_latest_post'&#93; . '" title="' . $lang&#91;'View_latest_post'&#93; . '" /></a>';
							&#125;
							else
							&#123;
								$last_post = $lang&#91;'No_Posts'&#93;;
							&#125;

							if &#40; count&#40;$forum_moderators&#91;$forum_id&#93;&#41; > 0 &#41;
							&#123;
								$l_moderators = &#40; count&#40;$forum_moderators&#91;$forum_id&#93;&#41; == 1 &#41; ? $lang&#91;'Moderator'&#93; &#58; $lang&#91;'Moderators'&#93;;
								$moderator_list = implode&#40;', ', $forum_moderators&#91;$forum_id&#93;&#41;;
							&#125;
							else
							&#123;
								$l_moderators = '&nbsp;';
								$moderator_list = '&nbsp;';
							&#125;

							$row_color = &#40; !&#40;$i % 2&#41; &#41; ? $theme&#91;'td_color1'&#93; &#58; $theme&#91;'td_color2'&#93;;
							$row_class = &#40; !&#40;$i % 2&#41; &#41; ? $theme&#91;'td_class1'&#93; &#58; $theme&#91;'td_class2'&#93;;

							$template->assign_block_vars&#40;'catrow.forumrow',	array&#40;
								'ROW_COLOR' => '#' . $row_color,
								'ROW_CLASS' => $row_class,
								'FORUM_FOLDER_IMG' => $folder_image, 
								'FORUM_NAME' => $forum_data&#91;$j&#93;&#91;'forum_name'&#93;,
								'FORUM_DESC' => $forum_data&#91;$j&#93;&#91;'forum_desc'&#93;,
								'POSTS' => $forum_data&#91;$j&#93;&#91;'forum_posts'&#93;,
								'TOPICS' => $forum_data&#91;$j&#93;&#91;'forum_topics'&#93;,
								'LAST_POST' => $last_post,
								'MODERATORS' => $moderator_list,

								'L_MODERATOR' => $l_moderators, 
								'L_FORUM_FOLDER_ALT' => $folder_alt, 

								'U_VIEWFORUM' => append_sid&#40;"viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"&#41;&#41;
							&#41;;
						&#125;
					&#125;
				&#125;
			&#125;
		&#125;
	&#125; // for ... categories

&#125;// if ... total_categories
else
&#123;
	message_die&#40;GENERAL_MESSAGE, $lang&#91;'No_forums'&#93;&#41;;
&#125;

//
// Generate the page
//
$template->pparse&#40;'body'&#41;;

include&#40;$phpbb_root_path . 'includes/page_tail.'.$phpEx&#41;;

?>
Don't tell me about rock and roll I'm out there in the clubs and on the streets and I'm living it! I am rock and roll!
User avatar
schuette
Posts: 17945
Joined: Thu Nov 13, 2003 2:45 am
Location: Grangemouth, Scotland

Post by schuette »

och that's nothing!!! so the permanent site will be up and running tomoz :wink: :lol:
Image
Image
Image
User avatar
awip2062
Posts: 25518
Joined: Thu Nov 13, 2003 9:15 am
Contact:

Post by awip2062 »

Definitely won't take but a minute to write up!
:wink:
Post Reply