Files
2026-07-01 16:44:17 +03:00

53 lines
2.0 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="card">
<div class="card-header bg-primary">
<h5 class="card-title text-white">Slayt Düzenle</h5>
</div>
<div class="card-body">
<form action="#" method="post" class="form-horizontal" enctype="multipart/form-data">
<div class="mb-3">
<label class="control-label">RESİM :</label>
<div >
<img src="{{URL::base($edit->resim)}}" width="200"> {{$edit->resim}}
</div>
<input type="file" name="resim" class="form-control">
</div>
<div class="mb-3">
<label class="control-label">BAŞLIK :</label>
<input type="text" name="baslik" class="form-control" value="{{$edit->baslik}}">
</div>
<div class="mb-3">
<label class="control-label">AÇIKLAMA :</label>
<textarea name="aciklama" id="editor" rows="20" class="form-control">{{$edit->aciklama}}</textarea>
<script>
CKEDITOR.replace('editor', {
height: 1000,
filebrowserBrowseUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
filebrowserUploadUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
filebrowserImageBrowseUrl : '/filemanager/dialog.php?type=1&editor=ckeditor&fldr='
});
</script>
</div>
<div class="mb-3">
<label class="control-label">LİNK :</label>
<input type="text" name="link" class="form-control" value="{{$edit->link}}" >
</div>
<div class="mb-3">
<label class="control-label">YAYINLAMA DURUMU :</label>
<select name="status" id="" class="form-control">
<option value="0"{[selected($edit->durum,'0')]}>Yayınlama</option>
<option value="1" {[selected($edit->durum,'1')]}>Yayınla</option>
</select>
</div>
<div class="form-actions">
<input type="hidden" name="id" value="{[ echo $edit->id ]}">
<input type="hidden" name="resimurl" value="{[ echo $edit->resim ]}">
<button type="submit" class="btn btn-success">Güncelle</button>
</div>
</form>
</div>
</div>