map.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. ?>
  5. <html>
  6. <head>
  7. <meta http-equiv="x-ua-compatible" content="ie=7" />
  8. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  9. <title>网站地图 - <?=webname?></title>
  10. <? include("../tem/cssjs.html");?>
  11. </head>
  12. <body>
  13. <? include("../tem/top.html");?>
  14. <? include("../tem/top1.html");?>
  15. <div class="bfb mapbg">
  16. <div class="yjcode">
  17. <div class="dqwz">
  18. <ul class="u1">
  19. 您当前的位置:<a href="../">首页</a> <span>>></span>
  20. 网站地图
  21. </ul>
  22. </div>
  23. <div class="left">
  24. <div class="aboutmenu">
  25. <a href="aboutview2.html">关于我们<span> ></span></a>
  26. <a href="aboutview3.html">广告合作<span> ></span></a>
  27. <a href="aboutview4.html">联系我们<span> ></span></a>
  28. <a href="aboutview5.html">隐私条款<span> ></span></a>
  29. <a href="aboutview6.html">免责声明<span> ></span></a>
  30. <a href="map.php" class="a0">网站地图<span> ></span></a>
  31. </div>
  32. </div>
  33. <div class="right">
  34. <div class="mapmain">
  35. <div class="dcap">网站导航菜单</div>
  36. <div class="dtit">
  37. <a href="<?=weburl?>">网站首页</a>
  38. <? while1("*","yjcode_ad where adbh='ADI02' and type1='文字' order by xh asc");while($row1=mysql_fetch_array($res1)){?>
  39. <a href="<?=$row1[aurl]?>" target="_blank"><?=$row1[tit]?></a>
  40. <? }?>
  41. </div>
  42. <div class="dcap">网站商品分类</div>
  43. <? while1("*","yjcode_type where admin=1 order by xh asc");while($row1=mysql_fetch_array($res1)){?>
  44. <div class="dlist">
  45. <div class="d1"><a href="<?=weburl?>product/search_j<?=$row1[id]?>v.html" target="_blank"><?=$row1[type1]?></a>:</div>
  46. <div class="d2">
  47. <? while2("*","yjcode_type where type1='".$row1[type1]."' and admin=2 order by xh asc");while($row2=mysql_fetch_array($res2)){?>
  48. <a href="<?=weburl?>product/search_j<?=$row1[id]?>v_k<?=$row2[id]?>v.html" target="_blank"><?=$row2[type2]?></a>
  49. <? }?>
  50. <a href="<?=weburl?>product/search_j<?=$row1[id]?>v.html" target="_blank">【共 <strong><?=returncount("yjcode_pro where ty1id=".$row1[id]." and zt=0 and ifxj=0")?></strong> 件商品】</a>
  51. </div>
  52. </div>
  53. <?
  54. $si=0;
  55. $sbarr=array();
  56. while2("*","yjcode_typesx where admin=1 and typeid=".$row1[id]." and ifsel=1 order by xh asc");while($row2=mysql_fetch_array($res2)){
  57. $ev="e".$row2[id]."_";
  58. $sbarr[$si]=$ev;
  59. ?>
  60. <div class="dlist">
  61. <div class="d1"><?=$row2[name1]?>:</div>
  62. <div class="d2">
  63. <? while3("*","yjcode_typesx where admin=2 and name1='".$row2[name1]."' and typeid=".$row2[typeid]." order by xh asc");while($row3=mysql_fetch_array($res3)){?>
  64. <a href="<?=weburl?>product/search_j<?=$row1[id]?>v_<?=$ev.$row3[id]?>v.html" target="_blank"><?=$row3[name2]?></a>
  65. <? }?>
  66. </div>
  67. </div>
  68. <? $si++;}?>
  69. <div class="xu"></div>
  70. <? }?>
  71. <div class="dcap">资讯分类栏目</div>
  72. <div class="dtit">
  73. <? while1("*","yjcode_newstype where admin=1 order by xh asc");while($row1=mysql_fetch_array($res1)){?>
  74. <a href="../news/newslist_j<?=$row1[id]?>v.html" target="_blank"><?=$row1[name1]?></a>
  75. <? }?>
  76. </div>
  77. <? if(empty($rowcontrol["iftask"])){?>
  78. <div class="dcap">任务大厅导航</div>
  79. <div class="dtit">
  80. <? while1("*","yjcode_tasktype where admin=1 order by xh asc");while($row1=mysql_fetch_array($res1)){?>
  81. <a href="../task/search_j<?=$row1[id]?>v.html" target="_blank"><?=$row1[name1]?></a>
  82. <? }?>
  83. </div>
  84. <? }?>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. <? include("../tem/bottom.html");?>
  90. </body>
  91. </html>