php strict 적용
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -23,12 +23,12 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
?>
|
||||
|
||||
<form name="fitemps" method="post" onsubmit="return fitemps_submit(this);">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="is_id" value="<? echo $is_id ?>">
|
||||
<input type="hidden" name="page" value="<? echo $page ?>">
|
||||
<input type="hidden" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" name="is_confirm" value="<? echo $is['is_confirm']?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="is_confirm" value="<?php echo $is['is_confirm']; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2>사용후기 수정</h2>
|
||||
@ -40,33 +40,33 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">상품명</th>
|
||||
<td><a href="<?=G4_SHOP_URL?>/item.php?it_id=<?=$is['it_id']?>"><?=$is['it_name']?></a></td>
|
||||
<td><a href="<?php echo G4_SHOP_URL; ?>/item.php?it_id=<?php echo $is['it_id']; ?>"><?php echo $is['it_name']; ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">이름</th>
|
||||
<td><?=$name?></td>
|
||||
<td><?php echo $name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">점수</th>
|
||||
<td><?=stripslashes($is['is_score']) ?> 점</td>
|
||||
<td><?php echo stripslashes($is['is_score']); ?> 점</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="is_subject">제목</label></th>
|
||||
<td><input type="text" name="is_subject" required class="required frm_input" id="is_subject" size="100"
|
||||
value='<?=conv_subject($is['is_subject'], 120)?>'></td>
|
||||
value='<?php echo conv_subject($is['is_subject'], 120); ?>'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td><?=editor_html('is_content', $is['is_content']);?></td>
|
||||
<td><?php echo editor_html('is_content', $is['is_content']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">확인</th>
|
||||
<td>
|
||||
<? if($is['is_confirm']) { ?>
|
||||
<?php if($is['is_confirm']) { ?>
|
||||
<input type="submit" name="btn_no_display" value="사용후기 보이지 않기" class="btn_frmline">
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
<input type="submit" name="btn_confirm" value="사용후기 보이기" class="btn_frmline">
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -75,20 +75,20 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./itempslist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./itempslist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fitemps_submit(f)
|
||||
{
|
||||
<? echo get_editor_js('is_content'); ?>
|
||||
<?php echo get_editor_js('is_content'); ?>
|
||||
|
||||
f.action="./itempsformupdate.php";
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user