Guest User

Untitled

a guest
Feb 19th, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (file_exists(TEMPLATEPATH . '/lisans.php')) {
  15. require 'lisans.php';
  16. $lisans['site'] = getenv('HTTP_HOST');
  17.  
  18. if (substr($lisans['site'], 0, 4) == 'www.') {
  19. $lisans['site'] = substr($lisans['site'], 4);
  20. }
  21.  
  22. $lisans['hash'] = wordwrap(strtoupper(md5(base64_encode(sha1(md5(crc32(md5(sha1($lisans['site'])))))))), 4, '-', true);
  23.  
  24. if ($lisans['hash'] !== $lisans_anahtar) {
  25. exit('Lisans anahtarınız bu site için geçerli değildir.');
  26. }
  27. else {
  28. unset($lisans);
  29. }
  30.  
  31. function register_my_menus()
  32. {
  33. register_nav_menus(['header-nav' => __('DiziPlus Header Menüsü')]);
  34. }
  35.  
  36. function diziplus_meta($isim, $alan, $sonra)
  37. {
  38. global $post;
  39. $ozel = get_post_meta($post->ID, '' . $alan . '', true);
  40.  
  41. if ($ozel != '') {
  42. echo '<p><span>' . $isim . '</span>: ' . $ozel . '</p>';
  43. }
  44. else {
  45. echo '' . $sonra . '';
  46. }
  47. }
  48.  
  49. function diziplus_resim($uzunluk, $genislik, $hasresim)
  50. {
  51. global $post;
  52. $resim = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), '' . $hasresim . '');
  53. $resmim = get_post_meta($post->ID, 'resim', true);
  54. $resim_bul = diziplus_resim_bulucu();
  55.  
  56. if (has_post_thumbnail()) {
  57. echo '<img src="' . $resim[0] . '" alt="' . get_the_title($post->ID) . '" height="' . $uzunluk . '" width="' . $genislik . '" />';
  58. }
  59. else if ($resmim != '') {
  60. echo '<img src="' . $resmim . '" alt="' . get_the_title($post->ID) . '" height="' . $uzunluk . '" width="' . $genislik . '" />';
  61. }
  62. else {
  63. echo '<img src="' . $resim_bul . '" alt="' . get_the_title($post->ID) . '" height="' . $uzunluk . '" width="' . $genislik . '" />';
  64. }
  65. }
  66.  
  67. function diziplus_zaman($type = 'post')
  68. {
  69. $d = ('comment' == $type ? 'get_comment_time' : 'get_post_time');
  70. .............................................................................
  71. .......................................................
  72. .........................
Add Comment
Please, Sign In to add comment