<?php
    if (!defined('MAX_PATH')) { exit; }
    OA_GUI_getHtmlForDbLoader('Detecting previous OpenX installation...');
?>

<form id="frmOpenads" name="frmOpenads" method="POST" action="install.php" onSubmit="showLoader();">
<input type="hidden" name="hdn_policy" value="" />
<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td valign='top'><img src='<?php echo $imgPath; ?>images/install-license.gif'></td><td width='100%' valign='top'><br><span class='tab-s'><?php echo $strPolicyTitle; ?></span><br><img src='<?php echo $imgPath; ?>images/break-el.gif' width='100%' height='1' vspace='8'><span class='install'><?php echo $strPolicyIntro; ?>

<div id="terms-container" style=""><?php readfile("privacy-policy.html"); ?></div></span></td></tr></table>

<?php
			$isEnabled = (isset($_SESSION['updates_enabled'])) ? $_SESSION['updates_enabled'] : true;
            phpAds_ShowSettings(array (
                array (
                    'text'    => $GLOBALS['strSpecifySyncSettings'],
                    'items'   => array (
                        array (
                            'type'    => 'checkbox',
                            'name'    => 'updates_enabled',
                            'text'    => $strAdminCheckUpdates,
                            'value'   => $isEnabled ,
                        )
                    )
                )
            ), $errormessage, 0, $imgPath);
?>

<img src='<?php echo $imgPath; ?>images/break-el.gif' height='1' width='100%' vspace='5'>

                    <input type="submit" class="button" id="btn_syscheck" name="btn_syscheck" value="<?php echo $strBtnAgree; ?>" tabindex="<?php echo ($tabindex++); ?>" />
                    <input type="submit" class="button floatleft" id="btn_terms" name="btn_terms" value="<?php echo $strBtnDontAgree; ?>" tabindex="<?php echo ($tabindex++) ?>" />
