Hi
I keep getting this error with my 'register_ccinfo.tpl.php'
Code:
Parse error: parse error, unexpected '.', expecting '}' in /home/cableed/public_html/xcart/templates_c/%%210/%%2105277156/register_ccinfo.tpl.php on line 43
I replaced the file with one which was working on another server and still got the error! I have edited this file to comment out most of the credit card into as I don't want to take these details on my site. Here is the code of my 'register_ccinfo.tpl.php' - Can anyone see anything out of the ordinery here??
Code:
{* $Id: register_ccinfo.tpl,v 1.7 2002/09/24 05:45:29 gorky Exp $ *}
<tr valign=middle>
<td height=20 colspan=3>{$lng.lbl_credit_card_information}<hr size=1 noshade></td>
</tr>
<tr valign=middle>
<td align=right>{$lng.lbl_cc_type}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
<select name=card_type>
{section name=card_type loop=$card_types}
{*<option value="{$card_types[card_type].code}" {if $userinfo.card_type eq $card_types[card_type].code}selected{/if}>{$card_types[card_type].type}</option>
{/section}
</select>
{else}
{#safeCCType#}
<input type=hidden name=card_type value="{#safeCCType#}">
{/if}
</td>
</tr>
<tr valign=middle>
<td align=right>{$lng.lbl_cc_name_explanation}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
{*<input type=text name=card_name size=32 maxlength=20 value="{$userinfo.card_name}">
{else}
{#safeCCName#}
<input type=hidden name=card_name value="{#safeCCName#}">
{/if}
</td>
</tr>
<tr valign=middle>
{*<td align=right>{$lng.lbl_cc_number_explanation}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
<input type=text name=card_number size=32 maxlength=20 value="{$userinfo.card_number}">
{else}
{#safeCCNum#}
<input type=hidden name=card_number value="{#safeCCNum#}">
{/if}
</td>
</tr>
<tr valign=middle>
<td align=right>{$lng.lbl_cc_expiration}</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
{*<input type=text name=card_expire size=4 maxlength=4 value="{$userinfo.card_expire}">
{else}
{#safeCCExp#}
<input type=hidden name=card_expire value="{#safeCCExp#}">
{/if}
</td>
</tr>
<tr valign=middle>
<td align=right>CVV2</td>
<td></td>
<td nowrap>
{if #safeCCNum# eq ""}
{*<input type=text name=card_cvv2 size=4 maxlength=4 value="{$userinfo.card_cvv2}">
{else}
{#safeCCcvv2#}
<input type=hidden name=card_cvv2 value="{#safeCCcvv2#}">
{/if}
</td>
</tr>
Cheers
Tye