<?php { echo" <form method='GET' action='forum.php?mode=form_dodaj_posty'> <input type='hidden' value='form_dodaj_posty' name='mode'> <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'> <input class='kolorowy' type='submit' value='Nowy temat'> </form> <form method='GET' action='forum.php?mode=form_dodaj_posty&p=1'> <input type='hidden' value='form_dodaj_posty' name='mode'> <input type='hidden' value='1' name='p'> <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'> <input type='hidden' value='$_GET[id]' name='id'> <input class='kolorowy' type='submit' value='Odpowiedz'> <span class='tytul_kategoria'><a href='forum.php'>Forum</a> » <a href='forum.php?mode=pokaz_tematy&id=$forum_b[id]'> $forum_b[nazwa]</a> » <a class='forum_title_post' href='forum.php?mode=pokaz_posty&id=$_GET[id]'> $forum_c_temat[temat]</a> </span> <hr/> <table class='tabela_gl' width='750' cellpadding='2' cellspacing='1'> <tr> <th width='140'>Autor</th> <th width='610'>Wiadomość</th> </tr> "; { #parswoanie resci posta przed wyswietleniem $text = xcode_podmien ( $forum_c[tresc] ); # generowanie zmiennej $ikona do wsywietlenia ikony przy poscie if ( $forum_c[ikona] != 0 ) { $lokalizacja = ikony_podmien ( $forum_c[ikona] ); $ikona = "<img src='../ikony/pliki/$lokalizacja'></img>"; } else { $ikona=""; } echo" <tr> <td colspan='2'> <tr> <td class='kol3' colspan='2'> $ikona <span class='zw3'>Dodany: $forum_c[data_dodania]</span> <input name='blblblb' type='checkbox' value='$forum_c[id]'> </tr> <tr> <td class='kol1' width='140' rowspan='2''> "; if ( $forum_c[autor] !== 0 ) { $podpis = pokaz_podpis ( $forum_c[autor] ); } echo" </td> <td class='kol1' height='90%' >$text <hr/> <span class='podpis'>$podpis</span> </td> </tr> <tr> <td class='kol1' height='10%'> "; echo" </td> </tr> "; } #nabijanie kolejnej odslony tematu $odslony = $forum_c_temat[odslony] + 1; $sql8="UPDATE forum_c SET odslony=$odslony WHERE id=$_GET[id] AND nowy_temat=1"; echo" </table> <hr/></form> <form method='GET' action='forum.php?mode=form_dodaj_posty'> <input type='hidden' value='form_dodaj_posty' name='mode'> <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'> <input class='kolorowy' type='submit' value='Nowy temat'> </form> <form method='GET' action='forum.php?mode=form_dodaj_posty&p=1'> <input type='hidden' value='form_dodaj_posty' name='mode'> <input type='hidden' value='1' name='p'> <input type='hidden' value='$forum_c_temat[id_b]' name='id_b'> <input type='hidden' value='$_GET[id]' name='id'> <input class='kolorowy' type='submit' value='Odpowiedz'> </form> <span class='tytul_kategoria'><a href='forum.php'>Forum</a> » <a href='forum.php?mode=pokaz_tematy&id=$forum_b[id]'> $forum_b[nazwa]</a> » <a class='forum_title_post' href='forum.php?mode=pokaz_posty&id=$_GET[id]'> $forum_c_temat[temat]</a></b> "; } <form method='GET' action='forum.php?mode=form_dodaj_posty&p=2s'> <input type='hidden' value='form_dodaj_posty' name='mode'> <input type='hidden' value='$_GET[id]' name='id'> <input class='kolorowy' type='submit' value='X'> </form> ?>

Tyle postów i nie wie jeszcze co to odpowiednie bbcode?
Poprawiam i skutkuje ostrzeżeniem
---
nospor
Odp.:odpowiedni tag to HTML, bo tj. zial po stronie przegladarki a nie php.
Ty sie nie kieruj działem, a treścią kodu. Co z tego że dział html, skoro kod php walisz. A ze w echo jest html to inna bajka. tak czy siak jest to php.
---
nospor
i nei moge zmienic wysokosci komorki w tabeli gdzie sa te submity jak pryw. wiad. e-mail, komunikator itd. CO nie wpisze to jest stala .
pomozcie

P.S.
Kod
.tabela_gl
{
background-color: #FFFFFF;
border: 1px rgb(27, 48, 95) solid;
}
td.kol1
{
background-color: #EFEFEF;
}
td.kol2
{
background-color: rgb(239, 239, 239);
}
td.kol3
{
background-color: #D1D7DC;
}
td.kol4
{
background-color: #E7DCDC;
}
th
{
color: #FFA34F;
font-size: 11px;
font-weight : bold;
background-color: #006699;
height: 28px;
background-image: url(images/cellpic3.gif);
}
td.kategoria
{
height: 24px;
border-width: 0px 0px 0px 0px;
background-image: url(images/cellpic1.gif);
background-color: rgb(239, 239, 239);
height: 24px;
}
{
background-color: #FFFFFF;
border: 1px rgb(27, 48, 95) solid;
}
td.kol1
{
background-color: #EFEFEF;
}
td.kol2
{
background-color: rgb(239, 239, 239);
}
td.kol3
{
background-color: #D1D7DC;
}
td.kol4
{
background-color: #E7DCDC;
}
th
{
color: #FFA34F;
font-size: 11px;
font-weight : bold;
background-color: #006699;
height: 28px;
background-image: url(images/cellpic3.gif);
}
td.kategoria
{
height: 24px;
border-width: 0px 0px 0px 0px;
background-image: url(images/cellpic1.gif);
background-color: rgb(239, 239, 239);
height: 24px;
}
to kawalek stylow