<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
	http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">


<html>
<head>
<title>Worldsoft Site-Xchange Server</title> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

    <link rel="stylesheet" type="text/css" 
    href="https://static.worldsoft-cms.info/js//yui/build/container/assets/skins/sam/container.css">
<script type="text/javascript" src="https://static.worldsoft-cms.info/js/yui/build/utilities/utilities.js"></script>
<script type="text/javascript" src="https://static.worldsoft-cms.info/js//yui/build/container/container.js"></script>


<style type="text/css" media="screen">
#title {
    position: absolute;
    left: 13px;
    top: 55px;
    font-family:comic sans ms;
    color: black; z-index: 1;

}
#top {
    position: absolute; 
    left: 0px; 
    top:0px; 
    background: url(https://static.worldsoft-cms.info/xoops/xchange/images/worldsoft-top.jpg); width: 760px; height: 
    76px;
}

#mid {
    position: absolute; 
    left: 0px; 
    top: 77px; 
    background: url(https://static.worldsoft-cms.info/xoops/xchange/images/worldsoft-middle.jpg); width: 760px;
    height: 214px; z-index: 0;
} #login {
    z-index: 1; position: absolute;
    left: 300px; top: 170px;
}
body {
    background-color: #000000;
}

#content {
background-color: yellow;
z-index: 1;
position: absolute; 
left: 350px; 
top: 155px; 
}


</style>


</head>

<body class=" yui-skin-sam"  onload="javascript:this.document.forms[0].username.focus();">
<div id="content"></div> 

<script>
    YAHOO.namespace("ispdirector.container");
    function submitForm(f) {

        var content = document.getElementById("content");
        
        content.innerHTML = "";

        if (!YAHOO.ispdirector.container.wait) {

            // Initialize the temporary Panel to display while waiting for external content to load

            YAHOO.ispdirector.container.wait = 
                    new YAHOO.widget.Panel("wait",  
                                                    { width: "240px", 
                                                      fixedcenter: true, 
                                                      close: false, 
                                                      draggable: false, 
                                                      zindex:4,
                                                      modal: true,
                                                      visible: false
                                                    } 
                                                );
    
            YAHOO.ispdirector.container.wait.setHeader("Authenticating, please wait...");
            YAHOO.ispdirector.container.wait.setBody("<img src=\"http://us.i1.yimg.com/us.yimg.com/i/us/per/gr/gp/rel_interstitial_loading.gif\"/>");
            YAHOO.ispdirector.container.wait.render(document.body);

        }

        // Define the callback object for Connection Manager that will set the body of our content area when the content has loaded



        var callback = {
            success : function(o) {

                var response = new String(o.responseText);
                if (response.substr(0,3)=="URL") {
                    url2go=response.substr(5);
                    self.location=url2go;
                }
                if (response.substr(0,3)=="ERR") {
                    errmsg=response.substr(5);
                    content.style.visibility = "visible";
                    content.innerHTML = o.responseText;
                }

                YAHOO.ispdirector.container.wait.hide();
            },
            failure : function(o) {
                content.style.visibility = "visible";
                content.innerHTML = "CONNECTION FAILED";
                YAHOO.ispdirector.container.wait.hide();
            }
        }
    
        // Show the Panel
        YAHOO.ispdirector.container.wait.show();
        if (f.username.value!="" && f.password.value!="") {
            url="/xchange/index.php?form_action=login&username="+f.username.value+"&password="+f.password.value;
        }
        
	

        // Connect to our data source and load the data
        var conn = YAHOO.util.Connect.asyncRequest("GET", url, callback);
	return false;

    }

</script>


        <div id="title">Worldsoft CMS Xchange server</div>
        <div id="top"></div>
        <div id="mid"></div>
        <div id="login">

            Please login so this Xchange  site can be installed
            <form action="/xchange/index.php" method="get" onsubmit="return submitForm(this)">
                <input type="hidden" name="form_action" value="login">
                <table>
                    <tr><td>Username</td><td><input type="text" 
                                             name="username"></td></tr>
                    <tr><td>Password</td><td><input type="password" 
                                             name="password"></td></tr>
                    <tr><td colspan=2 align=right><input class="btn" type="submit" name="Send" value="LOGIN"></td></tr>
                </table>
            </form>
        </div>

</body>
</html>
