Bu Kod Sayesinde Google Arama Çubuğunu login fromunun (Giriş Fromunu)altına yerleşre bileceğiz
index.template.php aç
// Otherwise they’re a guest - this time ask them to either register or login - lazy bums…
else
{
echo ‘
<script language=”JavaScript” type=”text/javascript” src=”‘, $settings[’default_theme_url’], ‘/sha1.js”></script>
<form action=”‘, $scripturl, ‘?action=login2″ method=”post” class=”middletext” style=”margin: 3px 1ex 1px 0;”‘, empty($context[’disable_login_hashing’]) ? ‘ onsubmit=”hashLoginPassword(this, \” . $context[’session_id’] . ‘\’);”‘ : ”, ‘>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”100%”>
<tr>
<td width=”32%” align=”left”><font style=”font-size: 7pt” color=”#FFFFFF”>’,$txt[35],’:</font></td>
<td width=”30%”><font style=”font-size: 7pt”><input type=”text” name=”user” id=”user” size=”13″ /></label></font></td>
<td width=”38%” align=”left”><input type=”checkbox” name=”cookieneverexp” id=”cookieneverexp” checked=”checked” class=”check” /><font style=”font-size: 7pt” color=”#FFFFFF”>Beni Hatirla?</font></td>
</tr>
<tr>
<td width=”32%” align=”left”><font style=”font-size: 7pt” color=”#FFFFFF”>’,$txt[36],’:</font></td>
<td width=”30%”><font style=”font-size: 7pt”><input type=”password” name=”passwrd” id=”passwrd” size=”13″ /></font></td>
<td width=”38%” align=”left”><font style=”font-size: 8pt”><input type=”submit” value=”‘, $txt[34], ‘” /></font></td>
</tr>
<table>
</form>’;
}
bul altına ekle
// Reklam Alanı By-Hortum-38
echo ‘<style type=”text/css”>
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class=”cse-branding-right” style=”background-color:#999999;color:#000000″>
<div class=”cse-branding-form”>
<form action=”http://forum.karanlikteam.net” id=”cse-search-box”>
<div>
<input type=”hidden” name=”cx” value=”partner-pub-9666525775458216:uoyres-ix4a” />
<input type=”hidden” name=”cof” value=”FORID:10″ />
<input type=”text” name=”q” size=”31″ />
<input type=”submit” name=”sa” value=”Ara” />
</div>
</form>
</div>
<div class=”cse-branding-logo”>
<img src=”http://www.google.com/images/poweredby_transparent/poweredby_999999.gif” alt=”Google” />
</div>
<div class=”cse-branding-text”>
Özel Arama
</div>
</div>
<div id=”cse-search-results”></div>
<script type=”text/javascript”>
var googleSearchIframeName = “cse-search-results”;
var googleSearchFormName = “cse-search-box”;
var googleSearchFrameWidth = 800;
var googleSearchDomain = “www.google.com.tr”;
var googleSearchPath = “/cse”;
</script>
<script type=”text/javascript” src=”http://www.google.com/afsonline/show_afs_search.js”></script>
‘;
Recent Comments