Answer the question
In order to leave comments, you need to log in
Make a new page?
Hello.
We have a menu here:
<div id="wrapper">
<div id="sidebar-wrapper">
<ul class="sidebar-nav">
<li class="sidebar-brand">
<a href="#">
Menu
</a>
</li>
<li>
<a href="#">blabla</a>
</li>
<li>
<a href="#">blabla</a>
</li>
<li>
<a href="#">blabla</a>
</li>
<li>
<a href="#">blabla</a>
</li>
</ul>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1>Simple Sidebar</h1>
<p>blablablabla</p>
</div>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Well, what's the problem? What are you implementing? If Via PHP, then create 4 files, index.php, header.php, footer.php and content.php and include all other files in the index
include_once('header.php');
include_once('content.php');
include_once('footer.php');
$category = empty( $_GET['category'] ) ? '' : trim( $_GET['category'] );
if($category == 1 ) {
echo 'Первая категория';
} elseif($category == 2 ) {
echo 'Вторая категория';
}if($category == 3 ) {
echo 'Третья категория';
}if($category == 4 ) {
echo 'Четвёртая категория';
} else {
echo 'Без категории';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question