??? ???? ?????? $ ??????? ?????? & ???? & ???? ?????
مرسل: الأربعاء يوليو 25, 2007 5:18 am
				
				?????? ????? ?????? ?? ?????? ,,, 
???? ??? ??? ???? ?????? ????? ?????? ???? ???? ????? ??? ????? ?????? ?? ????????? ?? ????? ??html
  ?? ??? ??? ???? ????
? ???? ???? ???utf ? ?? ???? ?? ???? ????? ?? ?? ????? ???? ie6 ?? ie7 ?? ????????
? ??????? ?? ????????
			???? ??? ??? ???? ?????? ????? ?????? ???? ???? ????? ??? ????? ?????? ?? ????????? ?? ????? ??html
? ???? ???? ???utf ? ?? ???? ?? ???? ????? ?? ?? ????? ???? ie6 ?? ie7 ?? ????????
? ??????? ?? ????????
كود: تحديد الكل
##############################################################
##??? ????? : ???? ?????? ??????? ??????
##????? ????? : Z3u5 < brunovier@suportephpbb.org > http://www.suportephpbb.org
##????? ????? : 0.2.0
##???? ? ????? ????? :  Mr.Engineer : http://www.masr4arab.com
##????? ??????? : ??? .
##??? ??????? : 5 ????? .
##??????? ??????? :
##   viewtopic.php
##   styles/prosiver/template/viewtopic_body.html
##
##??????? ??????? :
##   root ??? ??????
##
##############################################################
MOD History:
##
##   2007-06-05 - Version 0.2.0
##      - Fixed focus textarea
##	- Fixed Subject in quick reply
##	- Added option to enable bbcode buttons
##
##   2007-06-05 - Version 0.1.5
##      - Fixed quote last message smilie
##
##   2007-06-02 - Version 0.1.4
##      - Fixed javascript error for Anonymous User
##
##   2007-06-02 - Version 0.1.3
##      - Added Subsilver2 template
##
##   2007-05-29 - Version 0.1.2
##      - Fixed javascript error
##      - Fixed incompatibility with Firefox
##
##   2007-05-29 - Version 0.1.1
##      - Add Optoin of colorize
##
##   2007-05-28 - Version 0.1.0
##      - Initial Release
##
## ??? ????? ????? ??? ??? ???? ???????? ?? ??????? ???? ???? ??????? ?????
##############################################################
#
#-----[ ???? ]------------------------------------------
#
#???? ??????? ??? 
#ROOT
#?? ??? ?????
#
#-----[ ???? ]------------------------------------------
#
viewtopic.php
#
#
#-----[ ???? ?? ]------------------------------------------
#
// Output the posts
$first_unread = $post_unread = false;
#
#-----[ ??? ???? ]------------------------------------------
#
//-- mod : Advanced Quick Reply ---------------------------------------------------------------------
$last_post = end($rowset);
//-- fin mod : Advanced Quick Reply -----------------------------------------------------------------
#
#-----[ ???? ?? ]------------------------------------------
#
page_footer();
#
#-----[ ??? ???? ]------------------------------------------
#
//-- mod : Advanced Quick Reply ---------------------------------------------------------------------
include $phpbb_root_path . 'includes/quickreply.' . $phpEx;
$QuickReply = new QuickReply($topic_id, $forum_id, $topic_data, $last_post);
//-- fin mod : Advanced Quick Reply -----------------------------------------------------------------
#
#-----[ ???? ]------------------------------------------
#
styles/prosiver/template/editor.js
#
#-----[ ???? ]------------------------------------------
#
function initInsertions() 
{
	var doc;
	if (document.forms[form_name])
	{
		doc = document;
	}
	else 
	{
		doc = opener.document;
	}
	var textarea = doc.forms[form_name].elements[text_name];
	if (is_ie && typeof(baseHeight) != 'number')
	{	
		textarea.focus();
		baseHeight = doc.selection.createRange().duplicate().boundingHeight;
		document.body.focus();
	}
}
#
#-----[ ?????? ? ]------------------------------------------
#
function initInsertions() 
{
	var doc;
	if (document.forms[form_name])
	{
		doc = document;
	}
	else 
	{
		doc = opener.document;
	}
	var textarea = doc.forms[form_name].elements[text_name];
	if (is_ie && typeof(baseHeight) != 'number')
	{
//	Remove by Quick Reply		textarea.focus();
		baseHeight = doc.selection.createRange().duplicate().boundingHeight;
		document.body.focus();
	}
}
//Quick Reply
var isNav4Min = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4)
var isIE4Min = (navigator.appName.indexOf("Microsoft") != -1 && parseInt(navigator.appVersion) >= 4)
function quoteSelection() 
{
	var userSelection = false;
	var textarea = document.postform.message;
	if (isNav4Min && window.getSelection() !=  '') {
		userSelection = window.getSelection();
	}
	else if (isIE4Min && document.selection) {
		userSelection = document.selection.createRange().text;
	}
			
	if (userSelection) {
		insert_text( '[quote]\n' + userSelection + '\n[/quote]\n', true, false);
		textarea.focus();
		userSelection = '';
		return;
	}
	else
	{
		alert('{L_NO_TEXT_SELECTED}');
	}
}
function checkForm() {
	formErrors = false;
		
	if (document.postform.message.value.length <= 2) {
		formErrors = '{TOO_FEW_CHARS}';
	}
	if (formErrors)
	{
		alert(formErrors);
		return false;
	} 
	else
	{
		if (document.postform.quote_last_msg.checked) 
		{
			document.postform.message.value = document.postform.last_post.value + document.postform.message.value;
		} 
		return true;
	}
}
//Quick Reply
#
#-----[ ???? ]------------------------------------------
#
styles/prosiver/template/viewtopic_body.html
#
#-----[ ???? ?? ]------------------------------------------
#
				{postrow.POST_AUTHOR}
#
#-----[ ??????? ?? ]------------------------------------------
#
			<!-- IF S_QR_ACTIVE -->
				<!-- IF S_QR_COLOR_NICK -->
					<!-- IF postrow.POST_AUTHOR_COLOUR -->	
					<a href="#" onclick="insert_text('[b][color={postrow.POST_AUTHOR_COLOUR}]{postrow.POST_AUTHOR}[/color][/b], ', true, false); return false;"><span style="color: {postrow.POST_AUTHOR_COLOUR};" class="username-coloured">{postrow.POST_AUTHOR}</span></a>
					<!-- ELSE -->
					<a href="#" onclick="insert_text('[b]{postrow.POST_AUTHOR}[/b], ', true, false); return false;"><span style="color: {postrow.POST_AUTHOR_COLOUR};" class="username-coloured">{postrow.POST_AUTHOR}</span></a>					
					<!-- ENDIF -->
				<!-- ELSE -->
					<a href="#" onclick="insert_text('[b]{postrow.POST_AUTHOR}[/b], ', true, false); return false;"><span style="color: {postrow.POST_AUTHOR_COLOUR};" class="username-coloured">{postrow.POST_AUTHOR}</span></a>			
				<!-- ENDIF -->
			<!-- ELSE -->
				{postrow.POST_AUTHOR_FULL}			
			<!-- ENDIF -->
#
#-----[ ???? ?? ]------------------------------------------
#
<div id="pagefooter"></div>
#
#-----[ ??? ???? ]------------------------------------------
#
<!-- INCLUDE quickreply_body.html -->
#
#-----[ ???? ? ???? ???? ??????? ]------------------------------------------
#
# ??????
Mr.Engineer >> http://www.masr4arab.com