|
You last visited: Today at 05:47
Advertisement
Register.php Need me Bonus :)
Discussion on Register.php Need me Bonus :) within the Metin2 Private Server forum part of the Metin2 category.
07/04/2013, 18:21
|
#1
|
elite*gold: 0
Join Date: Dec 2011
Posts: 228
Received Thanks: 9
|
Register.php Need me Bonus :)
Please edit my register.php I need gold_expire silver_expire safebox_expire this all acount bonus (7) i think this register have only autolot and safebox Please help
Code:
<div id="content_top">
Registration
</div>
<div id="content_main">
<?PHP
$regCoins = 0; // Startcoins
$laufZeit = 365; //Tage autoloot,safebox
$calcLZ = (60*60*24)*365;
$expireStamp = time()+$calcLZ;
$expireDate = date("Y-m-d H:i:s",$expireStamp);
if($serverSettings['register_on'] && !checkInt($_SESSION['user_admin']) && !$_SESSION['user_admin']>=0) {
if(isset($_POST['submit']) && $_POST['submit']=="registrieren") {
if((checkAnum($_POST['account']) && strlen($_POST['account'])>=8 && strlen($_POST['account'])<=16) && checkAnum($_POST['pass']) && strlen($_POST['pass'])>=8 && strlen($_POST['pass2'])<=16 && !empty($_POST['pass2']) && $_POST['pass']==$_POST['pass2'] && checkMail($_POST['email']) && strlen($_POST['email'])<=40 && $_POST['captcha']==$_SESSION['captcha_id'] &&(checkAnum($_POST['loeschcode']) && strlen($_POST['loeschcode'])==7)) {
$lcode = mysql_real_escape_string($_POST['loeschcode']);
$zuFall = rand(99999,999999999);
$userpass=mysql_real_escape_string($_POST['pass']);
$aktivHash = ($serverSettings['mail_activation']) ? md5($zuFall):'';
$accountStatus = ($serverSettings['mail_activation']) ? 'BLOCK':'OK';
$sqlCmd = "INSERT INTO account.account
(login,password,email,social_id,create_time,status,coins,autoloot_expire,safebox_expire,web_aktiviert)
VALUES
('".$_POST['account']."',PASSWORD('".$userpass."'),'".mysql_real_escape_string($_POST['email'])."','".$lcode."','".$sqlZeit."','".$accountStatus."','".$regCoins."','".$expireDate."','".$expireDate."','".$aktivHash."')";
$sqlQry = mysql_query($sqlCmd,$sqlServ);
if($sqlQry) {
$absender = $serverSettings['titel']." Registration";
$email = $serverSettings['reg_mail'];
$empfaenger = $_POST['email'];
$mail_body = "Hallo ,
deine Registration auf ".$serverSettings['titel']." war erfolgreich! Um auch auf dem Server spielen zu kцnnen, musst du deinen Account aktivieren.
Das kannst du ьber den folgenden Link tun:
".$serverSettings['url']."/index.php?s=login&do=aktivieren&hash=".$aktivHash."
Deine Daten sind:
Account: ".$_POST['account']."
Passwort: ".$userpass."
Lцschcode: ".$lcode."
Viel SpaЯ beim Spielen,
Dein ".$serverSettings['titel']."-Team
Diese E-Mail wurde automatisch generiert. Bitte keine Antworten an diese Adresse schicken.";
$titel = "Registrierung auf ".$serverSettings['titel'];
$header = "X-Priority: 3\n";
$header .= "X-Mailer: ".$serverSettings['titel']." Homepage Mailer\n";
$header .= "MIME-Version: 1.0\n";
$header .= "From: ".$absender." <".$serverSettings['reg_mail'].">\n";
$header .= "Reply-To: ".$serverSettings['reg_mail']."\n";
$header .= "Content-Type: text/plain; charset=iso-8859-1\n";
if($serverSettings['mail_activation']) {
mail($empfaenger, $titel, $mail_body, $header);
echo'<div id="success"><p class="success">Account successfully created..</p></div>';
}
else {
echo'<div id="success"><p class="success">Account successfully created..</p></div>';
}
}
else {
echo'<div id="fail"><p class="fail">Registration failed: The account already exists</p></div>';
}
}
else {
echo'<div id="fail"><p class="fail">Registration failed: please specify all the fields correctly</p></div>';
}
}
?>
<p>All fields are required and must be filled.<?PHP if($serverSettings['mail_activation']) { echo'<br/><b>Der Account wird per E-Mail aktiviert, also eine richtige E-Mail eingeben!</b>'; } ?></p>
<form action="index.php?s=register" method="POST">
<table>
<tr>
<th class="topLine">Account:</th>
<td class="tdunkel"><input type="text" name="account" maxlength="16" size="16"/> 8-16 (a-Z,0-9)</td>
</tr>
<tr>
<th class="topLine">Password:</th>
<td class="tdunkel"><input type="password" name="pass" maxlength="16" size="16"/> 8-16(a-Z,0-9)</td>
</tr>
<tr>
<th class="topLine">Repeat Password:</th>
<td class="thell"><input type="password" name="pass2" maxlength="16" size="16"/></td>
</tr>
<tr>
<th class="topLine">E-Mail:</th>
<td class="tdunkel"><input type="text" name="email" maxlength="50" size="25"/> max. 40</td>
</tr>
<tr>
<th class="topLine">deletecode:</th>
<td class="tdunkel"><input type="text" name="loeschcode" maxlength="7" size="7"/> 7a-Z,0-9)</td>
</tr>
<tr>
<th class="topLine">Captcha:</th>
<td class="tdunkel"><img src="./captcha/captcha.php" title="Captcha"/> <input type="text" name="captcha" maxlength="5" size="5"/></td>
</tr>
<tr>
<th class="topLine" style="text-align:center;" colspan="2"><input class="btn" type="submit" name="submit" value="registrieren"/> • <input type="reset" class="btn" value="zurücksetzen"/></th>
</tr>
</table>
</form>
<?PHP
}
else {
echo'<p class="meldung">Die Registration ist deaktiviert oder Sie sind bereits angemeldet. Es kann kein weiterer Account erstellt werden.</p>';
}
?>
</div>
<div id="content_footer">
</div>
anybody
|
|
|
07/04/2013, 18:55
|
#2
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
PHP Code:
<div id="content_top"> Registration </div> <div id="content_main"> <?PHP $regCoins = 0; // Startcoins $laufZeit = 365; //Tage autoloot,safebox $calcLZ = (60*60*24)*365; $expireStamp = time()+$calcLZ; $expireDate = date("Y-m-d H:i:s",$expireStamp); if($serverSettings['register_on'] && !checkInt($_SESSION['user_admin']) && !$_SESSION['user_admin']>=0) { if(isset($_POST['submit']) && $_POST['submit']=="registrieren") { if((checkAnum($_POST['account']) && strlen($_POST['account'])>=8 && strlen($_POST['account'])<=16) && checkAnum($_POST['pass']) && strlen($_POST['pass'])>=8 && strlen($_POST['pass2'])<=16 && !empty($_POST['pass2']) && $_POST['pass']==$_POST['pass2'] && checkMail($_POST['email']) && strlen($_POST['email'])<=40 && $_POST['captcha']==$_SESSION['captcha_id'] &&(checkAnum($_POST['loeschcode']) && strlen($_POST['loeschcode'])==7)) { $lcode = mysql_real_escape_string($_POST['loeschcode']); $zuFall = rand(99999,999999999); $userpass=mysql_real_escape_string($_POST['pass']); $aktivHash = ($serverSettings['mail_activation']) ? md5($zuFall):''; $accountStatus = ($serverSettings['mail_activation']) ? 'BLOCK':'OK'; $sqlCmd = "INSERT INTO account.account (login,password,email,social_id,create_time,status,coins,autoloot_expire,safebox_expire,gold_expire,silver_expire,safebox_expire,web_aktiviert) VALUES ('".$_POST['account']."',PASSWORD('".$userpass."'),'".mysql_real_escape_string($_POST['email'])."','".$lcode."','".$sqlZeit."','".$accountStatus."','".$regCoins."','".$expireDate."','".$expireDate."','".$expireDate."','".$expireDate."','".$expireDate."','".$aktivHash."')"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if($sqlQry) { $absender = $serverSettings['titel']." Registration"; $email = $serverSettings['reg_mail']; $empfaenger = $_POST['email']; $mail_body = "Hallo , deine Registration auf ".$serverSettings['titel']." war erfolgreich! Um auch auf dem Server spielen zu k?nnen, musst du deinen Account aktivieren. Das kannst du ?ber den folgenden Link tun: ".$serverSettings['url']."/index.php?s=login&do=aktivieren&hash=".$aktivHash." Deine Daten sind: Account: ".$_POST['account']." Passwort: ".$userpass." L?schcode: ".$lcode."
Viel Spa? beim Spielen, Dein ".$serverSettings['titel']."-Team Diese E-Mail wurde automatisch generiert. Bitte keine Antworten an diese Adresse schicken."; $titel = "Registrierung auf ".$serverSettings['titel']; $header = "X-Priority: 3\n"; $header .= "X-Mailer: ".$serverSettings['titel']." Homepage Mailer\n"; $header .= "MIME-Version: 1.0\n"; $header .= "From: ".$absender." <".$serverSettings['reg_mail'].">\n"; $header .= "Reply-To: ".$serverSettings['reg_mail']."\n"; $header .= "Content-Type: text/plain; charset=iso-8859-1\n"; if($serverSettings['mail_activation']) { mail($empfaenger, $titel, $mail_body, $header); echo'<div id="success"><p class="success">Account successfully created..</p></div>'; } else { echo'<div id="success"><p class="success">Account successfully created..</p></div>'; } } else { echo'<div id="fail"><p class="fail">Registration failed: The account already exists</p></div>'; } } else { echo'<div id="fail"><p class="fail">Registration failed: please specify all the fields correctly</p></div>'; } } ?> <p>All fields are required and must be filled.<?PHP if($serverSettings['mail_activation']) { echo'<br/><b>Der Account wird per E-Mail aktiviert, also eine richtige E-Mail eingeben!</b>'; } ?></p> <form action="index.php?s=register" method="POST"> <table> <tr> <th class="topLine">Account:</th> <td class="tdunkel"><input type="text" name="account" maxlength="16" size="16"/> 8-16 (a-Z,0-9)</td> </tr> <tr> <th class="topLine">Password:</th> <td class="tdunkel"><input type="password" name="pass" maxlength="16" size="16"/> 8-16(a-Z,0-9)</td> </tr> <tr> <th class="topLine">Repeat Password:</th> <td class="thell"><input type="password" name="pass2" maxlength="16" size="16"/></td> </tr> <tr> <th class="topLine">E-Mail:</th> <td class="tdunkel"><input type="text" name="email" maxlength="50" size="25"/> max. 40</td> </tr> <tr> <th class="topLine">deletecode:</th> <td class="tdunkel"><input type="text" name="loeschcode" maxlength="7" size="7"/> 7a-Z,0-9)</td> </tr> <tr> <th class="topLine">Captcha:</th> <td class="tdunkel"><img src="./captcha/captcha.php" title="Captcha"/> <input type="text" name="captcha" maxlength="5" size="5"/></td> </tr> <tr> <th class="topLine" style="text-align:center;" colspan="2"><input class="btn" type="submit" name="submit" value="registrieren"/> • <input type="reset" class="btn" value="zurücksetzen"/></th> </tr> </table> </form> <?PHP } else { echo'<p class="meldung">Die Registration ist deaktiviert oder Sie sind bereits angemeldet. Es kann kein weiterer Account erstellt werden.</p>'; } ?> </div> <div id="content_footer"> </div>
Greatz Benhero
|
|
|
07/04/2013, 19:05
|
#3
|
elite*gold: 0
Join Date: Dec 2011
Posts: 228
Received Thanks: 9
|
With this can't register get and see 
|
|
|
07/04/2013, 19:46
|
#4
|
elite*gold: 964
Join Date: Mar 2008
Posts: 2,634
Received Thanks: 1,637
|
Can´t watch..
PHP Code:
<div id="content_top"> Registration </div> <div id="content_main"> <?PHP $regCoins = 0; // Startcoins $laufZeit = 365; //Tage autoloot,safebox $calcLZ = (60*60*24)*365; $expireStamp = time()+$calcLZ; $expireDate = date("Y-m-d H:i:s",$expireStamp); if($serverSettings['register_on'] && !checkInt($_SESSION['user_admin']) && !$_SESSION['user_admin']>=0) { if(isset($_POST['submit']) && $_POST['submit']=="registrieren") { if((checkAnum($_POST['account']) && strlen($_POST['account'])>=8 && strlen($_POST['account'])<=16) && checkAnum($_POST['pass']) && strlen($_POST['pass'])>=8 && strlen($_POST['pass2'])<=16 && !empty($_POST['pass2']) && $_POST['pass']==$_POST['pass2'] && checkMail($_POST['email']) && strlen($_POST['email'])<=40 && $_POST['captcha']==$_SESSION['captcha_id'] &&(checkAnum($_POST['loeschcode']) && strlen($_POST['loeschcode'])==7)) { $lcode = mysql_real_escape_string($_POST['loeschcode']); $zuFall = rand(99999,999999999); $userpass=mysql_real_escape_string($_POST['pass']); $aktivHash = ($serverSettings['mail_activation']) ? md5($zuFall):''; $accountStatus = ($serverSettings['mail_activation']) ? 'BLOCK':'OK'; $sqlCmd = "INSERT INTO account.account (login,password,email,social_id,create_time,status,coins,autoloot_expire,safebox_expire,gold_expire,silver_expire,web_aktiviert) VALUES ('".$_POST['account']."',PASSWORD('".$userpass."'),'".mysql_real_escape_string($_POST['email'])."','".$lcode."','".$sqlZeit."','".$accountStatus."','".$regCoins."','".$expireDate."','".$expireDate."','".$expireDate."','".$expireDate."','".$aktivHash."')"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if($sqlQry) { $absender = $serverSettings['titel']." Registration"; $email = $serverSettings['reg_mail']; $empfaenger = $_POST['email']; $mail_body = "Hallo , deine Registration auf ".$serverSettings['titel']." war erfolgreich! Um auch auf dem Server spielen zu k?nnen, musst du deinen Account aktivieren. Das kannst du ?ber den folgenden Link tun: ".$serverSettings['url']."/index.php?s=login&do=aktivieren&hash=".$aktivHash." Deine Daten sind: Account: ".$_POST['account']." Passwort: ".$userpass." L?schcode: ".$lcode."
Viel Spa? beim Spielen, Dein ".$serverSettings['titel']."-Team Diese E-Mail wurde automatisch generiert. Bitte keine Antworten an diese Adresse schicken."; $titel = "Registrierung auf ".$serverSettings['titel']; $header = "X-Priority: 3\n"; $header .= "X-Mailer: ".$serverSettings['titel']." Homepage Mailer\n"; $header .= "MIME-Version: 1.0\n"; $header .= "From: ".$absender." <".$serverSettings['reg_mail'].">\n"; $header .= "Reply-To: ".$serverSettings['reg_mail']."\n"; $header .= "Content-Type: text/plain; charset=iso-8859-1\n"; if($serverSettings['mail_activation']) { mail($empfaenger, $titel, $mail_body, $header); echo'<div id="success"><p class="success">Account successfully created..</p></div>'; } else { echo'<div id="success"><p class="success">Account successfully created..</p></div>'; } } else { echo'<div id="fail"><p class="fail">Registration failed: The account already exists</p></div>'; } } else { echo'<div id="fail"><p class="fail">Registration failed: please specify all the fields correctly</p></div>'; } } ?> <p>All fields are required and must be filled.<?PHP if($serverSettings['mail_activation']) { echo'<br/><b>Der Account wird per E-Mail aktiviert, also eine richtige E-Mail eingeben!</b>'; } ?></p> <form action="index.php?s=register" method="POST"> <table> <tr> <th class="topLine">Account:</th> <td class="tdunkel"><input type="text" name="account" maxlength="16" size="16"/> 8-16 (a-Z,0-9)</td> </tr> <tr> <th class="topLine">Password:</th> <td class="tdunkel"><input type="password" name="pass" maxlength="16" size="16"/> 8-16(a-Z,0-9)</td> </tr> <tr> <th class="topLine">Repeat Password:</th> <td class="thell"><input type="password" name="pass2" maxlength="16" size="16"/></td> </tr> <tr> <th class="topLine">E-Mail:</th> <td class="tdunkel"><input type="text" name="email" maxlength="50" size="25"/> max. 40</td> </tr> <tr> <th class="topLine">deletecode:</th> <td class="tdunkel"><input type="text" name="loeschcode" maxlength="7" size="7"/> 7a-Z,0-9)</td> </tr> <tr> <th class="topLine">Captcha:</th> <td class="tdunkel"><img src="./captcha/captcha.php" title="Captcha"/> <input type="text" name="captcha" maxlength="5" size="5"/></td> </tr> <tr> <th class="topLine" style="text-align:center;" colspan="2"><input class="btn" type="submit" name="submit" value="registrieren"/> • <input type="reset" class="btn" value="zurücksetzen"/></th> </tr> </table> </form> <?PHP } else { echo'<p class="meldung">Die Registration ist deaktiviert oder Sie sind bereits angemeldet. Es kann kein weiterer Account erstellt werden.</p>'; } ?> </div> <div id="content_footer"> </div>
Greatz Benhero
Try So
|
|
|
07/04/2013, 19:59
|
#5
|
elite*gold: 0
Join Date: Dec 2011
Posts: 228
Received Thanks: 9
|
thank you
|
|
|
 |
Similar Threads
|
[Selling] Defiance Digital Deluxe + Pre-Order Bonus + Arkhunter Bonus
04/27/2013 - Trading - 8 Replies
Huhu zusammen,
ich habe mir das Spiel gekauft, war auch ganz begeistert davon, jedoch gab es einige Komplikationen und somit bin ich kaum noch imstande am PC Games zu Spielen, gezahlt habe ich 60€ für das Spiel, würde mich also Freuen wenn ich in etwa einen gleichwertigen Preis für den Verkauf bekommen würde.
Wenn ihr Interesse habt, meldet euch, macht mir ein Angebot!
Payment nur Paypal!
Screens:
http://www.qpic.ws/images/screenkwk.png
|
[Help - Helfen]Modify/Remove horse bonus - Ändern / Entfernen Pferd Bonus
12/12/2012 - Metin2 Private Server - 0 Replies
Sorry for no perfect english skills.
Hello community, i needed to know how to modify or remove the bonus the horse gives us when we mount them, you see? Vit, Int, Str and Des, like in official metins... When we mount the horse we gain addicional status and they are removed when we unmount them. However, this won't happen if we mount the new mounts like the Lion, the Wolf the Tiger and the Boar! We gain the status and they don't go away when we unmount them! This bug could be used by the...
|
Inline Asm -> Wert aus Register in anderes Register schreiben
03/17/2012 - C/C++ - 17 Replies
Huhu,
die Frage klingt vielleicht etwas Blöd, aber ich würde gerne wissen, wie ich den Wert eines Registers in ein anderes schreiben kann.
Wenn ich mov verwende wird lediglich die Speicheradresse auf das andere Register geschrieben und ich brauche den Wert in die Speicheradresse die mein Register hält.
Mein Inline Asm Code sieht folgendermaßen aus:
char *command;
code = "insert 1";
_asm {
|
Free Items from Equipment Bonus Quests and Bonus Packs
01/31/2010 - Conquer Online 2 - 6 Replies
I know this might sound really stupid and I'm probably gonna get alot of people calling me a noob for asking this. But I was wondering about the (Free) equipment you get from the Equipment Bonus Quests and Bonus packs. Do they stay after you get reborn or do they disapear? I tried looking on the CO site but it isnt there and I checked this forum and couldnt find anything.
If anyone has gotten reborn with free items, it would be great to know because I would love to keep my necklace I got from...
|
All times are GMT +1. The time now is 05:48.
|
|