CINXE.COM
CMS
<!doctype html> <html lang="ko"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-76HK9FLH8G"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-76HK9FLH8G'); </script> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="user-scalable=no, width=device-width" /> <title>CMS</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $.ajax({ method : "POST", data: { "siteid" : "1" }, url : "/MainGubun.do", success : function(data) { var gubun = data; $.ajax({ method : "POST", data: { "siteid" : "1" }, url : "/MainintroUseyn.do", success : function(data) { if(data == "Y") { if(gubun == '1') { document.location.href='/mainIntro/intro.do'; } else if (gubun == '' || gubun == 0){ document.location.href='/main.do'; } else { document.location.href='/mainIntro/intro.do'; } } else if(data == "N") { document.location.href='/main.do'; } } }); } }); }); </script> </head> <body></body> </html>