14 lines
305 B
PHP
14 lines
305 B
PHP
|
<?php
|
||
|
require "common.php";
|
||
|
|
||
|
echo "--- Regular To Ultimate ---\n\n";
|
||
|
|
||
|
for($i = 0; $i < $argv[2]; $i++)
|
||
|
{
|
||
|
$key = generateKey(31);
|
||
|
$db->query("INSERT INTO `upgrades` (`key`, `privilege_from`, `privilege_to`, `note`) VALUES (?, 2, 3, ?)", "ss", $key, $argv[1]);
|
||
|
echo "Stand-Upgrade-$key\n";
|
||
|
}
|
||
|
|
||
|
echo "\n";
|