November 23, 2024, 04:09:25 pm

Author Topic: Test  (Read 2850 times)

JaTochNietDan

  • Guest
Test
« on: August 18, 2008, 06:08:02 pm »
[head]
[title]Ban Appeal Form[/title]
[style type=\"text/css\"]
body {
font-family:Verdana;
font-size:10px;
}
[/style]
[/head]

[body]
[?php
$file = \'./unbans.txt\';

if(isset($_POST[\'submit\'])){

$string = \'\"\' . $_POST[\'ingame_name\'] . \'\";\';
$string .= \'\"\' . $_POST[\'ban_time\'] . \'\";\';
$string .= \'\"\' . $_POST[\'ban_admin\'] . \'\";\';
$string .= \'\"\' . $_POST[\'ban_reason\'] . \'\";\';
$string .= \'\"\' . $_POST[\'unban_reason\'] . \'\";\';
$string .= \'\"\' . date(\"m/d/Y H:i:s\") . \'\";\';
$string .= \'\"\' . $_SERVER[\"REMOTE_ADDR\"] . \'\";\';
$string .= \"\n\";

$fp=fopen($file,a);
fwrite($fp,$string);
fclose($fp);

echo \'Your request for unbanning was saved successfully!\';
?]

[h1]Ban Appeal Form[/h1]
[form action=\"index.php?showtopic=573\" method=\"post\"]
[table]
[tr]
[td]Ingame Name:[/td][td][input type=\"text\" name=\"ingame_name\" /][/td]
[/tr]
[tr]
[td]Reason Given By Admin:[/td][td][input type=\"text\" name=\"ban_time\" /][/td]
[/tr]
[tr]
[td]Admin that banned you:[/td][td][input type=\"text\" name=\"ban_admin\" /][/td]
[/tr]
[tr]
[td]Will you read and accept /rules:[/td][td][input type=\"text\" name=\"ban_reason\" /][/td]
[/tr]
[tr]
[td]Any extra information:[/td][td][input type=\"text\" name=\"unban_reason\" /][/td]
[/tr]
[tr]
[td][/td][td][input type=\"submit\" value=\"Submit Ban Appeal\"][/td]
[/tr]
[/table]
[/form]

[?
}
?]
[/body]
« Last Edit: August 18, 2008, 06:37:19 pm by JaTochNietDan »

Offline Oddisy

  • Capo
  • *****
  • Posts: 447
  • Reputation: +1/-1
  • Your residental neighbor.
    • MSN Messenger - Chuckem13@live.com
    • Yahoo Instant Messenger - sk8er_boyz1
    • View Profile
Test
« Reply #1 on: August 18, 2008, 09:13:29 pm »
Woa, very nice.

Offline Nka19

  • Owner
  • Godfather
  • ********
  • Posts: 2180
  • Reputation: +88/-17
  • Administrator of World Of Stunting
    • MSN Messenger - Ask_for_it@and_I_might_give_it_to.you
    • View Profile
  • Steam: nka17
  • Xfire: nka17
Test
« Reply #2 on: August 19, 2008, 04:28:39 am »
Nice work JaT.
« Last Edit: August 19, 2008, 04:29:33 am by Nka17 »


JaTochNietDan

  • Guest
Test
« Reply #3 on: August 19, 2008, 04:36:15 am »
It doesn't fully work, I'm just testing some PHP/HTML in an active PHP enviornment.

Offline Johnneyz

  • Capo
  • *****
  • Posts: 293
  • Reputation: +2/-0
    • MSN Messenger - skate_dork666@hotmail.com
    • View Profile
Test
« Reply #4 on: August 19, 2008, 04:40:36 am »
Well this will be great if you get it 100%

=]

Offline Moonlight

  • Made person
  • ****
  • Posts: 156
  • Reputation: +1/-0
  • P2b Whore 1st class
    • View Profile
Test
« Reply #5 on: August 21, 2008, 02:34:54 am »

I hope i dont have to use those things anymore



LOL but nice job:)