Hallo ich habe ein problem bei einer seitenintegrierung mit einen anderen script.
also ich hätte gerne diesen code Teil in eine Php Datei integriert nur weiss ich nicht wirklich recht wie ich das lösen soll.
also das wäre mal der ganze php code:
PHP-Code:
<?php echo'<tr>'; echo'<td colspan="4" align="center" class="medtxt"><font color="#CC0000"><b><?=$msg_chooseBezirk; ?></b></font></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><table width="100%" cellpadding="0" cellspacing="5" border="0">'; echo'<tr>'; echo'<td align="center" class="bigsm" background="/images/4_blue_point.gif"><img src="/images/empty.gif" width="1" height="5" border="0"></td>'; echo'</tr>'; echo'</table></td>'; echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="<? echo "/general/index.php?bezirk=99&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b><?=$msg_allBezirk; ?></b></a></li></td>'; ?> echo'<td width="25%"><li><a href="<? echo "/general/index.php?bezirk=1&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>1. Innere Stadt</b></a></li></td>'; echo'<td width="25%"><li><a href="<? echo "/general/index.php?bezirk=2&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>2. Leopoldstadt</b></a></li></td>'; echo'<td width="25%"><li><a href="<? echo "/general/index.php?bezirk=3&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>3. Landstrasse</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=4&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>4. Wieden</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=5&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>5. Margareten</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=6&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>6. Mariahilf</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=7&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>7. Neubau</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=8&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>8. Josefstadt</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=9&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>9. Alsergrund</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=10&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMAt"><b>10. Favoriten</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=11&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>11. Simmering</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=12&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>12. Meidling</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=13&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>13. Hietzing</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=14&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>14. Penzing</b></a></li></td>'; echo' <td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=15&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>15. Rudolfsheim</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=16&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>16. Ottakring</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=17&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>17. Hernals</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=18&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>18. Währing</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=19&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>19. Döbling</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=20&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>20. Brigittenau</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=21&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>21. Floridsdorf</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=22&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>22. Donaustadt</b></a></li></td>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=23&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b>23. Liesing</b></a></li></td>'; echo'</tr>'; echo'<tr>'; echo'<td colspan="4"><img src="/images/empty.gif" width="1" height="10" border="0"></td> echo'</tr>'; echo'<tr>'; echo'<td width="25%"><li><a href="';<? echo "/general/index.php?bezirk=0&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b><?=$msg_wuBezirk; ?></b></b></a></li></td>'; echo'<td width="25%"> </td>'; echo'<td width="25%"> </td>'; echo'<td width="25%"> </td>'; echo'</tr>' ?>;
und diese zwei teile will ich so umwandeln das es in php funktioniert:
PHP-Code:
echo'<td colspan="4" align="center" class="medtxt"><font color="#CC0000"><b><?=$msg_chooseBezirk; ?></b></font></td>';
PHP-Code:
echo'<td width="25%"><li><a href="<? echo "/general/index.php?bezirk=99&lev=".$lev."&ref=".$ref."&tip=".$tip; ?>" class="TAHOMA"><b><?=$msg_allBezirk; ?></b></a></li></td>';
Hoffe mir kann wer helfen lg Danke