############################################################## 
## MOD Title: Shop Item List Icon Add-on 
## MOD Author: Nightrider < phpbb@4fxearth.net > (Blake) http://4fxearth.net
## MOD Description: This MOD adds a new Icon column to the Shop Inventory List
## MOD Version: 1.0.0
## 
## Installation Level: Easy 
## Installation Time: ~1 Minute using EM... 
## Files To Edit: 2
##			shop_inventory.php
##			templates/subSilver/shop/shop_list_body.tpl
##
## Included Files: 0
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
############################################################## 
## For security purposes, please check: http://www.phpbb.com/mods/ 
## for the latest version of this MOD. Although MODs are checked 
## before being allowed in the MODs Database there is no guarantee 
## that there are no security problems within the MOD. No support 
## will be given for MODs not found within the MODs Database which 
## can be found at http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
##	The Shop MOD must be installed before this MOD can be installed...
############################################################## 
## MOD History: 
##	
##	2007-07-27 	- Version 1.0.0
##				- Initial Release
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
#
#-----[ OPEN ]------------------------------------------------
#
shop_inventory.php
#
#-----[ FIND ]------------------------------------------------
#
$template->assign_block_vars('listrow', array(
#
#-----[ BEFORE, ADD ]----------------------------------
#
		if (file_exists("shop/images/".$row2['name'].".jpg")) { $itemfilext = "jpg"; }
		elseif (file_exists("shop/images/".$row2['name'].".png")) { $itemfilext = "png"; }
		else { $itemfilext = "gif"; }
#
#-----[ AFTER, ADD ]------------------------------------------------
#
			'FILE_EXT' => $itemfilext,
#
#-----[ FIND ]------------------------------------------------
#			
'L_COST' => $lang['item_cost'],
#
#-----[ AFTER, ADD ]------------------------------------------------
#			
		'L_ICON' => $lang['icon'],
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/shop/shop_list_body.tpl
#
#-----[ FIND ]------------------------------------------
#
colspan="{%:1}"
#
#-----[ INCREMENT ]-------------------------------------
#
%:1 + 1
#
#-----[ FIND ]------------------------------------------
#
{L_COST}
#
#-----[ AFTER, ADD ]------------------------------------------
#
	  <td width="2%" class="row3"><span class="gen"><b>{L_ICON}</b></span></td>
#
#-----[ FIND ]------------------------------------------
#
{listrow.COST}
#
#-----[ AFTER, ADD ]------------------------------------------
#
	  <td class="{listrow.ROW_CLASS}"><img src="shop/images/{listrow.NAME}.{listrow.FILE_EXT}" title="{listrow.NAME}" alt="{listrow.NAME}"></td>
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM