|
@@ -150,7 +150,7 @@ |
|
|
foreach($etypes as $arr)
|
|
|
foreach($etypes as $arr)
|
|
|
{
|
|
|
{
|
|
|
$stylecolor = '';
|
|
|
$stylecolor = '';
|
|
|
if ($arr['issystem']==1) $stylecolor = "style='color:#999'";
|
|
|
|
|
|
|
|
|
if ($arr['issystem']==1) $stylecolor = "class='text-black-50'";
|
|
|
if ($egroup==$arr['egroup']) {
|
|
|
if ($egroup==$arr['egroup']) {
|
|
|
$selgroup = $arr['itemname'];
|
|
|
$selgroup = $arr['itemname'];
|
|
|
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>";
|
|
|
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>";
|
|
@@ -181,21 +181,12 @@ |
|
|
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>";
|
|
|
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
//如果添加3级之类
|
|
|
|
|
|
|
|
|
//如果添加3级类別
|
|
|
if ($topvalue % 500 != 0) $arr['issign'] = 2;
|
|
|
if ($topvalue % 500 != 0) $arr['issign'] = 2;
|
|
|
?>
|
|
|
?>
|
|
|
<table class="table shadow-sm mb-3">
|
|
|
<table class="table shadow-sm mb-3">
|
|
|
<tr>
|
|
|
<tr>
|
|
|
<td colspan="8">
|
|
|
|
|
|
<span class="float-left"><?php echo $selgroup;?> - 子分类管理</span>
|
|
|
|
|
|
<span class="float-right">
|
|
|
|
|
|
<?php
|
|
|
|
|
|
if ($egroup=='nativeplace') {
|
|
|
|
|
|
echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认省市地区</a>";
|
|
|
|
|
|
}
|
|
|
|
|
|
?>
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
<td colspan="8"><?php echo $selgroup;?></td>
|
|
|
</tr>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<tr>
|
|
|
<td>
|
|
|
<td>
|
|
@@ -203,14 +194,13 @@ |
|
|
<input type="hidden" name="action" value="addenum_save">
|
|
|
<input type="hidden" name="action" value="addenum_save">
|
|
|
<input type="hidden" name="issign" value="<?php echo $arr['issign'];?>">
|
|
|
<input type="hidden" name="issign" value="<?php echo $arr['issign'];?>">
|
|
|
<input type="hidden" name="egroup" value="<?php echo $arr['egroup'];?>">
|
|
|
<input type="hidden" name="egroup" value="<?php echo $arr['egroup'];?>">
|
|
|
<span>所属分类:</span>
|
|
|
|
|
|
<select name="topvalue" onChange="ChangePage2(this);" class="admin-input-sm">
|
|
|
<select name="topvalue" onChange="ChangePage2(this);" class="admin-input-sm">
|
|
|
<option value="0"><?php echo $selgroup;?></option>
|
|
|
<option value="0"><?php echo $selgroup;?></option>
|
|
|
<?php echo $options;?>
|
|
|
<?php echo $options;?>
|
|
|
</select>
|
|
|
</select>
|
|
|
<span>分类名称:</span>
|
|
|
|
|
|
<input type="text" name="ename" class="admin-input-lg"></span>
|
|
|
|
|
|
|
|
|
<input type="text" name="ename" class="admin-input-lg" placeholder="请填分类名称">
|
|
|
<button type="submit" name="sb2" class="btn btn-success btn-sm">添加分类</button>
|
|
|
<button type="submit" name="sb2" class="btn btn-success btn-sm">添加分类</button>
|
|
|
|
|
|
<?php if ($egroup=='nativeplace') {echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认地区</a>";}?>
|
|
|
</form>
|
|
|
</form>
|
|
|
</td>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tr>
|
|
@@ -225,7 +215,7 @@ |
|
|
<input type="hidden" name="action" value="delenumAllSel">
|
|
|
<input type="hidden" name="action" value="delenumAllSel">
|
|
|
<table class="table">
|
|
|
<table class="table">
|
|
|
<tr>
|
|
|
<tr>
|
|
|
<td colspan="8"><a href="stepselect_main.php">联动类型管理</a> - <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a> - 子分类列表</td>
|
|
|
|
|
|
|
|
|
<td colspan="8"><a href="stepselect_main.php">联动类型管理</a> - <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a></td>
|
|
|
</tr>
|
|
|
</tr>
|
|
|
<tr align="center">
|
|
|
<tr align="center">
|
|
|
<td width="6%">选择</td>
|
|
|
<td width="6%">选择</td>
|
|
|