Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?
        require_once "connect2.php";
        session_start();
        if (!$language) {$language="DE";}
?>
<html>
<head>
<title>Template Control</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="author" content="Webagentur Niewerth - www.weban.de">
<meta name="revisit-after" content="30 days">
<meta name="language" content="deutsch, de">
<meta name="distribution" content="global">
<meta name="robots" content="all">
<link rel=stylesheet type="text/css" href="redaktion.css">
<style type="text/css">
body 
{
        font-family: Arial, Helvetica, sans-serif; font-size: 10pt;
<? if ($webs[font_color_seite])         { ?>color:                              #<? echo $webs[font_color_rechts] ?>;<? } ?>
<? if ($webs[bgcolor_seite])            { ?>background-color:   #<? echo $webs[bgcolor_rechts] ?>;<? } ?>
}

.links
{
font-size: 10pt;
<? if ($webs[font_color_links])         { ?>color:                              #<? echo $webs[font_color_links] ?>;<? } ?>
<? if ($webs[bgcolor_links])            { ?>background-color:   #<? echo $webs[bgcolor_links] ?>;<? } ?>
}

.rechts
{
font-size: 10pt;
<? if ($webs[font_color_rechts])        { ?>color:                              #<? echo $webs[font_color_rechts] ?>;<? } ?>
<? if ($webs[bgcolor_rechts])           { ?>background-color:   #<? echo $webs[bgcolor_rechts] ?>;<? } ?>
}

A:link {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
A:visited {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
A:active {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
</style>
</head>

<body bgcolor="#<? echo $webs[bgcolor_rechts] ?>" text="#<? echo $webs[font_color_rechts] ?>" leftmargin="0" topmargin="0" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<?
// SEBASTIAN
if ($_GET[Typ] == "Branche") {
?>
<a href="template_control.php?shops_ID=1&Typ=<?=$Typ;?>&ID=<?=$ID?>" target="templates">Templates</a><br>
<?
} else {
?>
        <?
                $query="SELECT * FROM shops WHERE Language = '$language' and ebay = '0'";
                $result = mysql_query ($query) or die (mysql_errno().": ".mysql_error()."<hr>".$query);
                while($zeile=mysql_fetch_array($result))
                {
        ?>
        <a href="template_control.php?shops_ID=<?=$zeile[ID];?>&Typ=<?=$Typ;?>&ID=<?=$ID?>" target="templates"><? echo $zeile[Name] ?></a><br>
        <?
                }
        ?>
<?
}
?>
<br>
</body>
</html>