jamyboy Posted June 16, 2013 Report Share Posted June 16, 2013 again same problem remains anyone can help please why all stats showing zero. this code is in frontpage_main.tpl should i have to put in layout.tpl? <div align="center"> <table class="qtable" width="200px" style="margin-left:-4px;"> <tbody> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Flights Today</strong> </div></td><br /> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label"><?php echo StatsData::totalflightstoday(); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Flights</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label"><?php echo StatsData::TotalFlights(); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Registrations Status</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="success label">OPEN</span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Pilots</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="center"><span class="label">375</span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Passengers Carried</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalPaxCarried (); ?></span></div></td> </tr><tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Aircraft</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalAircraftInFleet () ; ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Total Schedules</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="label"><?php echo StatsData::TotalSchedules (); ?></span></div></td> </tr> <tr> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"> <strong>Pending Applications</strong> </div></td> <td style="border-bottom:1px dashed #CDCDCD;"><div align="left"><span class="alert label"><?php echo count(PilotData::GetPendingPilots())?></span></div></td> Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 16, 2013 Members Report Share Posted June 16, 2013 Your code is correct. Try to go to go admin page - > Site and settings -> maintenance Options and clik on Clear Cache and report if it is ok Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 16, 2013 Author Report Share Posted June 16, 2013 Your code is correct. Try to go to go admin page - > Site and settings -> maintenance Options and clik on Clear Cache and report if it is ok i have cleared the cache 2 times and also done recounting from maintenance options with no luck dont no where exactly is the problem what causing not to display stats accurately any IDEA? Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 16, 2013 Members Report Share Posted June 16, 2013 Can you please send me a zip of your template and a backup of your db ? Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 16, 2013 Author Report Share Posted June 16, 2013 Can you please send me a zip of your template and a backup of your db ? yea sure can you plz give me your email iD? Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 16, 2013 Members Report Share Posted June 16, 2013 info(at)baggelis.com Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 16, 2013 Author Report Share Posted June 16, 2013 btw can you please help me in this http://forum.phpvms.net/topic/9193-search-schedules-by-airlines/ Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 16, 2013 Members Report Share Posted June 16, 2013 most propably i might be able to help i just need the info so i can work on actual data Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 17, 2013 Author Report Share Posted June 17, 2013 info(at)baggelis.com check your mail inbox i sent you the requested files already? Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 17, 2013 Author Report Share Posted June 17, 2013 BUMP ANYONE PLEASE HELP Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 17, 2013 Author Report Share Posted June 17, 2013 most propably i might be able to help i just need the info so i can work on actual data i send you mail already what happened? Quote Link to comment Share on other sites More sharing options...
jacktimo Posted June 22, 2013 Report Share Posted June 22, 2013 Can you please send me a zip of your template and a backup of your db ? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted June 25, 2013 Moderators Report Share Posted June 25, 2013 Are you getting any errors? Cause it's working just fine on my side. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 25, 2013 Members Report Share Posted June 25, 2013 i resended an email back that i am not able to download the database as you have it private on mediashare your template with mine setup is working fine and i only corrected the sum of the pilots and sended back the template. also Are you getting any errors? Cause it's working just fine on my side. Parkho's is working asswel Please check your email or else tell me to send it again. 1 Quote Link to comment Share on other sites More sharing options...
jamyboy Posted June 25, 2013 Author Report Share Posted June 25, 2013 I would like Thanks everyone who so ever has responded and tried to help me my problem solved thanks to vangelis. SOLVED Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted June 25, 2013 Members Report Share Posted June 25, 2013 Nice that i helped you. What was it btw ? because i didnt do anything Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.