<? 
auth_check($auth[$sub_menu], "r");
$colspant		= 2; 
?>
<p />
<!-- 통큰아이에 대한 환경설정 -->
<form name="frm_smstki" method="post" class="frm" onSubmit="return sendTong(this);">
<input type="hidden" name="mode" value="sms_tongkni">
<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_tki_id" value="<?=$zm_sms[sms_tki_id]?>" required itemname='SMS 아이디' size="10"></td>
</tr>
<tr class="list">
	<td>SMS 비밀번호</td>
	<td><input type="password" name="sms_tki_pw" value="<?=$zm_sms[sms_tki_pw]?>" required itemname='SMS 비밀번호' size="10"></td>
</tr>
<tr class="list">
	<td>남은문자 건 수</td>
	<td><?=$zm_sms[residual]?>
	<input type="button" value="충전하기" onClick="window.open('http://tongkni.co.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>