<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>邮件基本设置</title>
<LINK href="<?=base_url()?>csdj/admin/images/admin.css" type="text/css" rel="stylesheet">
<SCRIPT type="text/javascript" src="<?=base_url()?>csdj/admin/js/admin.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/dialog.js"></script>
<script type="text/javascript" src="<?=base_url()?>csdj/admin/js/setcolor.js"></script>
</head>
<BODY style="margin:2px">
	<table align="center" border="1" cellspacing="0" cellpadding="5" bordercolor="#C4DFF4" width="100%" style="border-collapse:collapse;">
	<form method="post" Name="myForm" action="<?=site_url('admin/setting/emailedit')?>"> 
	<tr><td align="center" height="20" colspan="3" class="title">SMTP邮件服务器设置</td></tr>
    	<tr>
      		<td width="20%" align="right"><strong>邮件发送：</strong></td>
      		<td width="35%"><input id="zt1" type="radio" name="CS_Smtpmode" value="TRUE"<?php if(CS_Smtpmode==1) echo ' checked';?>/><label for="zt1">开启</label>&nbsp;&nbsp;
			<input id="zt2" type="radio" name="CS_Smtpmode" value="FALSE"<?php if(CS_Smtpmode==0) echo ' checked';?>/><label for="zt2">关闭</label></td>
		<td width="45%" style="color:red">默认是否开启邮件发送</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>邮件服务器地址：</strong></td>
      		<td><input size="50" name="CS_Smtphost" value="<?=CS_Smtphost?>"></td>
		<td>发送邮件服务器</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>邮件服务器端口：</strong></td>
      		<td><input size="50" name="CS_Smtpport" value="<?=CS_Smtpport?>"></td>
		<td>邮件服务器端口</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>邮箱登录用户名：</strong></td>
      		<td><input size="50" name="CS_Smtpuser" value="<?=CS_Smtpuser?>"></td>
		<td>邮箱登录用户名</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>邮箱登录的密码：</strong></td>
      		<td><input size="50" name="CS_Smtppass" value="<?=substr(CS_Smtppass,0,1)."********".substr(CS_Smtppass,-1)?>" type="text"></td>
		<td>邮箱登录的密码，安全起见只显示前一位和后一位。</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>使用的发送邮箱：</strong></td>
      		<td><input size="50" name="CS_Smtpmail" value="<?=CS_Smtpmail?>"></td>
		<td>使用的发送邮箱</td>
    	</tr>
    	<tr>
      		<td align="right"><strong>发送显示的姓名：</strong></td>
      		<td><input size="50" name="CS_Smtpname" value="<?=CS_Smtpname?>"></td>
		<td>发送显示的姓名</td>
    	</tr>
  	<tr align="center">
    		<td height="36" colspan="3" ><input type="submit" name="Submit" class="italk-bt" value=" 保 存 "></td>
  	</tr></form>
	</table>
 
</body>
</html>

