<?php require_once('Connections/Ortner_db.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$maxRows_Recordset1 = 2;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
}
$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
mysql_select_db($database_Ortner_db, $Ortner_db);
$query_Recordset1 = "SELECT * FROM termine ORDER BY datum ASC";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $Ortner_db) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
$all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
}
$totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Christian Ortner</title>
<meta name="author" content="matthias.damoser@media-powerplant.de"/>
<meta name="copyright" content="Webdesign: Matthias Damoser / media powerplant"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header"><a href="index.php"><img src="bilder/header.jpg" width="616" height="109" alt="Christian Ortner Startseite" /></a></div><!-- end of header -->
<div id="menu">
<ul>
<li><a href="bio.html">Biografie</a></li>
<li><a href="musik.html"> Musik</a></li>
<li><a href="medien.html"> Medien</a></li>
<li><a href="projekte.html"> Projekte</a></li>
<li><a href="termine.php">Termine</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
</ul>
</div><!-- end of menu -->
<div class="trenner"></div><!-- end of trenner -->
<div id="willkommen">
<p>Auf dieser Website finden Sie neben interessanten Infos zur Person, auch alle aktuellen Termine, Fotos und Kontaktdaten.</p>
</div><!-- end of willkommen -->
<div id="foto"></div><!-- end of foto -->
<div id="Spaltelinks">
<div id="termine">
<div class="terminliste">
<?php do { ?>
<p class="datum"><?php echo $row_Recordset1['datum']; ?></p>
<p class="was"><?php echo $row_Recordset1['was']; ?></p>
<p class="beschreibung"><?php echo $row_Recordset1['wo']; ?></p>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
<p class="weiter"><a href="termine.php">mehr</a></p>
</div><!-- end of terminliste -->
</div><!-- end of termine -->
<div id="kontakt">
<p>Wenn Sie in Kontakt mit Christian Ortner treten wollen, sind sie hier genau richtig.</p>
<p class="weiter"><a href="kontakt.html">mehr</a></p>
</div><!-- end of kontakt -->
</div><!-- end of Spaltelinks -->
<div id="info">
<p>Christian Ortner, Berufsmusiker aus Bayern arbeitet als Komponist, Arrangeur und Produzent für Unterhaltungsmusik als auch als Solo Jazzpianist, Barpianist und Musiker in diversen Formationen.</p>
<p class="weiter"><a href="bio.html">mehr</a></p>
<div id="links">
<p class="name">Push `n Pull</p>
<p class="beschreibung">Stilrichtung: Jazz, Blues
Standardbesetzung: Piano, Gitarre, Percussion</p>
<p class="weiter"><a href="projekte.html">mehr</a></p>
</div> <!-- end of linke Spalte -->
<div id="mitte">
<p class="name">Barpiano</p>
<p class="beschreibung">Soloauftritte in verschiedenen 3 bis 5 Sterne-Hotels in Bayern</p>
<p class="weiter"><a href="projekte.html">mehr</a></p>
</div> <!-- end of mitte Spalte -->
<div id="rechts">
<p class="name">Jazzpiano</p>
<p class="beschreibung">Soloauftritte in Jazzkneipen wie z.B. Candy-Bar, München</p>
<p class="weiter"><a href="projekte.html">mehr</a></p>
</div> <!-- end of rechts Spalte -->
</div><!-- end of info -->
<p>Copyright © 2010 | Alle Rechte vorbehalten | <a href="impressum.html">Impressum</a> | <a href="kontakt.html">Kontakt</a> | <a href="redaktionssystem_login.php">Log-In</a> |</p>
</div><!-- end of wrapper -->
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>