상품복사에서 form 태그 추가
This commit is contained in:
@ -8,6 +8,7 @@ $g4['title'] = '상품 복사';
|
|||||||
include_once(G4_PATH.'/head.sub.php');
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<form name="fitemcopy">
|
||||||
<div class="cbox">
|
<div class="cbox">
|
||||||
<h1>상품 복사</h1>
|
<h1>상품 복사</h1>
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ include_once(G4_PATH.'/head.sub.php');
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="new_it_id">상품코드</label></th>
|
<th scope="row"><label for="new_it_id">상품코드</label></th>
|
||||||
<td><input type="text" value="<?php echo time(); ?>" id="new_it_id" class="frm_input"></td>
|
<td><input type="text" name="new_it_id" value="<?php echo time(); ?>" id="new_it_id" class="frm_input"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -29,12 +30,14 @@ include_once(G4_PATH.'/head.sub.php');
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
// <![CDATA[
|
||||||
function _copy(link)
|
function _copy(link)
|
||||||
{
|
{
|
||||||
var new_it_id = document.getElementById('new_it_id').value;
|
var new_it_id = document.getElementById('new_it_id').value;
|
||||||
opener.parent.location.href = encodeURI(link+'&new_it_id='+new_it_id);
|
opener.parent.location.href = encodeURI(link+'&new_it_id='+new_it_id);
|
||||||
self.close();
|
self.close();
|
||||||
}
|
}
|
||||||
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user