Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-04-11 13:20:55 +09:00
6 changed files with 213 additions and 213 deletions

View File

@ -52,63 +52,64 @@ $result = sql_query($sql);
//$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx"; //$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx";
$qstr = "$qstr&sca=$sca&save_stx=$stx"; $qstr = "$qstr&sca=$sca&save_stx=$stx";
?> ?>
<style type="text/css">
.itempslist{text-align:center}
</style>
<form name=flist style="margin:0px;"> <form name="flist">
<table width=100% cellpadding=4 cellspacing=0> <input type="hidden" name="page" value="<?=$page?>">
<input type=hidden name=page value="<?=$page?>"> <p><a href='<?=$_SERVER['PHP_SELF']?>'>처음</a></p>
<tr> <fieldset>
<td width=10%><a href='<?=$_SERVER['PHP_SELF']?>'>처음</a></td> <legend>상품후기 검색</legend>
<td width=80% align=center> <select name="sca" title="검색분류">
<select name="sca"> <option value=''>전체분류</option>
<option value=''>전체분류 <?
<? $sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id "; $result1 = sql_query($sql1);
$result1 = sql_query($sql1); for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
for ($i=0; $row1=mysql_fetch_array($result1); $i++) { $len = strlen($row1['ca_id']) / 2 - 1;
$len = strlen($row1['ca_id']) / 2 - 1; $nbsp = "";
$nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;";
for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;"; echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n";
echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n"; }
} ?>
?>
</select> </select>
<script> document.flist.sca.value = '<?=$sca?>';</script> <script> document.flist.sca.value = '<?=$sca?>';</script>
<select name=sfl> <select name="sfl" title="검색대상">
<option value='it_name'>상품명 <option value="it_name">상품명</option>
<option value='a.it_id'>상품코드 <option value="a.it_id">상품코드</option>
<option value='is_name'>이름 <option value="is_name">이름</option>
</select> </select>
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?> <? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
<input type=hidden name=save_stx value='<?=$stx?>'> <input type="hidden" name="save_stx" value="<?=$stx?>">
<input type=text name=stx value='<?=$stx?>'> <input type="text" name="stx" value="<?=$stx?>" class="frm_input" title="검색어">
<input type=image src='<?=G4_ADMIN_URL?>/img/btn_search.gif' align=absmiddle> <input type="submit" value="검색" class="btn_submit">
</td> </fieldset>
<td width=10% align=right>건수 : <? echo $total_count ?>&nbsp;</td> <p>건수 : <? echo $total_count ?></p>
</tr>
</table>
</form> </form>
<section class="cbox">
<table cellpadding=0 cellspacing=0 width=100% border=0> <table class="frm_basic">
<colgroup width=80> <colgroup>
<colgroup width=''> <col class="grid_8">
<colgroup width=80> <col class="grid_2">
<colgroup width=200> <col class="grid_4">
<colgroup width=40> <col class="grid_1">
<colgroup width=40> <col class="grid_1">
<colgroup width=80> <col class="grid_2">
<tr><td colspan=7 height=2 bgcolor=#0E87F9></td></tr> </colgroup>
<tr align=center class=ht> <thead>
<td></td> <tr>
<td><?=subject_sort_link("it_name"); ?>상품명</a></td> <th scope="col" class="itempslist"><?=subject_sort_link("it_name"); ?>상품명</a></th>
<td><?=subject_sort_link("mb_name"); ?>이름</a></td> <th scope="col"><?=subject_sort_link("mb_name"); ?>이름</a></th>
<td><?=subject_sort_link("is_subject"); ?>제목</a></td> <th scope="col"><?=subject_sort_link("is_subject"); ?>제목</a></th>
<td><?=subject_sort_link("is_score"); ?>점수</a></td> <th scope="col"><?=subject_sort_link("is_score"); ?>점수</a></th>
<td><?=subject_sort_link("is_confirm"); ?>확인</a></td> <th scope="col"><?=subject_sort_link("is_confirm"); ?>확인</a></th>
<td>수정 삭제</td> <th scope="col">관리</th>
</tr> </tr>
<tr><td colspan=7 height=1 bgcolor=#CCCCCC></td></tr> </thead>
<tbody>
<? <?
for ($i=0; $row=sql_fetch_array($result); $i++) for ($i=0; $row=sql_fetch_array($result); $i++)
{ {
@ -124,32 +125,28 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$confirm = $row['is_confirm'] ? "Y" : "&nbsp;"; $confirm = $row['is_confirm'] ? "Y" : "&nbsp;";
$list = $i%2; $list = $i%2;
echo " ?>
<tr class='list$list'> <tr>
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image($row['it_id'].'_s', 50, 50)."</a></td> <td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
<td><a href='$href'>".cut_str($row['it_name'],30)."</a></td> <td class="itempslist"><?=$name?></td>
<td align=center>$name</td> <td><?=$row['is_subject']?></td>
<td>".$row['is_subject']."</td> <td class="itempslist"><?=$row['is_score']?></td>
<td align=center>".$row['is_score']."</td> <td class="itempslist"><?=$confirm?></td>
<td align=center>$confirm</td> <td class="itempslist"><a href="./itempsform.php?w=u&is_id=<?=$row['is_id']?>&$qstr">수정</a> <a href="./itempsformupdate.php?w=d&is_id=<?=$row['is_id']?>&$qstr')">삭제</a></td>
<td align=center>$s_mod $s_del</td> </tr>
</tr>"; <?
} }
if ($i == 0) { if ($i == 0) {
echo "<tr><td colspan=7 align=center height=100 bgcolor=#ffffff><span class=point>자료가 한건도 없습니다.</span></td></tr>\n"; echo '<tr><td colspan="7" class="empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';
} }
?> ?>
<tr><td colspan=7 height=1 bgcolor=CCCCCC></td></tr> </tbody>
</table> </table>
</section>
<table width=100%> <?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
<tr>
<td width=50%>&nbsp;</td>
<td width=50% align=right><?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?></td>
</tr>
</table>
<? <?
include_once (G4_ADMIN_PATH.'/admin.tail.php'); include_once (G4_ADMIN_PATH.'/admin.tail.php');

View File

@ -52,101 +52,97 @@ $result = sql_query($sql);
//$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx"; //$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx";
$qstr = "$qstr&sca=$sca&save_stx=$stx"; $qstr = "$qstr&sca=$sca&save_stx=$stx";
?> ?>
<style type="text/css">
.itemqalist{text-align:center}
</style>
<form name=flist style="margin:0px;"> <form name="flist">
<table width=100% cellpadding=4 cellspacing=0> <input type="hidden" name="page" value="<?=$page?>">
<input type=hidden name=page value="<?=$page?>"> <p><a href="<?=$_SERVER['PHP_SELF']?>">처음</a></p>
<tr> <fieldset>
<td width=10%><a href='<?=$_SERVER['PHP_SELF']?>'>처음</a></td> <legend>상품문의 검색</legend>
<td width=80% align=center> <select name="sca">
<select name="sca"> <option value=''>전체분류</option>
<option value=''>전체분류 <?
<? $sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id "; $result1 = sql_query($sql1);
$result1 = sql_query($sql1); for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
for ($i=0; $row1=mysql_fetch_array($result1); $i++) { $len = strlen($row1['ca_id']) / 2 - 1;
$len = strlen($row1['ca_id']) / 2 - 1; $nbsp = "";
$nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;";
for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;"; echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n";
echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n"; }
} ?>
?> </select>
</select> <script> document.flist.sca.value = '<?=$sca?>';</script>
<script> document.flist.sca.value = '<?=$sca?>';</script>
<select name=sfl> <select name="sfl">
<option value='it_name'>상품명 <option value="it_name">상품명</option>
<option value='a.it_id'>상품코드 <option value="a.it_id">상품코드</option>
</select> </select>
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?> <? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
<input type=hidden name=save_stx value='<?=$stx?>'> <input type="hidden" name="save_stx" value="<?=$stx?>">
<input type=text name=stx value='<?=$stx?>'> <input type="text" name="stx" value="<?=$stx?>" class="frm_input">
<input type=image src='<?=G4_ADMIN_URL?>/img/btn_search.gif' align=absmiddle> <input type="submit" value="검색" class="btn_submit">
</td> </fieldset>
<td width=10% align=right>건수 : <? echo $total_count ?>&nbsp;</td> <p>건수 : <? echo $total_count ?></p>
</tr>
</table>
</form> </form>
<table cellpadding=0 cellspacing=0 width=100%> <section class="cbox">
<colgroup width=80> <h2>상품문의 관리</h2>
<colgroup width=''> <table class="frm_basic">
<colgroup width=100> <colgroup>
<colgroup width=250> <col class="grid_8">
<colgroup width=50> <col class="grid_2">
<colgroup width=80> <col class="grid_5">
<tr><td colspan=6 height=2 bgcolor=#0E87F9></td></tr> <col class="grid_1">
<tr align=center class=ht> <col class="grid_2">
<td></td> </colgroup>
<td><?=subject_sort_link("it_name"); ?>상품명</a></td> <thead>
<td><?=subject_sort_link("mb_name"); ?>이름</a></td> <tr>
<td><?=subject_sort_link("iq_subject"); ?>질문</a></td> <th scope="col"><?=subject_sort_link("it_name"); ?>상품명</a></th>
<td><?=subject_sort_link("iq_answer"); ?>답변</a></td> <th scope="col"><?=subject_sort_link("mb_name"); ?>이름</a></th>
<td>수정 삭제</td> <th scope="col"><?=subject_sort_link("iq_subject"); ?>질문</a></th>
</tr> <th scope="col"><?=subject_sort_link("iq_answer"); ?>답변</a></th>
<tr><td colspan=6 height=1 bgcolor=#CCCCCC></td></tr> <th scope="col">관리</th>
<? </tr>
for ($i=0; $row=mysql_fetch_array($result); $i++) </thead>
{ <tbody>
$row['iq_subject'] = cut_str($row['iq_subject'], 30, "..."); <?
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
$row['iq_subject'] = cut_str($row['iq_subject'], 30, "...");
$href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}"; $href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}";
$name = get_sideview($row['mb_id'], $row['iq_name'], $row['mb_email'], $row['mb_homepage']); $name = get_sideview($row['mb_id'], $row['iq_name'], $row['mb_email'], $row['mb_homepage']);
$s_mod = icon("수정", "./itemqaform.php?w=u&iq_id={$row['iq_id']}&$qstr"); $s_mod = icon("수정", "./itemqaform.php?w=u&iq_id={$row['iq_id']}&$qstr");
$s_del = icon("삭제", "javascript:del('./itemqaformupdate.php?w=d&iq_id={$row['iq_id']}&$qstr');"); $s_del = icon("삭제", "javascript:del('./itemqaformupdate.php?w=d&iq_id={$row['iq_id']}&$qstr');");
$answer = $row['iq_answer'] ? "Y" : "&nbsp;"; $answer = $row['iq_answer'] ? "Y" : "&nbsp;";
$list = $i%2; $list = $i%2;
echo " ?>
<tr class='list$list'> <tr>
<td align=center style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image($row['it_id'].'_s', 50, 50)."</a></td> <td><a href="$href"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
<td><a href='$href'>".cut_str($row['it_name'],30)."</a></td> <td class="itemqalist"><?=$name?></td>
<td align=center>$name</td> <td><?=$row['iq_subject']?></td>
<td>{$row['iq_subject']}</td> <td class="itemqalist"><?=$answer?></td>
<td align=center>$answer</td> <td class="itemqalist"><a href="./itemqaform.php?w=u&iq_id=<?=$row['iq_id']?>&<?=$qstr?>">수정</a> <a href="./itemqaformupdate.php?w=d&iq_id=<?=$row['iq_id']?>&<?=$qstr?>">삭제</a></td>
<td align=center>$s_mod $s_del</td> </tr>
</tr>"; <?
} }
if ($i == 0) {
echo "<tr><td colspan=6 align=center height=100 bgcolor=#ffffff><span class=point>자료가 한건도 없습니다.</span></td></tr>\n";
}
?>
<tr><td colspan=6 height=1 bgcolor=#CCCCCC></td></tr>
</table>
<table width=100%>
<tr>
<td width=50%>&nbsp;</td>
<td width=50% align=right><?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?></td>
</tr>
</table>
if ($i == 0) {
echo '<tr><td colspan="5" class="empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';;
}
?>
</tbody>
</table>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
</section>
<? <?
include_once (G4_ADMIN_PATH.'/admin.tail.php'); include_once (G4_ADMIN_PATH.'/admin.tail.php');

View File

@ -135,7 +135,7 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col"><?=subject_sort_link("it_id", $qstr, 1)?>상품<br>코드</a></th> <th scope="col"><?=subject_sort_link("it_id", $qstr, 1)?>상품코드</a></th>
<th scope="col"><?=subject_sort_link("it_name")?>상품명</a></th> <th scope="col"><?=subject_sort_link("it_name")?>상품명</a></th>
<th scope="col"><?=subject_sort_link("it_type1", $qstr, 1)?>히트<br>상품</a></th> <th scope="col"><?=subject_sort_link("it_type1", $qstr, 1)?>히트<br>상품</a></th>
<th scope="col"><?=subject_sort_link("it_type2", $qstr, 1)?>추천<br>상품</a></th> <th scope="col"><?=subject_sort_link("it_type2", $qstr, 1)?>추천<br>상품</a></th>
@ -170,7 +170,7 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
} }
if (!$i) if (!$i)
echo '<tr><td colspan="9" class="itemtypelist empty_table"><span>자료가 한건도 없습니다.</span></td></tr>'; echo '<tr><td colspan="9" class="empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';
?> ?>
</tbody> </tbody>
<tfoot> <tfoot>

View File

@ -56,6 +56,13 @@ if ($_POST['agree'] != '동의함') {
<input name="table_prefix" type="text" value="g4s_" id="table_prefix"> <input name="table_prefix" type="text" value="g4s_" id="table_prefix">
</td> </td>
</tr> </tr>
<tr>
<th scope="row"><label for="">쇼핑몰TABLE명 접두사</label></th>
<td>
<span>가능한 변경하지 마십시오.</span>
<input name="shop_prefix" type="text" value="shop_" id="shop_prefix">
</td>
</tr>
</tbody> </tbody>
</table> </table>

View File

@ -18,6 +18,7 @@ $mysql_user = $_POST['mysql_user'];
$mysql_pass = $_POST['mysql_pass']; $mysql_pass = $_POST['mysql_pass'];
$mysql_db = $_POST['mysql_db']; $mysql_db = $_POST['mysql_db'];
$table_prefix= $_POST['table_prefix']; $table_prefix= $_POST['table_prefix'];
$shop_prefix = $_POST['shop_prefix'];
$admin_id = $_POST['admin_id']; $admin_id = $_POST['admin_id'];
$admin_pass = $_POST['admin_pass']; $admin_pass = $_POST['admin_pass'];
$admin_name = $_POST['admin_name']; $admin_name = $_POST['admin_name'];

View File

@ -1,11 +1,11 @@
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_banner` -- Table structure for table `shop_banner`
-- --
DROP TABLE IF EXISTS `yc4_banner`; DROP TABLE IF EXISTS `shop_banner`;
CREATE TABLE IF NOT EXISTS `yc4_banner` ( CREATE TABLE IF NOT EXISTS `shop_banner` (
`bn_id` int(11) NOT NULL AUTO_INCREMENT, `bn_id` int(11) NOT NULL AUTO_INCREMENT,
`bn_alt` varchar(255) NOT NULL DEFAULT '', `bn_alt` varchar(255) NOT NULL DEFAULT '',
`bn_url` varchar(255) NOT NULL DEFAULT '', `bn_url` varchar(255) NOT NULL DEFAULT '',
@ -23,11 +23,11 @@ CREATE TABLE IF NOT EXISTS `yc4_banner` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_card_history` -- Table structure for table `shop_card_history`
-- --
DROP TABLE IF EXISTS `yc4_card_history`; DROP TABLE IF EXISTS `shop_card_history`;
CREATE TABLE IF NOT EXISTS `yc4_card_history` ( CREATE TABLE IF NOT EXISTS `shop_card_history` (
`cd_id` int(11) NOT NULL AUTO_INCREMENT, `cd_id` int(11) NOT NULL AUTO_INCREMENT,
`od_id` bigint(20) unsigned NOT NULL, `od_id` bigint(20) unsigned NOT NULL,
`uq_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL,
@ -49,11 +49,11 @@ CREATE TABLE IF NOT EXISTS `yc4_card_history` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_cart` -- Table structure for table `shop_cart`
-- --
DROP TABLE IF EXISTS `yc4_cart`; DROP TABLE IF EXISTS `shop_cart`;
CREATE TABLE IF NOT EXISTS `yc4_cart` ( CREATE TABLE IF NOT EXISTS `shop_cart` (
`ct_id` int(11) NOT NULL AUTO_INCREMENT, `ct_id` int(11) NOT NULL AUTO_INCREMENT,
`uq_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL,
`it_id` varchar(10) NOT NULL DEFAULT '0', `it_id` varchar(10) NOT NULL DEFAULT '0',
@ -75,18 +75,17 @@ CREATE TABLE IF NOT EXISTS `yc4_cart` (
`ct_send_cost` varchar(255) NOT NULL, `ct_send_cost` varchar(255) NOT NULL,
`ct_direct` tinyint(4) NOT NULL, `ct_direct` tinyint(4) NOT NULL,
PRIMARY KEY (`ct_id`), PRIMARY KEY (`ct_id`),
KEY `on_uid` (`on_uid`),
KEY `uq_id` (`uq_id`) KEY `uq_id` (`uq_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_category` -- Table structure for table `shop_category`
-- --
DROP TABLE IF EXISTS `yc4_category`; DROP TABLE IF EXISTS `shop_category`;
CREATE TABLE IF NOT EXISTS `yc4_category` ( CREATE TABLE IF NOT EXISTS `shop_category` (
`ca_id` varchar(10) NOT NULL DEFAULT '0', `ca_id` varchar(10) NOT NULL DEFAULT '0',
`ca_name` varchar(255) NOT NULL DEFAULT '', `ca_name` varchar(255) NOT NULL DEFAULT '',
`ca_skin` varchar(255) NOT NULL DEFAULT '', `ca_skin` varchar(255) NOT NULL DEFAULT '',
@ -115,11 +114,11 @@ CREATE TABLE IF NOT EXISTS `yc4_category` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_content` -- Table structure for table `shop_content`
-- --
DROP TABLE IF EXISTS `yc4_content`; DROP TABLE IF EXISTS `shop_content`;
CREATE TABLE IF NOT EXISTS `yc4_content` ( CREATE TABLE IF NOT EXISTS `shop_content` (
`co_id` varchar(20) NOT NULL DEFAULT '', `co_id` varchar(20) NOT NULL DEFAULT '',
`co_html` tinyint(4) NOT NULL DEFAULT '0', `co_html` tinyint(4) NOT NULL DEFAULT '0',
`co_subject` varchar(255) NOT NULL DEFAULT '', `co_subject` varchar(255) NOT NULL DEFAULT '',
@ -133,11 +132,11 @@ CREATE TABLE IF NOT EXISTS `yc4_content` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_default` -- Table structure for table `shop_default`
-- --
DROP TABLE IF EXISTS `yc4_default`; DROP TABLE IF EXISTS `shop_default`;
CREATE TABLE IF NOT EXISTS `yc4_default` ( CREATE TABLE IF NOT EXISTS `shop_default` (
`de_admin_company_owner` varchar(255) NOT NULL DEFAULT '', `de_admin_company_owner` varchar(255) NOT NULL DEFAULT '',
`de_admin_company_name` varchar(255) NOT NULL DEFAULT '', `de_admin_company_name` varchar(255) NOT NULL DEFAULT '',
`de_admin_company_saupja_no` varchar(255) NOT NULL DEFAULT '', `de_admin_company_saupja_no` varchar(255) NOT NULL DEFAULT '',
@ -240,11 +239,11 @@ CREATE TABLE IF NOT EXISTS `yc4_default` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_delivery` -- Table structure for table `shop_delivery`
-- --
DROP TABLE IF EXISTS `yc4_delivery`; DROP TABLE IF EXISTS `shop_delivery`;
CREATE TABLE IF NOT EXISTS `yc4_delivery` ( CREATE TABLE IF NOT EXISTS `shop_delivery` (
`dl_id` int(11) NOT NULL AUTO_INCREMENT, `dl_id` int(11) NOT NULL AUTO_INCREMENT,
`dl_company` varchar(255) NOT NULL DEFAULT '', `dl_company` varchar(255) NOT NULL DEFAULT '',
`dl_url` varchar(255) NOT NULL DEFAULT '', `dl_url` varchar(255) NOT NULL DEFAULT '',
@ -256,11 +255,11 @@ CREATE TABLE IF NOT EXISTS `yc4_delivery` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_event` -- Table structure for table `shop_event`
-- --
DROP TABLE IF EXISTS `yc4_event`; DROP TABLE IF EXISTS `shop_event`;
CREATE TABLE IF NOT EXISTS `yc4_event` ( CREATE TABLE IF NOT EXISTS `shop_event` (
`ev_id` int(11) NOT NULL AUTO_INCREMENT, `ev_id` int(11) NOT NULL AUTO_INCREMENT,
`it_group` int(11) NOT NULL DEFAULT '0', `it_group` int(11) NOT NULL DEFAULT '0',
`ev_skin` varchar(255) NOT NULL DEFAULT '', `ev_skin` varchar(255) NOT NULL DEFAULT '',
@ -278,11 +277,11 @@ CREATE TABLE IF NOT EXISTS `yc4_event` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_event_item` -- Table structure for table `shop_event_item`
-- --
DROP TABLE IF EXISTS `yc4_event_item`; DROP TABLE IF EXISTS `shop_event_item`;
CREATE TABLE IF NOT EXISTS `yc4_event_item` ( CREATE TABLE IF NOT EXISTS `shop_event_item` (
`ev_id` int(11) NOT NULL DEFAULT '0', `ev_id` int(11) NOT NULL DEFAULT '0',
`it_id` varchar(10) NOT NULL DEFAULT '', `it_id` varchar(10) NOT NULL DEFAULT '',
PRIMARY KEY (`ev_id`,`it_id`), PRIMARY KEY (`ev_id`,`it_id`),
@ -292,11 +291,11 @@ CREATE TABLE IF NOT EXISTS `yc4_event_item` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_faq` -- Table structure for table `shop_faq`
-- --
DROP TABLE IF EXISTS `yc4_faq`; DROP TABLE IF EXISTS `shop_faq`;
CREATE TABLE IF NOT EXISTS `yc4_faq` ( CREATE TABLE IF NOT EXISTS `shop_faq` (
`fa_id` int(11) NOT NULL AUTO_INCREMENT, `fa_id` int(11) NOT NULL AUTO_INCREMENT,
`fm_id` int(11) NOT NULL DEFAULT '0', `fm_id` int(11) NOT NULL DEFAULT '0',
`fa_subject` text NOT NULL, `fa_subject` text NOT NULL,
@ -309,11 +308,11 @@ CREATE TABLE IF NOT EXISTS `yc4_faq` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_faq_master` -- Table structure for table `shop_faq_master`
-- --
DROP TABLE IF EXISTS `yc4_faq_master`; DROP TABLE IF EXISTS `shop_faq_master`;
CREATE TABLE IF NOT EXISTS `yc4_faq_master` ( CREATE TABLE IF NOT EXISTS `shop_faq_master` (
`fm_id` int(11) NOT NULL AUTO_INCREMENT, `fm_id` int(11) NOT NULL AUTO_INCREMENT,
`fm_subject` varchar(255) NOT NULL DEFAULT '', `fm_subject` varchar(255) NOT NULL DEFAULT '',
`fm_head_html` text NOT NULL, `fm_head_html` text NOT NULL,
@ -325,11 +324,11 @@ CREATE TABLE IF NOT EXISTS `yc4_faq_master` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_item` -- Table structure for table `shop_item`
-- --
DROP TABLE IF EXISTS `yc4_item`; DROP TABLE IF EXISTS `shop_item`;
CREATE TABLE IF NOT EXISTS `yc4_item` ( CREATE TABLE IF NOT EXISTS `shop_item` (
`it_id` varchar(10) NOT NULL DEFAULT '', `it_id` varchar(10) NOT NULL DEFAULT '',
`ca_id` varchar(10) NOT NULL DEFAULT '0', `ca_id` varchar(10) NOT NULL DEFAULT '0',
`ca_id2` varchar(255) NOT NULL DEFAULT '', `ca_id2` varchar(255) NOT NULL DEFAULT '',
@ -382,11 +381,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_item_info` -- Table structure for table `shop_item_info`
-- --
DROP TABLE IF EXISTS `yc4_item_info`; DROP TABLE IF EXISTS `shop_item_info`;
CREATE TABLE IF NOT EXISTS `yc4_item_info` ( CREATE TABLE IF NOT EXISTS `shop_item_info` (
`ii_id` int(11) NOT NULL AUTO_INCREMENT, `ii_id` int(11) NOT NULL AUTO_INCREMENT,
`it_id` varchar(10) NOT NULL, `it_id` varchar(10) NOT NULL,
`ii_gubun` varchar(50) NOT NULL, `ii_gubun` varchar(50) NOT NULL,
@ -400,11 +399,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_info` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_item_ps` -- Table structure for table `shop_item_ps`
-- --
DROP TABLE IF EXISTS `yc4_item_ps`; DROP TABLE IF EXISTS `shop_item_ps`;
CREATE TABLE IF NOT EXISTS `yc4_item_ps` ( CREATE TABLE IF NOT EXISTS `shop_item_ps` (
`is_id` int(11) NOT NULL AUTO_INCREMENT, `is_id` int(11) NOT NULL AUTO_INCREMENT,
`it_id` varchar(10) NOT NULL DEFAULT '0', `it_id` varchar(10) NOT NULL DEFAULT '0',
`mb_id` varchar(20) NOT NULL DEFAULT '', `mb_id` varchar(20) NOT NULL DEFAULT '',
@ -423,11 +422,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_ps` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_item_qa` -- Table structure for table `shop_item_qa`
-- --
DROP TABLE IF EXISTS `yc4_item_qa`; DROP TABLE IF EXISTS `shop_item_qa`;
CREATE TABLE IF NOT EXISTS `yc4_item_qa` ( CREATE TABLE IF NOT EXISTS `shop_item_qa` (
`iq_id` int(11) NOT NULL AUTO_INCREMENT, `iq_id` int(11) NOT NULL AUTO_INCREMENT,
`it_id` varchar(10) NOT NULL DEFAULT '', `it_id` varchar(10) NOT NULL DEFAULT '',
`mb_id` varchar(20) NOT NULL DEFAULT '', `mb_id` varchar(20) NOT NULL DEFAULT '',
@ -444,11 +443,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_qa` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_item_relation` -- Table structure for table `shop_item_relation`
-- --
DROP TABLE IF EXISTS `yc4_item_relation`; DROP TABLE IF EXISTS `shop_item_relation`;
CREATE TABLE IF NOT EXISTS `yc4_item_relation` ( CREATE TABLE IF NOT EXISTS `shop_item_relation` (
`it_id` varchar(10) NOT NULL DEFAULT '', `it_id` varchar(10) NOT NULL DEFAULT '',
`it_id2` varchar(10) NOT NULL DEFAULT '', `it_id2` varchar(10) NOT NULL DEFAULT '',
PRIMARY KEY (`it_id`,`it_id2`) PRIMARY KEY (`it_id`,`it_id2`)
@ -457,11 +456,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_relation` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_new_win` -- Table structure for table `shop_new_win`
-- --
DROP TABLE IF EXISTS `yc4_new_win`; DROP TABLE IF EXISTS `shop_new_win`;
CREATE TABLE IF NOT EXISTS `yc4_new_win` ( CREATE TABLE IF NOT EXISTS `shop_new_win` (
`nw_id` int(11) NOT NULL AUTO_INCREMENT, `nw_id` int(11) NOT NULL AUTO_INCREMENT,
`nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
@ -479,11 +478,11 @@ CREATE TABLE IF NOT EXISTS `yc4_new_win` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_onlinecalc` -- Table structure for table `shop_onlinecalc`
-- --
DROP TABLE IF EXISTS `yc4_onlinecalc`; DROP TABLE IF EXISTS `shop_onlinecalc`;
CREATE TABLE IF NOT EXISTS `yc4_onlinecalc` ( CREATE TABLE IF NOT EXISTS `shop_onlinecalc` (
`oc_id` int(11) NOT NULL AUTO_INCREMENT, `oc_id` int(11) NOT NULL AUTO_INCREMENT,
`oc_subject` varchar(255) NOT NULL DEFAULT '', `oc_subject` varchar(255) NOT NULL DEFAULT '',
`oc_category` text NOT NULL, `oc_category` text NOT NULL,
@ -495,11 +494,11 @@ CREATE TABLE IF NOT EXISTS `yc4_onlinecalc` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_order` -- Table structure for table `shop_order`
-- --
DROP TABLE IF EXISTS `yc4_order`; DROP TABLE IF EXISTS `shop_order`;
CREATE TABLE IF NOT EXISTS `yc4_order` ( CREATE TABLE IF NOT EXISTS `shop_order` (
`od_id` bigint(20) unsigned NOT NULL, `od_id` bigint(20) unsigned NOT NULL,
`uq_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL,
`mb_id` varchar(20) NOT NULL DEFAULT '', `mb_id` varchar(20) NOT NULL DEFAULT '',
@ -564,11 +563,11 @@ CREATE TABLE IF NOT EXISTS `yc4_order` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `yc4_wish` -- Table structure for table `shop_wish`
-- --
DROP TABLE IF EXISTS `yc4_wish`; DROP TABLE IF EXISTS `shop_wish`;
CREATE TABLE IF NOT EXISTS `yc4_wish` ( CREATE TABLE IF NOT EXISTS `shop_wish` (
`wi_id` int(11) NOT NULL AUTO_INCREMENT, `wi_id` int(11) NOT NULL AUTO_INCREMENT,
`mb_id` varchar(20) NOT NULL DEFAULT '', `mb_id` varchar(20) NOT NULL DEFAULT '',
`it_id` varchar(10) NOT NULL DEFAULT '0', `it_id` varchar(10) NOT NULL DEFAULT '0',