![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 28.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Jak zrobic reklama.php aby wygladal tak jak index.php tylko zamiast newsow bylby mój tekst?
Adres to www.piekarnia.boo.pl Ten post edytował Baton93 22.02.2009, 16:20:56 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 28.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Tylko ze index.php wygląda tak:
Kod <?
/*****************************************************/ /* jPORTAL - internetowy system portalowy */ /*****************************************************/ /* autor: Pawel 'jaco' Jaczewski */ /* email: info@websys.pl */ /*****************************************************/ include('config.php'); include('module/news.inc.php'); #=====================================================# function site_main() { global $topic, $news_limit; main_title_open(); echo 'Witamy!'; main_title_close(); main_text_open(); # text powitalny teraz w pliku index.txt # oczywiscie mozna usunac ten fragment i # umiescic wstep jak w poprzednich wersjach. $index = file('index.txt'); $index = join('', $index); $index = strtr($index, 'ĄŚŹąśź', 'ˇ¦¬±¶Ľ'); echo $index; main_text_close(); list_news(1, $topic, $news_limit); echo '[<b><a href="news.php?news=old">archiwum newsów</a></b> | <b><a href="news.php?news=add">dodaj news</a></b>]</div>'; echo ' '; } #=====================================================# $site_title = 'witamy!'; $meta_info = ''; include("theme/$theme/index.php"); ?> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.10.2025 - 13:27 |