{if ($productinfo.paytype eq 'free') && in_array($productinfo.pid, $clientPids)} {include file="orderforms/{$carttpl}/nodoubletrial.tpl"} {else} {include file="orderforms/{$carttpl}/common.tpl"} {if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")} {include file="templates/orderforms/{$carttpl}/layouts/head.tpl"} {/if}