hab mit dem script Probleme der sagt immer parse fehler in index2.php zeile 86
<? include("inc/func_login.inc");
$sql_con=dbconnect();
$sql_q="SELECT * from $user WHERE $id ='$sql_i'";
$sql_r=mysql_query($sql_q,$sql_con);
while($sql_l= @mysql_fetch_array($sql_r)){
$begruessung=$sql_l[name];
$gruppe=$sql_l[gruppe];
$sql_con=dbconnect();
$sql_log="INSERT INTO `log` (`timestamp`,`userid`,`name`,`gruppe`,`ip`) VALUES ('$timestamp','$sql_i','$begruessung','$gruppe','$ip')";
$sql_log=mysql_query($sql_log,$sql_con);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/haupt.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>::SDW Stop den Werbeanruf:: Partner Portal</title>
<!-- InstanceEndEditable --><style type="text/css">
<!--
body {
background-color: #0099FF;
}
-->
</style>
<link href="neu.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<style type="text/css">
<!--
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style></head>
<body>
<div align="center">
<table width="780" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td><table width="780" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><img src="image/pkv-callcenter-partner-port.gif" width="780" height="140"></td>
</tr>
<tr>
<td width="160" valign="top" bgcolor="#FFFFFF"><div align="center">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="image/menu_top.jpg" width="150" height="15"></td>
</tr>
<tr>
<td width="15" background="image/menu_links.jpg"> </td>
<td width="15" background="image/menu_rechts.jpg"> </td>
</tr>
<tr>
<td colspan="3"><img src="image/menu_unten.jpg" width="150" height="20"></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="15" colspan="2" class="klein"> <div align="right">> <? echo "<a href='agb.php?SID=$SID'>Allgemeine Geschäftsbedingungen</a>"; ?> > <? echo "<a href='impressum.php?SID=$SID'>Impressum & Datenschutz</a>"; ?> </div></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
<? include("inc/func_login.inc");
$sql_con=dbconnect();
$sql_q="SELECT * from $user WHERE $id ='$sql_i'";
$sql_r=mysql_query($sql_q,$sql_con);
while($sql_l= @mysql_fetch_array($sql_r)){
$begruessung=$sql_l[name];
$gruppe=$sql_l[gruppe];
$sql_con=dbconnect();
$sql_log="INSERT INTO `log` (`timestamp`,`userid`,`name`,`gruppe`,`ip`) VALUES ('$timestamp','$sql_i','$begruessung','$gruppe','$ip')";
$sql_log=mysql_query($sql_log,$sql_con);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/haupt.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="doctitle" -->
<title>::SDW Stop den Werbeanruf:: Partner Portal</title>
<!-- InstanceEndEditable --><style type="text/css">
<!--
body {
background-color: #0099FF;
}
-->
</style>
<link href="neu.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<style type="text/css">
<!--
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style></head>
<body>
<div align="center">
<table width="780" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td><table width="780" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><img src="image/pkv-callcenter-partner-port.gif" width="780" height="140"></td>
</tr>
<tr>
<td width="160" valign="top" bgcolor="#FFFFFF"><div align="center">
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="image/menu_top.jpg" width="150" height="15"></td>
</tr>
<tr>
<td width="15" background="image/menu_links.jpg"> </td>
<td width="15" background="image/menu_rechts.jpg"> </td>
</tr>
<tr>
<td colspan="3"><img src="image/menu_unten.jpg" width="150" height="20"></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#CCCCCC">
<td height="15" colspan="2" class="klein"> <div align="right">> <? echo "<a href='agb.php?SID=$SID'>Allgemeine Geschäftsbedingungen</a>"; ?> > <? echo "<a href='impressum.php?SID=$SID'>Impressum & Datenschutz</a>"; ?> </div></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
Kommentar