IMHO.WS

IMHO.WS (http://www.imho.ws/index.php)
-   Веб-программирование (http://www.imho.ws/forumdisplay.php?f=29)
-   -   help! (http://www.imho.ws/showthread.php?t=53096)

alex_k 07.03.2004 13:51

help!
 
всем привет.
проблема такая. дана страничка на php:

<?php
/********************************************************************** *****
* index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.99.2.2 2004/03/01 15:56:52 psotfx Exp $
*
*
********************************************************************** *****/

/********************************************************************** *****
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
********************************************************************** *****/

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//

$viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;

if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
$mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS

bla bla bla - code

//
// Generate the page
//
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>



когда генерируется html-ина, то после всего кода добавляется еще код для реакламы (хостинг lycos.co.uk). если бы файл был написан в html, то чтобы избавится от рекламы нужно просто дописать в самом конце:

<noscript><plaintext>

как нужно отредактировать php файл чтобы он сгенерировал html страничку со вставленым <noscript><plaintext> ?

thanks

mmaaxx 07.03.2004 14:30

............
...........
...........
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>
<noscript><plaintext>

lanix 07.03.2004 15:41

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
echo "<noscript><plaintext>";

?>

shidunce 09.03.2004 11:22

привет ребята. alex_k это я. спасибо за советы. попробовал ваши способы - не очень хочет работать:)
ну ничего, еще покручу, может получится чего...

Alrt 09.03.2004 16:11

Цитата:

shidunce:
привет ребята. alex_k это я.
Аккаунт alex_k забанен! Читай правила!

shidunce 21.05.2004 20:22

alex_k это мой друг!! он сидит со мной на одном компьютере! просто я не заметил что сижу под его ником!!

Hubbitus 22.05.2004 00:47

Проблема-то с баннерами решена?

Цитата:

shidunce:
просто я не заметил что сижу под его ником!!
А ты и не сидишь под его ником вроде.


Часовой пояс GMT +4, время: 13:53.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.