Posted by Anonymous on Fri 24 Jul 19:53 (modification of post by
- <?php
- //Set our script to use $['INFO'] tags.
- include "conf_global/multiforums.config.inc.php";
- //Define our database connections
- $host = "localhost";
- $user = "ipbtest_ipb";
- $pass = "cono1616";
- $db = "ipbtest_ipb";
- //Open the database connection
- //Which database to use
- //Set our variables.
- $boardurl = $INFO['freeforum_board_access_name'];
- //Start our query
- //Go get the rows
- //What if
- if($row['adsDisabled'] == 0){
- echo "<center><script type='text/javascript'><!--
- google_ad_client = 'pub-8664046583357847';
- /* GeekBoads Forum Ads */
- google_ad_slot = '3884588789';
- google_ad_width = 728;
- google_ad_height = 90;
- //-->
- </script>
- <script type='text/javascript'
- src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
- </script></center>";
- }else{
- }
- ?>
The paste: http://php.pastebin.com/m3b3e75e4
Follow on Twitter!