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 = '400660';
include_once('./_common.php');
@ -19,18 +19,18 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
$qstr = 'page='.$page.'&amp;sort1='.$sort1.'&amp;sort2='.$sort2;
?>
<?//=subtitle($g4['title'])?>
<?php//=subtitle($g4['title'])?>
<section class="cbox">
<h2>상품문의 수정/답변</h2>
<p>상품에 대한 문의에 답변하실 수 있습니다. 상품 문의 내용의 수정도 가능합니다.</p>
<form name="frmitemqaform" action="./itemqaformupdate.php" method="post">
<input type="hidden" name="w" value="<?=$w ?>">
<input type="hidden" name="iq_id" value="<?=$iq_id ?>">
<input type="hidden" name="page" value="<?=$page ?>">
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
<input type="hidden" name="w" value="<?php echo $w; ?>">
<input type="hidden" name="iq_id" value="<?php echo $iq_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; ?>">
<table class="frm_tbl">
<colgroup>
@ -40,31 +40,31 @@ $qstr = 'page='.$page.'&amp;sort1='.$sort1.'&amp;sort2='.$sort2;
<tbody>
<tr>
<th scope="row">이름</th>
<td><?=$name?></td>
<td><?php echo $name; ?></td>
</tr>
<tr>
<th scope="row"><label for="iq_subject">제목</label></th>
<td><input type="text" name="iq_subject" value="<?=conv_subject($iq['iq_subject'],120)?>" id="iq_subject" required class="frm_input required" size="95"></td>
<td><input type="text" name="iq_subject" value="<?php echo conv_subject($iq['iq_subject'],120); ?>" id="iq_subject" required class="frm_input required" size="95"></td>
</tr>
<tr>
<th scope="row"><label for="iq_question">질문</label></th>
<td><textarea name="iq_question" id="iq_question" rows="7" required class="required"><?=get_text($iq['iq_question'])?></textarea></td>
<td><textarea name="iq_question" id="iq_question" rows="7" required class="required"><?php echo get_text($iq['iq_question']); ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="iq_answer">답변</label></th>
<td><textarea name="iq_answer" id="iq_answer" rows="7"><?=get_text($iq['iq_answer'])?></textarea></td>
<td><textarea name="iq_answer" id="iq_answer" rows="7"><?php echo get_text($iq['iq_answer']); ?></textarea></td>
</tr>
</tbody>
</table>
<div class="btn_confirm">
<input type="submit" accesskey='s' value="확인" class="btn_submit">
<a href="./itemqalist.php?<?=$qstr?>">목록</a>
<a href="./itemqalist.php?<?php echo $qstr; ?>">목록</a>
</div>
</form>
</section>
<?
<?php
include_once (G4_ADMIN_PATH.'/admin.tail.php');
?>