yoursite/templates/yourtemplate/viewlisting.tpl
It's calling the old files so just strip out the .php extension in the following four places;
Code:
{if $preview!="Y"}
{* Display the breadcrumb *}
{include file="categories/breadcrumb.tpl.php"}
{* Are you an administrator? *}
{if $smarty.session.userlevel==1}
{include file="viewlisting/listingadminlinks.tpl.php"}
{/if}
{/if}
{* Now show the main table *}
<table class="tableborder">
<tr>
<th colspan="2"><strong>{$title}</strong></th>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="3" class="norm">
{if $viewseller=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_SELLER}:</strong></td>
<td>
{if $preview!="Y"}
<a href="viewmember.php?member={$owner}">{$username}</a>
{else}
{$username}
{/if}
</td>
</tr>
{/if}
{if $viewaddress=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_ADDRESS}:</strong></td>
<td>{$address}</td>
</tr>
{/if}
{if $viewcity=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_CITY}:</strong></td>
<td>{$city}</td>
</tr>
{/if}
{if $viewstate=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_STATE}:</strong></td>
<td>{$state}</td>
</tr>
{/if}
{if $viewcountry=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_COUNTRY}:</strong></td>
<td>{$country}</td>
</tr>
{/if}
{if $viewphone=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_PHONE}:</strong></td>
<td>{$phone}</td>
</tr>
{/if}
{if $viewprice=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_PRICE}:</strong></td>
<td>{$price|format_money}</td>
</tr>
{/if}
{if $viewdate=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_DATE_ADDED}:</strong></td>
<td>{$dateadded|date_format:$dateformat}</td>
</tr>
{/if}
{if $viewexpiration=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_EXPIRATION}:</strong></td>
<td>{$expirationdays} Day(s)</td>
</tr>
{/if}
{if $url<>""}
<tr>
<td><strong>{$smarty.const.LANG_EXT_URL}:</strong></td>
<td>{$url|linkurl:30}</td>
</tr>
{/if}
{if $viewhits=="Y"}
<tr>
<td><strong>{$smarty.const.LANG_VIEWS}:</strong></td>
<td>{$hitcount}</td>
</tr>
{/if}
{* Extra Fields *}
{foreach from=$extrafields item=extras}
<tr>
<td><strong>{$extras.title}:</strong></td>
<td>
{if isset($extras.value)}
{foreach key=key item=item from=$extras.value}
{$item}<br />
{foreachelse}
{$extras.value}
{/foreach}
{/if}
</td>
</tr>
{/foreach}
{* End Extra Fields *}
{if $description<>""}
<tr>
<td colspan="2"><strong>{$smarty.const.LANG_DESCRIPTION}: </strong><br />{$description|nl2br}</td>
</tr>
{/if}
</table>
<br />
</td>
<td valign="top">
{if $viewphotos=="Y" && $data <> ''}
{foreach from=$data item=image}
<p><a href="#" onMouseOver="window.status='View Large Image';return true" onMouseOut="window.status='';return true" onClick="window.open('{$smarty.const.URL}/viewimage.php?photo={$image.id}&width={$image.width}&height={$image.height}','_popup','width={$image.width},height={$image.height},directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=no,left=0,top=0,screenx=50,screeny=50');return false"> <img src="thumbs/small_{$image.image}" hspace="5" vspace="5" class="image" border="0" alt="{$image.title}" /></a><br />{$image.title}</p>
{foreachelse}
<img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/nophoto.gif" width="100" hspace="5" vspace="5" border="1" />
{/foreach}
{else}
<img src="templates/{$smarty.const.MAIN_TEMPLATE}/images/nophoto.gif" width="100" hspace="5" vspace="5" border="1" />
{/if}
<p> </p>
</td>
</tr>
</table>
{if $preview!="Y"}
{include file=viewlisting/listingextras.tpl.php}
{/if}
<p> </p>
{if $pmon=="Y" && $smarty.session.uid > 0}
{elseif $allowcontact=="Y" && $display=="Y"}
{include file=contact/contactowner.tpl.php}
{/if}