05-12-2010, 11:15
Chciałem dodać wyszukiwarkę google na stronę http://katalogfirm-poket.pl/ , ale ciągle pojawia się błąd. Strona jest napisana w html, ale jej elementy w php połączone z bazą sql. Jeżeli kod podany przez google wstawię poza kodem php działa, a wewnątrz nie. Jest jakiś błąd zapisu. Może ktoś doradzi.
Kod wyszukiwarki:
<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-bottom" style="background-color:#FFFFFF;color:#000000">
<div class="cse-branding-form">
<form action="http://www.google.pl/cse" id="cse-search-box" target="_blank" rel="nofollow">
<div>
<input type="hidden" name="cx" value="partner-pub-6489019908173891:wtcis7-72lc" />
<input type="hidden" name="ie" value="ISO-8859-2" />
<input type="text" name="q" size="8" />
<input type="submit" name="sa" value="Szukaj" />
</div>
</form>
</div>
<div class="cse-branding-logo">
<img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
</div>
<div class="cse-branding-text">
Twoja wyszukiwarka
</div>
</div>
Kod wyszukiwarki:
<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-bottom" style="background-color:#FFFFFF;color:#000000">
<div class="cse-branding-form">
<form action="http://www.google.pl/cse" id="cse-search-box" target="_blank" rel="nofollow">
<div>
<input type="hidden" name="cx" value="partner-pub-6489019908173891:wtcis7-72lc" />
<input type="hidden" name="ie" value="ISO-8859-2" />
<input type="text" name="q" size="8" />
<input type="submit" name="sa" value="Szukaj" />
</div>
</form>
</div>
<div class="cse-branding-logo">
<img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
</div>
<div class="cse-branding-text">
Twoja wyszukiwarka
</div>
</div>