<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="mwaextraedit4" active="1">
	<title>أدوات المودة المطورة للتحرير ــ الإصدار الرابع</title>
	<description>أدوات المودة المطورة للتحرير ــ الإصدار الرابع توفر مجموعة من الخيارات لتسهيل وتطوير عملية تحرير المشاركات والمواضيع في منتداك وبتحكم كامل ... تطوير ابو راشد مشرف عام منتديات المودة http://www.mwadah.com</description>
	<version>4.0</version>
	<url>http://www.mwadah.com</url>
	<versioncheckurl>http://www.mwadah.com</versioncheckurl>
	<apm_releasedate>0</apm_releasedate>
	<apm_author />
	<apm_relatedurl />
	<apm_extrainfo />
	<apm_extraedit />
	<dependencies>
	</dependencies>
	<codes>
		<code version="2.0">
			<installcode><![CDATA[require_once(DIR . '/includes/class_bbcode.php');
$s = '$s';
$db->hide_errors();
$db->query_write("UPDATE " . TABLE_PREFIX . "post SET pagetext = REPLACE(pagetext,'[poem ','[poem=')");
$db->query_write("UPDATE " . TABLE_PREFIX . "post SET pagetext = REPLACE(pagetext,'mwaextraedit/backgrounds','mwaextraedit4/backgrounds')");
$db->query_write("UPDATE " . TABLE_PREFIX . "post SET pagetext = REPLACE(pagetext,'[type]','[type=mwadah]')");
$db->query_write("UPDATE " . TABLE_PREFIX . "user SET showvbcode = 2");
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'postparsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'sigparsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'blog_custom_block_parsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'blog_textparsed');
$db->show_errors();
build_bbcode_cache();
$db->query("CREATE TABLE `" . TABLE_PREFIX . "posttemplate` (
  `pid` int(15) NOT NULL auto_increment,
  `userid` int(15) NOT NULL default '0',
  `parentid` int(15) NOT NULL default '0',
  `type` enum('category','template') NOT NULL default 'category',
  `title` varchar(255) NOT NULL,
  `content` mediumtext NOT NULL,
  PRIMARY KEY  (`pid`),
  KEY `userid` (`userid`)
) Type=MyISAM");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `vbmwaextraedit4_permissions` INT( 10 ) UNSIGNED NOT NULL DEFAULT '18';");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "posttemplate` ADD `global` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `title`;");]]></installcode>
			<uninstallcode><![CDATA[require_once(DIR . '/includes/class_bbcode.php');
$db->hide_errors();
$db->query_write("UPDATE " . TABLE_PREFIX . "user SET showvbcode = 1");
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'postparsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'sigparsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'blog_custom_block_parsed');
$db->query_write('TRUNCATE TABLE ' . TABLE_PREFIX . 'blog_textparsed');
$db->show_errors();
build_bbcode_cache();
$db->query("drop table `" . TABLE_PREFIX . "posttemplate`");
$db->query("alter table `" . TABLE_PREFIX . "usergroup` drop vbmwaextraedit4_permissions");]]></uninstallcode>
		</code>
	</codes>
	<templates>
		<template name="editor_posttemplates" templatetype="template" date="1256304007" username="ابو راشد" version=""><![CDATA[<td><div class="imagebutton" id="{$editorid}_popup_posttemplate" title="العبارات الجاهزة">
	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td class="popup_feedback"><div id="{$editorid}_font_out">العبارات</div></td>
		<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
	</tr>
	</table>
</div></td><td><a target="_blank" href="profile.php?do=posttemplates"><img src="mwaextraedit4/buttons/pt.gif" border="0" width="21" height="20" alt="إضافة وتعديل وحذف عباراتك الجاهزة" /></a></td>]]></template>
		<template name="editor_posttemplates_js" templatetype="template" date="1255541770" username="ابو راشد" version=""><![CDATA[<script type="text/javascript">
<!--
var posttemplates = {
$mainbuild
};

var EDITOR_ID = '$editorid';

-->
</script>
<script type="text/javascript" src="mwaextraedit4/vbulletin_ajax_posttemplates.js?v=1.5.0"></script>]]></template>
		<template name="modifyposttemplates" templatetype="template" date="1255541771" username="ابو راشد" version=""><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		$vbphrase[manage_mwaextraedit4_categories]
	</td>
</tr>
<tr>
	<td class="thead">
		$vbphrase[mwaextraedit4_add_category]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="$stylevar[left]">
	<div class="panel">
	<form action="profile.php?do=mwaextraedit4_addcategory" method="post">
	<input type="hidden" name="do" value="mwaextraedit4_addcategory" />
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<div align="$stylevar[left]">
		<fieldset class="fieldset">
			<legend>$vbphrase[manage_mwaextraedit4_categories]</legend>

			<div style="padding: $stylevar[cellpadding]px;">
			<div class="smallfont">
				<div style="padding-bottom: $stylevar[cellpadding]px;"><phrase 1="$session[sessionurl]">$vbphrase[mwaextraedit4_add_category_desc]</phrase></div>
				<div>
					<input type="text" class="bginput" name="title" size="30" maxlength="40" />
					<if condition="$mwaextraedit4_cancreatedef">
						$vbphrase[mwaextraedit4_defined_q] <input type="checkbox" name="global" value="1" />
					</if>
					<input type="submit" class="button" value="$vbphrase[mwaextraedit4_add_category]" />
				</div>
			</div>
			</div>
		</fieldset>
		</div>
	</form>
	</div>
	</td>
</tr>
</table>
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">
		$vbphrase[mwaextraedit4_create_template]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="$stylevar[left]">
	<div class="panel">
	<form action="profile.php?do=mwaextraedit4_addtemplate" method="post">
	<input type="hidden" name="do" value="mwaextraedit4_addtemplate" />
	<input type="hidden" name="s" value="$session[sessionhash]" />
	<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
		<div align="$stylevar[left]">
		<fieldset class="fieldset">
			<legend>$vbphrase[manage_mwaextraedit4_categories]</legend>

			<div style="padding: $stylevar[cellpadding]px;">
				<div class="smallfont">
					<div style="padding-bottom: $stylevar[cellpadding]px;">$vbphrase[mwaextraedit4_create_template_desc]</div>
					<div><input type="submit" class="button" value="$vbphrase[mwaextraedit4_create_template]" /></div>
				</div>
			</div>
		</fieldset>
		</div>
	</form>
	</div>
	</td>
</tr>
</table>
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">
		$vbphrase[manage_post_templates]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="$stylevar[left]">
	<div class="panel">
		<div align="$stylevar[left]">
		<fieldset class="fieldset" style="padding: $stylevar[cellpadding]px;">
			<legend>$vbphrase[manage_post_templates]</legend>

			<div style="padding: $stylevar[cellpadding]px;">
				<div class="smallfont"><phrase 1="{$ptdm->count['category']}" 2="{$ptdm->count['template']}">$vbphrase[manage_mwaextraedit4_exist_categories_and_templates_x]</phrase></div>
				<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />

				<if condition="$html">
					<div class="smallfont" style="width: $stylevar[formwidth_usercp];">$html</div>
				<else />
					<div class="smallfont">$vbphrase[mwaextraedit4_no_cats]</div>
				</if>
			</div>
		</fieldset>
	</div>
</tr>
</table>]]></template>
		<template name="modifyposttemplates_category" templatetype="template" date="1255541777" username="ابو راشد" version=""><![CDATA[<div style="padding-bottom: 3px; border-bottom: 1px solid $stylevar[tborder_bgcolor];<if condition="$html">padding-top: 20px;</if>">
<span style="float: $stylevar[right];">
<a href="profile.php?$session[sessionurl]do=mwaextraedit4_editcategory&amp;id=$category[pid]">$vbphrase[manage_mwaextraedit4_category]</a>
</span>
<strong>$category[title]</strong> <if condition="$category['global']"><span class="time">(<em>$vbphrase[mwaextraedit4_defined]</em>)</span></if>
</div>
<div style="padding-left: 40px; padding-top: 5px;">
<if condition="$bits">
$bits
<else />
<em>$vbphrase[mwaextraedit4_no_temps_for_cat]</em>
</if>
</div>]]></template>
		<template name="modifyposttemplates_editcategory" templatetype="template" date="1255541777" username="ابو راشد" version=""><![CDATA[<form action="profile.php?do=mwaextraedit4_handlecategory" method="post">
<input type="hidden" name="do" value="mwaextraedit4_handlecategory" />
<input type="hidden" name="id" value="$category[pid]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<phrase 1="$category[title]">$vbphrase[manage_mwaextraedit4_category_x]</phrase>
	</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
		<fieldset class="fieldset" style="padding: $stylevar[cellpadding]px;">
			<legend>$vbphrase[manage_mwaextraedit4_category]</legend>

			<div style="padding: $stylevar[cellpadding]px;">
				<div class="smallfont">
					<div style="padding-bottom: $stylevar[cellpadding]px;">$vbphrase[manage_mwaextraedit4_category_modify]</div>
					<div>
						<input value="$category[title]" type="text" class="bginput" name="title" size="30" maxlength="40" />
						<if condition="$mwaextraedit4_cancreatedef">
						$vbphrase[mwaextraedit4_defined_q] <input type="checkbox" name="global" value="1"<if condition="$category['global']"> checked="checked"</if> />
						</if>
					</div>
				</div>
			</div>
		</fieldset>
		</div>
	</div>
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[mwaextraedit4_update_category]" />
		<input name="delete" type="submit" class="button" value="$vbphrase[mwaextraedit4_delete_category]" /></div>
	</div>
	</td>
</tr>
</table>
</form>]]></template>
		<template name="modifyposttemplates_edittemplate" templatetype="template" date="1255541778" username="ابو راشد" version=""><![CDATA[<form action="profile.php?do=mwaextraedit4_handletemplate" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, 0)"</if>>
<input type="hidden" name="do" value="mwaextraedit4_handletemplate" />
<input type="hidden" name="id" value="$template[pid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<if condition="$template[title]">
			<phrase 1="$template[title]">$vbphrase[manage_mwaextraedit4_template_x]</phrase>
		<else />
			$vbphrase[mwaextraedit4_create_new_template]
		</if>
	</td>
</tr>

<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]" style="max-width:$stylevar[formwidth]; width:auto !important; width:$stylevar[messagewidth]px;">
			<div class="smallfont" style="padding-bottom: $stylevar[cellpadding]px;"><span style="float: $stylevar[right]; padding-right: 200px;"><select name="parentid">$categories</select></span>$vbphrase[mwaextraedit4_template_category]:</div>
			<if condition="$mwaextraedit4_cancreatedef"><div class="smallfont" style="padding-bottom: $stylevar[cellpadding]px;"><span style="float: $stylevar[right]; padding-right: 200px;"><input type="checkbox" name="global" value="1"<if condition="$template['global']"> checked="checked"</if> /></span>$vbphrase[mwaextraedit4_defined_q]</div></if>
			<div class="smallfont" style="padding-bottom: $stylevar[cellpadding]px;"><span style="float: $stylevar[right]; padding-right: 200px;"><input class="bginput" type="text" value="$template[title]" name="title" size="30" maxlength="40" /></span>$vbphrase[mwaextraedit4_template_title]:</div>

			<div class="smallfont">$vbphrase[post_template]:</div>
			$messagearea
		</div>
	</div>

	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
		<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
		<if condition="$template[title]">
			<input name="delete" type="submit" class="button" value="$vbphrase[delete]" />
		</if>
	</div>
	</td>
</tr>
</table>
</form>]]></template>
		<template name="modifyposttemplates_template" templatetype="template" date="1255541779" username="ابو راشد" version=""><![CDATA[<div style="padding-top: 3px; padding-bottom: 3px;">
<span style="float: $stylevar[right];">
<a href="profile.php?$session[sessionurl]do=mwaextraedit4_edittemplate&amp;id=$template[pid]" style="color: $stylevar[time_fgcolor];">$vbphrase[manage_mwaextraedit4_template]</a>
</span>
$template[title] <if condition="$template['global']"><span class="time">(<em>$vbphrase[mwaextraedit4_defined]</em>)</span></if>
</div>]]></template>
		<template name="mwaextraedit4_bbcode_table" templatetype="template" date="1209889717" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[mwaextraedit4_bbcode_table]</title>
$headinclude
</head>
<body>

<form action="newreply.php" method="post" name="table">
<input type="hidden" name="action" value="weiter">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="wed" value="$_REQUEST[wed]">
<input type="hidden" name="do" value="bbcodepopup">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<table cellpadding="2" cellspacing="1" border="0" style="width:100%" class="tborder">
 <tr>
  <td colspan="2" class="tborder" id="tabletitle" align="center">
   <normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_add]</b></font>
  </td>
 </tr>
 <tr>
  <td class="alt2" align="center"><normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_width]</b></font></td>
  <td class="alt1"><input class="input" type="text" name="width" value="99%" size="4" maxlength="4" /></td>
 </tr>
 <tr>
  <td class="alt2" align="center"><normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_tr]</b></font></td>
  <td class="alt1"><input class="input" type="text" name="split" value="3" size="2" maxlength="2" /></td>
 </tr>
 <tr>
  <td class="alt2" align="center"><normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_td]</b></font></td>
  <td class="alt1"><input class="input" type="text" name="lines" value="5" size="2" maxlength="2" /></td>
 </tr>
 <tr>
  <td class="alt2" align="center"><normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_first_line]</b></font></td>
  <td class="alt1">
   <select name="r_title">
   <option value="1" selected>$vbphrase[mwaextraedit4_bbcode_table_first_line_yes]</option>
   <option value="0">$vbphrase[mwaextraedit4_bbcode_table_first_line_no]</option>
   </select>
  </td>
 </tr>
 <tr>
  <td colspan="2" class="tcat" align="center">
   <input class="input" type="submit" name="submit" accesskey="w" value="$vbphrase[mwaextraedit4_bbcode_table_next]">
  </td>
 </tr>
</table>
</form>

</body>
</html>]]></template>
		<template name="mwaextraedit4_bbcode_table_2nd" templatetype="template" date="1209889740" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[mwaextraedit4_bbcode_table]</title>
$headinclude


<if condition="$_REQUEST[wed]">
<script type="text/javascript">
<!-- 
function replace_script() {
 var insert = this.document.bbformtable.inhalt.value;
 var count = this.document.bbformtable.zahl.value;
 var cols = this.document.bbformtable.cols.value;
 var rows = this.document.bbformtable.rows.value;
 var loop = 0;
 for (var i=0; i < rows;i++) {
  for (var j=0; j < cols;j++) {
   insert = insert.replace("<table cellpadding='0' cellspacing='1' border='0' class='tborder'>", "[table=$width]");
   insert = insert.replace("<tr class=alt2>", "[tr=alt2]");
   insert = insert.replace("<tr class=alt1>", "[tr=alt1]");
   insert = insert.replace("<tr class='thead'>", "[tr=tcat]");
   insert = insert.replace("<td align='center'>", "[td]");
   insert = insert.replace("</td>", "[/td]");
   insert = insert.replace("</tr>", "[/tr]");
   insert = insert.replace("</table>", "[/table]");
   var deli = "<input class='bginput' type='text' id='ein" + loop + "' name='ein" + loop + "' value='' size='10' maxlength='50'>";
   var inp = document.getElementById('ein' + loop).value;
   insert = insert.replace(deli, inp);
   loop++;
  }
 }
var bname = navigator.appName;
 if (bname == "Microsoft Internet Explorer")
 {
 var newins = opener.document.frames["htmlwindow"].innerHTML + insert;
 opener.document.frames["htmlwindow"].innerHTML = newins;
 opener.document.frames["htmlwindow"].focus();
 self.close();
 }
 else
 {
 var newins = opener.htmlbox.body.innerHTML + insert;
 opener.htmlbox.body.innerHTML = newins;
 opener.htmlbox.body.focus();
 self.close();
 }
}
//--> 
</script>
<else />
<script type="text/javascript">
<!-- 
function replace_script() {
 var insert = this.document.bbformtable.inhalt.value;
 var count = this.document.bbformtable.zahl.value;
 var cols = this.document.bbformtable.cols.value;
 var rows = this.document.bbformtable.rows.value;
 var loop = 0;
 for (var i=0; i < rows;i++) {
  for (var j=0; j < cols;j++) {
   insert = insert.replace("<table cellpadding='0' cellspacing='1' border='0' class='tborder'>", "[table=$width]");
   insert = insert.replace("<tr class=alt2>", "[tr=alt2]");
   insert = insert.replace("<tr class=alt1>", "[tr=alt1]");
   insert = insert.replace("<tr class='thead'>", "[tr=tcat]");
   insert = insert.replace("<td align='center'>", "[td]");
   insert = insert.replace("</td>", "[/td]");
   insert = insert.replace("</tr>", "[/tr]");
   insert = insert.replace("</table>", "[/table]");
   var deli = "<input class='bginput' type='text' id='ein" + loop + "' name='ein" + loop + "' value='' size='10' maxlength='50'>";
   var inp = document.getElementById('ein' + loop).value;
   insert = insert.replace(deli, inp);
   loop++;
  }
 }
 var newins = opener.document.vbform.message.value + insert;
 opener.document.vbform.message.value = newins;
 opener.document.vbform.message.focus();

 self.close();
}
//--> 
</script>
</if>

</head>
<body>
<table cellpadding="0" cellspacing="1" border="0" width="100%" class="tborder">
 <tr>
  <td class="tcat" id="tabletitle" align="center">
   <normalfont><b>$vbphrase[mwaextraedit4_bbcode_table_add] $vbphrase[mwaextraedit4_bbcode_table_widthname]</b> $width</font>
  </td>
 </tr>
</table>
<form action="bbtable.php" method="post" name="bbformtable">
<input type="hidden" name="action" value="final">
<input type="hidden" name="s"" value="$session[sessionhash]">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<table cellpadding="0" cellspacing="1" border="0" width="100%" class="tborder">
 $table_new_bit
 <tr class="tcat">
  <td colspan="$lines" align="center">
   <input type="hidden" name="inhalt" value="$uebergabe">
   <input type="hidden" name="zahl" value="$si">
   <input type="hidden" name="in" value="$in">
   <input type="hidden" name="rows" value="$split">
   <input type="hidden" name="cols" value="$lines">
   <input class="input" type="button" value="$vbphrase[mwaextraedit4_bbcode_table_ok]" onclick="replace_script();">
  </td>
 </tr>
</table>
</form>
<div align="center" class="smallfont">
$vbphrase[mwaextraedit4_bbcode_table_copyright]
 $vbphrase[mwaextraedit4_bbcode_table_beta]</div>
</body>
</html>]]></template>
		<template name="mwaextraedit4_bbcode_table_error" templatetype="template" date="1193343463" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[mwaextraedit4_bbcode_table_error]</title>
$headinclude
<script type="text/javascript">
<!-- 
function replace_script() {
 self.close();
 }
//--> 
</script>
</head>
<body>

<hr size="1" color="#FF0000" noshade />
<div align="center" class="normalfont">$vbphrase[mwaextraedit4_bbcode_table_error]<br /><br /><input class="input" type="button" value="أغلق النافذة" onclick="replace_script();"></div>
<hr size="1" color="#FF0000" noshade />


</body>
</html>]]></template>
		<template name="mwaextraedit4_bbcode_table_output" templatetype="template" date="1193343496" username="ابو راشد" version=""><![CDATA[<table cellpadding='0' cellspacing='1' border='0' class='tborder'>$table_new_bit</table>]]></template>
		<template name="mwaextraedit4_bbcode_table_td" templatetype="template" date="1193343525" username="ابو راشد" version=""><![CDATA[<td align='center'><input class='bginput' type='text' id='ein$si' name='ein$si' value='$in' size='10' maxlength='50'></td>]]></template>
		<template name="mwaextraedit4_bbcode_table_tr" templatetype="template" date="1193343551" username="ابو راشد" version=""><![CDATA[<tr class=$tdclass>$td_bit</tr>]]></template>
		<template name="mwaextraedit4_buttons" templatetype="template" date="1256358114" username="ابو راشد" version=""><![CDATA[<table><tr>

<script language="javascript">
var mwamaxcounter = $vboptions[mwaextraedit4_setting_buttons_count_row]
var mwacounter = 0
var mwatextonly = ''
function mwanextcounter()
{
mwacounter++ ;
mwatextonly ="" ;
if ( mwacounter > mwamaxcounter )
{
mwacounter = 1 ;
mwatextonly ='</tr><tr>' ;
}
}
</script>

<!-- text -->
<if condition="($vboptions[mwaextraedit4_setting_text_active] == 1) or ($vboptions[mwaextraedit4_setting_text_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttext"><img src="mwaextraedit4/buttons/text.gif" width="21" height="20" alt="تنسيق النص بطريقة رائعة واحترافية بإطار وخلفية وتنسيق كامل" /></div></td></if>
<!-- / text -->

<!-- poem -->
<if condition="($vboptions[mwaextraedit4_setting_poem_active] == 1) or ($vboptions[mwaextraedit4_setting_poem_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertpoem"><img src="mwaextraedit4/buttons/poem.gif" width="21" height="20" alt="تنسيق القصيدة الشعرية ويجب تحديد القصيدة مع فصل شطري كل بيت بعلامة يساوي =" /></div></td></if>
<!-- / poem -->

<!-- gradient -->
<if condition="($vboptions[mwaextraedit4_setting_gradient_active] == 1) or ($vboptions[mwaextraedit4_setting_gradient_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgradient"><img src="mwaextraedit4/buttons/gradient.gif" width="21" height="20" alt="إختيار تدرج لوني للنص" /></div></td></if>
<!-- / gradient -->

<!-- frame -->
<if condition="($vboptions[mwaextraedit4_setting_frame_active] == 1) or ($vboptions[mwaextraedit4_setting_frame_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertframe"><img src="mwaextraedit4/buttons/frame.gif" width="21" height="20" alt="لإدراج إطار حول النص" /></div></td></if>
<!-- / frame -->

<!-- table -->
<if condition="($vboptions[mwaextraedit4_setting_table_active] == 1) or ($vboptions[mwaextraedit4_setting_table_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttable"><img src="mwaextraedit4/buttons/table.gif" width="21" height="20" alt="لإدراج جدول في الموضوع" /></div></td></if>
<!-- / table -->

<!-- flash عادي -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash"><img src="mwaextraedit4/buttons/flash.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash عادي -->

<!-- flash شفاف -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash1"><img src="mwaextraedit4/buttons/flash1.gif" width="21" height="20" alt="لإدراج فلاش شفاف يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash شفاف -->

<!-- flash مطور -->
<if condition="($vboptions[mwaextraedit4_setting_flash1_active] == 1) or ($vboptions[mwaextraedit4_setting_flash1_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash2"><img src="mwaextraedit4/buttons/flash2.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه في صفحة مستقله بطريقة جميله" /></div></td></if>
<!-- / flash مطور -->

<!-- youtube -->
<if condition="($vboptions[mwaextraedit4_setting_autovideo_active] == 1) or ($vboptions[mwaextraedit4_setting_autovideo_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyoutube"><img src="mwaextraedit4/buttons/youtube.gif" width="21" height="20" alt="إدراج ملف فيديو من مواقع الفيدو مثل youtube وياهوو وقوقل وغيرها" /></div></td></if>
<!-- / youtube -->

<!-- rplayer -->
<if condition="($vboptions[mwaextraedit4_setting_reala_active] == 1) or ($vboptions[mwaextraedit4_setting_reala_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrplayer"><img src="mwaextraedit4/buttons/rplayer.gif" width="21" height="20" alt="إدراج ملف ريل بلاير" /></div></td></if>
<!-- / rplayer -->

<!-- media -->
<if condition="($vboptions[mwaextraedit4_setting_mediap_active] == 1) or ($vboptions[mwaextraedit4_setting_mediap_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmedia"><img src="mwaextraedit4/buttons/media.gif" width="21" height="20" alt="إدراج ملف مديا بلاير" /></div></td></if>
<!-- / media -->

<!-- bimg -->
<if condition="($vboptions[mwaextraedit4_setting_bimg_active] == 1) or ($vboptions[mwaextraedit4_setting_bimg_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbimg"><img src="mwaextraedit4/buttons/bimg.gif" width="21" height="20" alt="إدراج صورة كبيره وعرضها مصغره" /></div></td></if>
<!-- / bimg -->

<!-- imgr -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgr"><img src="mwaextraedit4/buttons/imgr.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يمين النص" /></div></td></if>
<!-- / imgr -->

<!-- imgl -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgl"><img src="mwaextraedit4/buttons/imgl.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يسار النص" /></div></td></if>
<!-- / imgl -->

<!-- code -->
<if condition="($vboptions[mwaextraedit4_setting_code_active] == 1) or ($vboptions[mwaextraedit4_setting_code_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcode"><img src="mwaextraedit4/buttons/code.gif" width="21" height="20" alt="إدراج نص كود" /></div></td></if>
<!-- / code -->

<!-- php -->
<if condition="($vboptions[mwaextraedit4_setting_php_active] == 1) or ($vboptions[mwaextraedit4_setting_php_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertphp"><img src="mwaextraedit4/buttons/php.gif" width="21" height="20" alt="إدراج نص بي إتش بي" /></div></td></if>
<!-- / php -->

<!-- html -->
<if condition="($vboptions[mwaextraedit4_setting_html_active] == 1) or ($vboptions[mwaextraedit4_setting_html_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthtml"><img src="mwaextraedit4/buttons/html.gif" width="21" height="20" alt="إدراج نص هتمل" /></div></td></if>
<!-- / html -->

<!-- justify -->
<if condition="($vboptions[mwaextraedit4_setting_otherbutt_active] == 1) or ($vboptions[mwaextraedit4_setting_otherbutt_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertjustify"><img src="mwaextraedit4/buttons/justify.gif" width="21" height="20" alt="تنسيق النص بمحاذاة الأطراف" /></div></td></if>
<!-- / justify -->

<!-- right -->
<if condition="($vboptions[mwaextraedit4_setting_right_active] == 1) or ($vboptions[mwaextraedit4_setting_right_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="mwaextraedit4/buttons/right.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليمين" /></div></td></if>
<!-- / right -->

<!-- center -->
<if condition="($vboptions[mwaextraedit4_setting_center_active] == 1) or ($vboptions[mwaextraedit4_setting_center_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="mwaextraedit4/buttons/center.gif" width="21" height="20" alt="توسيط النص" /></div></td></if>
<!-- / center -->

<!-- left -->
<if condition="($vboptions[mwaextraedit4_setting_left_active] == 1) or ($vboptions[mwaextraedit4_setting_left_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="mwaextraedit4/buttons/left.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليسار" /></div></td></if>
<!-- / left -->

<!-- rtl -->
<if condition="($vboptions[mwaextraedit4_setting_rtl_active] == 1) or ($vboptions[mwaextraedit4_setting_rtl_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrtl"><img src="mwaextraedit4/buttons/rtl.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليمين" /></div></td></if>
<!-- / rtl -->

<!-- ltr -->
<if condition="($vboptions[mwaextraedit4_setting_ltr_active] == 1) or ($vboptions[mwaextraedit4_setting_ltr_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertltr"><img src="mwaextraedit4/buttons/ltr.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليسار" /></div></td></if>
<!-- / ltr -->

<!-- keyb -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertkeyb"><img src="mwaextraedit4/buttons/keyb.gif" width="21" height="20" alt="عرض وإخفاء لوحة المفاتيح العربية لمن لا يمتلك جهاز معرب" /></div></td></if>
<!-- / keyb -->

<!-- copy -->
<if condition="($vboptions[mwaextraedit4_setting_copy_active] == 1) or ($vboptions[mwaextraedit4_setting_copy_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="mwaextraedit4/buttons/copy.gif" width="21" height="20" alt="نسخ النص المحدد للذاكرة" /></div></td></if>
<!-- / copy -->

<!-- cut -->
<if condition="($vboptions[mwaextraedit4_setting_cut_active] == 1) or ($vboptions[mwaextraedit4_setting_cut_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="mwaextraedit4/buttons/cut.gif" width="21" height="20" alt="قص النص المحدد مع النسخ للذاكره" /></div></td></if>
<!-- / cut -->

<!-- delete -->
<if condition="($vboptions[mwaextraedit4_setting_delete_active] == 1) or ($vboptions[mwaextraedit4_setting_delete_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_delete"><img src="mwaextraedit4/buttons/delete.gif" width="21" height="20" alt="حذف النص المحدد" /></div></td></if>
<!-- / delete -->

<!-- paste -->
<if condition="($vboptions[mwaextraedit4_setting_paste_active] == 1) or ($vboptions[mwaextraedit4_setting_paste_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="mwaextraedit4/buttons/paste.gif" width="21" height="20" alt="لصق محتويات الذاكره" /></div></td></if>
<!-- / paste -->

<!-- line -->
<if condition="($vboptions[mwaextraedit4_setting_line_active] == 1) or ($vboptions[mwaextraedit4_setting_line_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertline"><img src="mwaextraedit4/buttons/line.gif" width="21" height="20" alt="إدراج خط فاصل" /></div></td></if>
<!-- / line -->

<!-- colorpicker -->
<if condition="($vboptions[mwaextraedit4_setting_backcolor_active] == 1) or ($vboptions[mwaextraedit4_setting_backcolor_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcolorpicker"><img src="mwaextraedit4/buttons/colorpicker.gif" width="21" height="20" alt="أدات تلوين النص المطوره" /></div></td></if>
<!-- / colorpicker -->

<!-- mark -->
<if condition="($vboptions[mwaextraedit4_setting_mark_active] == 1) or ($vboptions[mwaextraedit4_setting_mark_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmark"><img src="mwaextraedit4/buttons/mark.gif" width="21" height="20" alt="أدات تلوين خلفية النص" /></div></td></if>
<!-- / mark -->

<!-- web -->
<if condition="($vboptions[mwaextraedit4_setting_web_active] == 1) or ($vboptions[mwaextraedit4_setting_web_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertweb"><img src="mwaextraedit4/buttons/web.gif" width="21" height="20" alt="إدراج صفحة انترنت داخل الموضوع" /></div></td></if>
<!-- / web -->

<!-- quran -->
<if condition="($vboptions[mwaextraedit4_setting_quran_active] == 1) or ($vboptions[mwaextraedit4_setting_quran_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertquran"><img src="mwaextraedit4/buttons/quran.gif" width="21" height="20" alt="البحث في القرآن الكريم والحديث الشريف" /></div></td></if>
<!-- / quran -->

<!-- hide -->
<if condition="($vboptions[mwaextraedit4_hide_active] == 1) or ($vboptions[mwaextraedit4_hide_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthide"><img src="mwaextraedit4/buttons/hides.gif" width="21" height="20" alt="لإدراج محتوى مخفي لا يمكن مشاهدته قبل الرد على الموضوع" /></div></td></if>
<!-- / hide -->

<!-- fieldset -->
<if condition="($vboptions[mwaextraedit4_setting_moretext_active] == 1) or ($vboptions[mwaextraedit4_setting_moretext_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertfieldset"><img src="mwaextraedit4/buttons/fieldset.gif" width="21" height="20" alt="وضع النص في إطار بعنوان" /></div></td></if>
<!-- / fieldset -->

<!-- plain -->
<if condition="($vboptions[mwaextraedit4_setting_plain_active] == 1) or ($vboptions[mwaextraedit4_setting_plain_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_plain"><img src="mwaextraedit4/buttons/plain.gif" width="21" height="20" alt="إزالة التنسيق" /></div></td></if>
<!-- plain -->

<!-- info -->
<if condition="($vboptions[mwaextraedit4_setting_info_active] == 1) or ($vboptions[mwaextraedit4_setting_info_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertinfo"><img src="mwaextraedit4/buttons/info.gif" width="21" height="20" alt="إدراج ملاحظة في الموضوع" /></div></td></if>
<!-- / info -->

<!-- caution -->
<if condition="($vboptions[mwaextraedit4_setting_caution_active] == 1) or ($vboptions[mwaextraedit4_setting_caution_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcaution"><img src="mwaextraedit4/buttons/caution.gif" width="21" height="20" alt="إدراج تنبيه في الموضوع" /></div></td></if>
<!-- / caution -->

<!-- warning -->
<if condition="($vboptions[mwaextraedit4_setting_warning_active] == 1) or ($vboptions[mwaextraedit4_setting_warning_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertwarning"><img src="mwaextraedit4/buttons/warning.gif" width="21" height="20" alt="إدراج تحذير في الموضوع" /></div></td></if>
<!-- / warning -->

<!-- glint -->
<if condition="($vboptions[mwaextraedit4_setting_glint_active] == 1) or ($vboptions[mwaextraedit4_setting_glint_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglint"><img src="mwaextraedit4/buttons/glint.gif" width="21" height="20" alt="لإدراج نص مضيء" /></div></td></if>
<!-- / glint -->

<!-- glow -->
<if condition="($vboptions[mwaextraedit4_setting_glow_active] == 1) or ($vboptions[mwaextraedit4_setting_glow_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow"><img src="mwaextraedit4/buttons/glow.gif" width="21" height="20" alt="لإدراج نص بوضع إشعاعي" /></div></td></if>
<!-- / glow -->

<!-- glow1 -->
<if condition="($vboptions[mwaextraedit4_setting_glow1_active] == 1) or ($vboptions[mwaextraedit4_setting_glow1_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow1"><img src="mwaextraedit4/buttons/glow1.gif" width="21" height="20" alt="لإدراج نص محدد بلون" /></div></td></if>
<!-- / glow1 -->

<!-- rainbow -->
<if condition="($vboptions[mwaextraedit4_setting_rainbow_active] == 1) or ($vboptions[mwaextraedit4_setting_rainbow_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrainbow"><img src="mwaextraedit4/buttons/rainbow.gif" width="21" height="20" alt="إدراج نص يضيء عند مرور الماوس فوقه بطريقة جميله" /></div></td></if>
<!-- / rainbow -->

<!-- read -->
<if condition="($vboptions[mwaextraedit4_setting_read_active] == 1) or ($vboptions[mwaextraedit4_setting_read_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertread"><img src="mwaextraedit4/buttons/read.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / read -->

<!-- type -->
<if condition="($vboptions[mwaextraedit4_setting_type_active] == 1) or ($vboptions[mwaextraedit4_setting_type_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttype"><img src="mwaextraedit4/buttons/type.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع بطريقة الآلة الكاتبة" /></div></td></if>
<!-- / type -->

<!-- marq -->
<if condition="($vboptions[mwaextraedit4_setting_marq_active] == 1) or ($vboptions[mwaextraedit4_setting_marq_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmarq"><img src="mwaextraedit4/buttons/marq.gif" width="21" height="20" alt="عرض نص متحرك للأعلى في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / marq -->

<!-- bor -->
<if condition="($vboptions[mwaextraedit4_setting_bor_active] == 1) or ($vboptions[mwaextraedit4_setting_bor_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbor"><img src="mwaextraedit4/buttons/bor.gif" width="21" height="20" alt="لإدراج نص داخل جدول متقطع بخيار اللون" /></div></td></if>
<!-- / bor -->

<!-- gdwl -->
<if condition="($vboptions[mwaextraedit4_setting_gdwl_active] == 1) or ($vboptions[mwaextraedit4_setting_gdwl_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgdwl"><img src="mwaextraedit4/buttons/gdwl.gif" width="21" height="20" alt="اضافة اطار يضيء باللونين الأحمر والأزرق حول النص" /></div></td></if>
<!-- / gdwl -->

<!-- motr -->
<if condition="($vboptions[mwaextraedit4_setting_motr_active] == 1) or ($vboptions[mwaextraedit4_setting_motr_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr"><img src="mwaextraedit4/buttons/motr.gif" width="21" height="20" alt="إدراج نص متأرجح من اليمين الى اليسار" /></div></td></if>
<!-- / motr -->

<!-- motr1 -->
<if condition="($vboptions[mwaextraedit4_setting_motr1_active] == 1) or ($vboptions[mwaextraedit4_setting_motr1_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr1"><img src="mwaextraedit4/buttons/motr1.gif" width="21" height="20" alt="إدراج نص متأرجح من الاسفل الى الاعلى" /></div></td></if>
<!-- / motr1 -->

<!-- mklb2 -->
<if condition="($vboptions[mwaextraedit4_setting_mklb2_active] == 1) or ($vboptions[mwaextraedit4_setting_mklb2_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmklb2"><img src="mwaextraedit4/buttons/mklb2.gif" width="21" height="20" alt="إدراج نص مقلوب" /></div></td></if>
<!-- / mklb2 -->

<!-- you -->
<if condition="($vboptions[mwaextraedit4_setting_you_active] == 1) or ($vboptions[mwaextraedit4_setting_you_active] == 2)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyou"><img src="mwaextraedit4/buttons/you.gif" width="21" height="20" alt="إدراج آلي لإسم قاريء الموضوع" /></div></td></if>
<!-- / you -->

<!-- keyboard -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 2)">
</tr><tr><td colspan="50">
<table align="center" id="keyboardTable" border="0" cellpadding="0" cellspacing="0" width="1px" style="display:none">
<tr><td class="button">
<!-- 12 times -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb1" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ا</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb2" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ب</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb3" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ت</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb4" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ث</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb5" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ج</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb6" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ح</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb7" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  خ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb8" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  د</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb9" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ذ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb10" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ر</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb11" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ز</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb12" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  س</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb13" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ش</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb14" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ص</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb15" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ض</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb16" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ط</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb17" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ظ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb18" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ع</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb19" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  غ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb20" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ف</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb21" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ق</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb22" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ك</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb23" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ل</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb24" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  م</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb25" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ن</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb26" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ه</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb27" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  و</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb28" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ي</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb29" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ة</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb30" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  أ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb31" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  إ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb32" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  آ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb33" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ء</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb34" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ؤ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb35" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ئ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb36" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ى</div></div>
</td>
</tr></table>

<SCRIPT LANGUAGE="JavaScript">
var selkeyb1 = 'ا';
var selkeyb2 = 'ب';
var selkeyb3 = 'ت';
var selkeyb4 = 'ث';
var selkeyb5 = 'ج';
var selkeyb6 = 'ح';
var selkeyb7 = 'خ';
var selkeyb8 = 'د';
var selkeyb9 = 'ذ';
var selkeyb10 = 'ر';
var selkeyb11 = 'ز';
var selkeyb12 = 'س';
var selkeyb13 = 'ش';
var selkeyb14 = 'ص';
var selkeyb15 = 'ض';
var selkeyb16 = 'ط';
var selkeyb17 = 'ظ';
var selkeyb18 = 'ع';
var selkeyb19 = 'غ';
var selkeyb20 = 'ف';
var selkeyb21 = 'ق';
var selkeyb22 = 'ك';
var selkeyb23 = 'ل';
var selkeyb24 = 'م';
var selkeyb25 = 'ن';
var selkeyb26 = 'ه';
var selkeyb27 = 'و';
var selkeyb28 = 'ي';
var selkeyb29 = 'ة';
var selkeyb30 = 'أ';
var selkeyb31 = 'إ';
var selkeyb32 = 'آ';
var selkeyb33 = 'ء';
var selkeyb34 = 'ؤ';
var selkeyb35 = 'ئ';
var selkeyb36 = 'ى';
</SCRIPT>

<!-- END OF 12 KEY -->			
</td></tr></table></td></tr><tr></if>
<!-- / keyboard -->
</center>
<script type="text/javascript" src="mwaextraedit4/mwaextraedit4_textedit.js"></script>

<SCRIPT LANGUAGE="JavaScript">
var mwabburl = '$vboptions[bburl]/';
</SCRIPT>
]]></template>
		<template name="mwaextraedit4_buttonsq" templatetype="template" date="1256358345" username="ابو راشد" version=""><![CDATA[<script language="javascript">
var mwamaxcounter = $vboptions[mwaextraedit4_setting_buttons_count_row_q]
var mwacounter = 0
var mwatextonly = ''
function mwanextcounter()
{
mwacounter++ ;
mwatextonly ="" ;
if ( mwacounter > mwamaxcounter )
{
mwacounter = 1 ;
mwatextonly ='</tr><tr>' ;
}
}
</script>

<!-- text -->
<if condition="($vboptions[mwaextraedit4_setting_text_active] == 1) or ($vboptions[mwaextraedit4_setting_text_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttext"><img src="mwaextraedit4/buttons/text.gif" width="21" height="20" alt="تنسيق النص بطريقة رائعة واحترافية بإطار وخلفية وتنسيق كامل" /></div></td></if>
<!-- / text -->

<!-- poem -->
<if condition="($vboptions[mwaextraedit4_setting_text_active] == 1) or ($vboptions[mwaextraedit4_setting_text_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertpoem"><img src="mwaextraedit4/buttons/poem.gif" width="21" height="20" alt="تنسيق القصيدة الشعرية ويجب تحديد القصيدة مع فصل شطري كل بيت بعلامة يساوي =" /></div></td></if>
<!-- / poem -->

<!-- gradient -->
<if condition="($vboptions[mwaextraedit4_setting_gradient_active] == 1) or ($vboptions[mwaextraedit4_setting_gradient_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgradient"><img src="mwaextraedit4/buttons/gradient.gif" width="21" height="20" alt="إختيار تدرج لوني للنص" /></div></td></if>
<!-- / gradient -->

<!-- frame -->
<if condition="($vboptions[mwaextraedit4_setting_frame_active] == 1) or ($vboptions[mwaextraedit4_setting_frame_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertframe"><img src="mwaextraedit4/buttons/frame.gif" width="21" height="20" alt="لإدراج إطار حول النص" /></div></td></if>
<!-- / frame -->

<!-- table -->
<if condition="($vboptions[mwaextraedit4_setting_table_active] == 1) or ($vboptions[mwaextraedit4_setting_table_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttable"><img src="mwaextraedit4/buttons/table.gif" width="21" height="20" alt="لإدراج جدول في الموضوع" /></div></td></if>
<!-- / table -->

<!-- flash عادي -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash"><img src="mwaextraedit4/buttons/flash.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash عادي -->

<!-- flash شفاف -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash1"><img src="mwaextraedit4/buttons/flash1.gif" width="21" height="20" alt="لإدراج فلاش شفاف يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash شفاف -->

<!-- flash مطور -->
<if condition="($vboptions[mwaextraedit4_setting_flash1_active] == 1) or ($vboptions[mwaextraedit4_setting_flash1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash2"><img src="mwaextraedit4/buttons/flash2.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه في صفحة مستقله بطريقة جميله" /></div></td></if>
<!-- / flash مطور -->

<!-- youtube -->
<if condition="($vboptions[mwaextraedit4_setting_autovideo_active] == 1) or ($vboptions[mwaextraedit4_setting_autovideo_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyoutube"><img src="mwaextraedit4/buttons/youtube.gif" width="21" height="20" alt="إدراج ملف فيديو من مواقع الفيدو مثل youtube وياهوو وقوقل وغيرها" /></div></td></if>
<!-- / youtube -->

<!-- rplayer -->
<if condition="($vboptions[mwaextraedit4_setting_reala_active] == 1) or ($vboptions[mwaextraedit4_setting_reala_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrplayer"><img src="mwaextraedit4/buttons/rplayer.gif" width="21" height="20" alt="إدراج ملف ريل بلاير" /></div></td></if>
<!-- / rplayer -->

<!-- media -->
<if condition="($vboptions[mwaextraedit4_setting_mediap_active] == 1) or ($vboptions[mwaextraedit4_setting_mediap_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmedia"><img src="mwaextraedit4/buttons/media.gif" width="21" height="20" alt="إدراج ملف مديا بلاير" /></div></td></if>
<!-- / media -->

<!-- bimg -->
<if condition="($vboptions[mwaextraedit4_setting_bimg_active] == 1) or ($vboptions[mwaextraedit4_setting_bimg_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbimg"><img src="mwaextraedit4/buttons/bimg.gif" width="21" height="20" alt="إدراج صورة كبيره وعرضها مصغره" /></div></td></if>
<!-- / bimg -->

<!-- imgr -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgr"><img src="mwaextraedit4/buttons/imgr.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يمين النص" /></div></td></if>
<!-- / imgr -->

<!-- imgl -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgl"><img src="mwaextraedit4/buttons/imgl.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يسار النص" /></div></td></if>
<!-- / imgl -->

<!-- code -->
<if condition="($vboptions[mwaextraedit4_setting_code_active] == 1) or ($vboptions[mwaextraedit4_setting_code_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcode"><img src="mwaextraedit4/buttons/code.gif" width="21" height="20" alt="إدراج نص كود" /></div></td></if>
<!-- / code -->

<!-- php -->
<if condition="($vboptions[mwaextraedit4_setting_php_active] == 1) or ($vboptions[mwaextraedit4_setting_php_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertphp"><img src="mwaextraedit4/buttons/php.gif" width="21" height="20" alt="إدراج نص بي إتش بي" /></div></td></if>
<!-- / php -->

<!-- html -->
<if condition="($vboptions[mwaextraedit4_setting_html_active] == 1) or ($vboptions[mwaextraedit4_setting_html_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthtml"><img src="mwaextraedit4/buttons/html.gif" width="21" height="20" alt="إدراج نص هتمل" /></div></td></if>
<!-- / html -->

<if condition="$editor_type == 'qe'">
</tr><tr>
</if>

<!-- colorpicker -->
<if condition="($vboptions[mwaextraedit4_setting_backcolor_active] == 1) or ($vboptions[mwaextraedit4_setting_backcolor_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcolorpicker"><img src="mwaextraedit4/buttons/colorpicker.gif" width="21" height="20" alt="أدات تلوين النص المطوره" /></div></td></if>
<!-- / colorpicker -->

<!-- quran -->
<if condition="($vboptions[mwaextraedit4_setting_quran_active] == 1) or ($vboptions[mwaextraedit4_setting_quran_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertquran"><img src="mwaextraedit4/buttons/quran.gif" width="21" height="20" alt="البحث في القرآن الكريم والحديث الشريف" /></div></td></if>
<!-- / quran -->

<!-- plain -->
<if condition="($vboptions[mwaextraedit4_setting_plain_active] == 1) or ($vboptions[mwaextraedit4_setting_plain_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_plain"><img src="mwaextraedit4/buttons/plain.gif" width="21" height="20" alt="إزالة التنسيق" /></div></td></if>
<!-- plain -->

<!-- justify -->
<if condition="($vboptions[mwaextraedit4_setting_otherbutt_active] == 1) or ($vboptions[mwaextraedit4_setting_otherbutt_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertjustify"><img src="mwaextraedit4/buttons/justify.gif" width="21" height="20" alt="تنسيق النص بمحاذاة الأطراف" /></div></td></if>
<!-- / justify -->

<!-- right -->
<if condition="($vboptions[mwaextraedit4_setting_right_active] == 1) or ($vboptions[mwaextraedit4_setting_right_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="mwaextraedit4/buttons/right.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليمين" /></div></td></if>
<!-- / right -->

<!-- center -->
<if condition="($vboptions[mwaextraedit4_setting_center_active] == 1) or ($vboptions[mwaextraedit4_setting_center_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="mwaextraedit4/buttons/center.gif" width="21" height="20" alt="توسيط النص" /></div></td></if>
<!-- / center -->

<!-- left -->
<if condition="($vboptions[mwaextraedit4_setting_left_active] == 1) or ($vboptions[mwaextraedit4_setting_left_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="mwaextraedit4/buttons/left.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليسار" /></div></td></if>
<!-- / left -->

<!-- rtl -->
<if condition="($vboptions[mwaextraedit4_setting_rtl_active] == 1) or ($vboptions[mwaextraedit4_setting_rtl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrtl"><img src="mwaextraedit4/buttons/rtl.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليمين" /></div></td></if>
<!-- / rtl -->

<!-- ltr -->
<if condition="($vboptions[mwaextraedit4_setting_ltr_active] == 1) or ($vboptions[mwaextraedit4_setting_ltr_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertltr"><img src="mwaextraedit4/buttons/ltr.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليسار" /></div></td></if>
<!-- / ltr -->

<!-- keyb -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertkeyb"><img src="mwaextraedit4/buttons/keyb.gif" width="21" height="20" alt="عرض وإخفاء لوحة المفاتيح العربية لمن لا يمتلك جهاز معرب" /></div></td></if>
<!-- / keyb -->

<!-- copy -->
<if condition="($vboptions[mwaextraedit4_setting_copy_active] == 1) or ($vboptions[mwaextraedit4_setting_copy_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="mwaextraedit4/buttons/copy.gif" width="21" height="20" alt="نسخ النص المحدد للذاكرة" /></div></td></if>
<!-- / copy -->

<!-- cut -->
<if condition="($vboptions[mwaextraedit4_setting_cut_active] == 1) or ($vboptions[mwaextraedit4_setting_cut_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="mwaextraedit4/buttons/cut.gif" width="21" height="20" alt="قص النص المحدد مع النسخ للذاكره" /></div></td></if>
<!-- / cut -->

<!-- delete -->
<if condition="($vboptions[mwaextraedit4_setting_delete_active] == 1) or ($vboptions[mwaextraedit4_setting_delete_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_delete"><img src="mwaextraedit4/buttons/delete.gif" width="21" height="20" alt="حذف النص المحدد" /></div></td></if>
<!-- / delete -->

<!-- paste -->
<if condition="($vboptions[mwaextraedit4_setting_paste_active] == 1) or ($vboptions[mwaextraedit4_setting_paste_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="mwaextraedit4/buttons/paste.gif" width="21" height="20" alt="لصق محتويات الذاكره" /></div></td></if>
<!-- / paste -->

<!-- line -->
<if condition="($vboptions[mwaextraedit4_setting_line_active] == 1) or ($vboptions[mwaextraedit4_setting_line_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertline"><img src="mwaextraedit4/buttons/line.gif" width="21" height="20" alt="إدراج خط فاصل" /></div></td></if>
<!-- / line -->

<!-- mark -->
<if condition="($vboptions[mwaextraedit4_setting_mark_active] == 1) or ($vboptions[mwaextraedit4_setting_mark_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmark"><img src="mwaextraedit4/buttons/mark.gif" width="21" height="20" alt="أدات تلوين خلفية النص" /></div></td></if>
<!-- / mark -->

<!-- web -->
<if condition="($vboptions[mwaextraedit4_setting_web_active] == 1) or ($vboptions[mwaextraedit4_setting_web_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertweb"><img src="mwaextraedit4/buttons/web.gif" width="21" height="20" alt="إدراج صفحة انترنت داخل الموضوع" /></div></td></if>
<!-- / web -->

<if condition="$editor_type == 'qe'">
</tr><tr>
</if>

<!-- hide -->
<if condition="($vboptions[mwaextraedit4_hide_active] == 1) or ($vboptions[mwaextraedit4_hide_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthide"><img src="mwaextraedit4/buttons/hides.gif" width="21" height="20" alt="لإدراج محتوى مخفي لا يمكن مشاهدته قبل الرد على الموضوع" /></div></td></if>
<!-- / hide -->

<!-- fieldset -->
<if condition="($vboptions[mwaextraedit4_setting_moretext_active] == 1) or ($vboptions[mwaextraedit4_setting_moretext_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertfieldset"><img src="mwaextraedit4/buttons/fieldset.gif" width="21" height="20" alt="وضع النص في إطار بعنوان" /></div></td></if>
<!-- / fieldset -->

<!-- info -->
<if condition="($vboptions[mwaextraedit4_setting_info_active] == 1) or ($vboptions[mwaextraedit4_setting_info_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertinfo"><img src="mwaextraedit4/buttons/info.gif" width="21" height="20" alt="إدراج ملاحظة في الموضوع" /></div></td></if>
<!-- / info -->

<!-- caution -->
<if condition="($vboptions[mwaextraedit4_setting_caution_active] == 1) or ($vboptions[mwaextraedit4_setting_caution_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcaution"><img src="mwaextraedit4/buttons/caution.gif" width="21" height="20" alt="إدراج تنبيه في الموضوع" /></div></td></if>
<!-- / caution -->

<!-- warning -->
<if condition="($vboptions[mwaextraedit4_setting_warning_active] == 1) or ($vboptions[mwaextraedit4_setting_warning_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertwarning"><img src="mwaextraedit4/buttons/warning.gif" width="21" height="20" alt="إدراج تحذير في الموضوع" /></div></td></if>
<!-- / warning -->

<!-- glint -->
<if condition="($vboptions[mwaextraedit4_setting_glint_active] == 1) or ($vboptions[mwaextraedit4_setting_glint_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglint"><img src="mwaextraedit4/buttons/glint.gif" width="21" height="20" alt="لإدراج نص مضيء" /></div></td></if>
<!-- / glint -->

<!-- glow -->
<if condition="($vboptions[mwaextraedit4_setting_glow_active] == 1) or ($vboptions[mwaextraedit4_setting_glow_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow"><img src="mwaextraedit4/buttons/glow.gif" width="21" height="20" alt="لإدراج نص بوضع إشعاعي" /></div></td></if>
<!-- / glow -->

<!-- glow1 -->
<if condition="($vboptions[mwaextraedit4_setting_glow1_active] == 1) or ($vboptions[mwaextraedit4_setting_glow1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow1"><img src="mwaextraedit4/buttons/glow1.gif" width="21" height="20" alt="لإدراج نص محدد بلون" /></div></td></if>
<!-- / glow1 -->

<!-- rainbow -->
<if condition="($vboptions[mwaextraedit4_setting_rainbow_active] == 1) or ($vboptions[mwaextraedit4_setting_rainbow_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrainbow"><img src="mwaextraedit4/buttons/rainbow.gif" width="21" height="20" alt="إدراج نص يضيء عند مرور الماوس فوقه بطريقة جميله" /></div></td></if>
<!-- / rainbow -->

<!-- read -->
<if condition="($vboptions[mwaextraedit4_setting_read_active] == 1) or ($vboptions[mwaextraedit4_setting_read_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertread"><img src="mwaextraedit4/buttons/read.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / read -->

<!-- type -->
<if condition="($vboptions[mwaextraedit4_setting_type_active] == 1) or ($vboptions[mwaextraedit4_setting_type_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttype"><img src="mwaextraedit4/buttons/type.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع بطريقة الآلة الكاتبة" /></div></td></if>
<!-- / type -->

<!-- marq -->
<if condition="($vboptions[mwaextraedit4_setting_marq_active] == 1) or ($vboptions[mwaextraedit4_setting_marq_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmarq"><img src="mwaextraedit4/buttons/marq.gif" width="21" height="20" alt="عرض نص متحرك للأعلى في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / marq -->

<!-- bor -->
<if condition="($vboptions[mwaextraedit4_setting_bor_active] == 1) or ($vboptions[mwaextraedit4_setting_bor_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbor"><img src="mwaextraedit4/buttons/bor.gif" width="21" height="20" alt="لإدراج نص داخل جدول متقطع بخيار اللون" /></div></td></if>
<!-- / bor -->

<!-- gdwl -->
<if condition="($vboptions[mwaextraedit4_setting_gdwl_active] == 1) or ($vboptions[mwaextraedit4_setting_gdwl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgdwl"><img src="mwaextraedit4/buttons/gdwl.gif" width="21" height="20" alt="اضافة اطار يضيء باللونين الأحمر والأزرق حول النص" /></div></td></if>
<!-- / gdwl -->

<!-- motr -->
<if condition="($vboptions[mwaextraedit4_setting_motr_active] == 1) or ($vboptions[mwaextraedit4_setting_motr_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr"><img src="mwaextraedit4/buttons/motr.gif" width="21" height="20" alt="إدراج نص متأرجح من اليمين الى اليسار" /></div></td></if>
<!-- / motr -->

<!-- motr1 -->
<if condition="($vboptions[mwaextraedit4_setting_motr1_active] == 1) or ($vboptions[mwaextraedit4_setting_motr1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr1"><img src="mwaextraedit4/buttons/motr1.gif" width="21" height="20" alt="إدراج نص متأرجح من الاسفل الى الاعلى" /></div></td></if>
<!-- / motr1 -->

<!-- mklb2 -->
<if condition="($vboptions[mwaextraedit4_setting_mklb2_active] == 1) or ($vboptions[mwaextraedit4_setting_mklb2_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmklb2"><img src="mwaextraedit4/buttons/mklb2.gif" width="21" height="20" alt="إدراج نص مقلوب" /></div></td></if>
<!-- / mklb2 -->

<!-- you -->
<if condition="($vboptions[mwaextraedit4_setting_you_active] == 1) or ($vboptions[mwaextraedit4_setting_you_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyou"><img src="mwaextraedit4/buttons/you.gif" width="21" height="20" alt="إدراج آلي لإسم قاريء الموضوع" /></div></td></if>
<!-- / you -->

<!-- keyboard -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 3)">
</tr><tr><td colspan="50">
<table align="center" id="keyboardTable" border="0" cellpadding="0" cellspacing="0" width="1px" style="display:none">
<tr><td class="button">
<!-- 12 times -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb1" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ا</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb2" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ب</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb3" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ت</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb4" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ث</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb5" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ج</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb6" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ح</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb7" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  خ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb8" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  د</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb9" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ذ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb10" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ر</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb11" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ز</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb12" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  س</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb13" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ش</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb14" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ص</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb15" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ض</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb16" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ط</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb17" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ظ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb18" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ع</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb19" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  غ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb20" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ف</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb21" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ق</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb22" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ك</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb23" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ل</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb24" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  م</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb25" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ن</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb26" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ه</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb27" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  و</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb28" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ي</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb29" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ة</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb30" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  أ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb31" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  إ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb32" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  آ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb33" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ء</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb34" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ؤ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb35" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ئ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb36" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ى</div></div>
</td>
</tr></table>

<SCRIPT LANGUAGE="JavaScript">
var selkeyb1 = 'ا';
var selkeyb2 = 'ب';
var selkeyb3 = 'ت';
var selkeyb4 = 'ث';
var selkeyb5 = 'ج';
var selkeyb6 = 'ح';
var selkeyb7 = 'خ';
var selkeyb8 = 'د';
var selkeyb9 = 'ذ';
var selkeyb10 = 'ر';
var selkeyb11 = 'ز';
var selkeyb12 = 'س';
var selkeyb13 = 'ش';
var selkeyb14 = 'ص';
var selkeyb15 = 'ض';
var selkeyb16 = 'ط';
var selkeyb17 = 'ظ';
var selkeyb18 = 'ع';
var selkeyb19 = 'غ';
var selkeyb20 = 'ف';
var selkeyb21 = 'ق';
var selkeyb22 = 'ك';
var selkeyb23 = 'ل';
var selkeyb24 = 'م';
var selkeyb25 = 'ن';
var selkeyb26 = 'ه';
var selkeyb27 = 'و';
var selkeyb28 = 'ي';
var selkeyb29 = 'ة';
var selkeyb30 = 'أ';
var selkeyb31 = 'إ';
var selkeyb32 = 'آ';
var selkeyb33 = 'ء';
var selkeyb34 = 'ؤ';
var selkeyb35 = 'ئ';
var selkeyb36 = 'ى';
</SCRIPT>

<!-- END OF 12 KEY -->			
</td></tr></table></td></tr><tr></if>
<!-- / keyboard -->
</center></center>
<script type="text/javascript" src="mwaextraedit4/mwaextraedit4_textedit.js"></script>

<SCRIPT LANGUAGE="JavaScript">
var mwabburl = '$vboptions[bburl]/';
</SCRIPT>
]]></template>
		<template name="mwaextraedit4_buttonsqe" templatetype="template" date="1256359400" username="ابو راشد" version=""><![CDATA[<script language="javascript">
var mwamaxcounter = $vboptions[mwaextraedit4_setting_buttons_count_row_q]
var mwacounter = 0
var mwatextonly = ''
function mwanextcounter()
{
mwacounter++ ;
mwatextonly ="" ;
if ( mwacounter > mwamaxcounter )
{
mwacounter = 1 ;
mwatextonly ='</tr><tr>' ;
}
}
</script>

<!-- text -->
<if condition="($vboptions[mwaextraedit4_setting_text_active] == 1) or ($vboptions[mwaextraedit4_setting_text_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttext"><img src="mwaextraedit4/buttons/text.gif" width="21" height="20" alt="تنسيق النص بطريقة رائعة واحترافية بإطار وخلفية وتنسيق كامل" /></div></td></if>
<!-- / text -->

<!-- poem -->
<if condition="($vboptions[mwaextraedit4_setting_text_active] == 1) or ($vboptions[mwaextraedit4_setting_text_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertpoem"><img src="mwaextraedit4/buttons/poem.gif" width="21" height="20" alt="تنسيق القصيدة الشعرية ويجب تحديد القصيدة مع فصل شطري كل بيت بعلامة يساوي =" /></div></td></if>
<!-- / poem -->

<!-- gradient -->
<if condition="($vboptions[mwaextraedit4_setting_gradient_active] == 1) or ($vboptions[mwaextraedit4_setting_gradient_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgradient"><img src="mwaextraedit4/buttons/gradient.gif" width="21" height="20" alt="إختيار تدرج لوني للنص" /></div></td></if>
<!-- / gradient -->

<!-- frame -->
<if condition="($vboptions[mwaextraedit4_setting_frame_active] == 1) or ($vboptions[mwaextraedit4_setting_frame_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertframe"><img src="mwaextraedit4/buttons/frame.gif" width="21" height="20" alt="لإدراج إطار حول النص" /></div></td></if>
<!-- / frame -->

<!-- table -->
<if condition="($vboptions[mwaextraedit4_setting_table_active] == 1) or ($vboptions[mwaextraedit4_setting_table_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttable"><img src="mwaextraedit4/buttons/table.gif" width="21" height="20" alt="لإدراج جدول في الموضوع" /></div></td></if>
<!-- / table -->

<!-- flash عادي -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash"><img src="mwaextraedit4/buttons/flash.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash عادي -->

<!-- flash شفاف -->
<if condition="($vboptions[mwaextraedit4_setting_flash_active] == 1) or ($vboptions[mwaextraedit4_setting_flash_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash1"><img src="mwaextraedit4/buttons/flash1.gif" width="21" height="20" alt="لإدراج فلاش شفاف يتم عرضه مباشرة في الموضوع بطريقة عادية" /></div></td></if>
<!-- / flash شفاف -->

<!-- flash مطور -->
<if condition="($vboptions[mwaextraedit4_setting_flash1_active] == 1) or ($vboptions[mwaextraedit4_setting_flash1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertflash2"><img src="mwaextraedit4/buttons/flash2.gif" width="21" height="20" alt="لإدراج فلاش يتم عرضه في صفحة مستقله بطريقة جميله" /></div></td></if>
<!-- / flash مطور -->

<!-- youtube -->
<if condition="($vboptions[mwaextraedit4_setting_autovideo_active] == 1) or ($vboptions[mwaextraedit4_setting_autovideo_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyoutube"><img src="mwaextraedit4/buttons/youtube.gif" width="21" height="20" alt="إدراج ملف فيديو من مواقع الفيدو مثل youtube وياهوو وقوقل وغيرها" /></div></td></if>
<!-- / youtube -->

<!-- rplayer -->
<if condition="($vboptions[mwaextraedit4_setting_reala_active] == 1) or ($vboptions[mwaextraedit4_setting_reala_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrplayer"><img src="mwaextraedit4/buttons/rplayer.gif" width="21" height="20" alt="إدراج ملف ريل بلاير" /></div></td></if>
<!-- / rplayer -->

<!-- media -->
<if condition="($vboptions[mwaextraedit4_setting_mediap_active] == 1) or ($vboptions[mwaextraedit4_setting_mediap_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmedia"><img src="mwaextraedit4/buttons/media.gif" width="21" height="20" alt="إدراج ملف مديا بلاير" /></div></td></if>
<!-- / media -->

<!-- bimg -->
<if condition="($vboptions[mwaextraedit4_setting_bimg_active] == 1) or ($vboptions[mwaextraedit4_setting_bimg_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbimg"><img src="mwaextraedit4/buttons/bimg.gif" width="21" height="20" alt="إدراج صورة كبيره وعرضها مصغره" /></div></td></if>
<!-- / bimg -->

<!-- imgr -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgr"><img src="mwaextraedit4/buttons/imgr.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يمين النص" /></div></td></if>
<!-- / imgr -->

<!-- imgl -->
<if condition="($vboptions[mwaextraedit4_setting_imgrimgl_active] == 1) or ($vboptions[mwaextraedit4_setting_imgrimgl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertimgl"><img src="mwaextraedit4/buttons/imgl.gif" width="21" height="20" alt="إدراج صورة ومحاذاتها يسار النص" /></div></td></if>
<!-- / imgl -->

<!-- code -->
<if condition="($vboptions[mwaextraedit4_setting_code_active] == 1) or ($vboptions[mwaextraedit4_setting_code_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcode"><img src="mwaextraedit4/buttons/code.gif" width="21" height="20" alt="إدراج نص كود" /></div></td></if>
<!-- / code -->

<!-- php -->
<if condition="($vboptions[mwaextraedit4_setting_php_active] == 1) or ($vboptions[mwaextraedit4_setting_php_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertphp"><img src="mwaextraedit4/buttons/php.gif" width="21" height="20" alt="إدراج نص بي إتش بي" /></div></td></if>
<!-- / php -->

<!-- html -->
<if condition="($vboptions[mwaextraedit4_setting_html_active] == 1) or ($vboptions[mwaextraedit4_setting_html_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthtml"><img src="mwaextraedit4/buttons/html.gif" width="21" height="20" alt="إدراج نص هتمل" /></div></td></if>
<!-- / html -->

<!-- quran -->
<if condition="($vboptions[mwaextraedit4_setting_quran_active] == 1) or ($vboptions[mwaextraedit4_setting_quran_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertquran"><img src="mwaextraedit4/buttons/quran.gif" width="21" height="20" alt="البحث في القرآن الكريم والحديث الشريف" /></div></td></if>
<!-- / quran -->

</tr><tr>

<!-- plain -->
<if condition="($vboptions[mwaextraedit4_setting_plain_active] == 1) or ($vboptions[mwaextraedit4_setting_plain_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_plain"><img src="mwaextraedit4/buttons/plain.gif" width="21" height="20" alt="إزالة التنسيق" /></div></td></if>
<!-- plain -->

<!-- justify -->
<if condition="($vboptions[mwaextraedit4_setting_otherbutt_active] == 1) or ($vboptions[mwaextraedit4_setting_otherbutt_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertjustify"><img src="mwaextraedit4/buttons/justify.gif" width="21" height="20" alt="تنسيق النص بمحاذاة الأطراف" /></div></td></if>
<!-- / justify -->

<!-- right -->
<if condition="($vboptions[mwaextraedit4_setting_right_active] == 1) or ($vboptions[mwaextraedit4_setting_right_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="mwaextraedit4/buttons/right.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليمين" /></div></td></if>
<!-- / right -->

<!-- center -->
<if condition="($vboptions[mwaextraedit4_setting_center_active] == 1) or ($vboptions[mwaextraedit4_setting_center_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="mwaextraedit4/buttons/center.gif" width="21" height="20" alt="توسيط النص" /></div></td></if>
<!-- / center -->

<!-- left -->
<if condition="($vboptions[mwaextraedit4_setting_left_active] == 1) or ($vboptions[mwaextraedit4_setting_left_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="mwaextraedit4/buttons/left.gif" width="21" height="20" alt="تنسيق النص بمحاذاة اليسار" /></div></td></if>
<!-- / left -->

<!-- rtl -->
<if condition="($vboptions[mwaextraedit4_setting_rtl_active] == 1) or ($vboptions[mwaextraedit4_setting_rtl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrtl"><img src="mwaextraedit4/buttons/rtl.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليمين" /></div></td></if>
<!-- / rtl -->

<!-- ltr -->
<if condition="($vboptions[mwaextraedit4_setting_ltr_active] == 1) or ($vboptions[mwaextraedit4_setting_ltr_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertltr"><img src="mwaextraedit4/buttons/ltr.gif" width="21" height="20" alt="تغيير إتجاه المحرر لليسار" /></div></td></if>
<!-- / ltr -->

<!-- hide -->
<if condition="($vboptions[mwaextraedit4_hide_active] == 1) or ($vboptions[mwaextraedit4_hide_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthide"><img src="mwaextraedit4/buttons/hides.gif" width="21" height="20" alt="لإدراج محتوى مخفي لا يمكن مشاهدته قبل الرد على الموضوع" /></div></td></if>
<!-- / hide -->

<!-- keyb -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertkeyb"><img src="mwaextraedit4/buttons/keyb.gif" width="21" height="20" alt="عرض وإخفاء لوحة المفاتيح العربية لمن لا يمتلك جهاز معرب" /></div></td></if>
<!-- / keyb -->

<!-- copy -->
<if condition="($vboptions[mwaextraedit4_setting_copy_active] == 1) or ($vboptions[mwaextraedit4_setting_copy_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="mwaextraedit4/buttons/copy.gif" width="21" height="20" alt="نسخ النص المحدد للذاكرة" /></div></td></if>
<!-- / copy -->

<!-- cut -->
<if condition="($vboptions[mwaextraedit4_setting_cut_active] == 1) or ($vboptions[mwaextraedit4_setting_cut_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="mwaextraedit4/buttons/cut.gif" width="21" height="20" alt="قص النص المحدد مع النسخ للذاكره" /></div></td></if>
<!-- / cut -->

<!-- delete -->
<if condition="($vboptions[mwaextraedit4_setting_delete_active] == 1) or ($vboptions[mwaextraedit4_setting_delete_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_delete"><img src="mwaextraedit4/buttons/delete.gif" width="21" height="20" alt="حذف النص المحدد" /></div></td></if>
<!-- / delete -->

<!-- paste -->
<if condition="($vboptions[mwaextraedit4_setting_paste_active] == 1) or ($vboptions[mwaextraedit4_setting_paste_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="mwaextraedit4/buttons/paste.gif" width="21" height="20" alt="لصق محتويات الذاكره" /></div></td></if>
<!-- / paste -->

<!-- line -->
<if condition="($vboptions[mwaextraedit4_setting_line_active] == 1) or ($vboptions[mwaextraedit4_setting_line_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertline"><img src="mwaextraedit4/buttons/line.gif" width="21" height="20" alt="إدراج خط فاصل" /></div></td></if>
<!-- / line -->

<!-- colorpicker -->
<if condition="($vboptions[mwaextraedit4_setting_backcolor_active] == 1) or ($vboptions[mwaextraedit4_setting_backcolor_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcolorpicker"><img src="mwaextraedit4/buttons/colorpicker.gif" width="21" height="20" alt="أدات تلوين النص المطوره" /></div></td></if>
<!-- / colorpicker -->

<!-- mark -->
<if condition="($vboptions[mwaextraedit4_setting_mark_active] == 1) or ($vboptions[mwaextraedit4_setting_mark_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmark"><img src="mwaextraedit4/buttons/mark.gif" width="21" height="20" alt="أدات تلوين خلفية النص" /></div></td></if>
<!-- / mark -->

<!-- web -->
<if condition="($vboptions[mwaextraedit4_setting_web_active] == 1) or ($vboptions[mwaextraedit4_setting_web_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertweb"><img src="mwaextraedit4/buttons/web.gif" width="21" height="20" alt="إدراج صفحة انترنت داخل الموضوع" /></div></td></if>
<!-- / web -->

<!-- fieldset -->
<if condition="($vboptions[mwaextraedit4_setting_moretext_active] == 1) or ($vboptions[mwaextraedit4_setting_moretext_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertfieldset"><img src="mwaextraedit4/buttons/fieldset.gif" width="21" height="20" alt="وضع النص في إطار بعنوان" /></div></td></if>
<!-- / fieldset -->

<!-- read -->
<if condition="($vboptions[mwaextraedit4_setting_read_active] == 1) or ($vboptions[mwaextraedit4_setting_read_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertread"><img src="mwaextraedit4/buttons/read.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / read -->

<!-- type -->
<if condition="($vboptions[mwaextraedit4_setting_type_active] == 1) or ($vboptions[mwaextraedit4_setting_type_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_inserttype"><img src="mwaextraedit4/buttons/type.gif" width="21" height="20" alt="عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع بطريقة الآلة الكاتبة" /></div></td></if>
<!-- / type -->

</tr><tr>

<!-- info -->
<if condition="($vboptions[mwaextraedit4_setting_info_active] == 1) or ($vboptions[mwaextraedit4_setting_info_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertinfo"><img src="mwaextraedit4/buttons/info.gif" width="21" height="20" alt="إدراج ملاحظة في الموضوع" /></div></td></if>
<!-- / info -->

<!-- caution -->
<if condition="($vboptions[mwaextraedit4_setting_caution_active] == 1) or ($vboptions[mwaextraedit4_setting_caution_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertcaution"><img src="mwaextraedit4/buttons/caution.gif" width="21" height="20" alt="إدراج تنبيه في الموضوع" /></div></td></if>
<!-- / caution -->

<!-- warning -->
<if condition="($vboptions[mwaextraedit4_setting_warning_active] == 1) or ($vboptions[mwaextraedit4_setting_warning_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertwarning"><img src="mwaextraedit4/buttons/warning.gif" width="21" height="20" alt="إدراج تحذير في الموضوع" /></div></td></if>
<!-- / warning -->

<!-- glint -->
<if condition="($vboptions[mwaextraedit4_setting_glint_active] == 1) or ($vboptions[mwaextraedit4_setting_glint_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglint"><img src="mwaextraedit4/buttons/glint.gif" width="21" height="20" alt="لإدراج نص مضيء" /></div></td></if>
<!-- / glint -->

<!-- glow -->
<if condition="($vboptions[mwaextraedit4_setting_glow_active] == 1) or ($vboptions[mwaextraedit4_setting_glow_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow"><img src="mwaextraedit4/buttons/glow.gif" width="21" height="20" alt="لإدراج نص بوضع إشعاعي" /></div></td></if>
<!-- / glow -->

<!-- glow1 -->
<if condition="($vboptions[mwaextraedit4_setting_glow1_active] == 1) or ($vboptions[mwaextraedit4_setting_glow1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertglow1"><img src="mwaextraedit4/buttons/glow1.gif" width="21" height="20" alt="لإدراج نص محدد بلون" /></div></td></if>
<!-- / glow1 -->

<!-- rainbow -->
<if condition="($vboptions[mwaextraedit4_setting_rainbow_active] == 1) or ($vboptions[mwaextraedit4_setting_rainbow_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertrainbow"><img src="mwaextraedit4/buttons/rainbow.gif" width="21" height="20" alt="إدراج نص يضيء عند مرور الماوس فوقه بطريقة جميله" /></div></td></if>
<!-- / rainbow -->

<!-- marq -->
<if condition="($vboptions[mwaextraedit4_setting_marq_active] == 1) or ($vboptions[mwaextraedit4_setting_marq_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmarq"><img src="mwaextraedit4/buttons/marq.gif" width="21" height="20" alt="عرض نص متحرك للأعلى في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع" /></div></td></if>
<!-- / marq -->

<!-- bor -->
<if condition="($vboptions[mwaextraedit4_setting_bor_active] == 1) or ($vboptions[mwaextraedit4_setting_bor_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertbor"><img src="mwaextraedit4/buttons/bor.gif" width="21" height="20" alt="لإدراج نص داخل جدول متقطع بخيار اللون" /></div></td></if>
<!-- / bor -->

<!-- gdwl -->
<if condition="($vboptions[mwaextraedit4_setting_gdwl_active] == 1) or ($vboptions[mwaextraedit4_setting_gdwl_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertgdwl"><img src="mwaextraedit4/buttons/gdwl.gif" width="21" height="20" alt="اضافة اطار يضيء باللونين الأحمر والأزرق حول النص" /></div></td></if>
<!-- / gdwl -->

<!-- motr -->
<if condition="($vboptions[mwaextraedit4_setting_motr_active] == 1) or ($vboptions[mwaextraedit4_setting_motr_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr"><img src="mwaextraedit4/buttons/motr.gif" width="21" height="20" alt="إدراج نص متأرجح من اليمين الى اليسار" /></div></td></if>
<!-- / motr -->

<!-- motr1 -->
<if condition="($vboptions[mwaextraedit4_setting_motr1_active] == 1) or ($vboptions[mwaextraedit4_setting_motr1_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmotr1"><img src="mwaextraedit4/buttons/motr1.gif" width="21" height="20" alt="إدراج نص متأرجح من الاسفل الى الاعلى" /></div></td></if>
<!-- / motr1 -->

<!-- mklb2 -->
<if condition="($vboptions[mwaextraedit4_setting_mklb2_active] == 1) or ($vboptions[mwaextraedit4_setting_mklb2_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertmklb2"><img src="mwaextraedit4/buttons/mklb2.gif" width="21" height="20" alt="إدراج نص مقلوب" /></div></td></if>
<!-- / mklb2 -->

<!-- you -->
<if condition="($vboptions[mwaextraedit4_setting_you_active] == 1) or ($vboptions[mwaextraedit4_setting_you_active] == 3)">
<script language="javascript">
mwanextcounter() ;
document.write(mwatextonly);
</script>
<td><div class="imagebutton" id="{$editorid}_cmd_insertyou"><img src="mwaextraedit4/buttons/you.gif" width="21" height="20" alt="إدراج آلي لإسم قاريء الموضوع" /></div></td></if>
<!-- / you -->

<!-- keyboard -->
<if condition="($vboptions[mwaextraedit4_setting_keyb_active] == 1) or ($vboptions[mwaextraedit4_setting_keyb_active] == 3)">
</tr><tr><td colspan="50">
<table align="center" id="keyboardTable" border="0" cellpadding="0" cellspacing="0" width="1px" style="display:none">
<tr><td class="button">
<!-- 12 times -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb1" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ا</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb2" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ب</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb3" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ت</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb4" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ث</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb5" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ج</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb6" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ح</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb7" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  خ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb8" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  د</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb9" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ذ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb10" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ر</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb11" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ز</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb12" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  س</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb13" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ش</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb14" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ص</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb15" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ض</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb16" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ط</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb17" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ظ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb18" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ع</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb19" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  غ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb20" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ف</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb21" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ق</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb22" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ك</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb23" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ل</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb24" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  م</div></div>
</td>
</tr></table>
<!-- END OF 12 KEY -->
<table align="center" background="mwaextraedit4/buttons/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb25" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ن</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb26" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ه</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb27" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  و</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb28" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ي</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb29" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ة</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb30" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  أ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb31" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  إ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb32" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  آ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb33" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ء</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb34" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ؤ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb35" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ئ</div></div>
</td>
<td height="29px">
<div style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black">
<div class="imagebutton" id="{$editorid}_cmd_insertkeyb36" style="font-size:x-small;font-family:arial;font-weight:bold;cursor:hand;text-align:center;width:15px;height:15px;color:black">
  ى</div></div>
</td>
</tr></table>

<SCRIPT LANGUAGE="JavaScript">
var selkeyb1 = 'ا';
var selkeyb2 = 'ب';
var selkeyb3 = 'ت';
var selkeyb4 = 'ث';
var selkeyb5 = 'ج';
var selkeyb6 = 'ح';
var selkeyb7 = 'خ';
var selkeyb8 = 'د';
var selkeyb9 = 'ذ';
var selkeyb10 = 'ر';
var selkeyb11 = 'ز';
var selkeyb12 = 'س';
var selkeyb13 = 'ش';
var selkeyb14 = 'ص';
var selkeyb15 = 'ض';
var selkeyb16 = 'ط';
var selkeyb17 = 'ظ';
var selkeyb18 = 'ع';
var selkeyb19 = 'غ';
var selkeyb20 = 'ف';
var selkeyb21 = 'ق';
var selkeyb22 = 'ك';
var selkeyb23 = 'ل';
var selkeyb24 = 'م';
var selkeyb25 = 'ن';
var selkeyb26 = 'ه';
var selkeyb27 = 'و';
var selkeyb28 = 'ي';
var selkeyb29 = 'ة';
var selkeyb30 = 'أ';
var selkeyb31 = 'إ';
var selkeyb32 = 'آ';
var selkeyb33 = 'ء';
var selkeyb34 = 'ؤ';
var selkeyb35 = 'ئ';
var selkeyb36 = 'ى';
</SCRIPT>

<!-- END OF 12 KEY -->			
</td></tr></table></td></tr><tr></if>
<!-- / keyboard -->
</center></center>
<script type="text/javascript" src="mwaextraedit4/mwaextraedit4_textedit.js"></script>

<SCRIPT LANGUAGE="JavaScript">
var mwabburl = '$vboptions[bburl]/';
</SCRIPT>
]]></template>
		<template name="mwaextraedit4_color" templatetype="template" date="1193343293" username="ابو راشد" version=""><![CDATA[<!-- note: this version of the color picker is optimized for IE 5.5+ only -->
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vbphrase[mwaextraedit4_pick_color]</title>
<script language="javascript">

function _CloseOnEsc() {
  if (event.keyCode == 27) { window.close(); return; }
}

function Init() {                                                       // run on page load
  document.body.onkeypress = _CloseOnEsc;
  
  color = '000000';
  View(color);                                                          // set default color
}

function View(color) {                  // preview color
  document.all.ColorPreview.style.backgroundColor = '#' + color;
  document.all.ColorHex.value = '#' + color;
}

function Set(string) {                   // select color
  color = ValidateColor(string);
  if (color == null) { alert("Invalid color code: " + string); }        // invalid color
  else {                                                                // valid color
    View(color);                          // show selected color
    window.returnValue = color;           // set return value
    window.close();                       // close dialog
  }
}

function ValidateColor(string) {                // return valid color code
  string = string || '';
  string = string + "";
  string = string.toUpperCase();
  chars = '0123456789ABCDEF';
  out   = '';

  for (i=0; i<string.length; i++) {             // remove invalid color chars
    schar = string.charAt(i);
    if (chars.indexOf(schar) != -1) { out += schar; }
  }
    
  if (out.length != 6) { return null; }            // check length
  return out;
  
} 

</script>
</head>
<body bgcolor="#000000" topmargin=0 leftmargin=0 onload="Init()">

<form method=get onSubmit="Set(document.all.ColorHex.value); return false;">

<table border=0 cellspacing=0 cellpadding=4 width=100%>
 <tr>
  <td bgcolor="buttonface" valign=center>
	<div style="background-color: #000000; padding: 1; height: 21px; width: 50px">
	<div id="ColorPreview" style="height: 100%; width: 100%"></div></div>
  </td>
  <td id"td1" bgcolor="buttonface" valign=center>
	<input type="text" ID="ColorHex" name="ColorHex" value="" size=15 style="font-size: 12px;">
  </td>
  <td bgcolor="buttonface" width=100%></td>
 </tr>
</table>

<table border=0 cellspacing=1 cellpadding=0 bgcolor=#000000 style="cursor: hand;">
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#003300 onMouseOver=View('003300') onClick=Set('003300') height=10 width=10></td>
<td bgcolor=#006600 onMouseOver=View('006600') onClick=Set('006600') height=10 width=10></td>
<td bgcolor=#009900 onMouseOver=View('009900') onClick=Set('009900') height=10 width=10></td>
<td bgcolor=#00CC00 onMouseOver=View('00CC00') onClick=Set('00CC00') height=10 width=10></td>
<td bgcolor=#00FF00 onMouseOver=View('00FF00') onClick=Set('00FF00') height=10 width=10></td>
<td bgcolor=#330000 onMouseOver=View('330000') onClick=Set('330000') height=10 width=10></td>
<td bgcolor=#333300 onMouseOver=View('333300') onClick=Set('333300') height=10 width=10></td>
<td bgcolor=#336600 onMouseOver=View('336600') onClick=Set('336600') height=10 width=10></td>
<td bgcolor=#339900 onMouseOver=View('339900') onClick=Set('339900') height=10 width=10></td>
<td bgcolor=#33CC00 onMouseOver=View('33CC00') onClick=Set('33CC00') height=10 width=10></td>
<td bgcolor=#33FF00 onMouseOver=View('33FF00') onClick=Set('33FF00') height=10 width=10></td>
<td bgcolor=#660000 onMouseOver=View('660000') onClick=Set('660000') height=10 width=10></td>
<td bgcolor=#663300 onMouseOver=View('663300') onClick=Set('663300') height=10 width=10></td>
<td bgcolor=#666600 onMouseOver=View('666600') onClick=Set('666600') height=10 width=10></td>
<td bgcolor=#669900 onMouseOver=View('669900') onClick=Set('669900') height=10 width=10></td>
<td bgcolor=#66CC00 onMouseOver=View('66CC00') onClick=Set('66CC00') height=10 width=10></td>
<td bgcolor=#66FF00 onMouseOver=View('66FF00') onClick=Set('66FF00') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#333333 onMouseOver=View('333333') onClick=Set('333333') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000033 onMouseOver=View('000033') onClick=Set('000033') height=10 width=10></td>
<td bgcolor=#003333 onMouseOver=View('003333') onClick=Set('003333') height=10 width=10></td>
<td bgcolor=#006633 onMouseOver=View('006633') onClick=Set('006633') height=10 width=10></td>
<td bgcolor=#009933 onMouseOver=View('009933') onClick=Set('009933') height=10 width=10></td>
<td bgcolor=#00CC33 onMouseOver=View('00CC33') onClick=Set('00CC33') height=10 width=10></td>
<td bgcolor=#00FF33 onMouseOver=View('00FF33') onClick=Set('00FF33') height=10 width=10></td>
<td bgcolor=#330033 onMouseOver=View('330033') onClick=Set('330033') height=10 width=10></td>
<td bgcolor=#333333 onMouseOver=View('333333') onClick=Set('333333') height=10 width=10></td>
<td bgcolor=#336633 onMouseOver=View('336633') onClick=Set('336633') height=10 width=10></td>
<td bgcolor=#339933 onMouseOver=View('339933') onClick=Set('339933') height=10 width=10></td>
<td bgcolor=#33CC33 onMouseOver=View('33CC33') onClick=Set('33CC33') height=10 width=10></td>
<td bgcolor=#33FF33 onMouseOver=View('33FF33') onClick=Set('33FF33') height=10 width=10></td>
<td bgcolor=#660033 onMouseOver=View('660033') onClick=Set('660033') height=10 width=10></td>
<td bgcolor=#663333 onMouseOver=View('663333') onClick=Set('663333') height=10 width=10></td>
<td bgcolor=#666633 onMouseOver=View('666633') onClick=Set('666633') height=10 width=10></td>
<td bgcolor=#669933 onMouseOver=View('669933') onClick=Set('669933') height=10 width=10></td>
<td bgcolor=#66CC33 onMouseOver=View('66CC33') onClick=Set('66CC33') height=10 width=10></td>
<td bgcolor=#66FF33 onMouseOver=View('66FF33') onClick=Set('66FF33') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#666666 onMouseOver=View('666666') onClick=Set('666666') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000066 onMouseOver=View('000066') onClick=Set('000066') height=10 width=10></td>
<td bgcolor=#003366 onMouseOver=View('003366') onClick=Set('003366') height=10 width=10></td>
<td bgcolor=#006666 onMouseOver=View('006666') onClick=Set('006666') height=10 width=10></td>
<td bgcolor=#009966 onMouseOver=View('009966') onClick=Set('009966') height=10 width=10></td>
<td bgcolor=#00CC66 onMouseOver=View('00CC66') onClick=Set('00CC66') height=10 width=10></td>
<td bgcolor=#00FF66 onMouseOver=View('00FF66') onClick=Set('00FF66') height=10 width=10></td>
<td bgcolor=#330066 onMouseOver=View('330066') onClick=Set('330066') height=10 width=10></td>
<td bgcolor=#333366 onMouseOver=View('333366') onClick=Set('333366') height=10 width=10></td>
<td bgcolor=#336666 onMouseOver=View('336666') onClick=Set('336666') height=10 width=10></td>
<td bgcolor=#339966 onMouseOver=View('339966') onClick=Set('339966') height=10 width=10></td>
<td bgcolor=#33CC66 onMouseOver=View('33CC66') onClick=Set('33CC66') height=10 width=10></td>
<td bgcolor=#33FF66 onMouseOver=View('33FF66') onClick=Set('33FF66') height=10 width=10></td>
<td bgcolor=#660066 onMouseOver=View('660066') onClick=Set('660066') height=10 width=10></td>
<td bgcolor=#663366 onMouseOver=View('663366') onClick=Set('663366') height=10 width=10></td>
<td bgcolor=#666666 onMouseOver=View('666666') onClick=Set('666666') height=10 width=10></td>
<td bgcolor=#669966 onMouseOver=View('669966') onClick=Set('669966') height=10 width=10></td>
<td bgcolor=#66CC66 onMouseOver=View('66CC66') onClick=Set('66CC66') height=10 width=10></td>
<td bgcolor=#66FF66 onMouseOver=View('66FF66') onClick=Set('66FF66') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#999999 onMouseOver=View('999999') onClick=Set('999999') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#000099 onMouseOver=View('000099') onClick=Set('000099') height=10 width=10></td>
<td bgcolor=#003399 onMouseOver=View('003399') onClick=Set('003399') height=10 width=10></td>
<td bgcolor=#006699 onMouseOver=View('006699') onClick=Set('006699') height=10 width=10></td>
<td bgcolor=#009999 onMouseOver=View('009999') onClick=Set('009999') height=10 width=10></td>
<td bgcolor=#00CC99 onMouseOver=View('00CC99') onClick=Set('00CC99') height=10 width=10></td>
<td bgcolor=#00FF99 onMouseOver=View('00FF99') onClick=Set('00FF99') height=10 width=10></td>
<td bgcolor=#330099 onMouseOver=View('330099') onClick=Set('330099') height=10 width=10></td>
<td bgcolor=#333399 onMouseOver=View('333399') onClick=Set('333399') height=10 width=10></td>
<td bgcolor=#336699 onMouseOver=View('336699') onClick=Set('336699') height=10 width=10></td>
<td bgcolor=#339999 onMouseOver=View('339999') onClick=Set('339999') height=10 width=10></td>
<td bgcolor=#33CC99 onMouseOver=View('33CC99') onClick=Set('33CC99') height=10 width=10></td>
<td bgcolor=#33FF99 onMouseOver=View('33FF99') onClick=Set('33FF99') height=10 width=10></td>
<td bgcolor=#660099 onMouseOver=View('660099') onClick=Set('660099') height=10 width=10></td>
<td bgcolor=#663399 onMouseOver=View('663399') onClick=Set('663399') height=10 width=10></td>
<td bgcolor=#666699 onMouseOver=View('666699') onClick=Set('666699') height=10 width=10></td>
<td bgcolor=#669999 onMouseOver=View('669999') onClick=Set('669999') height=10 width=10></td>
<td bgcolor=#66CC99 onMouseOver=View('66CC99') onClick=Set('66CC99') height=10 width=10></td>
<td bgcolor=#66FF99 onMouseOver=View('66FF99') onClick=Set('66FF99') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#CCCCCC onMouseOver=View('CCCCCC') onClick=Set('CCCCCC') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#0000CC onMouseOver=View('0000CC') onClick=Set('0000CC') height=10 width=10></td>
<td bgcolor=#0033CC onMouseOver=View('0033CC') onClick=Set('0033CC') height=10 width=10></td>
<td bgcolor=#0066CC onMouseOver=View('0066CC') onClick=Set('0066CC') height=10 width=10></td>
<td bgcolor=#0099CC onMouseOver=View('0099CC') onClick=Set('0099CC') height=10 width=10></td>
<td bgcolor=#00CCCC onMouseOver=View('00CCCC') onClick=Set('00CCCC') height=10 width=10></td>
<td bgcolor=#00FFCC onMouseOver=View('00FFCC') onClick=Set('00FFCC') height=10 width=10></td>
<td bgcolor=#3300CC onMouseOver=View('3300CC') onClick=Set('3300CC') height=10 width=10></td>
<td bgcolor=#3333CC onMouseOver=View('3333CC') onClick=Set('3333CC') height=10 width=10></td>
<td bgcolor=#3366CC onMouseOver=View('3366CC') onClick=Set('3366CC') height=10 width=10></td>
<td bgcolor=#3399CC onMouseOver=View('3399CC') onClick=Set('3399CC') height=10 width=10></td>
<td bgcolor=#33CCCC onMouseOver=View('33CCCC') onClick=Set('33CCCC') height=10 width=10></td>
<td bgcolor=#33FFCC onMouseOver=View('33FFCC') onClick=Set('33FFCC') height=10 width=10></td>
<td bgcolor=#6600CC onMouseOver=View('6600CC') onClick=Set('6600CC') height=10 width=10></td>
<td bgcolor=#6633CC onMouseOver=View('6633CC') onClick=Set('6633CC') height=10 width=10></td>
<td bgcolor=#6666CC onMouseOver=View('6666CC') onClick=Set('6666CC') height=10 width=10></td>
<td bgcolor=#6699CC onMouseOver=View('6699CC') onClick=Set('6699CC') height=10 width=10></td>
<td bgcolor=#66CCCC onMouseOver=View('66CCCC') onClick=Set('66CCCC') height=10 width=10></td>
<td bgcolor=#66FFCC onMouseOver=View('66FFCC') onClick=Set('66FFCC') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#FFFFFF onMouseOver=View('FFFFFF') onClick=Set('FFFFFF') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#0000FF onMouseOver=View('0000FF') onClick=Set('0000FF') height=10 width=10></td>
<td bgcolor=#0033FF onMouseOver=View('0033FF') onClick=Set('0033FF') height=10 width=10></td>
<td bgcolor=#0066FF onMouseOver=View('0066FF') onClick=Set('0066FF') height=10 width=10></td>
<td bgcolor=#0099FF onMouseOver=View('0099FF') onClick=Set('0099FF') height=10 width=10></td>
<td bgcolor=#00CCFF onMouseOver=View('00CCFF') onClick=Set('00CCFF') height=10 width=10></td>
<td bgcolor=#00FFFF onMouseOver=View('00FFFF') onClick=Set('00FFFF') height=10 width=10></td>
<td bgcolor=#3300FF onMouseOver=View('3300FF') onClick=Set('3300FF') height=10 width=10></td>
<td bgcolor=#3333FF onMouseOver=View('3333FF') onClick=Set('3333FF') height=10 width=10></td>
<td bgcolor=#3366FF onMouseOver=View('3366FF') onClick=Set('3366FF') height=10 width=10></td>
<td bgcolor=#3399FF onMouseOver=View('3399FF') onClick=Set('3399FF') height=10 width=10></td>
<td bgcolor=#33CCFF onMouseOver=View('33CCFF') onClick=Set('33CCFF') height=10 width=10></td>
<td bgcolor=#33FFFF onMouseOver=View('33FFFF') onClick=Set('33FFFF') height=10 width=10></td>
<td bgcolor=#6600FF onMouseOver=View('6600FF') onClick=Set('6600FF') height=10 width=10></td>
<td bgcolor=#6633FF onMouseOver=View('6633FF') onClick=Set('6633FF') height=10 width=10></td>
<td bgcolor=#6666FF onMouseOver=View('6666FF') onClick=Set('6666FF') height=10 width=10></td>
<td bgcolor=#6699FF onMouseOver=View('6699FF') onClick=Set('6699FF') height=10 width=10></td>
<td bgcolor=#66CCFF onMouseOver=View('66CCFF') onClick=Set('66CCFF') height=10 width=10></td>
<td bgcolor=#66FFFF onMouseOver=View('66FFFF') onClick=Set('66FFFF') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#FF0000 onMouseOver=View('FF0000') onClick=Set('FF0000') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#990000 onMouseOver=View('990000') onClick=Set('990000') height=10 width=10></td>
<td bgcolor=#993300 onMouseOver=View('993300') onClick=Set('993300') height=10 width=10></td>
<td bgcolor=#996600 onMouseOver=View('996600') onClick=Set('996600') height=10 width=10></td>
<td bgcolor=#999900 onMouseOver=View('999900') onClick=Set('999900') height=10 width=10></td>
<td bgcolor=#99CC00 onMouseOver=View('99CC00') onClick=Set('99CC00') height=10 width=10></td>
<td bgcolor=#99FF00 onMouseOver=View('99FF00') onClick=Set('99FF00') height=10 width=10></td>
<td bgcolor=#CC0000 onMouseOver=View('CC0000') onClick=Set('CC0000') height=10 width=10></td>
<td bgcolor=#CC3300 onMouseOver=View('CC3300') onClick=Set('CC3300') height=10 width=10></td>
<td bgcolor=#CC6600 onMouseOver=View('CC6600') onClick=Set('CC6600') height=10 width=10></td>
<td bgcolor=#CC9900 onMouseOver=View('CC9900') onClick=Set('CC9900') height=10 width=10></td>
<td bgcolor=#CCCC00 onMouseOver=View('CCCC00') onClick=Set('CCCC00') height=10 width=10></td>
<td bgcolor=#CCFF00 onMouseOver=View('CCFF00') onClick=Set('CCFF00') height=10 width=10></td>
<td bgcolor=#FF0000 onMouseOver=View('FF0000') onClick=Set('FF0000') height=10 width=10></td>
<td bgcolor=#FF3300 onMouseOver=View('FF3300') onClick=Set('FF3300') height=10 width=10></td>
<td bgcolor=#FF6600 onMouseOver=View('FF6600') onClick=Set('FF6600') height=10 width=10></td>
<td bgcolor=#FF9900 onMouseOver=View('FF9900') onClick=Set('FF9900') height=10 width=10></td>
<td bgcolor=#FFCC00 onMouseOver=View('FFCC00') onClick=Set('FFCC00') height=10 width=10></td>
<td bgcolor=#FFFF00 onMouseOver=View('FFFF00') onClick=Set('FFFF00') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#00FF00 onMouseOver=View('00FF00') onClick=Set('00FF00') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#990033 onMouseOver=View('990033') onClick=Set('990033') height=10 width=10></td>
<td bgcolor=#993333 onMouseOver=View('993333') onClick=Set('993333') height=10 width=10></td>
<td bgcolor=#996633 onMouseOver=View('996633') onClick=Set('996633') height=10 width=10></td>
<td bgcolor=#999933 onMouseOver=View('999933') onClick=Set('999933') height=10 width=10></td>
<td bgcolor=#99CC33 onMouseOver=View('99CC33') onClick=Set('99CC33') height=10 width=10></td>
<td bgcolor=#99FF33 onMouseOver=View('99FF33') onClick=Set('99FF33') height=10 width=10></td>
<td bgcolor=#CC0033 onMouseOver=View('CC0033') onClick=Set('CC0033') height=10 width=10></td>
<td bgcolor=#CC3333 onMouseOver=View('CC3333') onClick=Set('CC3333') height=10 width=10></td>
<td bgcolor=#CC6633 onMouseOver=View('CC6633') onClick=Set('CC6633') height=10 width=10></td>
<td bgcolor=#CC9933 onMouseOver=View('CC9933') onClick=Set('CC9933') height=10 width=10></td>
<td bgcolor=#CCCC33 onMouseOver=View('CCCC33') onClick=Set('CCCC33') height=10 width=10></td>
<td bgcolor=#CCFF33 onMouseOver=View('CCFF33') onClick=Set('CCFF33') height=10 width=10></td>
<td bgcolor=#FF0033 onMouseOver=View('FF0033') onClick=Set('FF0033') height=10 width=10></td>
<td bgcolor=#FF3333 onMouseOver=View('FF3333') onClick=Set('FF3333') height=10 width=10></td>
<td bgcolor=#FF6633 onMouseOver=View('FF6633') onClick=Set('FF6633') height=10 width=10></td>
<td bgcolor=#FF9933 onMouseOver=View('FF9933') onClick=Set('FF9933') height=10 width=10></td>
<td bgcolor=#FFCC33 onMouseOver=View('FFCC33') onClick=Set('FFCC33') height=10 width=10></td>
<td bgcolor=#FFFF33 onMouseOver=View('FFFF33') onClick=Set('FFFF33') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#0000FF onMouseOver=View('0000FF') onClick=Set('0000FF') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#990066 onMouseOver=View('990066') onClick=Set('990066') height=10 width=10></td>
<td bgcolor=#993366 onMouseOver=View('993366') onClick=Set('993366') height=10 width=10></td>
<td bgcolor=#996666 onMouseOver=View('996666') onClick=Set('996666') height=10 width=10></td>
<td bgcolor=#999966 onMouseOver=View('999966') onClick=Set('999966') height=10 width=10></td>
<td bgcolor=#99CC66 onMouseOver=View('99CC66') onClick=Set('99CC66') height=10 width=10></td>
<td bgcolor=#99FF66 onMouseOver=View('99FF66') onClick=Set('99FF66') height=10 width=10></td>
<td bgcolor=#CC0066 onMouseOver=View('CC0066') onClick=Set('CC0066') height=10 width=10></td>
<td bgcolor=#CC3366 onMouseOver=View('CC3366') onClick=Set('CC3366') height=10 width=10></td>
<td bgcolor=#CC6666 onMouseOver=View('CC6666') onClick=Set('CC6666') height=10 width=10></td>
<td bgcolor=#CC9966 onMouseOver=View('CC9966') onClick=Set('CC9966') height=10 width=10></td>
<td bgcolor=#CCCC66 onMouseOver=View('CCCC66') onClick=Set('CCCC66') height=10 width=10></td>
<td bgcolor=#CCFF66 onMouseOver=View('CCFF66') onClick=Set('CCFF66') height=10 width=10></td>
<td bgcolor=#FF0066 onMouseOver=View('FF0066') onClick=Set('FF0066') height=10 width=10></td>
<td bgcolor=#FF3366 onMouseOver=View('FF3366') onClick=Set('FF3366') height=10 width=10></td>
<td bgcolor=#FF6666 onMouseOver=View('FF6666') onClick=Set('FF6666') height=10 width=10></td>
<td bgcolor=#FF9966 onMouseOver=View('FF9966') onClick=Set('FF9966') height=10 width=10></td>
<td bgcolor=#FFCC66 onMouseOver=View('FFCC66') onClick=Set('FFCC66') height=10 width=10></td>
<td bgcolor=#FFFF66 onMouseOver=View('FFFF66') onClick=Set('FFFF66') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#FFFF00 onMouseOver=View('FFFF00') onClick=Set('FFFF00') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#990099 onMouseOver=View('990099') onClick=Set('990099') height=10 width=10></td>
<td bgcolor=#993399 onMouseOver=View('993399') onClick=Set('993399') height=10 width=10></td>
<td bgcolor=#996699 onMouseOver=View('996699') onClick=Set('996699') height=10 width=10></td>
<td bgcolor=#999999 onMouseOver=View('999999') onClick=Set('999999') height=10 width=10></td>
<td bgcolor=#99CC99 onMouseOver=View('99CC99') onClick=Set('99CC99') height=10 width=10></td>
<td bgcolor=#99FF99 onMouseOver=View('99FF99') onClick=Set('99FF99') height=10 width=10></td>
<td bgcolor=#CC0099 onMouseOver=View('CC0099') onClick=Set('CC0099') height=10 width=10></td>
<td bgcolor=#CC3399 onMouseOver=View('CC3399') onClick=Set('CC3399') height=10 width=10></td>
<td bgcolor=#CC6699 onMouseOver=View('CC6699') onClick=Set('CC6699') height=10 width=10></td>
<td bgcolor=#CC9999 onMouseOver=View('CC9999') onClick=Set('CC9999') height=10 width=10></td>
<td bgcolor=#CCCC99 onMouseOver=View('CCCC99') onClick=Set('CCCC99') height=10 width=10></td>
<td bgcolor=#CCFF99 onMouseOver=View('CCFF99') onClick=Set('CCFF99') height=10 width=10></td>
<td bgcolor=#FF0099 onMouseOver=View('FF0099') onClick=Set('FF0099') height=10 width=10></td>
<td bgcolor=#FF3399 onMouseOver=View('FF3399') onClick=Set('FF3399') height=10 width=10></td>
<td bgcolor=#FF6699 onMouseOver=View('FF6699') onClick=Set('FF6699') height=10 width=10></td>
<td bgcolor=#FF9999 onMouseOver=View('FF9999') onClick=Set('FF9999') height=10 width=10></td>
<td bgcolor=#FFCC99 onMouseOver=View('FFCC99') onClick=Set('FFCC99') height=10 width=10></td>
<td bgcolor=#FFFF99 onMouseOver=View('FFFF99') onClick=Set('FFFF99') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#00FFFF onMouseOver=View('00FFFF') onClick=Set('00FFFF') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#9900CC onMouseOver=View('9900CC') onClick=Set('9900CC') height=10 width=10></td>
<td bgcolor=#9933CC onMouseOver=View('9933CC') onClick=Set('9933CC') height=10 width=10></td>
<td bgcolor=#9966CC onMouseOver=View('9966CC') onClick=Set('9966CC') height=10 width=10></td>
<td bgcolor=#9999CC onMouseOver=View('9999CC') onClick=Set('9999CC') height=10 width=10></td>
<td bgcolor=#99CCCC onMouseOver=View('99CCCC') onClick=Set('99CCCC') height=10 width=10></td>
<td bgcolor=#99FFCC onMouseOver=View('99FFCC') onClick=Set('99FFCC') height=10 width=10></td>
<td bgcolor=#CC00CC onMouseOver=View('CC00CC') onClick=Set('CC00CC') height=10 width=10></td>
<td bgcolor=#CC33CC onMouseOver=View('CC33CC') onClick=Set('CC33CC') height=10 width=10></td>
<td bgcolor=#CC66CC onMouseOver=View('CC66CC') onClick=Set('CC66CC') height=10 width=10></td>
<td bgcolor=#CC99CC onMouseOver=View('CC99CC') onClick=Set('CC99CC') height=10 width=10></td>
<td bgcolor=#CCCCCC onMouseOver=View('CCCCCC') onClick=Set('CCCCCC') height=10 width=10></td>
<td bgcolor=#CCFFCC onMouseOver=View('CCFFCC') onClick=Set('CCFFCC') height=10 width=10></td>
<td bgcolor=#FF00CC onMouseOver=View('FF00CC') onClick=Set('FF00CC') height=10 width=10></td>
<td bgcolor=#FF33CC onMouseOver=View('FF33CC') onClick=Set('FF33CC') height=10 width=10></td>
<td bgcolor=#FF66CC onMouseOver=View('FF66CC') onClick=Set('FF66CC') height=10 width=10></td>
<td bgcolor=#FF99CC onMouseOver=View('FF99CC') onClick=Set('FF99CC') height=10 width=10></td>
<td bgcolor=#FFCCCC onMouseOver=View('FFCCCC') onClick=Set('FFCCCC') height=10 width=10></td>
<td bgcolor=#FFFFCC onMouseOver=View('FFFFCC') onClick=Set('FFFFCC') height=10 width=10></td>
</tr>
<tr>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#FF00FF onMouseOver=View('FF00FF') onClick=Set('FF00FF') height=10 width=10></td>
<td bgcolor=#000000 onMouseOver=View('000000') onClick=Set('000000') height=10 width=10></td>
<td bgcolor=#9900FF onMouseOver=View('9900FF') onClick=Set('9900FF') height=10 width=10></td>
<td bgcolor=#9933FF onMouseOver=View('9933FF') onClick=Set('9933FF') height=10 width=10></td>
<td bgcolor=#9966FF onMouseOver=View('9966FF') onClick=Set('9966FF') height=10 width=10></td>
<td bgcolor=#9999FF onMouseOver=View('9999FF') onClick=Set('9999FF') height=10 width=10></td>
<td bgcolor=#99CCFF onMouseOver=View('99CCFF') onClick=Set('99CCFF') height=10 width=10></td>
<td bgcolor=#99FFFF onMouseOver=View('99FFFF') onClick=Set('99FFFF') height=10 width=10></td>
<td bgcolor=#CC00FF onMouseOver=View('CC00FF') onClick=Set('CC00FF') height=10 width=10></td>
<td bgcolor=#CC33FF onMouseOver=View('CC33FF') onClick=Set('CC33FF') height=10 width=10></td>
<td bgcolor=#CC66FF onMouseOver=View('CC66FF') onClick=Set('CC66FF') height=10 width=10></td>
<td bgcolor=#CC99FF onMouseOver=View('CC99FF') onClick=Set('CC99FF') height=10 width=10></td>
<td bgcolor=#CCCCFF onMouseOver=View('CCCCFF') onClick=Set('CCCCFF') height=10 width=10></td>
<td bgcolor=#CCFFFF onMouseOver=View('CCFFFF') onClick=Set('CCFFFF') height=10 width=10></td>
<td bgcolor=#FF00FF onMouseOver=View('FF00FF') onClick=Set('FF00FF') height=10 width=10></td>
<td bgcolor=#FF33FF onMouseOver=View('FF33FF') onClick=Set('FF33FF') height=10 width=10></td>
<td bgcolor=#FF66FF onMouseOver=View('FF66FF') onClick=Set('FF66FF') height=10 width=10></td>
<td bgcolor=#FF99FF onMouseOver=View('FF99FF') onClick=Set('FF99FF') height=10 width=10></td>
<td bgcolor=#FFCCFF onMouseOver=View('FFCCFF') onClick=Set('FFCCFF') height=10 width=10></td>
<td bgcolor=#FFFFFF onMouseOver=View('FFFFFF') onClick=Set('FFFFFF') height=10 width=10></td>
</tr>
</table>

</form>
</body></html>]]></template>
		<template name="mwaextraedit4_editaor_smilie" templatetype="template" date="1255310294" username="ابو راشد" version=""><![CDATA[<td class="alt2" align="center" valign="center">$smiliehtml</td>]]></template>
		<template name="mwaextraedit4_editor_smiliebox" templatetype="template" date="1255310329" username="ابو راشد" version=""><![CDATA[<if condition="$show['smiliebox']"><br />
	<table class="tborder" id="{$editorid}_smiliebox" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center" width="100%">
	$smiliebits
	<if condition="$show['moresmilieslink']">
	<tr>
		<td class="thead" colspan="$vboptions[smcolumns]" align="center"><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a></td>
	</tr>
	</if>
	</table>
<else />
<div id="smiliebox" style="display:none"></div>
</if>]]></template>
		<template name="mwaextraedit4_flash" templatetype="template" date="1193343294" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vboptions[bbtitle] - $play</title>
	$headinclude
</head>
<body>
$header
$navbar
            <center>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="$w" height="$h">
                <param name="movie" value="$play">
                <param name="quality" value="high">
                <if condition="$b"><param name=bgcolor VALUE="$b"></if>
                <embed src="games/$play.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
              <br>
              <br>
            </center>
$footer
</body>
</html>]]></template>
		<template name="mwaextraedit4_frame_form" templatetype="template" date="1255053348" username="ابو راشد" version=""><![CDATA[<script language="javascript">
	var myframes = 15;
</script>
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>الإطارات</title>
    $headinclude $headinsert
<style>
 table, input, select { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript">
	var flag = true;

	function acceptIt(){
		window.returnValue = num.value + ' ' + wdth.value;
		window.close();
	}

	function showFrame(typ) {		
		var html = '<center><table border="0" width="90%" cellpadding="0" cellspacing="0"><tr><td width="1%"><img border="0" src="$vboptions[bburl]/mwaextraedit4/frames/tl' + typ + '.gif" style="filter:fliph"></td><td width="33%" background="$vboptions[bburl]/mwaextraedit4/frames/t' + typ + '.gif"></td><td width="1%"><img id="image" border="0" src="$vboptions[bburl]/mwaextraedit4/frames/tl' + typ + '.gif"></td></tr><tr><td width="1%" background="$vboptions[bburl]/mwaextraedit4/frames/l' + typ + '.gif" style="filter:fliph"></td><td align="center" width="33%" background="$vboptions[bburl]/mwaextraedit4/frames/' + typ + '.gif">';
		html += "<b><font size=4>&nbsp;</font><b>";
		html += '</td><td width="1%" background="$vboptions[bburl]/mwaextraedit4/frames/l' + typ + '.gif"></td></tr><tr><td width="1%"><img border="0" src="$vboptions[bburl]/mwaextraedit4/frames/tl' + typ + '.gif" style="filter:flipv fliph"></td><td width="33%" background="$vboptions[bburl]/mwaextraedit4/frames/t' + typ + '.gif" style="filter:flipv"></td><td width="1%"><img border="0" src="$vboptions[bburl]/mwaextraedit4/frames/tl' + typ + '.gif" style="filter:flipv"></td></tr></table></center>';		
		preview.innerHTML = html;
	}
</script>
</head>
<body>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr><td class="alt1">
<select id="num" onchange="showFrame(this.value)">
<script language="javascript">
	for (var i=1; i<=myframes; i++)
		document.write('<option value=' + i + '>رقم الإطار  ' + i);
</script>
</select>&nbsp;عرض الإطار
<select id="wdth">
	<option value=70>70
	<option value=75>75
	<option value=80>80
	<option value=85>85
	<option value=90>90
	<option value=95>95
	<option value=98 selected>98
	<option value=10>100
</script>
</select>
&nbsp;&nbsp;
<input class="button" type="button" value="تنفيذ" onclick="acceptIt()">
<input class="button" type="button" value="إلغاء" onclick="window.returnValue='';window.close()">
</td></tr>
<tr><td class="alt1" align="center" id="preview" height="130px">
</td></tr>
<tr><td class="alt1" align="center">

</td></tr>
</table>
<script language="javascript">
	showFrame(1);		
</script>
</body>
</html>]]></template>
		<template name="mwaextraedit4_gradient_form" templatetype="template" date="1255054202" username="ابو راشد" version=""><![CDATA[<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<title>تدرج الألوان</title>
$headinclude $headinsert
</head>
<body>
<style>
select, input { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript">
// 1001 Astuces Nam@ni , la Source JavaScript!!
// http://www.namani.net
var browser = "unknown";
var version = 0;
if (navigator.userAgent.indexOf("Opera") >= 0)
 browser = "opera";
else if (navigator.userAgent.indexOf("obot") >= 0)
 browser = "robot";
else if (navigator.appName.indexOf("etscape") >= 0)
 browser = "netscape";
else if (navigator.appName.indexOf("icrosoft") >= 0)
 browser = "msie";
version = parseFloat(navigator.appVersion);
if (isNaN(version)) version = 0;
if ((browser == "msie")&&(version == 2)) version = 3;
var tohex = new Array(256);
var hex = "0123456789ABCDEF";
var count = 0;
for (x=0; x<16; x++) {
 for (y=0; y<16; y++) {
 tohex[count] = hex.charAt(x) + hex.charAt(y);
 count++;
 }
}
function ColorCode(hexcode) {
  if (hexcode.length == 7) {
    this.r = parseInt(hexcode.substring(1,3),16);
    this.g = parseInt(hexcode.substring(3,5),16);
    this.b = parseInt(hexcode.substring(5,7),16);
  }
  else if (hexcode.length == 6) {
    this.r = parseInt(hexcode.substring(0,2),16);
    this.g = parseInt(hexcode.substring(2,4),16);
    this.b = parseInt(hexcode.substring(4,6),16);
  }
  else {
    this.r = this.g = this.b = 0;
    alert("Error: ColorCode constructor failed");
  }
  if (isNaN(this.r)||isNaN(this.g)||isNaN(this.b))
    alert("Error: ColorCode constructor failed");
}
function ColorList(hexcodes) {
  var i = 0;
  var c = 0;
  this.codes = new Array(Math.round(hexcodes.length/7));
  while (i < hexcodes.length) {
    if (isNaN(parseInt(hexcodes.substring(i,i+6),16))) ++i;
    else {
      this.codes[c] = new ColorCode(hexcodes.substring(i,i+6));
      i += 7;
      ++c;
    }
  }
  this.len = c;
}
function interpolate (x1, y1, x3, y3, x2) {
  if (x3 == x1) return y1
  else return (x2-x1)*(y3-y1)/(x3-x1) + y1
}
function lowcolorindex (x, y, z) {
  if (y == 1) return 0
  else return Math.floor( (x*(z-1))/(y-1) )
}
function hicolorindex (x, y, z, low) { 
  if ( low*(y-1) == x*(z-1) ) return low
  else if (y == 1) return 0
  else return Math.floor( (x*(z-1))/(y-1) + 1 )
}
function gradient(thetext) {
  var grad="";
  var thecolors=getValue(clr1);
  thecolors+=getValue(clr2);
  thecolors+=getValue(clr3);
  thecolors+=getValue(clr4);
  thecolors+=getValue(clr5);  
  thecolors=thecolors.substr(1);  
  if (((browser == "netscape")||(browser == "msie")||(browser == "opera"))&&(version>=3.0)) {
    var colors = new ColorList(thecolors);
    if (colors.len<2) return  thetext;
    var numcolors = colors.len;
    var numchars = thetext.length;
    var rr = 0;
    var gg = 0;
    var bb = 0;
    var lci = 0; //lower color index
    var hci = 0; //high color index
    for (i=0; i<numchars; ++i) {
      lci = lowcolorindex(i, numchars, numcolors);
      hci = hicolorindex(i, numchars, numcolors, lci);
      rr = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].r, hci/(numcolors-1), colors.codes[hci].r, i/(numchars-1)));
      gg = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].g, hci/(numcolors-1), colors.codes[hci].g, i/(numchars-1)));
      bb = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].b, hci/(numcolors-1), colors.codes[hci].b, i/(numchars-1)));
      if (browser == "opera") {
        rr = 255 - rr;
        gg = 255 - gg;
        bb = 255 - bb;
      }
        grad+=thetext.charAt(i).fontcolor(tohex[rr]+tohex[gg]+tohex[bb]);
    }
  }
  else 
    grad=thetext;
  return grad;
}
// 1001 Astuces Nam@ni -->
function gradient_template() {
  var i, t=template.options[template.selectedIndex].value.split(",");  
  clr1.selectedIndex=t[0];
  clr2.selectedIndex=t[1];
  clr3.selectedIndex=t[2];
  clr4.selectedIndex=t[3];
  clr5.selectedIndex=t[4];
  template.selectedIndex=0;
  gradient_preview();
}
function getValue(clr) {
  if (clr.options[clr.selectedIndex].value=="")
    return "";
  else
    return " "+clr.options[clr.selectedIndex].value;
}
function gradient_preview() {
  preview.innerHTML = "<FONT FACE=arial SIZE=4><B>"+gradient("أدوات المودة المطورة للتحرير ـ معاينة التدرج")+"</B></FONT>";
}
function gradient_accept() {
  var r = clr1.value + " " + clr2.value + " " + clr3.value + " " + clr4.value + " " + clr5.value;
  r = r.replace(/^[ ]+/, "").replace(/[ ]+$/, "")
  window.returnValue = r;
  window.close();  
}
</script>
<table id="frm" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tr><td class="alt1" align="center" nowrap>
		<select style="width:40px" id="clr1" onchange="document.body.focus();gradient_preview();">
		    <option value="">x
            <option value="000000" style="background-color:black"></option>            
            <option value="FFFFFF" style="background-color:white"></option>
            <option value="00BFFF" style="background-color:skyblue"></option>
			<option value="4169E1" style="background-color:royalblue"></option>
			<option value="0000FF" style="background-color:blue"></option>
			<option value="00008B" style="background-color:darkblue"></option>
			<option value="FFA500" style="background-color:orange"></option>
			<option value="FF6347" style="background-color:tomato"></option>
			<option value="FF7F50" style="background-color:coral"></option>
			<option value="FF4500" style="background-color:orangered"></option>
			<option value="DC143C" style="background-color:crimson"></option>
			<option value="FF0000" style="background-color:red"></option>
			<option value="B22222" style="background-color:firebrick"></option>
			<option value="8B0000" style="background-color:darkred"></option>
			<option value="008000" style="background-color:green"></option>
			<option value="32CD32" style="background-color:limegreen"></option>
			<option value="2E8B57" style="background-color:seagreen"></option>
			<option value="FF1493" style="background-color:deeppink"></option>
			<option value="800080" style="background-color:purple"></option>
			<option value="4B0082" style="background-color:indigo"></option>
			<option value="DEB887" style="background-color:burlywood"></option>
			<option value="F4A460" style="background-color:sandybrown"></option>
			<option value="A0522D" style="background-color:sienna"></option>
			<option value="D2691E" style="background-color:chocolate"></option>
			<option value="008080" style="background-color:teal"></option>
			<option value="C0C0C0" style="background-color:silver"></option>
            <option value="808080" style="background-color:gray"></option>
        </select>
		<select style="width:40px" id="clr2" onchange="document.body.focus();gradient_preview();">
		    <option value="">x
            <option value="000000" style="background-color:black" ></option>
            <option value="FFFFFF" style="background-color:white"></option>
            <option value="00BFFF" style="background-color:skyblue"></option>
			<option value="4169E1" style="background-color:royalblue"></option>
			<option value="0000FF" style="background-color:blue"></option>
			<option value="00008B" style="background-color:darkblue"></option>
			<option value="FFA500" style="background-color:orange"></option>
			<option value="FF6347" style="background-color:tomato"></option>
			<option value="FF7F50" style="background-color:coral"></option>
			<option value="FF4500" style="background-color:orangered"></option>
			<option value="DC143C" style="background-color:crimson"></option>
			<option value="FF0000" style="background-color:red"></option>
			<option value="B22222" style="background-color:firebrick"></option>
			<option value="8B0000" style="background-color:darkred"></option>
			<option value="008000" style="background-color:green"></option>
			<option value="32CD32" style="background-color:limegreen"></option>
			<option value="2E8B57" style="background-color:seagreen"></option>
			<option value="FF1493" style="background-color:deeppink"></option>
			<option value="800080" style="background-color:purple"></option>
			<option value="4B0082" style="background-color:indigo"></option>
			<option value="DEB887" style="background-color:burlywood"></option>
			<option value="F4A460" style="background-color:sandybrown"></option>
			<option value="A0522D" style="background-color:sienna"></option>
			<option value="D2691E" style="background-color:chocolate"></option>
			<option value="008080" style="background-color:teal"></option>
			<option value="C0C0C0" style="background-color:silver"></option>
            <option value="808080" style="background-color:gray"></option>
        </select>
		<select style="width:40px" id="clr3" onchange="document.body.focus();gradient_preview();">
		    <option value="">x
            <option value="000000" style="background-color:black" ></option>
            <option value="FFFFFF" style="background-color:white"></option>
            <option value="00BFFF" style="background-color:skyblue"></option>
			<option value="4169E1" style="background-color:royalblue"></option>
			<option value="0000FF" style="background-color:blue"></option>
			<option value="00008B" style="background-color:darkblue"></option>
			<option value="FFA500" style="background-color:orange"></option>
			<option value="FF6347" style="background-color:tomato"></option>
			<option value="FF7F50" style="background-color:coral"></option>
			<option value="FF4500" style="background-color:orangered"></option>
			<option value="DC143C" style="background-color:crimson"></option>
			<option value="FF0000" style="background-color:red"></option>
			<option value="B22222" style="background-color:firebrick"></option>
			<option value="8B0000" style="background-color:darkred"></option>
			<option value="008000" style="background-color:green"></option>
			<option value="32CD32" style="background-color:limegreen"></option>
			<option value="2E8B57" style="background-color:seagreen"></option>
			<option value="FF1493" style="background-color:deeppink"></option>
			<option value="800080" style="background-color:purple"></option>
			<option value="4B0082" style="background-color:indigo"></option>
			<option value="DEB887" style="background-color:burlywood"></option>
			<option value="F4A460" style="background-color:sandybrown"></option>
			<option value="A0522D" style="background-color:sienna"></option>
			<option value="D2691E" style="background-color:chocolate"></option>
			<option value="008080" style="background-color:teal"></option>
			<option value="C0C0C0" style="background-color:silver"></option>
            <option value="808080" style="background-color:gray"></option>
        </select>
		<select style="width:40px" id="clr4" onchange="document.body.focus();gradient_preview();">
		    <option value="">x
            <option value="000000" style="background-color:black" ></option>
            <option value="FFFFFF" style="background-color:white"></option>
            <option value="00BFFF" style="background-color:skyblue"></option>
			<option value="4169E1" style="background-color:royalblue"></option>
			<option value="0000FF" style="background-color:blue"></option>
			<option value="00008B" style="background-color:darkblue"></option>
			<option value="FFA500" style="background-color:orange"></option>
			<option value="FF6347" style="background-color:tomato"></option>
			<option value="FF7F50" style="background-color:coral"></option>
			<option value="FF4500" style="background-color:orangered"></option>
			<option value="DC143C" style="background-color:crimson"></option>
			<option value="FF0000" style="background-color:red"></option>
			<option value="B22222" style="background-color:firebrick"></option>
			<option value="8B0000" style="background-color:darkred"></option>
			<option value="008000" style="background-color:green"></option>
			<option value="32CD32" style="background-color:limegreen"></option>
			<option value="2E8B57" style="background-color:seagreen"></option>
			<option value="FF1493" style="background-color:deeppink"></option>
			<option value="800080" style="background-color:purple"></option>
			<option value="4B0082" style="background-color:indigo"></option>
			<option value="DEB887" style="background-color:burlywood"></option>
			<option value="F4A460" style="background-color:sandybrown"></option>
			<option value="A0522D" style="background-color:sienna"></option>
			<option value="D2691E" style="background-color:chocolate"></option>
			<option value="008080" style="background-color:teal"></option>
			<option value="C0C0C0" style="background-color:silver"></option>
            <option value="808080" style="background-color:gray"></option>
        </select>
		<select style="width:40px" id="clr5" onchange="document.body.focus();gradient_preview();">
		    <option value="">x
            <option value="000000" style="background-color:black" ></option>
            <option value="FFFFFF" style="background-color:white"></option>
            <option value="00BFFF" style="background-color:skyblue"></option>
			<option value="4169E1" style="background-color:royalblue"></option>
			<option value="0000FF" style="background-color:blue"></option>
			<option value="00008B" style="background-color:darkblue"></option>
			<option value="FFA500" style="background-color:orange"></option>
			<option value="FF6347" style="background-color:tomato"></option>
			<option value="FF7F50" style="background-color:coral"></option>
			<option value="FF4500" style="background-color:orangered"></option>
			<option value="DC143C" style="background-color:crimson"></option>
			<option value="FF0000" style="background-color:red"></option>
			<option value="B22222" style="background-color:firebrick"></option>
			<option value="8B0000" style="background-color:darkred"></option>
			<option value="008000" style="background-color:green"></option>
			<option value="32CD32" style="background-color:limegreen"></option>
			<option value="2E8B57" style="background-color:seagreen"></option>
			<option value="FF1493" style="background-color:deeppink"></option>
			<option value="800080" style="background-color:purple"></option>
			<option value="4B0082" style="background-color:indigo"></option>
			<option value="DEB887" style="background-color:burlywood"></option>
			<option value="F4A460" style="background-color:sandybrown"></option>
			<option value="A0522D" style="background-color:sienna"></option>
			<option value="D2691E" style="background-color:chocolate"></option>
			<option value="008080" style="background-color:teal"></option>
			<option value="C0C0C0" style="background-color:silver"></option>
            <option value="808080" style="background-color:gray"></option>
        </select>&nbsp;
        <select id="template" onchange="document.body.focus();gradient_template();">
           <option value="3,4,5,0,0">اختر تصميم جاهز
           <option value="3,4,5,0,0">1           
           <option value="14,12,9,0,0">2
           <option value="6,8,15,20,0">3
           <option value="21,24,23,0,0">4
		   <option value="10,20,5,1,22">5
        </select>
<p id="preview" align="center">أدوات المودة المطورة للتحرير ـ معاينة التدرج</p>
<input class="button" type=button value="موافق" onclick="gradient_accept()">&nbsp;
<input class="button" type=button value="إلغاء" onclick="window.close();">
</td></tr></table>
<script>
  template.selectedIndex=3;
  gradient_template();
</script>
</body></html>]]></template>
		<template name="mwaextraedit4_hide_head" templatetype="template" date="1212267447" username="ابو راشد" version=""><![CDATA[				<!--hide-addon-->
		<if condition="$vboptions[disable_ajax] != 2">
			<script type="text/javascript"><!--
			var hpostid = 0;
			var hmax = 0;
			function findposts(obj,call){
				ruf = call;
				var laenge = obj.innerHTML.length;
				if (hmax == '0'){
					hmax = laenge;
				} else if (hmax < laenge){
					hmax = laenge;
					Rufen(ruf);
				}
			}
			var hide_aktiv = null;
			var unhide = null;
			var zahl = 0;
			var old;
			var postid
			function Rufen(posting){
				if (window.XMLHttpRequest) {
					unhide = new XMLHttpRequest();
				} else if (window.ActiveXObject) {
					unhide = new ActiveXObject("Microsoft.XMLHTTP");
				}
				old = posting
				var postids = posting.split(",");
				if ( zahl < postids.length){
					postid = postids[zahl];
					unhide.open("POST", "showthread.php", true);
					unhide.onreadystatechange = ausgeben;
					unhide.setRequestHeader(
						"Content-Type",
						"application/x-www-form-urlencoded");
					unhide.send("do=whatever&p="+postid+"&all="+old+"&securitytoken=" + SECURITYTOKEN);
				} else zahl = 0;
			}

			function ausgeben() {
				if (unhide.readyState == 4) {
					if (unhide.responseText != 'mwaextraedit4_hide_still_active'){
						document.getElementById("post_message_"+postid).innerHTML =
							unhide.responseText;
						zahl++;
						Rufen(old);
					} else {
						zahl++;
						Rufen(old);
					}
				} 
				else setTimeout('ausgeben()', 200);
			}
			//-->
			</script>
		</if>
		]]></template>
		<template name="mwaextraedit4_hide_noaccess" templatetype="template" date="1255156128" username="ابو راشد" version=""><![CDATA[		<if condition="$vboptions[disable_ajax] != 2 AND $vboptions[mwaextraedit4_hide_ajax_on] == 1">
		<script type="text/javascript">
			if (hide_aktiv) window.clearInterval(hide_aktiv);
			var hide_aktiv = window.setInterval("findposts(fetch_object('posts'),'$hide_call')", 3000);
		</script>
		</if>
		<div id="hide_fieldset"><center><br><br>
			$hide_img
		<br><br></center></div>]]></template>
		<template name="mwaextraedit4_openclose" templatetype="template" date="1255818502" username="ابو راشد" version=""><![CDATA[<if condition="$show['openclose']"> 
<div><label for="cb_openclose"><input type="checkbox" name="openclose" value="1" id="cb_openclose" tabindex="1" $checked[openclose] /><if condition="$show['closethread']">$vbphrase[close_this_thread]<else />$vbphrase[reopen_this_thread]</if></label></div></if>]]></template>
		<template name="mwaextraedit4_poem_form" templatetype="template" date="1256664886" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vbphrase[poem]</title>
    $headinclude $headinsert
<style>
 table, select, input, textarea { font-size:8pt; font-family:tahoma;}
    </style>
$mwafontall
<script language="javascript">
//PART (1)
// set maximum of backgrounds images (the images should be in 'gif' format and it's FileName is as number (1,2,3 ...) sequencially
var imageCount = 200;
  var timerID;
  var sep = "|||";
  function getCurrentSettings() {
    var s = "";
    s += fname[0].value.replace(sep,"") + sep + fsize.selectedIndex + sep + fstyle.selectedIndex + sep + fcolor.selectedIndex;
    s += sep + bkimage[0].value.replace(sep,"") + sep + bkcolor.selectedIndex;
    s += sep + bstyle.selectedIndex + sep + bsize.selectedIndex + sep + bcolor.selectedIndex;
    s += sep + pnumcolor.selectedIndex + sep + pnumstart.value;
    s += sep + ptype.selectedIndex + sep + pline.selectedIndex + sep + palign.selectedIndex + sep + puse.selectedIndex;
    return s;
  }
  
  function showCurrentSettings() {
    showModalDialog("poem_template.htm", getCurrentSettings(), "help:no; status:no; dialogHeight:50px; dialogWidth:50px");
  }
  
  function loadTemplate(i) {
    if (i<=0) return;
	if (i>=templates.options.length) return;
    var s = templates.options[i].value.split(sep);
    templates.selectedIndex = 0;    
    fname[0].text = "(" + s[0] + ")"; fname[0].value = s[0];
    fsize.selectedIndex = s[1];
    fstyle.selectedIndex = s[2];
    fcolor.selectedIndex = s[3];
    bkimage[0].value = s[4]; bkimage.selectedIndex = 0;
    bkcolor.selectedIndex = s[5];
    bstyle.selectedIndex = s[6];
    bsize.selectedIndex = s[7];
    bcolor.selectedIndex = s[8];
    pnumcolor.selectedIndex = s[9];
	s[10] = parseInt(s[10]);
	if (isNaN(s[10]))
		s[10] = 0;
    pnumstart.value = s[10];
	if (pnumstart.value == 0)
		pnum.selectedIndex = 0;
	else
		pnum.selectedIndex = 1;
    ptype.selectedIndex = s[11];
    pline.selectedIndex = s[12];
    palign.selectedIndex = s[13];
    puse.selectedIndex = s[14];
	showNumBlock();
  }
  
  function initializeTemplates(s) {
    var oOption = document.createElement("OPTION");
    templates.options.add(oOption);
    oOption.innerText = "$vbphrase[mwaextraedit4_template_number] " + (templates.length - 1);
    oOption.value = s;
  }
    </script>
</head>

<body onload="showPoem(1)">
<img id="testImage" style="display:none" onload="clearInterval(timerID);loadingMsg.style.display='none'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" height="">
<tr>
	<td class="tcat" height="13">$vbphrase[mwaextraedit4_poem]</td>
</tr>
<tr>
	<td class="panelsurround" align="center" height="203">
	<div class="panel">
		<div align="$stylevar[left]">
<div id="poemExample" style="display:none">
$vbphrase[mwaextraedit4_poem_words]</div>
<div id="poemPreview"></div>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[mwaextraedit4_poem_options]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
  <tr>

	<!-- start of format box -->
		<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
			<tr>
			<td width="100%" nowrap>        
				<font class="smallfont">$vbphrase[fonts]</font>
$newfontoptep
&nbsp; $vbphrase[mwaextraedit4_size] <select size="1" name="fsize" onchange="showPoem(1)">
				  <option value="1">1&nbsp;&nbsp;
				  <option value="2">2
				  <option value="3">3
				  <option value="4">4
				  <option value="5">5
				  <option selected value="6">6
				  <option value="7">7
				</select> $vbphrase[mwaextraedit4_poem_codes] <select size="1" name="fstyle" onchange="showPoem(1)">
				   <option value="normal,normal" selected>$vbphrase[mwaextraedit4_normal]
				   <option value="bold,normal">$vbphrase[bold]
				   <option value="normal,italic">$vbphrase[italic]
				   <option value="bold,italic">$vbphrase[mwaextraedit4_both]
				</select> $vbphrase[color] <select size="1" name="fcolor" onchange="document.body.focus(); showPoem(1)">
					<option selected>$vbphrase[color]</option>
					<option style="background-color:black; color:black">
					<option style="background-color:white">
					<option style="background-color:skyblue">
					<option style="background-color:royalblue">
					<option style="background-color:blue">
					<option style="background-color:darkblue">
					<option style="background-color:orange">
					<option style="background-color:tomato">
					<option style="background-color:coral">
					<option style="background-color:orangered">
					<option style="background-color:crimson">
					<option style="background-color:red">
					<option style="background-color:firebrick">
					<option style="background-color:darkred">
					<option style="background-color:green">
					<option style="background-color:limegreen">
					<option style="background-color:seagreen">
					<option style="background-color:deeppink">
					<option style="background-color:purple">
					<option style="background-color:indigo">
					<option style="background-color:burlywood">
					<option style="background-color:sandybrown">
					<option style="background-color:sienna">
					<option style="background-color:chocolate">
					<option style="background-color:teal">
					<option style="background-color:silver">
					<option style="background-color:gray">
				</select></td>
		  </tr>
		  <tr>
			<td width="100%">     
				<font class="smallfont">$vbphrase[mwaextraedit4_poem_background] $vbphrase[mwaextraedit4_image]</font>
				<select size="1" onchange="selectImage(this);showPoem(1);" name="bkimage">
				  <option value="">...
				  <option selected>$vbphrase[mwaextraedit4_no_background]
				  <option>$vbphrase[mwaextraedit4_url]
				</select>&nbsp;$vbphrase[color] <select size="1" name="bkcolor" style="width:50" onchange="document.body.focus();showPoem(1)">
					<option style="background-color:transparent; color:black" selected>$vbphrase[mwaextraedit4_no_background]
					<option style="background-color:black">
					<option style="background-color:white">
					<option style="background-color:skyblue">
					<option style="background-color:royalblue">
					<option style="background-color:blue">
					<option style="background-color:darkblue">
					<option style="background-color:orange">
					<option style="background-color:tomato">
					<option style="background-color:coral">
					<option style="background-color:orangered">
					<option style="background-color:crimson">
					<option style="background-color:red">
					<option style="background-color:firebrick">
					<option style="background-color:darkred">
					<option style="background-color:green">
					<option style="background-color:limegreen">
					<option style="background-color:seagreen">
					<option style="background-color:deeppink">
					<option style="background-color:purple">
					<option style="background-color:indigo">
					<option style="background-color:burlywood">
					<option style="background-color:sandybrown">
					<option style="background-color:sienna">
					<option style="background-color:chocolate">
					<option style="background-color:teal">
					<option style="background-color:silver">
					<option style="background-color:gray">
				</select>&nbsp;&nbsp;<span id="loadingMsg" style="color:blue"> </span></td>
		  </tr>
		  <tr>
			<td width="100%">         
				 <font class="smallfont">$vbphrase[mwaextraedit4_border_type]:</font>         
				 <select size="1" name="bstyle" onchange="showPoem(1)">
					<option value="none" selected>$vbphrase[mwaextraedit4_no_background]
					<option value="solid">$vbphrase[mwaextraedit4_solid]
					<option value="double">$vbphrase[mwaextraedit4_double]
					<option value="groove">$vbphrase[mwaextraedit4_groove]
					<option value="ridge">$vbphrase[mwaextraedit4_ridge]
					<option value="inset">$vbphrase[mwaextraedit4_inset]
					<option value="outset">$vbphrase[mwaextraedit4_outset]
				 </select> $vbphrase[mwaextraedit4_size] <select size="1" name="bsize" onchange="showPoem(1)">
					<option>1
					<option>2
					<option>3
					<option selected>4
					<option>5
					<option>6
					<option>7
					<option>8
					<option>9
					<option>10
				 </select> $vbphrase[color] <select size="1" style="width:50" name="bcolor" onchange="document.body.focus();showPoem(1);">
					<option selected>$vbphrase[color]</option>
					<option style="background-color:black; color:black">
					<option style="background-color:white">
					<option style="background-color:skyblue">
					<option style="background-color:royalblue">
					<option style="background-color:blue">
					<option style="background-color:darkblue">
					<option style="background-color:orange">
					<option style="background-color:tomato">
					<option style="background-color:coral">
					<option style="background-color:orangered">
					<option style="background-color:crimson">
					<option style="background-color:red">
					<option style="background-color:firebrick">
					<option style="background-color:darkred">
					<option style="background-color:green">
					<option style="background-color:limegreen">
					<option style="background-color:seagreen">
					<option style="background-color:deeppink">
					<option style="background-color:purple">
					<option style="background-color:indigo">
					<option style="background-color:burlywood">
					<option style="background-color:sandybrown">
					<option style="background-color:sienna">
					<option style="background-color:chocolate">
					<option style="background-color:teal">
					<option style="background-color:silver">
					<option style="background-color:gray">
				</select></td>
		  </tr>
		  <tr>
			<td width="100%">         
				 $vbphrase[mwaextraedit4_show_poem_number]         
				 <select size="1" name="pnum" onchange="showNumBlock();showPoem(1)">
				   <option selected value="0">$vbphrase[no]
				   <option value="1">$vbphrase[yes]
				 </select> 
				 <span id="numblock">$vbphrase[mwaextraedit4_number_start_from] <input type="text" value="1" side="2" size="4" name="pnumstart" onblur="showPoem(1)" onkeydown="if (event.keyCode == 13) showPoem(1);">
				  $vbphrase[color] <select size="1" name="pnumcolor" onchange="document.body.focus(); showPoem(1)">
					<option style="background-color:black; color:black" selected>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<option style="background-color:white">
					<option style="background-color:skyblue">
					<option style="background-color:royalblue">
					<option style="background-color:blue">
					<option style="background-color:darkblue">
					<option style="background-color:orange">
					<option style="background-color:tomato">
					<option style="background-color:coral">
					<option style="background-color:orangered">
					<option style="background-color:crimson">
					<option style="background-color:red">
					<option style="background-color:firebrick">
					<option style="background-color:darkred">
					<option style="background-color:green">
					<option style="background-color:limegreen">
					<option style="background-color:seagreen">
					<option style="background-color:deeppink">
					<option style="background-color:purple">
					<option style="background-color:indigo">
					<option style="background-color:burlywood">
					<option style="background-color:sandybrown">
					<option style="background-color:sienna">
					<option style="background-color:chocolate">
					<option style="background-color:teal">
					<option style="background-color:silver">
					<option style="background-color:gray">
				</select></span></td>
		  </tr>
		  <tr>
			<td width="100%">
			<div align="center">
			  <center>
			  <table border="1" cellspacing="0" class="tborder">
					  <tr>
						<td width="25%" align="center" class="thead">$vbphrase[mwaextraedit4_poem_look]</td>
						<td width="25%" align="center" class="thead">$vbphrase[mwaextraedit4_space_in_line]</td>
						<td width="25%" align="center" class="thead">$vbphrase[mwaextraedit4_poem_direction]</td>
						<td width="25%" align="center" class="thead">$vbphrase[mwaextraedit4_formatting]</td>
					  </tr>
					  <tr>
						<td width="25%" align="center">
					<select size="1" name="ptype" onchange="showPoem(1)">
					  <option selected value="0">$vbphrase[mwaextraedit4_type_one]
					  <option value="1">$vbphrase[mwaextraedit4_type_two]
					  <option value="2">$vbphrase[mwaextraedit4_type_three]
					  <option value="3">$vbphrase[mwaextraedit4_type_four]
					</select></td>
						<td width="25%" align="center"> <select size="1" name="pline" onchange="showPoem(1)">
					  <option value="0" selected>$vbphrase[mwaextraedit4_type_short]
					  <option value="1">$vbphrase[mwaextraedit4_type_long]
					</select></td>
						<td width="25%" align="center"> <select size="1" name="palign" onchange="showPoem(1)">
					 <option value="right">$vbphrase[align_right]
					 <option value="center" selected>$vbphrase[align_center]					 
					 <option value="left">$vbphrase[align_left]
				   </select></td>
						<td width="25%" align="center"> <select size="1" name="puse" onchange="showPoem(1)">
					  <option value="sp">$vbphrase[mwaextraedit4_word_spacing]
					  <option value="ex" selected>$vbphrase[mwaextraedit4_word_length]
				   </select></td>
					  </tr>
					</table>
			  </center>
			</div>
			</td>
		  </tr>
		  <tr>
			<td width="100%" align="left">
		  <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
			  <td align="right" width="50%" nowrap></td>
			  <td width="50%" align="left" nowrap><br>
			  <input class="button" type="button" id="accept" value="$vbphrase[submit]" onclick="showPoem(0)"> 
			  <input class="button" type="button" value="$vbphrase[reset]" onclick="window.returnValue=''; window.close()"></td>
			</tr>
		  </table>
			<p>			<div class="smallfont" align="center"><strong>$vbphrase[mwaextraedit4_note]</strong> $vbphrase[mwaextraedit4_seprate_line_with]</div>
		  </tr>
		  </table>
	<!-- end of format box -->

  </td></tr>
  </table>

  </center>
</div>

<script language="javascript">

  for (seli = 1; seli <= imageCount; seli++) {
    var oOption = document.createElement("OPTION");
    bkimage.options.add(oOption);
    oOption.innerText = seli;
    oOption.value=seli;
  }
  
  function selectImage(ob) {
    var i = ob.selectedIndex, img;
    if (i == 0)
      img = ob[0].value;
    else if (i == 1)
      img = "";
    else if (i == 2) {
      img = window.prompt("$vbphrase[mwaextraedit4_enter_image_url] :", (ob[0].value)?ob[0].value:"http://");
      if (img == null)
        img = ob[0].value;
      ob.selectedIndex = 0;
    }    
    else {
	  clearInterval(timerID);	  
      img = "$vboptions[bburl]/mwaextraedit4/backgrounds/" + ob[i].value + ".gif";	  
	  loadingMsg.innerHTML = "$vbphrase[mwaextraedit4_loading_image]";
	  loadingMsg.style.display = "inline";
	  timerID = setInterval("blink()", 500);
	  testImage.src = img;
	}
    ob[0].value = img;
  }
  
  function blink() {
	if (loadingMsg.style.display == 'inline')
		loadingMsg.style.display = "none";
	else
		loadingMsg.style.display = "inline";
  }

  function selectFont(ob) {
    var i = ob.selectedIndex, f;
    if (i == 0) 
      return;
    else if (i == 1) {      
      f = window.prompt("$vbphrase[mwaextraedit4_enter_font_name]", ob.options(0).text.replace(/\(/g,"").replace(/\)/g,""));
      if (f == null) {        
        ob.selectedIndex = 0;
        return;
      }      
    }
    else
      f = ob.options(i).text;
    ob.options(0).text = "(" + f + ")";
    ob.options(0).value = f;
    ob.selectedIndex = 0;
  } 
   
  function setFontStyle(i) {
    fbold = 0;
    fitalic = 0;    
    if (i == 1 || i == 3) fbold = 1;
    if (i == 2 || i == 3) fitalic = 1;
  }
  
  function getColor(o) {
    return (o.options[o.selectedIndex].style.backgroundColor);
  }

  function getValue(o) {
    return (o.options[o.selectedIndex].value);
  }

  function getText(o) {
    return (o.options[o.selectedIndex].text);
  }
  
  function imageBrowse() {
    var img = showModalDialog("backgrounds.htm", imageCount , "help:no; status:no; dialogHeight:50px; dialogWidth:50px"); 
    if (img!="") {
      bkimage.selectedIndex=parseFloat(img)+2;
      img = "$vboptions[bburl]/mwaextraedit4/backgrounds/" + img + ".gif";
      bkimage[0].value = img;
    }  
  }

  function showPoem(preview) {
    var arg = "";
	arg += "font='" + fname[0].value + "," + getValue(fsize) + "," + getColor(fcolor) + "," + getValue(fstyle) + "'";		
    arg += " bkcolor='" + getColor(bkcolor) + "' bkimage='" + bkimage[0].value + "'";
    arg += " border='" +  getValue(bstyle) + "," + getText(bsize) + "," + getColor(bcolor) + "'";
    arg += " type=" + getValue(ptype) + " line=" + getValue(pline) + " align=" + getValue(palign) + " use=" + getValue(puse);    
	arg += " num='" + pnumstart.value + "," + getColor(pnumcolor) + "'";
    arg = arg.replace(/'/g,'"');
	if (preview) {
		poemExample.tag = arg;
		doPoem(1);
	} else {
		window.returnValue = arg;
		window.close();
	}
  } 

  function showNumBlock() {	
	if (pnum.value == 0)
		numblock.style.display = "none";
	else
		numblock.style.display = "inline";
	pnumstart.value = pnum.value
  }

  showNumBlock();  

        </script>

</table>
<div class="smallfont" align="center">$vbphrase[mwaextraedit4_copyright]</div>
</body>
</html>]]></template>
		<template name="mwaextraedit4_posticonbit" templatetype="template" date="1255310394" username="ابو راشد" version=""><![CDATA[<td class="alt2"><input type="radio" name="iconid" value="$iconid" id="rb_iconid_$iconid" tabindex="1" onclick="swap_posticon('pi_$iconid')" $iconchecked /></td>
<td class="alt1" width="12%"><label for="rb_iconid_$iconid"><img src="$iconpath" alt="$alttext" id="pi_$iconid" onclick="rb_iconid_$iconid.click()" /></label></td>
]]></template>
		<template name="mwaextraedit4_posticons" templatetype="template" date="1255310363" username="ابو راشد" version=""><![CDATA[<if condition="$show['posticons']">
	<script type="text/javascript">
	<!--
	function swap_posticon(imgid)
	{
		var out = fetch_object("display_posticon");
		var img = fetch_object(imgid);
		if (img)
		{
			out.src = img.src;
			out.alt = img.alt;
		}
		else
		{
			out.src = "$vboptions[cleargifurl]";
			out.alt = "";
		}
	}
	// -->
	</script>
		<div style="padding:$stylevar[formspacer]px">
			<table class="alt2" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
			<tr>
				<td class="thead" colspan="15"><div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[may_choose_icon_for_message]:</div></td>
			</tr>
			<tr>
				<td class="alt1" width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] &nbsp; &nbsp;</label></td>
				$posticonbits
				<if condition="$show['addedspan']"><td class="alt1" colspan="$remainingspan">&nbsp;</td></if>
			</tr>
			</table>
		</div>
<else />
	<input type="hidden" name="iconid" value="0" />
</if>]]></template>
		<template name="mwaextraedit4_quickreply_addon" templatetype="template" date="1256304620" username="ابو راشد" version=""><![CDATA[            <if condition="$show['font_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_font_out">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>				
				</div></td>
			</if>
			<if condition="$show['size_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>]]></template>
		<template name="mwaextraedit4_quran_form" templatetype="template" date="1193703496" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>البحث في القرآن الكريم والحديث الشريف</title>
</head>
<body>

<form method=get action="http://quran.muslim-web.com/search.htm" name=SearchForm xonsubmit="return onSearch(this);">
<table><tr><td valign="top">&nbsp;&nbsp;&nbsp;
ابحث في القرآن الكريم عن : </td></tr><tr><td>
&nbsp;&nbsp;&nbsp;<input type=edit id=idSearchText name=SearchText size="30"></td><td  valign="buttom" onclick="window.close();">
&nbsp;<input type=submit value="ابحث">&nbsp;<input type=reset value="جديد"></td></tr></table></form>

<form name="IstiSearchForm" method="GET" action="http://www.islamweb.net/ver2/archive/hadithsearch.php" onsubmit="window.close()">
<INPUT type="hidden" name="lang" value="">
<INPUT type="hidden" name="BkNo" value="000">
<INPUT type="hidden" name="Scope" value="MainBook">
<table"><tr><td>&nbsp;&nbsp;&nbsp;
إبحث في الحديث الشريف عن : <br />&nbsp;&nbsp;&nbsp;
<input type="text" name="Word" class="input2A"  size="30">&nbsp;
<select style="WIDTH: 60; height:21" size="1" style="width: 60;  name="BkNo">
<option dir="rtl" value="000" selected>كل الكتب</option>
<option dir="rtl" value="2">صحيح مسلم</option>
<option dir="rtl" value="1">صحيح البخاري</option>
<option dir="rtl" value="3">سنن أبي داود</option>
<option dir="rtl" value="4">سنن الترمذي</option>
<option dir="rtl" value="5">سنن النسائي (المجتبي)</option>
<option dir="rtl" value="6">سنن ابن ماجة</option>
<option dir="rtl" value="7">موطأ مالك</option>
<option dir="rtl" value="10">سنن الدارمي</option>
<option dir="rtl" value="12">صحيح ابن خزيمة</option>
<option dir="rtl" value="11">صحيح ابن حبان</option>
<option dir="rtl" value="13">مستدرك الحاكم</option>
<option dir="rtl" value="14">مسند أحمد</option>
<option dir="rtl" value="15">سنن سعيد بن منصور</option>
<option dir="rtl" value="16">مسند أبي يعلى الموصلي</option>
<option dir="rtl" value="17">مصنف عبد الرزاق</option>
<option dir="rtl" value="18">البحر الزخار - مسند البزار</option>
<option dir="rtl" value="20">المعجم الصغير</option>
<option dir="rtl" value="21">سنن البيهقي الكبرى</option>
<option dir="rtl" value="22">شعب الايمان</option>
<option dir="rtl" value="25">الدارقطني</option>
<option dir="rtl" value="30">الأدب المفرد</option>
</select>
</td><td  valign="buttom" onclick="window.close();">
<input type=submit value="ابحث">
</td></tr></table>
</form>

</body>
</html>]]></template>
		<template name="mwaextraedit4_smileqrqe_editor_button" templatetype="template" date="1255304226" username="ابو راشد" version=""><![CDATA[<if condition="$show['wysiwygsmilies']">
	<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td><img src="mwaextraedit4/buttons/smilie.gif" alt="" width="21" height="20" /></td>
			<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
		</tr>
		</table>
	</div></td>
</if>]]></template>
		<template name="mwaextraedit4_text" templatetype="template" date="1256000999" username="ابو راشد" version=""><![CDATA[$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<title>$vbphrase[mwaextraedit4_text_formatting]</title>
    $headinclude $headinsert
</head>
<body onload="preview();acceptubb(0);">
$mwafontall
<table class="tborder" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
<tr>
	<td class="tcat" height="13">$vbphrase[mwaextraedit4_text_formatting]</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
			<fieldset class="fieldset">
				<legend>$vbphrase[mwaextraedit4_text_formatting_options]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" align="center">
  <tr>

	<!-- start of format box -->
		<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
			<tr>

<table id="frm" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="100%" valign="top">
<!-- Preview -->
<div align="center" id="here">
</div>
<div>
<!-- Preview -->
<!-- <textarea rows="3" cols="46" name="txtText"></textarea> -->
	<input type="hidden" name="txtText">
<table border="0" align="$stylevar[left]">
 <tr><td>
<table border="0" align="$stylevar[left]" width="80%" height="1" cellpadding="2">
   <tr>      
      <td nowrap>
		<font class="smallfont">$vbphrase[fonts]</font></td>
      <td nowrap>
        <p align="right">
$newfontopte
</td>
      <td nowrap align="center">
        <p align="right">
        <select size="1" name="cbFontSize" onchange="acceptubb(0);">
          <option>1</option>
          <option>2</option>
          <option>3</option>
          <option>4</option>
          <option>5</option>
          <option selected>6</option>
          <option>7</option>
        </select>
      </td>
      <td nowrap align="center">      
        <p align="right">      
        <select size="1" name="cbFontStyle" onchange="acceptubb(0);">
           <option>$vbphrase[mwaextraedit4_normal]
           <option value="[B]" selected>$vbphrase[bold]
           <option value="[I]">$vbphrase[italic]
           <option value="[B][I]">$vbphrase[mwaextraedit4_both]
        </select>
        <select size="1" name="cbFontColor" onchange="document.body.focus();acceptubb(0);">
            <option style="background-color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
            <option style="background-color:white"></option>
            <option style="background-color:skyblue"></option>
			<option style="background-color:royalblue"></option>
			<option style="background-color:blue"></option>
			<option style="background-color:darkblue"></option>
			<option style="background-color:orange"></option>
			<option style="background-color:tomato"></option>
			<option style="background-color:coral"></option>
			<option style="background-color:orangered"></option>
			<option style="background-color:crimson"></option>
			<option style="background-color:red"></option>
			<option style="background-color:firebrick"></option>
			<option style="background-color:darkred"></option>
			<option style="background-color:green"></option>
			<option style="background-color:limegreen"></option>
			<option style="background-color:seagreen"></option>
			<option style="background-color:deeppink"></option>
			<option style="background-color:purple"></option>
			<option style="background-color:indigo"></option>
			<option style="background-color:burlywood"></option>
			<option style="background-color:sandybrown"></option>
			<option style="background-color:sienna" selected></option>
			<option style="background-color:chocolate"></option>
			<option style="background-color:teal"></option>
			<option style="background-color:silver"></option>
            <option style="background-color:gray"></option>
        </select>
      </td>
      <td nowrap>      
         <select size="1" onchange="pAlign=this.options(this.selectedIndex).value;acceptubb(0);" name="cbAlign">
            <option value="right">$vbphrase[align_right]
            <option value="center" selected>$vbphrase[align_center]
            <option value="left">$vbphrase[align_left]
            <option value="justify">$vbphrase[mwaextraedit4_justify]
         </select>
       </td>  
   </tr>
</table>
</td></tr>
<tr><td>
<table border="0" cellpadding="2" align="$stylevar[left]">
   <tr>
      <td valign="top" nowrap>
      <p align="right"><font class="smallfont">$vbphrase[mwaextraedit4_text_formatting_width]:</font> <select size="1" name="cbWidth" onchange="acceptubb(0);">
        <option value="70%">70%</option>
        <option value="80%">80%</option>
        <option value="85%">85%</option>
        <option value="95%" selected>95%</option>
        <option value="100%">100%</option>
        </select></p></td>
   </tr>
</table> 
</td></tr>
<tr><td>
<table border="0" cellpadding="2" align="$stylevar[left]">
   <tr>
      <td nowrap height="22">
	<font class="smallfont">$vbphrase[mwaextraedit4_poem_background] $vbphrase[mwaextraedit4_image]</font></td>
      <td nowrap height="22">
        <p align="right">
        <select id="selImg" size="1" onchange="bkimage=selImages(this);acceptubb(0);">
          <option>...
          <option selected>$vbphrase[mwaextraedit4_no_background]
          <option>$vbphrase[mwaextraedit4_url]
        </select>
      </td>
      <td nowrap height="22">
        <p align="right">
        <select size="1" name="cbBackColor" onchange="document.body.focus();acceptubb(0);">
            <option style="background-color:transparent" selected>
            $vbphrase[color]</option>
            <option style="background-color:black"></option>
            <option style="background-color:white"></option>
            <option style="background-color:skyblue"></option>
			<option style="background-color:royalblue"></option>
			<option style="background-color:blue"></option>
			<option style="background-color:darkblue"></option>
			<option style="background-color:orange"></option>
			<option style="background-color:tomato"></option>
			<option style="background-color:coral"></option>
			<option style="background-color:orangered"></option>
			<option style="background-color:crimson"></option>
			<option style="background-color:red"></option>
			<option style="background-color:firebrick"></option>
			<option style="background-color:darkred"></option>
			<option style="background-color:green"></option>
			<option style="background-color:limegreen"></option>
			<option style="background-color:seagreen"></option>
			<option style="background-color:deeppink"></option>
			<option style="background-color:purple"></option>
			<option style="background-color:indigo"></option>
			<option style="background-color:burlywood"></option>
			<option style="background-color:sandybrown"></option>
			<option style="background-color:sienna"></option>
			<option style="background-color:chocolate"></option>
			<option style="background-color:teal"></option>
			<option style="background-color:silver"></option>
            <option style="background-color:gray"></option>
        </select>
      </td>
   </tr>   
</table>
</td></tr>
<tr><td>
<table border="0" width="1" cellpadding="2" height="24" align="$stylevar[left]">
   <tr>
      <td nowrap height="20">
	<font class="smallfont">$vbphrase[mwaextraedit4_border_type]:</font></td>
      <td nowrap height="20">
         <p align="right">
         <select size="1" name="cbBorderStyle" onchange="acceptubb(0);">
         	<option value="none" selected>$vbphrase[mwaextraedit4_no_background]
            <option value="solid">$vbphrase[mwaextraedit4_solid]
            <option value="double">$vbphrase[mwaextraedit4_double]
            <option value="groove">$vbphrase[mwaextraedit4_groove]
            <option value="ridge">$vbphrase[mwaextraedit4_ridge]
            <option value="inset">$vbphrase[mwaextraedit4_inset]
            <option value="outset">$vbphrase[mwaextraedit4_outset]
         </select>
      </td>
      <td nowrap height="20">
         <p align="right">
         <select size="1" name="cbBorderWidth" onchange="acceptubb(0);">
            <option>1
            <option>2
            <option>3
            <option selected>4
            <option>5
            <option>6
            <option>7
            <option>8
            <option>9
            <option>10
         </select>
      </td>
      <td nowrap height="20">
        <p align="right">
        <select size="1" name="cbBorderColor" onchange="document.body.focus();acceptubb(0);">
            <option style="background-color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
            <option style="background-color:white"></option>
            <option style="background-color:skyblue"></option>
			<option style="background-color:royalblue"></option>
			<option style="background-color:blue"></option>
			<option style="background-color:darkblue"></option>
			<option style="background-color:orange"></option>
			<option style="background-color:tomato"></option>
			<option style="background-color:coral"></option>
			<option style="background-color:orangered"></option>
			<option style="background-color:crimson"></option>
			<option style="background-color:red"></option>
			<option style="background-color:firebrick"></option>
			<option style="background-color:darkred"></option>
			<option style="background-color:green" selected></option>
			<option style="background-color:limegreen"></option>
			<option style="background-color:seagreen"></option>
			<option style="background-color:deeppink"></option>
			<option style="background-color:purple"></option>
			<option style="background-color:indigo"></option>
			<option style="background-color:burlywood"></option>
			<option style="background-color:sandybrown"></option>
			<option style="background-color:sienna"></option>
			<option style="background-color:chocolate"></option>
			<option style="background-color:teal"></option>
			<option style="background-color:silver"></option>
            <option style="background-color:gray"></option>
        </select>
     </td>
   </tr>
</table>
</td></tr></table>
</div>
    </td>
  </tr>
  <tr><td align="center">
  <div>
  <input class="button" type="button" value="$vbphrase[submit]" onclick="acceptubb(1)">
  <input class="button" type="button" value="$vbphrase[reset]" onclick="window.close()">
</div>
  </td></tr>
</table>
</body>
            </tr>
		  </table>
	<!-- end of format box -->

  </td></tr>
  </table>

  </center>
</div>
</table>
<div class="smallfont" align="center">$vbphrase[mwaextraedit4_copyright]</div>
<script>
  var bkimage="", imageCount = imageCount
   
  for (var seli = 1; seli <= imageCount; seli++) {
    var oOption = document.createElement("OPTION");
    selImg.options.add(oOption);
    oOption.innerText = seli;
  }
  
  function selImages(ob) {           
    var i = ob.selectedIndex, img = "";
    if (i <= 1)
      img = "";
    else if (i == 2) {      
//      img = window.prompt("$vbphrase[mwaextraedit4_enter_image_url]:", (bkimage)?bkimage:"http://");
      img = window.prompt("$vbphrase[mwaextraedit4_enter_image_url]:", "http://");
      if (img == null)
       {
        img = "";
      ob.selectedIndex = 0;
       }
    }    
    else
      img = "backgrounds/" + ob.options(i).text + ".gif";
    return img;  
  }
  
  function selectFont(ob) {
    var i = ob.selectedIndex, f = "";
    if (i == 0) return;
    if (i == 1) {
      f = window.prompt("$vbphrase[mwaextraedit4_enter_font_name]:", ob.options[0].text.replace(/\(([a-z ]*)\)/i,"$1"));
      if (f == null) f = fn;
    }
    else
      f = ob.options(i).text;
    ob.options(0).text = "(" + f + ")";
    ob.selectedIndex = 0;
  }   
 
  function imageBrowse() {
    var img = showModalDialog("backgrounds.htm", imageCount , "help:no; status:no; dialogHeight:800px; dialogWidth:400px"); 
    if (img!="") {
      selImg.selectedIndex=parseFloat(img)+2;
      img = "$vboptions[bburl]/mwaextraedit4/backgrounds/" + img + ".gif";
      bkimage = img;
   }
  }  
  
  function getColor(o) {
    return (o.options[o.selectedIndex].style.backgroundColor);
  }

  function getText(o) {
    return (o.options[o.selectedIndex].text);
  }
 
  function acceptubb(flag) {    
    var tstyle="", ubb = "", filter="";    

// new

	if (selImg.selectedIndex > 2)
	 {
	  img = selImg.selectedIndex-2;	  
	  selImg.selectedIndex=parseFloat(img)+2;
	  img = "$vboptions[bburl]/mwaextraedit4/backgrounds/" + img + ".gif";
	  bkimage = img;
	 }

// new
    tstyle += "width:" + cbWidth.value + ";";    


// new
        if (selImg.selectedIndex >= 2) 
         tstyle += "background-image:url('" + bkimage + "');";
      	if (cbBackColor.selectedIndex > 0)
	     tstyle += "background-color:"+ getColor(cbBackColor) + ";"; 
		if (cbBorderStyle.selectedIndex > 0 )
         tstyle += "border:"+ getText(cbBorderWidth) + "px" + " " +  cbBorderStyle.value + " " + getColor(cbBorderColor) + ";";        
// new
    
    
    filter = "filter:";
    filter += ";";

    if (flag == 0) {
      ubb = "<div align='center'>";
      ubb += "<table style=\"" + tstyle + "\"><tr>";
      ubb += "<td style=\"" + filter + "\">";
      ubb += "<font face='" + getText(cbFontFamily).replace(/\(([a-z ]*)\)/i,"$1") + "'";
      ubb += " size='" + getText(cbFontSize) + "' color='" + getColor(cbFontColor) + "'>";
      if (getText(cbFontStyle).indexOf("B")!=-1) ubb += "<b>";
      if (getText(cbFontStyle).indexOf("I")!=-1) ubb += "<i>";
      ubb += "<div align='" + cbAlign.value + "'>";
//      ubb += txtText.value.replace(/\r\n/g, "<br>");
      ubb += "$vbphrase[mwaextraedit4_text_formatting_example]";
      ubb += "</div>";    
      if (getText(cbFontStyle).indexOf("I")!=-1) ubb += "</i>";
      if (getText(cbFontStyle).indexOf("B")!=-1) ubb += "</b>";
      ubb += "</font>";
      ubb += "</td></tr></table></div>";
      
      here.innerHTML = ubb;
      
       return false;        
   }
   
   ubb = "[ALIGN=CENTER]";
   ubb += "[TABLE1=\"" + tstyle + "\"]";
   ubb += "[CELL=\"" + filter + "\"]";
   ubb += "[FONT=" + getText(cbFontFamily).replace(/\(([a-z ]*)\)/i,"$1") + "]";
   ubb += "[SIZE=" + getText(cbFontSize) + "]";
   ubb += "[COLOR=" + getColor(cbFontColor) + "]";
   if (getText(cbFontStyle).indexOf("B")!=-1) ubb += "[B]";
   if (getText(cbFontStyle).indexOf("I")!=-1) ubb += "[I]";
   ubb += "[ALIGN=" + cbAlign.value + "]";
   window.returnValue = ubb;
   ubb = "[/ALIGN]";
   if (getText(cbFontStyle).indexOf("I")!=-1) ubb += "[/I]";
   if (getText(cbFontStyle).indexOf("B")!=-1) ubb += "[/B]";
   ubb += "[/COLOR][/SIZE][/FONT]";
   ubb += "[/CELL][/TABLE1][/ALIGN]";
   window.dialogArguments.text = ubb;
   window.close();
 }

txtText.value=window.dialogArguments.text;
   
</script>
</html>]]></template>
		<template name="usercp_nav_posttemplate" templatetype="template" date="1255541788" username="ابو راشد" version=""><![CDATA[<if condition="$show['posttemplates']">
<tr><td class="thead">$vbphrase[post_templates]</td></tr>
<tr><td class="$navclass[posttemplates]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=posttemplates">$vbphrase[manage_post_templates]</a></td></tr>
</if>]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>قراءة المجموعات</title>
			<hookname>admin_options_processing</hookname>
			<phpcode><![CDATA[if (is_array($settings['mwaextraedit4_hide_showusergroup']))
{
	$settings['mwaextraedit4_hide_showusergroup'] = implode(',', $settings['mwaextraedit4_hide_showusergroup']);
}

if (is_array($settings['mwaextraedit4_hide_notforum']))
{
	$settings['mwaextraedit4_hide_notforum'] = implode(',', $settings['mwaextraedit4_hide_notforum']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>العبارات الجاهزة ــ تجهيزات الأجاكس</title>
			<hookname>ajax_complete</hookname>
			<phpcode><![CDATA[$mwaextraedit4_canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
$mwaextraedit4_canusedef		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use_defined'];

if ($_POST['do'] == 'posttemplate' && ($mwaextraedit4_canuse || $mwaextraedit4_canusedef))
{
	$vbulletin->input->clean_array_gpc('p', array(
		'wysiwyg'	=> TYPE_BOOL,
		'template'	=> TYPE_INT,
		'allowsmilie'	=> TYPE_BOOL,
	));

	$xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml');

	$clause = array();

	if ($mwaextraedit4_canuse)
	{
		$clause[] = 'userid=' . $vbulletin->userinfo['userid'];
	}

	if ($mwaextraedit4_canusedef)
	{
		$clause[] = 'global=1';
	}

	$clause = implode(' or ', $clause);

	if (!$template = $vbulletin->db->query_first("select content from " . TABLE_PREFIX . "posttemplate where pid={$vbulletin->GPC['template']} and ($clause) and type='template'"))
	{
		$xml->add_tag('error', 'true');
		$xml->print_xml();
		exit;
	}

	$template = $template['content'];

	if ($vbulletin->GPC['wysiwyg'])
	{
		require_once(DIR . '/includes/functions_wysiwyg.php');

		$template = process_replacement_vars(parse_wysiwyg_html(htmlspecialchars_uni($template), false, $vbulletin->GPC['parsetype'], $vbulletin->GPC['allowsmilie']));
	}

	$xml->add_tag('message', $template);
	$xml->print_xml();
	exit;
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ الأرشيف</title>
			<hookname>archive_thread_post</hookname>
			<phpcode><![CDATA[$post['pagetext_simp'] = strip_bbcode(preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase[mwaextraedit4_hide_has_hidden], $post['pagetext']));
			if ($vbulletin->options['wordwrap'] != 0){
				$post['pagetext_simp'] = fetch_word_wrapped_string($post['pagetext_simp']);
			}
			$post['pagetext_simp'] = fetch_censored_text($post['pagetext_simp']);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>عدم تفعيل البي بي كود في المحرر المرئي</title>
			<hookname>bbcode_create</hookname>
			<phpcode><![CDATA[if ($this->is_wysiwyg())
{

$this->unparsed_tags = array(
		'hide',
		'frame',
		'grade',
		'poem',
		'flash',
		'flash1',
		'line',
		'bimg',
		'imgr',
		'imgl',
		'rams',
		'ramv',
		'media',
		'glint',
		'bor',
		'glow',
		'glow1',
		'gdwl',
		'motr',
		'motr1',
		'mklb2',
		'rainbow',
		'table1',
		'cell',
		'mark',
		'table',
		'tr',
		'td',
		'fieldset',
		'info',
		'caution',
		'warning',
		'align',
		'web',
		'read1',
		'read',
		'type',
		'marq',
		'thread',
		'post',
		'quote',
		'highlight',
		'noparse',

);

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل البي بي كود 2</title>
			<hookname>bbcode_fetch_tags</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_flash_active'])
{

//[flash]
                       function handle_flash(&$parser, $param, $option)
                       {
                                $param = str_replace(array("'", ';', '(', ')', '.','on'),'',$param);
                                $param = preg_replace('@<[\/\!]*?[^<>]*?>@si', '', $param);
                                return '<embed src="' . $option . '" ' . $param . ' quality="high" loop="false" menu="false" TYPE="application/x-shockwave-flash" AllowScriptAccess="never" nojava="true"></embed>';
                       }
                       $tag_list['option']['flash'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_flash',
                                'strip_empty' => true,
                       );
}

if ($vbulletin->options['mwaextraedit4_setting_flash_active'])
{

//[flash1]
                       function handle_flash1(&$parser, $param, $option)
                       {
                                $param = str_replace(array("'", ';', '(', ')', '.','on'),'',$param);
                                $param = preg_replace('@<[\/\!]*?[^<>]*?>@si', '', $param);
                                return '<embed src="' . $option . '" ' . $param . ' quality="high" loop="false" menu="false" TYPE="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="never" nojava="true"></embed>';
                       }
                       $tag_list['option']['flash1'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_flash1',
                                'strip_empty' => true,
                       );
}

if ($vbulletin->options['mwaextraedit4_setting_line_active'])
{

//[line]
                       function handle_line(&$parser, $param, $option)
                       {
                                return '<hr size=5>';
                       }
                       $tag_list['no_option']['line'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_line',
                                'strip_empty' => true,
                       );
}

if ($vbulletin->options['mwaextraedit4_setting_bimg_active'])
{

//[bimg]

                      function handle_bimg(&$parser, $param)
                      {
                            $param = str_replace(array("'", ';', '(', ')','on'), '', $param);
                            $param = preg_replace('@<[\/\!]*?[^<>]*?>@si', '', $param);
                            return '<a href="' . $param . '" target="_blank"><img src="' . $param . '" border="0" width="250" alt="تستطيع أن ترى الصورة بحجمها الطبيعي بعد الضغط عليها" /></a>';
                      }

                      $tag_list['no_option']['bimg'] = array
                      (
                           'callback' => 'handle_external',
                           'external_callback' => 'handle_bimg',
                           'strip_empty' => true,
                           'disable_smilies' => true,
                           'disable_wordwrap' => true,
                           'stop_parse' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_imgrimgl_active'])
{

//[imgr]
                      $tag_list['no_option']['imgr'] = array
                      (
                           'html' => '<img src="%1$s" border="0" align="right">',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_imgrimgl_active'])
{

//[imgl]
                      $tag_list['no_option']['imgl'] = array
                      (
                           'html' => '<img src="%1$s" border="0" align="left">',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_reala_active'])
{

//[rams]
                      $tag_list['no_option']['rams'] = array
                      (
                           'html' => '<embed SRC="%1$s" type="audio/x-pn-realaudio-plugin" CONSOLE="%1$s" CONTROLS="ControlPanel,StatusBar" HEIGHT="60" WIDTH="300" AUTOSTART="false" AllowScriptAccess="never" nojava="true"></embed>',
                           'strip_empty' => true
                      );

//[ramv]
                      $tag_list['no_option']['ramv'] = array
                      (
                           'html' => '<embed SRC="%1$s" type="audio/x-pn-realaudio-plugin" CONSOLE="%1$s" CONTROLS="ImageWindow,ControlPanel,StatusBar" HEIGHT="350" WIDTH=400" AUTOSTART="false" AllowScriptAccess="never" nojava="true"></embed>',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_mediap_active'])
{

//[media]
                      $tag_list['no_option']['media'] = array
                      (
                           'html' => '<embed src="%1$s" HEIGHT="350" WIDTH=400" AUTOSTART="false" AllowScriptAccess="never" nojava="true"></embed>',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_glint_active'])
{

//[glint]

$tag_list['no_option']['glint'] = array
(
'html' => '<div tag="1" id="myglinttext" style="filter:alpha(opacity=0);width:100%%;padding:3;margin:-3">%1$s</div>',
'strip_empty' => true
);
}

if ($vbulletin->options['mwaextraedit4_setting_bor_active'])
{

//[bor]
                           $tag_list['option']['bor'] = array
                          (
                          'html' =>'<table border="1" cellspacing="5" style="border-collapse: collapse; border-style: dashed; border-width: 4px; padding: 0" width="98%%" bordercolor="%2$s"><tr><td>%1$s</td></tr></table>',
                          'strip_empty' => true
                          );
}

if ($vbulletin->options['mwaextraedit4_setting_gdwl_active'])
{

//[gdwl]

$tag_list['no_option']['gdwl'] = array
(
'html' =>'<table border="0" id="myexample" style="border:5px solid red"><td>%1$s</td></table>',
'strip_empty' => false
);
}

if ($vbulletin->options['mwaextraedit4_setting_motr_active'])
{

//[motr]

$tag_list['no_option']['motr'] = array
(
'html' =>'<marquee style="&lt;br; text-align:center" behavior="alternate" direction="center">%1$s</marquee>',
'strip_empty' => true
);
}

if ($vbulletin->options['mwaextraedit4_setting_motr1_active'])
{

//[motr1]

$tag_list['no_option']['motr1'] = array
(
'html' =>'<marquee style="&lt;br; text-align:center" behavior="alternate" direction="up">%1$s</marquee>',
'strip_empty' => true
);

}

if ($vbulletin->options['mwaextraedit4_setting_mklb2_active'])
{

//[mklb2]

$tag_list['no_option']['mklb2'] = array
(
'html' =>'<style>
.myStyle { writing-mode: tb-rl;
filter: flipH() flipV();
}
</style>
<span class="myStyle">%1$s</span>',
'strip_empty' => false
);

}

if ($vbulletin->options['mwaextraedit4_rainbow_setting_active'])
{

//[rainbow]

$tag_list['no_option']['rainbow'] = array
(
'html' =>'<div onmouseover="doRainbow(this);" onmouseout="stopRainbow();">%1$s</div>',
'strip_empty' => true
);
}

if ($vbulletin->options['mwaextraedit4_setting_glow_active'])
{

//[glow]
                           $tag_list['option']['glow'] = array
                          (
                          'html' =>'<div style="filter:glow(Color=%2$s,Strength=5); width:100%%;padding:0;margin:-0">%1$s</div>',
                          'option_regex' => '#^\#?\w+$#',
                          'strip_empty' => true
                          );
}

if ($vbulletin->options['mwaextraedit4_setting_glow1_active'])
{

//[glow1]
                           $tag_list['option']['glow1'] = array
                          (
                          'html' =>'<div style="filter:glow(Color=%2$s,Strength=0); width:100%%;padding:0;margin:-0">%1$s</div>',
                          'option_regex' => '#^\#?\w+$#',
                          'strip_empty' => true
                          );
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل البي بي كود 1</title>
			<hookname>bbcode_fetch_tags</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_frame_active'])
{

//[frame]

function handle_frame(&$parser, $param, $option)
{
     $option1 = substr($option, 0, 2);;
     $option2 = strrchr($option, ' ');
     $option1 = intval($option1);
     $option2 = intval($option2);
     if($option1 > 15 || $option1 < 1)
     $option1 = 1;
     if($option2 > 100 OR $option2 <= 0)
     $option2 = 98;
     if($option2 == 10)
     $option2 = 100;
     $frame = '<center><table border="0" width="' . $option2 . '%" cellpadding="0" cellspacing="0"><tr>
<td><img border="0" src="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/tr' . $option1 . '.gif"></td>
<td width="' . $option2 . '%" background="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/t' . $option1 . '.gif"></td>
<td><img border="0" src="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/tl' . $option1 . '.gif"></td>
</tr><tr><td background="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/r' . $option1 . '.gif"></td>
<td width="100%" background="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/' . $option1 . '.gif" style="padding:5">' . $param . '</td>
<td background="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/l' . $option1 . '.gif"></td>
</tr><tr><td><img border="0" src="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/br' . $option1 . '.gif"></td>
<td width="' . $option2 . '%" background="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/b' . $option1 . '.gif"></td>
<td><img border="0" src="' . $vbulletin->options['bburl'] . 'mwaextraedit4/frames/bl' . $option1 . '.gif"></td>
</tr></table></center>';
      return $frame;
}

$tag_list['option']['frame'] = array
(
'callback' => 'handle_external',
'external_callback' => 'handle_frame',
'strip_empty' => true,
);
}

if ($vbulletin->options['mwaextraedit4_setting_gradient_active'])
{

//[grade]

function handle_grade(&$parser, $param, $param1)
{
$param1 = str_replace('\\"', '"', $param1);
$param1 = str_replace('&quot;', '"', $param1);
$param1_find = array('/([a-z]+:)/si', '/&(?![a-z0-9#]+;)/si', '/&[a-z]+;([a-z0-9#]+;)/si', '/`/si', '/\'/si');
$param1_replace = array('', '', '', '', '');
$param1 = preg_replace($param1_find, $param1_replace, $param1);
$param1 = str_replace('"', '&quot;', $param1);
$param1 = preg_replace('@<[\/\!]*?[^<>]*?>@si', '',
$param1);
$html = '<div id="mygradient" title="'.$param1.'" style="display:none">' . $param . '</div><script>drawGradient()</script>';
return $html;
}

$tag_list['option']['grade'] = array
(
'callback' => 'handle_external',
'external_callback' => 'handle_grade',
'strip_empty' => true,
'stop_parse' => true,
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 1
);
}

if ($vbulletin->options['mwaextraedit4_setting_poem_active'])
{

//[poem]

function poemtext_get($message){
          $msg = '';
          $message = preg_split('/\r/',$message);
          foreach( $message as $line ){
          if(preg_match('/(.*)=(.*)/', $line)){
	    $msg .= $line . "\n";
          }
          }
          return $msg;
}

                      function handle_poem(&$parser, $param, $option)
                       {
                              $option_find = array('/([a-z]+:)/si', '/&(?![a-z0-9#]+;)/si', '/&[a-z]+;([a-z0-9#]+;)/si', '/`/si', '/\'/si');
                              $option = preg_replace($option_find, '', $option);
                              $option = str_replace('&quot;', '"', $option);
                              $option = str_replace(array(";", "(", ")"), "", $option);
                              $option = str_replace('"', '&quot;', $option);
                              $msg = '';
                              $param = preg_split('/\r/', $param);
                              foreach( $param as $line )
                              {
                                         if(preg_match('/(.*)=(.*)/', $line))
                                         {
                                                 $msg .= $line . "\n";
                                         }
                              }
                              return '<div tag="' . $option .'">' . $msg . '</div><script>doPoem(0)</script>';
                       }

$tag_list['option']['poem'] = array
(
'callback' => 'handle_external',
'external_callback' => 'handle_poem',
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 1,
'strip_empty' => true,
);
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل البي بي كود 3</title>
			<hookname>bbcode_fetch_tags</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_text_active'])
{

//[table1]
                       function handle_table1(&$parser, $param, $option)
                       {
                                return '<table style="' . $option . '"><tr>' .$param . '</tr></table>';
                       }
                       $tag_list['option']['table1'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_table1',
                                'strip_empty' => true,
                       );

//[cell]
                       function handle_cell(&$parser, $param, $option)
                       {
                                return '<td style="' .$option . '">' .$param . '</td>';
                       }
                       $tag_list['option']['cell'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_cell',
                                'strip_empty' => true,
                       );

}

if ($vbulletin->options['mwaextraedit4_setting_mark_active'])
{

//[mark]
                      $tag_list['option']['mark'] = array
                      (
                           'html' => '<span style="background-color: %2$s">%1$s</span>',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_table_active'])
{

//[table]
                      $tag_list['option']['table'] = array
                      (
                           'html' => '<center><table width=%2$s cellpadding=2 cellspacing=0 border=1 class=tborder>%1$s</table></center>',
                           'strip_empty' => true
                      );

//[tr]
                      $tag_list['option']['tr'] = array
                      (
                           'html' => '<tr class=%2$s>%1$s</tr>',
                           'strip_empty' => true
                      );

//[td]
                      $tag_list['no_option']['td'] = array
                      (
                           'html' => '<td align=center><normalfont>%1$s</font></td>',
                           'strip_empty' => true
                      );
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل البي بي كود 5</title>
			<hookname>bbcode_fetch_tags</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_read_active'])
{

//[read]
                      $tag_list['no_option']['read'] = array
                      (
                           'html' => '<DIV class="randomcolor" style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: gray 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: gray 1px solid;">%1$s</div>',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_type_active'])
{

//[type]
                      $tag_list['option']['type'] = array
                      (
                           'html' => '<DIV id="%2$s" align="right" class="randomcolor" style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: gray 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: gray 1px solid;">%1$s</div>
<script type="text/javascript">
new TypingText(document.getElementById("%2$s"));
TypingText.runAll();
</script>',
                           'strip_empty' => true
                      );
}

if ($vbulletin->options['mwaextraedit4_setting_marq_active'])
{

//[marq]
                      $tag_list['no_option']['marq'] = array
                      (
                           'html' => '<style type="text/css">

#marqueecontainer{
position: relative;
width: 98%; /*marquee width */
height: 100px; /*marquee height */
overflow: hidden;
padding: 8px;
padding-left: 8px;
padding-right: 8px;
}

</style><div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed" align="right" class="randomcolor" style="height: 100px; BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; BORDER-BOTTOM: gray 1px solid;">
<div id="vmarquee" style="padding-left: 8px; padding-right: 8px; position: absolute; width: 100%;" align="right">
%1$s
</div></div>',
                           'strip_empty' => true
                      );
}
if ($vbulletin->options['mwaextraedit4_hide_active'])
{

//[hide]
                      $tag_list['no_option']['hide'] = array
                      (
                           'html' => '[hide]%1$s[/hide]',
                           'strip_empty' => true
                      );
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل البي بي كود 4</title>
			<hookname>bbcode_fetch_tags</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_moretext_active'])
{

//[fieldset]
                       function handle_fieldset(&$parser, $param, $option)
                       {
                                return '<table width="98%" border="0" cellpadding="2" cellspacing="2"><tr><td><fieldset class="fieldset"><legend>' . $option . '</legend>' . $param . '</fieldset></td></tr></table>';
                       }
                       $tag_list['option']['fieldset'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_fieldset',
                                'strip_empty' => true,
                       );

}

if ($vbulletin->options['mwaextraedit4_setting_info_active'])
{

//[info]
                       function handle_info(&$parser, $param, $option)
                       {
                                return '<table class="tborder" cellpadding="3" cellspacing="3" border="1" border="0" width="98%" align="center"><tr><td class="thead" align="right">ملاحظة : </td></tr><tr><td bgcolor="#FFFFFF" valign="top" style="color: #000000; border: 1px solid #000000" align="right"><img border="0" src="mwaextraedit4/buttons/info1.gif" align="right">' . $param . '</td></tr></table>';
                       }
                       $tag_list['no_option']['info'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_info',
                                'strip_empty' => true,
                       );
}

if ($vbulletin->options['mwaextraedit4_setting_caution_active'])
{

//[caution]
                       function handle_caution(&$parser, $param, $option)
                       {
                                return '<table class="tborder" cellpadding="3" cellspacing="3" border="1" border="0" width="98%" align="center"><tr><td class="thead" align="right">تنبيه : </td></tr><tr><td bgcolor="#FFFFD5" valign="top" style="color: #000000; border: 1px solid #000000" align="right"><img border="0" src="mwaextraedit4/buttons/caution1.gif" align="right">' . $param . '</td></tr></table>';
                       }
                       $tag_list['no_option']['caution'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_caution',
                                'strip_empty' => true,
                       );
}

if ($vbulletin->options['mwaextraedit4_setting_warning_active'])
{

//[warning]
                       function handle_warning(&$parser, $param, $option)
                       {
                                return '<table class="tborder" cellpadding="3" cellspacing="3" border="1" border="0" width="98%" align="center"><tr><td class="thead" align="right">تحذير : </td></tr><tr><td bgcolor="#FFD7D7" valign="top" style="color: #000000; border: 1px solid #000000" align="right"><img border="0" src="mwaextraedit4/buttons/warning1.gif" align="right">' . $param . '</td></tr></table>';
                       }
                       $tag_list['no_option']['warning'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_warning',
                                'strip_empty' => true,
                       );

}

//[align]
                       function handle_align(&$parser, $param, $option)
                       {
                                return '<div align="' . $option . '">' . $param . '</div>';
                       }
                       $tag_list['option']['align'] = array
                       (
                                'callback' => 'handle_external',
                                'external_callback' => 'handle_align',
                                'strip_empty' => true,
                       );

if ($vbulletin->options['mwaextraedit4_setting_web_active'])
{

//[web]
                      $tag_list['no_option']['web'] = array
                      (
                           'html' => '<iframe width="90%%" height="500" src="%1$s"></iframe>',
                           'strip_empty' => true
                      );
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تحويل الصور آليا إلى بي بي كود لتعرض مباشرة</title>
			<hookname>bbcode_parse_start</hookname>
			<phpcode><![CDATA[$text = @preg_replace('#\[url\]http://(.*)\.(gif|jpg|png|bmp)\[\/url\]#siU', '[IMG]http://\\1.\\2[/IMG]', $text);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ كاش القوالب</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[if (THIS_SCRIPT === showthread){
				$globaltemplates  = array_merge($globaltemplates, array('mwaextraedit4_hide_head', 'mwaextraedit4_hide_noaccess'));
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>كاش القوالب</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

$globaltemplates[] = 'postbit_quickedit';
$globaltemplates[] = 'mwaextraedit4_openclose';
$globaltemplates[] = 'pm_quickreply';

$mwaextraedit4_smileqrqe_qr = ((THIS_SCRIPT == 'showthread') AND ($vbulletin->options['quickreply'] > 0));
$mwaextraedit4_smileqrqe_qe = ((THIS_SCRIPT == 'ajax') AND ($vbulletin->options['quickedit'] > 0));

	$globaltemplates = array_merge($globaltemplates, array(
		'editor_smilie',
		'editor_smiliebox',
		'editor_smiliebox_row',
		'editor_smiliebox_straggler',
		'newpost_disablesmiliesoption',
		'mwaextraedit4_smileqrqe_editor_button',
	));

$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_editaor_smilie'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_editor_smiliebox'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_posticons'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_posticonbit'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_buttons'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_buttons'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_flash'));
$globaltemplates = array_merge($globaltemplates, array('editor_smilie'));
$globaltemplates = array_merge($globaltemplates, array('editor_smiliebox'));
$globaltemplates = array_merge($globaltemplates, array('editor_smiliebox_row'));
$globaltemplates = array_merge($globaltemplates, array('newpost_attachment'));
$globaltemplates = array_merge($globaltemplates, array('newpost_attachmentbit'));
$globaltemplates = array_merge($globaltemplates, array('newpost_disablesmiliesoption'));

if(THIS_SCRIPT == 'newreply')
{
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_bbcode_table_2nd'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_bbcode_table_output'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_bbcode_table_td'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_bbcode_table_tr'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_bbcode_table'));
}

if ($vbulletin->options['mwaextraedit4_quickreply_setting_active'])
{
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_buttonsq'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_buttonsqe'));
$globaltemplates = array_merge($globaltemplates, array('mwaextraedit4_quickreply_addon',));
}

if ($vbulletin->options['mwaextraedit4_setting_quran_active'])
{
	$globaltemplates[] = 'mwaextraedit4_quran';
}

if (!$show['editor_css'] && THIS_SCRIPT == 'profile' && in_array($_REQUEST['do'], array('mwaextraedit4_addtemplate', 'mwaextraedit4_edittemplate')))
{
	$globaltemplates = array_merge($globaltemplates, array(
		'editor_toolbar_on',
		'editor_smilie',
		'editor_css',
		'editor_clientscript',
		'editor_toolbar_off',
		'editor_jsoptions_font',
		'editor_jsoptions_size',
		'editor_smiliebox',
		'editor_smiliebox_category',
		'editor_smiliebox_row',
		'editor_smiliebox_straggler',
		'bbcode_code',
		'bbcode_html',
		'bbcode_php',
		'bbcode_quote',
		'newpost_threadmanage',
		'newpost_disablesmiliesoption',
		'newpost_preview',
		'newpost_quote',
		'posticonbit',
		'posticons',
		'newpost_usernamecode',
		'newpost_errormessage',
		'forumrules'
	));

	$show['editor_css'] = true;
}

if ($show['editor_css'])
{
	$globaltemplates[] = 'editor_posttemplates';
	$globaltemplates[] = 'editor_posttemplates_js';
}

if (THIS_SCRIPT == 'profile')
{
	$globaltemplates[] = 'modifyposttemplates';
	$globaltemplates[] = 'modifyposttemplates_category';
	$globaltemplates[] = 'modifyposttemplates_template';
	$globaltemplates[] = 'modifyposttemplates_editcategory';
	$globaltemplates[] = 'modifyposttemplates_edittemplate';
}

if (in_array('USERCP_SHELL', $globaltemplates))
{
	$globaltemplates[] = 'usercp_nav_posttemplate';
}
if (THIS_SCRIPT == 'showthread')
{
	$globaltemplates[] = 'editor_posttemplates';
	$globaltemplates[] = 'editor_posttemplates_js';
}

$globaltemplates[] = 'editor_jsoptions_font';

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل الأزرار</title>
			<hookname>editor_toolbar_end</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
eval('$vBeditTemplate[extrabuttonsq] .= "' . fetch_template('mwaextraedit4_buttonsq') . '";');
eval('$vBeditTemplate[extrabuttonsqe] .= "' . fetch_template('mwaextraedit4_buttonsqe') . '";');
eval('$vBeditTemplate[posttemplates] .= "' . fetch_template('editor_posttemplates') . '";');

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>العبارات الجاهزة ــ الرد السريع</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if (($vbulletin->options[mwaextraedit4_setting_readytext_active] == 1) or ($vbulletin->options[mwaextraedit4_setting_readytext_active] == 3))
{

	$mwaextraedit4_canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
	$mwaextraedit4_canusedef		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use_defined'];

	if (($mwaextraedit4_canuse || $mwaextraedit4_canusedef) && !$vbulletin->GPC['ajax'])
	{
		$templates = array();
		$categories = array();
		$mainbuild = array();
		$clause = array();
		$posttemplates_js = '';

		if ($mwaextraedit4_canuse)
		{
			$clause[] = 'userid=' . $vbulletin->userinfo['userid'];
		}

		if ($mwaextraedit4_canusedef)
		{
			$clause[] = 'global=1';
		}

		$clause = implode(' or ', $clause);

		$get_templates = $vbulletin->db->query("select pid, parentid, type, title from " . TABLE_PREFIX . "posttemplate where $clause order by global,type,title");
		while ($template = $vbulletin->db->fetch_array($get_templates))
		{
			if ($template['type'] == 'category')
			{
				$categories[] = $template;
			}
			else
			{
				$templates[] = $template;
			}
		}

		foreach ($categories as $category)
		{
			$build = array();
			$temps = false;

			foreach ($templates as $template)
			{
				if ($template['parentid'] == $category['pid'])
				{
					$temps = true;
					$build[] = "\t\t'$template[pid]'\t:\t'" . addslashes_js($template['title']) . "'";
				}
			}

			if (!$temps)
			{
				continue;
			}

			$mainbuild[] = "\t'" . addslashes_js($category['title']) . "' : {\n" . implode(",\n", $build) . "\n\t}";
		}

		if (!empty($mainbuild))
		{
			$mainbuild = implode(",\n", $mainbuild);

			$vbulletin->templatecache['showthread_quickreply'] = str_replace('<td><div class=\"imagebutton\" id=\"{$editorid}_cmd_bold\">', fetch_template('editor_posttemplates') . '<td><div class=\"imagebutton\" id=\"{$editorid}_cmd_bold\">', $vbulletin->templatecache['showthread_quickreply']);
		$vbulletin->templatecache[$editor_template_name] .= fetch_template('editor_posttemplates_js');
		}
	}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>استبدال قوالب الرد السريع في الرسائل الخاصة</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_smileqrqe_setting_active'])
{
require_once(DIR . '/includes/adminfunctions_template.php');
$find_string = compile_template('<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>');
$add_string = fetch_template('mwaextraedit4_smileqrqe_editor_button');
$vbulletin->templatecache['pm_quickreply'] = str_replace($find_string, $find_string . $add_string, fetch_template('pm_quickreply'));
}
if ($vbulletin->options['mwaextraedit4_quickreply_setting_active'])
{
$search_text = '</tr>
	</table>
</div>';
$vbulletin->templatecache['pm_quickreply'] = str_replace($search_text,'</tr>
	</table>
 <table><tr>$vBeditTemplate[extrabuttonsq]</tr></table></div>',$vbulletin->templatecache['pm_quickreply']);
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$stylevar[formwidth] = '99%';
$stylevar[formwidth_usercp] = '99%';
$stylevar[messagewidth] = '99%';
$stylevar[messagewidth_usercp] = '99%';
$search_text = '<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">';
$replace_text = '<center><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">';
$vbulletin->templatecache['pm_quickreply'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['pm_quickreply']);
$search_text = '<td width=\"100%\">&nbsp;</td>';
$replace_text = ' ';
$vbulletin->templatecache['pm_quickreply'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['pm_quickreply']);
}
}

if (($vbulletin->options[mwaextraedit4_setting_readytext_active] == 1) or ($vbulletin->options[mwaextraedit4_setting_readytext_active] == 3))
{
if (THIS_SCRIPT == 'private')
{
	$mwaextraedit4_canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
	$mwaextraedit4_canusedef		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use_defined'];

	if (($mwaextraedit4_canuse || $mwaextraedit4_canusedef) && !$vbulletin->GPC['ajax'])
	{
		$templates = array();
		$categories = array();
		$mainbuild = array();
		$clause = array();
		$posttemplates_js = '';

		if ($mwaextraedit4_canuse)
		{
			$clause[] = 'userid=' . $vbulletin->userinfo['userid'];
		}

		if ($mwaextraedit4_canusedef)
		{
			$clause[] = 'global=1';
		}

		$clause = implode(' or ', $clause);

		$get_templates = $vbulletin->db->query("select pid, parentid, type, title from " . TABLE_PREFIX . "posttemplate where $clause order by global,type,title");
		while ($template = $vbulletin->db->fetch_array($get_templates))
		{
			if ($template['type'] == 'category')
			{
				$categories[] = $template;
			}
			else
			{
				$templates[] = $template;
			}
		}

		foreach ($categories as $category)
		{
			$build = array();
			$temps = false;

			foreach ($templates as $template)
			{
				if ($template['parentid'] == $category['pid'])
				{
					$temps = true;
					$build[] = "\t\t'$template[pid]'\t:\t'" . addslashes_js($template['title']) . "'";
				}
			}

			if (!$temps)
			{
				continue;
			}

			$mainbuild[] = "\t'" . addslashes_js($category['title']) . "' : {\n" . implode(",\n", $build) . "\n\t}";
		}

		if (!empty($mainbuild))
		{
			$mainbuild = implode(",\n", $mainbuild);

$find_string = compile_template('<td><div class="imagebutton" id="{$editorid}_cmd_bold');
$add_string = fetch_template('editor_posttemplates');
$vbulletin->templatecache['pm_quickreply'] = str_replace($find_string, $add_string . $find_string, fetch_template('pm_quickreply'));
// $vbulletin->templatecache[$editor_template_name] .= fetch_template('editor_posttemplates_js');
		}
	}
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>استبدال قوالب التحرير السريع</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_quickedit_setting_active'])
{
require_once(DIR . '/includes/adminfunctions_template.php');
$find_string = compile_template('</tr>
		</table>
	</div>');
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$add_string = '<center><table><tr>$vBeditTemplate[extrabuttonsqe]';
}
else
{
$add_string = '<table><tr>$vBeditTemplate[extrabuttonsqe]';
}
$vbulletin->templatecache['postbit_quickedit'] = str_replace($find_string, $add_string . $find_string, fetch_template('postbit_quickedit'));
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$find_string = compile_template('<table cellpadding="0" cellspacing="0" border="1" align="center" width="95%" id="{$editorid}_editor">');
$add_string = '<center><table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" align=\"center\" width=\"95%\" id=\"{$editorid}_editor\">';
$vbulletin->templatecache['postbit_quickedit'] = str_replace($find_string, $add_string, fetch_template('postbit_quickedit'));
$find_string = compile_template('<td width="100%">&nbsp;</td>');
$add_string = ' ';
$vbulletin->templatecache['postbit_quickedit'] = str_replace($find_string, $add_string, fetch_template('postbit_quickedit'));
}
}
if ($vbulletin->options['mwaextraedit4_smileqrqe_setting_active'])
{
$find_string = compile_template('<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>');
$add_string = fetch_template('mwaextraedit4_smileqrqe_editor_button');
$vbulletin->templatecache['postbit_quickedit'] = str_replace($find_string, $find_string . $add_string, fetch_template('postbit_quickedit'));
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>استبدال قوالب الرد السريع والتحرير السريع</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_smileqrqe_setting_active'])
{

$editor_type = 'fe';

require_once(DIR . '/includes/adminfunctions_template.php');
$find_string = compile_template('<td width="100%">&nbsp;</td>');
$add_string = fetch_template('mwaextraedit4_smileqrqe_editor_button');
$vbulletin->templatecache['showthread_quickreply'] = str_replace($find_string, $add_string . $find_string, $vbulletin->templatecache['showthread_quickreply']);
}

if ($vbulletin->options['mwaextraedit4_quickreply_setting_active'])
{
$search_text = '</table>
</div>
';
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$stylevar[formwidth] = '99%';
$stylevar[formwidth_usercp] = '99%';
$stylevar[messagewidth] = '99%';
$stylevar[messagewidth_usercp] = '99%';
$replace_text = '</table><center><table><tr>$vBeditTemplate[extrabuttonsq]</tr> </table>
</div>
';
}
else
{
$replace_text = '</table><table><tr>$vBeditTemplate[extrabuttonsq]</tr> </table>
</div>
';
}
$vbulletin->templatecache['showthread_quickreply'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['showthread_quickreply']);
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$search_text = '<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">';
$replace_text = '<center><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">';
$vbulletin->templatecache['showthread_quickreply'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['showthread_quickreply']);
$search_text = '<td width=\"100%\">&nbsp;</td>';
$replace_text = ' ';
$vbulletin->templatecache['showthread_quickreply'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['showthread_quickreply']);
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="4">
			<title>العبارات الجاهزة ــ المحرر العادي</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if (($vbulletin->options[mwaextraedit4_setting_readytext_active] == 1) or ($vbulletin->options[mwaextraedit4_setting_readytext_active] == 2))
{
$mwaextraedit4_canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
$mwaextraedit4_canusedef		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use_defined'];

if (($mwaextraedit4_canuse || $mwaextraedit4_canusedef) && !$vbulletin->GPC['ajax'] && $editor_type == 'fe' && (!in_array($_REQUEST['do'], array('mwaextraedit4_addtemplate', 'mwaextraedit4_edittemplate'))))
{
	$templates = array();
	$categories = array();
	$mainbuild = array();
	$clause = array();
	$posttemplates_js = '';

	if ($mwaextraedit4_canuse)
	{
		$clause[] = 'userid=' . $vbulletin->userinfo['userid'];
	}

	if ($mwaextraedit4_canusedef)
	{
		$clause[] = 'global=1';
	}

	$clause = implode(' or ', $clause);

	$get_templates = $vbulletin->db->query("select pid, parentid, type, title from " . TABLE_PREFIX . "posttemplate where $clause order by global,type,title");
	while ($template = $vbulletin->db->fetch_array($get_templates))
	{
		if ($template['type'] == 'category')
		{
			$categories[] = $template;
		}
		else
		{
			$templates[] = $template;
		}
	}

	foreach ($categories as $category)
	{
		$build = array();
		$temps = false;

		foreach ($templates as $template)
		{
			if ($template['parentid'] == $category['pid'])
			{
				$temps = true;
				$build[] = "\t\t'$template[pid]'\t:\t'" . addslashes_js($template['title']) . "'";
			}
		}

		if (!$temps)
		{
			continue;
		}

		$mainbuild[] = "\t'" . addslashes_js($category['title']) . "' : {\n" . implode(",\n", $build) . "\n\t}";
	}

	if (!empty($mainbuild))
	{
		$mainbuild = implode(",\n", $mainbuild);

		$vbulletin->templatecache['editor_toolbar_on'] = str_replace('<td><div class=\"imagebutton\" id=\"{$editorid}_popup_forecolor\"', fetch_template('editor_posttemplates') . '<td><div class=\"imagebutton\" id=\"{$editorid}_popup_forecolor\"', $vbulletin->templatecache['editor_toolbar_on']);
//		$vbulletin->templatecache[$editor_template_name] .= fetch_template('editor_posttemplates_js');
	}
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>إضافة قائمة الخط وقائمة حجم الخط</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
$mwaextraedit4_quickreply_addon = '<td><div class=\"imagebutton\" id=\"{$editorid}_cmd_removeformat\"><img src=\"$stylevar[imgdir_editor]/removeformat.gif\" width=\"21\" height=\"20\" alt=\"$vbphrase[remove_text_formatting]\" /></div></td>';
$vbulletin->templatecache['showthread_quickreply'] = str_replace($mwaextraedit4_quickreply_addon,$mwaextraedit4_quickreply_addon.fetch_template('mwaextraedit4_quickreply_addon'),$vbulletin->templatecache['showthread_quickreply']);

$vbulletin->templatecache['pm_quickreply'] = str_replace($mwaextraedit4_quickreply_addon,$mwaextraedit4_quickreply_addon.fetch_template('mwaextraedit4_quickreply_addon'),$vbulletin->templatecache['pm_quickreply']);

$vbulletin->templatecache['postbit_quickedit'] = str_replace($mwaextraedit4_quickreply_addon,$mwaextraedit4_quickreply_addon.fetch_template('mwaextraedit4_quickreply_addon'),$vbulletin->templatecache['postbit_quickedit']);

if (THIS_SCRIPT == 'showthread' AND ($editor_type == 'qr'))
{
$editor_type = 'fe';
}

if (THIS_SCRIPT == 'private' AND ($editor_type == 'qr'))
{
$editor_type = 'fe';
}

if (THIS_SCRIPT == 'showthread' AND ($editor_type == 'qe'))
{
$editor_type = 'fe';
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>استبدال قوالب محرر المواضيع</title>
			<hookname>editor_toolbar_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
unset($search_text , $search_text1 , $replace_text);

if (($vbulletin->options[mwaextraedit4_setting_readytext_active] == 1) or ($vbulletin->options[mwaextraedit4_setting_readytext_active] == 2))
{
$vbulletin->templatecache['editor_toolbar_on'] = str_replace(' style=\"width:91px\"', '',$vbulletin->templatecache['editor_toolbar_on']);
unset($search_text , $search_text1 , $replace_text);
}

$search_text = '<div id=\"{$editorid}_controls\" class=\"controlbar\">';
$search_text1 = $vbulletin->templatecache['mwaextraedit4_buttons'];

if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$stylevar[formwidth] = '99%';
$stylevar[formwidth_usercp] = '99%';
$stylevar[messagewidth] = '99%';
$stylevar[messagewidth_usercp] = '99%';
$replace_text = '<center>' . $search_text . $search_text1;
}
else
{
$replace_text = $search_text . $search_text1;
}
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search_text, $replace_text,$vbulletin->templatecache['editor_toolbar_on']);
unset($search_text , $search_text1 , $replace_text);
if ($vbulletin->options['mwaextraedit4_center_setting_active'])
{
$search_text = '<td width=\"100%\">&nbsp;</td>';
$replace_text = ' ';
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['editor_toolbar_on']);
$search_text = '<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">
<tr>';
$replace_text = '<center><table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">
<tr>';
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['editor_toolbar_on']);
$search_text = '<td id=\"$editorid\" class=\"vBulletin_editor\" width=\"100%\">';
$replace_text = '<td id=\"$editorid\" class=\"vBulletin_editor\" align=\"center\" width=\"100%\">';
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['editor_toolbar_on']);
$search_text = '<tr valign=\"top\">
			<td class=\"controlbar\">';
$replace_text = '<tr valign=\"top\">
			<td class=\"controlbar\" width=\"100%\">';
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search_text,$replace_text,$vbulletin->templatecache['editor_toolbar_on']);
}
if ($vbulletin->options['mwaextraedit4_setting_smilesloc_active'])
{
$search = '<td class=\"controlbar\">$smiliebox</td>';
$replace = '</tr><tr><td class=\"controlbar\">$smiliebox</td></tr>';
$vbulletin->templatecache['editor_toolbar_on'] = str_replace($search, $replace, $vbulletin->templatecache['editor_toolbar_on']);
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تحديث المشاركات</title>
			<hookname>editpost_update_process</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

$edit['message'] = str_replace('[URL="http://[URL]','[URL="',$edit['message']);

$edit['message'] = str_replace('[/URL[/URL]]','[/URL]',$edit['message']);

if ($vbulletin->options['mwaextraedit4_setting_autovideo_active'])
{

preg_match_all("#http://video.yahoo.com/video/play\?(.*?)vid=(\d+)(&matchid)?#s",$edit['message'], $urlmatch);
	foreach ($urlmatch as $key => $urlmatch2) {
	 	if (($urlmatch[2][$key] != '') && (!preg_match('#matchid#s',$urlmatch[0][$key]))) {
		preg_match('#flashvars=\'id=(\d+)#s',file_get_contents("http://video.yahoo.com/video/play?vid=" . $urlmatch[2][$key]),$match);
		$edit['message'] = preg_replace("#(\[URL=\"|\[URL\])?(http://video.yahoo.com/video/play\?(.*?)vid=".$urlmatch[2][$key].")(\"\](.*?)\[/URL\]|(.*?)\[/URL\])?#i", "http://video.yahoo.com/video/play?vid=".$urlmatch[2][$key]."&matchid=$match[1]",$edit['message']);
		}
	}

}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ عرض المواضيع</title>
			<hookname>forumdisplay_query</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['threadpreview'] > 0){
				$hook_query_fields .= ", post.pagetext AS previewbbcode";
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title><![CDATA[استبدال آلي لإسم قاري الموضوع [you]]]></title>
			<hookname>global_complete</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_setting_you_active']) 
{
$output = str_replace('[you]', $vbulletin->userinfo['username'], $output);
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تجهيز CSS للخطوط في الصفحة</title>
			<hookname>global_complete</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_setting_extrafonts_active'])
{
define( "Arial", 1 );
define( "Tahoma", 2 );
define( "Mudir_MT", 4 );
define( "Andalus", 8 );
define( "Times_New_Roman", 16 );
define( "Simplified_Arabic", 32 );
define( "Traditional_Arabic", 64 );
define( "anaween", 128 );
define( "dekoor", 256 );
define( "diwani", 512 );
define( "electron", 1024 );
define( "entbah", 2048 );
define( "fanan", 4096 );
define( "hala", 8192 );
define( "hasan", 16384 );
define( "hor", 32768 );
define( "jamal", 65536 );
define( "jameel", 1 );
define( "kabeer", 2 );
define( "khashab", 4 );
define( "koufi", 8 );
define( "mateen", 16 );
define( "modawar", 32 );
define( "modhalal", 64 );
define( "momadad", 128 );
define( "momaiz", 256 );
define( "momawaj", 512 );
define( "mosanan", 1024 );
define( "mozakraf", 2048 );
define( "naskh", 4096 );
define( "rawa", 8192 );
define( "tohfah", 16384 );
define( "wadhih", 32768 );
define( "waragah", 65536 );
$mwashow['font_Arial'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Arial ? TRUE : FALSE;
$mwashow['font_Tahoma'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Tahoma ? TRUE : FALSE;
$mwashow['font_Mudir_MT'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Mudir_MT ? TRUE : FALSE;
$mwashow['font_Andalus'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Andalus ? TRUE : FALSE;
$mwashow['font_Times_New_Roman'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Times_New_Roman ? TRUE : FALSE;
$mwashow['font_Simplified_Arabic'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Simplified_Arabic ? TRUE : FALSE;
$mwashow['font_Traditional_Arabic'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Traditional_Arabic ? TRUE : FALSE;
$mwashow['font_anaween'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & anaween ? TRUE : FALSE;
$mwashow['font_dekoor'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & dekoor ? TRUE : FALSE;
$mwashow['font_diwani'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & diwani ? TRUE : FALSE;
$mwashow['font_electron'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & electron ? TRUE : FALSE;
$mwashow['font_entbah'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & entbah ? TRUE : FALSE;
$mwashow['font_fanan'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & fanan ? TRUE : FALSE;
$mwashow['font_hala'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hala ? TRUE : FALSE;
$mwashow['font_hasan'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hasan ? TRUE : FALSE;
$mwashow['font_hor'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hor ? TRUE : FALSE;
$mwashow['font_jamal'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & jamal ? TRUE : FALSE;
$mwashow['font_jameel'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & jameel ? TRUE : FALSE;
$mwashow['font_kabeer'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & kabeer ? TRUE : FALSE;
$mwashow['font_khashab'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & khashab ? TRUE : FALSE;
$mwashow['font_koufi'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & koufi ? TRUE : FALSE;
$mwashow['font_mateen'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mateen ? TRUE : FALSE;
$mwashow['font_modawar'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & modawar ? TRUE : FALSE;
$mwashow['font_modhalal'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & modhalal ? TRUE : FALSE;
$mwashow['font_momadad'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momadad ? TRUE : FALSE;
$mwashow['font_momaiz'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momaiz ? TRUE : FALSE;
$mwashow['font_momawaj'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momawaj ? TRUE : FALSE;
$mwashow['font_mosanan'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mosanan ? TRUE : FALSE;
$mwashow['font_mozakraf'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mozakraf ? TRUE : FALSE;
$mwashow['font_naskh'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & naskh ? TRUE : FALSE;
$mwashow['font_rawa'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & rawa ? TRUE : FALSE;
$mwashow['font_tohfah'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & tohfah ? TRUE : FALSE;
$mwashow['font_wadhih'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & wadhih ? TRUE : FALSE;
$mwashow['font_waragah'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & waragah ? TRUE : FALSE;
$mwafontcss = "";
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_anaween']) )
{
if ((strpos ($output, "face=\"anaween")) or (strpos ($output, "font=&quot;anaween")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: anaween; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/anaween.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: anaween; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/anaween.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_dekoor']) )
{
if ((strpos ($output, "face=\"dekoor")) or (strpos ($output, "font=&quot;dekoor")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: dekoor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/dekoor.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: dekoor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/dekoor.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_diwani']) )
{
if ((strpos ($output, "face=\"diwani")) or (strpos ($output, "font=&quot;diwani")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: diwani; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/diwani.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: diwani; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/diwani.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_electron']) )
{
if ((strpos ($output, "face=\"electron")) or (strpos ($output, "font=&quot;electron")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: electron; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/electron.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: electron; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/electron.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_entbah']) )
{
if ((strpos ($output, "face=\"entbah")) or (strpos ($output, "font=&quot;entbah")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: entbah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/entbah.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: entbah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/entbah.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_fanan']) )
{
if ((strpos ($output, "face=\"fanan")) or (strpos ($output, "font=&quot;fanan")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: fanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/fanan.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: fanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/fanan.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hala']) )
{
if ((strpos ($output, "face=\"hala")) or (strpos ($output, "font=&quot;hala")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: hala; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hala.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: hala; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hala.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hasan']) )
{
if ((strpos ($output, "face=\"hasan")) or (strpos ($output, "font=&quot;hasan")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: hasan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hasan.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: hasan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hasan.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hor']) )
{
if ((strpos ($output, "face=\"hor")) or (strpos ($output, "font=&quot;hor")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: hor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hor.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: hor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hor.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_jamal']) )
{
if ((strpos ($output, "face=\"jamal")) or (strpos ($output, "font=&quot;jamal")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: jamal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jamal.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: jamal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jamal.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_jameel']) )
{
if ((strpos ($output, "face=\"jameel")) or (strpos ($output, "font=&quot;jameel")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: jameel; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jameel.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: jameel; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jameel.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_kabeer']) )
{
if ((strpos ($output, "face=\"kabeer")) or (strpos ($output, "font=&quot;kabeer")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: kabeer; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/kabeer.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: kabeer; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/kabeer.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_khashab']) )
{
if ((strpos ($output, "face=\"khashab")) or (strpos ($output, "font=&quot;khashab")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: khashab; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/khashab.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: khashab; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/khashab.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_koufi']) )
{
if ((strpos ($output, "face=\"koufi")) or (strpos ($output, "font=&quot;koufi")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: koufi; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/koufi.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: koufi; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/koufi.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_mateen']) )
{
if ((strpos ($output, "face=\"mateen")) or (strpos ($output, "font=&quot;mateen")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: mateen; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mateen.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: mateen; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mateen.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_modawar']) )
{
if ((strpos ($output, "face=\"modawar")) or (strpos ($output, "font=&quot;modawar")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: modawar; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modawar.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: modawar; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modawar.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_modhalal']) )
{
if ((strpos ($output, "face=\"modhalal")) or (strpos ($output, "font=&quot;modhalal")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: modhalal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modhalal.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: modhalal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modhalal.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_momadad']) )
{
if ((strpos ($output, "face=\"momadad")) or (strpos ($output, "font=&quot;momadad")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: momadad; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momadad.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: momadad; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momadad.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_momaiz']) )
{
if ((strpos ($output, "face=\"momaiz")) or (strpos ($output, "font=&quot;momaiz")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: momaiz; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momaiz.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: momaiz; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momaiz.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_momawaj']) )
{
if ((strpos ($output, "face=\"momawaj")) or (strpos ($output, "font=&quot;momawaj")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: momawaj; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momawaj.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: momawaj; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momawaj.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_mosanan']) )
{
if ((strpos ($output, "face=\"mosanan")) or (strpos ($output, "font=&quot;mosanan")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: mosanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mosanan.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: mosanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mosanan.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_mozakraf']) )
{
if ((strpos ($output, "face=\"mozakraf")) or (strpos ($output, "font=&quot;mozakraf")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: mozakraf; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mozakraf.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: mozakraf; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mozakraf.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_naskh']) )
{
if ((strpos ($output, "face=\"naskh")) or (strpos ($output, "font=&quot;naskh")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: naskh; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/naskh.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: naskh; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/naskh.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_rawa']) )
{
if ((strpos ($output, "face=\"rawa")) or (strpos ($output, "font=&quot;rawa")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: rawa; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/rawa.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: rawa; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/rawa.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_tohfah']) )
{
if ((strpos ($output, "face=\"tohfah")) or (strpos ($output, "font=&quot;tohfah")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: tohfah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/tohfah.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: tohfah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/tohfah.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_wadhih']) )
{
if ((strpos ($output, "face=\"wadhih")) or (strpos ($output, "font=&quot;wadhih")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: wadhih; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/wadhih.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: wadhih; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/wadhih.ttf); }";
}}}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_waragah']) )
{
if ((strpos ($output, "face=\"waragah")) or (strpos ($output, "font=&quot;waragah")))
{
if (is_browser('ie'))
{
$mwafontcss .="\n@font-face { font-family: waragah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/waragah.eot); }";
}
else
{
$mwafontcss .="\n@font-face { font-family: waragah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/waragah.ttf); }";
}}}
if ($mwafontcss <> "")
{
$mwafontcss = "<style type=\"text/css\">" . $mwafontcss . "\n</style>\n";
$output = $output . $mwafontcss;
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تجهيز CSS للخطوط في المحرر</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_setting_extrafonts_active'])
{
define( "Arial", 1 );
define( "Tahoma", 2 );
define( "Mudir_MT", 4 );
define( "Andalus", 8 );
define( "Times_New_Roman", 16 );
define( "Simplified_Arabic", 32 );
define( "Traditional_Arabic", 64 );
define( "anaween", 128 );
define( "dekoor", 256 );
define( "diwani", 512 );
define( "electron", 1024 );
define( "entbah", 2048 );
define( "fanan", 4096 );
define( "hala", 8192 );
define( "hasan", 16384 );
define( "hor", 32768 );
define( "jamal", 65536 );
define( "jameel", 1 );
define( "kabeer", 2 );
define( "khashab", 4 );
define( "koufi", 8 );
define( "mateen", 16 );
define( "modawar", 32 );
define( "modhalal", 64 );
define( "momadad", 128 );
define( "momaiz", 256 );
define( "momawaj", 512 );
define( "mosanan", 1024 );
define( "mozakraf", 2048 );
define( "naskh", 4096 );
define( "rawa", 8192 );
define( "tohfah", 16384 );
define( "wadhih", 32768 );
define( "waragah", 65536 );
$mwashow['font_Arial'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Arial ? TRUE : FALSE;
$mwashow['font_Tahoma'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Tahoma ? TRUE : FALSE;
$mwashow['font_Mudir_MT'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Mudir_MT ? TRUE : FALSE;
$mwashow['font_Andalus'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Andalus ? TRUE : FALSE;
$mwashow['font_Times_New_Roman'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Times_New_Roman ? TRUE : FALSE;
$mwashow['font_Simplified_Arabic'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Simplified_Arabic ? TRUE : FALSE;
$mwashow['font_Traditional_Arabic'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & Traditional_Arabic ? TRUE : FALSE;
$mwashow['font_anaween'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & anaween ? TRUE : FALSE;
$mwashow['font_dekoor'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & dekoor ? TRUE : FALSE;
$mwashow['font_diwani'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & diwani ? TRUE : FALSE;
$mwashow['font_electron'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & electron ? TRUE : FALSE;
$mwashow['font_entbah'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & entbah ? TRUE : FALSE;
$mwashow['font_fanan'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & fanan ? TRUE : FALSE;
$mwashow['font_hala'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hala ? TRUE : FALSE;
$mwashow['font_hasan'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hasan ? TRUE : FALSE;
$mwashow['font_hor'] = $vbulletin->options['mwaextraedit4_fonts_allow'] & hor ? TRUE : FALSE;
$mwashow['font_jamal'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & jamal ? TRUE : FALSE;
$mwashow['font_jameel'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & jameel ? TRUE : FALSE;
$mwashow['font_kabeer'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & kabeer ? TRUE : FALSE;
$mwashow['font_khashab'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & khashab ? TRUE : FALSE;
$mwashow['font_koufi'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & koufi ? TRUE : FALSE;
$mwashow['font_mateen'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mateen ? TRUE : FALSE;
$mwashow['font_modawar'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & modawar ? TRUE : FALSE;
$mwashow['font_modhalal'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & modhalal ? TRUE : FALSE;
$mwashow['font_momadad'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momadad ? TRUE : FALSE;
$mwashow['font_momaiz'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momaiz ? TRUE : FALSE;
$mwashow['font_momawaj'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & momawaj ? TRUE : FALSE;
$mwashow['font_mosanan'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mosanan ? TRUE : FALSE;
$mwashow['font_mozakraf'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & mozakraf ? TRUE : FALSE;
$mwashow['font_naskh'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & naskh ? TRUE : FALSE;
$mwashow['font_rawa'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & rawa ? TRUE : FALSE;
$mwashow['font_tohfah'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & tohfah ? TRUE : FALSE;
$mwashow['font_wadhih'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & wadhih ? TRUE : FALSE;
$mwashow['font_waragah'] = $vbulletin->options['mwaextraedit4_fonts_allow1'] & waragah ? TRUE : FALSE;
$newfontopt = "";
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Arial']) )
{
$newfontopt .= "Arial\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Tahoma']) )
{
$newfontopt .= "Tahoma\n";
$newfontopte .= "<option>Tahoma\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Mudir_MT']) )
{
$newfontopt .= "Mudir MT\n";
$newfontopte .= "<option>Mudir MT\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Andalus']) )
{
$newfontopt .= "Andalus\n";
$newfontopte .= "<option>Andalus\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Times_New_Roman']) )
{
$newfontopt .= "Times New Roman\n";
$newfontopte .= "<option>Times New Roman\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Simplified_Arabic']) )
{
$newfontopt .= "Simplified Arabic\n";
$newfontopte .= "<option>Simplified Arabic\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_Traditional_Arabic']) )
{
$newfontopt .= "Traditional Arabic\n";
$newfontopte .= "<option>Traditional Arabic\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_anaween']) )
{
$newfontopt .= "anaween\n";
$newfontopte .= "<option>anaween\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_dekoor']) )
{
$newfontopt .= "dekoor\n";
$newfontopte .= "<option>dekoor\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_diwani']) )
{
$newfontopt .= "diwani\n";
$newfontopte .= "<option>diwani\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_electron']) )
{
$newfontopt .= "electron\n";
$newfontopte .= "<option>electron\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_entbah']) )
{
$newfontopt .= "entbah\n";
$newfontopte .= "<option>entbah\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_fanan']) )
{
$newfontopt .= "fanan\n";
$newfontopte .= "<option>fanan\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hala']) )
{
$newfontopt .= "hala\n";
$newfontopte .= "<option>hala\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hasan']) )
{
$newfontopt .= "hasan\n";
$newfontopte .= "<option>hasan\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_hor']) )
{
$newfontopt .= "hor\n";
$newfontopte .= "<option>hor\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow'] & $mwashow['font_jamal']) )
{
$newfontopt .= "jamal\n";
$newfontopte .= "<option>jamal\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_jameel']) )
{
$newfontopt .= "jameel\n";
$newfontopte .= "<option>jameel\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_kabeer']) )
{
$newfontopt .= "kabeer\n";
$newfontopte .= "<option>kabeer\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_khashab']) )
{
$newfontopt .= "khashab\n";
$newfontopte .= "<option>khashab\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_koufi']) )
{
$newfontopt .= "koufi\n";
$newfontopte .= "<option>koufi\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_mateen']) )
{
$newfontopt .= "mateen\n";
$newfontopte .= "<option>mateen\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_modawar']) )
{
$newfontopt .= "modawar\n";
$newfontopte .= "<option>modawar\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_modhalal']) )
{
$newfontopt .= "modhalal\n";
$newfontopte .= "<option>modhalal\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_momadad']) )
{
$newfontopt .= "momadad\n";
$newfontopte .= "<option>momadad\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_momaiz']) )
{
$newfontopt .= "momaiz\n";
$newfontopte .= "<option>momaiz\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_momawaj']) )
{
$newfontopt .= "momawaj\n";
$newfontopte .= "<option>momawaj\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_mosanan']) )
{
$newfontopt .= "mosanan\n";
$newfontopte .= "<option>mosanan\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_mozakraf']) )
{
$newfontopt .= "mozakraf\n";
$newfontopte .= "<option>mozakraf\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_naskh']) )
{
$newfontopt .= "naskh\n";
$newfontopte .= "<option>naskh\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_rawa']) )
{
$newfontopt .= "rawa\n";
$newfontopte .= "<option>rawa\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_tohfah']) )
{
$newfontopt .= "tohfah\n";
$newfontopte .= "<option>tohfah\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_wadhih']) )
{
$newfontopt .= "wadhih\n";
$newfontopte .= "<option>wadhih\n";
}
if ( ( $vbulletin->options['mwaextraedit4_fonts_allow1'] & $mwashow['font_waragah']) )
{
$newfontopt .= "waragah\n";
}
$newfontoptep = "<select dir=\"ltr\" size=\"1\" onchange=\"selectFont(this);showPoem(1)\" name=\"fname\">\n
<option>(Arial)\n
<option selected>Arial\n
<option>Custom ...\n" . $newfontopte . "</select>\n";
$newfontopte = "<select size=\"1\" onchange=\"selectFont(this);acceptubb(0);\" name=\"cbFontFamily\">
<option>(Arial)\n
<option>Custom ...\n
<option selected>Arial\n" . $newfontopte . "</select>\n";
$mwafontall = "<style type=\"text/css\">
@font-face { font-family: anaween; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/anaween.eot); }
@font-face { font-family: dekoor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/dekoor.eot); }
@font-face { font-family: diwani; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/diwani.eot); }
@font-face { font-family: electron; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/electron.eot); }
@font-face { font-family: entbah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/entbah.eot); }
@font-face { font-family: fanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/fanan.eot); }
@font-face { font-family: hala; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hala.eot); }
@font-face { font-family: hasan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hasan.eot); }
@font-face { font-family: hor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hor.eot); }
@font-face { font-family: jamal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jamal.eot); }
@font-face { font-family: jameel; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jameel.eot); }
@font-face { font-family: kabeer; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/kabeer.eot); }
@font-face { font-family: khashab; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/khashab.eot); }
@font-face { font-family: koufi; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/koufi.eot); }
@font-face { font-family: mateen; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mateen.eot); }
@font-face { font-family: modawar; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modawar.eot); }
@font-face { font-family: modhalal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modhalal.eot); }
@font-face { font-family: momadad; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momadad.eot); }
@font-face { font-family: momaiz; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momaiz.eot); }
@font-face { font-family: momawaj; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momawaj.eot); }
@font-face { font-family: mosanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mosanan.eot); }
@font-face { font-family: mozakraf; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mozakraf.eot); }
@font-face { font-family: naskh; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/naskh.eot); }
@font-face { font-family: rawa; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/rawa.eot); }
@font-face { font-family: tohfah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/tohfah.eot); }
@font-face { font-family: wadhih; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/wadhih.eot); }
@font-face { font-family: waragah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/waragah.eot); }
@font-face { font-family: anaween; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/anaween.ttf); }
@font-face { font-family: dekoor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/dekoor.ttf); }
@font-face { font-family: diwani; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/diwani.ttf); }
@font-face { font-family: electron; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/electron.ttf); }
@font-face { font-family: entbah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/entbah.ttf); }
@font-face { font-family: fanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/fanan.ttf); }
@font-face { font-family: hala; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hala.ttf); }
@font-face { font-family: hasan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hasan.ttf); }
@font-face { font-family: hor; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/hor.ttf); }
@font-face { font-family: jamal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jamal.ttf); }
@font-face { font-family: jameel; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/jameel.ttf); }
@font-face { font-family: kabeer; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/kabeer.ttf); }
@font-face { font-family: khashab; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/khashab.ttf); }
@font-face { font-family: koufi; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/koufi.ttf); }
@font-face { font-family: mateen; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mateen.ttf); }
@font-face { font-family: modawar; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modawar.ttf); }
@font-face { font-family: modhalal; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/modhalal.ttf); }
@font-face { font-family: momadad; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momadad.ttf); }
@font-face { font-family: momaiz; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momaiz.ttf); }
@font-face { font-family: momawaj; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/momawaj.ttf); }
@font-face { font-family: mosanan; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mosanan.ttf); }
@font-face { font-family: mozakraf; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/mozakraf.ttf); }
@font-face { font-family: naskh; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/naskh.ttf); }
@font-face { font-family: rawa; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/rawa.ttf); }
@font-face { font-family: tohfah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/tohfah.ttf); }
@font-face { font-family: wadhih; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/wadhih.ttf); }
@font-face { font-family: waragah; font-style:  normal; font-weight: normal; src: url(" . $vbulletin->options['bburl'] . "/mwaextraedit4/fonts/waragah.ttf); }
</style>";
if ($newfontopt <> "")
{
$newfontopt = $newfontopt . "verdana\n";
$vbulletin->templatecache['editor_jsoptions_font'] = $newfontopt;
}
}
else
{
$newfontoptep = "<select dir=\"ltr\" size=\"1\" onchange=\"selectFont(this);showPoem(1)\" name=\"fname\">\n
<option>(Tahoma)\n
<option>Custom ...\n
<option selected>Tahoma\n
<option>Times New Roman\n
<option>Trebuchet MS\n
<option>Verdana\n
<option>Arial\n
<option>Arial Black\n
<option>Arial Narrow\n
<option>Book Antiqua\n
<option>Century Gothic\n
<option>Comic Sans MS\n
<option>Courier New\n
<option>Fixedsys\n
<option>Franklin Gothic Medium\n
<option>Garamond\n
<option>Georgia\n
<option>Impact\n
<option>Lucida Console\n
<option>Lucida Sans Unicode\n
<option>Microsoft Sans Serif\n
<option>Palatino Linotype\n
<option>System\n
</select>\n";
$newfontopte = "<select size=\"1\" onchange=\"selectFont(this);acceptubb(0);\" name=\"cbFontFamily\">
<option>(Tahoma)\n
<option>Custom ...\n
<option selected>Tahoma\n
<option>Times New Roman\n
<option>Trebuchet MS\n
<option>Verdana\n
<option>Arial\n
<option>Arial Black\n
<option>Arial Narrow\n
<option>Book Antiqua\n
<option>Century Gothic\n
<option>Comic Sans MS\n
<option>Courier New\n
<option>Fixedsys\n
<option>Franklin Gothic Medium\n
<option>Garamond\n
<option>Georgia\n
<option>Impact\n
<option>Lucida Console\n
<option>Lucida Sans Unicode\n
<option>Microsoft Sans Serif\n
<option>Palatino Linotype\n
<option>System\n
</select>\n";
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تفعيل الجافا للأكواد الخاصة</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\">var bburl = \'\';</script><script type=\"text/javascript\" src=\"mwaextraedit4/mwaextraedit4settings.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);

if ($vbulletin->options['mwaextraedit4_setting_gradient_active'])
{
$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\" src=\"mwaextraedit4/gradient.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

if ($vbulletin->options['mwaextraedit4_setting_poem_active'])
{
$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\" src=\"mwaextraedit4/poem.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

if ($vbulletin->options['mwaextraedit4_setting_read_active'])
{
$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\" src=\"mwaextraedit4/read.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

if ($vbulletin->options['mwaextraedit4_setting_type_active'])
{
$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\" src=\"mwaextraedit4/type.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

if ($vbulletin->options['mwaextraedit4_setting_marq_active'])
{
$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script type=\"text/javascript\" src=\"mwaextraedit4/marq.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

if ($vbulletin->options['mwaextraedit4_rainbow_setting_active'])
{

$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script language=\"JavaScript1.2\">
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor==\"blue\")
myexample.style.borderColor=\"red\"
else
myexample.style.borderColor=\"blue\"
}
setInterval(\"flashit()\", 400)
</script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);

$search_text = '<!-- CSS Stylesheet -->';

$vbulletin->templatecache['headinclude'] = str_replace($search_text,'<script src=\"mwaextraedit4/rainbow.js\"></script> <!-- CSS Stylesheet -->',$vbulletin->templatecache['headinclude']);
}

}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ تجهيزات</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_hide_ajax_on'] AND THIS_SCRIPT === showthread){			
				$ara = '<!-- / CSS Stylesheet -->';
				$vbulletin->templatecache['headinclude'] = str_replace($ara,$ara.fetch_template('mwaextraedit4_hide_head'),$vbulletin->templatecache['headinclude']);
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>توسيط المواضيع والتواقيع وتغييرات الخط</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if (THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'showpost' OR THIS_SCRIPT == 'private')
{
if ($vbulletin->options['mwaextraedit4_setting_postcenter_active'])
{
$search = "<!-- message -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<!-- message --> <center>', $vbulletin->templatecache['postbit_legacy']);
$search = "<!-- / message -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '</center> <!-- / message -->', $vbulletin->templatecache['postbit_legacy']);
}
if ($vbulletin->options['mwaextraedit4_setting_signcenter_active'])
{
$search = "<!-- sig -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<!-- sig --> <center>', $vbulletin->templatecache['postbit_legacy']);
$search = "<!-- / sig -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '</center> <!-- / sig -->', $vbulletin->templatecache['postbit_legacy']);
}

if ($vbulletin->options['mwaextraedit4_setting_fontsize_active'])
{
$search = "<!-- message -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<!-- message --> <font face=\"' . $vbulletin->options['mwaextraedit4_setting_fontnametouse'].'\" size=\"' . $vbulletin->options['mwaextraedit4_setting_fontsizetouse'] . '\" color=\"' . $vbulletin->options['mwaextraedit4_setting_fontcolortouse'] . '\">', $vbulletin->templatecache['postbit_legacy']);
if ($vbulletin->options['mwaextraedit4_setting_fontitatouse'])
{
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<!-- message --> <i>', $vbulletin->templatecache['postbit_legacy']);
}
if ($vbulletin->options['mwaextraedit4_setting_fontboldtouse'])
{
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<div style=\"font: bold 16pt Arial;\"><!-- message -->', $vbulletin->templatecache['postbit_legacy']);
}
else
{
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '<!-- message --> <div style=\"font: normal 16pt Arial;\">', $vbulletin->templatecache['postbit_legacy']);
}
$search = "<!-- / message -->";
$vbulletin->templatecache['postbit_legacy'] = str_replace($search, '</font></b></i></div> <!-- / message -->', $vbulletin->templatecache['postbit_legacy']);
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>الفيديو</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[if ((in_array(THIS_SCRIPT,array('showthread','editpost','newreply','newthread','showpost','private','announcement','member','blog','adv_index','usernote')))) {
    $customstring = '$PASSIVEEMBED';
	// YouTube
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:[a-zA-Z]{1,4}\.)?youtube.com/watch\?v=(.{11}?)[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>\'; return "'.$customstring.'";',
		'id' => 1
		);
	$passiveVid[] = array (
		'string' => '#\[youtube\]([^\[\]]+)\[/youtube\]#',
		'replacement' => 'return \'<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\'.$matches[1].\'&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\'.$matches[1].\'&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>\';',
		'id' => 1
		);
	// Google
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.google.(?:[A-Za-z\.]{2,5})/videoplay\?docid=([0-9\-]+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\'; return "'.$customstring.'";',
		'id' => 2
		);
	$passiveVid[] = array (
		'string' => '#\[googlevideo\]([^\[\]]+)\[/googlevideo\]#',
		'replacement' => 'return \'<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\'.$matches[1].\'&hl=en" flashvars=""> </embed>\';',
		'id' => 2
		);
	// MySpace
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?vids.myspace.com/index.cfm\?fuseaction=vids\.individual&amp;videoid=(\d{8,15})(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\'; return "'.$customstring.'";',
		'id' => 4
		);
	$passiveVid[] = array (
		'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#',
		'replacement' => 'return \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\';',
		'id' => 4
		);
	// MetaCafe
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?(?:www\.)?metacafe.com/watch/([0-9]*\/[A-Za-z0-9_]*)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[2]; $PASSIVEEMBED = \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\'; return "'.$customstring.'";',
		'id' => 8
		);
	$passiveVid[] = array (
		'string' => '#\[metacafe\]([^\[\]]+)\[/metacafe\]#',
		'replacement' => 'return \'<embed src="http://www.metacafe.com/fplayer/\'.$matches[1].\'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>\';',
		'id' => 8
		);
	// Yahoo
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/video/play\?vid=(\d+)&amp;matchid=(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="vid=\'.$matches[1].\'&id=\'.$matches[2].\'" type="application/x-shockwave-flash" width="425" height="350"></embed>\'; return "'.$customstring.'";',
		'id' => 16
		);
	$passiveVid[] = array (
		'string' => '#(?:<a[^\<\>]+href=\")?(?:http://)?video.yahoo.com/watch/(\d+)/(\d+)(?:[^"]+)?[^"]*(?:\"[^\<\>]*>)?([^\<\>]*)(?:</a>)?#',
		'replacement' => '$PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=\'.$matches[1].\'&vid=\'.$matches[2].\'&embed=1" ></embed></object>\'; return "'.$customstring.'";',
		'id' => 16
		);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="99">
			<title>تصغير الصور في الملف الشخصي للتوقيع</title>
			<hookname>member_profileblock_fetch_unwrapped</hookname>
			<phpcode><![CDATA[if ($this->registry->options['mwaextraedit4_autoresize_postbit_active'] AND $this->registry->options['mwaextraedit4_autoresize_sign_active'])
{
$prepared['signature'] = @preg_replace('#<img src="(.*)" border="0" alt="(.*)" \/>#siU', '<img src="\\1" border="0" alt="نقرتين لعرض الصورة في صفحة مستقلة" style="cursor: pointer;" ondblclick="window.open(this.src); return false;" onload="if (this.width >= ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . ') this.width = ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . '; return false;" />', $prepared['signature']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>فرز الإبتسامات والتعابير حسب المجموعة</title>
			<hookname>misc_smiliespopup_complete</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_setting_smilescat_active'])
{

$smiliecells ='';
        $smiliebits = '';
        $smiliehtml = '';
        $i = 0;
        foreach ($smcache AS $category => $smilies)
        {
                $new_categories[$i] = $category;
                $i++;
        }

        if (!$_REQUEST['select_category'])
        {
                $select_category = $new_categories[0];
        }
        else
        {
                $select_category = $_REQUEST['select_category'];
        }

        $new_smilies .= "<form name='smilieform' action='misc.php'>";
        $new_smilies .= "<input type='hidden' name='do' value='getsmilies'>";
        $new_smilies .= "<input type='hidden' name='editorid' value='$editorid'>";
        $new_smilies .= "<select name='select_category' onchange='submit()'><option value=''>إختيار";

        foreach ($new_categories AS $input)
        {
                $add_select .= "<option value='" . $input . "'>$input";
        }

        $new_smilies .=  $add_select;


        $new_smilies .=  "</select></form>";
        $popup_smiliesbits = '';
        $bits = array();
        exec_switch_bg();
        foreach ($smcache AS $category => $smilies)
        {
          if ($category == $select_category)
          {
                if (sizeof($bits) == 1)
                {
                        eval('$smiliecells = "' . fetch_template('smiliepopup_straggler') . '";');
                        eval('$smiliebits .= "' . fetch_template('smiliepopup_row') . '";');
                }

                eval('$smiliebits .= "' . fetch_template('smiliepopup_category') . '";');

                $bits = array();
                foreach ($smilies AS $smilie)
                {
                        $smilie['js'] = addslashes_js($smilie['text']);
                        $smiliehtml = "<img src=\"$smilie[path]\" id=\"smilie_$smilie[smilieid]\" alt=\"" . htmlspecialchars_uni($smilie['text']) . "\" title=\"$smilie[title]\" />";
                        eval('$bits[] = "' . fetch_template('smiliepopup_smilie') . '";');
                        if (sizeof($bits) == 2)
                        {
                                exec_switch_bg();
                                $smiliecells = implode('', $bits);
                                eval('$smiliebits .= "' . fetch_template('smiliepopup_row') . '";');
                                $bits = array();
                        }
                }
           }
        }

$search = '<form action=\"misc.php\" method=\"get\">';

$vbulletin->templatecache['smiliepopup'] = str_replace($search,'إختر المجموعة المطلوبة : $new_smilies <form action=\"misc.php\" method=\"get\">',$vbulletin->templatecache['smiliepopup']);

}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ رد جديد</title>
			<hookname>newpost_notification_message</hookname>
			<phpcode><![CDATA[$pagetext = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase[mwaextraedit4_hide_has_hidden], $pagetext);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تصحيح الروابط مع صورة</title>
			<hookname>newpost_process</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
$post['message'] = str_replace('[URL="http://[URL]','[URL="',$post['message']);
$post['message'] = str_replace('[/URL[/URL]]','[/URL]',$post['message']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ رد جديد</title>
			<hookname>newreply_form_reviewbit</hookname>
			<phpcode><![CDATA[$reviewmessage =preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase[mwaextraedit4_hide_has_hidden], $reviewmessage);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ إقتباس</title>
			<hookname>newreply_post_quote</hookname>
			<phpcode><![CDATA[$newpost['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '', $newpost['message']);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تحديث الردود</title>
			<hookname>newreply_post_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_autovideo_active']) 
{

preg_match_all("#http://video.yahoo.com/video/play\?(.*?)vid=(\d+)(&matchid)?#s",$vbulletin->GPC['message'], $urlmatch);
	foreach ($urlmatch as $key => $urlmatch2) {
	 	if (($urlmatch[2][$key] != '') && (!preg_match('#matchid#s',$urlmatch[0][$key]))) {
		preg_match('#flashvars=\'id=(\d+)#s',file_get_contents("http://video.yahoo.com/video/play?vid=" . $urlmatch[2][$key]),$match);
		$vbulletin->GPC['message'] = preg_replace("#(\[URL=\"|\[URL\])?(http://video.yahoo.com/video/play\?(.*?)vid=".$urlmatch[2][$key].")(\"\](.*?)\[/URL\]|(.*?)\[/URL\])?#i", "http://video.yahoo.com/video/play?vid=".$urlmatch[2][$key]."&matchid=$match[1]",$vbulletin->GPC['message']);
		}
	}

}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ إقتباس</title>
			<hookname>newreply_quote</hookname>
			<phpcode><![CDATA[global $vbphrase;
			$pagetext = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase[mwaextraedit4_hide_post_noquote], $pagetext);]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>محرر إضافة الجداول في المواضيع</title>
			<hookname>newreply_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_table_active']) 
{

if($_REQUEST['do'] == 'bbcodepopup')
{

if (isset($_POST['action'])) $action = $_POST['action'];
 else $action = "";

if ($action == "weiter") {
	$r_title = $_POST['r_title'];
	$split = $_POST['split'];
	$lines = $_POST['lines'];
	$si = 0;
	if ($split <= 0) $split = 1;
	if ($split >= 15) $split = 15;
	if ($lines <= 1) $lines = 2;
	if ($lines >= 15) $lines = 15;
	
	for ($x=0;$x < $split;$x++) {
		for ($y=0;$y < $lines;$y++) {
			eval('$td_bit .= "' . fetch_template('mwaextraedit4_bbcode_table_td') . '";');
			$si++;
		}
			if (($counter++ % 2) != 0) {
			$tdclass="alt1";
			} else {
			$tdclass="alt2";
			}

		if ($r_title == "1") $tdclass = "'thead'";
		$r_title = 0;
		eval('$table_new_bit .= "' . fetch_template('mwaextraedit4_bbcode_table_tr') . '";');
		$td_bit = "";
		$count++;
	}
	$width = $_REQUEST[width];
	eval('$uebergabe = "' . fetch_template('mwaextraedit4_bbcode_table_output') . '";');
	eval("print_output(\"".fetch_template('mwaextraedit4_bbcode_table_2nd')."\");");
	exit();
}

$usetitle[1] = "";
$usetitle[0] = " selected";
eval("print_output(\"".fetch_template('mwaextraedit4_bbcode_table')."\");");
exit();
}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تحديث المواضيع</title>
			<hookname>newthread_post_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_autovideo_active']) 
{

preg_match_all("#http://video.yahoo.com/video/play\?(.*?)vid=(\d+)(&matchid)?#s",$vbulletin->GPC['message'], $urlmatch);
	foreach ($urlmatch as $key => $urlmatch2) {
	 	if (($urlmatch[2][$key] != '') && (!preg_match('#matchid#s',$urlmatch[0][$key]))) {
		preg_match('#flashvars=\'id=(\d+)#s',file_get_contents("http://video.yahoo.com/video/play?vid=" . $urlmatch[2][$key]),$match);
		$vbulletin->GPC['message'] = preg_replace("#(\[URL=\"|\[URL\])?(http://video.yahoo.com/video/play\?(.*?)vid=".$urlmatch[2][$key].")(\"\](.*?)\[/URL\]|(.*?)\[/URL\])?#i", "http://video.yahoo.com/video/play?vid=".$urlmatch[2][$key]."&matchid=$match[1]",$vbulletin->GPC['message']);
		}
	}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تحسين طريقة عرض الإبتسامات والأيقونات اسفل المحرر</title>
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_setting_bestsmileicon_active'])
{
$vbulletin->templatecache['editaor_smilie'] = $vbulletin->templatecache['mwaextraedit4_editaor_smilie'];
$vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['mwaextraedit4_editor_smiliebox'];
$vbulletin->templatecache['posticons'] = $vbulletin->templatecache['mwaextraedit4_posticons'];
$vbulletin->templatecache['posticonbit'] = $vbulletin->templatecache['mwaextraedit4_posticonbit'];
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>استبدال الفيديو</title>
			<hookname>postbit_display_complete</hookname>
			<phpcode><![CDATA[global $passiveVid;
foreach ($passiveVid as $k => $v) {
    $this->post['message'] = preg_replace_callback($v['string'],create_function('$matches',$v['replacement']),$this->post['message']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ عرض المشاركات</title>
			<hookname>postbit_display_complete</hookname>
			<phpcode><![CDATA[if ($_REQUEST['do'] == 'whatever'){
			global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $postid;
			$bbuserinfo = $this->registry->userinfo;
			$postid = $_REQUEST['p'];
			$hide_call = $_REQUEST['all'];
			$hide_read = false;
			$hide_replied = '';
			$hide_thanked = '';
			if ($this->registry->options['mwaextraedit4_hide_showposted'] AND $hide_read==false){
				$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
				$myreplies = 0;
				if($db->num_rows($hide_replied)){
					while ($h_post = $db->fetch_array($hide_replied)){
						$myreplies += $h_post['count'];
					}
					$myreplies = vb_number_format($myreplies);
				}
				if($myreplies > 0){
					$hide_read = true;
				}
			}
			if(!$bbuserinfo[userid]){
				$hide_read = false;
			}
			if( $hide_read == true){
				$hide_post = $db->query_first("SELECT pagetext as 'message' FROM ". TABLE_PREFIX ."post WHERE postid='$postid'");
				$hide_string = "#\[hide\](.*)\[\/hide\]#siU";
	            require_once(DIR . '/includes/class_bbcode.php');
	            $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
	            $hide_post['message'] = $parser->do_parse($hide_post['message'],true);
				if(preg_match_all($hide_string, $hide_post['message'], $hide_match)) {
					for($i=0; $i<count($hide_match[0]); $i++) {
						$hide_replace[$i] ="<fieldset><legend><span class=\"highlight\">".$vbphrase[mwaextraedit4_hide_post_show]."</span></legend>".$hide_match[1][$i]."</fieldset>";
						$hide_post['message']= str_replace($hide_match[0][$i],$hide_replace[$i],$hide_post['message']);
					}
				}
			}else{
				$hide_post['message'] = 'mwaextraedit4_hide_still_active';
			}
			$ajax_on = true;
			$output = $hide_post['message'];
			echo "$output";
			exit;
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="99">
			<title>تصغير الصور في المواضيع</title>
			<hookname>postbit_display_complete</hookname>
			<phpcode><![CDATA[if ($this->registry->options['mwaextraedit4_autoresize_postbit_active'])
{
$this->post['message'] = @preg_replace('#<img src="(.*)" border="0" alt="(.*)" \/>#siU', '<img src="\\1" border="0" alt="نقرتين لعرض الصورة في صفحة مستقلة" style="cursor: pointer;" ondblclick="window.open(this.src); return false;" onload="if (this.width >= ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . ') this.width = ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . '; return false;" />', $this->post['message']);
}
if ($this->registry->options['mwaextraedit4_autoresize_sign_active'])
{
$this->post['signature'] = @preg_replace('#<img src="(.*)" border="0" alt="(.*)" \/>#siU', '<img src="\\1" border="0" alt="نقرتين لعرض الصورة في صفحة مستقلة" style="cursor: pointer;" ondblclick="window.open(this.src); return false;" onload="if (this.width >= ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . ') this.width = ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . '; return false;" />', $this->post['signature']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ عرض المشاركات</title>
			<hookname>postbit_display_complete</hookname>
			<phpcode><![CDATA[if ($this->registry->options['mwaextraedit4_hide_active'] == '1' AND stristr($post['message'],'[hide]')){
			global $vbulletin, $vboptions, $bbuserinfo, $db, $threadid, $hide_call, $postid;
			$bbuserinfo = $this->registry->userinfo;
			$post = $this->post;
			$hide_read = false;
			$hide_img_set = 0;
			$hide_replied = '';
			$hide_thanked = '';
			$hide_stop = 0;
			if (!empty($this->registry->options['mwaextraedit4_hide_notforum'])){
				$mwaextraedit4_hide_forum_stop = explode(" ",$this->registry->options['mwaextraedit4_hide_notforum']);
				if(in_array($thread['forumid'],$mwaextraedit4_hide_forum_stop)){
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
					$hide_stop = 1;
				}
			}
			if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
				$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[mwaextraedit4_hide_post_own].'</span></legend>\\1</fieldset>', $post['message']);
				$hide_stop = 1;
			}
			if ($hide_stop != 1){
				if ($this->registry->options['mwaextraedit4_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
					$hide_read = true;
				}elseif ($this->registry->options['mwaextraedit4_hide_showmod'] AND can_moderate($thread['forumid'])){
					$hide_read = true;
				}elseif (!empty($this->registry->options['mwaextraedit4_hide_showusergroup'])){
					$hide_groups_see = explode(" ",$this->registry->options['mwaextraedit4_hide_showusergroup']);
					if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
						$hide_read = true;
					}
				}
				if ($this->registry->options['mwaextraedit4_hide_showposted'] AND $hide_read==false){
					$hide_img_set = $hide_img_set + 2 ;
					$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
					$myreplies = 0;
					if($db->num_rows($hide_replied)){
						while ($h_post = $db->fetch_array($hide_replied)){
							$myreplies += $h_post['count'];
						}
						$myreplies = vb_number_format($myreplies);
					}
					if($myreplies > 0){
						$hide_read['userid'] = true;
					}
				}
				if (!$hide_call){
					$hide_call =$post['postid'];
				} else {
					$hide_call .=",".$post['postid'];
				}
				if($hide_img_set == 3){
					$hide_img = $vbphrase[mwaextraedit4_hide_img_pot];
				} elseif ($hide_img_set == 2){
					$hide_img = $vbphrase[mwaextraedit4_hide_img_pot];
				} elseif ($hide_img_set == 1){
					$hide_img = $vbphrase[mwaextraedit4_hide_img_thank];
				} else {
					$hide_img = $vbphrase[mwaextraedit4_hide_img_sorry];
				}
				if(!$bbuserinfo[userid]){
					$hide_read = false;
				}
				if ($hide_read == true){
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '<fieldset><legend><span class="highlight">'.$vbphrase[mwaextraedit4_hide_post_show].'</span></legend>\\1</fieldset>', $post['message']);
				} else {
					eval('$hide_fetch = "' . fetch_template('mwaextraedit4_hide_noaccess') . '";');
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_fetch, $post['message']);
				}
			}
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ نسخه مطبوعه</title>
			<hookname>printthread_post</hookname>
			<phpcode><![CDATA[if($vbulletin->options['mwaextraedit4_hide_active']AND stristr($post['message'],'[hide]')){
			global $vbulletin, $vboptions, $bbuserinfo, $db;
			$bbuserinfo = $vbulletin->userinfo;
			$hide_read = false;
			$hide_img_set = 0;
			$hide_replied = '';
			$hide_thanked = '';
			$hide_stop = 0;
			if (!empty($vbulletin->options['mwaextraedit4_hide_notforum'])){
				$mwaextraedit4_hide_forum_stop = explode(" ",$vbulletin->options['mwaextraedit4_hide_notforum']);
				if(in_array($threadinfo['forumid'],$mwaextraedit4_hide_forum_stop)){
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
					$hide_stop = 1;
				}
			}
			if($post['userid'] == $bbuserinfo['userid'] AND $hide_stop == 0){
				$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
				$hide_stop = 1;
			} 
			if ($hide_stop != 1){
				if ($vbulletin->options['mwaextraedit4_hide_showadmin'] AND $bbuserinfo[usergroupid]==6){
						$hide_read = true;
				}elseif ($vbulletin->options['mwaextraedit4_hide_showmod'] AND can_moderate($threadinfo['forumid'])){
					$hide_read = true;
				}elseif (!empty($vbulletin->options['mwaextraedit4_hide_showusergroup'])){
					$hide_groups_see = explode(" ",$vbulletin->options['mwaextraedit4_hide_showusergroup']);
					if (in_array($bbuserinfo['usergroupid'], $hide_groups_see)){
						$hide_read = true;
					}
				}
				if ($vbulletin->options['mwaextraedit4_hide_showposted'] AND $hide_read==false){
					$hide_img_set = $hide_img_set + 2 ;
					$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]'");
					$myreplies = 0;
					if($db->num_rows($hide_replied)){
						while ($h_post = $db->fetch_array($hide_replied)){
							$myreplies += $h_post['count'];
						}
						$myreplies = vb_number_format($myreplies);
					}
					if($myreplies > 0){
						$hide_read['userid'] = true;
					}
				}
				if($hide_img_set == 3){
					$hide_img = $vbphrase[mwaextraedit4_hide_txt_pot];
				} elseif ($hide_img_set == 2){
					$hide_img = $vbphrase[mwaextraedit4_hide_txt_pot];
				} elseif ($hide_img_set == 1){
					$hide_img = $vbphrase[mwaextraedit4_hide_txt_thank];
				} else {
					$hide_img = $vbphrase[mwaextraedit4_hide_txt_sorry];
				}
				if(!$bbuserinfo[userid]){
					$hide_read = false;
				}
				if($hide_read == true){
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', '\\1', $post['message']);
				} else {
					$post['message'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $hide_img, $post['message']);
				}
			}
		}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تصغير الصور في صفحة طباعة الموضوع</title>
			<hookname>printthread_post</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_autoresize_postbit_active'])
{
$post['message'] = @preg_replace('#<img src="(.*)" border="0" alt="(.*)" \/>#siU', '<img src="\\1" border="0" alt="نقرتين لعرض الصورة في صفحة مستقلة" style="cursor: pointer;" ondblclick="window.open(this.src); return false;" onload="if (this.width >= ' . $vbulletin->options['mwaextraedit4_autoresize_maxwidth'] . ') this.width = ' . $vbulletin->options['mwaextraedit4_autoresize_maxwidth'] . '; return false;" />', $post['message']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تصحيح الروابط مع صورة</title>
			<hookname>private_insertpm_process</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
$pm['message'] = str_replace('[URL="http://[URL]','[URL="',$pm['message']);
$pm['message'] = str_replace('[/URL[/URL]]','[/URL]',$pm['message']);
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>العبارات الجاهزة ــ لوحة تحكم العضو</title>
			<hookname>profile_start</hookname>
			<phpcode><![CDATA[$mwaextraedit4_canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
$mwaextraedit4_canusedef		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use_defined'];
$mwaextraedit4_cancreate		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_create'];
$mwaextraedit4_cancreatedef	= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_create_defined'];
$_mwaextraedit4_can_access		= $mwaextraedit4_canuse && ($mwaextraedit4_cancreate || $mwaextraedit4_cancreatedef);

if ($_POST['do'] == 'mwaextraedit4_addcategory')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$vbulletin->input->clean_array_gpc('p', array(
		'title'		=> TYPE_NOHTML,
		'global'	=> TYPE_INT,
	));

	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	$ptdm->set('userid', $vbulletin->userinfo['userid']);
	$ptdm->set('type', 'category');
	$ptdm->set('global', $vbulletin->GPC['global']);
	$ptdm->set('title', $vbulletin->GPC['title']);

	$ptdm->pre_save();
	$ptdm->save();

	$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=posttemplates';

	eval(print_standard_redirect('redirect_updatethanks'));
}

if ($_POST['do'] == 'mwaextraedit4_handlecategory')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$vbulletin->input->clean_array_gpc('p', array(
		'title'		=> TYPE_NOHTML,
		'global'	=> TYPE_INT,
		'id'		=> TYPE_INT,
		'delete'	=> TYPE_STR,
	));

	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	$ptdm->set_info('type', 'category');
	$ptdm->set_info('userid', $vbulletin->userinfo['userid']);
	$ptdm->set_info('pid', $vbulletin->GPC['id']);
	$ptdm->set_info('single', true);

	$ptdm->set_existing($ptdm->fetch_data());

	if (!$vbulletin->GPC['delete'])
	{
		$ptdm->set('title', $vbulletin->GPC['title']);
		$ptdm->set('global', $vbulletin->GPC['global']);

		$ptdm->pre_save();
		$ptdm->save();
	}
	else
	{
		$ptdm->delete();
	}

	$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=posttemplates';

	eval(print_standard_redirect('redirect_updatethanks'));
}

if ($_POST['do'] == 'mwaextraedit4_handletemplate')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$vbulletin->input->clean_array_gpc('p', array(
		'title'		=> TYPE_NOHTML,
		'message'	=> TYPE_STR,
		'parentid'	=> TYPE_INT,
		'global'	=> TYPE_INT,
		'id'		=> TYPE_INT,
		'delete'	=> TYPE_STR,
		'wysiwyg'	=> TYPE_BOOL,
	));

	$add = true;

	if ($vbulletin->GPC['wysiwyg'])
	{
		require_once(DIR . '/includes/functions_wysiwyg.php');

		$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message']);
	}

	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	if ($vbulletin->GPC['id'])
	{
		$add = false;

		$ptdm->set_info('type', 'template');
		$ptdm->set_info('userid', $vbulletin->userinfo['userid']);
		$ptdm->set_info('pid', $vbulletin->GPC['id']);
		$ptdm->set_info('single', true);

		$ptdm->set_existing($ptdm->fetch_data());
	}

	if (!$vbulletin->GPC['delete'] || $add)
	{
		if ($add)
		{
			$ptdm->set('userid',	$vbulletin->userinfo['userid']);
			$ptdm->set('type',	'template');
		}

		$ptdm->set('title',	$vbulletin->GPC['title']);
		$ptdm->set('content',	$vbulletin->GPC['message']);
		$ptdm->set('parentid',	$vbulletin->GPC['parentid']);
		$ptdm->set('global',	$vbulletin->GPC['global']);

		$ptdm->pre_save();
		$ptdm->save();
	}
	else
	{
		$ptdm->delete();
	}

	$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=posttemplates';

	eval(print_standard_redirect('redirect_updatethanks'));
}

if ($_REQUEST['do'] == 'posttemplates')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$navbits[''] = $vbphrase['manage_mwaextraedit4_templates'];

	$html = '';
	$categories = array();
	$templates = array();
	
	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	$ptdm->set_info('type', 'category');
	$ptdm->set_info('userid', $vbulletin->userinfo['userid']);

	while ($category = $vbulletin->db->fetch_array($ptdm->fetch_data()))
	{
		$categories[] = $category;
		//eval('$categories .= "' . fetch_template('modifyposttemplates_category') . '";');
	}

	$ptdm->set_info('type', 'template');

	while ($template = $vbulletin->db->fetch_array($ptdm->fetch_data()))
	{
		$templates[] = $template;
		//eval('$templates .= "' . fetch_template('modifyposttemplates_template') . '";');
	}

	foreach ($categories as $category)
	{
		$bits = '';

		foreach ($templates as $template)
		{
			if ($template['parentid'] == $category['pid'])
			{
				eval('$bits .= "' . fetch_template('modifyposttemplates_template') . '";');
			}
		}

		eval('$html .= "' . fetch_template('modifyposttemplates_category') . '";');
	}

	construct_usercp_nav('posttemplates');

	$templatename = 'modifyposttemplates';
}

if ($_REQUEST['do'] == 'mwaextraedit4_editcategory')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$vbulletin->input->clean_array_gpc('r', array(
		'id'	=> TYPE_INT,
	));

	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	$ptdm->set_info('type', 'category');
	$ptdm->set_info('userid', $vbulletin->userinfo['userid']);
	$ptdm->set_info('pid', $vbulletin->GPC['id']);
	$ptdm->set_info('single', true);

	$category = $ptdm->fetch_data();

	$navbits['profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=posttemplates'] = $vbphrase['manage_mwaextraedit4_templates'];
	$navbits[''] = construct_phrase($vbphrase['mwaextraedit4_edit_category_x'], $category['title']);

	construct_usercp_nav('posttemplates');

	$templatename = 'modifyposttemplates_editcategory';
}

if ($_REQUEST['do'] == 'mwaextraedit4_addtemplate' || $_REQUEST['do'] == 'mwaextraedit4_edittemplate')
{
	if (!$_mwaextraedit4_can_access)
	{
		print_no_permission();
	}

	$vbulletin->input->clean_array_gpc('r', array(
		'id'	=> TYPE_INT,
	));

	$navbits['profile.php?' . $vbulletin->session->vars['sessionurl'] . 'do=posttemplates'] = $vbphrase['manage_mwaextraedit4_templates'];

	if ($_REQUEST['do'] == 'mwaextraedit4_edittemplate')
	{
		$ptdm =& datamanager_init('PostTemplates', $vbulletin);

		$ptdm->set_info('type', 'template');
		$ptdm->set_info('userid', $vbulletin->userinfo['userid']);
		$ptdm->set_info('pid', $vbulletin->GPC['id']);
		$ptdm->set_info('single', true);

		$template = $ptdm->fetch_data();

		$navbits[''] = construct_phrase($vbphrase['mwaextraedit4_edit_template_x'], $template['title']);
	}
	else
	{
		$template = array();

		$navbits[''] = $vbphrase['mwaextraedit4_create_template'];
	}

	construct_usercp_nav('posttemplates');

	require_once(DIR . '/includes/functions_editor.php');

	$stylevar['messagewidth'] = $stylevar['messagewidth_usercp'];
	$editorid = construct_edit_toolbar(
		htmlspecialchars_uni($template['content']),
		0,
		'nonforum',
		1
	);

	$categories = '';

	if ($ptdm)
	{
		unset($ptdm);
	}

	$ptdm =& datamanager_init('PostTemplates', $vbulletin);

	$ptdm->set_info('type', 'category');
	$ptdm->set_info('userid', $vbulletin->userinfo['userid']);

	while ($category = $vbulletin->db->fetch_array($ptdm->fetch_data()))
	{
		$optiontitle = $category['title'];
		$optionvalue = $category['pid'];
		$optionselected = $category['pid'] == $template['parentid'] ? 'selected="selected"' : '';

		if ($category['global'])
		{
			$optiontitle .= " ($vbphrase[mwaextraedit4_defined])";
		}

		eval('$categories .= "' . fetch_template('option') . '";');
	}

	$templatename = 'modifyposttemplates_edittemplate';
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ البحث</title>
			<hookname>search_results_prebits</hookname>
			<phpcode><![CDATA[if ($search['showposts']){
				foreach ($itemids AS $postid => $post){
					$itemids["$postid"]['pagetext'] = preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase[mwaextraedit4_hide_has_hidden], $post['pagetext']); 
				}
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ البحث</title>
			<hookname>search_results_query_threads</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['threadpreview'] > 0){
				$hook_query_fields .= ", post.pagetext AS previewbbcode";
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="9">
			<title>المرفقات في الرد السريع</title>
			<hookname>showthread_complete</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{

if ($vbulletin->options['mwaextraedit4_setting_openclose_active'])
{
eval('$mwaextraedit4openclose = "' . fetch_template("mwaextraedit4_openclose") . '";');
$search_text = '</legend>';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text,'</legend> $mwaextraedit4openclose',$vbulletin->templatecache['SHOWTHREAD']);
}

if ($vbulletin->options['mwaextraedit4_quickreplyattachment_setting_active'])
{

// attachment in quickreply by tnguy3n
	// get attachment options
	$attachtypes =& $vbulletin->attachmentcache;
	require_once(DIR . '/includes/functions_newpost.php');
	require_once(DIR . '/includes/functions_file.php');
	$inimaxattach = fetch_max_upload_size();
	$maxattachsize = vb_number_format($inimaxattach, 1, true);
	$attachcount = 0;
	$attach_editor = array();
	$attachment_js = '';

	if ($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostattachment'] AND $vbulletin->userinfo['userid'])
	{
		if (!$posthash OR !$poststarttime)
		{
			$poststarttime = TIMENOW;
			$posthash = md5($poststarttime . $vbulletin->userinfo['userid'] . $vbulletin->userinfo['salt']);
		}
		else
		{
			if (empty($postattach))
			{
				$currentattaches = $db->query_read("
					SELECT dateline, filename, filesize, attachmentid
					FROM " . TABLE_PREFIX . "attachment
					WHERE posthash = '" . $db->escape_string($newpost['posthash']) . "'
						AND userid = " . $vbulletin->userinfo['userid']
				);

				while ($attach = $db->fetch_array($currentattaches))
				{
					$postattach["$attach[attachmentid]"] = $attach;
				}
			}

			if (!empty($postattach))
			{
				foreach($postattach AS $attachmentid => $attach)
				{
					$attach['extension'] = strtolower(file_extension($attach['filename']));
					$attach['filename'] = htmlspecialchars_uni($attach['filename']);
					$attach['filesize'] = vb_number_format($attach['filesize'], 1, true);
					$attach['imgpath'] = "$stylevar[imgdir_attach]/$attach[extension].gif";
					$show['attachmentlist'] = true;
					eval('$attachments .= "' . fetch_template('newpost_attachmentbit') . '";');

					$attachment_js .= construct_attachment_add_js($attachmentid, $attach['filename'], $attach['filesize'], $attach['extension']);

					$attach_editor["$attachmentid"] = $attach['filename'];
				}
			}

		}
		$attachurl = "f=$foruminfo[forumid]";
		$newpost_attachmentbit = prepare_newpost_attachmentbit();		
		eval('$attachmentoption = "' . fetch_template('newpost_attachment') . '";');

		$attach_editor['hash'] = $foruminfo['forumid'];
		// $attach_editor['url'] = "newattachment.php?$session[sessionurl]t=$threadinfo[threadid]&amp;poststarttime=$poststarttime&amp;posthash=$posthash";
		$attach_editor['url'] = 'newattachment.php?' . $vbulletin->session->vars['sessionurl'] . "t=$threadinfo[threadid]&amp;poststarttime=$poststarttime&amp;posthash=$posthash";
	}
	else
	{
		$attachmentoption = '';
	}
}
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تجهيزات الإبتسامات في الرد السريع والتحرير السريع</title>
			<hookname>showthread_start</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['mwaextraedit4_setting_active'])
{
if ($vbulletin->options['mwaextraedit4_smileqrqe_setting_active'])
{

if (THIS_SCRIPT != 'showthread' AND THIS_SCRIPT != 'private' AND ($editor_type == 'qr'))
{
$editor_type = 'fe';
}

require_once(DIR . '/includes/adminfunctions_template.php');
$find_string = compile_template('<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>');
$add_string = compile_template('<br />$disablesmiliesoption');
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($find_string, $find_string . $add_string, $vbulletin->templatecache['SHOWTHREAD']);
}

// المرفقات في الرد السريع
if ($vbulletin->options['mwaextraedit4_quickreplyattachment_setting_active'])
{
$search_text = '<input type=\"hidden\" name=\"p\" value=\"$qrpostid\" id=\"qr_postid\" />';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text,'<input type=\"hidden\" name=\"posthash\" value=\"$posthash\" />
<input type=\"hidden\" name=\"poststarttime\" value=\"$poststarttime\" /> <input type=\"hidden\" name=\"p\" value=\"$qrpostid\" id=\"qr_postid\" />',$vbulletin->templatecache['SHOWTHREAD']);
$search_text = '<fieldset class=\"fieldset\"';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text,'$attachmentoption <fieldset class=\"fieldset\"',$vbulletin->templatecache['SHOWTHREAD']);
}
// المرفقات في الرد السريع
}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تجميع القوالب في مجموعة واحدة</title>
			<hookname>template_groups</hookname>
			<phpcode><![CDATA[$only = array_merge($only, array('mwaextraedit4' => 'أدوات المودة المطورة للتحرير'));]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ المواضيع</title>
			<hookname>threadbit_process</hookname>
			<phpcode><![CDATA[if (isset($thread['previewbbcode']) AND !empty($thread['preview'])){
				$thread['preview'] = strip_quotes($thread['previewbbcode']);
				$thread['preview'] = htmlspecialchars_uni(fetch_censored_text(fetch_trimmed_title(
					strip_bbcode(preg_replace('/\\[hide\\](.*)\\[\/hide\\]/siU', $vbphrase['mwaextraedit4_hide_has_hidden'] , $thread['preview']), false, true),
					$vbulletin->options['threadpreview']
				)));
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="0">
			<title>العبارات الجاهزة ــ لوحة تحكم العضو</title>
			<hookname>usercp_nav_complete</hookname>
			<phpcode><![CDATA[$canuse		= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_use'];
$cancreate	= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_create'];
$cancreatedef	= $vbulletin->userinfo['permissions']['vbmwaextraedit4_permissions'] & $vbulletin->bf_ugp_vbmwaextraedit4_permissions['vbmwaextraedit4_create_defined'];

if ($canuse && ($cancreate || $cancreatedef))
{
	$show['posttemplates'] = true;
}

eval('$template_hook[usercp_navbar_bottom] .= "' . fetch_template('usercp_nav_posttemplate') . '";');]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>العبارات الجاهزة ــ لوحة تحكم العضو</title>
			<hookname>usercp_nav_start</hookname>
			<phpcode><![CDATA[$cells[] = 'posttemplates';]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ لوحة تحكم العضو</title>
			<hookname>usercp_threads_query</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['threadpreview'] > 0){
				$hook_query_fields .= ", post.pagetext AS previewbbcode";
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="126">
			<title>المحتوى المخفي ــ الأعضاء</title>
			<hookname>usersub_view_query</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['threadpreview'] > 0){
				$hook_query_fields .= ", post.pagetext AS previewbbcode";
			}]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>تصغير الصور في رسائل الزوار</title>
			<hookname>visitor_messagebit_display_complete</hookname>
			<phpcode><![CDATA[if ($this->registry->options['mwaextraedit4_autoresize_postbit_active'])
{
$message = @preg_replace('#<img src="(.*)" border="0" alt="(.*)" \/>#siU', '<img src="\\1" border="0" alt="نقرتين لعرض الصورة في صفحة مستقلة" style="cursor: pointer;" ondblclick="window.open(this.src); return false;" onload="if (this.width >= ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . ') this.width = ' . $this->registry->options['mwaextraedit4_autoresize_maxwidth'] . '; return false;" />', $message);
}]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
		<phrasetype name="Control Panel Options" fieldname="cpoption">
			<phrase name="Andalus" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="Andalus" size="7"><b><strong>منتديات المودة ــ خط أندلس</b><strong></font></div>]]></phrase>
			<phrase name="Arial" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="Arial" size="7"><b><strong>منتديات المودة ــ خط اريل</b><strong></font></div>]]></phrase>
			<phrase name="Mudir_MT" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="Mudir MT" size="7"><b><strong>منتديات المودة ــ خط مدير</b><strong></font></div>]]></phrase>
			<phrase name="Simplified_Arabic" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="Simplified Arabic" size="7"><b><strong>منتديات المودة ــ خط سيمبلي فايد عربي</b><strong></font></div>]]></phrase>
			<phrase name="Tahoma" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="Tahoma" size="7"><b><strong>منتديات المودة ــ خط تاهوما</b><strong></font></div>]]></phrase>
			<phrase name="Times_New_Roman" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="Times New Roman" size="7"><b><strong>منتديات المودة ــ خط تايمز نيو رومان</b><strong></font></div>]]></phrase>
			<phrase name="Traditional_Arabic" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="Traditional Arabic" size="7"><b><strong>منتديات المودة ــ خط تراديشنل عربي</b><strong></font></div>]]></phrase>
			<phrase name="anaween" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="anaween" size="7"><b><strong>منتديات المودة ــ خط عناوين</b><strong></font></div>]]></phrase>
			<phrase name="dekoor" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="dekoor" size="7"><b><strong>منتديات المودة ــ خط ديكور</b><strong></font></div>]]></phrase>
			<phrase name="diwani" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="diwani" size="7"><b><strong>منتديات المودة ــ خط ديواني</b><strong></font></div>]]></phrase>
			<phrase name="electron" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="electron" size="7"><b><strong>منتديات المودة ــ خط اليكترون</b><strong></font></div>]]></phrase>
			<phrase name="entbah" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="entbah" size="7"><b><strong>منتديات المودة ــ خط انتباه</b><strong></font></div>]]></phrase>
			<phrase name="fanan" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="fanan" size="7"><b><strong>منتديات المودة ــ خط فنان</b><strong></font></div>]]></phrase>
			<phrase name="hala" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="hala" size="7"><b><strong>منتديات المودة ــ خط هلا</b><strong></font></div>]]></phrase>
			<phrase name="hasan" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="hasan" size="7"><b><strong>منتديات المودة ــ خط حسن</b><strong></font></div>]]></phrase>
			<phrase name="hor" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="hor" size="7"><b><strong>منتديات المودة ــ خط حر</b><strong></font></div>]]></phrase>
			<phrase name="jamal" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="jamal" size="7"><b><strong>منتديات المودة ــ خط جمال</b><strong></font></div>]]></phrase>
			<phrase name="jameel" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="jameel" size="7"><b><strong>منتديات المودة ــ خط جميل</b><strong></font></div>]]></phrase>
			<phrase name="kabeer" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="kabeer" size="7"><b><strong>منتديات المودة ــ خط كبير</b><strong></font></div>]]></phrase>
			<phrase name="khashab" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="khashab" size="7"><b><strong>منتديات المودة ــ خط خشب</b><strong></font></div>]]></phrase>
			<phrase name="koufi" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="koufi" size="7"><b><strong>منتديات المودة ــ خط كوفي</b><strong></font></div>]]></phrase>
			<phrase name="mateen" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="mateen" size="7"><b><strong>منتديات المودة ــ خط متين</b><strong></font></div>]]></phrase>
			<phrase name="modawar" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="modawar" size="7"><b><strong>منتديات المودة ــ خط مدور</b><strong></font></div>]]></phrase>
			<phrase name="modhalal" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="modhalal" size="7"><b><strong>منتديات المودة ــ خط مظلل</b><strong></font></div>]]></phrase>
			<phrase name="momadad" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="momadad" size="7"><b><strong>منتديات المودة ــ خط ممدد</b><strong></font></div>]]></phrase>
			<phrase name="momaiz" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="momaiz" size="7"><b><strong>منتديات المودة ــ خط مميز</b><strong></font></div>]]></phrase>
			<phrase name="momawaj" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="momawaj" size="7"><b><strong>منتديات المودة ــ خط مموج</b><strong></font></div>]]></phrase>
			<phrase name="mosanan" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="mosanan" size="7"><b><strong>منتديات المودة ــ خط مسنن</b><strong></font></div>]]></phrase>
			<phrase name="mozakraf" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="mozakraf" size="7"><b><strong>منتديات المودة ــ خط مزخرف</b><strong></font></div>]]></phrase>
			<phrase name="naskh" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="naskh" size="7"><b><strong>منتديات المودة ــ خط نسخ</b><strong></font></div>]]></phrase>
			<phrase name="rawa" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="rawa" size="7"><b><strong>منتديات المودة ــ خط روعه</b><strong></font></div>]]></phrase>
			<phrase name="tohfah" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="tohfah" size="7"><b><strong>منتديات المودة ــ خط تحفه</b><strong></font></div>]]></phrase>
			<phrase name="wadhih" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFE018" face="wadhih" size="7"><b><strong>منتديات المودة ــ خط واضح</b><strong></font></div>]]></phrase>
			<phrase name="waragah" date="1255761688" username="ابو راشد" version=""><![CDATA[<div valign="top" style="width:400px" nowrap><font color="#FFFFFF" face="waragah" size="7"><b><strong>خط ورقه</b><strong></font></div>]]></phrase>
		</phrasetype>
		<phrasetype name="Permissions" fieldname="cppermission">
			<phrase name="mwaextraedit4_can_create_defined_pt" date="1230490673" username="ابو راشد" version="1.0.0"><![CDATA[يستطيع إنشاء عبارات جاهزة عامة
<dfn>هل تريد السماح لعضو هذه المجموعة بإنشاء عبارات جاهزة عامة ... العبارات الجاهزة العامة يستطيع استخدامها جميع أعضاء المجموعات المسموح لها بإستخدام العبارات الجاهزة العامة ... طريقة جميلة للسماح للأعضاء بتبادل العبارات الجاهزة</dfn>]]></phrase>
			<phrase name="mwaextraedit4_can_create_pt" date="1230498387" username="ابو راشد" version="1.0.0"><![CDATA[يستطيع إنشاء عبارات جاهزة
<dfn>هل تريد السماح لعضو هذه المجموعة بإنشاء عبارات جاهزة خاصة به فقط</dfn>]]></phrase>
			<phrase name="mwaextraedit4_can_use_defined_pt" date="1230498434" username="ابو راشد" version="1.0.0"><![CDATA[يستطيع إستخدام العبارات الجاهزة العامة
<dfn>هل تريد السماح لأعضاء هذه المجموعة بإستخدام العبارات الجاهزة العامة والتي يتم إنشائها من قبل الأعضاء المسموح لهم بإنشاء عبارات جاهزة عامة ... طريقة جميلة لتبادل العبارات الجاهزة</dfn>]]></phrase>
			<phrase name="mwaextraedit4_can_use_pt" date="1230498361" username="ابو راشد" version="1.0.0"><![CDATA[يستطيع استخدام العبارات الجاهزة
<dfn>هل تريد السماح لعضو هذه المجموعة بإستخدام العبارات الجاهزة</dfn>]]></phrase>
			<phrase name="vbmwaextraedit4_permissions" date="1230490743" username="ابو راشد" version="1.0.0"><![CDATA[تراخيص العبارات الجاهزة]]></phrase>
		</phrasetype>
		<phrasetype name="Error Messages" fieldname="error">
			<phrase name="cannot_create_global_posttemplate" date="1230492664" username="ابو راشد" version="1.0.0"><![CDATA[المعذرة ... غير مسموح لك بإنشاء عبارات جاهزة عامة .]]></phrase>
			<phrase name="cannot_create_global_posttemplate_parent" date="1230496633" username="ابو راشد" version="1.0.0"><![CDATA[المعذرة ... لا يمكنك إنشاء عبارة جاهزة عامة إلا في قسم مخصص للعبارات الجاهزة العامة ... فضلا قم بإنشاء قسم مخصص للعبارات الجاهزة العامة قبل محاولة إنشاء عبارة جاهزة عامة]]></phrase>
			<phrase name="invalid_posttemplate_category" date="1230339569" username="ابو راشد" version="1.0.0"><![CDATA[القسم المحدد من قبلك غير موجود للأسف .]]></phrase>
			<phrase name="invalid_posttemplate_type" date="1230325720" username="ابو راشد" version="1.0.0"><![CDATA[العبارة الجاهزة غير صحيحة للأسف .]]></phrase>
			<phrase name="posttemplate_item_invalid" date="1230331843" username="ابو راشد" version="1.0.0"><![CDATA[العبارة الجاهزة أو القسم الذي تحاول إدارته غير موجود للأسف]]></phrase>
		</phrasetype>
		<phrasetype name="GLOBAL" fieldname="global">
			<phrase name="mwaextraedit4" date="1255840084" username="ابو راشد" version=""><![CDATA[المودة المطورة للتحرير 4]]></phrase>
			<phrase name="mwaextraedit4_border_number" date="0" username="" version=""><![CDATA[إطار رقم]]></phrase>
			<phrase name="mwaextraedit4_border_options" date="0" username="" version=""><![CDATA[خيارات الإطـار]]></phrase>
			<phrase name="mwaextraedit4_border_title" date="0" username="" version=""><![CDATA[إطار]]></phrase>
			<phrase name="mwaextraedit4_border_type" date="0" username="" version=""><![CDATA[الإطار]]></phrase>
			<phrase name="mwaextraedit4_border_width" date="0" username="" version=""><![CDATA[عرض الإطار]]></phrase>
			<phrase name="mwaextraedit4_both" date="0" username="" version=""><![CDATA[كلاهما]]></phrase>
			<phrase name="mwaextraedit4_buttons" date="1194013454" username="ابو راشد" version=""><![CDATA[خيارات الأزرار]]></phrase>
			<phrase name="mwaextraedit4_buttons_enable_both" date="1255324188" username="ابو راشد" version=""><![CDATA[تنشيط في المحرر وفي الرد السريع]]></phrase>
			<phrase name="mwaextraedit4_buttons_enable_editor" date="1255324453" username="ابو راشد" version=""><![CDATA[تنشيط في المحرر فقط]]></phrase>
			<phrase name="mwaextraedit4_buttons_enable_none" date="1255324123" username="ابو راشد" version=""><![CDATA[عدم تنشيط]]></phrase>
			<phrase name="mwaextraedit4_buttons_enable_quickreply" date="1255324311" username="ابو راشد" version=""><![CDATA[تنشيط في الرد السريع فقط]]></phrase>
			<phrase name="mwaextraedit4_cantseeattach" date="0" username="" version=""><![CDATA[<img src="mwaextraedit4/buttons/cannotattach.gif">]]></phrase>
			<phrase name="mwaextraedit4_center_formatting" date="1184771055" username="ابو راشد" version=""><![CDATA[توسيط النص]]></phrase>
			<phrase name="mwaextraedit4_code" date="1184597748" username="ابو راشد" version=""><![CDATA[إضافة كود]]></phrase>
			<phrase name="mwaextraedit4_copyright" date="1184365386" username="ابو راشد" version=""><![CDATA[منتج أدوات المودة المطورة للتحرير هي نتاج عمل جماعي من عدة جهات وأشخاص منهم الأخ الفاضل ابو عمر أو الدربيل والأخ الفاضل العندليب والاخ الفاضل جريح الحب والأخ الفاضل مجهول و uaeserver.com وأخيرا تم التطوير والتحسين بواسطة ابو راشد مشرف عام منتديات المودة www.mwadah.com ليخرج لكم المنتج بشكله الحالي]]></phrase>
			<phrase name="mwaextraedit4_double" date="0" username="" version=""><![CDATA[مزدوج]]></phrase>
			<phrase name="mwaextraedit4_enter_font_name" date="0" username="" version=""><![CDATA[أدخل هنا اسم الخط :]]></phrase>
			<phrase name="mwaextraedit4_extra_fonts" date="1255840005" username="ابو راشد" version=""><![CDATA[خيارات الخطوط الإضافية]]></phrase>
			<phrase name="mwaextraedit4_flash" date="1184512076" username="ابو راشد" version=""><![CDATA[تشغيل ملف فلاش مباشرة في المشاركة]]></phrase>
			<phrase name="mwaextraedit4_flash1" date="1184512030" username="ابو راشد" version=""><![CDATA[إضافة رابط لتشغيل ملف فلاش في صفحة مستقله بطريقة جميلة ومميزة]]></phrase>
			<phrase name="mwaextraedit4_font_standard_editor" date="0" username="" version=""><![CDATA[[الخـط]]]></phrase>
			<phrase name="mwaextraedit4_formatting" date="0" username="" version=""><![CDATA[طريقة التنسيق]]></phrase>
			<phrase name="mwaextraedit4_frame" date="0" username="" version=""><![CDATA[إنشاء إطار]]></phrase>
			<phrase name="mwaextraedit4_gradient_color" date="0" username="" version=""><![CDATA[ألوان متدرجة]]></phrase>
			<phrase name="mwaextraedit4_gradient_options" date="0" username="" version=""><![CDATA[خيارات الألوان المتدرجة]]></phrase>
			<phrase name="mwaextraedit4_groove" date="0" username="" version=""><![CDATA[أخدود]]></phrase>
			<phrase name="mwaextraedit4_help" date="0" username="" version=""><![CDATA[التعليمات]]></phrase>
			<phrase name="mwaextraedit4_hide" date="1194013456" username="ابو راشد" version=""><![CDATA[خيارات المحتوى المخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_has_hidden" date="0" username="ابو راشد" version=""><![CDATA[هذه المشاركة تحتوي على محتوى مخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_img_post" date="0" username="ابو راشد" version=""><![CDATA[يجب عليك الرد لرؤية النص المخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_img_pot" date="0" username="ابو راشد" version=""><![CDATA[<img border="0" src="mwaextraedit4/buttons/hide.gif">]]></phrase>
			<phrase name="mwaextraedit4_hide_img_sorry" date="1194012760" username="ابو راشد" version=""><![CDATA[حدث الصفحة لعرض المحتويات المخفية<br /> حيث لا يمكن تحديث الصفحة آليا]]></phrase>
			<phrase name="mwaextraedit4_hide_img_thank" date="0" username="ابو راشد" version=""><![CDATA[<img border="0" src="mwaextraedit4/buttons/hide.gif">]]></phrase>
			<phrase name="mwaextraedit4_hide_keyboard" date="0" username="" version=""><![CDATA[إخفاء لوحة المفاتيح العربية]]></phrase>
			<phrase name="mwaextraedit4_hide_post_hide" date="0" username="ابو راشد" version=""><![CDATA[محتوى مخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_post_noquote" date="0" username="ابو راشد" version=""><![CDATA[المحتوى المخفي لايقتبس]]></phrase>
			<phrase name="mwaextraedit4_hide_post_own" date="0" username="ابو راشد" version=""><![CDATA[هذا الجزء من المحتوى مخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_post_show" date="0" username="ابو راشد" version=""><![CDATA[المحتوى الان غير مخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_txt_post" date="0" username="" version=""><![CDATA[يجب ان ترد لمشاهدة المحتوى المخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_txt_pot" date="0" username="" version=""><![CDATA[يجب ان ترد لمشاهدة المحتوى المخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_txt_sorry" date="0" username="" version=""><![CDATA[الادارة منعت مشاهدة المحتوى<br /> لايوجد وسيلة لمشاهدة المحتوى المخفي]]></phrase>
			<phrase name="mwaextraedit4_hide_txt_thank" date="0" username="" version=""><![CDATA[يجب ان تقوم بشكر صاحب الموضوع لمشاهدة المحتوى المخفي]]></phrase>
			<phrase name="mwaextraedit4_highlight_first" date="0" username="" version=""><![CDATA[يرجى تظليل النص أولا]]></phrase>
			<phrase name="mwaextraedit4_html" date="1184597769" username="ابو راشد" version=""><![CDATA[إضافة كود هتمل html]]></phrase>
			<phrase name="mwaextraedit4_imageresize" date="1255142523" username="ابو راشد" version=""><![CDATA[خيارات تصغير الصور]]></phrase>
			<phrase name="mwaextraedit4_imgl" date="1184859044" username="ابو راشد" version=""><![CDATA[إدراج صورة مع محاذاتها يسار النص]]></phrase>
			<phrase name="mwaextraedit4_imgr" date="1184859034" username="ابو راشد" version=""><![CDATA[إدراج صورة مع محاذاتها يمين النص]]></phrase>
			<phrase name="mwaextraedit4_inset" date="0" username="" version=""><![CDATA[مغروز]]></phrase>
			<phrase name="mwaextraedit4_justify" date="0" username="" version=""><![CDATA[محاذاة إلى الأطراف]]></phrase>
			<phrase name="mwaextraedit4_justify_formatting" date="1184771099" username="ابو راشد" version=""><![CDATA[تعبئة وتنسيق النص ومحاذاته للأطراف يمين ويسار]]></phrase>
			<phrase name="mwaextraedit4_keyboard" date="0" username="" version=""><![CDATA[إظهار لوحة المفاتيح العربية]]></phrase>
			<phrase name="mwaextraedit4_left_formatting" date="1184771066" username="ابو راشد" version=""><![CDATA[تنسيق النص جهة اليسار]]></phrase>
			<phrase name="mwaextraedit4_line" date="0" username="" version=""><![CDATA[خط فاصل]]></phrase>
			<phrase name="mwaextraedit4_ltr" date="0" username="" version=""><![CDATA[إلى اليمين]]></phrase>
			<phrase name="mwaextraedit4_main" date="1193812489" username="ابو راشد" version=""><![CDATA[خيارات عامة]]></phrase>
			<phrase name="mwaextraedit4_mark" date="0" username="" version=""><![CDATA[تظليل النص]]></phrase>
			<phrase name="mwaextraedit4_media" date="0" username="" version=""><![CDATA[تشغيل ملفات الصوت والصورة (mp3,wav,au,wma,mpg,mpeg,wmv,avi,...)]]></phrase>
			<phrase name="mwaextraedit4_message_too_long" date="0" username="" version=""><![CDATA[نص المشاركة طويل جداً، عدد أحرف النص يجب ان لا تتعدى الـ]]></phrase>
			<phrase name="mwaextraedit4_message_too_short" date="0" username="" version=""><![CDATA[نص المشاركة قصير جدأً، يجب أن لا يقل عدد الأحرف المُستخدمة في النص عن الـ]]></phrase>
			<phrase name="mwaextraedit4_no_background" date="0" username="" version=""><![CDATA[بلا...]]></phrase>
			<phrase name="mwaextraedit4_note" date="0" username="" version=""><![CDATA[ملاحظة :]]></phrase>
			<phrase name="mwaextraedit4_number_start_from" date="0" username="" version=""><![CDATA[تبدأ الأرقام من]]></phrase>
			<phrase name="mwaextraedit4_outset" date="0" username="" version=""><![CDATA[مرتفع]]></phrase>
			<phrase name="mwaextraedit4_php" date="1184597786" username="ابو راشد" version=""><![CDATA[إضافة كود php]]></phrase>
			<phrase name="mwaextraedit4_pick_color" date="1184769687" username="ابو راشد" version=""><![CDATA[تلوين النص]]></phrase>
			<phrase name="mwaextraedit4_pick_poem_templates" date="0" username="" version=""><![CDATA[اختر تصميم جاهز]]></phrase>
			<phrase name="mwaextraedit4_pick_ready_style" date="0" username="" version=""><![CDATA[اختر تصميم جاهز]]></phrase>
			<phrase name="mwaextraedit4_poem" date="0" username="" version=""><![CDATA[تنسيق قصيدة شعرية]]></phrase>
			<phrase name="mwaextraedit4_poem_background" date="0" username="" version=""><![CDATA[الخلفية:]]></phrase>
			<phrase name="mwaextraedit4_poem_codes" date="0" username="" version=""><![CDATA[الشكل]]></phrase>
			<phrase name="mwaextraedit4_poem_direction" date="0" username="" version=""><![CDATA[جهة القصيدة]]></phrase>
			<phrase name="mwaextraedit4_poem_example" date="0" username="" version=""><![CDATA[مثال لتنسيق القصيدة]]></phrase>
			<phrase name="mwaextraedit4_poem_font_type" date="0" username="" version=""><![CDATA[النوع]]></phrase>
			<phrase name="mwaextraedit4_poem_look" date="0" username="" version=""><![CDATA[هيئة القصيدة]]></phrase>
			<phrase name="mwaextraedit4_poem_options" date="0" username="" version=""><![CDATA[خيارات التنسيق]]></phrase>
			<phrase name="mwaextraedit4_poem_templates" date="0" username="" version=""><![CDATA[تصاميم جاهزة]]></phrase>
			<phrase name="mwaextraedit4_poem_type" date="0" username="" version=""><![CDATA[عفوا، عليك تظليل القصيدة أولا . تذكر أن تفصل شطري كل بيت بعلامة المساواة (=)]]></phrase>
			<phrase name="mwaextraedit4_poem_words" date="1184373326" username="ابو راشد" version=""><![CDATA[ولقد ثبتت لكم في القلب  مودة= كما ثبتت في الراحتين الاصابعِ]]></phrase>
			<phrase name="mwaextraedit4_preview_gradient" date="1184428829" username="ابو راشد" version=""><![CDATA[ولقد ثبتت لكم في القلب مودة]]></phrase>
			<phrase name="mwaextraedit4_real_player" date="0" username="" version=""><![CDATA[تشغيل ملف رييل بلاير (rm,ra,ram,...)]]></phrase>
			<phrase name="mwaextraedit4_real_video" date="0" username="" version=""><![CDATA[صورة]]></phrase>
			<phrase name="mwaextraedit4_ridge" date="0" username="" version=""><![CDATA[تل]]></phrase>
			<phrase name="mwaextraedit4_right_formatting" date="1184771052" username="ابو راشد" version=""><![CDATA[تنسيق النص جهة اليمين]]></phrase>
			<phrase name="mwaextraedit4_rtl" date="0" username="" version=""><![CDATA[إلى اليسار]]></phrase>
			<phrase name="mwaextraedit4_seprate_line_with" date="0" username="" version=""><![CDATA[لكتابة القصيدة افصل شطري كل بيت بعلامة المساواة ( = )]]></phrase>
			<phrase name="mwaextraedit4_show_poem_number" date="0" username="" version=""><![CDATA[هل تريد إظهار أرقام الأبيات ؟]]></phrase>
			<phrase name="mwaextraedit4_size" date="0" username="" version=""><![CDATA[الحجم]]></phrase>
			<phrase name="mwaextraedit4_size_standard_editor" date="0" username="" version=""><![CDATA[[الحـجم]]]></phrase>
			<phrase name="mwaextraedit4_solid" date="0" username="" version=""><![CDATA[مصمت]]></phrase>
			<phrase name="mwaextraedit4_sound_only" date="0" username="" version=""><![CDATA[صوت فقط]]></phrase>
			<phrase name="mwaextraedit4_sound_video" date="0" username="" version=""><![CDATA[أدخل ملف الصوت والصورة:]]></phrase>
			<phrase name="mwaextraedit4_space_in_line" date="0" username="" version=""><![CDATA[المسـافـة]]></phrase>
			<phrase name="mwaextraedit4_template_number" date="0" username="" version=""><![CDATA[قالب رقم]]></phrase>
			<phrase name="mwaextraedit4_text_formatting" date="1184771227" username="ابو راشد" version=""><![CDATA[منسق النص وهو محرر متقدم للنص كالخط وحجمه واللون والخلفية والإطار والتنسيق يمين ويسار ووسط وتعبئة !!]]></phrase>
			<phrase name="mwaextraedit4_text_formatting_example" date="1184415415" username="ابو راشد" version=""><![CDATA[ولقد ثبتت لكم في القلب  مودة]]></phrase>
			<phrase name="mwaextraedit4_text_formatting_options" date="0" username="" version=""><![CDATA[خيارات منسق النص]]></phrase>
			<phrase name="mwaextraedit4_text_formatting_width" date="0" username="" version=""><![CDATA[عرض التنسيق]]></phrase>
			<phrase name="mwaextraedit4_type_four" date="0" username="" version=""><![CDATA[عمود]]></phrase>
			<phrase name="mwaextraedit4_type_long" date="0" username="" version=""><![CDATA[متباعدة]]></phrase>
			<phrase name="mwaextraedit4_type_one" date="0" username="" version=""><![CDATA[عمودان]]></phrase>
			<phrase name="mwaextraedit4_type_short" date="0" username="" version=""><![CDATA[متقاربة]]></phrase>
			<phrase name="mwaextraedit4_type_three" date="0" username="" version=""><![CDATA[متداخل]]></phrase>
			<phrase name="mwaextraedit4_type_two" date="0" username="" version=""><![CDATA[منحدر]]></phrase>
			<phrase name="mwaextraedit4_url" date="0" username="" version=""><![CDATA[الرابط...]]></phrase>
			<phrase name="mwaextraedit4_web" date="0" username="" version=""><![CDATA[صفحة انترنت]]></phrase>
			<phrase name="mwaextraedit4_word_length" date="0" username="" version=""><![CDATA[بامتداد الكلمات]]></phrase>
			<phrase name="mwaextraedit4_word_spacing" date="0" username="" version=""><![CDATA[بتباعد الكلمات]]></phrase>
			<phrase name="mwaextraedit4_youtube" date="1184599041" username="ابو راشد" version=""><![CDATA[إدراج ملفات الفيديو لمواقع الفيديو المتخصصة YouTube و Google و MySpace و MetaCafe و Yahoo و Koreus و Sapo Live Leak و Game Trailers]]></phrase>
			<phrase name="post_template" date="1230340972" username="ابو راشد" version="1.0.0"><![CDATA[العبارة الجاهزة]]></phrase>
			<phrase name="post_templates" date="1230341097" username="ابو راشد" version="1.0.0"><![CDATA[العبارات الجاهزة]]></phrase>
		</phrasetype>
		<phrasetype name="Postbit" fieldname="postbit">
			<phrase name="mwaextraedit4_bbcode_table" date="0" username="" version=""><![CDATA[صفحة إنشاء جدول]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_add" date="0" username="" version=""><![CDATA[إدخال جدول]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_alttext" date="1184534467" username="ابو راشد" version=""><![CDATA[إدراج جدول في المشاركة ... وللعلم لا يعمل مع محرر wysiwyg editors أو المحرر المرئي والمطور]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_beta" date="1184536830" username="ابو راشد" version=""><![CDATA[<strong> الإصدار الأول </strong>]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_copyright" date="1184536603" username="ابو راشد" version=""><![CDATA[<a href="http://www.mwadah.com" target="_blank">تطوير المودة</a>]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_error" date="0" username="" version=""><![CDATA[عفواً هذا الخيار متوفر للإدارة فقط]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_first_line" date="1179164251" username="ابو راشد" version=""><![CDATA[الجدول الأول يعتبر كتصنيف للجداول أو عناوين ؟]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_first_line_no" date="0" username="" version=""><![CDATA[لا]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_first_line_yes" date="0" username="" version=""><![CDATA[نعم]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_next" date="0" username="" version=""><![CDATA[متابعة]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_ok" date="0" username="" version=""><![CDATA[تنفيذ العملية]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_td" date="1179164429" username="ابو راشد" version=""><![CDATA[عدد الخانات ( بالعرض ) أو الأعمدة]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_tr" date="1179164457" username="ابو راشد" version=""><![CDATA[عدد الخانات ( بالطول ) أو الأسطر]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_width" date="0" username="" version=""><![CDATA[عرض الجدول ؟]]></phrase>
			<phrase name="mwaextraedit4_bbcode_table_widthname" date="0" username="" version=""><![CDATA[بعرض :]]></phrase>
		</phrasetype>
		<phrasetype name="User Tools (global)" fieldname="user">
			<phrase name="manage_mwaextraedit4_categories" date="1230340163" username="ابو راشد" version="1.0.0"><![CDATA[تعديل الأقسام]]></phrase>
			<phrase name="manage_mwaextraedit4_category" date="1230340522" username="ابو راشد" version="1.0.0"><![CDATA[تعديل القسم]]></phrase>
			<phrase name="manage_mwaextraedit4_category_modify" date="1230340605" username="ابو راشد" version="1.0.0"><![CDATA[لتعديل إسم القسم فضلا قم بكتابته ثم إختر تعديل ولحذف القسم فضلا إختر حذف <strong>ملاحظة :</strong> حذف القسم سيتم معه حذف جميع العبارات الجاهزة الموجودة في القسم]]></phrase>
			<phrase name="manage_mwaextraedit4_category_x" date="1230340540" username="ابو راشد" version="1.0.0"><![CDATA[تعديل القسم : {1}]]></phrase>
			<phrase name="manage_mwaextraedit4_exist_categories_and_templates_x" date="1230515671" username="ابو راشد" version="1.0.0"><![CDATA[هنا يتم تعديل الأقسام والعبارات الجاهزة ... الأقسم الحالية :  {1}, العبارات الجاهزة : {2}]]></phrase>
			<phrase name="manage_mwaextraedit4_exist_categories_x" date="1230340219" username="ابو راشد" version="1.0.0"><![CDATA[هنا يتم تعديل الأقسام ... القسم الحالي : {1}]]></phrase>
			<phrase name="manage_mwaextraedit4_exist_templates_x" date="1230340251" username="ابو راشد" version="1.0.0"><![CDATA[هنا يتم تعديل العبارات الجاهزة ... العبارات الحالية : {1}]]></phrase>
			<phrase name="manage_mwaextraedit4_template" date="1230516184" username="ابو راشد" version="1.0.0"><![CDATA[تعديل العبارة الجاهزة]]></phrase>
			<phrase name="manage_mwaextraedit4_template_x" date="1230340892" username="ابو راشد" version="1.0.0"><![CDATA[تعديل العبارة الجاهزة : {1}]]></phrase>
			<phrase name="manage_mwaextraedit4_templates" date="1230340336" username="ابو راشد" version="1.0.0"><![CDATA[تعديل العبارات الجاهزة]]></phrase>
			<phrase name="manage_post_templates" date="1230340139" username="ابو راشد" version="1.0.0"><![CDATA[تعديل العبارات الجاهزة]]></phrase>
			<phrase name="mwaextraedit4_add_category" date="1230340312" username="ابو راشد" version="1.0.0"><![CDATA[إضافة قسم]]></phrase>
			<phrase name="mwaextraedit4_add_category_desc" date="1230497442" username="ابو راشد" version="1.0.0"><![CDATA[لإضافة قسم جديد فضلا أكتب إسم القسم ثم إختر إضافة]]></phrase>
			<phrase name="mwaextraedit4_create_new_template" date="1230340871" username="ابو راشد" version="1.0.0"><![CDATA[إضافة عبارة جاهزة جديدة]]></phrase>
			<phrase name="mwaextraedit4_create_template" date="1230340399" username="ابو راشد" version="1.0.0"><![CDATA[إضافة عبارة جاهزة]]></phrase>
			<phrase name="mwaextraedit4_create_template_desc" date="1230340384" username="ابو راشد" version="1.0.0"><![CDATA[لإضافة عبارة جاهزة جديدة فضلا إختر إضافة]]></phrase>
			<phrase name="mwaextraedit4_defined" date="1230493910" username="ابو راشد" version="1.0.0"><![CDATA[عام للمسموح لهم]]></phrase>
			<phrase name="mwaextraedit4_defined_q" date="1230493411" username="ابو راشد" version="1.0.0"><![CDATA[عام للمسموح لهم ؟ وضع علامة هنا يعني نشر القسم للجميع .]]></phrase>
			<phrase name="mwaextraedit4_delete_category" date="1230340732" username="ابو راشد" version="1.0.0"><![CDATA[حذف القسم]]></phrase>
			<phrase name="mwaextraedit4_edit_category_x" date="1230341541" username="ابو راشد" version="1.0.0"><![CDATA[تعديل القسم : {1}]]></phrase>
			<phrase name="mwaextraedit4_edit_template_x" date="1230341410" username="ابو راشد" version="1.0.0"><![CDATA[تعديل العبارة الجاهزة : {1}]]></phrase>
			<phrase name="mwaextraedit4_no_cats" date="1230340418" username="ابو راشد" version="1.0.0"><![CDATA[لا يوجد لديك أقسام حاليا ... للبدء فضلا إختر إضافة قسم]]></phrase>
			<phrase name="mwaextraedit4_no_temps_for_cat" date="1230515932" username="ابو راشد" version="1.0.0"><![CDATA[لا يوجد عبارات جاهزة في هذا القسم حاليا]]></phrase>
			<phrase name="mwaextraedit4_template_category" date="1230340925" username="ابو راشد" version="1.0.0"><![CDATA[القسم]]></phrase>
			<phrase name="mwaextraedit4_template_title" date="1230340948" username="ابو راشد" version="1.0.0"><![CDATA[عنوان العبارة الجاهزة]]></phrase>
			<phrase name="mwaextraedit4_update_category" date="1230340710" username="ابو راشد" version="1.0.0"><![CDATA[تعديل القسم]]></phrase>
		</phrasetype>
		<phrasetype name="vBulletin Settings" fieldname="vbsettings">
			<phrase name="setting_mwaextraedit4_autoresize_maxwidth_desc" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[أدخل هنا العرض المطلوب تصغير الصورة التي يزيد عرضها عنه]]></phrase>
			<phrase name="setting_mwaextraedit4_autoresize_maxwidth_title" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[أقصى عرض للصورة]]></phrase>
			<phrase name="setting_mwaextraedit4_autoresize_postbit_active_desc" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تصغير الصور في المواضيع والمشاركات ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_autoresize_postbit_active_title" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[تنشيط تصغير الصور في المواضيع والمشاركات]]></phrase>
			<phrase name="setting_mwaextraedit4_autoresize_sign_active_desc" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تصغير الصور في التواقيع ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_autoresize_sign_active_title" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[تنشيط تصغير الصور في التواقيع]]></phrase>
			<phrase name="setting_mwaextraedit4_center_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط توسيط الازرار في المحرر وجعل المحرر بعرض الصفحة ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_center_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/center.gif"> تنشيط توسيط الأزرار وجعل المحرر بعرض الصفحة]]></phrase>
			<phrase name="setting_mwaextraedit4_fonts_allow1_desc" date="1256011689" username="ابو راشد" version="4.0"><![CDATA[فضلا إختر الخطوط التي ترغب في تنشيطها .]]></phrase>
			<phrase name="setting_mwaextraedit4_fonts_allow1_title" date="1256011689" username="ابو راشد" version="4.0"><![CDATA[الخطوط المطلوب تنشيطها ( المجموعة الثانية )]]></phrase>
			<phrase name="setting_mwaextraedit4_fonts_allow_desc" date="1256018193" username="ابو راشد" version="4.0"><![CDATA[فضلا إختر الخطوط التي ترغب في تنشيطها .]]></phrase>
			<phrase name="setting_mwaextraedit4_fonts_allow_title" date="1256018193" username="ابو راشد" version="4.0"><![CDATA[الخطوط المطلوب تنشيطها ( المجموعة الأولى )]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_active_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الإخفاء ( يسمح للأعضاء والإدارة بإخفاء محتوى معين لحين الرد على الموضوع )]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_active_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/hides.gif"> تنشيط الإخفاء]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_ajax_on_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الأجاكس لعرض المحتوى المخفي آليا بعد الرد على الموضوع]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_ajax_on_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> تنشيط الأجاكس لتحديث الموضوع]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_notforum_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[فضلا ضع علامة على المنتديات التي لاتريد ان يعمل الهاك بها]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_notforum_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> استثناء المنتديات]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showadmin_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[هل ترغب في استثناء الإداريين والسماح لهم بمشاهدة النص المخفي دون رد]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showadmin_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> استثناء الإداريين]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showmod_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[هل ترغب في استثناء المشرفين والسماح لهم بمشاهدة النص المخفي دون رد]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showmod_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> إستثناء المشرفين]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showposted_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[اختر نعم لعرض النص المخفي للاعضاء الذين ردوا]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showposted_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> عرض النص المخفي للاعضاء الذين ردوا]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showusergroup_desc" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[ضع علامة على المجموعات المسموح لها بمشاهدة المحتوى المخفي دون رد]]></phrase>
			<phrase name="setting_mwaextraedit4_hide_showusergroup_title" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> استثناء مجموعات الأعضاء]]></phrase>
			<phrase name="setting_mwaextraedit4_quickedit_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط أدوات المودة المطورة للتحرير في محرر التحرير السريع للمواضيع  ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_quickedit_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> تنشيط أدوات المودة المطورة للتحرير في التحرير السريع]]></phrase>
			<phrase name="setting_mwaextraedit4_quickreply_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط أدوات المودة المطورة للتحرير في الرد السريع في المواضيع والرد السريع في الرسائل الخاصة  والمحرر في البومات صور الأعضاء والمجموعات الإجتماعية ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_quickreply_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> تنشيط أدوات المودة المطورة للتحرير في الرد السريع والمحررات الأخرى]]></phrase>
			<phrase name="setting_mwaextraedit4_quickreplyattachment_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط المرفقات في الرد السريع ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_quickreplyattachment_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/attach.gif"> تنشيط المرفقات في الرد السريع]]></phrase>
			<phrase name="setting_mwaextraedit4_rainbow_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الروابط المضيئة والنص المضيء]]></phrase>
			<phrase name="setting_mwaextraedit4_rainbow_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/rainbow.gif"> تنشيط الروابط المضيئة والنص المضيء]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط أدوات المودة المطورة للتحرير ؟ إختيار لا هنا سيعطل جميع الخيارات .]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> تنشيط أدوات المودة المطورة للتحرير]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_autovideo_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الإستبدال الآلي لملفات الفيديو لمواقع الفيديو المتخصصة  YouTube و Google و MySpace و MetaCafe و Yahoo و Koreus و Sapo Live Leak و Game Trailers ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_autovideo_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/youtube.gif"> تنشيط الإستبدال الآلي للفيديو]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_backcolor_active_desc" date="1256349247" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تلوين النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_backcolor_active_title" date="1256349247" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/colorpicker.gif"> تنشيط تلوين النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bestsmileicon_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تحسين طريقة عرض الإبتسامات والأيقونات اسفل المحرر بوضعها في جدول يناسب ستايل منتداك بدلا من عرضها كخلية واحدة ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bestsmileicon_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/smilie.gif"> تنشيط تحسين طريقة عرض الإبتسامات والايقونات اسفل المحرر]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bimg_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج صورة مصغرة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bimg_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/bimg.gif"> تنشيط إدراج صورة مصغرة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bor_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج نص داخل إطار متقطع مع إختيار اللون]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_bor_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/bor.gif"> تنشيط إدراج نص داخل إطار متقطع مع إختيار اللون]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_buttons_count_row_desc" date="1256357896" username="ابو راشد" version="4.0"><![CDATA[فضلا أدخل عدد الأزرار المطلوب عرضها في كل سطر في المحرر العادي ثم الإنتقال للسطر التالي]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_buttons_count_row_q_desc" date="1256357485" username="ابو راشد" version="4.0"><![CDATA[فضلا أدخل عدد الأزرار المطلوب عرضها في كل سطر في المحرر العادي ثم الإنتقال للسطر التالي]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_buttons_count_row_q_title" date="1256357485" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> عدد الأزرار في كل سطر في الرد السريع والتحرير السريع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_buttons_count_row_title" date="1256357896" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> عدد الأزرار في كل سطر في المحرر العادي]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_caution_active_desc" date="1256348032" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر تنبيه]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_caution_active_title" date="1256348032" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/caution.gif"> تنشيط زر تنبيه]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_center_active_desc" date="1256357324" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر توسيط النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_center_active_title" date="1256357324" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/center.gif"> تنشيط زر توسيط النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_code_active_desc" date="1256357109" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج الأكواد في المشاركات ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_code_active_title" date="1256357109" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/code.gif"> تنشيط إدراج الأكواد]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_copy_active_desc" date="1256351349" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر نسخ النص للحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_copy_active_title" date="1256351349" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/copy.gif"> تنشيط زر نسخ النص للحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_cut_active_desc" date="1256351371" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر قص النص للحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_cut_active_title" date="1256351371" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/cut.gif"> تنشيط زر قص النص للحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_delete_active_desc" date="1256351411" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر حذف النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_delete_active_title" date="1256351411" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/delete.gif"> تنشيط زر حذف النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_extrafonts_active_desc" date="1256011723" username="ابو راشد" version="4.0"><![CDATA[هل ترغب في تنشيط الخطوط الإضافية ؟
الخطوط الإضافية عبارة عن خطوط يمكن استخدامها في المنتدى وستعرض بشكل سليم حتى لو كانت غير موجودة في جهاز العضو أو الزائر .

<style type="text/css">
@font-face { font-family: anaween; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/anaween.eot); }
@font-face { font-family: dekoor; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/dekoor.eot); }
@font-face { font-family: diwani; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/diwani.eot); }
@font-face { font-family: electron; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/electron.eot); }
@font-face { font-family: entbah; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/entbah.eot); }
@font-face { font-family: fanan; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/fanan.eot); }
@font-face { font-family: hala; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/hala.eot); }
@font-face { font-family: hasan; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/hasan.eot); }
@font-face { font-family: hor; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/hor.eot); }
@font-face { font-family: jamal; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/jamal.eot); }
@font-face { font-family: jameel; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/jameel.eot); }
@font-face { font-family: kabeer; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/kabeer.eot); }
@font-face { font-family: khashab; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/khashab.eot); }
@font-face { font-family: koufi; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/koufi.eot); }
@font-face { font-family: mateen; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/mateen.eot); }
@font-face { font-family: modawar; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/modawar.eot); }
@font-face { font-family: modhalal; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/modhalal.eot); }
@font-face { font-family: momadad; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/momadad.eot); }
@font-face { font-family: momaiz; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/momaiz.eot); }
@font-face { font-family: momawaj; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/momawaj.eot); }
@font-face { font-family: mosanan; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/mosanan.eot); }
@font-face { font-family: mozakraf; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/mozakraf.eot); }
@font-face { font-family: naskh; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/naskh.eot); }
@font-face { font-family: rawa; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/rawa.eot); }
@font-face { font-family: tohfah; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/tohfah.eot); }
@font-face { font-family: wadhih; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/wadhih.eot); }
@font-face { font-family: waragah; font-style:  normal; font-weight: normal; src: url(http://localhost/mwaextraedit4/fonts/waragah.eot); }
</style>]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_extrafonts_active_title" date="1256011723" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/switchmode.gif"> تنشيط الخطوط الإضافية]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_flash1_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الفلاش في صفحة مستقلة ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_flash1_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/flash2.gif"> تنشيط الفلاش في صفحة مستقلة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_flash_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الفلاش والفلاش الشفاف ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_flash_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/flash.gif"> تنشيط الفلاش والفلاش الشفاف]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontboldtouse_desc" date="1256016634" username="ابو راشد" version="4.0"><![CDATA[هل تريد استخدام الخط الغامق Bold]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontboldtouse_title" date="1256016634" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../images/editor/bold.gif"> هل تريد تغميق الخط]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontcolortouse_desc" date="1256016502" username="ابو راشد" version="4.0"><![CDATA[ضع هنا لون الخط المطلوب استخدامه في المواضيع مثلا red أو #000000 أو #FFFFFF]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontcolortouse_title" date="1256016502" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/colorpicker.gif"> لون الخط]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontitatouse_desc" date="1256016672" username="ابو راشد" version="4.0"><![CDATA[هل تريد استخدام خط مائل ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontitatouse_title" date="1256016672" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../images/editor/italic.gif"> استخدام خط مائل]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontnametouse_desc" date="1256019710" username="ابو راشد" version="4.0"><![CDATA[فضلا إختر الخط المطلوب استخدامه للمواضيع .]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontnametouse_title" date="1256019710" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../images/editor/color.gif"> إسم الخط]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontsize_active_desc" date="1256016357" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تغيير الخط في المواضيع ? اذا اخترت نعم سيتم تغيير نوع الخط  وحجمه  في جميع المواضيع والردود ولن يؤثر هذا على المواضيع التي نسقها كاتبها فستبقى كما هي .]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontsize_active_title" date="1256016357" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../images/editor/color.gif"> تنشيط تغيير الخط في المواضيع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontsizetouse_desc" date="1256021073" username="ابو راشد" version="4.0"><![CDATA[فضلا إختر حجم الخط المطلوب استخدامه في المواضيع .]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_fontsizetouse_title" date="1256021073" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../images/editor/color.gif"> حجم الخط]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_frame_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الإطارات ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_frame_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/frame.gif"> تنشيط الإطارات]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_gdwl_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط اضافة إطار متغير اللون حول النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_gdwl_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/gdwl.gif"> تنشيط اضافة إطار متغير اللون حول النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glint_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج نص مضيء]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glint_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/glint.gif"> تنشيط إدراج نص مضيء]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glow1_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط عرض نص محدد بلون]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glow1_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/glow1.gif"> تنشيط عرض نص محدد بلون]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glow_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط عرض نص بوضع إشعاعي]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_glow_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/glow.gif"> تنشيط عرض نص بوضع إشعاعي]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_gradient_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الألوان المتدرجة في النص ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_gradient_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/gradient.gif"> تنشيط الألوان المتدرجة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_html_active_desc" date="1256357118" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج أكواد هتمل html في المشاركات ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_html_active_title" date="1256357118" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/html.gif"> تنشيط إدراج كود هتمل html]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_imgrimgl_active_desc" date="1256357163" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج صورة بمحاذاة يمين النص أو يساره ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_imgrimgl_active_title" date="1256357163" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/imgr.gif"> <img align="absmiddle" border="0" src="../mwaextraedit4/buttons/imgl.gif"> تنشيط إدراج صورة بمحاذاة يمين النص أو يساره]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_info_active_desc" date="1256347989" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر ملاحظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_info_active_title" date="1256347989" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/info.gif"> تنشيط زر ملاحظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_keyb_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل ترغب في تنشيط لوحة المفاتيح العربية]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_keyb_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/keyb.gif"> تنشيط لوحة المفاتيح العربية]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_left_active_desc" date="1256357327" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر محاذاة النص لليسار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_left_active_title" date="1256357327" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/left.gif"> تنشيط زر محاذاة النص لليسار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_line_active_desc" date="1256357416" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر خط فاصل]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_line_active_title" date="1256357416" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/line.gif"> تنشيط زر خط فاصل]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_ltr_active_desc" date="1256351299" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر تحويل إتجاه المحرر لليسار ( إتجاه إنجليزي )]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_ltr_active_title" date="1256351299" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/ltr.gif"> تنشيط زر تحويل إتجاه المحرر لليسار ( إتجاه إنجليزي )]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mark_active_desc" date="1256357224" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط تظليل النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mark_active_title" date="1256357224" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/mark.gif"> تنشيط تظليل النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_marq_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط نص متحرك للأعلى داخل إطار متغير الألوان]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_marq_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/marq.gif"> هل تريد تنشيط نص متحرك للأعلى داخل إطار متغير الألوان]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mediap_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الميديا بلاير ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mediap_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/media.gif"> تنشيط الميديا بلاير]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mklb2_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج نص مقلوب]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_mklb2_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/mklb2.gif"> تنشيط إدراج نص مقلوب]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_moretext_active_desc" date="1256347867" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط نص بإطار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_moretext_active_title" date="1256347867" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/fieldset.gif"> تنشيط نص بإطار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_motr1_active_desc" date="1256357858" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج نص متأرجح من الأسفل للأعلى]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_motr1_active_title" date="1256357858" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/motr1.gif"> تنشيط إدراج نص متأرجح من الأسفل للأعلى]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_motr_active_desc" date="1256357862" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج نص متأرجح من اليمين الى اليسار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_motr_active_title" date="1256357862" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/motr.gif"> تنشيط إدراج نص متأرجح من اليمين الى اليسار]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_openclose_active_desc" date="1256016224" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط فتح وإغلاق الموضوع في الرد السريع للإداريين والمشرفين]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_openclose_active_title" date="1256016224" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/hides.gif"> تنشيط فتح وإغلاق الموضوع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_otherbutt_active_desc" date="1256351174" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر محاذاة النص للأطراف]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_otherbutt_active_title" date="1256351174" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/justify.gif"> تنشيط زر محاذاة النص للأطراف]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_paste_active_desc" date="1256351392" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر لصق النص من الحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_paste_active_title" date="1256351392" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/paste.gif"> تنشيط زر لصق النص من الحافظة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_php_active_desc" date="1256357114" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج أكواد php في المشاركات ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_php_active_title" date="1256357114" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/php.gif"> تنشيط إدراج كود php]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_plain_active_desc" date="1256351500" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر مسح كامل التنسيق الخاص ( ضروري في جميع المحررات )]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_plain_active_title" date="1256351500" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/plain.gif"> تنشيط زر مسح كامل التنسيق الخاص ( ضروري في جميع المحررات )]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_poem_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط منسق القصيدة ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_poem_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/poem.gif"> تنشيط منسق القصيدة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_postcenter_active_desc" date="1256016130" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط توسيط المواضيع ?]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_postcenter_active_title" date="1256016130" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/center.gif"> تنشيط توسيط المواضيع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_quran_active_desc" date="1256350704" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط البحث في القرآن الكريم والحديث الشريف]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_quran_active_title" date="1256350704" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/quran.gif"> تنشيط البحث في القرآن الكريم والحديث الشريف]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_read_active_desc" date="1256359311" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط عرض نص في إطار مع تغيير لون النص ولون خلفية النص عند كل عرض للموضوع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_read_active_title" date="1256359311" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/read.gif"> تنشيط عرض نص متغير اللون ولون الخلفية]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_readytext_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل ترغب في تنشيط العبارات الجاهزة مثل البسملة والسلام وغيرها ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_readytext_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/readytext.gif"> تنشيط العبارات الجاهزة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_reala_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الريل بلاير ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_reala_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/rplayer.gif"> تنشيط الريل بلاير]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_right_active_desc" date="1256357321" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر محاذاة النص لليمين]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_right_active_title" date="1256357321" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/right.gif"> تنشيط زر محاذاة النص لليمين]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_rtl_active_desc" date="1256351326" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر تحويل إتجاه المحرر لليمين ( إتجاه عربي)]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_rtl_active_title" date="1256351326" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/rtl.gif"> تنشيط زر تحويل إتجاه المحرر لليمين ( إتجاه عربي)]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_signcenter_active_desc" date="1256016134" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط توسيط التواقيع ?]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_signcenter_active_title" date="1256016134" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/center.gif"> تنشيط توسيط التواقيع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_smilescat_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط فرز الإبتسامات والتعابير حسب المجموعة ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_smilescat_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/smilie.gif"> تنشيط فرز الإبتسامات والتعابير حسب المجموعة]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_smilesloc_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط نقل الإبتسامات أسفل المحرر بدلا من وجودها يسار المحرر ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_smilesloc_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/smilie.gif"> تنشيط نقل الإبتسامات أسفل المحرر]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_table_active_desc" date="1256356980" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الجداول في المواضيع ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_table_active_title" date="1256356980" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/table.gif"> تنشيط الجداول في المواضيع]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_text_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط منسق النص ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_text_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/text.gif"> تنشيط منسق النص]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_type_active_desc" date="1256357272" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط نص يكتب كالآلة الكاتبة بالتدريج داخل إطار متغير الألوان]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_type_active_title" date="1256357272" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/type.gif"> تنشيط نص يكتب كالآلة الكاتبة بالتدريج داخل إطار متغير الألوان]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_warning_active_desc" date="1256348088" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط زر تحذير]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_warning_active_title" date="1256348088" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/warning.gif"> تنشيط زر تحذير]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_web_active_desc" date="1256357012" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط إدراج صفحة ويب ؟ ولا ننصح بذلك !!]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_web_active_title" date="1256357012" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/web.gif"> تنشيط إدراج صفحة ويب]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_you_active_desc" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الإدراج الآلي لإسم قاريء الموضوع [you]]]></phrase>
			<phrase name="setting_mwaextraedit4_setting_you_active_title" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/you.gif"> تنشيط الإدراج الآلي لإسم قاريء الموضوع [you]]]></phrase>
			<phrase name="setting_mwaextraedit4_smileqrqe_setting_active_desc" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[هل تريد تنشيط الإبتسامات في الرد السريع في المواضيع والرد السريع في الرسائل الخاصة والتحرير السريع ؟]]></phrase>
			<phrase name="setting_mwaextraedit4_smileqrqe_setting_active_title" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/smilie.gif"> تنشيط الإبتسامات في الرد السريع والتحرير السريع]]></phrase>
			<phrase name="setting_mwaextraedit4co_desc" date="1255840176" username="ابو راشد" version="4.0"><![CDATA[منتج أدوات المودة المطورة للتحرير هي نتاج عمل جماعي من عدة جهات وأشخاص منهم الأخ الفاضل ابو عمر أو الدربيل والأخ الفاضل العندليب والاخ الفاضل جريح الحب والأخ الفاضل مجهول و الأخ الفاضل المطلوووب و uaeserver.com وأخيرا تم التطوير والتحسين بواسطة ابو راشد مشرف عام منتديات المودة <a target="_blank" href="www.mwadah.com">www.mwadah.com</a> ليخرج لكم المنتج بشكله الحالي]]></phrase>
			<phrase name="setting_mwaextraedit4co_title" date="1255840176" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> فكرة وبرمجة وتنفيذ]]></phrase>
			<phrase name="setting_mwaextraedit4fontsco_desc" date="1256665213" username="ابو راشد" version="4.0"><![CDATA[الخطوط الغضافية من فكرة وتطوير وتحسين ابو راشد مشرف عام منتديات المودة <a target="_blank" href="www.mwadah.com">www.mwadah.com</a> ليخرج لكم المنتج بشكله الحالي]]></phrase>
			<phrase name="setting_mwaextraedit4fontsco_title" date="1256665213" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> فكرة وبرمجة وتنفيذ]]></phrase>
			<phrase name="setting_mwaextraedit4imageresizeco_desc" date="1256665364" username="ابو راشد" version="4.0"><![CDATA[فكرة وبرمجة وتنفيذ مجهووول]]></phrase>
			<phrase name="setting_mwaextraedit4imageresizeco_title" date="1256665364" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> فكرة وبرمجة وتنفيذ]]></phrase>
			<phrase name="settinggroup_bbcode_mwaextraedit4_hide" date="1255839771" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> خيارات أدوات المودة المطورة للتحرير ــ المحتوى المخفي]]></phrase>
			<phrase name="settinggroup_mwaextraedit4_autoresize" date="1255839774" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> خيارات أدوات المودة المطورة للتحرير ــ تصغير الصور]]></phrase>
			<phrase name="settinggroup_mwaextraedit4_setting_onoff" date="1255839782" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> خيارات أدوات المودة المطورة للتحرير ــ الأزرار]]></phrase>
			<phrase name="settinggroup_mwaextraedit4_setting_onoff_butdis" date="1255839785" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> خيارات أدوات المودة المطورة للتحرير ــ إعدادات عامة]]></phrase>
			<phrase name="settinggroup_mwaextraedit4_setting_onoff_fonts" date="1255839784" username="ابو راشد" version="4.0"><![CDATA[<img align="absmiddle" border="0" src="../mwaextraedit4/buttons/favicon.ico"> خيارات أدوات المودة المطورة للتحرير ــ إعدادات الخطوط الإضافية]]></phrase>
		</phrasetype>
	</phrases>
	<options>
		<settinggroup name="mwaextraedit4_setting_onoff_butdis" displayorder="50010">
			<setting varname="mwaextraedit4co" displayorder="10">
				<datatype>free</datatype>
				<optioncode>www.mwadah.com</optioncode>
			</setting>
			<setting varname="mwaextraedit4_setting_active" displayorder="20">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_quickreply_setting_active" displayorder="30">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_quickedit_setting_active" displayorder="40">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_center_setting_active" displayorder="45">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_smileqrqe_setting_active" displayorder="50">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_smilesloc_active" displayorder="60">
				<datatype>free</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_smilescat_active" displayorder="65">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_bestsmileicon_active" displayorder="67">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_readytext_active" displayorder="70">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_quickreplyattachment_setting_active" displayorder="75">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_openclose_active" displayorder="76">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_rainbow_setting_active" displayorder="80">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_postcenter_active" displayorder="100">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_signcenter_active" displayorder="110">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_fontsize_active" displayorder="120">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_fontnametouse" displayorder="130">
				<datatype>free</datatype>
				<optioncode>select:piped
Arial|Arial
Tahoma|Tahoma
Mudir MT|Mudir_MT
Andalus|Andalus
Times New Roman|Times_New_Roman
Simplified Arabic|Simplified_Arabic
Traditional Arabic|Traditional_Arabic
anaween|anaween
dekoor|dekoor
diwani|diwani
electron|electron
entbah|entbah
fanan|fanan
hala|hala
hasan|hasan
hor|hor
jamal|jamal
jameel|jameel
kabeer|kabeer
khashab|khashab
koufi|koufi
mateen|mateen
modawar|modawar
modhalal|modhalal
momadad|momadad
momaiz|momaiz
momawaj|momawaj
mosanan|mosanan
mozakraf|mozakraf
naskh|naskh
rawa|rawa
tohfah|tohfah
wadhih|wadhih
Trebuchet MS|Trebuchet MS
Verdana|Verdana
Book Antiqua|Book Antiqua
Courier New|Courier New</optioncode>
				<defaultvalue>Arial</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_fontcolortouse" displayorder="140">
				<datatype>free</datatype>
			</setting>
			<setting varname="mwaextraedit4_setting_fontsizetouse" displayorder="150">
				<datatype>free</datatype>
				<optioncode>select:piped
1|1
2|2
3|3
4|4
5|5
6|6
7|7</optioncode>
				<defaultvalue>4</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_fontboldtouse" displayorder="160">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_fontitatouse" displayorder="170">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
		</settinggroup>
		<settinggroup name="mwaextraedit4_setting_onoff" displayorder="50020">
			<setting varname="mwaextraedit4_setting_buttons_count_row" displayorder="5">
				<datatype>posint</datatype>
				<defaultvalue>14</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_buttons_count_row_q" displayorder="7">
				<datatype>posint</datatype>
				<defaultvalue>15</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_poem_active" displayorder="50">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_text_active" displayorder="60">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_keyb_active" displayorder="70">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_moretext_active" displayorder="80">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_info_active" displayorder="82">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_caution_active" displayorder="84">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_warning_active" displayorder="86">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_glint_active" displayorder="90">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_bor_active" displayorder="100">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_mklb2_active" displayorder="110">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_table_active" displayorder="120">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_gdwl_active" displayorder="130">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_motr1_active" displayorder="140">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_motr_active" displayorder="150">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_frame_active" displayorder="160">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_web_active" displayorder="170">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>0</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_gradient_active" displayorder="180">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_mediap_active" displayorder="190">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_reala_active" displayorder="200">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_flash_active" displayorder="210">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_flash1_active" displayorder="220">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_code_active" displayorder="230">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_php_active" displayorder="240">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_html_active" displayorder="250">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_imgrimgl_active" displayorder="260">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_backcolor_active" displayorder="270">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_mark_active" displayorder="272">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_bimg_active" displayorder="280">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_autovideo_active" displayorder="290">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_you_active" displayorder="300">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_read_active" displayorder="310">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_glow_active" displayorder="320">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_glow1_active" displayorder="330">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_type_active" displayorder="340">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_marq_active" displayorder="350">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_quran_active" displayorder="360">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_otherbutt_active" displayorder="370">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_right_active" displayorder="380">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_center_active" displayorder="390">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_left_active" displayorder="400">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>3</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_ltr_active" displayorder="410">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_rtl_active" displayorder="420">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_copy_active" displayorder="430">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_cut_active" displayorder="440">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_paste_active" displayorder="450">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_delete_active" displayorder="460">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_line_active" displayorder="470">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>2</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_setting_plain_active" displayorder="480">
				<datatype>number</datatype>
				<optioncode>select:piped
0|mwaextraedit4_buttons_enable_none
1|mwaextraedit4_buttons_enable_both
2|mwaextraedit4_buttons_enable_editor
3|mwaextraedit4_buttons_enable_quickreply</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
		</settinggroup>
		<settinggroup name="mwaextraedit4_setting_onoff_fonts" displayorder="50030">
			<setting varname="mwaextraedit4_setting_extrafonts_active" displayorder="10">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_fonts_allow1" displayorder="20">
				<datatype>bitfield</datatype>
				<optioncode>bitfield:nocache|mwaextraedit4_fonts2</optioncode>
				<defaultvalue>131071</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_fonts_allow" displayorder="30">
				<datatype>bitfield</datatype>
				<optioncode>bitfield:nocache|mwaextraedit4_fonts1</optioncode>
				<defaultvalue>131071</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4fontsco" displayorder="40">
				<datatype>free</datatype>
				<optioncode>www.mwadah.com</optioncode>
			</setting>
		</settinggroup>
		<settinggroup name="mwaextraedit4_autoresize" displayorder="50040">
			<setting varname="mwaextraedit4_autoresize_postbit_active" displayorder="10">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_autoresize_sign_active" displayorder="20">
				<datatype>number</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_autoresize_maxwidth" displayorder="30">
				<datatype>number</datatype>
				<defaultvalue>350</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4imageresizeco" displayorder="40">
				<datatype>free</datatype>
				<optioncode>www.3hood.org</optioncode>
			</setting>
		</settinggroup>
		<settinggroup name="bbcode_mwaextraedit4_hide" displayorder="50050">
			<setting varname="mwaextraedit4_hide_active" displayorder="10">
				<datatype>bitfield</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_ajax_on" displayorder="20">
				<datatype>bitfield</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_showadmin" displayorder="40">
				<datatype>bitfield</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_showmod" displayorder="50">
				<datatype>bitfield</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_showusergroup" displayorder="60">
				<datatype>free</datatype>
				<optioncode><![CDATA[" . eval('foreach($vbulletin->usergroupcache AS $usergroupid => $usergroup)
{
	$options .= "\\t\\t<label for=\\"setting[$setting[varname]]$usergroupid\\" title=\\"usergroupid: $usergroupid\\"><input type=\\"checkbox\\" tabindex=\\"1\\" name=\\"setting[$setting[varname]]"."[]\\" id=\\"setting[$setting[varname]]$usergroupid\\" value=\\"$usergroupid\\"" . iif(strpos(",$setting[value],", ",$usergroupid,") !== false, \' checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$usergroup[title]</label><br />\\n";
}
return "<span class=\\"smallfont\\">\\n$options\\t</span>";')  . "<input type=\"hidden\" name=\"setting[$setting[varname]][]\" value=\"0\" />]]></optioncode>
				<defaultvalue>5,6,7</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_showposted" displayorder="80">
				<datatype>bitfield</datatype>
				<optioncode>yesno</optioncode>
				<defaultvalue>1</defaultvalue>
			</setting>
			<setting varname="mwaextraedit4_hide_notforum" displayorder="90">
				<datatype>free</datatype>
				<optioncode><![CDATA[" . eval('foreach($vbulletin->forumcache AS $mwaextraedit4_mwacannotatachforums_exfs => $mwaextraedit4_mwacannotatachforums_exf)
{
        $mwaextraedit4_mwacannotatachforums_exfo1 .= "\\t\\t<label for=\\"setting[$setting[varname]]$mwaextraedit4_mwacannotatachforums_exfs\\" title=\\"القسم: $mwaextraedit4_mwacannotatachforums_exfs\\"><input type=\\"checkbox\\" tabindex=\\"1\\" name=\\"setting[$setting[varname]]"."[]\\" id=\\"setting[$setting[varname]]$mwaextraedit4_mwacannotatachforums_exfs\\" value=\\"$mwaextraedit4_mwacannotatachforums_exfs\\"" . iif(strpos(",$setting[value],", ",$mwaextraedit4_mwacannotatachforums_exfs,") !== false, \' checked="checked"\') . iif($vbulletin->debug, " title=\\"name=&quot;setting[$setting[varname]]&quot;\\"") . " />$mwaextraedit4_mwacannotatachforums_exf[title]</label><br />\\n";
}
return "<span class=\\"smallfont\\">\\n$mwaextraedit4_mwacannotatachforums_exfo1\\t</span>";')  . "<input type=\"hidden\" name=\"setting[$setting[varname]][]\" value=\"0\" />]]></optioncode>
			</setting>
		</settinggroup>
	</options>
	<helptopics>
		<helpscript name="options">
			<helptopic disp="1" act="options" opt="mwaextraedit4_imageresizer_maxheight" />
			<helptopic disp="1" act="options" opt="mwaextraedit4_imageresizer_useroptions" />
			<helptopic disp="1" act="options" opt="mwaextraedit4_imageresizer_defaultmode" />
			<helptopic disp="1" act="options" opt="mwaextraedit4_imageresizer_maxwidth" />
		</helpscript>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>
