Advertisement:
A2Hosting

Author Topic: Arama yerine google arama motoru ekleyin  (Read 8613 times)

Offline cyazar

  • Newbie
  • *
  • Posts: 1
Arama yerine google arama motoru ekleyin
« on: October 02, 2009, 03:41:16 PM »
Themes/default/index.template.php not defter ile aç
aşağıdeki kodu bul google arama kodu olarak değiştir problem yoktur güle güle kullan  :)


Bul
Code: [Select]
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
<a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form>