Sparko 0 Odesláno: 3. Září, 2012 Share Odesláno: 3. Září, 2012 Čawte dal som si na web new themesku a v novinkách mi naskočil tento error Notice: Undefined index: user_status in /home/users/sparko6/******/web/includes/theme_functions_include.php on line 115 Riadok 100-120 } } $res .= "\n"; return $res; } } function showsubdate() { global $settings; return ucwords(showdate($settings['subheaderdate'], time())); } function newsposter($info, $sep = "", $class = "") { global $locale; $res = ""; $link_class = $class ? " class='$class' " : ""; $res = THEME_BULLET." ".profile_link($info['user_id'], $info['user_name'], $info['user_status'])." "; $res .= $locale['global_071'].showdate("newsdate", $info['news_date']); $res .= $info['news_ext'] == "y" || $info['news_allow_comments'] ? $sep."\n" : "\n"; return "".$res; } Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 5. Září, 2012 Share Odesláno: 5. Září, 2012 "user_name" v $info neexistuje. Link to comment Share on other sites More sharing options...
0 Sparko 0 Odesláno: 5. Září, 2012 Author Share Odesláno: 5. Září, 2012 A ako to opraviť ja som v PHP jeleň = / Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 20. Září, 2012 Administrátor Share Odesláno: 20. Září, 2012 $info['user_status'] změn na @$info['user_status'] Link to comment Share on other sites More sharing options...
0 Sparko 0 Odesláno: 20. Září, 2012 Author Share Odesláno: 20. Září, 2012 Za pomoc ďakujem Ewwe-mu Môžte dať lock nemôžem to nejako zamknúť neukazuje mi to tu Link to comment Share on other sites More sharing options...
Dotaz
Sparko 0
Čawte dal som si na web new themesku a v novinkách mi naskočil tento error
Riadok 100-120
}
}
$res .= "\n";
return $res;
}
}
function showsubdate() {
global $settings;
return ucwords(showdate($settings['subheaderdate'], time()));
}
function newsposter($info, $sep = "", $class = "") {
global $locale; $res = "";
$link_class = $class ? " class='$class' " : "";
$res = THEME_BULLET." ".profile_link($info['user_id'], $info['user_name'], $info['user_status'])." ";
$res .= $locale['global_071'].showdate("newsdate", $info['news_date']);
$res .= $info['news_ext'] == "y" || $info['news_allow_comments'] ? $sep."\n" : "\n";
return "".$res;
}
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now