Google Adsense ..

Good afternoon community friends.
I need a plugin to add the Google Adsense code, unfortunately WHAT tunha here in the community has not been updated.
Thank you all ...

  • 1)views\default\page\elements\adsense.php          

    adsense.php  code

     

    <?php

    echo '<script type="text/javascript"><!--

    google_ad_client = "ca-pub-*************";

    /* baner 728x90 */

    google_ad_slot = "********";

    google_ad_width = 728;

    google_ad_height = 90;

    //-->

    </script>

    <script type="text/javascript"

    src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;

    </script>

    ';

    2) views\default\page\default.php     

    default.php       To add a code

    $footer = elgg_view('page/elements/footer', $vars);

    $adsense = elgg_view('page/elements/adsense', $vars);

     

    <div class="elgg-page-header">

                                   <div class="elgg-inner">

                                                   <?php echo $header; ?>

                                   </div>

                    </div>

                    <div class="elgg-page-adsense">

            <div class="elgg-inner">

                <?php echo $adsense; ?>

            </div>

    3)views\default\page\elements \sidebar.php

    sidebar.php To add a code

    echo '<script type="text/javascript"><!--

    google_ad_client = " ca-pub-*************";

    /* Banner160x600 */

    google_ad_slot = "********";

    google_ad_width = 160;

    google_ad_height = 600;

    //-->

    </script>

    <script type="text/javascript"

    src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;

    </script>

    ';