Files
website/sources/backend/ajax.php
2021-01-23 23:11:19 +01:00

31 lines
591 B
PHP

<?php
#--------------------#
#----- by 4nima -----#
#----- v. 1.0.0 -----#
#-- coding@4nima.de -#
#--------------------#
session_start();
include_once('/volume1/web/sources/config.php');
switch ($_POST['side']) {
case 'netStatus':
include($ajaxPath.'network_status.php');
break;
case 'input':
include($ajaxPath.'db_input.php');
break;
case 'priview':
include($ajaxPath.'pokePriview.php');
break;
case 'dex':
include($ajaxPath.'pokeInsertDex.php');
break;
default:
# code...
break;
}