Revise Order Plan
<style type="text/css"><!--
.flash-success { background: #E6EFC2;color: #264409; border-color: #C6D880;padding: .8em; margin-bottom: 1em;border: 2px solid #ddd; }
.flash-cancel { background: #E6EFC2;color: red; border-color: #C6D880;padding: .8em; margin-bottom: 1em;border: 2px solid #ddd; }
--></style>
<script type="text/javascript">// <![CDATA[
function GetURLParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split("&");
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split("=");
if (sParameterName[0] == sParam)
{ return sParameterName[1]; }
}
}
window.onload = function()
{
var msg = GetURLParameter("msg");
if(msg==1)
{
document.getElementById("success").style.display="block";
}else if(msg==0)
{
document.getElementById("cancel").style.display="block";
}
}
// ]]></script>
<div id="success" class="flash-success" style="display: none;">You have successfully paid.</div>
<div id="cancel" class="flash-cancel" style="display: none;">You have canceled this plan.</div>
.flash-success { background: #E6EFC2;color: #264409; border-color: #C6D880;padding: .8em; margin-bottom: 1em;border: 2px solid #ddd; }
.flash-cancel { background: #E6EFC2;color: red; border-color: #C6D880;padding: .8em; margin-bottom: 1em;border: 2px solid #ddd; }
--></style>
<script type="text/javascript">// <![CDATA[
function GetURLParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split("&");
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split("=");
if (sParameterName[0] == sParam)
{ return sParameterName[1]; }
}
}
window.onload = function()
{
var msg = GetURLParameter("msg");
if(msg==1)
{
document.getElementById("success").style.display="block";
}else if(msg==0)
{
document.getElementById("cancel").style.display="block";
}
}
// ]]></script>
<div id="success" class="flash-success" style="display: none;">You have successfully paid.</div>
<div id="cancel" class="flash-cancel" style="display: none;">You have canceled this plan.</div>