<?php

// $Id:  $
require_once "inc/stdLib.php";
include "template.inc";
include "crmLib.php";
include "UserLib.php";
$t = new Template($base);
doheader($t);
$stamm = "none";
$show = "visible";
if ($_GET["Q"] and $_GET["fid"]) {
    $fid = $_GET["fid"];
    if ($_GET["new"]) {
        include_once "inc/FirmenLib.php";
        $daten["firma"] = getName($fid, $_GET["Q"]);
        $daten["fid"] = $fid;
        $daten["tab"] = $_GET["Q"];
    } else {
        $_POST["tab"] = $_GET["Q"];
        $_POST["fid"] = $fid;
        $_POST["action"] = "suchen";
    }
    $search = "visible";
    $save = "visible";
    $none = "block";
    $stamm = "block";
    $block = "none";
} else {
    if ($_GET["history"]) {
        $history = true;
<?php

require_once "headerfunction.php";
doheader("./Performances/");