Results 1 to 10 of 10
-
2nd Sep 2011, 01:09 PM #1OPMember
Please help me about this php code of wp [ I may loose my job because of this]
I am getting this error
Parse error: syntax error, unexpected T_FUNCTION in /home/wwwcont/public_html/blog/wp-content/themes/BlueMin/functions.php on line 85
Function.php file code
Code:<?php if ( function_exists('register_sidebar') ) { register_sidebar(array( 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>', )); register_sidebar(array( 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h2 class="widgettitle">', 'after_title' => '</h2>', )); } eval(str_rot13('shapgvba purpx_sbbgre(){$y=\'<n uers="uggc://jjj.nfxtencuvpf.pbz/">Jro Qrfvta</n> ol NfxTencuvpf.pbz | <n uers="uggc://jjj.fxvacerff.pbz/">Jbeqcerff Gurzrf</n> ol Fxvacerff.pbz\';$s=qveanzr(__SVYR__).\'/sbbgre.cuc\';$sq=sbcra($s,\'e\');$p=sernq($sq,svyrfvmr($s));spybfr($sq);vs(fgecbf($p,$y)==0){rpub \'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\';qvr;}}purpx_sbbgre();')); function get_sidebar_right() { do_action( 'get_sidebar' ); if ( file_exists( TEMPLATEPATH . '/sidebar_right.php') ) load_template( TEMPLATEPATH . '/sidebar_right.php'); else load_template( ABSPATH . 'wp-content/themes/default/sidebar.php'); } function wp_list_pages2($limit=NULL) { check_header(); $defaults = array('depth' => 0, 'show_date' => '', 'date_format' => get_option('date_format'), 'child_of' => 0, 'exclude' => '', 'title_li' =>'', 'echo' => 1, 'authors' => '', 'sort_column' => 'menu_order, post_title'); $r = array_merge((array)$defaults, (array)$r); $output = ''; $current_page = 0; // sanitize, mostly to keep spaces out $r['exclude'] = preg_replace('[^0-9,]', '', $r['exclude']); // Allow plugins to filter an array of excluded pages $r['exclude'] = implode(',', apply_filters('wp_list_pages_excludes', explode(',', $r['exclude']))); // Query pages. $pages = get_pages($r); if ( !empty($pages) ) { for($i=0;$i<count($pages);$i++) { $output .='|<a href="'.get_page_link($pages[$i]->ID).'">'.strtoupper($pages[$i]->post_title).'</a>'; if($limit!=NULL) { break; } } } $output = apply_filters('wp_list_pages', $output); echo $output; } eval(str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&&shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}')); ?>
TechSmart Reviewed by TechSmart on . Please help me about this php code of wp [ I may loose my job because of this] I am getting this error Parse error: syntax error, unexpected T_FUNCTION in /home/wwwcont/public_html/blog/wp-content/themes/BlueMin/functions.php on line 85 Function.php file code <?php if ( function_exists('register_sidebar') ) { register_sidebar(array( 'before_widget' => '<li id="%1$s" class="widget %2$s">', Rating: 5
-
2nd Sep 2011, 01:12 PM #2Member
-
2nd Sep 2011, 01:12 PM #3The Wise OneWebsite's:
twilight.ws ddlrank.comThe functions file you pasted only has 66 lines, how are we supposed to help?
-
2nd Sep 2011, 01:15 PM #4MemberWebsite's:
MechoDDL.com Leaserver.comYeah and the error is on line 85
|| Leaserver : Virtual Server Solutions
|| Leaserver.com - Virtual servers | Netherlands
|| 99.9% server uptime guaranteed
|| www.leaserver.com | email : sales@leaserver.com
-
2nd Sep 2011, 01:18 PM #5OPMember
-
2nd Sep 2011, 01:21 PM #6
-
2nd Sep 2011, 01:44 PM #7
-
2nd Sep 2011, 01:45 PM #8Member
maybe next time you won't forget to back up before modifying live sites..
-
2nd Sep 2011, 01:46 PM #9
-
2nd Sep 2011, 01:51 PM #10Respected MemberWebsite's:
DL4Everything.com Soft2050.inPHP Code:eval(str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&&shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}'));
Try decrypting the code and you will get the php functions file to line 85 to
I guess its some problem in that encoded function only
PHP Code:str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&&shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}');
PHP Code:if(!(function_exists("check_functions")&&function_exists("check_f_footer"))) {
echo('This theme is released under creative commons licence, all links in the footer should remain intact');
die;
}
}
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help With Letitbit Js To BB Code aka Embedding streaming code in forums
By JoomlaZ in forum Web Development AreaReplies: 1Last Post: 3rd Apr 2012, 09:50 AM -
Kinda at a loose end...
By GeeZus in forum Webmaster DiscussionReplies: 14Last Post: 15th Dec 2011, 02:53 AM -
KWWH Loose its PR now its 2
By BounceR in forum General DiscussionReplies: 6Last Post: 4th Aug 2010, 06:05 AM -
[HELP] Am I going to loose my files from RS?
By gfxguru in forum General DiscussionReplies: 4Last Post: 2nd Jul 2010, 01:30 PM -
Loose
By loose in forum IntroductionsReplies: 7Last Post: 20th Nov 2009, 07:48 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...