} ?> > <option value="0">根目录</option> <?php foreach ((array) $this->_vars['list'] as $this->_vars['item']) { ?> <option <?php if ($this->_vars['item']['node_id'] == $this->_vars['node']['p_node_id']) { ?> selected="selected"<?php } ?> value="<?php echo $this->_vars['item']['node_id']; ?> " ><?php echo tpl_modifier_paddingleft($this->_vars['item']['title'], $this->_vars['item']['depth'] * 4 + 4, ' '); ?> </option> <?php } ?> </select> </td> </tr> <tr> <th>名称</th> <td><?php echo tpl_input_default(array('type' => "text", 'value' => $this->_vars['node']['title'], 'name' => "title"), $this); ?> </td> </tr> <tr> <th>显示在菜单上</th> <td><input type="checkbox" name="display" value="1" <?php if ($this->_vars['node']['hidden'] != "true") { ?> checked="checked"<?php } ?> ></td> </tr> <?php if ($this->_vars['node']['node_type'] == 'custompage') {
echo $this->_vars['cat']['cat_id']; ?> " depth="<?php echo $this->_vars['cat']['step']; ?> " type_id="<?php echo $this->_vars['cat']['type']; ?> " <?php if ($this->_vars['cat']['cat_id'] == $this->_vars['goods']['cat_id']) { ?> selected<?php } ?> > <?php echo tpl_modifier_paddingleft($this->_vars['space'], $this->_vars['cat']['step'], ' '); echo $this->_vars['cat']['cat_name']; ?> </option> <?php } ?> </select></td> <td rowspan="10" style="width:300px;"><div class="goods-pic-area division" id="action-pic-bar"> <div class="action-bar clearfix"> <?php echo tpl_function_uploader(array('button_text' => "上传新图片"), $this); ?> <div class="span-4 last" style="*padding:5px 0;"><input type="checkbox" id="pic-up-btn" style="vertical-align:middle;" onclick="$('imageuparea').toggleDisplay();$('udfimg').value = ($('udfimg').value=='false')?'true':'false'" <?php if ($this->_vars['goods']['udfimg'] == 'true') { ?> checked="checked"<?php } ?> /> <label for="pic-up-btn" style="color:#000;"><span><span><img src="images/transparent.gif" class="imgbundle icon" style="width:15px;height:16px;background-position:0 -133px;" />商品列表页图片设置</span></span></label> </div> <!-- <button class="btn" type="button" onclick="$('imageuparea').toggleDisplay();$('udfimg').value = ($('udfimg').value=='false')?'true':'false'"><span><span><img src="images/transparent.gif" class="imgbundle icon" style="width:15px;height:16px;background-position:0 -133px;" />商品列表页图片设置</span></span></button> --> </div> <div class="pic-area"><?php