관리자: 쇼핑몰 따옴표 없거나 홑따옴표 쌍따옴표로

This commit is contained in:
whitedot
2013-01-30 16:18:00 +09:00
parent a8d750659c
commit 6c85d1a566
49 changed files with 795 additions and 794 deletions

View File

@ -48,16 +48,16 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search";
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
?>
<form name=flist style="margin:0px;">
<table width=100% cellpadding=4 cellspacing=0>
<input type=hidden name=doc value="<? echo $doc ?>">
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
<input type=hidden name=page value="<? echo $page ?>">
<form id="flist" name="flist" style="margin:0px;">
<table>
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
<tr>
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
<td width=80% align=center>
<select name="sel_ca_id">
<select id="sel_ca_id" name="sel_ca_id">
<option value=''>전체분류
<?
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
@ -72,14 +72,14 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
</select>
<script> document.flist.sel_ca_id.value = '<?=$sel_ca_id?>';</script>
<select name=sel_field>
<select id="sel_field" name="sel_field">
<option value='it_name'>상품명
<option value='it_id'>상품코드
</select>
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
<input type=text name=search value='<? echo $search ?>'>
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
<input type="text" id="search" name="search" value='<? echo $search ?>'>
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
</td>
<td width=10% align=right>건수 : <? echo $total_count ?>&nbsp;</td>
</tr>
@ -87,13 +87,13 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
</form>
<form name=fitemstocklist method=post action="./itemstocklistupdate.php" style="margin:0px;">
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
<input type=hidden name=sel_ca_id value="<? echo $sel_ca_id ?>">
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
<input type=hidden name=search value="<? echo $search ?>">
<input type=hidden name=page value="<? echo $page ?>">
<form id="fitemstocklist" name="fitemstocklist" method=post action="./itemstocklistupdate.php" style="margin:0px;">
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
<input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<? echo $sel_ca_id ?>">
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
<table cellpadding=0 cellspacing=0 width=100%>
<colgroup width=80>
<colgroup width=80>
@ -136,7 +136,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$list = $i%2;
echo "
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
<input type="hidden" name='it_id[$i]' value='$row[it_id]'>
<tr class='list$list center'>
<td>$row[it_id]</td>
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image("{$row[it_id]}_s", 50, 50)."</a></td>
@ -144,8 +144,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<td align=right>".number_format($row[it_stock_qty])."</td>
<td align=right>".number_format($wait_qty)."</td>
<td align=right>".number_format($temporary_qty)."</td>
<td align=right><input type='text' name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=10 style='text-align:right;' autocomplete='off'></td>
<td><input type=checkbox name='it_use[$i]' value='1' ".($row[it_use] ? "checked" : "")."></td>
<td align=right><input type="text" name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=10 style='text-align:right;' autocomplete='off'></td>
<td><input type="checkbox" name='it_use[$i]' value='1' ".($row[it_use] ? "checked" : "")."></td>
<td>$s_mod</td>
</tr><tr>";
}
@ -158,7 +158,7 @@ if (!$i)
<table width=100%>
<tr>
<td colspan=50%><input type=submit class=btn1 value='일괄수정' accesskey='s'></td>
<td colspan=50%><input type="submit" class=btn1 value='일괄수정' accesskey='s'></td>
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
</tr>
</form>