<?php
/**
 * dbupgrade_warning_view.php - FILE_DESCRIPTION_HERE
 *
 * @author $Author: dtong $
 * @version $Id: dbupgrade_warning_view.php,v 1.1 2011/02/21 06:04:33 dtong Exp $
 * @copyright Copyright (c) 2011, Tiller Software Co., Ltd.
*/
?>

<div class="admin_list_title centered" ><?php echo $admin_dbupgrade_title;?></div>
<div style="border:1px solid;padding:14px;width:85%;margin:25px auto 25px;text-align:center;">
	<div style="font-weight:bold;margin:15px;font-size:12px;">
		<?php echo $admin_dbupgrade_currentversion; echo $current_ver;?></div>

		<div style="color:red;font-size:15px;font-weight:bold;padding:15px;">
			<?php echo $admin_dbupgrade_warn;?></div>
			<p style="width:80%;min-width:60%;margin:5px auto 14px;text-align:left;line-height:1.5;font-size:13px;">
			<?php echo lang('admin_dbupgrade_body_text')?>
			</p>
			<p style="width:80%;min-width:60%;margin:5px auto 14px;text-align:left;line-height:1.5;font-size:13px;">
				<?php echo $admin_dbupgrade_listofupgrade;?><br />
				<?php
					foreach($script_ver as $script) {
						echo '&#8226; ' . basename($script, '.sql').'<br/>';
					}
				?>
			</p>

			<input type="submit" name="cancel" value="Cancel" class="btn"
			onClick="ajaxGetpage('page_content','<?php echo base_url().'home/logo';?>');return false;"
			onmouseout="if(this.className) this.className='btn';"
			onmouseover="if(this.className) this.className='btnhov';" />
			&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="submit" name="continue" value="Continue" class="btn"
			onClick="confirmDBUpgrade('<?php echo base_url().'admin/dbupgrade/upgrade';?>',
				'<?php echo $admin_dbupgrade_iframe_headtitle;?>', '850','700', 'DBUPGRADE', '<?php echo $admin_dbupgrade_iframe_text;?>');
				ajaxGetpage('page_content','<?php echo base_url().'home/logo';?>');return false;"
			onmouseout="if(this.className) this.className='btn';"
			onmouseover="if(this.className) this.className='btnhov';" />

</div>