<? 
auth_check($auth[$sub_menu], "r");
$colspant		= 2; 
?>
<p />
<!-- 스쿨호스팅SMS에 대한 환경설정 -->
<form name="frm_smsphps" method="post" class="frm" onSubmit="return sendTong(this);">
<input type="hidden" name="mode" value="sms_phps">
<table width="100%" cellspacing="1" cellpadding="0" class="tbl_box">
<colgroup width="20%">
<colgroup width="80%">
<tr>
	<td colspan='<?=$colspant?>'><b>SMS 모듈설정 (스쿨호스팅)</b></td>
</tr>
<tr class="list">
	<td>SMS 아이디</td>
	<td><input type="text" name="sms_id" value="<?=$zm_sms[sms_phps_id]?>" required itemname='SMS 아이디' size="10"></td>
</tr>
<tr class="list">
	<td>SMS 인증키</td>
	<td><input type="text" name="sms_key" value="<?=$zm_sms[sms_phps_key]?>" required itemname='SMS 인증키' size="15"> (스쿨호스팅 사용 안내 : <a href="http://ziumb.tistory.com/94" target="_blank">ziumb.tistory.com/94</a>)</td>
</tr>
<tr class="list">
	<td>남은문자 건 수</td>
	<td><?=$zm_sms[residual]?>
	<input type="button" value="충전하기" onClick="window.open('http://sms.phps.kr', 'sms')" class="bttn_blue"></td>
</tr>
<tr><td colspan='<?=$colspant?>' align="center"><input type="submit" value="적용하기" class="bttn_adj"></td></tr>
</table>
</form>

<script language="javascript">
function sendTong(f) {
	f.action		= "./sms_process.php";

	return true;
}
</script>