Hi
Da ich noch nen ziemlicher einsteiger bin ( Das ist mein erstest eigenes Script )
Würde ich gern wissen ob das einfacher geht:
Es basiert auf einer Php datei in der alle links festgelegt sind. ( Bilder und URLS )
<? require_once("include/url.php") ?>
Warum kann ich das nicht so machen?
<? require_once("http://meinwebhost.de/include/url.php") ?>
ANsonsten ein kleiner auszug:
<?
SeitenLeiste
$news = array("<a href="http://localhost/sites/new_schrecknet/index.php"><img border=0 onMouseOut=nereidFade(this,50,50,5) onMouseOver=nereidFade(this,100,30,4) src="http://localhost/sites/new_schrecknet/images/navigation/buttons/news.gif" style="FILTER: alpha(opacity=50)" width="130" height="20"></a>",);
$storys = array("<a href="http://localhost/sites/new_schrecknet/content/storys/index.php"><img border=0 onMouseOut=nereidFade(this,50,50,5) onMouseOver=nereidFade(this,100,30,4) src="http://localhost/sites/new_schrecknet/images/navigation/buttons/geschichten.gif" style="FILTER: alpha(opacity=50)" width="130" height="20"></a>",);
$forum = array("<a href="http://localhost/sites/new_schrecknet/content/community/forum/index.php"><img border=0 onMouseOut=nereidFade(this,50,50,5) onMouseOver=nereidFade(this,100,30,4) src="http://localhost/sites/new_schrecknet/images/navigation/buttons/forum.gif" style="FILTER: alpha(opacity=50)" width="130" height="20"></a>",);
## Headlines
$headline1_intro = array("<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_introduction.gif" width="200" height="20"></td><td background="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_1.gif" width="100%"><img src="http://localhost/sites/new_schrecknet/images/bg/20x20.gif" width="1" height="20" border="0"></td><td width="50"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_2.gif" width="50" height="20"></td></tr></table>");
$headline1_news = array("<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_news.gif" width="200" height="20"></td><td background="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_1.gif" width="100%"><img src="http://localhost/sites/new_schrecknet/images/bg/20x20.gif" width="1" height="20" border="0"></td><td width="50"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_2.gif" width="50" height="20"></td></tr></table>");
$headline1_storys = array("<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_storys.gif" width="200" height="20"></td><td background="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_1.gif" width="100%"><img src="http://localhost/sites/new_schrecknet/images/bg/20x20.gif" width="1" height="20" border="0"></td><td width="50"><img src="http://localhost/sites/new_schrecknet/images/navigation/headlines/headline_2.gif" width="50" height="20"></td></tr></table>");
?>
Geht das einfacher?
THC im voraus
--Anguggen jan man es sich unter www.ackro.com/test/new_schrecknet/index.php --- ( ich weiss es ist zu dunkel