{if $currentPageName == 'Home'} {if $modulecustombuttonresult} {if $modulecustombuttonresult == "success"} {include file="$template/includes/alert.tpl" type="success" msg=$LANG.moduleactionsuccess textcenter=true idname="alertModuleCustomButtonSuccess"} {else} {include file="$template/includes/alert.tpl" type="error" msg=$LANG.moduleactionfailed|cat:' ':$modulecustombuttonresult textcenter=true idname="alertModuleCustomButtonFailed"} {/if} {/if} {if $pendingcancellation} {include file="$template/includes/alert.tpl" type="error" msg=$LANG.cancellationrequestedexplanation textcenter=true idname="alertPendingCancellation"} {/if} {if $unpaidInvoice}
{lang key='payInvoice'}
{$unpaidInvoiceMessage}
{/if}
{if $tplOverviewTabOutput} {$tplOverviewTabOutput} {else}

{if $moduleParams.customfields['ncurl']} {$moduleParams.customfields['ncurl']} {else} {$domain} {/if}

{$status}
{if $billingcycle ne {lang key='orderpaymenttermfreeaccount'}} {else} {if $rawstatus eq "terminated"} {elseif 1123200 > ($smarty.now - ($regdate|@strtotime)) && ($smarty.now - ($regdate|@strtotime)) > 950400} {* wenn Heute - RegisterDatum < 13 Tage && > 11 Tage *} {elseif ($smarty.now - ($regdate|@strtotime)) > 1123200} {* wenn Heute - RegisterDatum > 13 Tage *} {else} {/if} {/if}
{$LANG.clientareahostingregdate} {$regdate}
{$LANG.firstpaymentamount} {$firstpaymentamount}
{$LANG.recurringamount} {$recurringamount}
{$LANG.orderbillingcycle} {$billingcycle}
{$LANG.clientareahostingnextduedate} {$nextduedate}
{$LANG.orderpaymentmethod} {$paymentmethod}
Trial Account{lang key='domainRenewal.expiredDaysAgo' days=((($smarty.now - ($regdate|@strtotime)) / 86400)|round) - 14}{lang key='domainRenewal.expiringIn' days=(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)}{lang key='trialLastDay'}{lang key='domainRenewal.expiringIn' days=(14 - (($smarty.now - ($regdate|@strtotime)) / 86400)|round)}


{if $rawstatus eq "terminated"} {lang key='orderNow'} {else} {lang key='upgradeNow'} {/if}
{* {if $showcancelbutton || $packagesupgrade} {/if} *} {if $systemStatus == 'Active'} {foreach $hookOutput as $output}
{$output}
{/foreach} {if $domain || $moduleclientarea || $configurableoptions || $customfields || $lastupdate}
{if $configurableoptions}
{* bug, VM Template Change are ignored by changepackeage & reinstall *}
Servername {$domain}
IP Adresse {$dedicatedip}
VM Template {$moduleParams.configoptions['VM Template']}
CPU Cores {$moduleParams.configoptions['The number of cores per socket']}
Hautspeicher {$moduleParams.configoptions['Amount of RAM']} GB
Festplattenplatz {$moduleParams.configoptions['Disk Space']} GB
{/if} {if $metricStats}

{lang key='metrics.explanation'}

{foreach $metricStats as $metric} {/foreach}
{lang key='metrics.metric'} {lang key='metrics.currentUsage'} {lang key='metrics.pricing'} {lang key='metrics.lastUpdated'}
{$metric.displayName} {$metric.currentValue|round:1} {if count($metric.pricing) > 1} {lang key='metrics.startingFrom'} {$metric.lowestPrice} / {if $metric.unitName}{$metric.unitName}{else}{lang key='metrics.unit'}{/if}
{elseif count($metric.pricing) == 1} {$metric.lowestPrice} / {if $metric.unitName}{$metric.unitName}{else}{lang key='metrics.unit'}{/if} {if $metric.includedQuantity > 0} ({$metric.includedQuantity|round:1} {lang key='metrics.includedNotCounted'}){/if} {else} — {/if} {include file="$template/usagebillingpricing.tpl"}
{if is_string($metric.lastUpdated)}{$metric.lastUpdated}{else}{$metric.lastUpdated->diffForHumans()}{/if}
{/if} {if $domain}
{if $isCustomModuleCss} {/if}
{$content}
{/if} {if $customfields}
Admin Username {if $moduleParams.customfields['ciuser']}{$moduleParams.customfields['ciuser']}{else}root{/if}
SSH-Key {assign var=keyName value=' '|explode:$moduleParams.customfields['sshkeys']}{$keyName[2]}
{/if} {if $lastupdate}

{lang key='diskSpace'} %

{($diskusage / 1024)|round:1} GB / {($disklimit / 1024)|round:1} GB

{lang key='clientarealastupdated'}: {$lastupdate}

{lang key='bandwidth'} %

{($bwusage / 1024)|round:1} GB / {if $bwlimit == 'Unbegrenzt'}{$bwlimit}{else}{($bwlimit / 1024)|round:1} GB{/if}

{lang key='clientarealastupdated'}: {$lastupdate}

{/if}
{/if} {else}
{if $suspendreason} {$suspendreason}
{/if} {$LANG.cPanel.packageNotActive} {$status}.
{if $systemStatus eq "Pending"} {$LANG.cPanel.statusPendingNotice} {elseif $systemStatus eq "Suspended"} {$LANG.cPanel.statusSuspendedNotice} {/if}
{/if} {/if}
{else}
{if $isCustomModuleCss} {/if}
{$content}
{/if} {if $isDebug} {else} {/if}