If you're making alot of custom items for your server, you know it's annoying that you can't show the stats of the items without actually linking in-game or taking screenies.
This fairly large script does that for you! It automatically parses items from the db based on live data, meaning that if you changed some retail items the changes would show.
I've set it up for 2 DBs - one is 'items' which includes regular items, and 'myitems' which include custom items.
If you have only one table for items (which isn't too good for db updating), you can change line 333 for 'items' instead of 'myitems', and delete lines 337-340 and 343.
Live page: http://wowil.servegame.com/spidey/mall.php
It has both custom and regular items. I've removed binding so you won't see it there, although it is implemented.
It's still not 100% done - I need to find where the socket bonuses are stored (if you have any idea, do reply), but it's working
CSS is partially ripped from wowhead - but you don't mind, do you? :P
Credit for the ajax popup library goes to Gregory Wild-Smith from Twilight Universe. Thanks, Greg!
Download: Filebeam - Free Fast File Hosting
See index.php on how to implement it on actual pages.
You also need the spelltext.sql table! Execute it in your world DB, where your item table is!
Filebeam - Free Fast File Hosting