[Beta] Easy Resize Posted Images - phpbb3.0.x

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

usef_ksa wrote:
kber wrote: hi usef .
i just test it with both Firefox and IE6 with no problem
ahlan,
as you see from the picture, the browser ask the user to download the file.
Image
Where is this picture ? or can you give a link to it
Hello All

usef_ksa
Registered User
Posts: 18
Joined: Tue Sep 11, 2007 10:38 pm

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by usef_ksa »

this is a screen shot appear when I click on the image ((the resized image)).
sorry I can not provide the link because It is in my own machine ((not in the internet)).

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

Where is this screenshot man ? :?
Hello All

usef_ksa
Registered User
Posts: 18
Joined: Tue Sep 11, 2007 10:38 pm

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by usef_ksa »

kber wrote:Where is this screenshot man ? :?
it is here http://www.phpbb.com/community/viewtopi ... 5#p3237036

efficacious
Registered User
Posts: 355
Joined: Thu Aug 02, 2007 5:25 am
Location: 127.0.0.1

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by efficacious »

can anyone tell me if this mod is still resizing banners?

thanx
GET YOUR OWN CUSTOM STYLE PM ME

Recent works:
http://www.phpbb.com/community/viewtopi ... 4&t=633545

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

efficacious wrote:can anyone tell me if this mod is still resizing banners?

thanx
Yes it s
Hello All

User avatar
DAKDAKDAKDAK
Registered User
Posts: 25
Joined: Sun Sep 02, 2007 7:16 pm
Location: Switzerland

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by DAKDAKDAKDAK »

Hello,
Is it possible to open the pop-up on the good size ?
When you click on the image, there is a pop-up which opens on the default size (width=400 and heigh=400), is it possible to adapt the size of the pop-up to the size of the image ?
If the image is 1280px by 1024px, to open a pop-up of 1280px to 1024.
I hope it's clear. :P
Thanks

User avatar
MattJG77
Registered User
Posts: 98
Joined: Wed Feb 08, 2006 10:04 pm

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by MattJG77 »

DAKDAKDAKDAK wrote:Hello,
Is it possible to open the pop-up on the good size ?
When you click on the image, there is a pop-up which opens on the default size (width=400 and heigh=400), is it possible to adapt the size of the pop-up to the size of the image ?
If the image is 1280px by 1024px, to open a pop-up of 1280px to 1024.
I hope it's clear. :P
Thanks
what happens when the users monitor is only 1024x768 like mine?

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [Beta] Easy Resize Posted Images

Post by .:: Chico ::. »

you guys are forgeting one thing: when a image open in a pop up, it open in a small size, and if you want to resize to real size of image, just clicking on it at pop up window.

easy! better way!

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

When you click on the image , it should open in a new window with its real size
Hello All

User avatar
DAKDAKDAKDAK
Registered User
Posts: 25
Joined: Sun Sep 02, 2007 7:16 pm
Location: Switzerland

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by DAKDAKDAKDAK »

MattJG77 wrote:
DAKDAKDAKDAK wrote:Hello,
Is it possible to open the pop-up on the good size ?
When you click on the image, there is a pop-up which opens on the default size (width=400 and heigh=400), is it possible to adapt the size of the pop-up to the size of the image ?
If the image is 1280px by 1024px, to open a pop-up of 1280px to 1024.
I hope it's clear. :P
Thanks
what happens when the users monitor is only 1024x768 like mine?
On Windows, the pop-up is automatically resized to the maximum size screen (1024x768 in your case).
And personnaly, my web browser (Internet Explorer 7 and Firefox 2) resized too the image...
So, if you have a 1024X768 screen and there is a image of 1920x1400, you operating system and your web browser will resize in principle your image to your maximum screen size.
It's case on my computer, I don't know if on your computer it's the same thing !

kber ==> The pop-up measure 400x400 by default even if the image measure 800x600.
What I would to do is that :
If the image measure 800x600, is to open a pop-up of 800x600 not more and not less.
And the same thing is the image measure 1400x900, not more and not less.
And that, for all the images. ;)
I don't know if it's possible...

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

No it s not possible with this mod . you may only change the width and height of the pop-up window by changing this value

Code: Select all

'width=xx,height=xx
in the code
Hello All

efficacious
Registered User
Posts: 355
Joined: Thu Aug 02, 2007 5:25 am
Location: 127.0.0.1

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by efficacious »

hey kber,

is there anyway that you could code in an if statement to this so that like if the img src is our banner.jpg then don't resize... but if not banner.jpg resize? we really really need this mod and we can't use it because of this banner issue.. and we cannot change our banner. I've written a function to do this but i can't seem to get it working in phpbb... heres the function i made below:

BTW: i put an OR in the if because we have two seperate banners for logged in and logged out.

Code: Select all

/**
* RESIZE IMGS
*/

function resizeIMG()
{
	if(document.getElementByTagName('img').src='{T_THEME_PATH}/images/banner.png' || document.getElementByTagName('img').src='{T_THEME_PATH}/images/banner2.png')
	{
	document.getElementByTagName('img').style.width='767px';
	document.getElementByTagName('img').style.height='323px';
	}
	else
	{
	document.getElementByTagName('img').width='400px';
	document.getElementByTagName('img').height='400px';
	}
}
GET YOUR OWN CUSTOM STYLE PM ME

Recent works:
http://www.phpbb.com/community/viewtopi ... 4&t=633545

User avatar
kber
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt
Contact:

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by kber »

Can you plz put here your overallbody_html content
Hello All

efficacious
Registered User
Posts: 355
Joined: Thu Aug 02, 2007 5:25 am
Location: 127.0.0.1

Re: [Beta] Easy Resize Posted Images ( RC7 )

Post by efficacious »

i'm not sure what you mean exactly by that but... here is this...

this is everything that makes up the index.php page

overall_header.html:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
<!--
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400');
	}
<!-- ENDIF -->
function popup(url, width, height)
{
	window.open(url.replace(/&/g, '&'), '_popup', 'HEIGHT=' + height + ',resizable=yes,scrollbars=yes, WIDTH=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username()
{
	<!-- IF UA_FIND_USERNAME -->
	window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740');
	<!-- ENDIF -->
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');

	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->
//-->
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">
<div id="container">
<a name="top"></a>
<!--CHAT EXPLAIN LEFT OUT ON PURPOSE-->
<div id="wrapheader">

		<div id="header" width="100%" cellspacing="0">

		<!-- IF not S_USER_LOGGED_IN -->
		<img border="0" usemap="#TheMapGuest" src="{T_THEME_PATH}/images/ntech2.png" width="767px" height="323px" />
		     <map name="TheMapGuest">

		     <area shape="Rect" HREF="{U_INDEX}" COORDS="45,294 147,316"> <!--FORUM-->
		     <area shape="Rect" HREF="{U_REGISTER}" COORDS="159,294 258,316"> <!--REGISTER-->
		     <area shape="Rect" HREF="{U_MEMBERLIST}" COORDS="279,294 380,316"> <!--MEMBERS-->
		     <area shape="Rect" HREF="{U_TEAM}" COORDS="396,294 495,316"> <!--USERSGROUPS-->
		     <area shape="Rect" HREF="{U_SEARCH}" COORDS="507,294 606,316"> <!--SEARCH-->
		     <area shape="Rect" HREF="{U_FAQ}" COORDS="621,294 720,316"> <!--FAQ-->

		</map>
		<!-- ENDIF -->
		<!-- IF S_USER_LOGGED_IN -->
		<img border="0" usemap="#TheMapUser" src="{T_THEME_PATH}/images/ntech.png" width="767px" height="323px" />
		     <map name="TheMapUser">

		     <area shape="Rect" HREF="{U_INDEX}" COORDS="45,294 147,316"> <!--FORUM-->
		     <area shape="Rect" HREF="{U_PROFILE}" COORDS="159,294 258,316"> <!--PROFILE-->
		     <area shape="Rect" HREF="{U_MEMBERLIST}" COORDS="279,294 380,316"> <!--MEMBERS-->
		     <area shape="Rect" HREF="{U_TEAM}" COORDS="396,294 495,316"> <!--USERSGROUPS-->
		     <area shape="Rect" HREF="{U_SEARCH}" COORDS="507,294 606,316"> <!--SEARCH-->
		     <area shape="Rect" HREF="{U_FAQ}" COORDS="621,294 720,316"> <!--FAQ-->

		</map>
		<!-- ENDIF -->
		</div>
<div id="Tcap"><!--KEEP-->
<!-- IF not S_USER_LOGGED_IN -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">

	<table width="100%" cellspacing="1">
	<tr>
		<td align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

<!-- IF S_USER_LOGGED_IN -->
<br /><br /><br /><br />
		<div style="width:767px;">
			<table style="float:left;" width="200px;">
				<tr>
					<td >
				<!-- <a style="margin-left:1cm;" href="{U_PORTAL}" class="icon-ucp">{L_PORTAL}</a><br /> //-->
					<a style="margin-left:1cm;" href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>
					</td>
				</tr>
			</table>
			<table style="float:right;" width="280px">
				<tr>
					<td class="gensmall">
					{LAST_VISIT_DATE}<br />
					</td>
				</tr>
				<tr>
					<td><a href="ucp.php?i=pm&folder=inbox">Inbox</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="ucp.php?i=pm&folder=outbox">Outbox</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="ucp.php?i=pm&folder=sentbox">Sentbox</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="ucp.php?i=pm&folder=1">Savebox</a></td>
				</tr>
				<tr>
					<td><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></td>
				</tr>
			</table>
		</div>
		<!-- ENDIF -->



</div><!--KEEP-->



</div>


<div id="wrapcentre">

	<!-- INCLUDE breadcrumbs.html -->
			<table>
				<tr>
					<td class="gensmall">{CURRENT_TIME}</td>
				</tr>
				<tr>
					<td>{S_TIMEZONE}</td>
				</tr>
			</table>



chat_body.html:

Code: Select all

<!-- IF S_GET_CHAT -->
	<!-- IF S_READ or S_ADD -->
		<!-- BEGIN chatrow -->
			<div id="p{chatrow.MESSAGE_ID}">
				<table class="tablebg" cellpadding="6" cellspacing="0" width="100%">
					<tr class="row{chatrow.CLASS}">
						<td>
							<!-- IF U_ACP or U_MCP --><a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')"><img src="{T_IMAGESET_LANG_PATH}/icon_post_delete.gif" /></a> <!-- ENDIF -->
							 <b class="postauthor">{chatrow.USERNAME_FULL}</b> « {chatrow.TIME} » &nbsp; <span class="postbody">{chatrow.MESSAGE}</span>
						</td>
					</tr>

				</table>
			</div>
		<!-- END chatrow -->---{LAST_ID}
	<!-- IF S_WHOISONLINE -->---
			<!-- BEGIN whoisrow -->
				<div><img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> {whoisrow.USERNAME_FULL}</div>
			<!-- END whoisrow -->---{LAST_TIME}---{DELAY}---{LAST_POST}
		<!-- ENDIF -->
	<!-- ENDIF -->
<!-- ELSE -->
	<!-- IF S_CHAT -->
		<!-- INCLUDE overall_header.html -->
	<!-- ENDIF -->
	<script type="text/javascript">
	<!--
	var fieldname = 'chat';
	var last_time = 0;
	var xmlHttp = http_object();
	var last_id = {LAST_ID};
	var type = 'receive';
	var post_time = {TIME};
	var read_interval = 15000;
	var interval = setInterval('handle_send("read", last_id);', read_interval);

	function handle_send(mode, f)
	{
		if (xmlHttp.readyState == 4 || xmlHttp.readyState == 0)
		{
			indicator_switch('on');
			type = 'receive';
			param = 'mode=' + mode;
			param += '&last_id=' + last_id;
			param += '&last_time=' + last_time;
			param += '&last_post=' + post_time;
			param += '&read_interval=' + read_interval;

			if (mode == 'add' && document.text.message.value != '')
			{
				type = 'send';
				for(var i = 0; i < f.elements.length; i++)
				{
					elem = f.elements[i];
					param += '&' + elem.name + '=' + encodeURIComponent(elem.value);
				}
				document.text.message.value = '';
			}
			else if (mode == 'delete')
			{
				type = 'delete';
				param += '&chat_id=' + f;
			}
			xmlHttp.open("POST", '{FILENAME}', true);
			xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
			xmlHttp.onreadystatechange = handle_return;
			xmlHttp.send(param);
		}
	}

	function handle_return()
	{
		if (xmlHttp.readyState == 4)
		{
			if (type != 'delete')
			{
				results = xmlHttp.responseText.split('---');
				if (results[1])
				{
					if (last_id == 0)
					{
						document.getElementById(fieldname).innerHTML = results[0];
					}
					else
					{
						document.getElementById(fieldname).innerHTML = results[0] + document.getElementById(fieldname).innerHTML;
					}
					last_id = results[1];
					if (results[2])
					{
						document.getElementById('whois_online').innerHTML = results[2];
						last_time = results[3];
						if (results[4] != read_interval * 1000)
						{
							window.clearInterval(interval);
							read_interval = results[4] * 1000;
							interval = setInterval('handle_send("read", last_id);', read_interval);
							document.getElementById('update_seconds').innerHTML = results[4];
						}
						post_time = results[5];
					}
				}
			}
			indicator_switch('off');
		}
	}

	function delete_post(chatid)
	{
		document.getElementById('p' + chatid).style.display = 'none';
		handle_send('delete', chatid);
	}

	function indicator_switch(mode)
	{
		if(document.getElementById("act_indicator"))
		{
			var img = document.getElementById("act_indicator");
			if(img.style.visibility == "hidden" && mode == 'on')
			{
				img.style.visibility = "visible";
			}
			else if (mode == 'off')
			{
				img.style.visibility = "hidden"
			}
		}
	}

	function http_object()
	{
		if (window.XMLHttpRequest)
		{
			return new XMLHttpRequest();
		}
		else if(window.ActiveXObject)
		{
			return new ActiveXObject("Microsoft.XMLHTTP");
		}
		else
		{
			document.getElementById('p_status').innerHTML = 'Status: Cound not create XmlHttpRequest Object.  Consider upgrading your browser.';
		}
	}
	-->
	</script>
	<style type="text/css">
	<!--
		.box
		{
			width: 740px;
			margin-left: auto;
			margin-right: auto;
		}
		.shouts {
			width: 100%;
			height:300px;
			overflow:auto;
		}
		#chat {
			width: 100%;
			text-align:left;
		}
		#message {
			width: 65%;
		}
		#whois_online{
			vertical-align:text-top;
			text-align:left;
		}
		.online_img {
			vertical-align:middle;
		}
		#act_indicator {
			visibility:hidden;
		}
	-->
	</style>
	<div class="box">
		<table class="tablebg" cellspacing="1" width="100%">
				<tr>
					<td class="cat" colspan="2"><h4>{SITENAME} {L_CHAT}</h4></td>
				</tr>
			<!-- IF S_USER_LOGGED_IN -->
				<tr>
					<td align="center" id="gradient" width="85%">
						<form name="text" id="text" method="post" action="javascript:void(0);" onsubmit="handle_send('add', this)" autocomplete="off">{L_MESSAGE}:
							<input type="text" tabindex="1" name="message" id="message" class="inputbox" size="28" />
							<input class="button1" type="submit" name="submit" value="{L_SUBMIT}" />
						</form>
					</td>
					<td align="center" id="gradient" width="15%">{L_ONLINE_LIST}</td>
			<!-- ENDIF -->
			<tr>
				<td class="row3" style="text-align:left;" height="220">
					<div class="shouts">
						<div id="chat">
							<!-- BEGIN chatrow -->
								<div id="p{chatrow.MESSAGE_ID}">
									<table class="tablebg" cellpadding="6" cellspacing="0" width="100%">
										<tr class="row{chatrow.CLASS}">
											<td>
												<!-- IF U_ACP or U_MCP -->
													<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_POST}" onclick="delete_post('{chatrow.MESSAGE_ID}')">
														<img src="{T_IMAGESET_LANG_PATH}/icon_post_delete.gif" />
													</a>
												<!-- ENDIF -->
												<b class="postauthor">{chatrow.USERNAME_FULL}</b> « {chatrow.TIME} » &nbsp; <span class="postbody">{chatrow.MESSAGE}</span>
											</td>
										</tr>

									</table>
								</div>
							<!-- END chatrow -->
						</div>
					</div>
				</td>
				<td class="row1" nowrap="nowrap">
					<div class="shouts">
						<div id="whois_online">
							<!-- BEGIN whoisrow -->
								<div><img src="{T_IMAGESET_PATH}/{whoisrow.USER_STATUS}.png" class="online_img" /> {whoisrow.USERNAME_FULL}</div>
							<!-- END whoisrow -->
						</div>
					</div>
				</td>
			</tr>
			<tr>
				<td class="cat" colspan="2" align="center">
					{L_DETAILS}
					<img src="{T_IMAGESET_PATH}/act_indicator.gif" id="act_indicator" />
					<strong>• {L_UPDATES} <span id="update_seconds">{DELAY}</span> {L_UNIT}</strong>
				</td>
			</tr>
		</table>
	</div>
	<!-- IF S_CHAT -->
		<!-- INCLUDE overall_footer.html -->
	<!-- ENDIF -->
<!-- ENDIF -->
forumlist_body.html:

Code: Select all

<table class="tablebg" cellspacing="1" width="100%">
<!-- BEGIN forumrow -->
	<!-- IF forumrow.S_IS_CAT -->
		<tr>
			<td class="cat" colspan="5"><h4><a class="catlinks" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
		</tr>
		<tr>
			<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
			<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
			<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
			<th>&nbsp;{L_LAST_POST}&nbsp;</th>
		</tr>
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row2" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->
			<tr>
				<td class="cat" colspan="2"><h4>{L_FORUM}</h4></td>
				<td class="catdiv" colspan="3">&nbsp;</td>
			</tr>
		<!-- ENDIF -->

		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="100%">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
			<td class="row2" align="center" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
					<p class="topicdetails"><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SHORTENED_SUBJECT}</a></p>
					<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>
index_body.html:

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- INCLUDE chat_body.html -->

<!-- IF U_MCP -->
	<div id="pageheader">
		<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
	</div>

	<br clear="all" /><br />
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->

<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --> | <a href="{U_TEAM}">{L_THE_TEAM}</a></span><br />

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a class="catlinks" href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
	</tr>
	<tr>
	<!-- IF LEGEND -->
		<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online1.png" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ELSE -->
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<!-- ENDIF -->
		<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
	</tr>
	<!-- IF LEGEND -->
		<tr>
			<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
		</tr>
	<!-- ENDIF -->
	</table>

	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><h4>{L_VISITORS_TODAY}</h4></td>
	</tr>
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/online.png" alt="{L_WHO_IS_ONLINE}" /></td>
		<td class="row1" width="100%"><span class="genmed">{VISIT_TOTAL}{VISIT_USERS}{VISIT_HIDDEN}{VISIT_BOTS}{VISIT_GUESTS}<br />({VISIT_PERIOD})<br />{VISIT_RECORD}<br /> <br />{VISIT_WHO}</span></td>
	</tr>
	</table>

<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
	</tr>
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/cupcake.png" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
	<td class="row1"><img src="{T_THEME_PATH}/images/statistics.png" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>


<br clear="all" />

<table class="legend">
<tr>
	<td width="20" align="center">{FORUM_NEW_IMG}</td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->
overall_footer.html:

Code: Select all

	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->
<div id="Bcap">
	<div id="wrapfooter">
		<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
		<span style="color:white;" class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000-2007 phpBB Group
		<br />Template by <a href="http://www.ntech-designs.net/">Nanotech Designs</a> &copy; 2007
		<br />Author: <a href="http://www.ntech-designs.net/forumstest/phpBB3/memberlist.php?mode=viewprofile&u=2">/|G3NT42</a>
		<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
		<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
	</div>
</div> <!--Bcap//-->
<div id="ToTopBar" style="cursor:hand;" onclick="javascript:scroll(0,0);"></div>
</div> <!--the container //-->

</body>
</html>
GET YOUR OWN CUSTOM STYLE PM ME

Recent works:
http://www.phpbb.com/community/viewtopi ... 4&t=633545

Locked

Return to “[3.0.x] MODs in Development”