In templates\default\viewlisting\listingextras2.tpl change the code to this:
Code:
<script type="text/javascript" src="includes/classes/cpaint/cpaint2.inc.compressed.js"></script>
<script language="javascript" type="text/javascript">
<!--
{literal}
var cp = new cpaint();
cp.set_transfer_mode('get');
cp.set_response_type('text');
cp.set_persistent_connection(false);
cp.set_async(true);
cp.set_proxy_url('');
cp.set_debug(false);
function saveFavorite(userid, id){
document.getElementById('loading').style.display='block';
document.getElementById('response').innerHTML = "";
cp.call('{/literal}{$smarty.const.URL}{literal}/ajax.php', 'saveFavorite', favresponse, userid, id);
return false;
}
function removeFavorite(userid, id){
document.getElementById('loading').style.display='block';
document.getElementById('response').innerHTML = "";
cp.call('{/literal}{$smarty.const.URL}{literal}/ajax.php', 'removeFavorite', favresponse, userid, id);
return false;
}
function favresponse(result) {
document.getElementById('loading').style.display='none';
document.getElementById('response').innerHTML = "";
document.getElementById('response').innerHTML += '<span class="favorites">' + result + '</span>';
}
{/literal}
//-->
</script>
<div class="listingextras2">
<table width="100%" cellpadding="2" cellspacing="2">
{if $viewprice=="Y"}
<tr>
<td class="borderright"><strong><font size="5">{$price|format_money|replace:'$0':'P.O.A'}</font></strong></td>
</tr>
{/if}
{if $allowfriendmail=="N"}
<tr><td></br><span class="friendmail"><a href="javascript:void(0);" onclick="MM_openBrWindow('{$smarty.const.URL}/friendmail.php?vehicle={$view}','contact','width=350,height=400')">{$smarty.const.LANG_EMAIL_FRIEND}</a></span></td></tr>
{/if}
<tr><td><br /><span class="printer"><a href="javascript:void(0);" onclick="MM_openBrWindow('{$smarty.const.URL}/printer.php?view={$view}','printer','width=525,height=450,directories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=yes,left=0,top=0,screenx=50,screeny=50')">{$smarty.const.LANG_PRINT_FRIENDLY}</a></span></td></tr>
{if $pmon=="N"}
<tr><td><span class="contact"><a href="{$smarty.const.URL}/private.php?action=contactowner&view={$view}">{$smarty.const.LANG_CONTACT_OWNER}</a></span></td></tr>
{/if}<tr><td><span class="moreads"><a href="searchresults.php?owner={$owner}">{$smarty.const.LANG_MORE_ADS_SELLER}</a></span></td></tr>
{if $viewphone=="Y"}
<tr>
<td class="borderright"><strong><font size="4"><br />PH: {$phone|replace:' ':''}</font></strong></td>
</tr>
{/if}
{if $viewphone=="Y"}
<tr>
<td class="borderright"><strong><font size="4"> {$extra2|replace:' ':''}</font></strong></td>
</tr>
{/if}
</table>
</div>
In registration options you need to make extra2 field, secondary phone and the second phone will display under the first one.
Nick