<?php session_start();  //Developed by ITechScripts?>
<html>
<head>
<title>Admin</title>
>
<style type="text/css">
<!--
.style1 {
	color: #666666;
	font-weight: bold;
}
.style3 {
color: #666666; font-size: 11px; font-family:Arial, Helvetica,sans-serif
}
-->
</style></head>
<body topmargin="0">
<center><?php
 require 'include/configurations.php'; // ITECHBIDS Configuration File 
 if($_POST[flag])
 {
  $demo=$_POST[txtdemo];
  if(!empty($demo))
  {
     if($demo=='demo')
     {
     require 'install_demo.php';
      $msg="Demo data Loaded Successfuly";
     }
     else
     {
      $msg="Please confirm addition of demo data by typing 'demo' in the text field.";
     }
  }
  else
  {
    $msg="Please confirm addition of demo data by typing 'demo' in the text field.";
  }
  
 }
 
?>
<? require 'include/header.php'; ?>
<form action="demo_data.php" method="post">
<table width="80%"  border="0" cellspacing="2" cellpadding="5" bgcolor="<?=$bg ?>" class="ft">
<tr class="ct" height="25"><td align="left" colspan="2">
Load Auction Demo Data
</td></tr>
<? if(!empty($msg))
{
?>
<tr><td colspan="2" align="center"><font size="2" color="red"><?= $msg; ?></font></td></tr>
<?
}
?>

<tr><td align="right">Please Type "demo" to Confirm</td><td align="left"><input type="text" class="bluetext"name="txtdemo"></td></tr>
<tr><td colspan="2" align="center">(Warning:this will reset all auction data!)</td></tr>
<tr><td colspan="2" align="center">
<input type="hidden" value="1" name=flag>
<input type="submit" class="button"   value="Demo Data">
</td></tr>
</table>
</form>
<? require 'include/footer.php'; ?>
</center>
</body>
</html>
