<? 
auth_check($auth[$sub_menu], "r");
$colspant		= 3; 
?>
<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">
<colgroup width="5%">
<colgroup width="15%">
<colgroup width="80%">
<tr><td colspan='<?=$colspant?>' class='line2'></td></tr>
<tr class='bgcol1 bold col1 ht'>
	<td colspan='<?=$colspant?>'>> SMS 모듈설정 (통큰아이)</td>
</tr>
<tr><td colspan='<?=$colspant?>' class='line2'></td></tr>
<tr class="list">
	<td class="point">></td>
	<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><td colspan='<?=$colspant?>' class='line2'></td></tr>
<tr class="list">
	<td class="point">></td>
	<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><td colspan='<?=$colspant?>' class='line2'></td></tr>
<tr class="list">
	<td class="point">></td>
	<td>남은문자 건 수</td>
	<td>: <?=$zm_sms[residual]?>
	<input type="button" value="충전하기" onClick="window.open('http://tongkni.co.kr', 'sms')" class="btn1"></td>
</tr>
<tr><td colspan='<?=$colspant?>' class='line1'></td></tr>
<tr><td colspan='<?=$colspant?>' class="divbtn"><input type="submit" value=" 적 용 하 기 " class="btnadj"></td></tr>
</table>
</form>

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

	return true;
}
</script>