Register for your free account! | Forgot your password?

You last visited: Today at 12:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HILFE] PHP Homepage

Discussion on [HILFE] PHP Homepage within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
SolWayne's Avatar
 
elite*gold: 30
Join Date: Feb 2015
Posts: 362
Received Thanks: 58
[HILFE] PHP Homepage

Hallo suche einen der mir helfen kann habe da so einpaar probleme mit meiner homepage z.B. login geht nicht / Ticket System will auch nicht ganz /

danke für eure hilfe

Wen ihr lust habt addet skype oder kommt auf meinen ts3: 85.214.231.129:9999


MFG

Wayne
SolWayne is offline  
Old 02/18/2015, 23:41   #2
 
Bitace's Avatar
 
elite*gold: 107
Join Date: Feb 2015
Posts: 2,011
Received Thanks: 98
Hab dich mal inkype geadded.
Bitace is offline  
Old 02/19/2015, 00:45   #3
 
SolWayne's Avatar
 
elite*gold: 30
Join Date: Feb 2015
Posts: 362
Received Thanks: 58
regi.php
Quote:
<link href="../css/plugins.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="../js/jquery-latest.pack.js"></script>
<script type="text/javascript" src="../js/jquery.validationEngine.modified.js"></script>
<script type="text/javascript" src="../js/jquery.validationEngine.rules.html"></script>
<script type="text/javascript" src="../js/iepngfix_tilebg.js"></script>
<script type="text/javascript" src="../js/jquery.tools.min.js"></script>
<script type="text/javascript" src="../js/jquery.fancybox-1.3.1.pack.js"></script>
<script type="text/javascript" src="../js/jquery.bgiframe.js"></script>
<script type="text/javascript" src="../js/main.js"></script>

<div class="postui post-title">
<h2><a>Regestrierung</a></h2>
</div>
<div id="register">
<div class="postui post-con">
<div class="con-wrap">
<?PHP
if(empty($_SESSION['id'])) {
?>



<P><font color=red>*</font>Alle Felder sind Pflichtfelder und müssen ausgefüllt werden. Bitte achten sie darauf das ihre Account ID und ihr Passwort aus mindestens 8 Zeichen oder Zahlen besteht. Bei der Eingabe einer ungültigen E-Mail, ist kein Support bei Problemen garantiert.</P>
<P><font color=red>ACHTUNG: Benutzt keine Account-Daten von anderen PServern oder Accountdetails die Ihr bereits verwendet habt!</P>

<form name="registerForm" id="registerForm" action="?p=rr" method="POST">
<table width="100%" style="font-size:12px;">
<tr>
<td width="150" class="linkteam3">Account:</td>
<td width="215" class="linkteam3"><input type="text" class="validate[required,custom[noSpecialCharacters],length[5,16]]" id="username" name="account" maxlength="16" size="16" height="20" AUTOCOMPLETE="off" /></td>
</tr>

<tr>
<td class="linkteam3">Passwort:</td>
<td class="linkteam3"><input type="password" class="validate[required,custom[noSpecialCharacters],length[6,16]]" id="password" name="pass" maxlength="16" size="16" AUTOCOMPLETE="off"/></td>
</tr>

<tr>
<td class="linkteam3">Passwort wiederholen:</td>
<td class="linkteam3"><input type="password" class="validate[required,custom[noSpecialCharacters],length[6,16]]" id="password" name="pass2" maxlength="16" size="16" AUTOCOMPLETE="off"/></td>
</tr>

<tr>
<td class="linkteam3">E-Mail:</td>
<td class="linkteam3"><input type="text" class="validate[required,custom[email]]" id="email" name="email" maxlength="50" size="16" AUTOCOMPLETE="off" /></td>
</tr>

<tr>
<td class="linkteam3">E-Mail Wiederholen:</td>
<td class="linkteam3"><input type="text" class="validate[required,custom[email]]" id="email" name="email2" maxlength="50" size="16" AUTOCOMPLETE="off" /></td>
</tr>

<tr>
<td class="linkteam3">Name:</td>
<td class="linkteam3"><input type="text" class="validate[required,custom[noSpecialCharacters],length[3,20]]" id="uname" name="uname" maxlength="16" size="16" AUTOCOMPLETE="off" /></td>
</tr>

<tr>
<td class="linkteam3">Löschcode:</td>
<td class="linkteam3"><input type="text" class="validate[required,custom[noSpecialCharacters],length[7,7]]" id="chardel" name="loeschcode" maxlength="7" size="16" AUTOCOMPLETE="off" /></td>
</tr>

<tr>
<td class="linkteam3" style="text-align:center;" colspan="2"><br><input type="checkbox" name="agb"> Mit der Regestrirung stimme ich den AGB's automatisch zu! <br><a href="#" class="ilink2-1" target="_blank""><b>AGB</b></a></td>
</tr>

<tr>
<td style="text-align:center;" colspan="3"><input type="submit" name="submit" class="btn2 s2" value="Registrieren"/></td>
</tr>

</table>
</form>


<?PHP
}
else {
echo'<center><p class="offline">Sie sind bereits angemeldet.</p></center>';
}
?>
<div class="sep"> </div>

</div>
</div>
</div>


<script type="text/javascript">
$(document).ready(function(){

$('#password').focusin(function(){
$('#pwInfo').fadeIn();
});
$('#password').focusout(function(){
$('#pwInfo').fadeOut();
});
});
</script>
Login.php

Quote:
<div class="postui post-title">
<h2><a href="#">Autentificare</a></h2>
</div>
<div class="postui post-con">
<div class="con-wrap">
<form action="?p=h" method="POST">
<table width="100%" >
<tr>
<td class="linkteam3">Nume de utilizator: </td>
<td class="linkteam3"><input type="text" class="bar" name="userid" onFocus="if(this.value=='Nume utilizator') this.value=''" onBlur="if(this.value=='')this.value='Nume utilizator'" value="Nume utilizator">
</td>
</tr>
<tr>
<td class="linkteam3">Parolă: </td>
<td class="linkteam3"><input type="password" class="bar" maxlength="16" size="10" name="userpass" onFocus="if(this.value=='Parola') this.value=''" onBlur="if(this.value=='')this.value='Parola'" value="Parola"></td>
</tr>
</table>
<tr>
<td class="linkteam3" style="text-align:center;" colspan="2"><center><input type="submit" class="btn32 s1" value="" name="login"></center></td>
</tr>
<br>
<center><h5><a href="index.php?s=lostpw" class="ilink2-1" >Ai uitat parola?</a></h5></center>
</form>
<div class="sep"> </div>

</div>
</div>

<?php

/*if(isset($_POST['login'])) {

mysql_select_db('account');

$user = mysql_real_escape_string($_POST['userid']);
$pw = mysql_real_escape_string($_POST['userpass']);

$check = "SELECT * from account where login = '" . $user . "' and password = PASSWORD('$pw') and status = 'OK'";
$query = mysql_query($check);
$num = mysql_num_rows($query);


if($num > 0) {

$array = mysql_fetch_array($query);

$_SESSION['id'] = $array['login'];
$_SESSION['coins'] = $array['coins'];
$_SESSION['jcoins'] = $array['jcoins'];
$_SESSION['email'] = $array['email'];
$_SESSION['real_name'] = $array['real_name'];
$_SESSION['social_id'] = $array['social_id'];
$_SESSION['user_admin'] = $array['web_admin'];
$_SESSION['user_id'] = $array['id'];
$_SESSION['warns'] = $array['warns'];
$_SESSION['pos'] = '0';
$_SESSION['create_time'] = $array['create_time'];
echo "<meta http-equiv='refresh' content='0; URL=http://metin2allstars.com/testing123456789fjtab2'>";
} else {
echo "<meta http-equiv='refresh' content='0; URL=?p=l'>";
}
}*/

?>

Confic natürlich ohne meine ip und so

Quote:
<?PHP

DEFINE('SQL_HOST', 'ROOTIP');
DEFINE('SQL_USER', 'root');
DEFINE('SQL_PASS', 'MySQLPW');

DEFINE('SQL_HP_HOST', 'ROOTIP');
DEFINE('SQL_HP_USER', 'root');
DEFINE('SQL_HP_PASS', 'MySQLPW');
DEFINE('SQL_HP_DB', 'account');

$serverSettings['titel_page']="Volume3 - We are Run?";
$serverSettings['titel']="Volume3";
$serverSettings['url']="http://volume3.bplaced.net";
$serverSettings['server_ip']="";
$serverSettings['register_on']=true;
$serverSettings['mail_activation']=true;
$serverSettings['page_entries']=30;
$serverSettings['reg_mail']='';
$serverSettings['pass_mail']='';

require("data.inc.php");

?>
Hat sich geklärt


#close
SolWayne is offline  
Reply


Similar Threads Similar Threads
[HILFE] HOMEPAGE
12/13/2011 - Metin2 Private Server - 0 Replies
Moin Community ! Habe 1 Fragen : Hab bissle die index.php bearbeitet und jetzt siehts so aus : http://s7.directupload.net/images/111213/qv3asurg .jpg wie beheb ich das? inhalt :
[Hilfe] Homepage^^
12/03/2011 - Metin2 Private Server - 6 Replies
moin leute^^ hab mal ne frage & ist zwar blöd aber : komme iwie nicht drauf wie ich das entferne bei meiner hp : http://s7.directupload.net/images/111203/l4owfix5 .jpg wie ändere ich das nach wunsch ? ;O
[S]Hilfe bei Homepage
10/12/2011 - Metin2 Private Server - 0 Replies
Sehr geehrte Damen und Herren, das Rayer-MT2 Team sucht Hilfe beim bearbeiten der Hamachi-Metin2 Homepage. Ihr solltet was vorzuweisen haben. Ihr könntet uns zb. Screens vorzeigen von den euch bearbeiteteten Homepages. Meldet euch dan mal bei uns. Kontak möglichkeiten : Skype : Rayer-MT2
hilfe bei mt2 homepage
09/20/2011 - Metin2 Private Server - 5 Replies
da ich bei einer homepage install.php nicht ausführen konnte weil ein apache fehler aufgetreten ist habe ich es manuel ausgeführt nur jetzt steht da Warning: date() : It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for...
Homepage Hilfe
03/20/2010 - Metin2 Private Server - 2 Replies
Hallo liebe Com, ich brauch mal hilfe und zwar würde ich gerne so eine Homepage machen :http://www.elitepvpers.com/forum/metin2-pserver-gu ides-strategies/467300-metin2-homepage_hp_script_b y_matze.html meine frage ist kann ich das auch mit Filezilla oder so auf ein normalen FTP Server hochladen ohne dasd Programm XAMPP zu nutzen ?



All times are GMT +1. The time now is 12:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.