CAMP part 1, registration, apply, new login screen, wide layout

This commit is contained in:
Ricsi
2017-06-08 18:35:09 +02:00
parent 7bd93e1730
commit f17adf4850
58 changed files with 4469 additions and 57 deletions

13
_ajax/get_camp_contact_data.php Executable file
View File

@@ -0,0 +1,13 @@
<?php
ini_set('include_path', '../_class/');
include('class_sql.php');
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('bc_mysql','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
//lekérjük a labda típusokat
$cc_assoc_array = $sql->assoc_array("SELECT * FROM camp_contact WHERE cc_id = " . $_POST['camp_contact_id']);
echo json_encode($cc_assoc_array);
?>