<?php

#
#   FILE:  SPT--ExportUsersExecute.html
#
#   FUNCTIONS PROVIDED:
#       None
#
#   FUNCTIONS EXPECTED:
#       None
#
#   Part of the Scout Portal Toolkit
#   Copyright 2004 Internet Scout Project
#   http://scout.cs.wisc.edu
#

?>
<table cellspacing="3" cellpadding="3" border="0" bgcolor="#FFFFFF" align="center">
    <tr>
    
<?PHP if(ExportComplete()) { ?>

        <td colspan="2" class="colorHeader"><h1>Export Completed Successfully</h1></td>

<?PHP } else { ?> 

        <td colspan="2" class="colorHeader"><h1>Exporting Data</h1></td>

<?PHP } ?>

    </tr>
	<tr class="lightBody">
		<td valign="top">
       <h1>     
       <span class="Message"><?PHP PrintUserCount(); ?> Users Exported.</span><br>
        </h1>  
        </td>
     </tr>
     <tr class="lightBody">
        <td align="center">
        Download the exported file by clicking <?PHP PrintExportLink(); ?>here</a>
		</td>
	</tr>
	<tr>
	    <td align="center">
	    (You may need to shift-click on the link to get your browser to download the file.)
	    <td>
	</tr>
</table>
<?PHP if($ExportComplete == 0) { ?>

    <table cellspacing="3" cellpadding="3" border="0" bgcolor="#FFFFFF" align="center">
        <tr>
            <td>
                <form name="exportusers" method="post" action="index.php?P=ExportUsersExecute">
                    <input type="submit" name="Submit" value="Cancel">
                </form>
            </td>
        </tr>
    </table>

<?PHP
}
?>
