<?php /* Smarty version 2.6.24, created on 2009-07-30 16:36:17
         compiled from default/inc/new.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'default/inc/new.tpl', 59, false),array('modifier', 'escape', 'default/inc/new.tpl', 59, false),)), $this); ?>
<!-- Addresses and Subject -->
			<table class="tablecollapsed" height="99%">
			<tr>
				<td class="pagetitle" height="25px" >
				<table width="100%" border="0" cellspacing="3" cellpadding="0" height="69" >
				<tr>
					<td width="*" align="left" rowspan="2"><p class="title"><?php echo $this->_config[0]['vars']['new_title']; ?>
</p></td>
					<td width="60" align="left" height="30"><p align="right"><nobr><?php echo $this->_config[0]['vars']['to_hea']; ?>
&nbsp;
						<a href="javascript:addrpopup()" title="<?php echo $this->_config[0]['vars']['adr_title']; ?>
">
						<img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/bookmark_it.gif" border="0" alt="<?php echo $this->_config[0]['vars']['address_tip']; ?>
"></a></p></td>
					<td align="left" height="30"><?php echo $this->_tpl_vars['umTo']; ?>
</nobr></td>
					<td width="60" height="30"><p align="right"><nobr><?php echo $this->_config[0]['vars']['cc_hea']; ?>
 &nbsp;
						<a href="javascript:addrpopup()" title="<?php echo $this->_config[0]['vars']['adr_title']; ?>
"><img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/bookmark_it.gif" border="0" alt="<?php echo $this->_config[0]['vars']['address_tip']; ?>
"></a></p></td>
					<td height="30"><p align="left"><?php echo $this->_tpl_vars['umCc']; ?>
</nobr></td>
					<td width="50" height="60" rowspan="2" align="right"><img class="image" src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/send.gif" border="0" align="right" alt=""></td>
				</tr>
				<tr><td align="right" height="30"><nobr><?php echo $this->_config[0]['vars']['subject_hea']; ?>
</td><td align="left" height="30"><?php echo $this->_tpl_vars['umSubject']; ?>
</nobr></td>
					<td height="30"><p align="right"><nobr><?php echo $this->_config[0]['vars']['bcc_hea']; ?>
 &nbsp;
						<a href="javascript:addrpopup()" title="<?php echo $this->_config[0]['vars']['adr_title']; ?>
"><img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/bookmark_it.gif" border="0" alt="<?php echo $this->_config[0]['vars']['address_tip']; ?>
"></a></p></td>
					<td height="30"><p align="left"><?php echo $this->_tpl_vars['umBcc']; ?>
</nobr></td>
				</tr>
				</table>
				</td>
			</tr>

			<!-- Priority, Signature and Attachements -->
			<tr>
				<td class="background">
				<table width="100%" border="0" cellspacing="3" cellpadding="0">
				<tr>
					<td class="headerright">&nbsp;</td>
					<td class="menu"><img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/toolbar/imp.gif"alt="" border="0" align="middle">
						<b><?php echo $this->_config[0]['vars']['priority_text']; ?>
</b> <select name="priority">
						<option value="1"<?php if ($this->_tpl_vars['umPriority'] == 1): ?> selected<?php endif; ?>><?php echo $this->_config[0]['vars']['priority_high']; ?>

						<option value="3"<?php if ($this->_tpl_vars['umPriority'] == 3): ?> selected<?php endif; ?>><?php echo $this->_config[0]['vars']['priority_normal']; ?>

						<option value="5"<?php if ($this->_tpl_vars['umPriority'] == 5): ?> selected<?php endif; ?>><?php echo $this->_config[0]['vars']['priority_low']; ?>
</select>
						&nbsp;&nbsp; <?php echo $this->_config[0]['vars']['add_signature']; ?>

						<input type="checkbox" name="cksig" onClick="return addsig()"<?php if ($this->_tpl_vars['umAddSignature'] == 1): ?> checked disabled<?php endif; ?>>
						<?php if (! $this->_tpl_vars['umAddSignature'] && $this->_tpl_vars['umHaveSignature']): ?> <?php endif; ?>
						&nbsp; <?php echo $this->_config[0]['vars']['require_receipt']; ?>

						<input type="checkbox" name="requireReceipt" <?php echo $this->_tpl_vars['umRReceipt']; ?>
>
					</td>
				</tr>
				<tr>
					<td align="center" width="109">&nbsp;</td>
					<td align="center">
					<table class="tablecollapsed" style="border: solid 1px #CCCCCC;" id="id_attach">
					<tr height="20">
						<td class="bar" width="30%" align="left"><b>&nbsp; <?php echo $this->_config[0]['vars']['attch_name_hea']; ?>
</b></td>
						<td class="bar" width="27%" align="center"><b><?php echo $this->_config[0]['vars']['attch_size']; ?>
</b></td>
						<td class="bar" width="25%" align="center"><b><?php echo $this->_config[0]['vars']['attch_type_hea']; ?>
</b></td>
						<td class="bar" width="15%" align="center"><b><?php echo $this->_config[0]['vars']['attch_dele_hea']; ?>
</b></td>
					</tr>
					<?php if ($this->_tpl_vars['umHaveAttachs'] == 1): ?> 
						<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['umAttachList']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?> 
						<tr class="page_color">
							<td width="30%" class="msg_links" align="left">
								&nbsp; <a href="<?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['downlink']; ?>
"><img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/download.gif" border="0" alt="<?php echo $this->_config[0]['vars']['up_download']; ?>
"></a>
								&nbsp; <a href="<?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['normlink']; ?>
" target="_new"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 30, "...", true) : smarty_modifier_truncate($_tmp, 30, "...", true)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</a> 
							</td>
							<td width="27%" align="center"><?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['size']; ?>
Kb&nbsp;</td>
							<td width="25%" align="center" title="<?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['type']; ?>
">&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['type'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 23, "...", true) : smarty_modifier_truncate($_tmp, 23, "...", true)); ?>
</td>
							<td width="15%" align="center">
								&nbsp;<a href="javascript: if (window.confirm('<?php echo $this->_config[0]['vars']['attach_delete']; ?>
\n<?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['name']; ?>
')) <?php echo $this->_tpl_vars['umAttachList'][$this->_sections['i']['index']]['link']; ?>
;" title="<?php echo $this->_config[0]['vars']['att_delete']; ?>
"><img src="themes/<?php echo $this->_tpl_vars['umTPath']; ?>
/images/cross.gif" border="0" alt="<?php echo $this->_config[0]['vars']['att_delete']; ?>
"></a>
							</td>
						</tr>
						<?php endfor; endif; ?>
					<?php else: ?>
						<tr>
							<td class="page_color" colspan="4"><i>&nbsp;<?php echo $this->_config[0]['vars']['attch_no_hea']; ?>
</i></td>
						</tr>
					<?php endif; ?>
					</table>
					</td>
				</tr>
				</table>
				</td>
			</tr>

			<!-- Body -->
			<tr>
				<td valign="top" width="100%" height="100%" align="center">
					<textarea class="textbox" name="body" id="htmleditor" rows="10" cols="80" style="width: 100%; height: 200px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['umBody'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</textarea>
					<script language="javascript" type="text/javascript">
						<?php if ($this->_tpl_vars['umAdvancedEditor'] == 2): ?>WYSIWYG.attach('htmleditor',full);<?php endif; ?> 
						<?php if ($this->_tpl_vars['umAdvancedEditor'] == 1): ?>reSizeElementHeight('htmleditor',get_Height('id_attach')+js_offset);<?php endif; ?>
					</script>
				</td>
			</tr>
			</table>