Results 1 to 10 of 10
Threaded View
-
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
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.56 released. Open older version (or...