function new_stock_form() { global $db, $ir, $c, $h; print "\n<div class='generalinfo_txt'>\n<div><img src='images/info_left.jpg' alt='' /></div>\n<div class='info_mid'><h2 style='padding-top:10px;'> Adding an item to a shop</h2></div>\n<div><img src='images/info_right.jpg' alt='' /></div> </div>\n<div class='generalinfo_simple'><br> <br><br>\n\n<form action='staff_shops.php?action=newstocksub' method='post'>\nShop: " . shop_dropdown($c, "shop") . "<br />\nItem: " . item_dropdown($c, "item") . "<br />\n<input type='submit' STYLE='color: black; background-color: white;' value='Add Item To Shop' /></form></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; }
function give_item_form() { global $ir, $c; print "<h3>Giving Item To User</h3>\r\n<form action='secpanel.php?action=giveitemsub' method='post'>\r\nUser: "******"<br />\r\nItem: " . item_dropdown($c, 'item') . "<br />\r\nQuantity: <input type='text' STYLE='color: black; background-color: white;' name='qty' value='1' /><br />\r\n<input type='submit' STYLE='color: black; background-color: white;' value='Give Item' /></form>"; }
function edit_item_begin() { global $db, $ir, $c, $h, $userid; if ($ir['user_level'] > 2) { die("403"); } print "\n\n\n<div class='generalinfo_txt'>\n<div><img src='images/info_left.jpg' alt='' /></div>\n<div class='info_mid'><h2 style='padding-top:10px;'> Editing Item</h2></div>\n<div><img src='images/info_right.jpg' alt='' /></div> </div>\n<div class='generalinfo_simple'><br> <br><br>\n\n\nYou can edit any aspect of this item.<br />\n<form action='staff_items.php?action=edititemform' method='post'>\nItem: " . item_dropdown($c, 'item') . "<br />\n<input type='submit' STYLE='color: black; background-color: white;' value='Edit Item' /></form></div><div><img src='images/generalinfo_btm.jpg' alt='' /></div><br></div></div></div></div></div>"; }
function new_stock_form() { global $ir, $c, $h; print "<h3>Adding an item to a shop</h3>\n<form action='new_staff.php?action=newstocksub' method='post'>\nShop: " . shop_dropdown($c, "shop") . "<br />\nItem: " . item_dropdown($c, "item") . "<br />\n<input type='submit' value='Add Item To Shop' /></form>"; }