anzhuang.php 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. $admin=intval($_GET[admin]);
  5. $id=intval($_GET[id]);
  6. if(empty($admin) || empty($id)){Audit_alert("来源错误!",weburl,"parent.");}
  7. if($admin==1){
  8. while0("*","yjcode_pro where id=".$id);if(!$row=mysql_fetch_array($res)){Audit_alert("来源错误!",weburl,"parent.");}
  9. $au="/product/view".$row[id].".html";
  10. $tit=$row[tit];
  11. }
  12. //举报E
  13. ?>
  14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml">
  16. <head>
  17. <meta http-equiv="x-ua-compatible" content="ie=7" />
  18. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  19. <title>安装服务详情</title>
  20. <link href="../css/basic.css" rel="stylesheet" type="text/css" />
  21. <style type="text/css">
  22. ul {
  23. list-style-type:none;
  24. margin:0;
  25. padding:0
  26. }
  27. li {
  28. list-style-type:none
  29. }
  30. a {
  31. color:#333;
  32. text-decoration:none;
  33. cursor:pointer
  34. }
  35. #windownbg{display:none;position:absolute;width:100%;height:100%;background:#000;top:0;left:0;}
  36. #windown-box{width:650px;position:fixed;border:5px solid #4CB3E7;background:#FFF;text-align:left;}
  37. #windown-title{position:relative;height:44px;border-bottom:1px solid #CCCCCC;overflow:hidden;background:#F5F5F5;}
  38. #windown-title h2{background: url(/img/qq_kf.png) no-repeat scroll -66px 2px transparent;color: #666666;font-size: 20px;font-weight: bold;height: 40px;left: 10px;line-height: 40px;padding-left: 0px;position: absolute;top: 5px;}
  39. #windown-title p{color: #666666;font-size: 15px;font-weight: bold;left: 198px;position: absolute;top: 17px;}
  40. #windown-close{background: url(/img/qq_kf.png) no-repeat scroll -106px -42px transparent;cursor: pointer;height: 12px;overflow: hidden;position: absolute;right: 10px;text-indent: -10em;top: 17px;width: 12px;}
  41. .ly_ins{float:left;width:600px;padding:15px;background:#fff}
  42. .ly_ins table{border-collapse:collapse;width:100%}
  43. .ly_ins .table1,.ly_ins td,.ly_ins th{border-bottom:1px solid #ddd;padding:0}
  44. .ly_ins .table1{border:1px solid #ddd}
  45. .ly_ins .table2{border:0}
  46. .ly_ins .table2 td{border-bottom:1px solid #f1f1f1;padding:10px 8px;color:#666}
  47. .ly_ins .table2 tr:last-child td:last-child{border-color:#fff}
  48. .ly_ins td.nm1{text-align:right;border-bottom:1px solid #f8f8f8;background:#f8f8f8;width:15%;color:#333;border-right:1px solid #f1f1f1}
  49. .ly_ins td.tyn{text-align:center;border-right:1px solid #ddd;font-weight:700;background:#f2f2f2;width:35px}
  50. .ly_ins span{float:left;}
  51. .ly_ins img{float:right;cursor:pointer}
  52. .ins_notes{float:left;padding:5px 0;font-size:13px;width:98%;border-top:#e1e1e1 solid 1px}
  53. .ins_notes li{float:left;line-height:25px}
  54. .ins_notes span{text-decoration:underline}
  55. .ins_notes b{padding-right:4px;color:#666;font-size:15px}
  56. .ins_notes h3{float:left;font-size:14px;background:url(../img/deng.png) 0 center no-repeat;padding-left:20px;font-weight:700;}
  57. .customer_div{float:left;width:300px;padding:15px;background:#f6f9ff}
  58. .customer_div p{float:left;width:100%;margin:0 0 10px 0}
  59. .customer_uqq{width:300px}
  60. .customer_uqq span{float:left;line-height:27px}
  61. .probq{float:left;border-left:#F5F4F4 solid 1px;border-top:#F5F4F4 solid 1px;font-size:12px;}
  62. .probq li{float:left;border-bottom:#F5F4F4 solid 1px;padding:3px 0 0 10px;height:25px;border-right:#F5F4F4 solid 1px;}
  63. .probq .l1{width:72px;background-color:#FDFDFD;}
  64. .probq .l2{width:93px;}
  65. </style>
  66. </head>
  67. <body>
  68. <div class="layui-layer-content">
  69. <div class="ly_ins">
  70. <table class="table1">
  71. <tbody><tr>
  72. <td class="tyn">商品<br>信息
  73. </td>
  74. <td>
  75. <table class="table2">
  76. <tbody><tr>
  77. <td class="nm1">商品名称</td>
  78. <td><span><a href="<?=$au?>" style="color:#247FBD" target="_blank"><?=$row[tit]?></a></span></td>
  79. </tr>
  80. </tbody>
  81. </table>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td class="tyn">运行<br>环境
  86. </td>
  87. <td>
  88. <ul class="probq">
  89. <?
  90. $a=preg_split("/xcf/",$row[tysx]);
  91. $sx1arr=array();
  92. $sxall="xcf";
  93. $m=0;
  94. for($i=0;$i<=count($a);$i++){
  95. $ai=$a[$i];
  96. if($ai!=""){
  97. if(!is_numeric($ai)){$z1=preg_split("/:/",$ai);$ai=$z1[0];}
  98. while1("*","yjcode_typesx where id=".$ai);if($row1=mysql_fetch_array($res1)){
  99. while2("*","yjcode_typesx where name1='".$row1[name1]."' and admin=1 and ifjd=1");if($row2=mysql_fetch_array($res2)){
  100. if(!in_array($row1[name1],$sx1arr)){$sx1arr[$m]=$row1[name1];$m++;}
  101. if(!is_numeric($a[$i])){$z1=preg_split("/:/",$a[$i]);$v=$z1[1];}else{$v=$row1[name2];}
  102. $sxall=$sxall.$row1[name1].":".$v."xcf";
  103. }
  104. }
  105. }
  106. }
  107. for($i=0;$i<count($sx1arr);$i++){
  108. ?>
  109. <li class="l1"><?=$sx1arr[$i]?>:</li><li class="l2"><? $b=preg_split("/xcf/",$sxall);for($j=0;$j<=count($b);$j++){if(check_in($sx1arr[$i],$b[$j])){echo str_replace($sx1arr[$i].":","",$b[$j])." ";}}?></li>
  110. <? }?>
  111. </ul>
  112. </tbody>
  113. </table>
  114. <div class="ins_notes">
  115. <h3>注意事项及说明:</h3>
  116. <li><b>1.</b>【安装服务】需收费时,可在购物车结算中,自行选择是否需要购买该服务;</li>
  117. <li><b>2.</b>【主机环境】非该商品仅支持的环境,而是卖家技术能力范围内可提供安装服务的环境;</li>
  118. <li><b>3.</b> 对于未购买安装服务的交易,可在交易中追加购买安装服务;</li>
  119. <li><b>4.</b> 免费或购买收费安装,而无法提供上述要求环境,即代表自愿放弃安装服务。</li>
  120. </div>
  121. </div>
  122. </div>
  123. </form>
  124. </body>
  125. </html>