Ejemplo n.º 1
0
<?php

include_once "../templates/classEmma.class.php";
if (isset($_POST['btnSave'])) {
    Emma::UpdateCompetition($_GET['compid'], $_POST['name'], $_POST['org'], $_POST['date'], $_POST['public'], $_POST['timediff']);
} else {
    if (isset($_POST['btnAdd'])) {
        Emma::AddRadioControl($_GET['compid'], $_POST['classname'], $_POST['controlname'], $_POST['code']);
    } else {
        if (isset($_GET['what']) && $_GET['what'] == "delctr") {
            Emma::DelRadioControl($_GET['compid'], $_GET['code'], $_GET['class']);
        }
    }
}
include_once "../templates/emmalang_sv.php";
$lang = "sv";
if (isset($_GET['lang']) && $_GET['lang'] != "") {
    $lang = $_GET['lang'];
}
include_once "../templates/emmalang_{$lang}.php";
?>

<html>
<head><title><?php 
echo $_TITLE;
?>
</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">
<meta name="robots" content="noindex">
<script language="javascript">
function colorRow(row)