Açıklama : Footerda pagerank bilgileri görüntülenir..
Kod:
################################################################################
##
## Hack Title: Display Pagerank by URL
## Hack Version: 1.0.0
## Hack Author: AmigaLink < [email protected] > (Markus Schmidt) http://www.EssenMitFreude.info
## Hack Description: Displays the Google Pagerank in the phpBB-Footer
##
##
##
##
## Installation Level: Easy
## Installation Time: 2 Minutes
##
## Files To Edit: 2
## includes/page_tail.php
## templates/subSilver/overall_footer.tpl
##
##
## Author Notes: Bu modu kullanabilmeniz için http://www.ranking-hits.de adresine üye olmalısınız..
##
################################################################################
## The following sites also contain the latest version of this MOD:
##
## http://www.AmigaLink.de
##
## Full support for this MOD can be obtained at:
##
## http://www.AmigaLink.de
##
################################################################################
##
## This hack is released under the GPL License.
## This hack can be freely used, but not distributed, without permission.
## Intellectual Property Rights are retained by the hack author(s)
## listed above.
##
################################################################################
##
## BEFORE ADDING THIS HACK TO YOUR FORUM, please be sure to backup ALL
## affected files.
##
################################################################################
#
#----------[ PLEASE NOTE ]------------------------------
#
# Domaininizi http://www.ranking-hits.de adresine kayıt ettirin.
#
# The code ist for 3 Domains. If you have more or less, you must add or delete a part like:
## else if ( $usedurl == 'www.yourdomain.de' || $usedurl == 'yourdomain.de' )
## {
## $template->assign_vars(array(
## 'PAGERANK' => 'Pagerank: <a href="http://www.ranking-hits.de/" title="WEBMASTER SERVICES" target="_blank"><img src="http://www.ranking-hits.de/?ref=www.yourdomain.de&style=5" alt="PAGERANK-SERVICE" border="0"></a><br />')
## );
## }
#
# yourdomain.xx girdilerini kendi domaininiz ile değiştirin..
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#
//
// Show the overall footer.
//
#
#-----[ AFTER, ADD ]------------------------------------
#
// Pagerank by URL
$usedurl = $_SERVER['HTTP_HOST'];
if ( $usedurl == 'www.yourdomain.com' || $usedurl == 'yourdomain.com' )
{
$template->assign_vars(array(
'PAGERANK' => 'Pagerank: <a href="http://www.ranking-hits.de/" title="WEBMASTER SERVICES" target="_blank"><img src="http://www.ranking-hits.de/?ref=www.yourdomain.com&style=5" alt="PAGERANK-SERVICE" border="0"></a><br />')
);
}
else if ( $usedurl == 'www.yourdomain.net' || $usedurl == 'yourdomain.net' )
{
$template->assign_vars(array(
'PAGERANK' => 'Pagerank: <a href="http://www.ranking-hits.de/" title="WEBMASTER SERVICES" target="_blank"><img src="http://www.ranking-hits.de/?ref=www.yourdomain.net&style=5" alt="PAGERANK-SERVICE" border="0"></a><br />')
);
}
else if ( $usedurl == 'www.yourdomain.de' || $usedurl == 'yourdomain.de' )
{
$template->assign_vars(array(
'PAGERANK' => 'Pagerank: <a href="http://www.ranking-hits.de/" title="WEBMASTER SERVICES" target="_blank"><img src="http://www.ranking-hits.de/?ref=www.yourdomain.de&style=5" alt="PAGERANK-SERVICE" border="0"></a><br />')
);
}
else
{
$template->assign_vars(array(
'PAGERANK' => '')
);
}
// Pagerank by URL
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_footer.tpl
#
#-----[ FIND ]------------------------------------------
#
Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span>
#
#-----[ BEFORE, ADD ]-----------------------------------
#
{PAGERANK}
#
#----------[ SAVE/CLOSE ALL FILES ]-----------------
#
# EoM

