<br />
<div class="address_bar">{$lang['Control_Panel']} &raquo;
<a href="admin.php?page=emailsend&amp;mail=1&amp;main=1">{$lang['members']}</a> &raquo;
 {$lang['send_email_members']}</div>
<br />
<form method="post" action="admin.php?page=emailsend&amp;mail=1&amp;start=1">
    <table cellpadding="3" cellspacing="1" width="70%" class="t_style_b" border="0" cellspacing="1" align="center">
      <tr>
        <td class="main1" colspan="2">{$lang['send_email_members']}</td>
      </tr>
      <tr>
        <td class="row1">{$lang['Message_Title']}</td>
        <td class="row1"><input type="text" name="title" size="28"></td>
      </tr>

      <tr>
        <td class="row1">{$lang['Number_of_messages_in_one_time']}</td>
        <td class="row1">
		<input type="text" name="number_messages" size="3" value="100"></td>
      </tr>
      <tr>
        <td class="row1">{$lang['The_number_of_seconds_to_pause_between_each_send']}</td>
        <td class="row1">
		<input type="text" name="seconds" size="3" value="40">
		{$lang['second']}
		</td>
      </tr>
	<tr>
		<td class="row1">
{$lang['Select_the_group_you_want_by_sending_its_members']}
		</td>
		<td class="row1">
		     <select name="group" id="group_id">
             <option selected="selected" value="all">{$lang['All_groups']}</option>
			{Des::while}{GroupList}
				{if {$Inf['usergroup']} == {$GroupList['id']} }
				<option value="{$GroupList['id']}">{$GroupList['title']}</option>
				{else}
				<option value="{$GroupList['id']}">{$GroupList['title']}</option>
				{/if}
			{/Des::while}
			</select>
		</td>
	</tr>
      <tr>
        <td class="row1" colspan="2">
	<div align="center">
	<table border="0" cellspacing="1" width="70%" class="border" style="border-collapse: collapse">
	<tr>
		<td class="editortoolbar" valign="top" width="70%">
		{template}editor_js{/template}

<textarea name="text" id="box_text" style="display:block;width:540px; height:250px;" class="inputbox" tabindex="3" rows="15" cols="74" ></textarea>
   <script type="text/javascript">
<!--
    comm._toggle();
    var smiley_wysiwyg = true;
    -->
</script>

		</td>
		<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
		<td class="editortoolbar" valign="top" width="70px" align="center">
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />

		<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
			<tr valign="bottom" align="center">
				<td class="editortoolbar" align="center">
           {template}smilebox{/template}</td>
			</tr>
		</table>
</div></td>
	</tr>
	<tr>
		<td class="row1" valign="top" colspan="2" align="center">
		     <input class="button" name="insert" type="submit" value=" {$lang['Send']} " onClick="comm._submit();" /></td>
	</tr>
</table></div>
		</td>
      </tr>
    </table>
</form>
<br />
<br />
<br />