Aspire
Koineks
  • 02-10-2010, 22:31:11
    #1
    1/2
    herkese selam arkadaşlar
    fck editör ile kayıt olan bilgileri"dUZENLE " ile çağıramadım.
    bir el atan olursa sevinecem.
    kolay gelsin...

    http://www.alokatalog.com/fck_editor.jpg


    PHP- Kodu:
    TabloAc($tablobaslik="Ürün Güncelleme Formu");
    echo
    "<form action=\"Yonet.php?Git=UrunGuncelle&id=$id\" method=\"post\" enctype=\"multipart/form-data\">
    <div align=\"center\">
    <table border=\"0\" Width=\"100%\">
        <tr>
            <td align=\"right\" colspan=\"3\">
            <p align=\"center\"><b>Ürün Güncelleme Formu</b></td>
        </tr>
        <tr>
            <td align=\"right\"><b>Kategori</b></td>
            <td>:</td>
            <td align=\"left\" valign=\"top\">
                <p><select size=\"1\" name=\"katid\">"
    ;
                
                
    $katsor =mysql_query("SELECT * FROM ".$prefix."_urunkategorileri  ORDER BY uKategori ASC");
                    while(
    $katyaz=mysql_fetch_array($katsor)){
                    
                        
    $kat_adi    =$katyaz["uKategori"];
                        
    $kat_id        =$katyaz[id];
                    if(
    $katid==$kat_id){
                echo
    "<option value=\"$kat_id\">$kat_adi</option>";                

                    }else{}    
                        
                    }
                    
                echo
    "</select>
                </p></td>
        </tr>
        <tr>
            <td height=\"26\" align=\"right\"><b>Ürün Başlığı</b></td>
            <td height=\"26\">:</td>
            <td height=\"26\" align=\"left\" valign=\"top\"><input type=\"text\" name=\"baslik\" value=\"
    $baslik\" size=\"25\"></td>
        </tr>
        <tr>
            <td height=\"25\" align=\"right\"><b>Ürün Resmi</b></td>
            <td height=\"25\">:</td>
            <td height=\"25\" align=\"left\" valign=\"top\">
                
                <p><input type=\"file\" value=\"
    $resim\" name=\"resim\" size=\"25\"></p>
            
            </td>
        </tr>
        <tr>
            <td align=\"right\"><b>Ürün Kısa Metin</b></td>
            <td>&nbsp;</td>
            <td align=\"left\" valign=\"top\"><textarea rows=\"6\" value=\"
    $kisametin\" name=\"kisametin\" cols=\"62\"></textarea></td>
        </tr>
        <tr>
            <td align=\"right\"><b>Ürün Tam Metin</b></td>
            <td>&nbsp;</td>
            
            <td align=\"left\" valign=\"top\">
            <input type=\"hidden\" id=\"FCKeditor1\" name=\"tammetin\" value=\"
    $tammetin\" style=\"display:none\" />

     "

            
    [
    COLOR="Red"][B]    $oFCKeditor = new FCKeditor('tammetin') ;
        
    $oFCKeditor->BasePath 'fckeditor/' ;
        
    $oFCKeditor->Width '95%';
        
    $oFCKeditor->Height 500;
        
    $oFCKeditor->ToolbarSet 'Default';                
        
    $oFCKeditor->Create() ;
    [/
    B][/COLOR]
    echo
    "</td>
        </tr>
        <tr>
            <td align=\"right\"><b>Editör</b></td>
            <td>&nbsp;</td>
            <td align=\"left\" valign=\"top\"><select size=\"1\" name=\"editor\">
                <option value=\"1\">HTML Biçimlendir</option>
                <option value=\"2\" selected>BBcode Biçimlendir</option>

                </select></td>
        </tr>
        <tr>
            <td align=\"right\">&nbsp;</td>
            <td>&nbsp;</td>
            <td align=\"left\" valign=\"top\"><input type=\"submit\" value=\"Güncelle\"></td>
        </tr>
    </table>
    </div>
    </form>"

  • Sponsor Reklam
  • 02-10-2010, 22:50:35
    #2
    1/2
    $oFCKeditor->Value = $degisken;

    ile değer vermeyi dener misiniz?
  • 02-10-2010, 23:19:45
    #3
    1/2
    hocam oldu tşekkür ederim.
    $oFCKeditor->Value = $degisken;
  • 02-10-2010, 23:58:09
    #4
    1/2
    rica ederim