Example #1
0
    function Form_CustomValidate(&$CustomError)
    {
        // Return error message in CustomError
        return TRUE;
    }
    // User ChangePassword event
    function User_ChangePassword(&$rs, $usr, $oldpwd, &$newpwd)
    {
        // Return FALSE to abort
        return TRUE;
    }
}
ew_Header(TRUE);
// Create page object
if (!isset($changepwd)) {
    $changepwd = new cchangepwd();
}
// Page init
$changepwd->Page_Init();
// Page main
$changepwd->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$changepwd->Page_Render();
include_once "header.php";
?>
<script type="text/javascript">

// Write your client script here, no need to add script tags.
</script>
Example #2
0
include "ewcfg7.php";
include "ewmysql7.php";
include "phpfn7.php";
include "tbl_userinfo.php";
include "userfn7.php";
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate");
// HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
// HTTP/1.0
// Create page object
$changepwd = new cchangepwd();
$Page =& $changepwd;
// Page init
$changepwd->Page_Init();
// Page main
$changepwd->Page_Main();
include "header.php";
?>
<script language="JavaScript" type="text/javascript">
<!--

// Write your client script here, no need to add script tags.
// To include another .js script, use:
// ew_ClientScriptInclude("my_javascript.js"); 
//-->