Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta name=\"deepview-service\" content=\"deepview-..
Decoded Output download
<? <!DOCTYPE html>
<html>
<head>
<meta name=\"deepview-service\" content=\"deepview-service\">
<link href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600\" rel=\"stylesheet\" type=\"text/css\">
<style>
body {
font-family: \"Source Sans Pro\", Helvetica, serif;
background-color: #f5f6fa;
margin: 0;
color: #3B3E49;
}
/* Elements */
.card {
background-color: #f5f6fa;
}
#main-image {
width: 100px;
height: 100px;
background-size: cover;
background-position: center;
background-image: url(http://is4.mzstatic.com/image/thumb/Purple122/v4/2c/de/14/2cde14aa-d4f6-5708-35dc-3fb44281ff4a/source/640x1136bb.png);
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}
.app-title {
font-size: 14px;
line-height: 19px;
padding-bottom: 20px;
border-bottom: 3px solid #cecece;
text-transform: uppercase;
}
.card-title {
margin: 16px 0;
font-size: 32px;
line-height: 32px;
}
.app-content {
margin: 10px 0;
max-height: 90px;
overflow-y: scroll;
}
form > input {
margin-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
-moz-flex: 1;
background-color: #fff;
border: 1px solid #979797;
border-radius: 2px;
font-size: 18px;
color: #444;
line-height: 24px;
padding-left: 20px;
}
.input-container > form {
flex-direction: row;
-webkit-flex-direction: row;
-moz-flex-direction: row;
-ms-flex-direction: row;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
}
.input-label {
padding-bottom: 10px;
}
.input-footnote {
font-size: 25%;
}
/* No-Data */
.card--no-data {
-webkit-flex-direction: column;
-ms-flex-direction: column;
-moz-flex-direction: column;
}
.card--no-data #main-image {
width: 100%;
height: 70px;
padding-top: 25px;
padding-bottom: 25px;
background-image: url(\"https://cdn.branch.io/deepview-no-data-stripes.png\");
}
.card--no-data #inner-div {
padding-left: 25px;
padding-right: 25px;
}
.card--no-data .input-container {
position: static;
}
.card--no-data .app-content {
height: 170px;
overflow-y: auto;
}
.card--no-data #main-image img {
float: left;
width: 60px;
margin-top: -25px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: -1px 2px 3px 0px rgba(102,102,102,1);
-moz-box-shadow: -1px 2px 3px 0px rgba(102,102,102,1);
box-shadow: -1px 2px 3px 0px rgba(102,102,102,1);
}
.card--no-data #main-image .app-title {
margin-left: 75px;
margin-top: 35px;
border: 0;
}
.card--no-data .card-title {
padding: 0;
}
/* Reusables */
.center {
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
top: 50%;
left: 50%;
position: fixed;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.input-container > img {
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
}
.heading {
font-family: \"Source Sans Pro\", Helvetica, serif;
font-weight: 600;
font-size: 28px;
line-height: 32px;
margin-top: 20px;
padding-bottom: 10px;
}
.sub-heading {
font-family: \"Source Sans Pro\", Helvetica, serif;
font-weight: 400;
line-height: 25px;
margin-bottom: 40px;
text-decoration-line: none;
}
.error {
color: #FF7878;
}
.secondary-action {
color: #0075C9;
text-decoration: none;
}
.action {
background-color: #0075C9;
font-size: 16px;
font-weight: 600;
color: #fff;
line-height: 20px;
cursor: pointer;
border-radius: 10px;
border: 0;
padding: 20px;
margin-top: 16px;
text-decoration: none;
}
#banner {
position: relative;
background-color: #fff;
width: 100%;
height: 60px;
border-bottom: 1px solid #D8D8D8;
margin-bottom: 30px;
}
.vertical-center {
margin: 0;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.vertical-center > img {
height: 40px;
width: 40px;
margin-left: 40px;
}
</style>
</head>
<body>
<div>
<div id=\"banner\">
<div class=\"vertical-center\">
<img src=\"http://is4.mzstatic.com/image/thumb/Purple122/v4/2c/de/14/2cde14aa-d4f6-5708-35dc-3fb44281ff4a/source/640x1136bb.png\">
</div>
</div>
<div class=\"input-container center\">
<div id=\"main-image\"></div>
<div class=\"heading\">Launching SpotHero</div>
<div class=\"sub-heading\">
We have redirected you to the desktop app.
</br>
You can also <a class=\"secondary-action\" href=\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\">open this link in your browser.</a>
</div>
<a class=\"action\" href=\"nullopen?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k2yj49PKkrMS86IT8vJL4%2FPTLE1NDY1NzE1NzewtDAyszA3MTExBwABPT%2BCSgAAAA%3D%3D&link_click_id=1357457709793320014\">Launch SpotHero</a>
</div>
<script type=\"text/javascript\">
function validateProtocol(url){
var parser = document.createElement(\"a\");
parser.href = url;
var protocol = parser.protocol.toLowerCase();
if ([ \"javascript:\", \"vbscript:\", \"data:\", \"ftp:\", \":\", \" \"].indexOf(protocol) < 0) {
return url;}
return null;
}
function isSafariBrowser(ua) {
return !!/^((?!chrome|android|crios|fxios).)*safari/i.test(ua);
}
function isGreaterThanVersion(ua, v) {
var match = /iPhone OS ([^ ]*)/i.exec(ua);
if (match && match[1]) {
try {
var version = match[1].replace(/_/gi, '.');
version = version.split('.');
version = parseFloat(version[0] + '.' + version[1]);
if (version >= v) {
return true;
}
} catch (e) {
return false;
}
}
return false;
}
function isSafari12Dot3OrGreater() {
var ua = navigator.userAgent;
var isSafari = isSafariBrowser(ua);
if (isSafari) {
return isGreaterThanVersion(ua, 12.3);
}
return false;
};
var hasURI = false;
var intervalExecuted = false;
var focusExecuted = false;
window.onload = function() {
window.top.location = validateProtocol(\"nullopen?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k2yj49PKkrMS86IT8vJL4%2FPTLE1NDY1NzE1NzewtDAyszA3MTExBwABPT%2BCSgAAAA%3D%3D&link_click_id=1357457709793320014\");
setTimeout(function timeout() {
if (!hasURI) {
window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");
}
intervalExecuted = true;
}, 500);
};
window.onblur = function() {
hasURI = true;
};
window.onfocus = function() {
if (!focusExecuted && hasURI) {
focusExecuted = true;
window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");
} else if (!focusExecuted && intervalExecuted) {
focusExecuted = true;
window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");
}
};</script></body>
</html> ?>
Did this file decode correctly?
Original Code
<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta name=\"deepview-service\" content=\"deepview-service\">\n\t\t<link href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600\" rel=\"stylesheet\" type=\"text/css\">\n\t\t<style>\n \tbody {\n\t\t\t\tfont-family: \"Source Sans Pro\", Helvetica, serif;\n\t\t\t\tbackground-color: #f5f6fa;\n\t\t\t\tmargin: 0;\n\t\t\t\tcolor: #3B3E49;\n\t\t\t}\n\t\t\t/* Elements */\n\t\t\t.card {\n\t\t\t\tbackground-color: #f5f6fa;\n\t\t\t}\n\t\t\t#main-image {\n\t\t\t\twidth: 100px;\n\t\t\t\theight: 100px;\n\t\t\t\tbackground-size: cover;\n\t\t\t\tbackground-position: center;\n\t\t\t\t\tbackground-image: url(http://is4.mzstatic.com/image/thumb/Purple122/v4/2c/de/14/2cde14aa-d4f6-5708-35dc-3fb44281ff4a/source/640x1136bb.png);\n\t\t\t\tdisplay: block;\n\t\t\t\tmargin-left: auto;\n\t\t\t\tmargin-right: auto;\n margin-top: 20px;\n\t\t\t}\n\t\t\t.app-title {\n\t\t\t\tfont-size: 14px;\n\t\t\t\tline-height: 19px;\n\t\t\t\tpadding-bottom: 20px;\n\t\t\t\tborder-bottom: 3px solid #cecece;\n\t\t\t\ttext-transform: uppercase;\n\t\t\t}\n\t\t\t.card-title {\n\t\t\t\tmargin: 16px 0;\n\t\t\t\tfont-size: 32px;\n\t\t\t\tline-height: 32px;\n\t\t\t}\n\t\t\t.app-content {\n\t\t\t\tmargin: 10px 0;\n\t\t\t\tmax-height: 90px;\n\t\t\t\toverflow-y: scroll;\n\t\t\t}\n\t\t\tform > input {\n\t\t\t\tmargin-right: 10px;\n\t\t\t\tpadding-top: 10px;\n\t\t\t\tpadding-bottom: 10px;\n\t\t\t\tflex: 1;\n\t\t\t\t-webkit-flex: 1;\n\t\t\t\t-ms-flex: 1;\n\t\t\t\t-moz-flex: 1;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tborder: 1px solid #979797;\n\t\t\t\tborder-radius: 2px;\n\t\t\t\tfont-size: 18px;\n\t\t\t\tcolor: #444;\n\t\t\t\tline-height: 24px;\n\t\t\t\tpadding-left: 20px;\n\t\t\t}\n\t\t\t.input-container > form {\n\t\t\t\tflex-direction: row;\n\t\t\t\t-webkit-flex-direction: row;\n\t\t\t\t-moz-flex-direction: row;\n\t\t\t\t-ms-flex-direction: row;\n\t\t\t\tdisplay: -webkit-flex;\n\t\t\t\tdisplay: -moz-flex;\n\t\t\t\tdisplay: -ms-flex;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\t.input-label {\n\t\t\t\tpadding-bottom: 10px;\n\t\t\t}\n .input-footnote {\n font-size: 25%;\n }\n \t/* No-Data */\n\t\t\t.card--no-data {\n\t\t\t\t-webkit-flex-direction: column;\n\t\t\t\t-ms-flex-direction: column;\n\t\t\t\t-moz-flex-direction: column;\n\t\t\t}\n .card--no-data #main-image {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 70px;\n\t\t\t\tpadding-top: 25px;\n\t\t\t\tpadding-bottom: 25px;\n\t\t\t\tbackground-image: url(\"https://cdn.branch.io/deepview-no-data-stripes.png\");\n\t\t\t}\n .card--no-data #inner-div {\n\t\t\t\tpadding-left: 25px;\n\t\t\t\tpadding-right: 25px;\n\t\t\t}\n\t\t\t.card--no-data .input-container {\n\t\t\t\tposition: static;\n\t\t\t}\n\t\t\t.card--no-data .app-content {\n\t\t\t\theight: 170px;\n\t\t\t\toverflow-y: auto;\n\t\t\t}\n\t\t\t.card--no-data #main-image img {\n\t\t\t\tfloat: left;\n\t\t\t\twidth: 60px;\n\t\t\t\tmargin-top: -25px;\n\t\t\t\t-webkit-border-radius: 3px;\n\t\t\t\t-moz-border-radius: 3px;\n\t\t\t\tborder-radius: 3px;\n\t\t\t\t-webkit-box-shadow: -1px 2px 3px 0px rgba(102,102,102,1);\n\t\t\t\t-moz-box-shadow: -1px 2px 3px 0px rgba(102,102,102,1);\n\t\t\t\tbox-shadow: -1px 2px 3px 0px rgba(102,102,102,1);\n\t\t\t}\n\t\t\t.card--no-data #main-image .app-title {\n\t\t\t\tmargin-left: 75px;\n\t\t\t\tmargin-top: 35px;\n\t\t\t\tborder: 0;\n\t\t\t}\n\t\t\t.card--no-data .card-title {\n\t\t\t\tpadding: 0;\n\t\t\t}\n \t/* Reusables */\n\t\t\t.center {\n\t\t\t\ttransform: translate(-50%, -50%);\n\t\t\t\t-webkit-transform: translate(-50%, -50%);\n\t\t\t\t-ms-transform: translate(-50%, -50%);\n\t\t\t\t-moz-transform: translate(-50%, -50%);\n\t\t\t\ttop: 50%;\n\t\t\t\tleft: 50%;\n\t\t\t\tposition: fixed;\n\t\t\t\tdisplay: block;\n\t\t\t\tmargin-left: auto;\n \t\t\t\tmargin-right: auto;\n \t\t\t\ttext-align: center;\n\t\t\t}\n\t\t\t.input-container > img {\n\t\t\t display: block;\n\t\t\t margin-left: auto;\n\t\t\t margin-right: auto;\n\t\t\t margin-bottom: 20px;\n\t\t\t}\n\t\t\t.heading {\n\t\t\t\tfont-family: \"Source Sans Pro\", Helvetica, serif;\n\t\t\t\tfont-weight: 600;\n\t\t\t\tfont-size: 28px;\n\t\t\t\tline-height: 32px;\n\t\t\t\tmargin-top: 20px;\n\t\t\t\tpadding-bottom: 10px;\n\t\t\t}\n\t\t\t.sub-heading {\n\t\t\t\tfont-family: \"Source Sans Pro\", Helvetica, serif;\n\t\t\t\tfont-weight: 400;\n\t\t\t\tline-height: 25px;\n\t\t\t\tmargin-bottom: 40px;\n\t\t\t\ttext-decoration-line: none;\n\t\t\t}\n .error {\n\t\t\t\tcolor: #FF7878;\n\t\t\t}\n\t\t\t.secondary-action {\n\t\t\t\tcolor: #0075C9;\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n .action {\n\t\t\t\tbackground-color: #0075C9;\n\t\t\t\tfont-size: 16px;\n\t\t\t\tfont-weight: 600;\n\t\t\t\tcolor: #fff;\n\t\t\t\tline-height: 20px;\n\t\t\t\tcursor: pointer;\n\t\t\t\tborder-radius: 10px;\n\t\t\t\tborder: 0;\n\t\t\t\tpadding: 20px;\n\t\t\t\tmargin-top: 16px;\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n\t\t\t#banner {\n\t\t\t position: relative;\n\t\t\t background-color: #fff;\n\t\t\t width: 100%;\n\t\t\t height: 60px;\n\t\t\t border-bottom: 1px solid #D8D8D8;\n margin-bottom: 30px;\n\t\t\t}\n\t\t\t.vertical-center {\n\t\t\t margin: 0;\n\t\t\t position: absolute;\n\t\t\t top: 50%;\n\t\t\t -ms-transform: translateY(-50%);\n\t\t\t transform: translateY(-50%);\n\t\t\t}\n\t\t\t.vertical-center > img {\n\t\t\t\theight: 40px;\n\t\t\t\twidth: 40px;\n\t\t\t\tmargin-left: 40px;\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div>\n\t\t\t<div id=\"banner\">\n\t\t\t\t<div class=\"vertical-center\">\n\t\t\t\t\t<img src=\"http://is4.mzstatic.com/image/thumb/Purple122/v4/2c/de/14/2cde14aa-d4f6-5708-35dc-3fb44281ff4a/source/640x1136bb.png\">\n \t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"input-container center\">\n\t\t\t\t<div id=\"main-image\"></div>\n\t\t\t\t<div class=\"heading\">Launching SpotHero</div>\n\t\t\t\t<div class=\"sub-heading\">\n\t\t\t\t\tWe have redirected you to the desktop app.\n\t\t\t\t\t</br>\n\t\t\t\t\tYou can also <a class=\"secondary-action\" href=\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\">open this link in your browser.</a>\n\t\t\t\t</div>\n\t\t\t\t<a class=\"action\" href=\"nullopen?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k2yj49PKkrMS86IT8vJL4%2FPTLE1NDY1NzE1NzewtDAyszA3MTExBwABPT%2BCSgAAAA%3D%3D&link_click_id=1357457709793320014\">Launch SpotHero</a>\n\t\t</div>\n\t<script type=\"text/javascript\">\nfunction validateProtocol(url){\n var parser = document.createElement(\"a\");\n parser.href = url; \n var protocol = parser.protocol.toLowerCase();\n if ([ \"javascript:\", \"vbscript:\", \"data:\", \"ftp:\", \":\", \" \"].indexOf(protocol) < 0) {\n return url;}\n return null;\n}\n\n function isSafariBrowser(ua) {\n return !!/^((?!chrome|android|crios|fxios).)*safari/i.test(ua);\n }\n\n function isGreaterThanVersion(ua, v) {\n var match = /iPhone OS ([^ ]*)/i.exec(ua);\n if (match && match[1]) {\n try {\n var version = match[1].replace(/_/gi, '.');\n version = version.split('.');\n version = parseFloat(version[0] + '.' + version[1]);\n if (version >= v) {\n return true;\n }\n } catch (e) {\n return false;\n }\n }\n return false;\n }\n\n function isSafari12Dot3OrGreater() {\n var ua = navigator.userAgent;\n var isSafari = isSafariBrowser(ua);\n\n if (isSafari) {\n return isGreaterThanVersion(ua, 12.3);\n }\n\n return false;\n };\n var hasURI = false;\n var intervalExecuted = false;\n var focusExecuted = false;\n window.onload = function() {\n window.top.location = validateProtocol(\"nullopen?_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k2yj49PKkrMS86IT8vJL4%2FPTLE1NDY1NzE1NzewtDAyszA3MTExBwABPT%2BCSgAAAA%3D%3D&link_click_id=1357457709793320014\");\n setTimeout(function timeout() {\n if (!hasURI) {\n window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");\n }\n intervalExecuted = true;\n }, 500);\n };\n window.onblur = function() {\n hasURI = true;\n };\n window.onfocus = function() {\n if (!focusExecuted && hasURI) {\n focusExecuted = true;\n window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");\n } else if (!focusExecuted && intervalExecuted) {\n focusExecuted = true;\n window.top.location = validateProtocol(\"https://spothero.com/parking-pass/85572455/?key=28dbf5cf9dac8b2fab59df1d172b60c05bc032235181d4beeb404540d4213e84&_branch_match_id=1357457709793320014&utm_source=email&_branch_referrer=H4sIAAAAAAAAA8soKSkottLXLy7IL8lILcrXSywo0MvJzMvWz0h0y7XM8c4u8k0CAALCiPMlAAAA\");\n }\n };</script></body>\n</html>
Function Calls
None |
Stats
MD5 | 0c1ef30db5f84a42d68cc7f68fc3f3b4 |
Eval Count | 0 |
Decode Time | 52 ms |