| 1 |
lars |
1 |
<?
|
|
|
2 |
require_once "connect2.php";
|
|
|
3 |
session_start();
|
|
|
4 |
if (!$language) {$language="DE";}
|
|
|
5 |
// $charset laden um die jeweiligen ISO-Zeichensätzte zu laden.
|
|
|
6 |
require_once "charset.php";
|
|
|
7 |
?>
|
|
|
8 |
<html>
|
|
|
9 |
<head>
|
|
|
10 |
<title><?=$webs[kunde_bezeichnung] ?>: Redaktionssystem</title>
|
|
|
11 |
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset ?>">
|
|
|
12 |
<link rel=stylesheet type="text/css" href="redaktion.css">
|
|
|
13 |
<style type="text/css">
|
|
|
14 |
<!--
|
|
|
15 |
A:link {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000}
|
|
|
16 |
A:visited {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #333333}
|
|
|
17 |
A:active {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #CC0000}
|
|
|
18 |
A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #669933}
|
|
|
19 |
p {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #000096}
|
|
|
20 |
p.error {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000; font-weight: bold}
|
|
|
21 |
span {font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
|
|
|
22 |
span.blue {font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; background-color:#0000A0; font-size: 10pt}
|
|
|
23 |
span.small {font-family: Arial, Helvetica, sans-serif; font-size: 8pt; text-decoration: none}
|
|
|
24 |
td {font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
|
|
|
25 |
td.timeout {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #FF0000;}
|
|
|
26 |
td.small {font-family: Arial, Helvetica, sans-serif; font-size: 8pt}
|
|
|
27 |
td.headline {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #FFFFFF; font-weight: bold}
|
|
|
28 |
td.haupt {font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold}
|
|
|
29 |
td.selectet_language {border: 1px outset; border-color: #CCCCCC #999999 #999999 #CCCCCC}
|
|
|
30 |
input {font-family: Arial, Helvetica, sans-serif; font-size: 8pt}
|
|
|
31 |
select {font-family: Arial, Helvetica, sans-serif; font-size: 8pt}
|
|
|
32 |
textarea {font-family: Arial, Helvetica, sans-serif; font-size: 8pt}
|
|
|
33 |
.button {width: 100%; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; cursor: auto}
|
|
|
34 |
#Branche {display: block;}
|
|
|
35 |
#Branche img {background-color:#FFFFFF;}
|
|
|
36 |
#Branche strong {width: 200px; background-color:#<? echo $webs[bgcolor_links] ?>; color: #FFFFFF;}
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
-->
|
|
|
40 |
</style>
|
|
|
41 |
</head>
|
|
|
42 |
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" marginheight="0">
|
|
|
43 |
<?php
|
|
|
44 |
$query="SELECT * FROM Branche where Father = -1 order by Name";
|
|
|
45 |
$result = mysql_query ($query) or die (mysql_errno().": ".mysql_error()."<hr>$query<hr>");
|
|
|
46 |
$rows=mysql_num_rows($result);
|
|
|
47 |
$counter=0;
|
|
|
48 |
if ($rows)
|
|
|
49 |
{
|
|
|
50 |
while ($zeile=mysql_fetch_assoc($result))
|
|
|
51 |
{
|
|
|
52 |
?>
|
|
|
53 |
<div id="Branche">
|
|
|
54 |
<img src="../images/Online-Shop/directory/subdir_open.gif" border="0"><strong><?= $zeile['Name'] ?></strong>
|
|
|
55 |
</div>
|
|
|
56 |
<?php
|
|
|
57 |
// Alle Firmen der jeweiligen Branche holen
|
|
|
58 |
$query2="
|
|
|
59 |
SELECT * FROM
|
|
|
60 |
Branche2Firma, Firma
|
|
|
61 |
WHERE
|
|
|
62 |
Branche2Firma.Branche=".$zeile['ID']."
|
|
|
63 |
AND
|
|
|
64 |
Firma.ID=Branche2Firma.Firma
|
|
|
65 |
ORDER BY
|
|
|
66 |
Firma
|
|
|
67 |
ASC
|
|
|
68 |
";
|
|
|
69 |
|
|
|
70 |
// AND (shop_link_table.ID != Firma.ID AND shop_link_table.Father != ".$_GET['Father']['ID'].")
|
|
|
71 |
|
|
|
72 |
$result2 = mysql_query ($query2) or die (mysql_errno().": ".mysql_error()."<hr>$query2<hr>");
|
|
|
73 |
$rows2=mysql_num_rows($result2);
|
|
|
74 |
if ($rows2)
|
|
|
75 |
{
|
|
|
76 |
while ($zeile2=mysql_fetch_assoc($result2))
|
|
|
77 |
{
|
|
|
78 |
?>
|
|
|
79 |
<div id="Firma" style="padding-left: 20px; display: inline">
|
|
|
80 |
<img src="../images/Online-Shop/directory/subdir_closed.gif" border="0">
|
|
|
81 |
<a href="firma_verlinken_ansicht.php?child[ID]=<?=$zeile2['ID'] ?>&child[typ]=f&Father[ID]=<?= $_GET['Father']['ID'] ?>&Father[typ]=<?=$_GET["Target"]["typ"];?>"
|
|
|
82 |
target="firma_verlinken_tool"
|
|
|
83 |
>
|
|
|
84 |
<?=$zeile2['Name']; ?>
|
|
|
85 |
</a>
|
|
|
86 |
<br />
|
|
|
87 |
<?php
|
|
|
88 |
}
|
|
|
89 |
}
|
|
|
90 |
?>
|
|
|
91 |
</div><br />
|
|
|
92 |
<?php
|
|
|
93 |
}
|
|
|
94 |
}
|
|
|
95 |
?>
|
|
|
96 |
</body>
|
|
|
97 |
</html>
|