Ergebnis 1 bis 16 von 16

Thema: PHP Script in HTML einfügen

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    die sähe dann so aus:

    Code:
    <html><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>HiV-Stammtisch</title>
    <!-- InstanceEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    <link href="styles/tables.css" rel="stylesheet" type="text/css">
    <link href="styles/Schriften.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    body,td,th {
    	font-family: Verdana;
    	font-size: 10px;
    	color: #000000;
    }
    body {
    	background-color: #D5E7F7;
    }
    .style1 {
    	color: #000066;
    	font-weight: bold;
    }
    a:link {
    	color: #000066;
    	text-decoration: none;
    }
    a:visited {
    	text-decoration: none;
    	color: #000066;
    }
    a:hover {
    	text-decoration: none;
    	color: #FFFFFF;
    }
    a:active {
    	text-decoration: none;
    	color: #000066;
    }
    .style3 {
    	font-size: 24px;
    	color: #FFFFFF;
    	font-family: "GF Ordner Normal";
    }
    .style7 {
    	font-size: 12px;
    	color: #FFFFFF;
    	font-family: "GF Ordner Normal";
    }
    .style25 {
    	font-size: 14px;
    	color: #FF0000;
    }
    .style27 {
    	font-size: 14px;
    	color: #FFFFFF;
    }
    .style31 {font-size: 12px; color: #FFFFFF; }
    .style32 {
    	font-size: 9px;
    	color: #FFFFFF;
    	font-weight: bold;
    }
    -->
    </style>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="Header1" style="position:absolute; left:130px; top:10px; width:758px; height:88px; z-index:2; overflow: hidden;" class="tables"></div>
    <div id="Layer1" style="position:absolute; left:130px; top:160px; width:125px; height:18px; z-index:4" class="tables">
      <div align="center"></div>
    </div>
    <div id="Layer2" style="position:absolute; left:130px; top:180px; width:125px; height:206px; z-index:3" class="tables2"></div>
    <div id="Layer3" style="position:absolute; left:140px; top:185px; width:110px; height:203px; z-index:5; overflow: hidden;">
      <table width="109" height="199">
        <tr>
          <td class="tables3"><div align="center"><strong><a href="index.htm">Home</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="mitglieder.htm">Mitglieder</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="satzung.htm">Satzung</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="protokolle.htm">Protokolle</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="punkte.htm">Punkte</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="hausi.htm">Hausaufgaben</a></strong></div></td>
        </tr>
        <tr>
          <td class="tables3"><div align="center"><strong><a href="http://web211.server-drome.net/phpBB2/viewforum.php?f=7">Forum</a></strong></div></td>
        </tr>
        <tr>
          <td><div align="center" class="style1"><a href="http://web211.server-drome.net/cpg132/index.php" target="_blank">Galerie</a></div></td>
        </tr>
      </table>
    </div>
    <div id="Layer4" style="position:absolute; left:140px; top:163px; width:110px; height:35px; z-index:6">
      <div align="center"><span class="hauptschrift style7"><span class="hauptschrift style25"><span class="hauptschrift  style27"><span class="style31">Men&uuml;</span></span></span></span></div>
    </div>
    <div id="Layer5" style="position:absolute; left:265px; top:68px; width:489px; height:70px; z-index:7"><em><span class="style3"> - Herren in Versammlung </span></em></div>
    <div id="Layer6" style="position:absolute; left:260px; top:160px; width:630px; height:70px; z-index:8; overflow: visible;" class="tableborderrechts"><!-- InstanceBeginEditable name="EditRegion1" -->
      <div align="center"><?php include('news.php'); ?> bla </div>
    <!-- InstanceEndEditable --></div>
    <div id="Layer7" style="position:absolute; left:276px; top:585px; width:468px; height:65px; z-index:9; overflow: visible;">
    <script type="text/javascript"><!--
    google_ad_client = "pub-4215364340624127";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "336699";
    google_color_bg = "FFFFFF";
    google_color_link = "0000FF";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    
    
    <div id="Layer8" style="position:absolute; left:780px; top:85px; width:90px; height:20px; z-index:10"><span class="style32">v. 0.1 </span></div>
    <div id="Layer10" style="position:absolute; left:130px; top:410px; width:125px; height:20px; z-index:11" class="tables"></div>
    <div id="Layer11" style="position:absolute; left:130px; top:413px; width:130px; height:37px; z-index:12" class="style31">
      <div align="center"><strong>Bild des Monats </strong></div>
    </div>
    <div id="Layer9" style="position:absolute; left:130px; top:430px; width:125px; height:120px; z-index:13; overflow: hidden;" class="tables2"><a href="http://web211.server-drome.net/cpg132/displayimage.php?album=29&pos=0"><img src="images/bdm0705.jpg" width="125" height="134" border="0"></a></div>
    <div id="Layer12" style="position:absolute; left:170px; top:55px; width:130px; height:70px; z-index:14; font-size: 36px; font-style: italic;" class="style3">HIV</div>
    <div id="Layer13" style="position:absolute; left:319px; top:550px; width:368px; height:10px; z-index:15; overflow: visible;"></div>
    </body>
    <!-- InstanceEnd --></html>
    Wer nicht suchen möchte: Exakt so sieht der php befehl auf der seite aus:

    Code:
    "...<?php include('news.php'); ?>...

    Geändert von Nanatsusaya (15.08.2005 um 17:48 Uhr)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •