Προς το περιεχόμενο

php Help!


lion2486

Προτεινόμενες αναρτήσεις

Δημοσ.

Έχω αυτό το php

 

></div>
			<div class="postcontent">
			  <p align="center" class="style17">
		      </p>
			   <form action="acc.php" method=post>
                       <div align="Center">
                         <p align="center"><?php
 define('mySQL_hostname', 'ipaddresse');  //database IP
 define('mySQL_database', 'databaze);  //database name
 define('mySQL_username', 'username');  //database user
 define('mySQL_password', 'password');  //database password

 function l2j_encrypt($password) 
   {
       return base64_encode(pack("H*", sha1(utf8_encode($password))));
   }

 $str =  l2j_encrypt($_POST['pass']);

 $user = $_POST["name"];

 $db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
   or die( 'Error connecting to mysql<br><br>'.mysql_error() );

 $db_select = mysql_select_db( mySQL_database, $db_link )
   or die( 'Error connecting to Database<br><br>'.mysql_error() );

 if ($user == '') { print'Incorrect UserID'; mysql_close(); }
 else {
  $db_add = mysql_query( "INSERT INTO `accounts` VALUES ('$user', '$str', '0', '0', '')" )
    or die( 'Error: '.mysql_error() );
 }
 print 'Account Created<br><br>Welcome to L2 Smiles.';
 mysql_close();
?><br>
                         </p>
                    </div>
			   </form></p>
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
			  <p align="center" class="style17"> </p>
		  </div>
		  <div class="postfooter"></div>
		</div>
           <div align="center">
	  <p class="style23">Copyright (c) 2008  L2Smiles. All rights .</p>
	</div>
 </div>
</div>
</div>
</body>
</html>
<script language=JavaScript>

var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</script>

 

το οποίο ανταποκρίνεται σε αυτό το Html

 

><html>
<head>
<title>Edited by L2 Smiles </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {
background-image: url("bgpat.png"/*tpa=http://www.l2smiles.net46.net/bgpat.png*//*tpa=http://www.l2smiles.net46.net/bgpat.png*/);
background-repeat: repeat;
}
a {
color: #C6B78F;
}
a:visited {
color: #C6B78F;
}
a:active {
color: #C6B78F;
}
a:hover {
color: #C6B78F;
}
#Layer1 {
position:absolute;
left:250px;
top:681px;
width:88px;
height:20px;
z-index:2;
visibility: visible;
}
#Layer2 {
position:absolute;
left:250px;
top:718px;
width:88px;
height:20px;
z-index:2;
visibility: visible;
}
-->
</style></head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index.psd) -->
<table width="1025" height="1101" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
	<td rowspan="29">
		<img src="images/index_01.png" tppabs="http://l2smiles.net46.net/images/index_01.png" width="53" height="1100" alt=""></td>
	<td rowspan="29">
		<img src="images/index_02.png" tppabs="http://l2smiles.net46.net/images/index_02.png" width="1" height="1100" alt=""></td>
	<td colspan="14">
		<a href="index.php.htm" tppabs="http://l2smiles.net46.net/index.php">
			<img src="images/aloha.png" tppabs="http://l2smiles.net46.net/images/aloha.png" width="925" height="264" border="0" alt=""></a></td>
	<td rowspan="29">
		<img src="images/index_04.png" tppabs="http://l2smiles.net46.net/images/index_04.png" width="45" height="1100" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="264" alt=""></td>
 </tr>
<tr>
	<td colspan="14">
		<img src="images/index_05.png" tppabs="http://l2smiles.net46.net/images/index_05.png" width="925" height="35" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="35" alt=""></td>
</tr>
<tr>
	<td rowspan="27">
		<img src="images/index_06.png" tppabs="http://l2smiles.net46.net/images/index_06.png" width="28" height="801" alt=""></td>
	<td colspan="5" rowspan="2">
		<img src="images/index_07.png" tppabs="http://l2smiles.net46.net/images/index_07.png" width="172" height="66" alt=""></td>
	<td colspan="4" rowspan="9">
		<a href="index.php-page=servinfo&term_agree=1.htm" tppabs="http://l2smiles.net46.net/index.php?page=servinfo&term_agree=1"><img src="images/index_08.png" tppabs="http://l2smiles.net46.net/images/index_08.png" alt="" width="543" height="157" border="0"></a></td>
	<td colspan="3">
		<img src="images/index_09.png" tppabs="http://l2smiles.net46.net/images/index_09.png" width="172" height="45" alt=""></td>
	<td rowspan="27">
		<img src="images/index_10.png" tppabs="http://l2smiles.net46.net/images/index_10.png" width="10" height="801" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="45" alt=""></td>
</tr>
<tr>
	<td rowspan="23">
		<img src="images/index_11.png" tppabs="http://l2smiles.net46.net/images/index_11.png" width="32" height="304" alt=""></td>
	<td rowspan="3">

		  <a href="http://l2.hopzone.net/vote.php?site=68908" tppabs="http://l2.hopzone.net/vote.php?site=68908">
		  <img src="images/index_12.png" tppabs="http://l2.hopzone.net/vote.php?site=68908" width="107" height="50" border="0" alt=""></td>
	<td rowspan="23">
		<img src="images/index_13.png" tppabs="http://l2smiles.net46.net/images/index_13.png" width="33" height="304" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="21" alt=""></td>
</tr>
<tr>
	<td rowspan="20">
		<img src="images/index_14.png" tppabs="http://l2smiles.net46.net/images/index_14.png" width="40" height="244" alt=""></td>
	<td colspan="2">
		<a href="index.php.htm" tppabs="http://l2smiles.net46.net/index.php">
			<img src="images/index_15.png" tppabs="http://l2smiles.net46.net/images/index_15.png" width="94" height="28" border="0" alt=""></a></td>
	<td colspan="2">
		<img src="images/index_16.png" tppabs="http://l2smiles.net46.net/images/index_16.png" width="38" height="28" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="28" alt=""></td>
</tr>
<tr>
	<td rowspan="3">
		<img src="images/index_17.png" tppabs="http://l2smiles.net46.net/images/index_17.png" width="1" height="25" alt=""></td>
	<td colspan="2" rowspan="3">
		<a href="index.php-page=register.htm" tppabs="http://l2smiles.net46.net/index.php?page=register">
			<img src="images/index_18.png" tppabs="http://l2smiles.net46.net/images/index_18.png" width="94" height="25" border="0" alt=""></a></td>
 <td rowspan="19">
		<img src="images/index_19.png" tppabs="http://l2smiles.net46.net/images/index_19.png" width="37" height="216" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_20.png" tppabs="http://l2smiles.net46.net/images/index_20.png" width="107" height="11" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="11" alt=""></td>
</tr>
<tr>
	<td rowspan="3">

			<img src="images/index_21.png" tppabs="http://l2smiles.net46.net/images/index_21.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="13" alt=""></td>
</tr>
<tr>
	<td colspan="3">
		<a href="index.php-page=connect.htm" tppabs="http://l2smiles.net46.net/index.php?page=connect">
			<img src="images/index_22.png" tppabs="http://l2smiles.net46.net/images/index_22.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="27" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="5">
		<a href="index.php-page=library.htm" tppabs="http://l2smiles.net46.net/index.php?page=library">
			<img src="images/index_23.png" tppabs="http://l2smiles.net46.net/images/index_23.png" width="95" height="26" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="10" alt=""></td>
</tr>
<tr>
	<td rowspan="2">
		<img src="images/index_24.png" tppabs="http://l2smiles.net46.net/images/index_24.png" width="107" height="10" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td colspan="4" rowspan="2">
		<img src="images/index_25.png" tppabs="http://l2smiles.net46.net/images/index_25.png" width="543" height="11" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="9" alt=""></td>
</tr>
<tr>
	<td rowspan="5">

			<img src="images/index_26.png" tppabs="http://l2smiles.net46.net/images/index_26.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="2" alt=""></td>
</tr>
<tr>
	<td rowspan="15">
		<img src="images/index_27.png" tppabs="http://l2smiles.net46.net/images/index_27.png" width="18" height="560" alt=""></td><td colspan="2" rowspan="2"><img src="images/registration_28.png" tppabs="http://l2smiles.net46.net/images/registration_28.png" width="509" height="22" alt=""></td>
	<td rowspan="15">
		<img src="images/index_29.png" tppabs="http://l2smiles.net46.net/images/index_29.png" width="16" height="560" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="4" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="2">
		<a href="index.php-page=staff.htm" tppabs="http://l2smiles.net46.net/index.php?page=staff">
			<img src="images/index_30.png" tppabs="http://l2smiles.net46.net/images/index_30.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="18" alt=""></td>
</tr>
<tr>
	
   <td rowspan="12" valign="top" background="images/index_31.png" tppabs="http://l2smiles.net46.net/images/index_31.png"> 	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Lineage 2 Smiles</title>
<style type="text/css">
<!--
.Style1 {
color: #C6B78F;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12;
}
-->
</style>
</head>
<p>      
			<div class="postcontent">
			  <p align="left" class="style17">
		      </p>
			   <form action="acc.php" method=post>
                       <div align="Center">
                         <p><span class="style24">Account Name ID:</span>
                           <input type="text" name="name" size 20>
                           <br>
                           <br>
                           <span class="style24">Account Password:</span>
                       <input type="password" name="pass" size 20>
                         <p>                         
                            <br>
                           <input type=submit name="submit" value="REGISTER NOW" />
                           <br>
                                </p>
                    </div>
			   </form></p>
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
			  <p align="center" class="style17"> </p>
		  </div>
		  <div class="postfooter"></div>
		</div>
           <div align="center">
	  <p class="style23">Copyright (c) 2008  L2Smiles. All rights .</p>
	</div>
 </div>
</div>
</div>
</body>
</html>
<script language=JavaScript>

var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</script>
</p>
</html>

</td>
<td rowspan="13">
		<img src="images/index_32.png" tppabs="http://l2smiles.net46.net/images/index_32.png" width="4" height="538" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="9" alt=""></td>
</tr>

 <tr> 
   <td colspan="3" rowspan="2"><a href="forum/index.htm" tppabs="http://l2smiles.net46.net/forum/"><img src="images/index_33.png" tppabs="http://l2smiles.net46.net/images/index_33.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="17" alt=""></td>
 </tr>
<tr>
	<td rowspan="2">
		<img src="images/index_34.png" tppabs="http://l2smiles.net46.net/images/index_34.png" width="107" height="13" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="10" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="2">
		<a href="index.php-page=contact.htm" tppabs="http://l2smiles.net46.net/index.php?page=contact">
			<img src="images/index_35.png" tppabs="http://l2smiles.net46.net/images/index_35.png" width="95" height="28" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="3" alt=""></td>
</tr>
<tr>
	<td rowspan="2">

			<img src="images/index_36.png" tppabs="http://l2smiles.net46.net/images/index_36.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td rowspan="4">
		<img src="images/index_37.png" tppabs="http://l2smiles.net46.net/images/index_37.png" width="1" height="56" alt=""></td>
	<td colspan="2" rowspan="2">
		<a href="modules/donations_list.php.htm" tppabs="http://l2smiles.net46.net/modules/donations_list.php" target="_blank">
			<img src="images/index_38.png" tppabs="http://l2smiles.net46.net/images/index_38.png" width="94" height="26" border="0" alt=""></a></td>
 <td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td rowspan="2">
		<img src="images/index_39.png" tppabs="http://l2smiles.net46.net/images/index_39.png" width="107" height="7" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td colspan="2" rowspan="2">
		<img src="images/index_40.png" tppabs="http://l2smiles.net46.net/images/index_40.png" width="94" height="30" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
	<td rowspan="2">

			<img src="images/index_41.png" tppabs="http://l2smiles.net46.net/images/index_41.png" width="107" height="49" border="0" alt=""></a></td>
 <td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
	<td colspan="5" rowspan="5">
		<img src="images/index_42.png" tppabs="http://l2smiles.net46.net/images/index_42.png" width="172" height="491" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_43.png" tppabs="http://l2smiles.net46.net/images/index_43.png" width="107" height="14" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="14" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="3">
		<img src="images/index_44.png" tppabs="http://l2smiles.net46.net/images/index_44.png" width="172" height="452" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="367" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_45.png" tppabs="http://l2smiles.net46.net/images/index_45.png" width="505" height="12" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="12" alt=""></td>
</tr>
<tr>
	<td colspan="4">
		<img src="images/index_46.png" tppabs="http://l2smiles.net46.net/images/index_46.png" width="543" height="73" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="73" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="53" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="28" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="40" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="93" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="37" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="18" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="505" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="4" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="16" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="32" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="107" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="33" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="10" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="45" height="1" alt=""></td>
	<td></td>
</tr>
</table>
</body></html>

 

Tώρα θέλω να ανταποκίνεται το php σε αυτό το html

 

><html>
<head>
<title>Edited by L2 Smiles </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {
background-image: url("bgpat.png"/*tpa=http://www.l2smiles.net46.net/bgpat.png*//*tpa=http://www.l2smiles.net46.net/bgpat.png*/);
background-repeat: repeat;
}
a {
color: #C6B78F;
}
a:visited {
color: #C6B78F;
}
a:active {
color: #C6B78F;
}
a:hover {
color: #C6B78F;
}
#Layer1 {
position:absolute;
left:250px;
top:681px;
width:88px;
height:20px;
z-index:2;
visibility: visible;
}
#Layer2 {
position:absolute;
left:250px;
top:718px;
width:88px;
height:20px;
z-index:2;
visibility: visible;
}
-->
</style></head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index.psd) -->
<table width="1025" height="1101" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
	<td rowspan="29">
		<img src="images/index_01.png" tppabs="http://l2smiles.net46.net/images/index_01.png" width="53" height="1100" alt=""></td>
	<td rowspan="29">
		<img src="images/index_02.png" tppabs="http://l2smiles.net46.net/images/index_02.png" width="1" height="1100" alt=""></td>
	<td colspan="14">
		<a href="index.php.htm" tppabs="http://l2smiles.net46.net/index.php">
			<img src="images/aloha.png" tppabs="http://l2smiles.net46.net/images/aloha.png" width="925" height="264" border="0" alt=""></a></td>
	<td rowspan="29">
		<img src="images/index_04.png" tppabs="http://l2smiles.net46.net/images/index_04.png" width="45" height="1100" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="264" alt=""></td>
 </tr>
<tr>
	<td colspan="14">
		<img src="images/index_05.png" tppabs="http://l2smiles.net46.net/images/index_05.png" width="925" height="35" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="35" alt=""></td>
</tr>
<tr>
	<td rowspan="27">
		<img src="images/index_06.png" tppabs="http://l2smiles.net46.net/images/index_06.png" width="28" height="801" alt=""></td>
	<td colspan="5" rowspan="2">
		<img src="images/index_07.png" tppabs="http://l2smiles.net46.net/images/index_07.png" width="172" height="66" alt=""></td>
	<td colspan="4" rowspan="9">
		<a href="index.php-page=servinfo&term_agree=1.htm" tppabs="http://l2smiles.net46.net/index.php?page=servinfo&term_agree=1"><img src="images/index_08.png" tppabs="http://l2smiles.net46.net/images/index_08.png" alt="" width="543" height="157" border="0"></a></td>
	<td colspan="3">
		<img src="images/index_09.png" tppabs="http://l2smiles.net46.net/images/index_09.png" width="172" height="45" alt=""></td>
	<td rowspan="27">
		<img src="images/index_10.png" tppabs="http://l2smiles.net46.net/images/index_10.png" width="10" height="801" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="45" alt=""></td>
</tr>
<tr>
	<td rowspan="23">
		<img src="images/index_11.png" tppabs="http://l2smiles.net46.net/images/index_11.png" width="32" height="304" alt=""></td>
	<td rowspan="3">

		  <a href="http://l2.hopzone.net/vote.php?site=68908" tppabs="http://l2.hopzone.net/vote.php?site=68908">
		  <img src="images/index_12.png" tppabs="http://l2.hopzone.net/vote.php?site=68908" width="107" height="50" border="0" alt=""></td>
	<td rowspan="23">
		<img src="images/index_13.png" tppabs="http://l2smiles.net46.net/images/index_13.png" width="33" height="304" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="21" alt=""></td>
</tr>
<tr>
	<td rowspan="20">
		<img src="images/index_14.png" tppabs="http://l2smiles.net46.net/images/index_14.png" width="40" height="244" alt=""></td>
	<td colspan="2">
		<a href="index.php.htm" tppabs="http://l2smiles.net46.net/index.php">
			<img src="images/index_15.png" tppabs="http://l2smiles.net46.net/images/index_15.png" width="94" height="28" border="0" alt=""></a></td>
	<td colspan="2">
		<img src="images/index_16.png" tppabs="http://l2smiles.net46.net/images/index_16.png" width="38" height="28" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="28" alt=""></td>
</tr>
<tr>
	<td rowspan="3">
		<img src="images/index_17.png" tppabs="http://l2smiles.net46.net/images/index_17.png" width="1" height="25" alt=""></td>
	<td colspan="2" rowspan="3">
		<a href="index.php-page=register.htm" tppabs="http://l2smiles.net46.net/index.php?page=register">
			<img src="images/index_18.png" tppabs="http://l2smiles.net46.net/images/index_18.png" width="94" height="25" border="0" alt=""></a></td>
 <td rowspan="19">
		<img src="images/index_19.png" tppabs="http://l2smiles.net46.net/images/index_19.png" width="37" height="216" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_20.png" tppabs="http://l2smiles.net46.net/images/index_20.png" width="107" height="11" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="11" alt=""></td>
</tr>
<tr>
	<td rowspan="3">

			<img src="images/index_21.png" tppabs="http://l2smiles.net46.net/images/index_21.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="13" alt=""></td>
</tr>
<tr>
	<td colspan="3">
		<a href="index.php-page=connect.htm" tppabs="http://l2smiles.net46.net/index.php?page=connect">
			<img src="images/index_22.png" tppabs="http://l2smiles.net46.net/images/index_22.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="27" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="5">
		<a href="index.php-page=library.htm" tppabs="http://l2smiles.net46.net/index.php?page=library">
			<img src="images/index_23.png" tppabs="http://l2smiles.net46.net/images/index_23.png" width="95" height="26" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="10" alt=""></td>
</tr>
<tr>
	<td rowspan="2">
		<img src="images/index_24.png" tppabs="http://l2smiles.net46.net/images/index_24.png" width="107" height="10" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td colspan="4" rowspan="2">
		<img src="images/index_25.png" tppabs="http://l2smiles.net46.net/images/index_25.png" width="543" height="11" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="9" alt=""></td>
</tr>
<tr>
	<td rowspan="5">

			<img src="images/index_26.png" tppabs="http://l2smiles.net46.net/images/index_26.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="2" alt=""></td>
</tr>
<tr>
	<td rowspan="15">
		<img src="images/index_27.png" tppabs="http://l2smiles.net46.net/images/index_27.png" width="18" height="560" alt=""></td><td colspan="2" rowspan="2"><img src="images/registration_28.png" tppabs="http://l2smiles.net46.net/images/registration_28.png" width="509" height="22" alt=""></td>
	<td rowspan="15">
		<img src="images/index_29.png" tppabs="http://l2smiles.net46.net/images/index_29.png" width="16" height="560" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="4" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="2">
		<a href="index.php-page=staff.htm" tppabs="http://l2smiles.net46.net/index.php?page=staff">
			<img src="images/index_30.png" tppabs="http://l2smiles.net46.net/images/index_30.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="18" alt=""></td>
</tr>
<tr>
	
   <td rowspan="12" valign="top" background="images/index_31.png" tppabs="http://l2smiles.net46.net/images/index_31.png"> 	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Lineage 2 Smiles</title>
<style type="text/css">
<!--
.Style1 {
color: #C6B78F;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12;
}
-->
</style>
</head>
<p>      
			<div class="postcontent">
			  <p align="left" class="style17">
		      </p>
			   <form action="acc.php" method=post>
                       <div align="Center">
                         <p><span class="style24">Account Name ID:</span>
                           <input type="text" name="name" size 20>
                           <br>
                           <br>
                           <span class="style24">Account Password:</span>
                       <input type="password" name="pass" size 20>
                       <br>
                       <br>
                         <span class="style24">Repeat Password:</span>
                       <input type="password" name="pass" size 20></p>
                         <br>
                         <br>
                         <span class="style24">E-Mail:</span>
                       <input type="e-mail" name="e-mail" size 20>
                       <br>
                       <br>
                       <span class="style24">Security Question:</span>
                       <input type="question" name="queston" size 20>
                       <br>
                       <br>
                       <span class="style24">Security Answer:</span>
                       <input type="answer" name="answer" size 20>
                         <p>                         
                            <br>
                           <input type=submit name="submit" value="REGISTER NOW" />
                           <br>
                                </p>
                    </div>
			   </form></p>
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
				
			  <p align="center" class="style17"> </p>
			  <p align="center" class="style17"> </p>
		  </div>
		  <div class="postfooter"></div>
		</div>
           <div align="center">
	  <p class="style23">Copyright (c) 2008  L2Smiles. All rights .</p>
	</div>
 </div>
</div>
</div>
</body>
</html>
<script language=JavaScript>

var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

</script>
</p>
</html>

</td>
<td rowspan="13">
		<img src="images/index_32.png" tppabs="http://l2smiles.net46.net/images/index_32.png" width="4" height="538" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="9" alt=""></td>
</tr>

 <tr> 
   <td colspan="3" rowspan="2"><a href="forum/index.htm" tppabs="http://l2smiles.net46.net/forum/"><img src="images/index_33.png" tppabs="http://l2smiles.net46.net/images/index_33.png" width="95" height="27" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="17" alt=""></td>
 </tr>
<tr>
	<td rowspan="2">
		<img src="images/index_34.png" tppabs="http://l2smiles.net46.net/images/index_34.png" width="107" height="13" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="10" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="2">
		<a href="index.php-page=contact.htm" tppabs="http://l2smiles.net46.net/index.php?page=contact">
			<img src="images/index_35.png" tppabs="http://l2smiles.net46.net/images/index_35.png" width="95" height="28" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="3" alt=""></td>
</tr>
<tr>
	<td rowspan="2">

			<img src="images/index_36.png" tppabs="http://l2smiles.net46.net/images/index_36.png" width="107" height="50" border="0" alt=""></a></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td rowspan="4">
		<img src="images/index_37.png" tppabs="http://l2smiles.net46.net/images/index_37.png" width="1" height="56" alt=""></td>
	<td colspan="2" rowspan="2">
		<a href="modules/donations_list.php.htm" tppabs="http://l2smiles.net46.net/modules/donations_list.php" target="_blank">
			<img src="images/index_38.png" tppabs="http://l2smiles.net46.net/images/index_38.png" width="94" height="26" border="0" alt=""></a></td>
 <td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td rowspan="2">
		<img src="images/index_39.png" tppabs="http://l2smiles.net46.net/images/index_39.png" width="107" height="7" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
	<td colspan="2" rowspan="2">
		<img src="images/index_40.png" tppabs="http://l2smiles.net46.net/images/index_40.png" width="94" height="30" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
	<td rowspan="2">

			<img src="images/index_41.png" tppabs="http://l2smiles.net46.net/images/index_41.png" width="107" height="49" border="0" alt=""></a></td>
 <td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="24" alt=""></td>
</tr>
<tr>
	<td colspan="5" rowspan="5">
		<img src="images/index_42.png" tppabs="http://l2smiles.net46.net/images/index_42.png" width="172" height="491" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="25" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_43.png" tppabs="http://l2smiles.net46.net/images/index_43.png" width="107" height="14" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="14" alt=""></td>
</tr>
<tr>
	<td colspan="3" rowspan="3">
		<img src="images/index_44.png" tppabs="http://l2smiles.net46.net/images/index_44.png" width="172" height="452" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="367" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/index_45.png" tppabs="http://l2smiles.net46.net/images/index_45.png" width="505" height="12" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="12" alt=""></td>
</tr>
<tr>
	<td colspan="4">
		<img src="images/index_46.png" tppabs="http://l2smiles.net46.net/images/index_46.png" width="543" height="73" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="73" alt=""></td>
</tr>
<tr>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="53" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="28" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="40" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="93" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="1" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="37" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="18" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="505" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="4" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="16" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="32" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="107" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="33" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="10" height="1" alt=""></td>
	<td>
		<img src="images/spacer.gif" tppabs="http://l2smiles.net46.net/images/spacer.gif" width="45" height="1" alt=""></td>
	<td></td>
</tr>
</table>
</body></html>

 

Δηλαδή πρόσθεσα τις σειρές:

>[b]<br>
                       <br>
                         <span class="style24">Repeat Password:</span>
                       <input type="password" name="pass" size 20></p>
                         <br>
                         <br>
                         <span class="style24">E-Mail:</span>
                       <input type="e-mail" name="e-mail" size 20>
                       <br>
                       <br>
                       <span class="style24">Security Question:</span>
                       <input type="question" name="queston" size 20>
                       <br>
                       <br>
                       <span class="style24">Security Answer:</span>
                       <input type="answer" name="answer" size 20>[/b]

 

θα ήθενα, αν γίνεται, να τα φτιάξω έτσι ώστε στο repeat password να ελέγχει ώστε να πέρνει την ίδια τιμή με το password. Επίσης θα ήθελα στο e-mail να πέρνει μόνο e-mail (δηλαδή ****@****.**). Επιπλέον έχω δημιουργήσει ένα table στην mysql (παραθέτω παρακάτω εικόνα του table από το navicat). H σελίδα μου χρειάζεται για account register σε lineage 2 server.

 

edit: Επίσης αν είναι εύκολο θα ήθελα να φτιάξω και μία ζώνη login στην οποία θα μπορούν οι users να αλλάζουν τον κωδικό τους.

post-93071-129062975235_thumb.jpg

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...