Esempio n. 1
0
#//
#// Main file League System
#// defines basic layout of interface
# // called by every other LS file ...
# // include("ls_main.php");
#include('header.php');	# // -> require_once("mainfile.php"); --> require_once("config.php");
include 'lsdb_layout.php';
# // -> require_once("mainfile.php"); --> require_once("config.php");
require "func_lsdb.php";
require "func_mail.php";
require "lsdbcontroller.php";
require "api_rs.php";
// Backend DB API
require "api_format.php";
// Backend  API
# // make sure we have the actual configuration loaded
if (isset($_REQUEST['eventid']) && intval($_REQUEST['eventid']) > 0) {
    $event_id = strip_tags($_REQUEST['eventid']);
} else {
    $event_id = 0;
}
if ($event_id > 0) {
    $event = reteventconfig($event_id);
}
# // layout
LS_page_start('ls');
// common layout within the MAIN TD
echo '<div style="height:5px">&nbsp;</div>';
echo '<h3 id="pagetitle"></h3>';
echo '<div id="pagetabs"></div>';
echo '<div id="maincontent">';
Esempio n. 2
0
<?php

#//
#// Main file Statistics System Administration
#// defines basic layout of interface
# // called by every other stats file ...
# // include("stats_main.php");
#include('header.php');	# // -> require_once("mainfile.php"); --> require_once("config.php");
include 'lsdb_layout.php';
# // -> require_once("mainfile.php"); --> require_once("config.php");
require "func_lsdb.php";
require "lsdbcontroller.php";
require "api_rs.php";
// Backend DB API
require "api_format.php";
// Backend  API
# // layout
LS_page_start('stats');
# // make sure we have the actual configuration loaded
# if(isset($eventid)) $event=reteventconfig($eventid);
// common layout within the MAIN TD
echo '<div style="height:5px">&nbsp;</div>';
echo '<h3 id="pagetitle"></h3>';
echo '<div id="pagetabs"></div>';
echo '<div id="maincontent">';
Esempio n. 3
0
    $delete_update_result = sql_query($sql, $dbi);
    $sql = 'DELETE from ttypeliga WHERE id = ' . $event_id;
    $delete_update_result = sql_query($sql, $dbi);
    echo 'Query: ' . $sql . '<br/>';
    echo 'Query result: ' . $delete_update_result . '<br/>';
}
if (isset($_REQUEST['op']) && strlen($_REQUEST['op']) < 25) {
    $myop = strip_tags($_REQUEST['op']);
} else {
    $myop = "list";
}
if (isset($_REQUEST['id']) && strlen($_REQUEST['id']) < 25) {
    $id = strip_tags($_REQUEST['id']);
}
# START OUTPUT
LS_page_start('empty');
# Left nav pane echoing
echo '<div class="navi" style="left: 5px;">' . _button('NEU Klass. / Msggr.', '', 'admin_liga_types.php?op=new') . _button('Admin home', '', 'admin_main_menu.php') . '</div>';
echo '<h3>Klassen / Messagegroups</h3>';
# header and start table
switch ($myop) {
    case "list":
        echo object_list();
        break;
    case "new":
        echo object_form();
        break;
    case "edit":
        echo object_form($id);
        break;
    case "save":
Esempio n. 4
0
# // -> require_once("mainfile.php"); --> require_once("config.php");
require "func_lsdb.php";
require "func_stat.php";
require "api_rs.php";
// Backend DB API
require "api_format.php";
// Backend DB API
require 'lsdbcontroller.php';
global $dbi;
$lastdate = '2006-10-15';
// we retrieve the current SSI date from the static list not from the DATE Table
$qry = sql_query("select max(statdate) from tblstat where statcode=2", $dbi);
while (list($tlastdate) = sql_fetch_row($qry, $dbi)) {
    $lastdate = $tlastdate;
}
LS_page_start('ssi');
// common layout within the MAIN TD
echo '<div style=\'height:5px\'>&nbsp;</div>';
echo '<h3 id=\'pagetitle\'></h3>';
$my_op = "";
if (isset($_REQUEST['op'])) {
    if (strlen($_REQUEST['op']) > 20) {
        return "<h3>Error method_call</h3>";
    } else {
        $my_op = $_REQUEST['op'];
    }
}
# here comes the main DATA WIndow
if ($my_op == "intro") {
    echo '<h1>SSI System &Ouml;DV</h1><p>Das Spielst&auml;rke Index Punkte System wird von den Liga Administratoren betreut und gewartet.</p>' . '<p>Die im LigaSystem erfassten Spiele werden automatisch geladen und ausgewertet.</p><p>F&uuml;r weiterf&uuml;hrende Fragen oder detailiertere Auskunft &uuml;ber das System wende dich bitte an die entsprechenden Personen.';
    echo "<p>Das SSI System des &Ouml;DV ist offen f&uuml;r Dartssportler aller Verb&auml;nde, wenn du daran teilhaben willst so wende dich bitte direkt an <a href=\"mailto:boris.hristovski[]dartsverband.at\">Boris</a>. Wir werden dann eine Einf&uuml;hrung sowie eine Schulung organisieren.";