Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2299 → Rev 2300

/web/acc/manager/htdocs/autoregistration.php
305,7 → 305,8
{
exec("sudo $script stop");
sleep(8);
header('Location: autoregistration.php');
header('Location: autoregistration.php');
exit();
}
}
 
462,6 → 463,7
header('Location: autoregistration.php');
exit();
}
 
if(isset($_GET["stop"])){
468,6 → 470,7
exec("sudo $script --stop");
sleep(8);
header('Location: autoregistration.php');
exit();
}
 
 
481,6 → 484,7
{
exec("sudo $script --replace_numero_alcasar ".escapeshellarg($num));
header('Location: autoregistration.php');
exit();
}
else
{
503,6 → 507,7
{
exec("sudo $script --replace_pin ".escapeshellarg($pin));
header('Location: autoregistration.php');
exit();
}
else
{
526,6 → 531,7
{
exec("sudo $script --replace_try_ban ".escapeshellarg($nb_ban_temp));
header('Location: autoregistration.php');
exit();
}
else
{
549,6 → 555,7
{
exec("sudo $script --replace_time_account ".escapeshellarg($time_account));
header('Location: autoregistration.php');
exit();
}
else
{
571,6 → 578,7
{
exec("sudo $script --replace_time_perm ".escapeshellarg($time_perm));
header('Location: autoregistration.php');
exit();
}
else
{
592,6 → 600,7
 
exec("sudo $script --unlock_num $numero");
header('Location: autoregistration.php');
exit();
}
 
# Edition etat pays
600,6 → 609,7
exec("sudo $script --change_country ".escapeshellarg($country));
exec("sudo $script --change_country_filter advance");
header('Location: autoregistration.php');
exit();
}
 
if(isset($_GET['b_france_enable'])){
607,6 → 617,7
exec("sudo $script --change_country France");
exec("sudo $script --change_country_filter fr");
header('Location: autoregistration.php');
exit();
}
 
if(isset($_GET['b_ue_enable'])){
618,6 → 629,7
exec("sudo $script --change_country_filter ue");
header('Location: autoregistration.php');
exit();
}
 
if(isset($_GET["b_country_enable"])){
624,11 → 636,13
exec("sudo $script --change_country_ena_all");
exec("sudo $script --change_country_filter all");
header('Location: autoregistration.php');
exit();
}
 
if(isset($_GET["b_country_disable"])){
exec("sudo $script --change_country_dis_all");
header('Location: autoregistration.php');
exit();
}