Changeset 147
- Timestamp:
- Nov 25, 2007, 12:51:02 PM (17 years ago)
- Location:
- minimanager
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/mail_templates/mail_welcome.tpl
r142 r147 1 Subject: Welcome to<title>.1 Vitejte na <title>. 2 2 3 Thank you for registering in our Mangos server at<a href="http://<base_url>"><base_url></a>.3 Dekujeme vam za registraci na nasem Mangos serveru na adrese <a href="http://<base_url>"><base_url></a>. 4 4 5 <b>Your account details are</b>:6 Username: <username>7 Password: <password>5 Detajly vaseho uctu jsou</b>: 6 Jmeno: <username> 7 Heslo: <password> 8 8 9 For more information please visit our website. 9 Pro vice informaci navstivte nase webove stranky. 10 10 11 ------------------------------- 11 ( Do not reply to this message)12 (Neodpovidejte na tento email) -
minimanager/mail_templates/recover_password.tpl
r142 r147 1 Subject: Password recovery requested.1 Pozadavek na obnovu hesla. 2 2 3 Hello<username>,3 Ahoj <username>, 4 4 5 You have requested to be assigned with a new password at<a href="http://<base_url>"><base_url></a>.6 If you didn't this request you should just ignore this message.5 Pozadali jste o nove prirazení hesla na serveru <a href="http://<base_url>"><base_url></a>. 6 Pokud jste tak neucinili, meli by jste tento email ignorovat. 7 7 8 Your new password is: <password>9 Use this link to activate the change: <a href="http://<activate_link>">Clickme.</a>10 Make sure to change your password as soon as you are logged.8 Vase nove heslo je: <password> 9 Pouzijte tento odkaz pro potvrzení zmeny: <a href="http://<activate_link>">Klikni na me.</a> 10 Doporucujeme zmenit si heslo jakmile se pripojite do hry. 11 11 12 For more information please visit our website. 13 ------------------------------ 14 ( Do not reply to this message)12 Pro vice informaci navstivte nase webove stranky. 13 ------------------------------- 14 (Neodpovidejte na tento email) -
minimanager/mail_templates/terms.tpl
r142 r147 1 Terms of Service\n\n1 Podminky sluzby:\n\n 2 2 3 TO BE FILLED !!!\n\n 4 5 New lines must begin with \\n or \\r\\n depending on your system.\n 6 Backslashes or/and apostrophe should be backslashed.\n 7 Double quotation marks must be avoided. 3 * Problemy hlaste do diskusniho fora nebo si vytvorte ticket(zadanku) pres cerveny otaznik v hlavnim panelu.\n 4 * Po GM nezadejte zadne penize, veci, level, teleport, duely, aj.\n 5 * Pokud zjistite, ze opakovane shazujete server nejakou akci, nahlaste problem do fora.\n 6 * Pokud nefunguje nejaky quest, napiste do fora do sekce questy.\n 7 * Doporucujeme sledovat aktuality na webovych strankach.\n 8 * Pokud muzete, prispejte financne na provoz server. Informace naleznete v sekci Dotace. -
minimanager/register.php
r142 r147 15 15 function doregister(){ 16 16 global $lang_global, $realm_db, $disable_acc_creation, $limit_acc_per_ip, $valid_ip_mask, 17 $send_mail_on_creation, $create_acc_locked, $from_mail, $mailer_type, $smtp_cfg, $title ;17 $send_mail_on_creation, $create_acc_locked, $from_mail, $mailer_type, $smtp_cfg, $title, $MaximumAccountCount; 18 18 19 19 if ( empty($_POST['pass']) || empty($_POST['email']) || empty($_POST['username']) ) { 20 20 redirect("register.php?err=1"); 21 21 } 22 23 $sql = new SQL; 24 $sql->connect($realm_db['addr'], $realm_db['user'], $realm_db['pass'], $realm_db['name']); 25 26 $result = $sql->query("SELECT COUNT(*) FROM account"); 27 $AccountCount = $sql->result($result, 0, 'COUNT(*)'); 28 if($AccountCount >= $MaximumAccountCount) redirect("register.php?err=4"); 22 29 23 30 if ($disable_acc_creation) redirect("register.php?err=4"); … … 300 307 $body = str_replace("<password>", substr(sha1(strtoupper($user_name)),0,7), $body); 301 308 $body = str_replace("<activate_link>", 302 $_SERVER['HTTP_HOST']. "/register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body);309 $_SERVER['HTTP_HOST'].substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"], '/'))."/register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body); 303 310 $body = str_replace("<base_url>", $_SERVER['HTTP_HOST'], $body); 304 311
Note:
See TracChangeset
for help on using the changeset viewer.