Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> FCkeditor kto pomoże ?
Konuss
post
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&sup3; newsa</td>
<td>
<input type="text" name="title" size="35">
</td>
</tr>
<tr>
<td align="right" valign="top" class="uni_01">dzia&sup3;</td>
<td class="next">';


echo '<select name="topic">
<option value="-" selected>(pomi&ntilde; dzia&sup3;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>&nbsp;</td>
</tr>
<tr>
<td align="right" valign="top" class="uni_01">&nbsp;</td>
<td>
<input style="font-weight: bold;" type="submit" name="ok" value="dodaj">
<input type="reset" name="Reset" value="wyczy&para;&aelig;">
<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)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 19:39