need help in editing a block

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   need help in editing a block
Amras_Ancalimon
CZ Super Newbie
Amras_Ancalimon has been a member for over 19 year's 19 Year Member
uk.gif
Occupation: Call Centre Customer Advisor
Age: 53
Gender: Male
Status: Offline
Joined: Oct 17, 2004
0.01 posts per day
Posts: 63
Points: 3,249
   
I need help in editing the Total Hits block to how I'd like it to look.
The main part of the original code is :



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

global $nukeurl, $prefix, $startdate, $db;

$row = $db->sql_fetchrow($db->sql_query("SELECT count FROM ".$prefix."_counter WHERE type='total' AND var='hits'"));
$content = "<font class=\"tiny\"><center>"._WERECEIVED."<br><a href=\"modules.php?name=Statistics\">$row[0]</a><br>"._PAGESVIEWS." $startdate</center></font>";

?>


I would like this image to replace the standard numerals for the count :



so that the overall block looks summat like



As far as I am aware the necessary code is:


<center>
We received
<br>
<IMG src="http://host.hardtofindauction.com/find/moonspell/flame/" width="132" height="31">
<br>
page views since <br>October 2004</center>


You can see the html version at [ Register or login to view links on this board.]



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum