php strict 적용
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '500200';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -11,7 +11,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
$send_number = preg_replace("/[^0-9]/", "", $default['de_admin_company_tel']);
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
?>
|
||||
<form action="./smssendicode.php" name="smsform" method="post" onsubmit="return smsform_check(this);" autocomplete="off">
|
||||
@ -29,14 +29,14 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
<tr>
|
||||
<th scope="row"><label for="send_number">발신번호</label></th>
|
||||
<td>
|
||||
<?=help('SMS 발신자 번호를 입력하세요.')?>
|
||||
<input name="send_number" type="text" value="<?=$send_number?>" id="send_number" class="frm_input">
|
||||
<?php echo help('SMS 발신자 번호를 입력하세요.'); ?>
|
||||
<input name="send_number" type="text" value="<?php echo $send_number; ?>" id="send_number" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="receive_number">수신번호</th>
|
||||
<td>
|
||||
<?=help('여러명에게 보내실 때는 전화번호를 엔터로 구분하세요.')?>
|
||||
<?php echo help('여러명에게 보내실 때는 전화번호를 엔터로 구분하세요.'); ?>
|
||||
<textarea name="receive_number" id="receive_number" onkeyup="addressee_count();"></textarea>
|
||||
<div><span>총 수신인 <strong id="sms_addressee">0</strong>명</span></div>
|
||||
</td>
|
||||
@ -44,7 +44,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
<tr>
|
||||
<th scope="row"><label for="sms_contents">문자내용</label></th>
|
||||
<td>
|
||||
<?=help("주의! 80 bytes 까지만 전송됩니다.\n영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 입니다.")?>
|
||||
<?php echo help("주의! 80 bytes 까지만 전송됩니다.\n영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 입니다."); ?>
|
||||
<textarea name="sms_contents" id="sms_contents" onkeyup="byte_check();"></textarea>
|
||||
<div id="bytes">0 / 80 바이트</div>
|
||||
</td>
|
||||
@ -56,7 +56,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
<input type="checkbox" name="reserved_flag" value="true" id="reserved_flag">
|
||||
<label for="reserved_year" class="sound_only">연도 설정</label>
|
||||
<select name="reserved_year" id="reserved_year">
|
||||
<?
|
||||
<?php
|
||||
$yy = date("Y");
|
||||
for ($i=$yy; $i<=$yy+1; $i++) {
|
||||
echo '<option value="'.$i.'">'.substr($i,-2).'</option>';
|
||||
@ -65,7 +65,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
</select> 년
|
||||
<label for="reserved_month" class="sound_only">월 설정</label>
|
||||
<select name="reserved_month" id="reserved_month">
|
||||
<?
|
||||
<?php
|
||||
$mm = date("n");
|
||||
for ($i=1; $i<=12; $i++) {
|
||||
echo '<option value="'.$i.'">'.$i.'</option>';
|
||||
@ -74,7 +74,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
</select> 월
|
||||
<label for="reserved_day" class="sound_only">일 설정</label>
|
||||
<select name="reserved_day" id="reserved_day">
|
||||
<?
|
||||
<?php
|
||||
$dd = date("j");
|
||||
for ($i=1; $i<=31; $i++) {
|
||||
echo '<option value="'.$i.'">'.$i.'</option>';
|
||||
@ -83,7 +83,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
</select> 일
|
||||
<label for="reserved_hour" class="sound_only">시 설정</label>
|
||||
<select name="reserved_hour" id="reserved_hour">
|
||||
<?
|
||||
<?php
|
||||
for ($i=1; $i<=24; $i++) {
|
||||
echo '<option value="'.$i.'">'.$i.'</option>';
|
||||
}
|
||||
@ -91,7 +91,7 @@ if ($default['de_sms_use'] == 'icode') { // 아이코드 사용
|
||||
</select> 시
|
||||
<label for="reserved_minute" class="sound_only">분 설정</label>
|
||||
<select name="reserved_minute" id="reserved_minute">
|
||||
<?
|
||||
<?php
|
||||
for ($i=1; $i<=60; $i++) {
|
||||
echo '<option value="'.$i.'">'.$i.'</option>';
|
||||
}
|
||||
@ -193,7 +193,7 @@ function addressee_count()
|
||||
|
||||
function smsform_check(f)
|
||||
{
|
||||
<?
|
||||
<?php
|
||||
if (file_exists(G4_PATH.'/DEMO')) {
|
||||
echo "alert('데모에서는 문자메세지를 발송할 수 없습니다.');";
|
||||
echo "return false;";
|
||||
@ -236,7 +236,7 @@ function smsform_check(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>SMS 문자전송 서비스를 사용할 수 없습니다.</h2>
|
||||
@ -246,9 +246,9 @@ function smsform_check(f)
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user