관리자: 쇼핑몰 따옴표 없거나 홑따옴표 쌍따옴표로
This commit is contained in:
@ -35,45 +35,45 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<?=subtitle($html_title)?><p>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=frmcontentform method=post action="./contentformupdate.php" enctype="MULTIPART/FORM-DATA" onsubmit="return frmcontentform_check(this);">
|
||||
<input type=hidden name=w value='<? echo $w?>'>
|
||||
<form id="frmcontentform" name="frmcontentform" method=post action="./contentformupdate.php" enctype="MULTIPART/FORM-DATA" onsubmit="return frmcontentform_check(this);">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w?>'>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr class=ht>
|
||||
<td>ID</td>
|
||||
<td>
|
||||
<input type=text class=ed name=co_id size=20 max=20 value='<? echo $co[co_id] ?>' <? echo $readonly ?> required itemname='ID'>
|
||||
<input type="text" class=ed id="co_id" name="co_id" size=20 max=20 value='<? echo $co[co_id] ?>' <? echo $readonly ?> required itemid="ID" name="ID">
|
||||
<? if ($w == 'u') { echo icon("보기", "$g4[shop_path]/content.php?co_id=$co_id"); } ?>
|
||||
(영문자, 숫자, _ 만 가능; 20자 이내; 공란 불가)
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>제목</td>
|
||||
<td><input type=text class=ed name=co_subject style='width:99%;' value='<?=htmlspecialchars2($co[co_subject])?>' required itemname='제목'></td>
|
||||
<td><input type="text" class=ed id="co_subject" name="co_subject" style='width:99%;' value='<?=htmlspecialchars2($co[co_subject])?>' required itemname='제목'></td>
|
||||
</tr>
|
||||
|
||||
<input type=hidden name=co_html value=1>
|
||||
<input type="hidden" id="co_html" name="co_html" value=1>
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('co_content', $co[co_content]);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=co_include_head size=60 value="<?=$co[co_include_head]?>"> <?=help("내용별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="co_include_head" name="co_include_head" size=60 value="<?=$co[co_include_head]?>"> <?=help("내용별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>하단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=co_include_tail size=60 value="<?=$co[co_include_tail]?>"> <?=help("내용별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="co_include_tail" name="co_include_tail" size=60 value="<?=$co[co_include_tail]?>"> <?=help("내용별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_himg size=40>
|
||||
<input type="file" class=ed id="co_himg" name="co_himg" size=40>
|
||||
<?
|
||||
$himg = "$g4[path]/data/content/{$co[co_id]}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=co_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="co_himg_del" name="co_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -84,11 +84,11 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_timg size=40>
|
||||
<input type="file" class=ed id="co_timg" name="co_timg" size=40>
|
||||
<?
|
||||
$timg = "$g4[path]/data/content/{$co[co_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=co_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="co_timg_del" name="co_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -101,8 +101,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./contentlist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./contentlist.php';">
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user