Creating a News management system (Part 3)

The following code will make up the admin link navigation system. The code below is for our file 'admin_navigation.asp'.

'Admin_navigation.asp'

<div align="center">
<a href="add_news.asp">Add News</a> | <a href="del_all.asp">Delete News</a> | <a href="edit_all.asp">Edit News</a>
</div>

Once the file is saved as 'admin_navigation.asp' we can include it in our admin files like so;

<!--#include file="admin_navigation.asp" -->

Using an include file makes it easier to manage the links as if you make a change to the file 'admin_navigation.asp' it will update all the pages rather than having to update them all individually. Save the 'admin_navigation.asp' file in the 'admin' folder.

<<Previous

Get the best asp web hosting provider now and save 30%

Advertisements



MembersPro

MembersPro PayPal - ASP Membership software

Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.