<if condition="$show['editor_toolbar']">
<div id="{$editorid}_controls" class="controlbar">
	<table cellpadding="0" cellspacing="0" border="0">
	<tr>
		<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>
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	<if condition="$show['basic_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	</if>
	<if condition="$show['color_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
				<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
			</tr>
			</table>
		</div></td>
	</if>
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
	<if condition="$show['url_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
	</if>
	<if condition="$show['img_bbcode']">
		<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
	</if>
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<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>
        <!-- /second control row By 7beebi.com-->
        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        <if condition="$vbulletin->options['allowedtexteffect1']">
        <td><div class="imagebutton" id="{$editorid}_cmd_insertglow"><img src="images/toolbox/glow.gif" width="21" height="20" alt="وضع إشعاعي" /></div></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_insertblink"><img src="images/toolbox/blink.gif" width="21" height="20" alt="وميض" /></div></td>
        <td><div class="imagebutton" id="{$editorid}_cmd_insertglint"><img src="images/toolbox/glint.gif" width="21" height="20" alt="بريق" /></div></td>
        <td><div class="imagebutton" id="{$editorid}_cmd_insertgradient"><img src="images/toolbox/gradient.gif" width="21" height="20" alt="ألوان متدرجة" /></div></td>
        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        </if>
        
        <if condition="$vbulletin->options['allowedtexteffect2']">
        <td><div class="imagebutton" id="{$editorid}_cmd_insertframe"><img src="images/toolbox/frame.gif" width="21" height="20" alt="إنشاء إطار" /></div></td>
        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
        </if>
        
        <if condition="$vbulletin->options['allowedhide']"> 
        <td><div class="imagebutton" id="{$editorid}_cmd_inserthide"><img src="images/toolbox/hide.gif" width="21" height="20" alt="إخفاء النص" /></div></td>
        <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20"/></td>
        </if>
       
	    <if condition="$vbulletin->options['kaythings']">
        <td><div class="imagebutton" id="{$editorid}_cmd_insertkeys"><img src="images/toolbox/keyb.gif" width="21" height="20" alt=""/></div></td>
        <td><div class="imagebutton" id="{$editorid}_cmd_insertara"><img src="images/toolbox/toar.gif" width="21" height="20" alt="تحويل الحروف الإنجليزية إلى عربية" /></div></td>
        <td><div class="imagebutton" id="{$editorid}_cmd_plain"><img src="images/toolbox/plain.gif" width="21" height="20" alt="إزالة التنسيق" /></div></td>
	    </if>

	<if condition="!is_browser('opera')">
		<td width="100%">&nbsp;</td>
	</if>
	<if condition="is_browser('ie')">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
	</if>
		<td>
			<div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
			<div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
		</td>
	<if condition="$show['wysiwyg_compatible']">
		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
		<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
	</if>
	</tr>
	</table>
</div>
</if>
<div class="controlbar">
	<if condition="$show['qr_require_click']">
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
	<else />
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
	</if>
</div>
<!-- /second control row By 7beebi.com-->
<script type="text/javascript" src="clientscript/beebi_textedit.js"></script>
<script type="text/javascript">showKeyboard();</script>  
<!-- /second control row By 7beebi.com-->
<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
var QR_EditorID = '$editorid';
//-->
</script>