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

<form 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; ?>

<p><textarea class='code' style='width: 100%; height: 200px;' wrap='off' readonly><?php readfile("../../POLICY.txt"); ?></textarea></p></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" name="btn_syscheck" value="<?php echo $strBtnAgree; ?>" tabindex="<?php echo ($tabindex++); ?>" />
                    <input type="submit" class="button floatleft" name="btn_terms" value="<?php echo $strBtnDontAgree; ?>" tabindex="<?php echo ($tabindex++) ?>" />
