TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 362
  • Total: 363
  • tino

[Done!] Join Us! form

Started by mebymyself, October 19, 2006, 08:10:13 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Craven

Yes, I forgot about those sections....

Thank you,

harlequindreamsx

I'm getting this error..

Fatal error: Call to undefined function createPost() in /www/itrello.com/i/o/w/iowg/htdocs/forum/Sources/Load.php(1049) : eval()'d code(209) : eval()'d code on line 143

with this code and its making me very sad.. see --> :'(

global $sourcedir, $user_info, $context ;

require_once($sourcedir . '/Subs.php');
require_once($sourcedir . '/Subs-Post.php');




// CONFIGURATION SECTION

//send the application by email?
$enable_email=false;

// email address of reqruitment staf member
$email_address='xxx';

//post the application on forum?
$enable_post=true;

//board id to which the application should be posted
$board_id=6.0;

//the id of the this article
$this_article_id = '6';

//article to be redirected when form is submitted
$thank_you_article_id = '7';


//END OF CONFIGURATION SECTION

$show_form= 'true';
if (isset($_POST['submitted'])) {
// Handle the form

// Check required fields
$enroll_errors = array(); //Initialize error array

// Check for a name
if (empty($_POST['real_name']) ){
$enroll_errors[] = 'You forgot to enter your name.';
}
// Check for an email
if (empty($_POST['email']) ){
$enroll_errors[] = 'You forgot to enter your email address.';
}
// Check for an AA name
if (empty($_POST['aa_name']) ){
$enroll_errors[] = 'You forgot to enter your In-Game Nickname.';
}       
// Check for an age
if (empty($_POST['age']) ){
$enroll_errors[] = 'You forgot to enter your age.';


if (empty($enroll_errors)) { //Everything seems to be OK
     
        $show_form='false';



// email an application

$subject = 'Enrollment Application';
$body = 'Enrollment application has been made by ' . $context['user']['name'] .
' from IP Address ' . $user_info['ip'] . '
Real Name:  ' . $_POST['real_name'] . '
Email address:  ' . $_POST['email'] . '
Current Game Name:  ' . $_POST['aa_name'] . '
Age:  ' . $_POST['age'] . '
Gender: ' . $_POST['gender'] . '
Location:  ' . $_POST['location'] . '
Current Level:  ' . $_POST['honor'] . '
Previous Guild(s):  ' . $_POST['prev_clans'] . '
Class:  ' . $_POST['banned'] . '
Do you have raiding experience ' . $_POST['aaotracker'] . '
Describe that experience:  ' . $_POST['aaotracker_name'] . '
Do you have any professions  ' . $_POST['xfire'] . '
Which Professions(include skill):  ' . $_POST['xfire_name'] . '
Ventrilo installed?:  ' . $_POST['ts'] . '
Have microphone/headset:  ' . $_POST['mic'] . '
Have you read our guild Constitution and Charter: ' . $_POST['pay'] . '
Why do you want to join our Guild  ' . $_POST['why'] . '
Do you know anyone in Affliction:   ' . $_POST['habbits'] . '
Other information:  ' . $_POST['other'];

$postbody = 'Enrollment application has been made by ' . $context['user']['name'] .'
[table]
[tr][td]Real Name:[/td][td] ' . $_POST['real_name'] . '[/td][/tr]
[tr][td]Email address:[/td][td] ' . $_POST['email'] . '[/td][/tr]
[tr][td]Current Game Name:[/td][td] ' . $_POST['aa_name'] . '[/td][/tr]
[tr][td]Age:[/td][td] ' . $_POST['age'] . '[/td][/tr]
[tr][td]Gender:[/td][td] ' . $_POST['gender'] . '[/td][/tr]
[tr][td]Location:[/td][td] ' . $_POST['location'] . '[/td][/tr]
[tr][td]Current Level:[/td][td] ' . $_POST['honor'] . '[/td][/tr]
[tr][td]Previous Guild(s):[/td][td] ' . $_POST['prev_clans'] . '[/td][/tr]
[tr][td]Class:[/td][td] ' . $_POST['banned'] . '[/td][/tr]
[tr][td]Do you have raiding experience[/td][td] ' . $_POST['aaotracker'] . '[/td][/tr]
[tr][td]Describe that experience:[/td][td] ' . $_POST['aaotracker_name'] . '[/td][/tr]
[tr][td]Do you have any professions[/td][td] ' . $_POST['xfire'] . '[/td][/tr]
[tr][td]Which Professions(include skill):[/td][td] ' . $_POST['xfire_name'] . '[/td][/tr]
[tr][td]Ventrilo installed?:[/td][td] ' . $_POST['ts'] . '[/td][/tr]
[tr][td]Have microphone/headset:[/td][td] ' . $_POST['mic'] . '[/td][/tr]
[tr][td]Have you read our guild Constitution and Charter:[/td][td] ' . $_POST['pay'] . '[/td][/tr]
[tr][td]Why do you want to join our Guild[/td][td] ' . $_POST['why'] . '[/td][/tr]
[tr][td]Do you know anyone in Affliction:[/td][td] ' . $_POST['habbits'] . '[/td][/tr]
[tr][td]Other information:[/td][td] ' . $_POST['other']. '[/td][/tr]
[/table]';



            if ($enable_email)
mail($email_address, $subject, $body,"From: " . $_POST['email']);



//create new forum post with application

$msgOptions = array(
'id' =>  0 ,
'subject' => '[Pending] Application of ' . $context['user']['name'],
'body' => $postbody ,
'icon' => 'xx',
'smileys_enabled' => true,
'attachments' =>  array(),
);
$topicOptions = array(
'id' => 0 ,
'board' => $board_id,
'poll' =>  null,
'lock_mode' =>  null,
'sticky_mode' =>  null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $context['user']['id'],
'name' => $context['user']['name'],
'email' => $user_info['email'],
'update_post_count' => true,
);
   
if ($enable_post)
            createPost($msgOptions, $topicOptions, $posterOptions);

// Redirect to thank you page
header('Location: http://' . $_SERVER['HTTP_HOST'] .'/forum/index.php?page=' . $thank_you_article_id);

} else {
// Redirect to error page
//header('Location: http://' . $_SERVER['HTTP_HOST'] . '/index.php?page=' . $enroll_error_article_id );
echo '<h2 class="error">Error!</h2>';
echo '<p class="error">The following error(s) occured:<br />';

foreach ($enroll_errors as $msg) {
echo " - $msg<br />";
}
   echo "<p>Please, correct all errors and try again.</p>" ;



}
}
//else { // Display the form

echo '
<form action="index.php?page='  . $this_article_id  . '" method="post">
        <INPUT id="submitted" name="submitted" type="hidden" value="TRUE" />
<TABLE class = "bordercolor" cellSpacing="1" cellPadding="1" width="95%" border="0">
<TR class ="windowbg">
<TD width = "200px">* Your Name:</TD>
<TD><INPUT id="real_name" name="real_name" type="text" value ="';
if (isset($_POST['real_name'])) echo $_POST['real_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">* Email address:</TD>
<TD><INPUT id="email" name="email" type="text" value ="';
if (isset($_POST['email'])) echo $_POST['email']; else echo $user_info['email']; 
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">* Current In-Game Name:</TD>
<TD><INPUT id="aa_name" name="aa_name" type="text" value ="';
if (isset($_POST['aa_name'])) echo $_POST['aa_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">* Age:</TD>
<TD><INPUT id="age" name="age" type="text" value ="';
if (isset($_POST['age'])) echo $_POST['age'];   
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Gender:
</TD>
<TD><SELECT id = "gender" name = "gender" style="WIDTH: 152px" value ="';
if (isset($_POST['gender'])) echo $_POST['gender'];   
echo '" />
<OPTION value="No Answer" selected>--------------------------</OPTION>
<OPTION value="M">Male</OPTION>
<OPTION value="F">Female</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Location:</TD>
<TD><INPUT id="location" name="location" type="text" value ="';
if (isset($_POST['location'])) echo $_POST['location'];   
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Current Level:</TD>
<TD><INPUT id="honor" name="honor" type="text" value ="';
if (isset($_POST['honor'])) echo $_POST['honor'];   
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Previous Guild(s) and reason of leaving:</TD>
<TD><TEXTAREA id="prev_clans" name="prev_clans" rows="4" cols="40" value ="';
if (isset($_POST['prev_clans'])) echo $_POST['prev_clans'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Class:</TD>
<TD><TEXTAREA id ="banned" name ="banned" rows="4" cols="40"  value ="';
if (isset($_POST['banned'])) echo $_POST['banned'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have raiding experience</TD>
<TD><SELECT id="aaotracker" name="aaotracker" style="WIDTH: 160px" value ="';
if (isset($_POST['aaotraker'])) echo $_POST['aaotraker'];   
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Describe that experience:</TD>
<TD><INPUT id="aaotracker_name" name="aaotracker_name" type="text" value ="';
if (isset($_POST['aaotraker_name'])) echo $_POST['aaotraker_name']; 
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have any professions</TD>
<TD><SELECT id="xfire" name="xfire" style="WIDTH: 160px" value ="';
if (isset($_POST['xfire'])) echo $_POST['xfire'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Which Professions(include skill):</TD>
<TD><INPUT id="xfire_name" name="xfire_name" type="text" value ="';
if (isset($_POST['xfire_name'])) echo $_POST['xfire_name'];   
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have Ventrilo installed?:</TD>
<TD><SELECT id="ts" name="ts" style="WIDTH: 160px" value ="';
if (isset($_POST['ts'])) echo $_POST['ts'];   
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Do you have microphone/headset:</TD>
<TD><SELECT id="mic" name="mic" style="WIDTH: 160px" value ="';
if (isset($_POST['mic'])) echo $_POST['mic'];   
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Have you read our guild Constitution and Charter:</TD>
<TD><SELECT id="pay" name="pay" style="WIDTH: 160px" value ="';
if (isset($_POST['pay'])) echo $_POST['pay'];   
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="Monthly">Yes, monthly</OPTION>
<OPTION value="Occasionally">Yes, occasionally</OPTION>
<OPTION value="Not">No, not now</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Why do you want to join Affliction</TD>
<TD><TEXTAREA id="why" name ="why" rows="4" cols="40" value ="';
if (isset($_POST['why'])) echo $_POST['why'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you know anyone in Affliction:
</TD>
<TD><TEXTAREA id="habbits" name="habbits" rows="4" cols="40" value ="';
if (isset($_POST['habbits'])) echo $_POST['habbits'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Any other information you think can help us to make a decision:</TD>
<TD><TEXTAREA id="other" name = "other" rows="4" cols="40" value ="';
if (isset($_POST['other'])) echo $_POST['other'];   
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD colspan="2" align="center">
<INPUT type="submit" value="Submit">
<INPUT type="reset" value="Reset"></TD>
</TR>
</TABLE>
</form>

';

Hairy

The first thing I have noticed in your code, find:
require_once($sourcedir . '/Subs-Post.php');

Replace with:

require_once($sourcedir .'/Subs-Post.php');

Notice you have an extra space before

'/Subs-Post.php');

Hope that gives you a smily face ----> :)

harlequindreamsx

i fixed that but im still getting the same error  :'(

Hairy

The only other thing I can see needs fixing probably won't fix your error.

Find:
header('Location: http://' . $_SERVER['HTTP_HOST'] .'/forum/index.php?page=' . $thank_you_article_id);

Notice how you have '/forum/index.php?page='

But 4 lines down it's missing "/forum" for the error page code
//header('Location: http://' . $_SERVER['HTTP_HOST'] . '/index.php?page=' . $enroll_error_article_id );



If your site is using "/forum" folder you need to add it in for the error page also, if it is not using that folder then you need to remove "/forum" from
header('Location: http://' . $_SERVER['HTTP_HOST'] .'/forum/index.php?page=' . $thank_you_article_id);

harlequindreamsx

you're right it didn't fix it >.<

IchBin

harlequindreams, did you even read through this topic? Your error has already been covered, and several suggestions have been given. Please take a read.

harlequindreamsx

Quote from: IchBinâ,,¢ on January 27, 2008, 07:15:33 AM
harlequindreams, did you even read through this topic? Your error has already been covered, and several suggestions have been given. Please take a read.

yes i have read the topic i spent several hours reading and rereading over this topic

harlequindreamsx

#188
Ok I went all the way back through this topic so I could make this post. I also snagged a different copy of the code that supposedly had no errors... (it had syntax errors so i fixed those.)

On my site:
The article with the form is: http://iowg.itrello.com/index.php?page=8
The thank you page is: http://iowg.itrello.com/index.php?page=9

I can avoid the error completely and get to the thank you page only if I have it set up like this:

//board id to which the application should be posted
$board_id=11.0;

//the id of the this article
$this_article_id = '8';

//article to be redirected when form is submitted
$thank_you_article_id = '9';


Which is like the problem in this post so I went here to try and find a fix which led me to change this:

header('Location: http://' . $_SERVER['HTTP_HOST'] .'/index.php?page=' . $thank_you_article_id);


to this:

header('Location: http://iowg.itrello.com/index.php?page=9' );


With the page numbers set correctly I still get the 'Fatal error: Call to undefined function createPost() in....' error. And if I switch the numbers I don't get the errors. Either way nothing gets posted to the forum which is pretty much the whole point of me doing this.

The only person who posted with my original problem is here and they were told to add this "up at the top of the code (the configureation section)" (their code started at the configuration portion of the code):


global $sourcedir;
require_once($sourcedir . '/Subs-Post.php');


Do I need to have this in the configuration section?

My file already includes this above my configuration setting but I am still receiving the error.


global $sourcedir, $user_info, $context ;

require_once($sourcedir . '/Subs.php');
require_once($sourcedir .'/Subs-Post.php');




An dnow I'll post the entire revised code.


global $sourcedir, $user_info, $context ;

require_once($sourcedir . '/Subs.php');
require_once($sourcedir .'/Subs-Post.php');



// CONFIGURATION SECTION

//send the application by email?
$enable_email=false;

// email address of reqruitment staf member
$email_address='harlequindreamsx@gmail.com';

//post the application on forum?
$enable_post=true;

//board id to which the application should be posted
$board_id=11.0;

//the id of the this article
$this_article_id = '8';

//article to be redirected when form is submitted
$thank_you_article_id = '9';


//END OF CONFIGURATION SECTION

$show_form= 'true';
if (isset($_POST['submitted'])) {
// Handle the form

// Check required fields
$enroll_errors = array(); //Initialize error array

// Check for a name
if (empty($_POST['real_name']) ){
$enroll_errors[] = 'You forgot to enter your name.';
}
// Check for an email
if (empty($_POST['email']) ){
$enroll_errors[] = 'You forgot to enter your email address.';
}
// Check for an AA name
if (empty($_POST['aa_name']) ){
$enroll_errors[] = 'You forgot to enter your In-Game Nickname.';
}
// Check for an age
if (empty($_POST['age']) ){
$enroll_errors[] = 'You forgot to enter your age.';
}

if (empty($enroll_errors)) { //Everything seems to be OK

        $show_form='false';



// email an application

$subject = 'Enrollment Application';
$body = 'Enrollment application has been made by ' . $context['user']['name'] .
' from IP Address ' . $user_info['ip'] . '
Real Name:  ' . $_POST['real_name'] . '
Email address:  ' . $_POST['email'] . '
Current Game Name:  ' . $_POST['aa_name'] . '
Age:  ' . $_POST['age'] . '
Gender: ' . $_POST['gender'] . '
Location:  ' . $_POST['location'] . '
Current Level:  ' . $_POST['honor'] . '
Previous Guild(s):  ' . $_POST['prev_clans'] . '
Class:  ' . $_POST['banned'] . '
Do you have raiding experience ' . $_POST['aaotracker'] . '
Describe that experience:  ' . $_POST['aaotracker_name'] . '
Do you have any professions  ' . $_POST['xfire'] . '
Which Professions(include skill):  ' . $_POST['xfire_name'] . '
Ventrilo installed?:  ' . $_POST['ts'] . '
Have microphone/headset:  ' . $_POST['mic'] . '
Have you read our guild Constitution and Charter: ' . $_POST['pay'] . '
Why do you want to join our Guild  ' . $_POST['why'] . '
Do you know anyone in Affliction:   ' . $_POST['habbits'] . '
Other information:  ' . $_POST['other'];

$postbody = 'Enrollment application has been made by ' . $context['user']['name'] .'
[table]
[tr][td]Real Name:[/td][td] ' . $_POST['real_name'] . '[/td][/tr]
[tr][td]Email address:[/td][td] ' . $_POST['email'] . '[/td][/tr]
[tr][td]Current Game Name:[/td][td] ' . $_POST['aa_name'] . '[/td][/tr]
[tr][td]Age:[/td][td] ' . $_POST['age'] . '[/td][/tr]
[tr][td]Gender:[/td][td] ' . $_POST['gender'] . '[/td][/tr]
[tr][td]Location:[/td][td] ' . $_POST['location'] . '[/td][/tr]
[tr][td]Current Level:[/td][td] ' . $_POST['honor'] . '[/td][/tr]
[tr][td]Previous Guild(s):[/td][td] ' . $_POST['prev_clans'] . '[/td][/tr]
[tr][td]Class:[/td][td] ' . $_POST['banned'] . '[/td][/tr]
[tr][td]Do you have raiding experience[/td][td] ' . $_POST['aaotracker'] . '[/td][/tr]
[tr][td]Describe that experience:[/td][td] ' . $_POST['aaotracker_name'] . '[/td][/tr]
[tr][td]Do you have any professions[/td][td] ' . $_POST['xfire'] . '[/td][/tr]
[tr][td]Which Professions(include skill):[/td][td] ' . $_POST['xfire_name'] . '[/td][/tr]
[tr][td]Ventrilo installed?:[/td][td] ' . $_POST['ts'] . '[/td][/tr]
[tr][td]Have microphone/headset:[/td][td] ' . $_POST['mic'] . '[/td][/tr]
[tr][td]Have you read our guild Constitution and Charter:[/td][td] ' . $_POST['pay'] . '[/td][/tr]
[tr][td]Why do you want to join our Guild[/td][td] ' . $_POST['why'] . '[/td][/tr]
[tr][td]Do you know anyone in Affliction:[/td][td] ' . $_POST['habbits'] . '[/td][/tr]
[tr][td]Other information:[/td][td] ' . $_POST['other']. '[/td][/tr]
[/table]';



            if ($enable_email)
mail($email_address, $subject, $body,"From: " . $_POST['email']);



//create new forum post with application

$msgOptions = array(
'id' =>  0 ,
'subject' => '[Pending] Application of ' . $context['user']['name'],
'body' => $postbody ,
'icon' => 'xx',
'smileys_enabled' => true,
'attachments' =>  array(),
);
$topicOptions = array(
'id' => 0 ,
'board' => $board_id,
'poll' =>  null,
'lock_mode' =>  null,
'sticky_mode' =>  null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $context['user']['id'],
'name' => $context['user']['name'],
'email' => $user_info['email'],
'update_post_count' => true,
);

if ($enable_post)
            createPost($msgOptions, $topicOptions, $posterOptions);

// Redirect to thank you page
header('Location: http://iowg.itrello.com/index.php?page=9' );

} else {
// Redirect to error page
//header('Location: http://' . $_SERVER['HTTP_HOST'] . '/index.php?page=' . $enroll_error_article_id );
echo '<h2 class="error">Error!</h2>';
echo '<p class="error">The following error(s) occured:<br />';

foreach ($enroll_errors as $msg) {
echo " - $msg<br />";
}
   echo "<p>Please, correct all errors and try again.</p>" ;



}
}
//else { // Display the form

echo '
<form action="index.php?page='  . $this_article_id  . '" method="post">
        <INPUT id="submitted" name="submitted" type="hidden" value="TRUE" />
<TABLE class = "bordercolor" cellSpacing="1" cellPadding="1" width="95%" border="0">
<TR class ="windowbg">
<TD width = "200px">* Your Name:</TD>
<TD><INPUT id="real_name" name="real_name" type="text" value ="';
if (isset($_POST['real_name'])) echo $_POST['real_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">* Email address:</TD>
<TD><INPUT id="email" name="email" type="text" value ="';
if (isset($_POST['email'])) echo $_POST['email']; else echo $user_info['email'];
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">* Current In-Game Name:</TD>
<TD><INPUT id="aa_name" name="aa_name" type="text" value ="';
if (isset($_POST['aa_name'])) echo $_POST['aa_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">* Age:</TD>
<TD><INPUT id="age" name="age" type="text" value ="';
if (isset($_POST['age'])) echo $_POST['age'];
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Gender:
</TD>
<TD><SELECT id = "gender" name = "gender" style="WIDTH: 152px" value ="';
if (isset($_POST['gender'])) echo $_POST['gender'];
echo '" />
<OPTION value="No Answer" selected>--------------------------</OPTION>
<OPTION value="M">Male</OPTION>
<OPTION value="F">Female</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Location:</TD>
<TD><INPUT id="location" name="location" type="text" value ="';
if (isset($_POST['location'])) echo $_POST['location'];
echo '" /></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Current Level:</TD>
<TD><INPUT id="honor" name="honor" type="text" value ="';
if (isset($_POST['honor'])) echo $_POST['honor'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Previous Guild(s) and reason of leaving:</TD>
<TD><TEXTAREA id="prev_clans" name="prev_clans" rows="4" cols="40" value ="';
if (isset($_POST['prev_clans'])) echo $_POST['prev_clans'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Class:</TD>
<TD><TEXTAREA id ="banned" name ="banned" rows="4" cols="40"  value ="';
if (isset($_POST['banned'])) echo $_POST['banned'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have raiding experience</TD>
<TD><SELECT id="aaotracker" name="aaotracker" style="WIDTH: 160px" value ="';
if (isset($_POST['aaotraker'])) echo $_POST['aaotraker'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Describe that experience:</TD>
<TD><INPUT id="aaotracker_name" name="aaotracker_name" type="text" value ="';
if (isset($_POST['aaotraker_name'])) echo $_POST['aaotraker_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have any professions</TD>
<TD><SELECT id="xfire" name="xfire" style="WIDTH: 160px" value ="';
if (isset($_POST['xfire'])) echo $_POST['xfire'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Which Professions(include skill):</TD>
<TD><INPUT id="xfire_name" name="xfire_name" type="text" value ="';
if (isset($_POST['xfire_name'])) echo $_POST['xfire_name'];
echo '" /></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you have Ventrilo installed?:</TD>
<TD><SELECT id="ts" name="ts" style="WIDTH: 160px" value ="';
if (isset($_POST['ts'])) echo $_POST['ts'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Do you have microphone/headset:</TD>
<TD><SELECT id="mic" name="mic" style="WIDTH: 160px" value ="';
if (isset($_POST['mic'])) echo $_POST['mic'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="YES">Yes</OPTION>
<OPTION value="NO">No</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Have you read our guild Constitution and Charter:</TD>
<TD><SELECT id="pay" name="pay" style="WIDTH: 160px" value ="';
if (isset($_POST['pay'])) echo $_POST['pay'];
echo '" />
<OPTION value="No answer" selected>--------------------------</OPTION>
<OPTION value="Monthly">Yes, monthly</OPTION>
<OPTION value="Occasionally">Yes, occasionally</OPTION>
<OPTION value="Not">No, not now</OPTION>
</SELECT></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Why do you want to join Affliction</TD>
<TD><TEXTAREA id="why" name ="why" rows="4" cols="40" value ="';
if (isset($_POST['why'])) echo $_POST['why'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD width = "200px">Do you know anyone in Affliction:
</TD>
<TD><TEXTAREA id="habbits" name="habbits" rows="4" cols="40" value ="';
if (isset($_POST['habbits'])) echo $_POST['habbits'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg">
<TD width = "200px">Any other information you think can help us to make a decision:</TD>
<TD><TEXTAREA id="other" name = "other" rows="4" cols="40" value ="';
if (isset($_POST['other'])) echo $_POST['other'];
echo '" ></' . 'TEXTAREA></TD>
</TR>
<TR class ="windowbg2">
<TD colspan="2" align="center">
<INPUT type="submit" value="Submit">
<INPUT type="reset" value="Reset"></TD>
</TR>
</TABLE>
</form>

';




Hairy

Are you using the latest version of SMF?

This website is proudly hosted on Crocweb Cloud Website Hosting.