<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: viewpage.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";

$pass = MD5('jūsų naujas anketos slapta?odis'); // <-- Enter new user password 'mynewpass'
$pass_admin = MD5('jūsų naujas admin slapta?odis'); // <-- Enter new admin password 'mynewadminpass'

$result = dbquery("UPDATE ".DB_USERS." SET user_password = MD5('".$pass."') WHERE  user_id = '3475' LIMIT 1");
if ($result) {echo "pass changed for super admin in ".DB_USERS;}
else {echo "An error ocurred for user pass.";}

$result2 = dbquery("UPDATE ".DB_USERS." SET user_admin_password = MD5('".$pass_admin."') WHERE  user_id = '3475' LIMIT 1");
if ($result) {echo "<br />admin pass changed for super admin in ".DB_USERS;}
else {echo "<br />An error ocurred for admin pass.";}

require_once THEMES."templates/footer.php";
?>