|
@@ -245,22 +245,24 @@
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
|
</table>
|
|
</table>
|
|
|
- {if ($product.pricing.type eq 'free') && ((count($clientActiveFree) + count($clientCardFree)) > (1 + $clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":""))}
|
|
|
|
|
- <a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.moretrials} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
|
|
|
|
|
- {$LANG.request}
|
|
|
|
|
- </a>
|
|
|
|
|
- {elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientPids && !in_array($product.pid, $clientActiveFree))}
|
|
|
|
|
- <a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.tryagain} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
|
|
|
|
|
- {$LANG.tryagain}
|
|
|
|
|
- </a>
|
|
|
|
|
- {elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientCardFree)}
|
|
|
|
|
- <a class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;pointer-events:none;">
|
|
|
|
|
- {$LANG.alreadyincard}
|
|
|
|
|
- </a>
|
|
|
|
|
- {elseif ($product.pricing.type eq 'free') && in_array($product.pid, $clientActiveFree)}
|
|
|
|
|
- <a href="{$WEB_ROOT}/clientarea.php?action=services" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;" id="product{$product@iteration}-order-button">
|
|
|
|
|
- {$LANG.alreadyactive}
|
|
|
|
|
- </a>
|
|
|
|
|
|
|
+ {if $product.pricing.type eq 'free'}
|
|
|
|
|
+ {if (count($clientActiveFree) + count($clientCardFree)) > (1 + $clientsdetails.notes|strstr:"AddTrials="|truncate:11:""|replace:"AddTrials=":"")}
|
|
|
|
|
+ <a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.moretrials} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
|
|
|
|
|
+ {$LANG.request}
|
|
|
|
|
+ </a>
|
|
|
|
|
+ {elseif in_array($product.pid, $clientPids) && !in_array($product.pid, $clientActiveFree)}
|
|
|
|
|
+ <a href="{$WEB_ROOT}/submitticket.php?step=2&deptid=1&subject={$LANG.tryagain} {$product.name}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;">
|
|
|
|
|
+ {$LANG.tryagain}
|
|
|
|
|
+ </a>
|
|
|
|
|
+ {elseif in_array($product.pid, $clientCardFree)}
|
|
|
|
|
+ <a class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;pointer-events:none;">
|
|
|
|
|
+ {$LANG.alreadyincard}
|
|
|
|
|
+ </a>
|
|
|
|
|
+ {elseif in_array($product.pid, $clientActiveFree)}
|
|
|
|
|
+ <a href="{$WEB_ROOT}/clientarea.php?action=services" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;" id="product{$product@iteration}-order-button">
|
|
|
|
|
+ {$LANG.alreadyactive}
|
|
|
|
|
+ </a>
|
|
|
|
|
+ {/if}
|
|
|
{else}
|
|
{else}
|
|
|
<a href="{$WEB_ROOT}/cart.php?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;" id="product{$product@iteration}-order-button">
|
|
<a href="{$WEB_ROOT}/cart.php?a=add&{if $product.bid}bid={$product.bid}{else}pid={$product.pid}{/if}" class="btn btn-primary btn-block" style="position:absolute; left:20px; bottom:10px; right:20px; height:40px; width:unset;padding-top:6.5px;" id="product{$product@iteration}-order-button">
|
|
|
{$LANG.ordernowbutton}
|
|
{$LANG.ordernowbutton}
|