como hago para istalarla? :?:
cuando entro al index de la carpeta istall que subi me sale esto:
1.
<?php
2.
//===========================================================================\\
3.
// Aardvark Topsites PHP 5 \\
4.
// Copyright (c) 2003-2006 Jeremy Scheff. All rights reserved. \\
5.
//---------------------------------------------------------------------------\\
6.
// [url]http://www.aardvarktopsitesphp.com/[/url] [url]http://www.avatic.com/[/url] \\
7.
//---------------------------------------------------------------------------\\
8.
// This program is free software; you can redistribute it and/or modify it \\
9.
// under the terms of the GNU General Public License as published by the \\
10.
// Free Software Foundation; either version 2 of the License, or (at your \\
11.
// option) any later version. \\
12.
// \\
13.
// This program is distributed in the hope that it will be useful, but \\
14.
// WITHOUT ANY WARRANTY; without even the implied warranty of \\
15.
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General \\
16.
// Public License for more details. \\
17.
//===========================================================================\\
18.
19.
// Help prevent register_globals injection
20.
define('ATSPHP', 1);
21.
$CONF = array();
22.
$FORM = array();
23.
$TMPL = array();
24.
25.
// Change the path to your full path if necessary
26.
$CONF['path'] = '..';
27.
28.
// Combine the GET and POST input
29.
$FORM = array_merge($_GET, $_POST);
30.
31.
if (!isset($FORM['l'])) {
32.
$TMPL['content'] = <<<EndHTML
33.
Please select your language.
34.
<form action="index.php" method="get">
35.
<select name="l">
36.
EndHTML;
37.
$languages = array();
38.
$dir = opendir("{$CONF['path']}/languages/");
39.
while (false !== ($file = readdir($dir))) {
40.
$file = str_replace('.php', '', $file);
41.
if (is_file("{$CONF['path']}/languages/{$file}.php")) {
42.
require "{$CONF['path']}/languages/{$file}.php";
43.
$languages[$file] = $translation;
44.
}
45.
}
46.
natcasesort($languages);
47.
foreach ($languages as $file => $translation) {
48.
if ($file == 'english') {
49.
$TMPL['content'] .= "<option value=\"{$file}\" selected=\"selected\">{$translation}</option>\n";
50.
}
51.
else {
52.
$TMPL['content'] .= "<option value=\"{$file}\">{$translation}</option>\n";
53.
}
54.
}
55.
require "{$CONF['path']}/languages/english.php";
56.
$TMPL['content'] .= <<<EndHTML
57.
</select>
58.
<input type="submit" value="Go" />
59.
</form>
60.
EndHTML;
61.
}
62.
elseif (!isset($FORM['submit'])) {
63.
require_once("{$CONF['path']}/languages/{$FORM['l']}.php");
64.
65.
$path = str_replace('/install/index.php', '', $_SERVER['PHP_SELF']);
66.
$list_url = "http://{$_SERVER['HTTP_HOST']}{$path}";
67.
68.
$dir = opendir("{$CONF['path']}/sources/sql/");
69.
while (false !== ($file = readdir($dir))) {
70.
if ($file != '.' && $file != '..' && !is_dir("{$CONF['path']}/sources/sql/{$file}")) {
71.
$file = str_replace('.php', '', $file);
72.
require "{$CONF['path']}/sources/sql/{$file}.php";
73.
$sql_menu = "<option value=\"{$file}\">{$database}</option>\n";
74.
}
75.
}
76.
77.
$TMPL['content'] = <<<EndHTML
78.
{$LNG['install_welcome']}
79.
<form action="index.php" method="post">
80.
<input name="l" type="hidden" value="{$FORM['l']}" />
81.
<fieldset>
82.
<legend>{$LNG['a_s_general']}</legend>
83.
<label>{$LNG['a_s_admin_password']}
84.
<input name="admin_password" type="password" size="20" />
85.
</label>
86.
<label>{$LNG['a_s_list_url']}
87.
<input name="list_url" type="text" size="50" value="{$list_url}" />
88.
</label>
89.
<label>{$LNG['a_s_your_email']}
90.
<input name="your_email" type="text" size="50" />
91.
</label>
92.
</fieldset>
93.
<fieldset>
94.
<legend>{$LNG['a_s_sql']}</legend>
95.
<label>{$LNG['a_s_sql_type']}
96.
<select name="sql">
97.
$sql_menu</select>
98.
</label>
99.
<label>{$LNG['a_s_sql_host']}
100.
<input name="sql_host" type="text" size="20" value="localhost" />
101.
</label>
102.
<label>{$LNG['a_s_sql_database']}
103.
<input name="sql_database" type="text" size="20" />
104.
</label>
105.
<label>{$LNG['a_s_sql_username']}
106.
<input name="sql_username" type="text" size="20" />
107.
</label>
108.
<label>{$LNG['a_s_sql_password']}
109.
<input name="sql_password" type="password" size="20" />
110.
</label>
111.
<label>{$LNG['install_sql_prefix']}
112.
<input name="sql_prefix" type="text" size="20" value="ats" />
113.
</label>
114.
<input name="submit" type="submit" value="{$LNG['install_header']}" />
115.
</fieldset>
116.
</form>
117.
EndHTML;
118.
}
119.
else {
120.
require_once("{$CONF['path']}/languages/{$FORM['l']}.php");
121.
122.
require_once("{$CONF['path']}/sources/sql/{$FORM['sql']}.php");
123.
$DB = new sql;
124.
125.
if ($DB->connect($FORM['sql_host'], $FORM['sql_username'], $FORM['sql_password'], $FORM['sql_database'])) {
126.
$default_language = $DB->escape($FORM['l']);
127.
$admin_password = md5($FORM['admin_password']);
128.
$list_url = $DB->escape($FORM['list_url']);
129.
$your_email = $DB->escape($FORM['your_email']);
130.
131.
$file = "{$CONF['path']}/settings_sql.php";
132.
if ($fh = @fopen($file, 'w')) {
133.
$settings_sql = <<<EndHTML
134.
<?php
135.
\$CONF['sql'] = '{$FORM['sql']}';
136.
\$CONF['sql_host'] = '{$FORM['sql_host']}';
137.
\$CONF['sql_database'] = '{$FORM['sql_database']}';
138.
\$CONF['sql_username'] = '{$FORM['sql_username']}';
139.
\$CONF['sql_password'] = '{$FORM['sql_password']}';
140.
\$CONF['sql_prefix'] = '{$FORM['sql_prefix']}';
141.
?>
142.
EndHTML;
143.
fwrite($fh, $settings_sql);
144.
fclose($fh);
145.
require_once("{$CONF['path']}/settings_sql.php");
146.
147.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_settings` (
148.
`list_name` varchar(255) default 'My Topsites List',
149.
`list_url` varchar(255) default '',
150.
`default_language` varchar(255) default '',
151.
`default_skin` varchar(255) default 'fusion',
152.
`your_email` varchar(255) default '',
153.
`num_list` int(5) default 10,
154.
`ranking_period` varchar(7) default 'daily',
155.
`ranking_method` varchar(255) default 'pv',
156.
`ranking_average` tinyint(1) default 1,
157.
`featured_member` tinyint(1) default 0,
158.
`top_skin_num` int(5) default 2,
159.
`ad_breaks` varchar(255) default '',
160.
`active_default` tinyint(1) default 1,
161.
`active_default_review` tinyint(1) default 1,
162.
`delete_after` int(5) default 14,
163.
`email_admin_on_join` tinyint(1) default 0,
164.
`email_admin_on_review` tinyint(1) default 0,
165.
`max_banner_width` int(4) default 0,
166.
`max_banner_height` int(4) default 0,
167.
`default_banner` varchar(255) default '',
168.
`ranks_on_buttons` tinyint(1) default 1,
169.
`button_url` varchar(255) default '',
170.
`button_dir` varchar(255) default '',
171.
`button_ext` varchar(255) default 'png',
172.
`button_num` int(3) default 5,
173.
`google_friendly_links` tinyint(1) default '1',
174.
`search` tinyint(1) default 1,
175.
`time_offset` int(2) default 0,
176.
`gateway` tinyint(1) default 1,
177.
`captcha` tinyint(1) default 1
178.
)", __FILE__, __LINE__);
179.
$DB->query("INSERT INTO {$CONF['sql_prefix']}_settings (list_url, default_language, your_email, default_banner, button_url, button_dir)
180.
VALUES ('{$list_url}', '{$default_language}', '{$your_email}', '{$list_url}/images/button.png', '{$list_url}/images/button.png', '{$list_url}/images')", __FILE__, __LINE__);
181.
182.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_bad_words` (
183.
`id` int(10) unsigned NOT NULL,
184.
`word` varchar(255),
185.
`replacement` varchar(255),
186.
`matching` tinyint(1),
187.
PRIMARY KEY (`id`)
188.
)", __FILE__, __LINE__);
189.
190.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_custom_pages` (
191.
`id` varchar(255) default '' NOT NULL,
192.
`title` varchar(255) default '',
193.
`content` text,
194.
PRIMARY KEY (`id`)
195.
)", __FILE__, __LINE__);
196.
197.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_etc` (
198.
`admin_password` varchar(32) default '',
199.
`last_new_day` tinyint(4) default 0,
200.
`last_new_week` tinyint(4) default 0,
201.
`last_new_month` tinyint(4) default 0
202.
)", __FILE__, __LINE__);
203.
$DB->query("INSERT INTO {$CONF['sql_prefix']}_etc (admin_password) VALUES ('{$admin_password}')", __FILE__, __LINE__);
204.
205.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_categories` (
206.
`category` varchar(255) default '' NOT NULL,
207.
`skin` varchar(255) default '',
208.
PRIMARY KEY (`category`)
209.
)", __FILE__, __LINE__);
210.
$DB->query("INSERT INTO {$CONF['sql_prefix']}_categories (category) VALUES ('Category')", __FILE__, __LINE__);
211.
212.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_ip_log` (
213.
`ip_address` varchar(32) default '' NOT NULL,
214.
`username` varchar(255) default '' NOT NULL,
215.
`unq_pv` tinyint(1) default 0,
216.
`unq_in` tinyint(1) default 0,
217.
`unq_out` tinyint(1) default 0,
218.
`rate` tinyint(1) default 0,
219.
PRIMARY KEY (`ip_address`,`username`)
220.
)", __FILE__, __LINE__);
221.
222.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_reviews` (
223.
`username` varchar(255) default '',
224.
`id` bigint(20) unsigned default 0 NOT NULL,
225.
`date` datetime default '0000-00-00 00:00:00',
226.
`review` text,
227.
`active` tinyint(1) default 1,
228.
PRIMARY KEY (`id`)
229.
)", __FILE__, __LINE__);
230.
231.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_sessions` (
232.
`type` varchar(7) default '',
233.
`sid` varchar(32) default '' NOT NULL,
234.
`time` int(10) unsigned default 0,
235.
`data` varchar(255) default '',
236.
PRIMARY KEY (`sid`)
237.
)", __FILE__, __LINE__);
238.
239.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_sites` (
240.
`username` varchar(255) default '' NOT NULL,
241.
`password` varchar(32) default '',
242.
`url` varchar(255) default '',
243.
`short_url` varchar(255) default '',
244.
`title` varchar(255) default '',
245.
`description` varchar(255) default '',
246.
`category` varchar(255) default '',
247.
`banner_url` varchar(255) default '',
248.
`email` varchar(255) default '',
249.
`join_date` date default '0000-00-00',
250.
`active` tinyint(1) default 1,
251.
`openid` tinyint(1) default 0,
252.
PRIMARY KEY (`username`)
253.
)", __FILE__, __LINE__);
254.
255.
$DB->query("CREATE TABLE `{$CONF['sql_prefix']}_stats` (
256.
`username` varchar(255) default '' NOT NULL,
257.
`rank_cache` bigint(20) unsigned default 0,
258.
`rank_cache_time` int(10) unsigned default 0,
259.
`old_rank` bigint(20) unsigned default 0,
260.
`days_inactive` int(10) unsigned default 0,
261.
`total_rating` bigint(20) unsigned default 0,
262.
`num_ratings` bigint(20) unsigned default 0,
263.
`unq_pv_overall` bigint(20) unsigned default 0,
264.
`tot_pv_overall` bigint(20) unsigned default 0,
265.
`unq_in_overall` bigint(20) unsigned default 0,
266.
`tot_in_overall` bigint(20) unsigned default 0,
267.
`unq_out_overall` bigint(20) unsigned default 0,
268.
`tot_out_overall` bigint(20) unsigned default 0,
269.
`unq_pv_0_daily` bigint(20) unsigned default 0,
270.
`unq_pv_1_daily` bigint(20) unsigned default 0,
271.
`unq_pv_2_daily` bigint(20) unsigned default 0,
272.
`unq_pv_3_daily` bigint(20) unsigned default 0,
273.
`unq_pv_4_daily` bigint(20) unsigned default 0,
274.
`unq_pv_5_daily` bigint(20) unsigned default 0,
275.
`unq_pv_6_daily` bigint(20) unsigned default 0,
276.
`unq_pv_7_daily` bigint(20) unsigned default 0,
277.
`unq_pv_8_daily` bigint(20) unsigned default 0,
278.
`unq_pv_9_daily` bigint(20) unsigned default 0,
279.
`unq_pv_max_daily` bigint(20) unsigned default 0,
280.
`tot_pv_0_daily` bigint(20) unsigned default 0,
281.
`tot_pv_1_daily` bigint(20) unsigned default 0,
282.
`tot_pv_2_daily` bigint(20) unsigned default 0,
283.
`tot_pv_3_daily` bigint(20) unsigned default 0,
284.
`tot_pv_4_daily` bigint(20) unsigned default 0,
285.
`tot_pv_5_daily` bigint(20) unsigned default 0,
286.
`tot_pv_6_daily` bigint(20) unsigned default 0,
287.
`tot_pv_7_daily` bigint(20) unsigned default 0,
288.
`tot_pv_8_daily` bigint(20) unsigned default 0,
289.
`tot_pv_9_daily` bigint(20) unsigned default 0,
290.
`tot_pv_max_daily` bigint(20) unsigned default 0,
291.
`unq_in_0_daily` bigint(20) unsigned default 0,
292.
`unq_in_1_daily` bigint(20) unsigned default 0,
293.
`unq_in_2_daily` bigint(20) unsigned default 0,
294.
`unq_in_3_daily` bigint(20) unsigned default 0,
295.
`unq_in_4_daily` bigint(20) unsigned default 0,
296.
`unq_in_5_daily` bigint(20) unsigned default 0,
297.
`unq_in_6_daily` bigint(20) unsigned default 0,
298.
`unq_in_7_daily` bigint(20) unsigned default 0,
299.
`unq_in_8_daily` bigint(20) unsigned default 0,
300.
`unq_in_9_daily` bigint(20) unsigned default 0,
301.
`unq_in_max_daily` bigint(20) unsigned default 0,
302.
`tot_in_0_daily` bigint(20) unsigned default 0,
303.
`tot_in_1_daily` bigint(20) unsigned default 0,
304.
`tot_in_2_daily` bigint(20) unsigned default 0,
305.
`tot_in_3_daily` bigint(20) unsigned default 0,
306.
`tot_in_4_daily` bigint(20) unsigned default 0,
307.
`tot_in_5_daily` bigint(20) unsigned default 0,
308.
`tot_in_6_daily` bigint(20) unsigned default 0,
309.
`tot_in_7_daily` bigint(20) unsigned default 0,
310.
`tot_in_8_daily` bigint(20) unsigned default 0,
311.
`tot_in_9_daily` bigint(20) unsigned default 0,
312.
`tot_in_max_daily` bigint(20) unsigned default 0,
313.
`unq_out_0_daily` bigint(20) unsigned default 0,
314.
`unq_out_1_daily` bigint(20) unsigned default 0,
315.
`unq_out_2_daily` bigint(20) unsigned default 0,
316.
`unq_out_3_daily` bigint(20) unsigned default 0,
317.
`unq_out_4_daily` bigint(20) unsigned default 0,
318.
`unq_out_5_daily` bigint(20) unsigned default 0,
319.
`unq_out_6_daily` bigint(20) unsigned default 0,
320.
`unq_out_7_daily` bigint(20) unsigned default 0,
321.
`unq_out_8_daily` bigint(20) unsigned default 0,
322.
`unq_out_9_daily` bigint(20) unsigned default 0,
323.
`unq_out_max_daily` bigint(20) unsigned default 0,
324.
`tot_out_0_daily` bigint(20) unsigned default 0,
325.
`tot_out_1_daily` bigint(20) unsigned default 0,
326.
`tot_out_2_daily` bigint(20) unsigned default 0,
327.
`tot_out_3_daily` bigint(20) unsigned default 0,
328.
`tot_out_4_daily` bigint(20) unsigned default 0,
329.
`tot_out_5_daily` bigint(20) unsigned default 0,
330.
`tot_out_6_daily` bigint(20) unsigned default 0,
331.
`tot_out_7_daily` bigint(20) unsigned default 0,
332.
`tot_out_8_daily` bigint(20) unsigned default 0,
333.
`tot_out_9_daily` bigint(20) unsigned default 0,
334.
`tot_out_max_daily` bigint(20) unsigned default 0,
335.
`unq_pv_0_weekly` bigint(20) unsigned default 0,
336.
`unq_pv_1_weekly` bigint(20) unsigned default 0,
337.
`unq_pv_2_weekly` bigint(20) unsigned default 0,
338.
`unq_pv_3_weekly` bigint(20) unsigned default 0,
339.
`unq_pv_4_weekly` bigint(20) unsigned default 0,
340.
`unq_pv_5_weekly` bigint(20) unsigned default 0,
341.
`unq_pv_6_weekly` bigint(20) unsigned default 0,
342.
`unq_pv_7_weekly` bigint(20) unsigned default 0,
343.
`unq_pv_8_weekly` bigint(20) unsigned default 0,
344.
`unq_pv_9_weekly` bigint(20) unsigned default 0,
345.
`unq_pv_max_weekly` bigint(20) unsigned default 0,
346.
`tot_pv_0_weekly` bigint(20) unsigned default 0,
347.
`tot_pv_1_weekly` bigint(20) unsigned default 0,
348.
`tot_pv_2_weekly` bigint(20) unsigned default 0,
349.
`tot_pv_3_weekly` bigint(20) unsigned default 0,
350.
`tot_pv_4_weekly` bigint(20) unsigned default 0,
351.
`tot_pv_5_weekly` bigint(20) unsigned default 0,
352.
`tot_pv_6_weekly` bigint(20) unsigned default 0,
353.
`tot_pv_7_weekly` bigint(20) unsigned default 0,
354.
`tot_pv_8_weekly` bigint(20) unsigned default 0,
355.
`tot_pv_9_weekly` bigint(20) unsigned default 0,
356.
`tot_pv_max_weekly` bigint(20) unsigned default 0,
357.
`unq_in_0_weekly` bigint(20) unsigned default 0,
358.
`unq_in_1_weekly` bigint(20) unsigned default 0,
359.
`unq_in_2_weekly` bigint(20) unsigned default 0,
360.
`unq_in_3_weekly` bigint(20) unsigned default 0,
361.
`unq_in_4_weekly` bigint(20) unsigned default 0,
362.
`unq_in_5_weekly` bigint(20) unsigned default 0,
363.
`unq_in_6_weekly` bigint(20) unsigned default 0,
364.
`unq_in_7_weekly` bigint(20) unsigned default 0,
365.
`unq_in_8_weekly` bigint(20) unsigned default 0,
366.
`unq_in_9_weekly` bigint(20) unsigned default 0,
367.
`unq_in_max_weekly` bigint(20) unsigned default 0,
368.
`tot_in_0_weekly` bigint(20) unsigned default 0,
369.
`tot_in_1_weekly` bigint(20) unsigned default 0,
370.
`tot_in_2_weekly` bigint(20) unsigned default 0,
371.
`tot_in_3_weekly` bigint(20) unsigned default 0,
372.
`tot_in_4_weekly` bigint(20) unsigned default 0,
373.
`tot_in_5_weekly` bigint(20) unsigned default 0,
374.
`tot_in_6_weekly` bigint(20) unsigned default 0,
375.
`tot_in_7_weekly` bigint(20) unsigned default 0,
376.
`tot_in_8_weekly` bigint(20) unsigned default 0,
377.
`tot_in_9_weekly` bigint(20) unsigned default 0,
378.
`tot_in_max_weekly` bigint(20) unsigned default 0,
379.
`unq_out_0_weekly` bigint(20) unsigned default 0,
380.
`unq_out_1_weekly` bigint(20) unsigned default 0,
381.
`unq_out_2_weekly` bigint(20) unsigned default 0,
382.
`unq_out_3_weekly` bigint(20) unsigned default 0,
383.
`unq_out_4_weekly` bigint(20) unsigned default 0,
384.
`unq_out_5_weekly` bigint(20) unsigned default 0,
385.
`unq_out_6_weekly` bigint(20) unsigned default 0,
386.
`unq_out_7_weekly` bigint(20) unsigned default 0,
387.
`unq_out_8_weekly` bigint(20) unsigned default 0,
388.
`unq_out_9_weekly` bigint(20) unsigned default 0,
389.
`unq_out_max_weekly` bigint(20) unsigned default 0,
390.
`tot_out_0_weekly` bigint(20) unsigned default 0,
391.
`tot_out_1_weekly` bigint(20) unsigned default 0,
392.
`tot_out_2_weekly` bigint(20) unsigned default 0,
393.
`tot_out_3_weekly` bigint(20) unsigned default 0,
394.
`tot_out_4_weekly` bigint(20) unsigned default 0,
395.
`tot_out_5_weekly` bigint(20) unsigned default 0,
396.
`tot_out_6_weekly` bigint(20) unsigned default 0,
397.
`tot_out_7_weekly` bigint(20) unsigned default 0,
398.
`tot_out_8_weekly` bigint(20) unsigned default 0,
399.
`tot_out_9_weekly` bigint(20) unsigned default 0,
400.
`tot_out_max_weekly` bigint(20) unsigned default 0,
401.
`unq_pv_0_monthly` bigint(20) unsigned default 0,
402.
`unq_pv_1_monthly` bigint(20) unsigned default 0,
403.
`unq_pv_2_monthly` bigint(20) unsigned default 0,
404.
`unq_pv_3_monthly` bigint(20) unsigned default 0,
405.
`unq_pv_4_monthly` bigint(20) unsigned default 0,
406.
`unq_pv_5_monthly` bigint(20) unsigned default 0,
407.
`unq_pv_6_monthly` bigint(20) unsigned default 0,
408.
`unq_pv_7_monthly` bigint(20) unsigned default 0,
409.
`unq_pv_8_monthly` bigint(20) unsigned default 0,
410.
`unq_pv_9_monthly` bigint(20) unsigned default 0,
411.
`unq_pv_max_monthly` bigint(20) unsigned default 0,
412.
`tot_pv_0_monthly` bigint(20) unsigned default 0,
413.
`tot_pv_1_monthly` bigint(20) unsigned default 0,
414.
`tot_pv_2_monthly` bigint(20) unsigned default 0,
415.
`tot_pv_3_monthly` bigint(20) unsigned default 0,
416.
`tot_pv_4_monthly` bigint(20) unsigned default 0,
417.
`tot_pv_5_monthly` bigint(20) unsigned default 0,
418.
`tot_pv_6_monthly` bigint(20) unsigned default 0,
419.
`tot_pv_7_monthly` bigint(20) unsigned default 0,
420.
`tot_pv_8_monthly` bigint(20) unsigned default 0,
421.
`tot_pv_9_monthly` bigint(20) unsigned default 0,
422.
`tot_pv_max_monthly` bigint(20) unsigned default 0,
423.
`unq_in_0_monthly` bigint(20) unsigned default 0,
424.
`unq_in_1_monthly` bigint(20) unsigned default 0,
425.
`unq_in_2_monthly` bigint(20) unsigned default 0,
426.
`unq_in_3_monthly` bigint(20) unsigned default 0,
427.
`unq_in_4_monthly` bigint(20) unsigned default 0,
428.
`unq_in_5_monthly` bigint(20) unsigned default 0,
429.
`unq_in_6_monthly` bigint(20) unsigned default 0,
430.
`unq_in_7_monthly` bigint(20) unsigned default 0,
431.
`unq_in_8_monthly` bigint(20) unsigned default 0,
432.
`unq_in_9_monthly` bigint(20) unsigned default 0,
433.
`unq_in_max_monthly` bigint(20) unsigned default 0,
434.
`tot_in_0_monthly` bigint(20) unsigned default 0,
435.
`tot_in_1_monthly` bigint(20) unsigned default 0,
436.
`tot_in_2_monthly` bigint(20) unsigned default 0,
437.
`tot_in_3_monthly` bigint(20) unsigned default 0,
438.
`tot_in_4_monthly` bigint(20) unsigned default 0,
439.
`tot_in_5_monthly` bigint(20) unsigned default 0,
440.
`tot_in_6_monthly` bigint(20) unsigned default 0,
441.
`tot_in_7_monthly` bigint(20) unsigned default 0,
442.
`tot_in_8_monthly` bigint(20) unsigned default 0,
443.
`tot_in_9_monthly` bigint(20) unsigned default 0,
444.
`tot_in_max_monthly` bigint(20) unsigned default 0,
445.
`unq_out_0_monthly` bigint(20) unsigned default 0,
446.
`unq_out_1_monthly` bigint(20) unsigned default 0,
447.
`unq_out_2_monthly` bigint(20) unsigned default 0,
448.
`unq_out_3_monthly` bigint(20) unsigned default 0,
449.
`unq_out_4_monthly` bigint(20) unsigned default 0,
450.
`unq_out_5_monthly` bigint(20) unsigned default 0,
451.
`unq_out_6_monthly` bigint(20) unsigned default 0,
452.
`unq_out_7_monthly` bigint(20) unsigned default 0,
453.
`unq_out_8_monthly` bigint(20) unsigned default 0,
454.
`unq_out_9_monthly` bigint(20) unsigned default 0,
455.
`unq_out_max_monthly` bigint(20) unsigned default 0,
456.
`tot_out_0_monthly` bigint(20) unsigned default 0,
457.
`tot_out_1_monthly` bigint(20) unsigned default 0,
458.
`tot_out_2_monthly` bigint(20) unsigned default 0,
459.
`tot_out_3_monthly` bigint(20) unsigned default 0,
460.
`tot_out_4_monthly` bigint(20) unsigned default 0,
461.
`tot_out_5_monthly` bigint(20) unsigned default 0,
462.
`tot_out_6_monthly` bigint(20) unsigned default 0,
463.
`tot_out_7_monthly` bigint(20) unsigned default 0,
464.
`tot_out_8_monthly` bigint(20) unsigned default 0,
465.
`tot_out_9_monthly` bigint(20) unsigned default 0,
466.
`tot_out_max_monthly` bigint(20) unsigned default 0,
467.
PRIMARY KEY (`username`)
468.
)", __FILE__, __LINE__);
469.
470.
$TMPL['content'] = <<<EndHTML
471.
{$LNG['install_done']}
472.
[url="{$list_url}/"]{$LNG['install_your']}[/url]
473.
[url="{$list_url}/index.php?a=admin"]{$LNG['install_admin']}[/url]
474.
[url="http://www.aardvarktopsitesphp.com/manual/"]{$LNG['install_manual']}[/url]
475.
EndHTML;
476.
}
477.
else {
478.
$TMPL['content'] = "<h3>{$LNG['g_error']}</h3>
{$LNG['install_error_chmod']}
";
479.
}
480.
}
481.
else {
482.
$TMPL['content'] = "<h3>{$LNG['g_error']}</h3>
{$LNG['install_error_sql']}
";
483.
}
484.
}
485.
?>
486.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
487.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
488.
<head>
489.
<title>Aardvark Topsites PHP 5 - <?php echo $LNG['install_header']; ?></title>
490.
<meta http-equiv="Content-Type" content="text/html;charset=<?php echo $LNG['charset']; ?>" />
491.
<link rel="stylesheet" type="text/css" media="screen" href="../skins/fusion/screen.css" />
492.
</head>
493.
<body>
494.
495.
<div id="wrapper">
496.
<div id="header">[img]../skins/fusion/header.jpg[/img]</div>
497.
<div id="content"><?php echo $TMPL['content']; ?>
</div>
498.
</div>
499.
</body>
500.
</html>
501.