CINXE.COM
Login - eXtplorer
<?xml version="1.0" encoding="UTF-8"><!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>Login - eXtplorer</title> <script type="text/javascript" src="scripts/extjs3/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="scripts/extjs3/ext-all.js"></script> <script type="text/javascript" src="//www.dam4co2.eu/private_area/index.php?option=com_extplorer&action=include_javascript&file=functions.js"></script> <link rel="stylesheet" href="//www.dam4co2.eu/private_area/scripts/extjs3/resources/css/ext-all.css" /> <link rel="stylesheet" href="scripts/extjs3/resources/css/xtheme-blue.css" /> <link rel="shortcut icon" href="//www.dam4co2.eu/private_area/eXtplorer.ico" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="robots" content="noindex, nofollow" /> </head> <body> <div style="width: 400px;" id="formContainer"> <div id="ext_logo" style="text-align:center;"> <a href="http://extplorer.net" target="_blank"> <img src="//www.dam4co2.eu/private_area/images/eXtplorer-horizontal2.png" align="middle" alt="eXtplorer Logo" style="border:none;" /> </a> </div> <noscript> <div style="width:400px;text-align:center;"> <h1>eXtplorer Login</h1> <p style="color:red;">Oh, Javascript is disabled!</p> <p>Find out <a target="_blank" href="https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=12654">how you can enable Javascript in your browser.</a> </p> </div> </noscript> <div id="adminForm"></div> </div> <script type="text/javascript"> Ext.onReady( function() { var simple = new Ext.FormPanel( { xtype: "form", renderTo: "adminForm", title: "Login", id: "simpleform", labelWidth: 125, // label settings here cascade unless overridden url: "index.php", frame: true, keys: { key: Ext.EventObject.ENTER, fn : function(){ if (simple.getForm().isValid()) { Ext.get( "statusBar").update( "Please wait..." ); Ext.getCmp("simpleform").getForm().submit({ reset: false, success: function(form, action) { location.reload() }, failure: function(form, action) { if( !action.result ) return; Ext.Msg.alert('Error(s)', action.result.error, function() { this.findField( 'password').setValue(''); this.findField( 'password').focus(); }, form ); Ext.get( 'statusBar').update( action.result.error ); }, scope: Ext.getCmp("simpleform").getForm(), params: { option: "com_extplorer", action: "login", type : "extplorer" } }); } else { return false; } } }, items: [{ xtype:"textfield", fieldLabel: "Username", name: "username", width:175, allowBlank:false },{ xtype:"textfield", fieldLabel: "Password", name: "password", inputType: "password", width:175, allowBlank:false }, new Ext.form.ComboBox({ fieldLabel: "Language", store: new Ext.data.SimpleStore({ fields: ['language', 'langname'], data : [ ['arabic', 'Arabic' ],['brazilian_portuguese', 'Brazilian Portuguese' ],['bulgarian', 'Bulgarian' ],['catalan', 'Catalan' ],['czech', 'Czech' ],['danish', 'Danish' ],['dutch', 'Dutch' ],['english', 'English' ],['estonian', 'Estonian' ],['finnish', 'Finnish' ],['french', 'French' ],['german', 'German' ],['germanf', 'Germanf' ],['germani', 'Germani' ],['greek', 'Greek' ],['hungarian', 'Hungarian' ],['hungariani', 'Hungariani' ],['indonesian', 'Indonesian' ],['islenska', 'Islenska' ],['italian', 'Italian' ],['japanese', 'Japanese' ],['norwegian', 'Norwegian' ],['polish', 'Polish' ],['portuguese', 'Portuguese' ],['romanian', 'Romanian' ],['russian', 'Russian' ],['serbian', 'Serbian' ],['simplified_chinese', 'Simplified Chinese' ],['slovenian', 'Slovenian' ],['spanish', 'Spanish' ],['swedish', 'Swedish' ],['traditional_chinese', 'Traditional Chinese' ],['turkish', 'Turkish' ] ] }), displayField:"langname", valueField: "language", value: "english", hiddenName: "lang", disableKeyFilter: true, editable: false, triggerAction: "all", mode: "local", allowBlank: false, selectOnFocus:true }), { xtype: "displayfield", id: "statusBar" } ], buttons: [{ text: "Login", type: "submit", handler: function() { Ext.get( "statusBar").update( "Please wait..." ); Ext.getCmp("simpleform").getForm().submit({ reset: false, success: function(form, action) { location.reload() }, failure: function(form, action) { if( !action.result ) return; Ext.Msg.alert('Error(s)', action.result.error, function() { this.findField( 'password').setValue(''); this.findField( 'password').focus(); }, form ); Ext.get( 'statusBar').update( action.result.error ); }, scope: Ext.getCmp("simpleform").getForm(), params: { option: "com_extplorer", action: "login", type : "extplorer" } }); } }, { text: 'Reset', handler: function() { simple.getForm().reset(); } } ] } ); Ext.get( 'formContainer').center(); Ext.get( 'formContainer').setTop(100); simple.getForm().findField('username').focus(); Ext.EventManager.onWindowResize( function() { Ext.get( 'formContainer').center();Ext.get( 'formContainer').setTop(100); } ); }); </script> </body> </html>