Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Cia del saskaitos

Parašė Buzys-· 2008 Geg. 5 00:05:58
#2

openside("Pinigų sistema");
<?php
?>
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();




Man atrodo, kad taip bus. :)

Redagavo Buzys-· 2008 Geg. 5 00:05:23