Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.8
Author Message
salsaGalaxy
Regular
Regular



Joined: Mar 21, 2004
Posts: 54
Location: Bucharest, Romania

PostPosted: Wed May 12, 2004 7:09 am Reply with quote

I have this in my footer.php
Code:


<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi("footer.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

$footer = 1;

function footmsg() {
    global $foot1, $foot2, $foot3, $copyright, $total_time, $start_time;
    $mtime = microtime();
    $mtime = explode(" ",$mtime);
    $mtime = $mtime[1] + $mtime[0];
    $end_time = $mtime;
    $total_time = ($end_time - $start_time);
    $total_time = ""._PAGEGENERATION." ".substr($total_time,0,5)." "._SECONDS."";
    echo "<font class=\"footmsg\">\n";
    if ($foot1 != "") {
   echo "$foot1<br>\n";
    }
    if ($foot2 != "") {
   echo "$foot2<br>\n";
    }
    if ($foot3 != "") {
   echo "$foot3<br>\n";
    }

    // DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
    echo "$copyright<br>$total_time<br>\n</font>\n";
}

function foot() {
    global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name;
    if ($home == 1) {
   blocks(Down);
    }
    if ($module == 1 AND file_exists("modules/$name/copyright.php")) {
   $cpname = ereg_replace("_", " ", $name);
   echo "<div align=\"right\"><a href=\"javascript:openwindow()\">$cpname &copy;</a></div>";
    }
    themefooter();
    echo "</body>\n"
   ."</html>";
    die();
}

foot();

?>


and i want to put this code in my flie footer.php
Code:


<!-- BEGIN trafic.ro code v2.0 -->
<script>t_rid="salsagalaxycom";</script>
<script src="http://storage.trafic.ro/js/trafic.js"></script>
<noscript><a href="http://www.trafic.ro/top/?rid=salsagalaxycom">
<img src="http://log.trafic.ro/cgi-bin/pl.dll?rid=salsagalaxycom"
 border=0 alt="trafic ranking"></a></noscript>
<!-- END trafic.ro code v2.0 -->


.....it's possible ???? how?? which is correctly code?
i can't ...i have some errors ....you have an ideea....or must tu include this javascript in another file???


My dream is to implemented this script in my Site_info block ...but i don't know how!Raven ...maybe you will have a solution!

thanks in advanced

_________________
Salsa Forever! [ Only registered users can see links on this board! Get registered or login! ] - where salsa is our life style! 
View user's profile Send private message Visit poster's website
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed May 12, 2004 12:49 pm Reply with quote

Thats a site meter? There are some nice modules for tracking/analysis of traffic to your site without the need for images to appear on your website. Just an idea.
MS Analysis
IP tracking are a couple of good ones.

_________________
Image
Need a quality custom theme designed? PM me!
 
View user's profile Send private message Visit poster's website
salsaGalaxy







PostPosted: Wed May 12, 2004 1:04 pm Reply with quote

yes is the site meter .....i have some analysis for my site ...but my interest is that: my site to be listed in that site meter .......
in my country more people navigate on this site meter and they'll navigate in my site from this site meter.....

sorry for my english
thanks
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed May 12, 2004 1:41 pm Reply with quote

Code:


echo "<script>";
echo "t_rid=\"salsagalaxycom\";";
echo "</script>";
echo "<script src=\"http://storage.trafic.ro/js/trafic.js\"></script>";
echo "<noscript><a href=\"http://www.trafic.ro/top/?rid=salsagalaxycom\"><img src=\"http://log.trafic.ro/cgi-bin/pl.dll?rid=salsagalaxycom\" border=0 alt='trafic ranking'></a></noscript>";


Try something like that you may want to put it in a div or something so you can control the alignment. Probably after the copryright stuff would be a good place.
 
View user's profile Send private message
salsaGalaxy







PostPosted: Thu May 13, 2004 4:05 am Reply with quote

thanks very much ......victory!
a beer or a coke please for my friend !Smile)

a nice weekend!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.8

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©