Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 1.1.5.0
  8. * @ Author : DeZender
  9. * @ Release on : 09.06.2012
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function kullanici_profil_linki($id) {
  15. $permalink_yapi = get_option( 'permalink_structure' );
  16.  
  17. if ($permalink_yapi == '') {
  18. $kullanici_profil_linki_p = get_option( 'siteurl' ) . '/?author=' . $id;
  19. } else {
  20. $user_info = get_userdata( $id );
  21. $adi = str_replace( ' ', '-', $user_info->user_login );
  22. $pos = strpos( $permalink_yapi, 'index.php' );
  23.  
  24. if ($pos === FALSE) {
  25. $kullanici_profil_linki_p = get_option( 'siteurl' ) . '/author/' . $adi . '/';
  26. } else {
  27. $kullanici_profil_linki_p = get_option( 'siteurl' ) . '/index.php/author/' . $adi;
  28. }
  29. }
  30.  
  31. return $kullanici_profil_linki_p;
  32. }
  33.  
  34. function resim($w, $h) {
  35. global $post;
  36.  
  37. $boyut = 'boyut' . $w . 'x' . $h;
  38.  
  39. if (get_post_meta( $post->ID, 'resim', true ) != '') {
  40. $resim = get_post_meta( $post->ID, 'resim', true );
  41. echo ' <img src="';
  42. bloginfo( template_url );
  43. ................................................................
  44. ...........................
  45. ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement