123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php if($item_edit_flag) { ?>
- <table class="table tb-type2" id="prompt">
- <tbody>
- <tr class="space odd">
- <th colspan="12" class="nobg"> <div class="title nomargin">
- <h5>操作提示</h5>
- <span class="arrow"></span> </div>
- </th>
- </tr>
- <tr>
- <td><ul>
- <li>点击添加新的广告条按钮可以添加新的广告条</li>
- <li>鼠标移动到已有的广告条上点击出现的删除按钮可以删除对应的广告条</li>
- <li>操作完成后点击保存编辑按钮进行保存</li>
- </ul></td>
- </tr>
- </tbody>
- </table>
- <?php } ?>
- <div class="index_block adv_list">
- <?php if($item_edit_flag) { ?>
- <h3>广告条版块</h3>
- <?php } ?>
- <div nctype="item_content" class="content">
- <?php if($item_edit_flag) { ?>
- <h5>内容:</h5>
- <?php } ?>
- <?php if(!empty($item_data['item']) && is_array($item_data['item'])) {?>
- <?php foreach($item_data['item'] as $item_key => $item_value) {?>
-
- <?php if(!empty($item_value['image']) || $item_edit_flag) { ?>
- <div nctype="item_image" class="item"> <img nctype="image" src="/Uploads/image/<?php echo $item_value['image'];?>" alt="">
- <?php if($item_edit_flag) { ?>
- <input nctype="image_name" name="item_data[item][<?php echo $item_key;?>][image]" type="hidden" value="<?php echo $item_value['image'];?>">
- <input nctype="image_type" name="item_data[item][<?php echo $item_key;?>][type]" type="hidden" value="<?php echo $item_value['type'];?>">
- <input nctype="image_data" name="item_data[item][<?php echo $item_key;?>][data]" type="hidden" value="<?php echo $item_value['data'];?>">
- <a nctype="btn_del_item_image" href="javascript:;"><i class="icon-trash"></i>删除</a>
- <?php } ?>
- </div>
- <?php } ?>
-
- <?php } ?>
- <?php } ?>
- </div>
- <?php if($item_edit_flag) { ?>
- <a nctype="btn_add_item_image" class="btn-add" data-desc="640*240" href="javascript:;">添加新的广告条</a>
- <?php } ?>
- </div>
|