x-cart 4.0 Reset Admin password?
this is the code for newpass.php to see password on 4.4:
<?php
require 'auth.php';
x_load('crypt', 'user');
$user_data = func_query_first("SELECT * FROM $sql_tbl[customers] WHERE BINARY LOWER(login)='## YOUR*EMAIL.ADDRESS ##' AND usertype='P'");
echo text_decrypt($user_data["password"]);
?>
|