<div class="notice notice-blue">
  <div class="inside">
    <span class="bold-item">[l]Instructions[/l]:</span>
    <ul>
      <li>[l]Download the WHMCS Export tool[/l]: <a href="../plugins/import/whmcs/gettool.php">[ [l]download[/l] ]</a></li>
      <li>[l]Upload whmcs2ce.php to your WHMCS root directory.[/l]</li>
      <li>[l]Open the whmcs2ce.php in a web browser which will allow you to download a .csv.gz file.[/l]</li>
      <li>[l]Delete the whmcs2ce.php from your WHMCS root directory.[/l]</li>
      <li>[l]From this tool, select the clientexec.csv.gz file that was downloaded from the whmcs2ce.php and click import.[/l]</li>
    </ul>
  </div>
</div>

<!-- BEGIN DYNAMIC BLOCK: error -->
<div class="notice notice-red">
    [l]File upload failed.[/l]
</div>
<!-- END DYNAMIC BLOCK: error -->

<!-- BEGIN DYNAMIC BLOCK: results -->
<div class="notice notice-yellow">
    <span class="bold-item">[l]Import Results[/l]:</span>
    <ul>
        <li>{numAccounts} [l]accounts added from WHMCS.[/l]</li>
        <li>{numPackages} [l]packages added from WHMCS.[/l]</li>
        <li>{numHosting} [l]client packages added from WHMCS.[/l]</li>
        <li>{numInvoices} [l]invoices added from WHMCS.[/l]</li>
    </ul>
</div>
<!-- END DYNAMIC BLOCK: results -->

<h6>[l]Import WHMCS Exported File[/l]</h6>
<div><br />[l]Upload File[/l]: <input type="file" name="importfile" /></div>
<div><br /><input type="submit" name="submit" class="button" value="[lh]Import![/lh]"/></div>
