12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?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>
- </ul></td>
- </tr>
- </tbody>
- </table>
- <?php } ?>
- <div class="index_block home1">
- <?php if($item_edit_flag) { ?>
- <h3>模型版块布局A</h3>
- <?php } ?>
- <div class="title">
- <?php if($item_edit_flag) { ?>
- <h5>标题:</h5>
- <input id="home1_title" type="text" class="txt w200" name="item_data[title]" value="<?php echo $item_data['title'];?>">
- <?php } else { ?>
- <span><?php echo $item_data['title'];?></span>
- <?php } ?>
- </div>
- <div nctype="item_content" class="content">
- <?php if($item_edit_flag) { ?>
- <h5>内容:</h5>
- <?php } ?>
-
- <div nctype="item_image" class="item">
- <?php if(!empty($item_data['image'])) { ?>
- <img nctype="image" src="/Uploads/image/<?php echo $item_data['image'];?>" alt="">
- <?php }else { ?>
- <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
- <?php } ?>
-
-
-
-
- <?php if($item_edit_flag) { ?>
- <input nctype="image_name" name="item_data[image]" type="hidden" value="<?php echo $item_data['image'];?>">
- <input nctype="image_type" name="item_data[type]" type="hidden" value="<?php echo $item_data['type'];?>">
- <input nctype="image_data" name="item_data[data]" type="hidden" value="<?php echo $item_data['data'];?>">
- <a nctype="btn_edit_item_image" data-desc="640*260" href="javascript:;"><i class="icon-edit"></i>编辑</a>
- <?php } ?>
- </div>
-
- </div>
- </div>
|