", $history);
$query = "SELECT nummer, datum, team, themen, bemerkung, reihe, eintrager FROM sendungen WHERE datum!=0;";
}
function showYear($YEAR) {
global $query;
logDebug("show Year: ".$YEAR."
", $history); $query = "SELECT nummer, datum, team, themen, bemerkung, reihe, eintrager FROM sendungen WHERE datum like '%$YEAR%' ORDER BY nummer ASC;"; } // ====================================================================================================================================== include_once("../../gbl/utilities.php"); //session_register("file"); $file=$file = basename(__FILE__); include("../../gbl/auth.php"); // // ================================================================ // S P E C I A L V I E W S // ================================================================ include_once("../../gbl/utilities.php"); include_once("../../history/php/specialViews.php"); global $history; // ================================================================ // Define which links are active. // ================================================================ // $button2=0; $button6=1; $button7=1; $button8=1; $button11=0; $button12=1; $query; $viewCommand = $_GET["viewCommand"]; $Year = $_GET["Year"]; if($viewCommand!="") { // ================================================================ // Define which links are active. // ================================================================ // $button1=1; } // ================================================================ // Writing the HTML begin. // ================================================================ // require_once("htmlbegin.php"); ?>
", $history); $query = "SELECT nummer, datum, team, themen, bemerkung, reihe, eintrager FROM sendungen WHERE datum like '%$YEAR%' ORDER BY nummer ASC;"; } // ====================================================================================================================================== include_once("../../gbl/utilities.php"); //session_register("file"); $file=$file = basename(__FILE__); include("../../gbl/auth.php"); // // ================================================================ // S P E C I A L V I E W S // ================================================================ include_once("../../gbl/utilities.php"); include_once("../../history/php/specialViews.php"); global $history; // ================================================================ // Define which links are active. // ================================================================ // $button2=0; $button6=1; $button7=1; $button8=1; $button11=0; $button12=1; $query; $viewCommand = $_GET["viewCommand"]; $Year = $_GET["Year"]; if($viewCommand!="") { // ================================================================ // Define which links are active. // ================================================================ // $button1=1; } // ================================================================ // Writing the HTML begin. // ================================================================ // require_once("htmlbegin.php"); ?>
"; } else { mysqli_set_charset($connection,$charset); // ================================================================ // Selecting the database. // ================================================================ // //if(!@mysql_select_db($database,$connection)) //{ // echo "The database \"".$database."\" could not be selected ! "; //} //else //{ // ================================================================ // Executing the query. // ================================================================ // $result=mysqli_query($connection,$query); if(!$result) { logDebug($query, $history); echo "Die Darstellung kann nicht ausgeführt werden ! "; } else { // ================================================================ // Closing the connection to the host. // ================================================================ // if(!mysqli_close($connection)) { echo "Error while disconnecting from the host ! "; } else { // ================================================================ // Calculate how many records were found. // ================================================================ // $found=mysqli_num_rows($result); echo "Anzahl gefundener Einträge: ".$found." "; // ================================================================ // The query is displayed. // ================================================================ // logDebug("Query: ".$query." ", $history); // ================================================================ // The selection is displayed. // ================================================================ // ?>
|