Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. $result2=mysqli_query($GLOBALS["___mysqli_ston"], $query2);
  2. $i=0;
  3. while ($a_row=mysqli_fetch_array($result2)) {
  4. $i++;
  5. $db_id=$a_row['id'];
  6. $link=$a_row['link'];
  7. $added_date=$a_row['added_date'];
  8. $added_by=$a_row['added_by'];
  9.  
  10. $alto = str_replace("/", '_', $link);
  11. $alto = str_replace("www", '', $alto);
  12. $alto = str_replace("http", '', $alto);
  13. $alto = str_replace("jpg", '', $alto);
  14. $alto = str_replace("com", '', $alto);
  15. $alto = str_replace("net", '', $alto);
  16. $alto = str_replace("info", '', $alto);
  17. $alto = str_replace(".com.np", '', $alto);
  18. $alto = str_replace("org", '', $alto);
  19. $alto = str_replace(".", '', $alto);
  20. $alto = str_replace(":_", '', $alto);
  21. $alto = str_replace("-", '_', $alto);
  22. $alto = preg_replace("/[^a-z-_]/",'',$alto);
  23. $alto = str_replace("__", '_', $alto);
  24. $alto=substr($alto, 1, -1);
  25.  
  26. $viewID=$db_id;
  27. $fasFuskUrl=fasFuskSEF($viewID);
  28.  
  29. print "<td style="font-family:arial; font-size:7pt; color:#ffffff; padding:6px;" onmouseover="this.className='block_download_2';" onmouseout="this.className='block_download_1';" class="block_download_1">
  30. <table border="0" cellpadding="0" cellspacing="0">
  31. <tr>
  32.  
  33. <td><a href="$fasFuskUrl" title="$alto"><img src="$common_path/fas_fusk/getthumb.php?width=157&img=";
  34.  
  35.  
  36. show_gallery_front_images($link);
  37.  
  38. print "" border="0" title="$alto"></td>
  39. </tr>
  40. <tr>
  41. <td><a href="$fasFuskUrl" class="block_download" title="$alto"><div style="margin-top:1px; text-decoration:none; background-color:#db787e; padding:4px; font-family:arial; font-size:7pt;" align="center">$added_date - ID: $db_id</div></a></td>
  42. </tr>
  43. </table>
  44. </td>";
  45.  
  46. if ($i%3==0) {
  47. print "</tr><tr>";
  48. }
  49.  
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement