<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>SEGIO Webmail Service</title>
<link href="/segio/mail/mail.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#context {width:100%;height:400px;}
.file_div { padding-bottom:2px; }
</style>
#!if i.htmlmail;<!-- Load up the actual editor core -->
<script type="text/javascript" src="/icons/s_editor/lang_kr.js"></script>
<script type="text/javascript" src="/icons/s_editor/editor.js"></script>
<script type="text/javascript">
<!--
window.onload=function () {
editor_init('context');
}
-->
</script>
#!fi;
<script type="text/javascript">
<!--
var file_count=1;
function address_browser()
{
var opt='width=600,height=400,scrollbar=1,resizable=0';
url='#!m.href.addressfind;';
w=window.open(url,'address_win',opt);
}
function set_rcpt(no, value){
var ele=null;
if(no==1)ele=document.form.to;
if(no==2)ele=document.form.cc;
if(no==3)ele=document.form.bcc;
if(ele!=null)ele.value=value;
}
function plus_filefield(form)
{
if(file_count>5)return false;
file_count++;
str = '<br><input type="file" name="file" style="width:98%">';
ffield=document.getElementById("filefield");
ffield.innerHTML+=str;
return false;
}
//content type and editor change
//add by ssik : 2006/02/21
function change_ctype()
{
context = document.getElementById("context");
p_div = document.getElementById("editor_position_div");
ctype = document.getElementById("ctype");
if(!p_div || !context ||!ctype)return;
src = '<textarea name="context" id="context">';
src+=(context.value+'</textarea>\n)';
p_div.innerHTML=src;
if(ctype.value=='text/html')editor_init("context");
}
-->
</script>
</head>
<body>
<form name="form" method="post" enctype="multipart/form-data"
target="action_target" style="margin:0" action="">
<table width="#!style.effectwidth;" cellpadding="0" cellspacing="2"
border="0" class="mail">
<tr>
<td colspan="3">
<div style="font-weight:bold;font-size:11pt;padding:4px;">
<div style="position:absolute;padding-top:3px;">
<img src="/segio/mail/ic_mail.gif" alt="Mail Compose" />
</div>
#!m.viewname;
</div>
<hr size="0" />
</td>
</tr>
<tr>
<td width="20%" class="cell4name">수신(to)</td>
<td class="cell4input" width="70%">
<input name="to" value="#!m.to;" class="input" />
</td>
<td width="10%" align="right">
<img border="0" src="#!m.icon,m_getaddr.gif;"
onclick="address_browser();return(false);" alt="주소록" />
</td>
</tr>
<tr>
<td width="20%" class="cell4name">참조(cc)</td>
<td class="cell4input" width="70%" colspan="2">
<input name="cc" value="#!m.cc;" class="input" />
</td>
</tr>
<tr>
<td width="20%" class="cell4name">숨은참조(bcc)</td>
<td class="cell4input" width="70%" colspan="2">
<input name="bcc" value="#!m.bcc;" class="input" />
</td>
</tr>
<tr>
<td width="20%" class="cell4name">편지제목</td>
<td class="cell4input" colspan="2">
<input name="subject" value="#!m.subject;" class="input" />
</td>
</tr>
<!-- content type and editor change -->
<tr>
<td width="20%" class="cell4name">선택사항</td>
<td colspan="2" class="cell4input">
<select name="ctype" onchange="change_ctype();">
<option #!if i.htmlmail;selected="selected"#!fi;
value="text/html" >html</option>
<option #!if !i.htmlmail;selected="selected"#!fi;
value="text/plain" >text</option>
</select>
<select name="charset" style="font-size:9pt;">
<option value="EUC-KR">EUC-KR</option>
<option value="UTF-8">UTF-8</option>
<option value="EUC-JP">EUC-JP</option>
<option value="ISO-2022-JP">ISO2022JP</option>
</select>
<input name="mailname" class="mailname" value="#!m.mailname;" />
<#!u.id;@#!i.id;>
<input name="save2sentbox" type="checkbox" value="ON"
checked="checked" />편지저장
</td>
</tr>
<tr>
<td colspan="3" class="cell4textarea" id="editor_position_div">
<textarea name="context" id="context" rows="30"
cols="50">#!m.context;</textarea>
</td>
</tr>
<tr>
<td width="20%" bgcolor="#C0D0C9"class="cell4name">
<b>서명</b>
</td>
<td colspan="2" class="cell4input" width="80%"> <pre>
#!m.signature0;
</pre></td>
</tr>
<tr>
<td width="20%" bgcolor="#C0D0C9" class="cell4name">
<b>서명 *</b>
</td>
<td colspan="2" class="cell4input" width="80%"> </pre>
#!m.signature1;</pre>
</td>
</tr>
<tr>
<td width="20%" bgcolor="#C0D0C9" class="cell4name">
<b>첨부(#!m.composesize;MB)</b></td>
<td width="80%" colspan="2">
<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr>
<td id="filefield" colspan="2">
<div class="file_div">
<input class="file" type="file" name="file" size="50" />
</div>
<div class="file_div">
<input class="file" type="file" name="file" size="50" />
</div>
<div class="file_div">
<input class="file" type="file" name="file" size="50" />
</div>
<div class="file_div">
<input class="file" type="file" name="file" size="50" />
</div>
<div class="file_div">
<input class="file" type="file" name="file" size="50" />
</div>
</td>
</tr>
#!if u.folder;
<tr>
<td width="80%" class="cell4textarea">
<textarea id="onfile" name="onfile" class="textarea"
style="width:100%;height:40px;border:0;">
</textarea>
</td>
<td>
<button onclick="#!popup.onfile,option="width=300,height=300,scrollbars=1";"
style="height:40px;width:100%;">내폴더</button>
</td>
</tr>
#!fi;
</table>
</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="지금보내기" class="button" name="act_send " />
<input type="reset" value="다시쓰기" class="button" />
</td>
</tr>
</table>
</form>
<iframe src="about:blank" scrolling="no" frameborder="0" height="0"
width="0" name="action_target">
</iframe>
#!load,/segio/memo/msg_mailread.php;
</body>
</html>