Demo: http://www.therisenguild.net
Download Images/JS: http://www.therisenguild.net/index.php?action=tpmod;dl=item6
Note: Code is in a .txt file in the zip as backup :)
$warlink= '';
$registerlink= '';
global $user_info, $context;
//*******************CONFIGURATION SECTION*********************
//o = Open
//l = limited
//empty is closed
//ORDER CLASS NEEDS
$swordmaster = 'o';
$brightwizard ='l';
$witchhunter = '';
$engineer = 'o';
$runepriest = 'l';
$ironbreaker = 'o';
$shadowwarrior = 'l';
$archmage = '';
$swordmaster = 'o';
$whitelion = 'l';
//DESTRUCTION CLASS NEEDS
$chosen = 'l';
$zealot= 'o';
$marauder='o';
$magus = 'o';
$dok ='';
$witch ='l';
$sorcerer ='o';
$squigherder='o';
$blackorc='l';
$shaman='o';
// Code START
$r = "o";
$l = "l";
//ORDER Classes
if ($warriorpriest == $r){
$warriorpriest = "<b><font color='green'>Open</font></b>";
}
elseif ($warriorpriest == $l) {
$warriorpriest = "<b><font color='orange'>Limited</font></b>";
}
else{
$warriorpriest = "<b><font color='red'>Closed</font></b>";
}
if ($brightwizard ==$r){
$brightwizard = "<b><font color='green'>Open</font></b>";
}
elseif ($brightwizard == $l) {
$brightwizard = "<b><font color='orange'>Limited</font></b>";
}
else{
$brightwizard = "<b><font color='red'>Closed</font></b>";
}
if ($witchhunter ==$r){
$witchhunter = "<b><font color='green'>Open</font></b>";
}
elseif ($witchhunter == $l) {
$witchhunter = "<b><font color='orange'>Limited</font></b>";
}
else{
$witchhunter = "<b><font color='red'>Closed</font></b>";
}
if ($engineer ==$r){
$engineer = "<b><font color='green'>Open</font></b>";
}
elseif ($engineer == $l) {
$engineer = "<b><font color='orange'>Limited</font></b>";
}
else{
$engineer = "<b><font color='red'>Closed</font></b>";
}
if ($runepriest ==$r){
$runepriest= "<b><font color='green'>Open</font></b>";
}
elseif ($runepriest == $l) {
$runepriest = "<b><font color='orange'>Limited</font></b>";
}
else{
$runepriest = "<b><font color='red'>Closed</font></b>";
}
if ($ironbreaker ==$r){
$ironbreaker = "<b><font color='green'>Open</font></b>";
}
elseif ($ironbreaker == $l) {
$ironbreaker = "<b><font color='orange'>Limited</font></b>";
}
else{
$ironbreaker = "<b><font color='red'>Closed</font></b>";
}
if ($shadowwarrior ==$r){
$shadowwarrior = "<b><font color='green'>Open</font></b>";
}
elseif ($shadowwarrior == $l) {
$shadowwarrior = "<b><font color='orange'>Limited</font></b>";
}
else{
$shadowwarrior = "<b><font color='red'>Closed</font></b>";
}
if ($archmage ==$r){
$archmage = "<b><font color='green'>Open</font></b>";
}
elseif ($archmage == $l) {
$archmage = "<b><font color='orange'>Limited</font></b>";
}
else{
$archmage= "<b><font color='red'>Closed</font></b>";
}
if ($swordmaster ==$r){
$swordmaster = "<b><font color='green'>Open</font></b>";
}
elseif ($swordmaster == $l) {
$swordmaster = "<b><font color='orange'>Limited</font></b>";
}
else{
$swordmaster = "<b><font color='red'>Closed</font></b>";
}
if ($whitelion ==$r){
$whitelion = "<b><font color='green'>Open</font></b>";
}
elseif ($whitelion == $l) {
$whitelion = "<b><font color='orange'>Limited</font></b>";
}
else{
$whitelion = "<b><font color='red'>Closed</font></b>";
}
//Destruction Classes
if ($chosen == $r){
$chosen = "<b><font color='green'>Open</font></b>";
}
elseif ($chosen == $l) {
$chosen = "<b><font color='orange'>Limited</font></b>";
}
else{
$chosen = "<b><font color='red'>Closed</font></b>";
}
if ($magus ==$r){
$magus = "<b><font color='green'>Open</font></b>";
}
elseif ($magus == $l) {
$magus = "<b><font color='orange'>Limited</font></b>";
}
else{
$magus = "<b><font color='red'>Closed</font></b>";
}
if ($zealot ==$r){
$zealot = "<b><font color='green'>Open</font></b>";
}
elseif ($zealot == $l) {
$zealot = "<b><font color='orange'>Limited</font></b>";
}
else{
$zealot = "<b><font color='red'>Closed</font></b>";
}
if ($marauder ==$r){
$marauder = "<b><font color='green'>Open</font></b>";
}
elseif ($marauder == $l) {
$marauder = "<b><font color='orange'>Limited</font></b>";
}
else{
$marauder = "<b><font color='red'>Closed</font></b>";
}
if ($dok ==$r){
$dok= "<b><font color='green'>Open</font></b>";
}
elseif ($dok == $l) {
$dok = "<b><font color='orange'>Limited</font></b>";
}
else{
$dok = "<b><font color='red'>Closed</font></b>";
}
if ($sorcerer ==$r){
$sorcerer = "<b><font color='green'>Open</font></b>";
}
elseif ($sorcerer == $l) {
$sorcerer = "<b><font color='orange'>Limited</font></b>";
}
else{
$sorcerer = "<b><font color='red'>Closed</font></b>";
}
if ($witchelf ==$r){
$witchelf = "<b><font color='green'>Open</font></b>";
}
elseif ($witchelf == $l) {
$witchelf = "<b><font color='orange'>Limited</font></b>";
}
else{
$witchelf = "<b><font color='red'>Closed</font></b>";
}
if ($blackorc ==$r){
$blackorc = "<b><font color='green'>Open</font></b>";
}
elseif ($blackorc == $l) {
$blackorc = "<b><font color='orange'>Limited</font></b>";
}
else{
$blackorc= "<b><font color='red'>Closed</font></b>";
}
if ($shaman ==$r){
$shaman = "<b><font color='green'>Open</font></b>";
}
elseif ($shaman == $l) {
$shaman = "<b><font color='orange'>Limited</font></b>";
}
else{
$shaman = "<b><font color='red'>Closed</font></b>";
}
if ($squigherder ==$r){
$squigherder = "<b><font color='green'>Open</font></b>";
}
elseif ($squigherder == $l) {
$squigherder = "<b><font color='orange'>Limited</font></b>";
}
else{
$squigherder = "<b><font color='red'>Closed</font></b>";
}
echo '
<html>
<head>
<script language="JavaScript" type="text/javascript" src="', $warlink, '/warrecruit.js"></script>
<link rel="stylesheet" type="text/css" href="', $warlink, '/rstyle.css" />
</head>
<body>
<center>
<img src="', $warlink, '/order.png" onclick="togglevis(\'box8\');"
/>
<img src="', $warlink, '/destro.png" onclick="togglevis(\'box9\');"
/>
<BR>
</center>
<center>
Click your side to see openings!<BR>
<div class="infobox" id="box8">
<table width="175px" cellpadding="0" cellspacing="0">
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/empire.png" align="center"><font color="#ffffff"> EMPIRE</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/warriorpriest.png"></td><td class="tdtext">Warrior Priest</td><td class="tdstatus">' . $warriorpriest. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/brightwizard.png"></td><td class="tdtext">Bright Wizard</td><td class="tdstatus">' . $brightwizard. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/witchhunter.png"></td><td class="tdtext">Witch Hunter</td><td class="tdstatus">' . $witchhunter. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/dwarf.png" align="center"> <font color="#ffffff"> DWARVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/engineer.png"></td><td class="tdtext">Engineer</td><td class="tdstatus">' . $engineer. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/runepriest.png"></td><td class="tdtext">Runepriest</td><td class="tdstatus">' . $runepriest. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/ironbreaker.png"></td><td class="tdtext">Ironbreaker</td><td class="tdstatus">' . $ironbreaker. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/highelf.png" align="center"><font color="#ffffff"> HIGH ELVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/swarrior.png"></td><td class="tdtext">Shadow Warrior</td><td class="tdstatus">' . $shadowwarrior. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/archmage.png"></td><td class="tdtext">Archmage</td><td class="tdstatus">' . $archmage. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/swordmaster.png"></td><td class="tdtext">Sword Master</td><td class="tdstatus">' . $swordmaster. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/whitelion.png"></td><td class="tdtext">White Lion</td><td class="tdstatus">' . $whitelion. '</td></tr>
</table>
<BR>
</div>
<div class="infobox" id="box9">
<table width="175px" cellpadding="0" cellspacing="0">
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/chaos.png" align="center"><font color="#ffffff"> CHAOS</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/chosen.png"></td><td class="tdtext">Chosen</td><td class="tdstatus">' . $chosen. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/zealot.png"></td><td class="tdtext">Zealot</td><td class="tdstatus">' . $zealot. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/marauder.png"></td><td class="tdtext">Marauder</td><td class="tdstatus">' . $marauder. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/magus.png"></td><td class="tdtext">Magus</td><td class="tdstatus">' . $magus. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/darkelf.png" align="center"><font color="#ffffff"> DARK ELVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/dok.png"></td><td class="tdtext">DoK</td><td class="tdstatus">' . $dok. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/witchelf.png"></td><td class="tdtext">Witch Elf</td><td class="tdstatus">' . $witchelf. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/sorcerer.png"></td><td class="tdtext">Sorcerer</td><td class="tdstatus">' . $sorcerer. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/greenskins.png" align="center"><font color="#ffffff"> GREENSKINS</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/squiq.png"></td><td class="tdtext">Squig Herder</td><td class="tdstatus">' . $squigherder. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/blackorc.png"></td><td class="tdtext">Black Orc</td><td class="tdstatus">' . $blackorc. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/shaman.png"></td><td class="tdtext">Shaman</td><td class="tdstatus">' . $shaman. '</td></tr>
</table></div><BR><HR>';
if ($context['user']['is_guest'])
echo 'Please register before applying<BR>
<a href="'. $scripturl .'?action=register">APPLY HERE</a>';
if ($context['user']['is_logged'])
echo' Hi <B>', $context['user']['name'] ,
'<BR></b> Fill out the registration:<BR>
<a href="'. $registerlink .'">Join us here</a>';
echo '
</body>
</html>
';
Enjoy. This was derived from the original WoW recruitment block (don't have the link off the top of my head) But modified to fit WAR entirely.
Is it possible to have this but remove the Order part ? Our guild is 100% Destruction 8)
Thanks
Yes, just delete all references to Order (the initial image link, and the div box containing order stuff)
i tried but i got a lot of errors. I'm not a pro like you with php ;p can you link me the code there please ? I would really appreciate !
Quote from: Kronyx on August 25, 2008, 12:18:07 PM
i tried but i got a lot of errors. I'm not a pro like you with php ;p can you link me the code there please ? I would really appreciate !
This is the code for mine, which is just all Destruction. Also removed the need to click the Destruction button in order to show.
Also noticed an error, at the top where you enter if its open, limited or closed, the variable for witchelf is just $witch, but is $witchelf all through out the rest of the code :)
$warlink= '';
$registerlink= '';
global $user_info, $context;
//*******************CONFIGURATION SECTION*********************
//o = Open
//l = limited
//empty is closed
//DESTRUCTION CLASS NEEDS
$chosen = 'l';
$zealot= 'o';
$marauder='o';
$magus = 'o';
$dok ='';
$witchelf ='l';
$sorcerer ='o';
$squigherder='o';
$blackorc='l';
$shaman='o';
// Code START
$r = "o";
$l = "l";
//Destruction Classes
if ($chosen == $r){
$chosen = "<b><font color='green'>Open</font></b>";
}
elseif ($chosen == $l) {
$chosen = "<b><font color='orange'>Limited</font></b>";
}
else{
$chosen = "<b><font color='red'>Closed</font></b>";
}
if ($magus ==$r){
$magus = "<b><font color='green'>Open</font></b>";
}
elseif ($magus == $l) {
$magus = "<b><font color='orange'>Limited</font></b>";
}
else{
$magus = "<b><font color='red'>Closed</font></b>";
}
if ($zealot ==$r){
$zealot = "<b><font color='green'>Open</font></b>";
}
elseif ($zealot == $l) {
$zealot = "<b><font color='orange'>Limited</font></b>";
}
else{
$zealot = "<b><font color='red'>Closed</font></b>";
}
if ($marauder ==$r){
$marauder = "<b><font color='green'>Open</font></b>";
}
elseif ($marauder == $l) {
$marauder = "<b><font color='orange'>Limited</font></b>";
}
else{
$marauder = "<b><font color='red'>Closed</font></b>";
}
if ($dok ==$r){
$dok= "<b><font color='green'>Open</font></b>";
}
elseif ($dok == $l) {
$dok = "<b><font color='orange'>Limited</font></b>";
}
else{
$dok = "<b><font color='red'>Closed</font></b>";
}
if ($sorcerer ==$r){
$sorcerer = "<b><font color='green'>Open</font></b>";
}
elseif ($sorcerer == $l) {
$sorcerer = "<b><font color='orange'>Limited</font></b>";
}
else{
$sorcerer = "<b><font color='red'>Closed</font></b>";
}
if ($witchelf ==$r){
$witchelf = "<b><font color='green'>Open</font></b>";
}
elseif ($witchelf == $l) {
$witchelf = "<b><font color='orange'>Limited</font></b>";
}
else{
$witchelf = "<b><font color='red'>Closed</font></b>";
}
if ($blackorc ==$r){
$blackorc = "<b><font color='green'>Open</font></b>";
}
elseif ($blackorc == $l) {
$blackorc = "<b><font color='orange'>Limited</font></b>";
}
else{
$blackorc= "<b><font color='red'>Closed</font></b>";
}
if ($shaman ==$r){
$shaman = "<b><font color='green'>Open</font></b>";
}
elseif ($shaman == $l) {
$shaman = "<b><font color='orange'>Limited</font></b>";
}
else{
$shaman = "<b><font color='red'>Closed</font></b>";
}
if ($squigherder ==$r){
$squigherder = "<b><font color='green'>Open</font></b>";
}
elseif ($squigherder == $l) {
$squigherder = "<b><font color='orange'>Limited</font></b>";
}
else{
$squigherder = "<b><font color='red'>Closed</font></b>";
}
echo '
<html>
<head>
<script language="JavaScript" type="text/javascript" src="', $warlink, '/warrecruit.js"></script>
<link rel="stylesheet" type="text/css" href="', $warlink, '/rstyle.css" />
</head>
<body>
<center>
<div class="">
<table width="175px" cellpadding="0" cellspacing="0">
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/chaos.png" align="center"><font color="#ffffff"> CHAOS</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/chosen.png"></td><td class="tdtext">Chosen</td><td class="tdstatus">' . $chosen. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/zealot.png"></td><td class="tdtext">Zealot</td><td class="tdstatus">' . $zealot. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/marauder.png"></td><td class="tdtext">Marauder</td><td class="tdstatus">' . $marauder. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/magus.png"></td><td class="tdtext">Magus</td><td class="tdstatus">' . $magus. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/darkelf.png" align="center"><font color="#ffffff"> DARK ELVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/dok.png"></td><td class="tdtext">DoK</td><td class="tdstatus">' . $dok. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/witchelf.png"></td><td class="tdtext">Witch Elf</td><td class="tdstatus">' . $witchelf. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/sorcerer.png"></td><td class="tdtext">Sorcerer</td><td class="tdstatus">' . $sorcerer. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/destruction/greenskins.png" align="center"><font color="#ffffff"> GREENSKINS</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/squiq.png"></td><td class="tdtext">Squig Herder</td><td class="tdstatus">' . $squigherder. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/destruction/blackorc.png"></td><td class="tdtext">Black Orc</td><td class="tdstatus">' . $blackorc. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/destruction/shaman.png"></td><td class="tdtext">Shaman</td><td class="tdstatus">' . $shaman. '</td></tr>
</table></div><BR><HR>';
if ($context['user']['is_guest'])
echo 'Please register before applying<BR>
<a href="'. $scripturl .'?action=register">APPLY HERE</a>';
if ($context['user']['is_logged'])
echo' Hi <B>', $context['user']['name'] ,
'<BR></b> Fill out the registration:<BR>
<a href="'. $registerlink .'">Join us here</a>';
echo '
</body>
</html>
';
Hey Thanks a lot !
Another newbie here. I installed the files on my server and I cut and pasted the code snippet posted by Dekthro for the destruction only portion in to a phpbox. I get the following errors:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/content/m/h/5/mh52kx/html/Sources/Load.php(1735) : eval()'d code(52) : eval()'d code on line 175
Parse error: syntax error, unexpected '<' in /home/content/m/h/5/mh52kx/html/Sources/Load.php(1735) : eval()'d code(52) : eval()'d code on line 176
Can anyone help with this?
It's likely a missing single quote somewhere.
Yeah, it's probably something minor in what Dekthro posted. What I did to solve my problem was just cut and pasted the orginal code and then carefully deleted all referrences to Order, as was originally suggested. This is what I thought was done in the Dekthro post for a quick copy and paste, but seems something is a little off.
Anyway to get this to work with a PHPNuke website? Sorry if I missed it here but kind of a n00b at this. ;D
Quote from: Phathoms on September 01, 2008, 03:37:03 AM
Yeah, it's probably something minor in what Dekthro posted. What I did to solve my problem was just cut and pasted the orginal code and then carefully deleted all referrences to Order, as was originally suggested. This is what I thought was done in the Dekthro post for a quick copy and paste, but seems something is a little off.
Not sure what I might of missed, was a direct copy from what I was using at the time. I'd repost what I got but I've hacked it up considerably, compared to the original display. lol.
Awesome! Just what I was looking for!
Very very nice, I might keep this in mind for using as a modified roster of sorts, unless... you would happen to have a mod for a roster somewhere up your sleeve *hint hint*
Feel free to visit our site, we are Order of the Hammer guild from TTH, and I am Smoothbrain
http://orderofthehammer.net/forum
would someone be kind enough to give me the code for an order only version of this bloc?
Be sure to download the one file since it contains the CSS I use.
$warlink= 'http://www.therisenguild.net/war_recruit';
$registerlink= '';
global $user_info, $context;
//*******************CONFIGURATION SECTION*********************
//o = Open
//l = limited
//empty is closed
//ORDER CLASS NEEDS
$swordmaster = 'o';
$brightwizard ='l';
$witchhunter = '';
$engineer = 'o';
$runepriest = 'l';
$ironbreaker = 'o';
$shadowwarrior = 'l';
$archmage = '';
$swordmaster = 'o';
$whitelion = 'l';
// Code START
$r = "o";
$l = "l";
//ORDER Classes
if ($warriorpriest == $r){
$warriorpriest = "<b><font color='green'>Open</font></b>";
}
elseif ($warriorpriest == $l) {
$warriorpriest = "<b><font color='orange'>Limited</font></b>";
}
else{
$warriorpriest = "<b><font color='red'>Closed</font></b>";
}
if ($brightwizard ==$r){
$brightwizard = "<b><font color='green'>Open</font></b>";
}
elseif ($brightwizard == $l) {
$brightwizard = "<b><font color='orange'>Limited</font></b>";
}
else{
$brightwizard = "<b><font color='red'>Closed</font></b>";
}
if ($witchhunter ==$r){
$witchhunter = "<b><font color='green'>Open</font></b>";
}
elseif ($witchhunter == $l) {
$witchhunter = "<b><font color='orange'>Limited</font></b>";
}
else{
$witchhunter = "<b><font color='red'>Closed</font></b>";
}
if ($engineer ==$r){
$engineer = "<b><font color='green'>Open</font></b>";
}
elseif ($engineer == $l) {
$engineer = "<b><font color='orange'>Limited</font></b>";
}
else{
$engineer = "<b><font color='red'>Closed</font></b>";
}
if ($runepriest ==$r){
$runepriest= "<b><font color='green'>Open</font></b>";
}
elseif ($runepriest == $l) {
$runepriest = "<b><font color='orange'>Limited</font></b>";
}
else{
$runepriest = "<b><font color='red'>Closed</font></b>";
}
if ($ironbreaker ==$r){
$ironbreaker = "<b><font color='green'>Open</font></b>";
}
elseif ($ironbreaker == $l) {
$ironbreaker = "<b><font color='orange'>Limited</font></b>";
}
else{
$ironbreaker = "<b><font color='red'>Closed</font></b>";
}
if ($shadowwarrior ==$r){
$shadowwarrior = "<b><font color='green'>Open</font></b>";
}
elseif ($shadowwarrior == $l) {
$shadowwarrior = "<b><font color='orange'>Limited</font></b>";
}
else{
$shadowwarrior = "<b><font color='red'>Closed</font></b>";
}
if ($archmage ==$r){
$archmage = "<b><font color='green'>Open</font></b>";
}
elseif ($archmage == $l) {
$archmage = "<b><font color='orange'>Limited</font></b>";
}
else{
$archmage= "<b><font color='red'>Closed</font></b>";
}
if ($swordmaster ==$r){
$swordmaster = "<b><font color='green'>Open</font></b>";
}
elseif ($swordmaster == $l) {
$swordmaster = "<b><font color='orange'>Limited</font></b>";
}
else{
$swordmaster = "<b><font color='red'>Closed</font></b>";
}
if ($whitelion ==$r){
$whitelion = "<b><font color='green'>Open</font></b>";
}
elseif ($whitelion == $l) {
$whitelion = "<b><font color='orange'>Limited</font></b>";
}
else{
$whitelion = "<b><font color='red'>Closed</font></b>";
}
echo '
<html>
<head>
<link rel="stylesheet" type="text/css" href="', $warlink, '/rstyle.css" />
</head>
<body>
<center>
<img src="', $warlink, '/order.png");"
/>
<BR>
</center>
<center>
<table width="175px" cellpadding="0" cellspacing="0">
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/empire.png" align="center"><font color="#ffffff"> EMPIRE</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/warriorpriest.png"></td><td class="tdtext">Warrior Priest</td><td class="tdstatus">' . $warriorpriest. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/brightwizard.png"></td><td class="tdtext">Bright Wizard</td><td class="tdstatus">' . $brightwizard. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/witchhunter.png"></td><td class="tdtext">Witch Hunter</td><td class="tdstatus">' . $witchhunter. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/dwarf.png" align="center"> <font color="#ffffff"> DWARVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/engineer.png"></td><td class="tdtext">Engineer</td><td class="tdstatus">' . $engineer. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/runepriest.png"></td><td class="tdtext">Runepriest</td><td class="tdstatus">' . $runepriest. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/ironbreaker.png"></td><td class="tdtext">Ironbreaker</td><td class="tdstatus">' . $ironbreaker. '</td></tr>
<tr class="tdrace"><td colspan="3" valign="center"><img src="', $warlink, '/order/highelf.png" align="center"><font color="#ffffff"> HIGH ELVES</font></td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/swarrior.png"></td><td class="tdtext">Shadow Warrior</td><td class="tdstatus">' . $shadowwarrior. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/archmage.png"></td><td class="tdtext">Archmage</td><td class="tdstatus">' . $archmage. '</td></tr>
<tr class="tr1"><td class="tdicon"><img src="', $warlink, '/order/swordmaster.png"></td><td class="tdtext">Sword Master</td><td class="tdstatus">' . $swordmaster. '</td></tr>
<tr class="tr2"><td class="tdicon"><img src="', $warlink, '/order/whitelion.png"></td><td class="tdtext">White Lion</td><td class="tdstatus">' . $whitelion. '</td></tr>
</table>
<BR>
<BR><HR>';
if ($context['user']['is_guest'])
echo 'Please register before applying<BR>
<a href="'. $scripturl .'?action=register">APPLY HERE</a>';
if ($context['user']['is_logged'])
echo' Hi <B>', $context['user']['name'] ,
'<BR></b> Fill out the registration:<BR>
<a href="'. $registerlink .'">Join us here</a>';
echo '
</body>
</html>
';
Thank you for making this available to others. Your hard work is appreciated as well as admired. Keep up the great work and thank you!
The download link seems to just take me to your sites forum index. I have registered an account there and still cannot find a way to access the download. Any help would be greatly appreciated.
dpmagyari,
I suggest you post your questions on that directly to Dread as he has installed SMF 2.0 on his site, which keeps him from being able to even use TP right now, especially since he hasn't checked in here since around the end of December of last year. His TP Downloads are no longer working since he isn't using TP right now.
ZarPrime
Thanks for the reply. (mental note to self..... Check the dates on post before asking questions!)