![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 52 Pomógł: 0 Dołączył: 21.07.2005 Skąd: Konin Ostrzeżenie: (0%) ![]() ![]() |
To jest moj kod php mam prośbe aby mi ktośwyjaśnił jak do tego zintegrowac FCKeditora bo jasie męcze juz 3 dzien i nic (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) Proszę o pomoc
Kod echo $ob.'<form name="form_1" method="post" action="'.$PHP_SELF.'?op='.$op.'" enctype="multipart/form-data"> <table width="80%" border="0" cellspacing="3" cellpadding="0" align="center"> <tr> <td align="right" valign="top" class="uni_01">tytu³ newsa</td> <td> <input type="text" name="title" size="35"> </td> </tr> <tr> <td align="right" valign="top" class="uni_01">dzia³</td> <td class="next">'; echo '<select name="topic"> <option value="-" selected>(pomiñ dzia³y)</option>'; $query = "SELECT * FROM $topic_tbl ORDER BY title"; $result = mysql_query($query); while($r = mysql_fetch_array($result)) { $id = $r['id']; $topic = $r['title']; echo '<option value="'.$id.'">'.$topic.'</option>'; } echo '</select>'; echo '</td> </tr> <tr> <td colspan="2"> <br> <table cellpadding="1" cellspacing="0" style="border: 1px #666666 solid" width="100%"> <tr><td><textarea id="short" name="text" style="width: 100%; height: 200px">'.$text.'</textarea></td> </tr></table> <br> </td> </tr> <tr> <td colspan="2"> <br> <table cellpadding="1" cellspacing="0" style="border: 1px #666666 solid" width="100%"> <tr><td><textarea id="editor" name="textcd" style="width: 100%; height: 500px">'.$textcd.'</textarea></td> </tr></table> <br> </td> </tr> <tr> <td align="right" class="uni_01">ikonka: upload <input class="poll" type="radio" name="itype" value="upload"></td> <td> <input type="file" name="icon" size="35"> </td> </tr> <tr> <td align="right" class="uni_01">ikonka: url <input class="poll" type="radio" name="itype" value="url"></td> <td> <input type="text" name="icon_" size="35" value="http://"> </td> </tr> <tr> <td align="right" class="uni_01">ikonka: brak <input class="poll" type="radio" name="itype" value="none" checked></td> <td> </td> </tr> <tr> <td align="right" valign="top" class="uni_01"> </td> <td> <input style="font-weight: bold;" type="submit" name="ok" value="dodaj"> <input type="reset" name="Reset" value="wyczy¶æ"> <input type="hidden" name="goto" value="'.$goto.'"> <input type="hidden" name="cmd" value="add"> </td> </tr> </table> </form> '; Proszę pilnie o pomoc (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 347 Pomógł: 0 Dołączył: 27.08.2005 Skąd: Inowrocław Ostrzeżenie: (0%) ![]() ![]() |
zamiast
daj
I tak z kazdym ;] a na poczatku dokumentu wpisz:
PS. w i dajesz wlasna sciezke do FCKeditroa Ten post edytował OnE.Killer 25.03.2006, 12:51:12 |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 52 Pomógł: 0 Dołączył: 21.07.2005 Skąd: Konin Ostrzeżenie: (0%) ![]() ![]() |
dziękuje bardzo a teraz kolejny problem jak zrobic aby działał mi upload obrazków w fckeditorze plus tworzenie folderów ?
Achas wszystko pieknie działa i jestem wdzieczny no ale tak nie dziala mi jak pisalem wyzej upload obrazków wogole no i jak napisze cos i zatwierdze jest okey jak chce edytowac to zamiast tekstu Kod test pokazuje się Kod <font color="#ff0000"><strong>test</strong></font> a wlasnie no i jak chce otworzyc dany dokument i np zrobie cos takiego Kod <strong><span class="Code"> <p align="center"><strong>test2 </strong></p> </span></strong> ramka sie pokazuje ale style znikaja i mam wlasnie takie pytanie jaki style musze zincludowac jeszcze aby poprawnie się to wyswietlało na stronie bardzo dziekuję (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Ten post edytował Konuss 25.03.2006, 14:20:54 |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 347 Pomógł: 0 Dołączył: 27.08.2005 Skąd: Inowrocław Ostrzeżenie: (0%) ![]() ![]() |
o uploadzie bylo juz wiele razy na forum... poszukaj ;]
|
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 52 Pomógł: 0 Dołączył: 21.07.2005 Skąd: Konin Ostrzeżenie: (0%) ![]() ![]() |
Mam teraz taki problem po dodaniu zdjecia i tresci i troszke stylów mam taki problemik jak pragnę zedytować tego newsa to zamiast treści i zdjęcia pojawia mi sie kod html dlaczego i kolejne pytanie czemu style mi sie nie wyswietlaja na WWW co muszę zrobić ?
Prosze o pomoc (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) Ten post edytował Konuss 27.03.2006, 15:46:54 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 12:34 |