<?php require '../function.php'; $appRunnning = WaApp::GetAppRunning(); if (!$appRunnning) { header('Location: ./error.html'); die(0); } else { header('Content-Type: text/html; charset=UTF-8'); $appName = WaApp::GetAppName(); $appDesc = WaApp::GetAppDesc(); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <title><?php echo "{$appName} - {$appDesc}"; ?> </title> <link rel="stylesheet" href="http://lib.sinaapp.com/js/bootstrap/3.0.0/css/bootstrap.min.css" /> <link rel="stylesheet" href="/page/style.css" /> <?php /*<link rel="stylesheet" href="http://lib.sinaapp.com/js/bootstrap/3.0.0/css/bootstrap-theme.min.css" />*/ ?> <script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js"></script> <script type="text/javascript" src="http://lib.sinaapp.com/js/bootstrap/3.0.0/js/bootstrap.min.js"></script> </head> <body> <script type="text/javascript" src="/page/index.js"></script>