Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit c3009bd

Browse files
committed
fixing some links
1 parent a89d163 commit c3009bd

5 files changed

Lines changed: 38 additions & 12 deletions

File tree

admin/comments.php

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
include "includes/admin_header.php";
3+
?>
4+
5+
<div id="wrapper">
6+
7+
<!-- Navigation -->
8+
<?php include "includes/admin_nav.php";?>
9+
10+
<div id="page-wrapper">
11+
12+
<div class="container-fluid">
13+
14+
<!-- Page Heading -->
15+
<div class="row">
16+
<div class="col-lg-12">
17+
<h1 class="page-header">
18+
Welcome
19+
<small>Author</small>
20+
</h1>
21+
22+
23+
</div>
24+
</div>
25+
<!-- /.row -->
26+
27+
</div>
28+
<!-- /.container-fluid -->
29+
30+
</div>
31+
<!-- /#page-wrapper -->
32+
33+
<?php include "includes/admin_footer.php";?>

admin/includes/admin_nav.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ class="fa fa-fw fa-arrows-v"></i>
6262
Users <i class="fa fa-fw fa-caret-down"></i></a>
6363
<ul id="users_dropdown" class="collapse">
6464
<li>
65-
<a href="#"> View All Users</a>
65+
<a href="users.php"> View All Users</a>
6666
</li>
6767
<li>
68-
<a href="#"> Delet Users</a>
68+
<a href="users.php"> Delet Users</a>
6969
</li>
7070
7171
</ul>

categories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$post_author = $row['post_author'];
2929
$post_date = $row['post_date'];
3030
$post_image = $row['post_image'];
31-
$post_content = $row['post_content'];
31+
$post_content = substr($row['post_content'], 0, 100);
3232

3333
?>
3434
<h1 class="page-header">

includes/nav.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span class="icon-bar"></span>
1010
<span class="icon-bar"></span>
1111
</button>
12-
<a class="navbar-brand" href="index.php">Start Bootstrap</a>
12+
<a class="navbar-brand" href="index.php">Mohamed CMS</a>
1313
</div>
1414
<!-- Collect the nav links, forms, and other content for toggling -->
1515
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
@@ -35,13 +35,6 @@
3535
<li>
3636
<a href="admin/">Admin</a>
3737
</li>
38-
<!--
39-
<li>
40-
<a href="#">Services</a>
41-
</li>
42-
<li>
43-
<a href="#">Contact</a>
44-
</li> -->
4538

4639

4740
</ul>

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$post_author = $row['post_author'];
2424
$post_date = $row['post_date'];
2525
$post_image = $row['post_image'];
26-
$post_content = $row['post_content'];
26+
$post_content = substr($row['post_content'], 0, 100);
2727

2828
?>
2929
<h1 class="page-header">

0 commit comments

Comments
 (0)