eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Earn your money online safely here at eMoneySpace. Dec 05, 2022 01:08 am




solved
Print
Author Topic: solved  (Read 1262 times)
cashtravel
Reputation: (+19)
*

Offline

Gender: Male
Posts: 5771
Referrals: 0

Admin of CashTravel

View Profile WWW
Jan 19, 2014 03:50 am

solved
« Last Edit: Jan 19, 2014 10:30 am by cashtravel » Logged

ptc2013
Reputation: (+45)
*

Offline

Posts: 2732
Referrals: 2


View Profile WWW
Reply #1: Jan 19, 2014 04:07 am

+1 me also
Logged


Nobody123
Reputation: (+71)
*

Offline

Gender: Male
Posts: 5536
Referrals: 4

View Profile
Reply #2: Jan 19, 2014 08:37 am

You mean Total Ads Viewed By Members/Total Hits to ads(Like i have on my Site) or Total Hits on Site?

For Total Ads Viewed
Goto Layout.php
In between other stats add

Code:
     
      <li><?php echo number_format($total_clicks[clicks]); ?> Ads Viewed</li>[/b]
        

Goto home.php
After 
Code:
<? //// DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOUR DOING

Add


 
Code:
$sql=$Db1->query("SELECT SUM(stats.clicked) AS clicks FROM stats");
$total_clicks=$Db1->fetch_array($sql);
« Last Edit: Jan 19, 2014 08:38 am by Nobody123 » Logged

Banned on Request! Goodbye EMS had a good time <3
cashtravel
Reputation: (+19)
*

Offline

Gender: Male
Posts: 5771
Referrals: 0

Admin of CashTravel

View Profile WWW
Reply #3: Jan 19, 2014 09:47 am

solved...
« Last Edit: Jan 19, 2014 10:30 am by cashtravel » Logged

Print
 
Jump to:  
Copyright © 2008-2022 eMoneySpace. All rights reserved.