<html><head><title>128 Concepts Stock Inventory</title></head>
<body>
<table BORDER="0" width="75%" cellpadding="10" cellspacing="0">

<tr>
<?php
/***************************************************************************
 *			delete_db.php	                                   *
 *                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~	                   *
 *   File Info:		  Delete Database                                  *
 *   Copyright:       Copyright 2003 http://www.128concepts.com            *
 *						                           *
 ***************************************************************************/
include("./config.php");
include("./header.inc");
include("./tests.php");

if ($_SESSION['admin'] != "admin")
{
echo "<br><br><center><img src=images/line.gif border=0 height=1 width=400></center><p align=\"center\"><img src=images/keybord1.gif border=0><b><strong><font face = Verdana size = 3>   Sorry you are not the administrator!</strong></font></b><br>Click here to return to log in screen  <a href='shop_showall.php'>here.</a>
<br><br><img src=images/line.gif border=0 height=1 width=400><br><br><br><br></p>";
	include("./your-footer.inc");  
	exit();
}
?>
<center>
<table width="500" border=1><tr align="justify" class="subtitle"><td>
  <p align="center">
  <img border="0" src="images/database.GIF" width="24" height="24"><font face=Verdana size=1><a href="./create_db.php">Create database</a>&nbsp;
  <img border="0" src="images/database.GIF" width="24" height="24"></font><a href="./delete_db.php"><font face=Verdana size=1>Delete database</font></a><font face="Verdana" size="1">&nbsp;
  <img border="0" src="images/Records.GIF" width="24" height="24"><a href="./create_menu.php">Create table</a>&nbsp;&nbsp;&nbsp;&nbsp;
  <img border="0" src="images/Records.GIF" width="24" height="24">&nbsp;
  </font> <a href="./add_menu.php"><font face=Verdana size=1>Add Record </font></a>  
  </p>
  <p align="center">&nbsp;<font face="Verdana" size="1"><img border="0" src="images/Records.GIF" width="24" height="24"></font><a href="./view_menu.php"><font face=verdana size=1>View Records</font></a>&nbsp;
  <font face="Verdana" size="1">&nbsp;&nbsp;&nbsp;
  <img border="0" src="images/Records.GIF" width="24" height="24"></font><a href="./del_menu.php"><font face=verdana size=1>Delete Record</font></a>
  <font face="Verdana" size="1">&nbsp;&nbsp;&nbsp;
  <img border="0" src="images/Records.GIF" width="24" height="24"></font> <a href="./upd_menu.php"><font face=verdana size=1>Update Record</font></a>&nbsp;
  <img border="0" src="images/home-to.GIF" width="24" height="24"><font face=verdana size=1>&nbsp; <a href="./index.php">Home</a></font>  </a></td></tr></table><br></center>

<center><h2><img src=images/readme.gif border=0><font face=verdana size=2> Notes for all users:</font></h2></center>
<p align=justify><font face=verdana size=2>On certain web servers it may be the case that you are restricted in deleting any databases. Below you are given the choice by answering 'YES' to delete a new database or answer 'NO' and no action will be taken. Users who are using commerical web hosted sites i.e. sites that are hosted by web hosting companies. They will forbid you to delete the MYSQL/SQL database. For users on Linux/Windows servers, you can delete the MYSQL database. However, you must create the database using SQL command <b>create database mydata;</b> from the SQL monitor. The SQL monitor is found inside the MYSQL folder in the bin subfolder. Type the command 'mysql' and press ENTER. You will see the MYSQL monitor where you should type the command for creating the database. If you do not create the database, functions in the e-commerce store will not work!</font></p>
<p></font><br>
</tr>
</table>
<form action= "./delete_db1.php" method = "post">
<font face=verdana size=2>Select choice to delete database ?</font>
<select name = "acts">
<option value = "yes">Yes</option>
<option value = "no">No</option>
</select>
<input type="submit" value="Submit">
</form>
<?php include("./your-footer.inc");?>
</body>
</html>