mb_special_item.module_home4.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?php if($item_edit_flag) { ?>
  2. <table class="table tb-type2" id="prompt">
  3. <tbody>
  4. <tr class="space odd">
  5. <th colspan="12" class="nobg"> <div class="title nomargin">
  6. <h5>操作提示</h5>
  7. <span class="arrow"></span> </div>
  8. </th>
  9. </tr>
  10. <tr>
  11. <td><ul>
  12. <li>鼠标移动到内容上出现编辑按钮可以对内容进行修改</li>
  13. <li>操作完成后点击保存编辑按钮进行保存</li>
  14. </ul></td>
  15. </tr>
  16. </tbody>
  17. </table>
  18. <?php } ?>
  19. <div class="index_block home2">
  20. <?php if($item_edit_flag) { ?>
  21. <h3>模型版块布局D</h3>
  22. <?php } ?>
  23. <div class="title">
  24. <?php if($item_edit_flag) { ?>
  25. <h5>标题:</h5>
  26. <input id="home1_title" type="text" class="txt w200" name="item_data[title]" value="<?php echo $item_data['title'];?>">
  27. <?php } else { ?>
  28. <span><?php echo $item_data['title'];?></span>
  29. <?php } ?>
  30. </div>
  31. <div class="content">
  32. <?php if($item_edit_flag) { ?>
  33. <h5>内容:</h5>
  34. <?php } ?>
  35. <div class="home2_2">
  36. <div class="home2_2_1">
  37. <div nctype="item_image" class="item">
  38. <?php if(!empty($item_data['rectangle1_image'])) { ?>
  39. <img nctype="image" src="/Uploads/image/<?php echo $item_data['rectangle1_image'];?>" alt="">
  40. <?php }else{ ?>
  41. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  42. <?php } ?>
  43. <?php if($item_edit_flag) { ?>
  44. <input nctype="image_name" name="item_data[rectangle1_image]" type="hidden" value="<?php echo $item_data['rectangle1_image'];?>">
  45. <input nctype="image_type" name="item_data[rectangle1_type]" type="hidden" value="<?php echo $item_data['rectangle1_type'];?>">
  46. <input nctype="image_data" name="item_data[rectangle1_data]" type="hidden" value="<?php echo $item_data['rectangle1_data'];?>">
  47. <a nctype="btn_edit_item_image" data-desc="320*130" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  48. <?php } ?>
  49. </div>
  50. <div class="home2_2_2">
  51. <div nctype="item_image" class="item">
  52. <?php if(!empty($item_data['rectangle2_image'])) { ?>
  53. <img nctype="image" src="/Uploads/image/<?php echo $item_data['rectangle2_image'];?>" alt="">
  54. <?php }else{ ?>
  55. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  56. <?php } ?>
  57. <?php if($item_edit_flag) { ?>
  58. <input nctype="image_name" name="item_data[rectangle2_image]" type="hidden" value="<?php echo $item_data['rectangle2_image'];?>">
  59. <input nctype="image_type" name="item_data[rectangle2_type]" type="hidden" value="<?php echo $item_data['rectangle2_type'];?>">
  60. <input nctype="image_data" name="item_data[rectangle2_data]" type="hidden" value="<?php echo $item_data['rectangle2_data'];?>">
  61. <a nctype="btn_edit_item_image" data-desc="320*130" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  62. <?php } ?>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="home2_1">
  68. <div nctype="item_image" class="item">
  69. <?php if(!empty($item_data['square_image'])) { ?>
  70. <img nctype="image" src="/Uploads/image/<?php echo $item_data['square_image'];?>" alt="">
  71. <?php }else{ ?>
  72. <img nctype="image" src="__PUBLIC__/image/default_goods_image_240.gif" alt="">
  73. <?php } ?>
  74. <?php if($item_edit_flag) { ?>
  75. <input nctype="image_name" name="item_data[square_image]" type="hidden" value="<?php echo $item_data['square_image'];?>">
  76. <input nctype="image_type" name="item_data[square_type]" type="hidden" value="<?php echo $item_data['square_type'];?>">
  77. <input nctype="image_data" name="item_data[square_data]" type="hidden" value="<?php echo $item_data['square_data'];?>">
  78. <a nctype="btn_edit_item_image" data-desc="320*260" href="javascript:;"><i class="icon-edit"></i>编辑</a>
  79. <?php } ?>
  80. </div>
  81. </div>
  82. </div>
  83. </div>