new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
|
||||
<div class="container main pt-5">
|
||||
<nav aria-label="breadcrumb" class="mb-4">
|
||||
<ol class="breadcrumb bg-light">
|
||||
<li class="breadcrumb-item"><a href="{{URL::base()}}">{{lang('menu','home')}}</a></li>
|
||||
<li class="breadcrumb-item"><a href="/blog">Blog</a></li>
|
||||
<li class="breadcrumb-item"><a href="/blog/category/{{$id.'-'.contentCategoryRow($id)->name_seo}}">
|
||||
{{contentCategoryRow($id)->name}}
|
||||
</a></li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
@foreach (blogCategory($id)->result() as $key)
|
||||
<div class="blog-post">
|
||||
<div class="card">
|
||||
<div class="row g-0">
|
||||
<div class="col-lg-4">
|
||||
<a href="/blog/content/{{$key->id.'-'.$key->title_seo.'.html'}}">
|
||||
<img src="{{ content_image($key->content) }}" alt="{{$key->title}}" class="img-fluid">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-8">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<a href="/blog/content/{{$key->id.'-'.$key->title_seo.'.html'}}">{{$key->title}}</a>
|
||||
</h5>
|
||||
|
||||
<div class="content">
|
||||
{{kelimebol($key->content,200)}}
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<small class="text-muted">
|
||||
{{editor($key->editor)}} | {{tcevir($key->create_date)}}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="col-3">
|
||||
@view('Blog/right')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
<div class="container pt-5 main">
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
<h5 class="border-bottom pb-2">{{contentRow($id)->title}}</h5>
|
||||
<div class="text-muted">
|
||||
{{contentRow($id)->content}}
|
||||
</div>
|
||||
<hr>
|
||||
<div class="socialmedia text-right">
|
||||
Paylaşın: <a href="http://facebook.com/share.php?u={{LINK}}" target="_blank" class="facebook"><i class="fab fa-facebook-square fa-2x"></i></a>
|
||||
<a href="https://twitter.com/share?url={{LINK}}" target="_blank" class="twitter"><i class="fab fa-twitter-square fa-2x" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="d-flex align-items-center mt-auto">
|
||||
<div class="avatar avatar-md mr-3" style="background-image: url({{ avatar1(contentRow($id)->editor) }} )"></div>
|
||||
<div>
|
||||
<a href="#" class="text-default">{{editor(contentRow($id)->editor)}}</a> /
|
||||
<i class="fa fa-calendar" aria-hidden="true"></i> {{tcevir(contentRow($id)->create_date)}} /
|
||||
<i class="fa fa-eye" aria-hidden="true"></i> {{contentRow($id)->hits}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
@view('Blog/right')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php import::view(THEMA_NAME.'header'); ?>
|
||||
<section id="Page-title" class="Page-title-Style1">
|
||||
<div class="container inner-Pages">
|
||||
<div class="row">
|
||||
<div class="Page-title">
|
||||
<div class="col-md-6 Title-Pages">
|
||||
<h2>Pisi Linux Blog </h2>
|
||||
</div>
|
||||
<div class="col-md-6 Catogry-Pages">
|
||||
<p>Buradasınız : <a href="<?php URL::base(); ?>">Anasayfa</a> / Blog / Etiketler</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="Latest-News" class="light-wrapper">
|
||||
<div class="container inner">
|
||||
<div class="row">
|
||||
<?php import::view(THEMA_NAME.'blog/blogleft'); ?>
|
||||
<!-- içerik menü -->
|
||||
|
||||
<div class="Blockquotes col-md-8">
|
||||
<?php foreach ($list as $key ): ?>
|
||||
<div class="col-md-6">
|
||||
<a href="<?php echo URL::base('blog/icerik/'.$key->icerik_id.'-'.$key->baslik_seo.'.html'); ?>">
|
||||
<blockquote class="blockquote-2">
|
||||
<img src="<?php echo URL::base($key->icerik_resim); ?>" alt="" style="width:80px !important; float: left;">
|
||||
<p><?php echo $key->icerik_baslik; ?></p>
|
||||
<span class="quote-name"><?php echo kelimebol($key->icerik_detay,250); ?></span>
|
||||
</blockquote>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php endforeach ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div></div></section>
|
||||
|
||||
<?php import::view(THEMA_NAME.'footer'); ?>
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
<div class="container main pt-5">
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
@foreach (content_list()->result() as $key)
|
||||
<div class="blog-post">
|
||||
<div class="card">
|
||||
<div class="row g-0">
|
||||
<div class="col-md-4">
|
||||
<a href="/blog/content/{{$key->id.'-'.$key->title_seo.'.html'}}"
|
||||
style="display: block; width: 100%; height: 100%;">
|
||||
<img src="{{ content_image($key->content) }}" alt="{{$key->title}}">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<a href="/blog/content/{{$key->id.'-'.$key->title_seo.'.html'}}">{{$key->title}}</a>
|
||||
</h5>
|
||||
|
||||
<div class="content">
|
||||
{{kelimebol($key->content,200)}}
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-end">
|
||||
<small class="text-muted">
|
||||
{{editor($key->editor)}} | {{tcevir($key->create_date)}}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="col-3">
|
||||
@view('Blog/right')
|
||||
</div>
|
||||
</div>
|
||||
{{content_list()->pagination(NULL,
|
||||
[
|
||||
'style' =>
|
||||
[
|
||||
'current' => 'color:red'
|
||||
]
|
||||
]);}}
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
<h5 class="border-bottom pb-2">{{lang('blog', 'categories')}}</h5>
|
||||
|
||||
<ul class="nav flex-column">
|
||||
@foreach (content_category() as $key)
|
||||
<li class="nav-item border-bottom">
|
||||
<a class="nav-link" href="/blog/category/{{$key->id.'-'.$key->name_seo}}">
|
||||
{{$key->name}}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<a href="https://www.turhost.com/sunucu/bulut-sunucu" target="_blank">
|
||||
<img src="/img/sponsor/cloud-server-turhost-banner-350x250px.png" alt="cloud server turhost banner">
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user