php strict 적용

This commit is contained in:
chicpro
2013-04-30 18:22:34 +09:00
parent 2c8e90c973
commit b145b3970e
62 changed files with 1380 additions and 1380 deletions

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '400720';
include_once('./_common.php');
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
@ -29,12 +29,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
?>
<form name="frmnewwin" action="./newwinformupdate.php" onsubmit="return frmnewwin_check(this);" method="post">
<input type="hidden" name="w" value="<? echo $w ?>">
<input type="hidden" name="nw_id" value="<? echo $nw_id ?>">
<input type="hidden" name="w" value="<?php echo $w; ?>">
<input type="hidden" name="nw_id" value="<?php echo $nw_id; ?>">
<section class="cbox">
<h2><?=$html_title?></h2>
<p><?=help("쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다.")?></p>
<h2><?php echo $html_title; ?></h2>
<p><?php echo help("쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다."); ?></p>
<table class="frm_tbl">
<colgroup>
<col class="grid_3">
@ -44,59 +44,59 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<tr>
<th scope="row"><label for="nw_disable_hours">시간</label></th>
<td>
<?=help("고객이 다시 보지 않음을 선택할 시 몇 시간동안 팝업레이어를 보여주지 않을지 설정합니다.")?>
<input type="text" name="nw_disable_hours" value="<? echo $nw['nw_disable_hours'] ?>" id="nw_disable_hours" required class="frm_input required" size="5"> 시간
<?php echo help("고객이 다시 보지 않음을 선택할 시 몇 시간동안 팝업레이어를 보여주지 않을지 설정합니다."); ?>
<input type="text" name="nw_disable_hours" value="<?php echo $nw['nw_disable_hours']; ?>" id="nw_disable_hours" required class="frm_input required" size="5"> 시간
</td>
</tr>
<tr>
<th scope="row"><label for="nw_begin_time">시작일시</label></th>
<td>
<input type="text" name="nw_begin_time" value="<? echo $nw['nw_begin_time'] ?>" id="nw_begin_time" required class="frm_input required" size="21" maxlength="19">
<input type="text" name="nw_begin_time" value="<?php echo $nw['nw_begin_time']; ?>" id="nw_begin_time" required class="frm_input required" size="21" maxlength="19">
<label for="nw_begin_chk">시작일시를 오늘로</label>
<input type="checkbox" name="nw_begin_chk" value="<? echo date("Y-m-d 00:00:00", G4_SERVER_TIME); ?>" id="nw_begin_chk" onclick="if (this.checked == true) this.form.nw_begin_time.value=this.form.nw_begin_chk.value; else this.form.nw_begin_time.value = this.form.nw_begin_time.defaultValue;">
<input type="checkbox" name="nw_begin_chk" value="<?php echo date("Y-m-d 00:00:00", G4_SERVER_TIME); ?>" id="nw_begin_chk" onclick="if (this.checked == true) this.form.nw_begin_time.value=this.form.nw_begin_chk.value; else this.form.nw_begin_time.value = this.form.nw_begin_time.defaultValue;">
</td>
</tr>
<tr>
<th scope="row"><label for="nw_end_time">종료일시</label></th>
<td>
<input type="text" name="nw_end_time" value="<? echo $nw['nw_end_time'] ?>" id="nw_end_time" required class="frm_input required" size="21" maxlength="19">
<input type="text" name="nw_end_time" value="<?php echo $nw['nw_end_time']; ?>" id="nw_end_time" required class="frm_input required" size="21" maxlength="19">
<label for="nw_end_chk">종료일시를 오늘로부터 7일 후로</label>
<input type="checkbox" name="nw_end_chk" value="<? echo date("Y-m-d 23:59:59", G4_SERVER_TIME+(60*60*24*7)); ?>" id="nw_end_chk" onclick="if (this.checked == true) this.form.nw_end_time.value=this.form.nw_end_chk.value; else this.form.nw_end_time.value = this.form.nw_end_time.defaultValue;">
<input type="checkbox" name="nw_end_chk" value="<?php echo date("Y-m-d 23:59:59", G4_SERVER_TIME+(60*60*24*7)); ?>" id="nw_end_chk" onclick="if (this.checked == true) this.form.nw_end_time.value=this.form.nw_end_chk.value; else this.form.nw_end_time.value = this.form.nw_end_time.defaultValue;">
</td>
</tr>
<tr>
<th scope="row"><label for="nw_left">팝업레이어 좌측 위치</label></th>
<td>
<input type="text" name="nw_left" value="<? echo $nw['nw_left'] ?>" id="nw_left" required class="frm_input required" size="5"> px
<input type="text" name="nw_left" value="<?php echo $nw['nw_left']; ?>" id="nw_left" required class="frm_input required" size="5"> px
</td>
</tr>
<tr>
<th scope="row"><label for="nw_top">팝업레이어 상단 위치</label></th>
<td>
<input type="text" name="nw_top" value="<? echo $nw['nw_top'] ?>" id="nw_top" required class="frm_input required" size="5"> px
<input type="text" name="nw_top" value="<?php echo $nw['nw_top']; ?>" id="nw_top" required class="frm_input required" size="5"> px
</td>
</tr>
<tr>
<th scope="row"><label for="nw_width">팝업레이어 넓이</label></th>
<td>
<input type="text" name="nw_width" value="<? echo $nw['nw_width'] ?>" id="nw_width" required class="frm_input required" size="5"> px
<input type="text" name="nw_width" value="<?php echo $nw['nw_width'] ?>" id="nw_width" required class="frm_input required" size="5"> px
</td>
</tr>
<tr>
<th scope="row"><label for="nw_height">팝업레이어 높이</label></th>
<td>
<input type="text" name="nw_height" value="<? echo $nw['nw_height'] ?>" id="nw_height" required class="frm_input required" size="5"> px
<input type="text" name="nw_height" value="<?php echo $nw['nw_height'] ?>" id="nw_height" required class="frm_input required" size="5"> px
</td>
</tr>
<tr>
<th scope="row"><label for="nw_subject">팝업 제목</label></th>
<td>
<input type="text" name="nw_subject" value="<? echo stripslashes($nw['nw_subject']) ?>" id="nw_subject" required class="frm_input required" size="80">
<input type="text" name="nw_subject" value="<?php echo stripslashes($nw['nw_subject']) ?>" id="nw_subject" required class="frm_input required" size="80">
</td>
</tr>
<tr>
<th scope="row">내용</th>
<td><?=editor_html('nw_content', $nw['nw_content']);?></td>
<td><?php echo editor_html('nw_content', $nw['nw_content']); ?></td>
</tr>
</tbody>
</table>
@ -114,7 +114,7 @@ function frmnewwin_check(f)
errmsg = "";
errfld = "";
<?=get_editor_js('nw_content');?>
<?php echo get_editor_js('nw_content'); ?>
check_field(f.nw_subject, "제목을 입력하세요.");
@ -127,6 +127,6 @@ function frmnewwin_check(f)
}
</script>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>