Parašė forumietis· 2008 Geg. 14 20:05:07
#3
Nena vo ka raso
Parse error: syntax error, unexpected T_STRING in /usr/home/www/ftp/Ginzaza/administration/panel_editor.php(111) : eval()'d code on line 12
Cia padariau taip kaip sakete
openside("name");
include INFUSIONS."pinigu_sistema/includes/lang_functions.php";
function showmessage($message){
global $lang_functions;
opentable($lang_functions[0]);
echo "<center><b>".$message."</b></center>";
closetable();
}
function showmoney($userdatas, $type){
global $lang_functions, $db_prefix, $userdata;
$pinigai = dbarray(dbquery("SELECT * FROM ".$db_prefix."money_users WHERE userid = '".$userdatas."'"merkia akį);
if($type == 0){
return $pinigai['pinigai'];
}else if($type == 1){
return $pinigai['pinigai']/100;
}else if($type == 2){
opentable($lang_functions['1']);
$pinigai[pinigailt] = $pinigai[pinigai]/100;
$goldsettings = dbarray(dbquery("SELECT * FROM ".$db_prefix."money_settings"merkia akį);
echo "<center>".$lang_functions[2]." ".$userdata[user_name].$lang_functions[4]." ".$lang_functions[3]." ".$pinigai[pinigailt]." ".$goldsettings[valiuta]."</center>";
closetable();
}
}
closeside();
Redagavo forumietis· 2008 Geg. 14 21:05:57