musim dat reklamu na forum lebo ked nedam tak my ho locknu
www.hostuju.cz
Kód:
<!-- ZACATEK - FREEHOSTING REKLAMA LISTA -->
<SCRIPT LANGUAGE="JavaScript">
document.write('<sc'+'ript src="http://hostujem.sk/reklama/lista.php" type="text/javascript"></scr'+'ipt>');
</SCRIPT>
<!-- KONEC - FREEHOSTING REKLAMA LISTA -->
tuto reklamu my treba dat na forum PHP3 ale ked ju tam dam tak my spravi s forom toto:
FOTO:
http://img355.imageshack.us/my.php?image=beznzvufq1.jpgtu mate aj cely kod ktory sa nachadza v index.php
Kód:
<!-- ZACATEK - FREEHOSTING REKLAMA LISTA -->
<SCRIPT LANGUAGE="JavaScript">
document.write('<sc'+'ript src="http://hostujem.sk/reklama/lista.php" type="text/javascript"></scr'+'ipt>');
</SCRIPT>
<!-- KONEC - FREEHOSTING REKLAMA LISTA -->
<?php
/**
*
* @package phpBB3
* @version $Id: index.php 8479 2008-03-29 00:22:48Z naderman $
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
display_forums('', $config['load_moderators']);
// Set some stats, get posts count from forums data if we... hum... retrieve all forums data
$total_posts = $config['num_posts'];
$total_topics = $config['num_topics'];
$total_users = $config['num_users'];
$l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER';
$l_total_post_s = ($total_posts == 0) ? 'TOTAL_POSTS_ZERO' : 'TOTAL_POSTS_OTHER';
$l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OTHER';
// Grab group details for legend display
if ($auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel'))
{
$sql = 'SELECT group_id, group_name, group_colour, group_type
FROM ' . GROUPS_TABLE . '
WHERE group_legend = 1
ORDER BY group_name ASC';
}
else
{
$sql = 'SELECT g.group_id, g.group_name, g.group_colour, g.group_type
FROM ' . GROUPS_TABLE . ' g
LEFT JOIN ' . USER_GROUP_TABLE . ' ug
ON (
g.group_id = ug.group_id
AND ug.user_id = ' . $user->data['user_id'] . '
AND ug.user_pending = 0
)
WHERE g.group_legend = 1
AND (g.group_type <> ' . GROUP_HIDDEN . ' OR ug.user_id = ' . $user->data['user_id'] . ')
ORDER BY g.group_name ASC';
}
$result = $db->sql_query($sql);
$legend = '';
while ($row = $db->sql_fetchrow($result))
{
$colour_text = ($row['group_colour']) ? ' style="color:#' . $row['group_colour'] . '"' : '';
if ($row['group_name'] == 'BOTS')
{
alebo napiste my ako mam napisat kod do index.php aby to vsetko fungovalo