| 1 |
lars |
1 |
<?
|
|
|
2 |
require_once "connect2.php";
|
|
|
3 |
session_start();
|
|
|
4 |
if (!$language) {$language="DE";}
|
|
|
5 |
?>
|
|
|
6 |
<html>
|
|
|
7 |
<head>
|
|
|
8 |
<title>Template Control</title>
|
|
|
9 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
10 |
<meta name="author" content="Webagentur Niewerth - www.weban.de">
|
|
|
11 |
<meta name="revisit-after" content="30 days">
|
|
|
12 |
<meta name="language" content="deutsch, de">
|
|
|
13 |
<meta name="distribution" content="global">
|
|
|
14 |
<meta name="robots" content="all">
|
|
|
15 |
<link rel=stylesheet type="text/css" href="redaktion.css">
|
|
|
16 |
<style type="text/css">
|
|
|
17 |
body
|
|
|
18 |
{
|
|
|
19 |
font-family: Arial, Helvetica, sans-serif; font-size: 10pt;
|
|
|
20 |
<? if ($webs[font_color_seite]) { ?>color: #<? echo $webs[font_color_rechts] ?>;<? } ?>
|
|
|
21 |
<? if ($webs[bgcolor_seite]) { ?>background-color: #<? echo $webs[bgcolor_rechts] ?>;<? } ?>
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
.links
|
|
|
25 |
{
|
|
|
26 |
font-size: 10pt;
|
|
|
27 |
<? if ($webs[font_color_links]) { ?>color: #<? echo $webs[font_color_links] ?>;<? } ?>
|
|
|
28 |
<? if ($webs[bgcolor_links]) { ?>background-color: #<? echo $webs[bgcolor_links] ?>;<? } ?>
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
.rechts
|
|
|
32 |
{
|
|
|
33 |
font-size: 10pt;
|
|
|
34 |
<? if ($webs[font_color_rechts]) { ?>color: #<? echo $webs[font_color_rechts] ?>;<? } ?>
|
|
|
35 |
<? if ($webs[bgcolor_rechts]) { ?>background-color: #<? echo $webs[bgcolor_rechts] ?>;<? } ?>
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
A:link {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
|
|
|
39 |
A:visited {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
|
|
|
40 |
A:active {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
|
|
|
41 |
A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #<? echo $webs[font_color_rechts] ?>}
|
|
|
42 |
</style>
|
|
|
43 |
</head>
|
|
|
44 |
|
|
|
45 |
<body bgcolor="#<? echo $webs[bgcolor_rechts] ?>" text="#<? echo $webs[font_color_rechts] ?>" leftmargin="0" topmargin="0" link="#0000FF" vlink="#0000FF" alink="#0000FF">
|
|
|
46 |
<?
|
|
|
47 |
// SEBASTIAN
|
|
|
48 |
if ($_GET[Typ] == "Branche") {
|
|
|
49 |
?>
|
|
|
50 |
<a href="template_control.php?shops_ID=1&Typ=<?=$Typ;?>&ID=<?=$ID?>" target="templates">Templates</a><br>
|
|
|
51 |
<?
|
|
|
52 |
} else {
|
|
|
53 |
?>
|
|
|
54 |
<?
|
|
|
55 |
$query="SELECT * FROM shops WHERE Language = '$language' and ebay = '0'";
|
|
|
56 |
$result = mysql_query ($query) or die (mysql_errno().": ".mysql_error()."<hr>".$query);
|
|
|
57 |
while($zeile=mysql_fetch_array($result))
|
|
|
58 |
{
|
|
|
59 |
?>
|
|
|
60 |
<a href="template_control.php?shops_ID=<?=$zeile[ID];?>&Typ=<?=$Typ;?>&ID=<?=$ID?>" target="templates"><? echo $zeile[Name] ?></a><br>
|
|
|
61 |
<?
|
|
|
62 |
}
|
|
|
63 |
?>
|
|
|
64 |
<?
|
|
|
65 |
}
|
|
|
66 |
?>
|
|
|
67 |
<br>
|
|
|
68 |
</body>
|
|
|
69 |
</html>
|
|
|
70 |
|