Add: send mail - maestro upgrade
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
function get_max_player_count($accountType) {
|
||||
switch($accountType) {
|
||||
function get_max_player_count($account_type) {
|
||||
switch($account_type) {
|
||||
case 0:
|
||||
case 1:
|
||||
case 100:
|
||||
@@ -20,25 +20,46 @@ function get_max_player_count($accountType) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
function get_price($accountType) {
|
||||
switch($accountType) {
|
||||
function get_price($account_type) {
|
||||
switch($account_type) {
|
||||
case 1:
|
||||
return "10,000";
|
||||
return 10000;
|
||||
|
||||
case 2:
|
||||
return "20,000";
|
||||
return 20000;
|
||||
|
||||
case 3:
|
||||
return "30,000";
|
||||
return 30000;
|
||||
|
||||
case 4:
|
||||
return "40,000";
|
||||
return 40000;
|
||||
|
||||
case 5:
|
||||
return "50,000";
|
||||
return 50000;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
function get_accout_type($account_type) {
|
||||
switch($account_type) {
|
||||
case 1:
|
||||
return "20명 (1만원)";
|
||||
|
||||
case 2:
|
||||
return "50명 (2만원)";
|
||||
|
||||
case 3:
|
||||
return "100명 (3만원)";
|
||||
|
||||
case 4:
|
||||
return "500명 (4만원)";
|
||||
|
||||
case 5:
|
||||
return "1,000명 (5만원)";
|
||||
}
|
||||
|
||||
return $account_type."? (N/A)";
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user