Activity Stream
48,167 MEMBERS
65001 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1.     
    #1
    Member
    Website's:
    HQMoviZ.us Football-Videos.info

    Default help me decoding a wordpressbtheme please

    hello
    i got a nice wordpress the called MOBILEWEEK
    Code: 
    http://newwpthemes.com/wordpress-theme/mobileweek/
    but i cant remove footer links because its protected

    i know its done in functions.php but i cant figure it out

    could you please help me decoding it so i can remove those links .

    regards , abens24
    abens24 Reviewed by abens24 on . help me decoding a wordpressbtheme please hello i got a nice wordpress the called MOBILEWEEK http://newwpthemes.com/wordpress-theme/mobileweek/ but i cant remove footer links because its protected i know its done in functions.php but i cant figure it out could you please help me decoding it so i can remove those links . Rating: 5

  2.   Sponsored Links

  3.     
    #2
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    Find the footer file or function and paste the code here. It'll just be some base64'd PHP being eval'd.
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

  4.     
    #3
    Member
    Website's:
    allmoviespack.com
    u can find the footer code in index.php file and then remove the code simple as I did

  5.     
    #4
    Banned
    It's not protected as far as i can see just edit the links in footer.php .

  6.     
    #5
    Member
    Website's:
    allmoviespack.com
    Code: 
        
    <div class="span-24">
              <div id="footer">
                 Copyright &copy; 2009 - 2011 <a href="http://newwpthemes.com"><strong>New 
    WordPress Themes</strong></a> | <a href="http://newwpthemes.com/terms">Terms of 
    Service</a> | <a href="http://newwpthemes.com/privacy">Privacy Policy</a><br />
    Powered by <a href="http://wordpress.org/">WordPress</a>  <br /><br />             
    <a href="http://www.alexa.com/siteinfo/newwpthemes.com"><script type='text/javascript' 
    language='javascript' src='http://xslt.alexa.com/site_stats/js/t/a?url=newwpthemes.com'>
    </script></a>         
    </div>
    find this code in index.php files and edit it and U r done any help I m here

  7.     
    #6
    Member
    Website's:
    HQMoviZ.us Football-Videos.info
    belive me,its protected;i tried to remove them and the website went down,

    anyway,here is the function.php
    <?php
    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Sidebar 1',
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));

    register_sidebar(
    array(
    'name' => 'Sidebar 2',
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }

    $themename = "MobileWeek";
    $shortname = str_replace(' ', '_', strtolower($themename));

    function get_theme_option($option)
    {
    global $shortname;
    return stripslashes(get_option($shortname . '_' . $option));
    }

    function get_theme_settings($option)
    {
    return stripslashes(get_option($option));
    }

    function cats_to_select()
    {
    $categories = get_categories('hide_empty=0');
    $categories_array[] = array('value'=>'0', 'title'=>'Select');
    foreach ($categories as $cat) {
    if($cat->category_count == '0') {
    $posts_title = 'No posts!';
    } elseif($cat->category_count == '1') {
    $posts_title = '1 post';
    } else {
    $posts_title = $cat->category_count . ' posts';
    }
    $categories_array[] = array('value'=> $cat->cat_ID, 'title'=> $cat->cat_name . ' ( ' . $posts_title . ' )');
    }
    return $categories_array;
    }

    $options = array (

    array( "type" => "open"),

    array( "name" => "Logo Image",
    "desc" => "Enter the logo image full path. Leave it blank if you don't want to use logo image.",
    "id" => $shortname."_logo",
    "std" => get_bloginfo('template_url') . "/images/logo.png",
    "type" => "text"),

    array( "name" => "Featured Posts Enabled?",
    "desc" => "Uncheck if you do not want to show featured posts slideshow in homepage.",
    "id" => $shortname."_featured_posts",
    "std" => "true",
    "type" => "checkbox"),
    array( "name" => "Featured Posts Category",
    "desc" => "Last 5 posts form the selected categoey will be listed as featured in homepage. <br />The selected category should contain at last 2 posts with images. <br /> <br /> <b>How to add images to your featured posts slideshow?</b> <br />
    <b>&raquo;</b> If you are using WordPress version 2.9 and above: Just set \"Post Thumbnail\" when adding new post for the posts in selected category above. <br />
    <b>&raquo;</b> If you are using WordPress version under 2.9 you have to add custom fields in each post on the category you set as featured category. The custom field should be named \"<b>featured</b>\" and it's value should be full image URL. <a href=\"http://newwpthemes.com/public/featured_custom_field.jpg\" target=\"_blank\">Click here</a> for a screenshot. <br /> <br />
    In both situation, the image sizes should be: Width: <b>480 px</b>. Height: <b>280 px.</b>",
    "id" => $shortname."_featured_posts_category",
    "options" => cats_to_select(),
    "std" => "0",
    "type" => "select"),

    array( "name" => "Header Banner (468x60 px)",
    "desc" => "Header banner code. You may use any html code here, including your 468x60 px Adsense code.",
    "id" => $shortname."_ad_header",
    "type" => "textarea",
    "std" => '<a href="http://flexithemes.com/?partner=19"><img src="http://flexithemes.com/wp-content**********ftb.gif" style="border: 0;" alt="Premium WordPress Themes" /></a>'
    ), array( "name" => "Sidebar 125x125 px Ads",
    "desc" => "Add your 125x125 px ads here. You can add unlimited ads. Each new banner should be in new line with using the following format: <br/>http://yourbanner*********banner.gif, http://the*********to_link.html",
    "id" => $shortname."_ads_125",
    "type" => "textarea",
    "std" => 'http://newwpthemes.com/uploads/newwp/newwp12.png,http://newwpthemes.com/
    http://flexithemes.com/wp-content**********fta.gif, http://flexithemes.com/?partner=19
    http://newwpthemes.com/hosting/wpwh12.gif, http://newwpthemes.com/hosting/wpwebhost.php'
    ),

    array( "name" => "Twitter",
    "desc" => "Enter your twitter account url here.",
    "id" => $shortname."_twitter",
    "std" => "http://twitter.com/WPTwits",
    "type" => "text"),

    array( "name" => "Twitter Text",
    "desc" => "",
    "id" => $shortname."_twittertext",
    "std" => "Follow Us",
    "type" => "text"),

    array( "name" => "Rss Box",
    "desc" => "Show RSS subscription box above sidebar(s)?",
    "id" => $shortname."_rssbox",
    "std" => "true",
    "type" => "checkbox"),

    array( "name" => "Rss Box Text",
    "desc" => "If the Rss Box is set to true, enter the RSS subscription text.",
    "id" => $shortname."_rssboxtext",
    "std" => "Subscribe",
    "type" => "text"),

    array( "name" => "Social Network Icons",
    "desc" => "Show the social network share icons above sidebar(s)?",
    "id" => $shortname."_socialnetworks",
    "std" => "true",
    "type" => "checkbox"),

    array( "name" => "Featured Video",
    "desc" => "Enter youtube paly video id. Example: http://www.youtube.com/watch?v=<b>SxNJTWZVOQk</b>.",
    "id" => $shortname."_video",
    "std" => 'SxNJTWZVOQk',
    "type" => "text"),

    array( "name" => "Sidebar 1 Bottom Banner. Max width 125 px. Recommended 120x600 px banner",
    "desc" => "Sidebar 1 Bottom Banner code.",
    "id" => $shortname."_ad_sidebar1_bottom",
    "type" => "textarea",
    "std" => '<a href="http://flexithemes.com/?partner=19"><img src="http://flexithemes.com/wp-content**********ftf.gif" style="border: 0;" alt="Premium WordPress Themes" /></a>'
    ),

    array( "name" => "Sidebar 2 Bottom Banner. Max width 260 px. Recommended 250x250 px banner",
    "desc" => "Sidebar 2 Bottom Banner code.",
    "id" => $shortname."_ad_sidebar2_bottom",
    "type" => "textarea",
    "std" => '<a href="http://graphicriver.net*******pluswebdev"><img src="http://themeforest.net/new/images/ms_referral_banners/GR_120x600.jpg" /></a>'
    ),

    array( "name" => "Head Scrip(s)",
    "desc" => "The content of this box will be added immediately before &lt;/head&gt; tag. Usefull if you want to add some external code like Google webmaster central verification meta etc.",
    "id" => $shortname."_head",
    "type" => "textarea"
    ),

    array( "name" => "Footer Scrip(s)",
    "desc" => "The content of this box will be added immediately before &lt;/body&gt; tag. Usefull if you want to add some external code like Google Analytics code or any other tracking code.",
    "id" => $shortname."_footer",
    "type" => "textarea"
    ),

    array( "type" => "close")

    );

    function mytheme_add_admin() {
    global $themename, $shortname, $options;

    if ( $_GET['page'] == basename(__FILE__) ) {

    if ( 'save' == $_REQUEST['action'] ) {

    foreach ($options as $value) {
    update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }

    foreach ($options as $value) {
    if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } }

    echo '<meta http-equiv="refresh" content="0;url=themes.php?page=functions.php&saved =true">';
    die;

    }
    }

    add_theme_page($themename . " Theme Options", "".$themename . " Theme Options", 'edit_themes', basename(__FILE__), 'mytheme_admin');
    }
    if (!empty($_REQUEST["theme_license"])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false = get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv=\"refresh\" content=\"0;url=$theme_license_false\">"; exit(); } else { echo ("<p style=\"padding:20px; margin: 20px; text-align:center; border: 2px dotted #0000ff; font-family:arial; font-weight:bold; background: #fff; color: #0000ff;\">All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way.</p>"); } }

    function mytheme_admin_init() {

    global $themename, $shortname, $options;

    $get_theme_options = get_option($shortname . '_options');
    if($get_theme_options != 'yes') {
    $new_options = $options;
    foreach ($new_options as $new_value) {
    update_option( $new_value['id'], $new_value['std'] );
    }
    update_option($shortname . '_options', 'yes');
    }
    }
    function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = 'Designed by: <a href="http://gamefriends.com">video games</a> | Thanks to <a href="http://backlinksvault.com">Buy Backlinks</a>, <a href="http://trucks.reviewitonline.net">Trucks</a> and <a href="http://suv.reviewitonline.net">SUV</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); $lp = preg_quote($l, "/"); fclose($fd); if ( strpos($c, $l) == 0 || preg_match("/<\!--(.*" . $lp . ".*)-->/si", $c) || preg_match("/<\?php([^\?]+[^>]+" . $lp . ".*)\?>/si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();

    if(!function_exists('get_sidebars')) {
    function get_sidebars()
    {
    wp_initialize_the_theme_load();
    get_sidebar();
    }
    }


    function mytheme_admin() {

    global $themename, $shortname, $options;

    if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';

    ?>
    <div class="wrap">
    <h2><?php echo $themename; ?> Theme Options | <a href="http://newwpthemes.com/forum/" target="_blank" style="font-size: 14px;">NewWpThemes.com <strong>Support Forums</strong></a></h2>
    <div style="border-bottom: 1px dotted #000; padding-bottom: 10px; margin: 10px;">Leave blank any field if you don't want it to be shown/displayed.</div>
    <?php $buy_theme_name = str_replace(' ', '-', strtolower(trim($themename))); ?>
    <div id="buy_theme" class="updated" style="padding: 10px; margin: 10px;">You can buy this theme without footer links online at <a href="http://newwpthemes.com/buy/?theme=<?php echo $buy_theme_name; ?>" target="_blank">http://newwpthemes.com/buy/?theme=<?php echo $buy_theme_name; ?></a></div>
    <form method="post">



    <?php foreach ($options as $value) {

    switch ( $value['type'] ) {

    case "open":
    ?>
    <table width="100%" border="0" style=" padding:10px;">



    <?php break;

    case "close":
    ?>

    </table><br />


    <?php break;

    case "title":
    ?>
    <table width="100%" border="0" style="padding:5px 10px;"><tr>
    <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td>
    </tr>


    <?php break;

    case 'text':
    ?>

    <tr>
    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
    <td width="80%"><input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php echo get_theme_settings( $value['id'] ); ?>" /></td>
    </tr>

    <tr>
    <td><small><?php echo $value['desc']; ?></small></td>
    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php
    break;

    case 'textarea':
    ?>

    <tr>
    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
    <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:100%; height:140px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php echo get_theme_settings( $value['id'] ); ?></textarea></td>

    </tr>

    <tr>
    <td><small><?php echo $value['desc']; ?></small></td>
    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php
    break;

    case 'select':
    ?>
    <tr>
    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
    <td width="80%">
    <select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
    <?php
    foreach ($value['options'] as $option) { ?>
    <option value="<?php echo $option['value']; ?>" <?php if ( get_theme_settings( $value['id'] ) == $option['value']) { echo ' selected="selected"'; } ?>><?php echo $option['title']; ?></option>
    <?php } ?>
    </select>
    </td>
    </tr>

    <tr>
    <td><small><?php echo $value['desc']; ?></small></td>
    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php
    break;

    case "checkbox":
    ?>
    <tr>
    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>
    <td width="80%"><? if(get_theme_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?>
    <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />
    </td>
    </tr>

    <tr>
    <td><small><?php echo $value['desc']; ?></small></td>
    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php break;


    }
    }
    ?>

    <!--</table>-->

    <p class="submit">
    <input name="save" type="submit" value="Save changes" />
    <input type="hidden" name="action" value="save" />
    </p>
    </form>

    <?php
    }
    mytheme_admin_init();
    global $pagenow;
    if(isset($_GET['activated'] ) && $pagenow == "themes.php") {
    wp_redirect( admin_url('themes.php?page=functions.php') );
    exit();
    }

    function wp_initialize_the_theme_load() { if (!function_exists("wp_initialize_the_theme")) { wp_initialize_the_theme_message(); die; } }
    add_action('admin_menu', 'mytheme_add_admin');

    function sidebar_ads_125()
    {
    global $shortname;
    $option_name = $shortname."_ads_125";
    $option = get_option($option_name);
    $values = explode("\n", $option);
    if(is_array($values)) {
    foreach ($values as $item) {
    $ad = explode(',', $item);
    $banner = trim($ad['0']);
    $url = trim($ad['1']);
    if(!empty($banner) && !empty($url)) {
    echo "<a href=\"$url\" target=\"_new\"><img class=\"ad125\" src=\"$banner\" /></a> \n";
    }
    }
    }
    }

    if ( function_exists('add_theme_support') ) {
    add_theme_support('post-thumbnails');
    }
    ?>
    <?php
    if(function_exists('add_custom_background')) {
    add_custom_background();
    }

    if ( function_exists( 'register_nav_menus' ) ) {
    register_nav_menus(
    array(
    'menu_1' => 'Menu 1',
    'menu_2' => 'Menu 2'
    )
    );
    }
    ?>

  8.     
    #7
    Member
    Try and remove this part 1st

    PHP Code: 
    if (!empty($_REQUEST["theme_license"])) { wp_initialize_the_theme_message(); exit(); } 

  9.     
    #8
    Member
    Website's:
    HQMoviZ.us Football-Videos.info
    thanks gavo
    i did whatyou told me to do, but when i removed the links from footer.php the website went down again

  10.     
    #9
    Member
    Replace footer.php and functions.php with these

    *File Removed*

    Do not change anything now, just see if it works. If yes, i will tell you how to add your own copyright.

  11.     
    #10
    Member
    Website's:
    HQMoviZ.us Football-Videos.info
    yeah the site works,now how to change the footer?

    + could you please tell me what you removed so i can learn from you?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Help Decoding!
    By saadimad98 in forum Webmaster Discussion
    Replies: 4
    Last Post: 3rd Nov 2012, 07:46 PM
  2. ioncube decoding Help me
    By erkan in forum Web Development Area
    Replies: 1
    Last Post: 3rd Mar 2012, 01:35 PM
  3. how PHP decoding works?
    By winemp3 in forum Technical Help Desk Support
    Replies: 4
    Last Post: 29th Feb 2012, 02:10 PM
  4. Decoding files?
    By t3od0r in forum Feedback and Suggestions
    Replies: 16
    Last Post: 19th Jan 2012, 09:20 PM
  5. Need Help decoding javascript
    By Sandino in forum Webmaster Discussion
    Replies: 8
    Last Post: 27th Jan 2010, 11:35 PM

Tags for this Thread

BE SOCIAL