- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
if(file_exists("uploads/".$row['id'].".png")){
$urlimg="cursor: pointer;background-image: url('/uploads/".$row['id'].".png');background-size: 250px;";
}else{
$urlimg="cursor: pointer;background-image: url('newimg/?{$row['url']}');";
}
$write .= '
<div class="thumb" style="'.$urlimg.'" onclick="location.href=\'/page/'.$row['id'].'/\'"></div>
';
guest 12.02.2016 15:37 # −1
guest 26.02.2016 03:43 # 0