Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- function account_profile_fields_get_hash_options($form_field, $selected) {
- $options = "";
- $result = db_query("SELECT id,name FROM account_profile_field_hash ORDER BY name");
- while ($row = db_fetch_assoc($result))
- {
- $chk = $row["id"] == $selected ? "selected" : "";
- $options .= '' . "<option value=\"" . $row["id"] . "\">" . $row["name"];
- continue;
- }
- return $options;
- }
- function account_types_member_area_options($form_field, $selected) {
- $options = "";
- $result = db_query("SELECT id,name FROM account_member_areas ORDER BY name");
- while (list($id, $name) = db_fetch_array($result))
- {
- $chk = $id == $selected ? "selected" : "";
- $options .= '' . "<option value=\"" . $id . "\" " . $chk . ">" . $name;
- continue;
- }
- return $options;
- }
- function account_delete_all() {
- exec_triggers("account_delete_all_before");
- $tables = array("account_profile", "account_extra", "account_log", "account_login_history", "account_notes", "account_payment", "account_deleted_profile", "account_deleted_extra", "account_deleted_log", "account_deleted_notes");
- foreach ($tables as $table_name)
- {
- db_query('' . "DELETE FROM " . $table_name);
- db_query('' . "OPTIMIZE TABLE " . $table_name);
- continue;
- }
- exec_triggers("account_delete_all_after");
- return;
- }
- function account_get_type_options($form_field, $selected) {
- global $registry;
- $options = "";
- if ($registry->panel == "admin")
- {
- $sql = "SELECT id,name FROM account_types ORDER BY id";
- }
- else
- {
- $sql = "SELECT id,name FROM account_types WHERE show_in_form = 1 ORDER BY id";
- }
- $result = db_query($sql);
- while (list($id, $name) = db_fetch_array($result))
- {
- $chk = $id == $selected ? "selected" : "";
- $options .= '' . "<option value=\"" . $id . "\" " . $chk . ">" . $name;
- continue;
- }
- return $options;
- }
- function check_password_level($password) {
- if (strlen($password) < 1)
- {
- return false;
- }
- if (strlen($password) < 4)
- {
- return false;
- }
- $score = 0;
- if (8 <= strlen($password))
- {
- $score++;
- ........................................................................
- .........................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment