tpread.php 602 B

123456789101112131415161718
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. AdminSes_audit();
  5. while1("*","yjcode_tp where bh='".$_GET[bh]."' order by xh asc");while($row1=mysql_fetch_array($res1)){
  6. if(empty($row1[upty])){
  7. $tp1="../".$row1[tp];
  8. $tp2="../".str_replace(".","-1.",$row1[tp]);
  9. }else{
  10. $tp1=$row1[tp];
  11. $tp2=returnnotp($row1[tp],"-1");
  12. }
  13. ?>
  14. <div class="d1">
  15. <a href="<?=$tp1?>" class="a1" target="_blank"><img class="img" border="0" src="<?=$tp2?>" /></a>
  16. <a href="javascript:void(0);" class="a2" onClick="deltp('<?=$row1[id]?>')"><img src="img/delbtn.png" /></a>
  17. </div>
  18. <? }?>