protp.php 583 B

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