Location: PHPKode > projects > @1 File Store > templates/bulkemail.tpl
{include file=header.tpl}
<script language="javascript">
{$javascriptcodes}
</script>
<h1>{$lang.bulk_email}</h1><p>
{if $errmessage!=""}
{$errmessage}
{include file=footer.tpl}
{else}
<p>
{if $submited!=1}
<form method="post" action="{$self}" onsubmit="return checkInput();">
<table style="border: 1px solid gray;padding: 5px;">
<tr>
	<td valign="top">{$lang.recipient} :</td>
	<td>
		<label><input type="radio" name="recipient" value="1" checked="checked"/>{$lang.all_admins_subadmins_groups}</label><br />
		<label><input type="radio" name="recipient" value="2" />{$lang.all_admins}</label><br />
		<label><input type="radio" name="recipient" value="3" />{$lang.all_subadmins}</label><br />
		<label><input type="radio" name="recipient" value="4" />{$lang.all_groups}</label><br />
		<label><input type="radio" name="recipient" value="5" />{$lang.specific_groups}</label>
		<select name="group">
{foreach item="group" from=$groups}
			<option value="{$group.id}">{$group.group_name}</option>
{/foreach}		
		</select>
	</td>		
</tr>
<tr>
	<td valign="top">{$lang.from} :</td>
	<td><input type="text" name="adminemail" style="width:500px;" value="{$adminemail}"></td>
</tr>
<tr>
	<td valign="top">{$lang.subject} :</td>
	<td><input type="text" name="subjecttext" style="width:500px;"></td>
</tr>
<tr>
	<td valign="top">{$lang.header} :</td>
	<td><textarea name="headertext" style="width:500px;">{$headertext}</textarea></td>
</tr>
<tr>
	<td valign="top">{$lang.message} :</td>
	<td><textarea name="bodytext" style="width:100%; height:250px;"></textarea></td>
</tr>
<tr>
	<td valign="top">{$lang.footer} :</td>
	<td><textarea name="footertext" style="width:100%;">{$footertext}</textarea></td>
</tr>
<tr>
	<td colspan="2" align="center"><input type="reset" value="{$lang.reset}" style="width:80px"> <input type="submit" name="submit" value="{$lang.submit}" style="width:80px"></td>
</tr>
</table>
</form>
{else}
<table width="60%">
<tr><td>
<font color=green>{$messages}</font><br/><br/>
</td></tr><tr><td>{$lang.content_users_receive}:<br/>
</td></tr><tr><td>
<div style="border: 1px solid gray; padding: 5px;">
{$content}
</div>
</td></tr></table>

<a href="{$self}">Back</a>
{/if}
{include file=footer.tpl}
{/if}
Return current item: @1 File Store