<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="vbgooglesearchcloud" active="1">
	<title>vB Google Search Cloud</title>
	<description>Adds Google Search Cloud.</description>
	<version>1.0.5</version>
	<url />
	<versioncheckurl />
	<dependencies>
	</dependencies>
	<codes>
		<code version="1.0.0">
			<installcode><![CDATA[$db->hide_errors();
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "google_searches (`kw` varchar(255) NOT NULL default '', `url` varchar(255) NOT NULL default '',  `hits` bigint(20) NOT NULL default '0', PRIMARY KEY (`kw`)) ENGINE=MyISAM");
$db->show_errors();]]></installcode>
			<uninstallcode><![CDATA[$db->hide_errors();
$db->query_write("DROP TABLE " . TABLE_PREFIX . "google_searches");
$db->show_errors();]]></uninstallcode>
		</code>
	</codes>
	<templates>
		<template name="searchcloud" templatetype="template" date="1210373429" username="NeutralizeR" version="1.0.5"><![CDATA[<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
	<div class="smallfont" style="float:right">Son Yapılan 100 Arama Kelimesi</div>
	Google Arama Kelimeleri
	</td>
</tr>
<tr>
<td class="alt2" style="text-align:justify">

$vbsearchcloud <a href="http://forum.lider.tc/ "><font size="1">vBulletin</font></a>
</td>
</tr>
</table>]]></template>
	</templates>
	<plugins>
		<plugin active="1" executionorder="5">
			<title>vB Google Search Cloud 3</title>
			<hookname>cache_templates</hookname>
			<phpcode><![CDATA[$globaltemplates[] = 'searchcloud';]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>vB Google Search Cloud 1</title>
			<hookname>global_start</hookname>
			<phpcode><![CDATA[ob_start();
require_once('./search_cloud.php');
$s = new SearchCloud();
$s->handlePageHit();
$s->showCloud();
$vbsearchcloud = ob_get_contents();
ob_end_clean();]]></phpcode>
		</plugin>
		<plugin active="1" executionorder="5">
			<title>vB Google Search Cloud 2</title>
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[eval('$searchcloud = "' . fetch_template('searchcloud') . '";');]]></phpcode>
		</plugin>
	</plugins>
	<phrases>
	</phrases>
	<options>
	</options>
	<helptopics>
	</helptopics>
	<cronentries>
	</cronentries>
	<faqentries>
	</faqentries>
</product>

