Jamieb
21-03-2008, 03:20 PM
IF YOU ARE GOING TO SAY IT IS UNSAFE AND DONT USE IT STOP READING NOW!
Hi Habboxers
I have contact.php works find but i want it so it can be used when logged out..
At the moment u have to login and once on the page u just get a drop down menu with problem then a message can some one help by doing this
dont have to login and you can do this...
Name:
dropdown menu stay same
message stay same
--------------------------------------------------------------------
Basicly i want it so u dont login and u have to put your name in..
---------------------------------------------------------------------
Heres the PHP for it.
<html>
<head>
<title>Home</title>
<style type="text/css">
a {
font-size: 10px;
color: #000000;
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
body,td,th,p {
font-family: Verdana;
font-size: 10px;
color: #000000;
}
.12 { color: red; }
.11 { color: navy; }
.10 { color: ; }
.9 { color: darkorchid; }
.8 { color: darkorchid; }
.7 { color: darkorchid; }
.6 { color: darkorchid; }
.5 { color: green; }
.4 { color: green; }
.3 { color: green; }
.2 { color: green; }
.1 { color: black; }
input {
font-family: Tahoma, Arial;
font-size: 8pt;
font-weight: bold;
width: 200;
color: #000000;
background-color: #FFFFFF;
border: 1px solid #000000;
}
select {
background-color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
width: 200;
border: 1px solid #000000;
}
textarea {
background-color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
width: 200;
height: 100;
border: 1px solid #000000;
}
</style>
</head>
<body bgcolor="#ffffff">
<?
include("config.php");
if($logged[username]){
?>
<p>OurHabbo Help Tool</p>
<p>Please fill out the information below as needed, and send us your problem. We
will reply within 24hours of your request being sent.</p>
<form action='helptool.php' method='post'>
<p><img border='0' src='images/1_hi.gif' align='left' width='51' height='42'>UserName<br>
<input type='text' size='40' name='name' value='' style=\"font-size: 10px\" tabindex=\"1\"></p>
<br>
<p><img border='0' src='images/2_hi.gif' align='left' width='51' height='42'>Your Email<br>
<input type='"email' size='40' name='email' value='' style=\"font-size: 10px\" tabindex='2'><br>
<br>
<br>
<img border='0' src='images/3_hi.gif' align='left' width='51' height='42'>
Message Type<br>
<select size='1' name='type' tabindex='3'>
<option>Please Select An Option...</option>
<option>I have technical problems with the site</option>
<option>I have a Billing/Sale Query</option>
<option>I think I've been banned</option>
<option>I have forgotten my password</option>
<option>I want to report an illegal site</option>
<option>I've been scammed!</option>
<option>I have an idea/thought</option>
<option>Something else</option>
</select><br>
<br><br>
<img border='0' src='images/pass.gif' align='left' width='51' height='42'>
Message<br>
<textarea rows='10' cols='24' name='message' tabindex='4'></textarea><br>
<br>
<input type='submit' value='Email Us' name='submit' style=\"font-size: 10px\"></p>
</form>
<?
}else{
echo ("You are not logged in, or are banned.");
}
?>
</body>
</html>
Thanks Jamieb
Hi Habboxers
I have contact.php works find but i want it so it can be used when logged out..
At the moment u have to login and once on the page u just get a drop down menu with problem then a message can some one help by doing this
dont have to login and you can do this...
Name:
dropdown menu stay same
message stay same
--------------------------------------------------------------------
Basicly i want it so u dont login and u have to put your name in..
---------------------------------------------------------------------
Heres the PHP for it.
<html>
<head>
<title>Home</title>
<style type="text/css">
a {
font-size: 10px;
color: #000000;
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
body,td,th,p {
font-family: Verdana;
font-size: 10px;
color: #000000;
}
.12 { color: red; }
.11 { color: navy; }
.10 { color: ; }
.9 { color: darkorchid; }
.8 { color: darkorchid; }
.7 { color: darkorchid; }
.6 { color: darkorchid; }
.5 { color: green; }
.4 { color: green; }
.3 { color: green; }
.2 { color: green; }
.1 { color: black; }
input {
font-family: Tahoma, Arial;
font-size: 8pt;
font-weight: bold;
width: 200;
color: #000000;
background-color: #FFFFFF;
border: 1px solid #000000;
}
select {
background-color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
width: 200;
border: 1px solid #000000;
}
textarea {
background-color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
width: 200;
height: 100;
border: 1px solid #000000;
}
</style>
</head>
<body bgcolor="#ffffff">
<?
include("config.php");
if($logged[username]){
?>
<p>OurHabbo Help Tool</p>
<p>Please fill out the information below as needed, and send us your problem. We
will reply within 24hours of your request being sent.</p>
<form action='helptool.php' method='post'>
<p><img border='0' src='images/1_hi.gif' align='left' width='51' height='42'>UserName<br>
<input type='text' size='40' name='name' value='' style=\"font-size: 10px\" tabindex=\"1\"></p>
<br>
<p><img border='0' src='images/2_hi.gif' align='left' width='51' height='42'>Your Email<br>
<input type='"email' size='40' name='email' value='' style=\"font-size: 10px\" tabindex='2'><br>
<br>
<br>
<img border='0' src='images/3_hi.gif' align='left' width='51' height='42'>
Message Type<br>
<select size='1' name='type' tabindex='3'>
<option>Please Select An Option...</option>
<option>I have technical problems with the site</option>
<option>I have a Billing/Sale Query</option>
<option>I think I've been banned</option>
<option>I have forgotten my password</option>
<option>I want to report an illegal site</option>
<option>I've been scammed!</option>
<option>I have an idea/thought</option>
<option>Something else</option>
</select><br>
<br><br>
<img border='0' src='images/pass.gif' align='left' width='51' height='42'>
Message<br>
<textarea rows='10' cols='24' name='message' tabindex='4'></textarea><br>
<br>
<input type='submit' value='Email Us' name='submit' style=\"font-size: 10px\"></p>
</form>
<?
}else{
echo ("You are not logged in, or are banned.");
}
?>
</body>
</html>
Thanks Jamieb