PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
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 Back to top

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
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 Back to top

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.
View user's profile Send private message Visit poster's website
salsaGalaxy
Regular
Regular


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

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

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
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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
Regular
Regular


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

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

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

a nice weekend!
View user's profile Send private message Visit poster's website
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum