<?php if (!isset($this->global['mobilecssStyle']) || empty($this->global['mobilecssStyle'])) $this->global['mobilecssStyle'] = "original"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta name="viewport" content="width=290; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
		<title>Welcome to <?php echo $this->global['brandname']; ?></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $this->siteBaseUrl ?>css/mobile/jquery.mobile-1.1.0.min.css" media="screen, print"/>
	    <link rel="stylesheet" type="text/css" href="<?php echo $this->siteBaseUrl ?>css/mobile/mobile.css" media="screen, print"/>
		<link rel="stylesheet" type="text/css" href="<?php echo $this->siteBaseUrl ?>css/mobile/themes/<?php echo $this->global['mobilecssStyle'] ?>/mobile.css" media="screen, print"/>
		<?php if (file_exists(APP_ROOT . "css/mobile/themes/" . $this->global['mobilecssStyle'] . "/highdensity.css")): ?>
		<link rel="stylesheet" type="text/css" href="<?php echo $this->siteBaseUrl ?>css/mobile/themes/<?php echo $this->global['mobilecssStyle'] ?>/highdensity.css" media="screen, print"/>
		<?php endif; ?></head>
<body style="background:#eee;">
	<div id="header" class="ui-header ui-bar-l ui-header-fixed slidedown ui-fixed-hidden">
		<div class="logo"></div>
	</div>
<div id="container" class="provision" style="margin-top: 80px; text-align:center;">

<div id="content">
	<h2><?php echo $this->translate("Welcome to " . $this->global['brandname']) ?></h2>
	<?php echo $this->translate("To download and automatically configure your iOS with email, contacts and calendaring:") ?>
	<br><br>
	<a href='?iosprofile'><div style="margin-left: 0px;" class="ui-btn ui-btn-inline ui-shadow ui-btn-corner-all ui-fullsize ui-btn-up-b"><span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"><?php print $this->translate('Download the profile') ?></span></div></a>

	<p><?php echo $this->translate("To use webmail:") ?></p>
	<a href='?webmail'><div style="margin-left: 0px;" class="ui-btn ui-btn-inline ui-shadow ui-btn-corner-all ui-fullsize ui-btn-up-b"><span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"><?php print $this->translate('Access webmail') ?></span></div></a>
</div>
</div>
<div id="foot">
</div>
</body>
</html>

