⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_create_gloves.php

📁 三國好好 子
💻 PHP
字号:
<? 
include("../config.php");
include("aup.php");
?>
<html>
<head>
<title>WoP Admin Panel - Create Gloves</title>
<link href="..\styles\phaos.css" rel="stylesheet" type="text/css">
</head>
<body>
<?
if($addme=="yes")
{
	mysql_query("INSERT INTO phaos_gloves (name, armor_class, buy_price, sell_price, image_path) VALUES ('$name','$armor_class', '$buy_price', '$sell_price', '$image_path')");
	echo "<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
	  <tr>
	  <td align=center valign=middle height=\"100%\" width=\"100%\">
		  <table border=\"0\" cellspacing=\"1\" cellpadding=\"0\">
		  <tr>
		  <td colspan=\"2\" align=center>
		  	<b>New Gloves have been created!</b>
		  </td>
		  </tr>
		  <tr>
		  <td colspan=\"2\" align=center>
		  	<br><form><input type='button' onClick=\"parent.location='admin_create_Gloves.php'\" value='Create more Gloves'>
		  	<input type='button' onClick=\"parent.location='index.php'\" value='Back to Admin Panel'></form>
		  </td>
		  </tr>
		  </table>
		</td>
		</tr>
		</table>";
}
else
{
?>
<form action="admin_create_Gloves.php?addme=yes" method=post>
<table width="600" border="1" cellspacing="0" cellpadding="3" align="center">
  <tr style=background:#006600;> 
    <td colspan="2"> 
      <div align="center"><b>Create Gloves</b></div>
    </td>
  </tr>
  <tr> 
    <td width="50%"><b><font color="#FFFFFF">Name</font></b></td>
    <td width="50%"> 
      <input type="text" name="name">
    </td>
  </tr>
  <tr> 
    <td width="50%"><b><font color="#FFFFFF">Armor Class</font></b></td>
    <td width="50%"> 
      <input type="text" name="armor_class">
    </td>
  </tr>
  <tr> 
    <td width="50%"><b><font color="#FFFFFF">Buy Price</font></b></td>
    <td width="50%"> 
      <input type="text" name="buy_price">
    </td>
  </tr>
  <tr> 
    <td width="50%"><b><font color="#FFFFFF">Sell Price</font></b></td>
    <td width="50%"> 
      <input type="text" name="sell_price">
    </td>
  </tr>
  <tr> 
    <td width="50%"><b><font color="#FFFFFF">Image</font></b></td>
    <td width="50%"> 
<table border=0 cellpadding=0 cellspacing=0>
  <tr>
   <td align=center>
   <img src="../images/icons/gloves/chain_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/chain_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/cloth_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/cloth_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/full_plate_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/full_plate_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/half_plate_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/half_plate_gloves.gif">
   </td>
 </tr>
 <tr>
   <td align=center>
   <img src="../images/icons/gloves/leather_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/leather_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/padded_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/padded_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/scale_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/scale_gloves.gif">
   </td>
   <td align=center>
   <img src="../images/icons/gloves/studded_leather_gloves.gif">
   <input CHECKED type="radio" name="image_path" value="images/icons/gloves/studded_leather_gloves.gif">
   </td>
 </tr>
</table> 
    </td>
  </tr>
  <tr> 
    <td colspan="2"> 
      <div align="center"> 
        <input type="submit" name="Submit" value="Create">
        <input type='button' onClick="parent.location='index.php'" value='Back to Admin Panel'>
      </div>
    </td>
  </tr>
</table>
</form>
<?
}
?>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -