Пример #1
0
include "../php/User.php";
include "../php/Session.php";
include "../php/Marker.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_GENERAL, Constants::ADMIN_MENU_2_MARKER);
include "large_menu.php";
/*include("small_menu_start.php");*/
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM marker WHERE Id = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>marqueurs</h4>
                </div>
                    <div class="row">					
                        <table id="Marker" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Prénom</th><th>Nom de famille</th><th>Naissance</th>
                            </tr>
                            </thead>
Пример #2
0
include "../php/Session.php";
include "../php/Category.php";
include "../php/AwayTeam.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_TEAM, Constants::ADMIN_MENU_2_AWAY_TEAM);
include "large_menu.php";
/*include("small_menu_start.php");*/
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM away_team WHERE Id = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>équipes adversaires</h4>
                </div>
                    <div class="row">					
                        <table id="team" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Nom</th><th>Catégorie</th><th>Ville</th>
                            </tr>
                            </thead>
Пример #3
0
include "../php/User.php";
include "../php/Session.php";
include "../php/Referee.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_GENERAL, Constants::ADMIN_MENU_2_REFEREE);
include "large_menu.php";
/*include("small_menu_start.php");*/
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM referee WHERE Id = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>saisons</h4>
                </div>
                    <div class="row">					
                        <table id="referee" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Prénom</th><th>Nom de famille</th>
                            </tr>
                            </thead>
Пример #4
0
include "../php/User.php";
include "../php/Session.php";
include "../php/Season.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_GENERAL, Constants::ADMIN_MENU_2_SEASON);
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
include "large_menu.php";
/*include("small_menu_start.php");*/
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM season WHERE Year = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>saisons</h4>
                </div>
                    <div class="row">				
                        <table id="saison" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Année</th><th>Description</th><th>Courrante</th>
                            </tr>
                            </thead>
Пример #5
0
include "../php/Referee.php";
include "../php/Marker.php";
include "../php/Schedule.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_SCHEDULE, Constants::ADMIN_MENU_2_GAME);
include "large_menu.php";
/*include("small_menu_start.php");*/
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM schedule WHERE Id = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>horaire - match</h4>
                </div>
                    <div class="row">				
                        <table id="saison" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Date</th><th>Catégorie</th></th><th>Équipe pistoloise</th><th>Équipe adversaire</th>
                            </tr>
                            </thead>
Пример #6
0
include "../php/Season.php";
include "../php/HomeTeam.php";
include "../php/Practice.php";
LocalDef::setLevelMenu(Constants::ADMIN_MENU_1_SCHEDULE, Constants::ADMIN_MENU_2_PRACTICE);
include "large_menu.php";
/*include("small_menu_start.php");*/
$mySql = new MySql();
if (isset($_SESSION[Session::C_SESSION_USER])) {
    $session = new Session($_SESSION[Session::C_SESSION_USER], $_SESSION[Session::C_SESSION_PASS], $mySql);
}
if (!isset($session) or !$session->IsConnected()) {
    header('Location: index.php');
    exit;
}
if (isset($_GET["delete"])) {
    $mySql->execute("DELETE FROM practive WHERE Id = " . $_GET["delete"]);
}
?>
            <!-- MAIN SECTION -->
            <section class="main-section">
                <div class="small-12 columns">
                <div class="row">
                    <h4>horaire - pratique</h4>
                </div>
                    <div class="row">				
                        <table id="saison" width="100%">
                            <thead>
                            <tr>
                                <th>Action</th><th>Date</th><th>Équipe</th></th><th>Stade</th>
                            </tr>
                            </thead>