Skip to content

Commit

Permalink
fixing some links
Browse files Browse the repository at this point in the history
  • Loading branch information
melhadou committed Aug 13, 2021
1 parent a89d163 commit c3009bd
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 12 deletions.
33 changes: 33 additions & 0 deletions admin/comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
include "includes/admin_header.php";
?>

<div id="wrapper">

<!-- Navigation -->
<?php include "includes/admin_nav.php";?>

<div id="page-wrapper">

<div class="container-fluid">

<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
Welcome
<small>Author</small>
</h1>


</div>
</div>
<!-- /.row -->

</div>
<!-- /.container-fluid -->

</div>
<!-- /#page-wrapper -->

<?php include "includes/admin_footer.php";?>
4 changes: 2 additions & 2 deletions admin/includes/admin_nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ class="fa fa-fw fa-arrows-v"></i>
Users <i class="fa fa-fw fa-caret-down"></i></a>
<ul id="users_dropdown" class="collapse">
<li>
<a href="#"> View All Users</a>
<a href="users.php"> View All Users</a>
</li>
<li>
<a href="#"> Delet Users</a>
<a href="users.php"> Delet Users</a>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$post_author = $row['post_author'];
$post_date = $row['post_date'];
$post_image = $row['post_image'];
$post_content = $row['post_content'];
$post_content = substr($row['post_content'], 0, 100);

?>
<h1 class="page-header">
Expand Down
9 changes: 1 addition & 8 deletions includes/nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">Start Bootstrap</a>
<a class="navbar-brand" href="index.php">Mohamed CMS</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
Expand All @@ -35,13 +35,6 @@
<li>
<a href="admin/">Admin</a>
</li>
<!--
<li>
<a href="#">Services</a>
</li>
<li>
<a href="#">Contact</a>
</li> -->


</ul>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$post_author = $row['post_author'];
$post_date = $row['post_date'];
$post_image = $row['post_image'];
$post_content = $row['post_content'];
$post_content = substr($row['post_content'], 0, 100);

?>
<h1 class="page-header">
Expand Down

0 comments on commit c3009bd

Please sign in to comment.