Webseitenbau
Home
Site/Index
 
Web Webseitenbau
Google English français  
⬆4. 11. 3 Google

4.11.3 Suchen mit Google

Basis

Pfeil nach rechts (Icon)
      120 x 120 Pixel PHP-Anleitung: Include include

Pfeil nach rechts (Icon)
      120 x 120 Pixel Webdesign: Logos

    

Anwendung

Pfeil nach rechts (Icon)
      120 x 120 Pixel Webseitenbau: Suchen

-

1 Erstellen einer Include-Datei

<div class="suchen" style="margin-top:-0.5em">
<form style="display:inline" method=GET action="http://www.google.de/search">
<?php include "$punkte/include/grafik/google.php";?>
<input type=text name=q size=32 maxlength=255 value="">
<input type=hidden name=hl value=de>
<input type=submit name=btnG value="Suchen im Web">
</form>

&nbsp;&nbsp;

<form  style="display:inline" method=GET action="http://news.google.de/">
<input type=text name=q size=28 maxlength=255 value="">
<input type=submit name="btnG" value="News suchen">
</form>
</div>

<div class="suchen" style="margin-top:-1em">
<form  style="display:inline" method=GET action="https://www.google.com/videohp?gws_rd=ssl">
      
<?php include "$punkte/include/grafik/video.php";?>
<input type=text name=q size=32 maxlength=255 value="">
<input type=submit name="" value="Videos suchen">
</form>

<form  style="display:inline"
 class="suchen" method=GET action="http://images.google.com/imghp?ie=UTF-8&oe=UTF-8&hl=de&tab=wi&q=">
<input type=text name=q size=28 maxlength=255 value="">
<input type=submit name="" value="Bilder suchen">
</form>
</div>

-

2 Einlesen der Include-Datei

<?php
include "$punkte/include/google/google.php";
?>

-

3 Anzeige im Browser

Google (Logo)
      150 x 50 Pixel
  
       Video (Icon)
      50 x 50 Pixel