<html>
<head>
    <title>{SOFTWARE} Installer</title>
    <script type="text/javascript" src="javascript/common.js"></script>
    <link rel="stylesheet" type="text/css" href="templates/admin/style/main.css" /> 
    <link rel="stylesheet" type="text/css" href="newedge/templates/style.css" />
    
    <script type="text/javascript">
       function toggleContinue()
       {
           el = document.getElementById('agreedbbackup');
           btn = document.getElementById('continueButton');
           if (el.checked) {
                btn.disabled = false;
           } else {
                btn.disabled = true;
           }
       }
    </script>
</head>

<body>
<h1><a href="http://www.clientexec.com"></a></h1> 

<center>
<div id="main" style="width:80%;min-width:900px"> 

<br/><br/><br/><br/><br/><br/><br/><br/><br/>

<table style="width:100%;min-width:900px" class="progress" cellspacing="0" cellpadding="0" align="center"> 
  <tr> 
    <td width="20%" height="35" class="step_prog prtext">{SOFTWARE} Installer</td>
    <td width="20%">&nbsp;</td> 
    <td width="20%">&nbsp;</td> 
    <td width="20%">&nbsp;</td> 
    <td width="20%" align="right" class="prtext2">STEP 1 OF 5</td> 
  </tr> 
</table> 
<br>
    <table border=0 cellspacing=1 cellpadding=4 bgcolor="#999999" style="width:100%;min-width:900px">
        <tr>
            <td bgcolor="#ffffff" style="text-align:center">
                <div style="padding:10px 0">
                    <!-- BEGIN DYNAMIC BLOCK: newInstallMessage -->
                    [l]You are about to perform a fresh installation of {SOFTWARE}[/l].<br />
                    <b>[l]Please Check/Uncheck the modules to install[/l]</b>
                    <!-- END DYNAMIC BLOCK: newInstallMessage -->
                    <!-- BEGIN DYNAMIC BLOCK: upgradeMessage -->
                    [l]You are about to perform an upgrade, or install new modules (the database {databaseName} is correctly set up)[/l]<br />
                    <b>[l]Please Check/Uncheck the modules to install, upgrade, or uninstall:[/l]</b><br />
                    <!-- END DYNAMIC BLOCK: upgradeMessage -->
                    <!-- BEGIN DYNAMIC BLOCK: message -->
                    <div style="font-weight:bold; color:red">{message}</div>
                    <!-- END DYNAMIC BLOCK: message -->
                    <!-- BEGIN DYNAMIC BLOCK: missingFiles -->
                    <div style="font-weight:bold; color:red">
                        [l]Installation cannot proceed![/l]<br />
                        [l]The following files are missing:[/l]<br /><br />
                        {missingFilesList}
                    </div>
                    <!-- END DYNAMIC BLOCK: missingFiles -->
                </div>
                <form method="post" action="index.php?fuse=newedge&view=CheckFileIntegrity">
                    <table class="install-table" cellpadding="5" cellspacing="1" border="0">
                        <thead>
                            <tr>
                                <th>[l]Module[/l]</th>
                                <th>[l]Description[/l]</th>
                                <!-- BEGIN DYNAMIC BLOCK: versionInstalledHead -->
                                <th>[l]Version Installed[/l]</th>
                                <!-- END DYNAMIC BLOCK: versionInstalledHead -->
                                <th>{installOrUpgrade}</th>
                                <!-- BEGIN DYNAMIC BLOCK: uninstallHead -->
                                <th>[l]Uninstall[/l]</th>
                                <!-- END DYNAMIC BLOCK: uninstallHead -->
                            </tr>
                        </thead>
                        <!-- BEGIN DYNAMIC BLOCK: moduleRow -->
                        <tbody>
                            <tr class="{rowClass}">
                                <td align="center" style="font-weight:bold">{moduleName}</td>
                                <td>{moduleDescription}</td>
                                <!-- BEGIN DYNAMIC BLOCK: versionInstalledRow -->
                                <td align="center">{moduleVersionInstalled}</td>
                                <!-- END DYNAMIC BLOCK: versionInstalledRow -->
                                <td align="center">
                                    <!-- BEGIN DYNAMIC BLOCK: mandatoryModuleMessage -->
                                    [l]Mandatory[/l]
                                    <!-- END DYNAMIC BLOCK: mandatoryModuleMessage -->
                                    <!-- BEGIN DYNAMIC BLOCK: willBeUpgraded -->
                                    [l]Will be upgraded[/l]
                                    <input type="hidden" name="process_{moduleName}" value="true" />
                                    <!-- END DYNAMIC BLOCK: willBeUpgraded -->
                                    <!-- BEGIN DYNAMIC BLOCK: upToDateModuleMessage -->
                                    [l]Up-to-date[/l]
                                    <!-- END DYNAMIC BLOCK: upToDateModuleMessage -->
                                    <!-- BEGIN DYNAMIC BLOCK: oldCodeModuleMessage -->
                                    [l]Version uploaded is older than the one already installed.[/l]
                                    <span style="font-weight:bold; color:red">[l]FIX THIS[/l]</span>
                                    <!-- END DYNAMIC BLOCK: oldCodeModuleMessage -->
                                    <!-- BEGIN DYNAMIC BLOCK: optionalModuleCheck -->
                                    <input type="checkbox" name="process_{moduleName}" value="true" {optionalModuleCheckChecked} />
                                    <!-- END DYNAMIC BLOCK: optionalModuleCheck -->
                                </td>
                            </tr>
                        </tbody>
                        <!-- END DYNAMIC BLOCK: moduleRow -->
                    </table>
                    <!-- BEGIN DYNAMIC BLOCK: backupNotice -->
                    <div style="margin:10px 0">
                        <b>Please make a backup of your database before proceeding.</b><br />
                        If the upgrade fails, after fixing the error you will need to restore this backup before trying the upgrade again.
                    </div>
                    <!-- END DYNAMIC BLOCK: backupNotice -->
                    <div style="margin:10px 0">
                        [l]During the next step the installer will check the integrity of the files you uploaded.[/l]<br />
                        <br />
                        <b>[l]The next step may take several minutes to complete, please do not close your browser.[/l]</b>
                    </div>
                    {upgradeConfirm}
                </form>
            </td>
        </tr>
    </table>


<br/><br/><br/>
 
        </div>
</center>
</body>
</html>
