?? admin_create_gloves.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 + -