Blog > Admin / Index.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Blog

Download:
blog.zip

Category:
Blog

Archive Content:

Admin

Content:

Guestbook

Content:

Images

Content:

Photos

Photos > Thumbs

Photos

Content:

Index.php:


<?php
session_start
();
?>
<link rel="stylesheet" href="style.css" type="text/css">
<center><table border='0' width=100%><tr><td valign='top' width=30%>
<?PHP
include "connect.php";
$blogadmin=$_SESSION['blogadmin'];
$getadmin="SELECT * from bl_admin where username='$blogadmin'";
$getadmin2=mysql_query($getadmin) or die("Cannot get admin");
$getadmin3=mysql_fetch_array($getadmin2);
if(
$getadmin3['status']==3)
{
   include 
"left.php";
   print 
"</td>";
   print 
"<td valign='top' width=70%>";
   print 
"<table class='maintable'><tr class='headline'><td><center>Main Admin</center></td></tr>";
   print 
"<tr class='mainrow'><td>";
   print 
"Welcome to your blog's admin panel. From here you can customize what options to show,  post entries,  edit comments,  administrate your guestbook and poll,  and edit and change your resume and calender.";
   print 
"</td></tr></table>";
}
else
{
  print 
"Not logged in.";
  print 
"</td></tr></table>";
 

}
?>


Other Blog Scripts:

WebMaster Resources Home

©RingsWorld.com