<?php
/**
 * @name          : Joomla Social Pinboard
 * @version	  	  : 1.5.0
 * @package       : apptha
 * @since         : Joomla 1.5
 * @author        : Apptha - http://www.apptha.com
 * @copyright     : Copyright (C) 2011 Powered by Apptha
 * @license       : http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 * @abstract      : Social Pinboard Module header
 * @Creation Date : August 2013
 * @Modified Date : August 2013
 * */

defined('_JEXEC') or die('Direct Access to this location is not allowed.');

    foreach ($rows as $row)
	{
        echo "<div class='rightmodule-add'>";
        echo "<a target='_blank' href='" . $row->url . "'><img src='" . JURI::root() . "components/com_wishlogue/images/wishlogueadspace/" . $row->imagename . "'></a>";
        echo "</div>";
    }

	if( $googleads )
	{
	?>
		<div class='rightmodule-add'>
			<iframe id="google_ads_frame5"
					height="<?php echo $googleads->adheight; ?>" 
					frameborder="0" width="<?php echo $googleads->adwidth; ?>" scrolling="no" vspace="0"
					src="http://googleads.g.doubleclick.net/pagead/ads?client=ca-<?php echo $googleads->adclient; ?>&output=html&h=60&slotname=<?php echo $googleads->adslot; ?>&w=600&lmt=1333622642&flash=11.2.202&url=<?php echo JURI::base() . "index.php?option=com_wishlogue&view=wish&pinid=" . $pinDetails->pin_id ?>&dt=1333622642977&bpp=6&shv=r20120328&jsv=r20110914&correlator=1333622643047&frm=20&adk=2492369040&ga_vid=1889973982.1333622643&ga_sid=1333622643&ga_hid=582102500&ga_fc=0&u_tz=330&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=738&u_aw=1366&u_cd=24&u_nplug=8&u_nmime=59&dff=helvetica%20neue&dfs=13&adx=437&ady=51&biw=1349&bih=605&oid=3&fu=0&ifi=1&dtd=230&xpc=c7YrckmnJi&p="<?php echo JURI::base(); ?> 
					name="google_ads_frame5" marginwidth="0" marginheight="0" hspace="0" allowtransparency="true">
				<base target="_parent" />
			</iframe>
		</div>
	<?php
	}
	?>