Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require(__DIR__."/globals.php");
- if(isset($_POST['suggestions'])) {
- mysql_query("INSERT INTO suggestions
- VALUES('','{$_POST['suggestionsTITLE']}',unix_timestamp(),'{$_POST['suggestions']}','No','N/A','{$ir['username']}
- [{$ir['userid']}]')",$c) or die("Your suggestion processing has sensed an error, please click back and fix it.<br />
- -<a href='suggestion.php'>Back</a><br />");
- print "Your suggestion has been added!<br />
- <a href='suggestions.php'>> Back</a><br />";
- }
- else {
- print "<h3>Add Suggestion</h3><br />
- <hr width=50% /><b><font color=red>Do not post things that are NOT ideas or suggestions!</font></b><hr width=50% /><br />
- Suggestion Category:
- <select name='suggestionsTITLE' type='dropdown'>
- <option value='Gangs'>Gangs</option>
- <option value='Gym'>Gym</option>
- <option value='Players'>Players</option>
- <option value='Staff'>Staff</option>
- <option value='Crimes'>Crimes</option>
- <option value='Profiles'>Profiles</option>
- <option value='Referrals'>Referrals</option>
- <option value='General'>General</option>
- <option value='Other'>Other</option>
- </select><br /><br />
- <form method='post' action=''>
- Suggestion:<br />
- <textarea rows='7' cols='40' name='suggestions'></textarea><br />
- <input type='submit' name='suggestions' value='Process' />
- </form>";
- }
- $h->endpage();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment