public static function upgradeCA(User $user) { global $conf; $cost = Upgrades::caCost($user); $what = 'calevel'; $delta = 1; $name = 'Covert Technology'; return Upgrades::upgrade($user, $name, $cost, $what, $delta); }
else { ?> <input type="submit" name="upgrade-da" value="<?php echo numecho(Upgrades::daCost($user)); ?> Gold" /> <? } ?> </td> </tr> <tr> <td>Covert Technology</td> <td><?php echo $user->calevel; ?> </td> <td><input type="submit" name="upgrade-ca" value="<?php echo numecho(Upgrades::caCost($user)); ?> Gold" /></td> </tr> <tr> <td>Retaliation Technology</td> <td><?php echo $user->ralevel; ?> </td> <td><input type="submit" name="upgrade-ra" value="<?php echo numecho(Upgrades::raCost($user)); ?> Gold" /></td> </tr> <tr>