Parašė Buzys-· 2008 Geg. 5 13:05:28
#11
Bandyk.
openside("Pinigai");
?>php
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>";
?<
closeside();
Redagavo Buzys-· 2008 Geg. 5 13:05:45