Jump to content
MakeWebGames

EliteCoder

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

EliteCoder's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: staff applications here is a more updated version of staff apps that seb did all thanks to spellbyte <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if($_POST['app']) { mysql_query("INSERT INTO staffapps VALUES('',$userid,'{$_POST['pos']}','{$_POST['app']}')", $c) or die("Your staff application could not be processed. Make sure you have filled out the form completely"); print "Staff application processed. You will receive a mail in less than 3 days with our decision. Good luck"; } else print "<h3>Staff Application</h3> <form action='staffapps.php' method='post'> Position: <select name='pos'><option value='3'>Admin</option><option value='5'>Secretary</option><option value='6'>Assistant</option></select></br> Why do you deserve the position?: <textarea rows='7' cols='40' name='app'>{$_GET['app']}</textarea> <input type='submit' value='Submit Application' /></form>"; $h->endpage; ?>   i think it only works for V1.1
  2. Re: mailbox with smilies keeps coming up with blank screen
×
×
  • Create New...