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,35 @@
<script src="ckeditor/ckeditor.js"></script>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">Forum Edit</div>
<div class="panel-body">
<form method="post">
<div class="form-group">
<label>{[ echo lang('forum','title') ]}</label>
<input type="text" name="title" class="form-control" value="{{forum_content_row($id)->title}}">
</div>
<div class="form-group">
<label>{[ echo lang('forum','messages') ]}</label>
<textarea name="content" class="form-control" id="editor" rows="10">
{[ decode(forum_content_row($id)->content); ]}
</textarea>
<script>
CKEDITOR.replace('editor', {
height: 1000,
language: "{{LANG}}" ,
extraPlugins: 'codesnippet, youtube',
});
</script>
</div>
</div>
<input type="hidden" name="id" value="{[ echo $id ]}">
<input type="hidden" name="content_id" value="{[ echo $id; ]}">
<input type="hidden" name="link" value="{[ echo URL::base('forum/konu/') . $id1 . '-' . seo(forum_content_row($id)->title); ]}">
<button type="submit" class="btn btn-primary btn-block"> {[ echo lang('forum','save') ]}</button>
</form>
</div></div>
</div>
</div>
@@ -0,0 +1,79 @@
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
{[ echo lang('form', 'my_messages') ]} ( {[ echo count($messages); ]} )
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th width="20">ID</th>
<th>{[ echo lang('forum', 'title') ]}</th>
<th>Category</th>
<td>{[ echo lang('form', 'solved') ]}</td>
<th width="200">{[ echo lang('form', 'transactions') ]}</th>
</tr>
</thead>
<tbody>
@foreach ($messages as $key )
<tr>
<td>{[ echo $key->id; ]}</td>
<td>{[ echo $key->title; ]}</td>
<td></td>
<td>{[ echo $key->dissolved; ]}</td>
<td>
<a href="{{URL::base()}}members/forum/edit/{[ echo $key->id; ]}">
<button class="btn btn-success">{[ echo lang('form', 'edit') ]}</button>
</a>
<a href="#" class="dissolved" data-id='{[ echo $key->id; ]}' >
<button class="btn btn-primary">{[ echo lang('form', 'solved') ]}</button>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
{[ echo lang('form', 'The_topics_I_answered') ]} ( {[ echo count($mymessages); ]} )
</div>
<div class="panel-body">
<table class="table">
<thead>
<tr>
<th width="20">ID</th>
<th>{[ echo lang('form', 'title') ]}</th>
<th width="150">{[ echo lang('form', 'transactions') ]}</th>
</tr>
</thead>
<tbody>
@foreach ($mymessages as $key )
<tr>
<td>{[ echo $key->id; ]}</td>
<td>{[ echo $key->title; ]}</td>
<td>
<a href="{{URL::base()}}members/forum/message_edit/{[ echo $key->id; ]}">
<button class="btn btn-success">{[ echo lang('form', 'edit') ]}</button>
</a>
<a href="#" class="dissolved" data-id='{[ echo $key->id; ]}' >
<button class="btn btn-primary">{[ echo lang('form', 'delete') ]}</button>
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@@ -0,0 +1,39 @@
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">Forum Taşı </div>
<div class="panel-body">
<form method="post">
<div class="form-group">
<label>Taşınacak kategori</label>
<select name="category_id" class="form-control" required>
<option value="">{{lang('forum','Please_select_category')}}</option>
@foreach (question_category() as $key)
<optgroup label="{{$key->adi}}">
@foreach (question_category($key->id) as $key1)
<option value="{{$key1->id}}" {{selected($key1->id,$catid)}}>{{$key1->adi}}</option>
@endforeach
</optgroup>
@endforeach
</select>
</div>
<div class="form-group">
<label>{{lang('forum','title')}}</label><br>
{{forum_content_row($id)->title}}
</div>
<div class="form-group">
<label>Konu</label><br>
{{decode(forum_content_row($id)->content)}}
</div>
</div>
<input type="hidden" name="id" value="{{$id}}">
<button type="submit" class="btn btn-primary btn-block"> {{lang('forum','save')}}</button>
</form>