inital template
This commit is contained in:
31
sources/backend/ajax.php
Normal file
31
sources/backend/ajax.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user