Petey Pablo 0 Posted May 14, 2017 How to add or what the right location of this PHP file for the google adsense code to fluxcp like the image below? Thanks Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 14, 2017 There's file called footer.php Quote Share this post Link to post Share on other sites
0 Petey Pablo 0 Posted May 14, 2017 (edited) There's file called footer.php Help me to add this code: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-6857569228541599", enable_page_level_ads: true }); </script> To this my footer.php <?php if (!defined('FLUX_ROOT')) exit; ?> </div> <div class="containerMiddleBottom"></div> <div class="clear"></div> </div> <!-- contianer middle --> <div class="containerRight"> <div class="accountPanel"><?php include('main/loginpanel.php'); ?></div> <div class="gotmRanking"> <?php include('main/halloffame.php'); ?> </div> <div class="rankingButton"> <ul> <li><a href="<?php echo $this->url('main','guildranking'); ?>"><img src="<?php echo $this->themePath('img/rankingButtons.png'); ?>"></a></li> <li><a href="<?php echo $this->url('main','pvpranking'); ?>"><img src="<?php echo $this->themePath('img/rankingButtons.png'); ?>"></a></li> </ul> </div> </div> <div class="clear"></div> </div> <!-- container end --> <div id="footer"> <div class="navigationBottom"> <ul> <li><a href="<?php echo $this->url ('main');?>" style="color:#66583a; font-size: 12px;">Home</a></li> <li><a href="<?php echo $this->url('pages','content',array('path'=>'staff'));?>"style="color:#66583a;font-size: 12px;">Staff</a></li> <li><a href="<?php echo $this->url ('purchase');?>"style="color:#66583a;font-size: 12px;">Buy Items</a></li> <li><a href="<?php echo $this->url('pages','content',array('path'=>'info'));?>"style="color:#66583a;font-size: 12px;">Server Info</a></li> <li><a href="<?php echo $this->url('pages','content',array('path'=>'rules'));?>"style="color:#66583a;font-size: 12px;">Rules</a></li> <li><a href="<?php echo $EADev['forum'];?>"style="color:#66583a;font-size: 12px;">Forum</a></li> <li><a href="<?php echo $this->url ('account','create');?>"style="color:#fff;"><h4>Register</h4></a></li> <li><a href="<?php echo $this->url('pages','content',array('path'=>'download'));?>" style="color:#fff;"><h4>Download</a></li> </ul> <div class="clear"></div> </div> <div class="copyRight"> <div class="left"> <h4>Copyright 2016 Will Ragnarok Online</h4> <p> All registered trademarks belong to their respective owners. Ragnarok Online and all related content are property of Gravity & Lee Myoungjin (Studio DTDS). </p> </div> <div class="right"> <a href="http://www.ro-services.com" target="_blank"><img src="<?php echo $this->themePath('img/roservices.png'); ?>" alt="" width="80"></a> <a href="" target="http://www.ro-services.com"><img src="<?php echo $this->themePath('img/shiju.png'); ?>" alt="" width="50"></a> </div> </div> </div> </div> <!-- main end --> </div> <!-- wrapper end --> </body> </html> Edited May 14, 2017 by Will Su Quote Share this post Link to post Share on other sites
How to add or what the right location of this PHP file for the google adsense code to fluxcp like the image below? Thanks
Share this post
Link to post
Share on other sites