new pisilinux web sites

This commit is contained in:
Erkan IŞIK
2026-07-01 16:44:17 +03:00
commit b58488b586
21740 changed files with 2066209 additions and 0 deletions
@@ -0,0 +1,33 @@
<div class="card">
<div class="card-header bg-primary">
<h5 class="card-title text-white">SSS Düzenleme</h5>
</div>
<div class="card-body">
<form action="" method="post" class="form-horizontal">
<div class="mb-3">
<label class="control-label">Soru:</label>
<input type="text" class="form-control" name="question" value="{{$edit->question}}" >
</div>
<div class="mb-3">
<label class="control-label">Cevap:</label>
<textarea name="answer" id="editor" rows="20" class="form-control">{{$edit->answer}}</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="form-actions">
<input type="hidden" name="id" value="{[ echo $edit->id; ]}">
<input type="hidden" name="status" value="1">
<button type="submit" class="btn btn-success btn-block">Kaydet</button>
</div>
</form>
</div>
</div>
@@ -0,0 +1,39 @@
<div class="d-flex justify-content-end flex-wrap">
<a href="/panel/sss/new" class="btn btn-primary me-2">+ Yeni Soru / Cevap</button></a>
</div>
<div class="card mt-3">
<div class="card-header bg-primary">
<h5 class="card-title text-white">Sık Sorulan Sorular</h5>
</div>
<div class="card-body p-0">
<table class="table table-striped table-hover">
<thead class="table-dark text-center">
<tr>
<th width="10">ID</th>
<th>Soru</th>
<th width="120">İşlemler</th>
</tr>
</thead>
<tbody>
@foreach ($liste as $key )
<tr>
<td>{{$key->id }}</td>
<td>{{$key->question }}</td>
<td class="text-center">
<a class="btn btn-success btn-sm" href="/panel/sss/edit/{{$key->id }}"><i class="fa fa-edit"></i></a>
<a class="btn btn-danger btn-sm" href="/panel/sss/delete/{{$key->id }}">
<i class="fa fa-trash"></i>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@@ -0,0 +1,31 @@
<div class="card">
<div class="card-header bg-primary">
<h5 class="card-title text-white">Yeni SSS </h5>
</div>
<div class="card-body">
<form action="" method="post" class="form-horizontal">
<div class="mb-3">
<label class="control-label">Soru:</label>
<input type="text" class="form-control" name="question" value="" >
</div>
<div class="mb-3">
<label class="control-label">Cevap:</label>
<textarea name="answer" id="editor" rows="20" class="form-control"></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="form-actions">
<button type="submit" class="btn btn-success btn-block">Kaydet</button>
</div>
</form>
</div>
</div>