1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<? if(!preg_match('/(iPad)/i', $_SERVER['HTTP_USER_AGENT']) && preg_match('/(Mobile|UP.Browser|Android|BlackBerry|Windows CE|Nokia|webOS|Opera Mini|SonyEricsson|opera mobi|Windows Phone|IEMobile|POLARIS)/i', $_SERVER['HTTP_USER_AGENT']) ) { echo "<script>location.href='./info.php';</script>"; }else{ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>e수발주-TEST</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> </head> <body data-role="page" style="margin:0 auto;"> <div align="center" style="position: relative; width: 546px; height: 905px; left: 30%; background-repeat: no-repeat;"> <iframe align="middle" frameborder="1" src="./info.php" style="position: absolute; left: 10px; top: 50px; width: 413px; height: 702px; background:white;"></iframe> </div> </body> </html> <?}?>
|