cms_special.detail.php 2.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php defined('InShopNC') or exit('Access Invalid!');?>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>">
  7. <title><?php echo $output['special_detail']['special_title']; ?></title>
  8. <meta name="keywords" content="<?php echo $output['special_detail']['special_title']; ?>" />
  9. <meta name="description" content="<?php echo $output['special_detail']['special_title']; ?>" />
  10. <style type="text/css">
  11. #body { color: #333333; background-color: <?php echo $output['special_detail']['special_background_color'];?>; background-image: url(<?php echo getCMSSpecialImageUrl($output['special_detail']['special_background']);?>); background-repeat: <?php echo $output['special_detail']['special_repeat'];?>; background-position: top center; width: 100%; padding: 0; margin: 0; overflow: hidden;}
  12. img { border: 0; vertical-align: top; }
  13. .cms-special-detail-content { width: 1000px; margin-top: <?php echo $output['special_detail']['special_margin_top']?>px; margin-right: auto; margin-bottom: 0; margin-left: auto; overflow: hidden;}
  14. .special-content-link, .special-hot-point { text-align: 0; display: block; width: 100%; float: left; clear: both; padding: 0; margin: 0; border: 0; overflow: hidden;}
  15. .special-content-goods-list { width: 1000px; margin: 0 auto; overflow: hidden;}
  16. .special-goods-list { background: #FFFFFF; width: 988px; padding: 0 2px 0 0; overflow: hidden;}
  17. .special-goods-list li { float: left; width: 160px; padding: 15px 30px; margin: 15px 13px 15px 12px; border: solid 1px #D8D8D8;}
  18. .special-goods-list dl { border: none; width: 160px; height: 60px; padding: 160px 0 0 0; position: relative; z-index: 1;}
  19. .special-goods-list dt.name { font-size: 12px; line-height: 18px; height: 36px; margin: 5px; overflow: hidden;}
  20. .special-goods-list dd.image { width: 160px; height: 160px; position: absolute; z-index: 1; top: 0; left: 0;}
  21. .special-goods-list dd.image a { text-align: center; vertical-align: middle; display: table-cell; width:160px; height: 160px; overflow: hidden;}
  22. .special-goods-list dd.image img { max-width: 160px; max-height: 160px; margin-top:expression(100-this.height/2);}
  23. .special-goods-list dd.price { color: #999;}
  24. .special-goods-list dd.price em { font-weight: 600; color: #F30;}
  25. </style>
  26. </head>
  27. <body>
  28. <div class="cms-special-detail-content"><?php echo html_entity_decode($output['special_detail']['special_content']);?></div>
  29. </body>
  30. </html>