rendered paste body<?include "vsys.dr";//Header("Location: index.dr");//exit;?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- VaRz --><HTML><HEAD><TITLE>Devil's Reign:: Massively Multiplayer Online Role Playing Game</TITLE><META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK href="css/common.css" type=text/css rel=stylesheet><LINK href="css/main.css" type=text/css rel=stylesheet><META content="devil's reign, devilsreign, assassins, angels, demons, trolls, rpg, mmorpg, role playing, game, online game, text based game, armory, mercenaries, spy, attack, army, battle, recruit, spies, spy skill, weapons, messaging, sabotage, recon, intelligence, pnp, mud, games, stockade, free, browser game" name=keywords /><META content="Devil's Reign is a Massively Multiplayer Online Role Playing Game with over 5,000 players. Players can choose one of four races: Angels, Demons, Assassins and Trolls, and build armies, recruit friends as officers, buy weapons, and spy and attack on each other." name=description /><META content="Devil's Reign" name=author><SCRIPT language=javascript type=text/javascript> <!-- function checkCR(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text")) {return false;} } document.onkeypress = checkCR; //--> </SCRIPT><META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD><BODY text=#ffffff bgColor=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><?include ("top.dr");?><TABLE cellSpacing=0 cellPadding=5 width="100%" border=0> <TBODY> <TR> <TD class=menu_cell style="PADDING-LEFT: 15px" vAlign=top width=140> <? include ("left.dr"); ?> </TD> <TD style="PADDING-RIGHT: 15px; PADDING-LEFT: 15px; PADDING-TOP: 12px" vAlign=top align=left> <? $recruitC=10; function recruitSoldier($id){ global $recruitC; $us=getUserDetails($id,"commander"); updateUser($id, " untrainedSold =untrainedSold +$recruitC" ); if ($us->commander){ $recruitC/=2; recruitSoldier($us->commander); } } if ($cgi['image_click_value']){ if ($cgi['image_click_value']==$_SESSION['number']){ //$_SESSION['number']=0; $ip=$_SERVER['REMOTE_ADDR']; //echo "------$ip-----"; $time=$conf["hours_to_block_same_user_recruiting"]*60*60; $IP=isIPNewerThen($ip,$time); if ($IP){ //print_r($IP); //$IP=getIP($ipID); $time=time()-$IP->time; //alert($time); $time=$conf["hours_to_block_same_user_recruiting"]*60*60-$time; //alert($time); $t=$time/(60*60); $tF=floor($t); $timeA['tm_hour']=$tF; $time=$time-$tF*60*60; $t=$time/(60); $tF=floor($t); $timeA['tm_min']=$tF; $time=$time-$tF*60; $timeA['tm_sec']=$time; //$t=($time-$timeA['tm_sec']) ?>You have already clicked this link today. You may click again in <?=$timeA['tm_hour']?> hours, <?=$timeA['tm_min']?> minutes and <?=$timeA['tm_sec']?> seconds <? } else{ deleteIPByIP($ip); addIP($ip,''); $us=getUserByUniqId($cgi['uniqid'],"ID"); recruitSoldier($us->ID); updateUser($us->ID, " untrainedSold =untrainedSold +10, gold=gold +400000" ); $uniqid=mysql_real_escape_string($cgi['uniqid']); if(!is_numeric($uniqid)){ Header("Location: index.dr"); } $us=getUserByUniqId($cgi['uniqid'],"*"); if(!$cgi['uniqid']){ Header("Location: index.dr"); } ?> <center> <font style="font-size: 14pt;"><b>You have been recruited into <?=$us->userName?>'s army!</b><br> </font> <p> <?=$us->userName?> is building an army of <?=$conf['race'][$us->race]['name'] ?> and now has <?numecho (getTotalFightingForce($us)) ?> soldiers in <?=$us->userName?>'s war machine.<br> <p> If you wish, you may become one of <?=$us->userName?>'s officers and build an army of your own. With <?=$us->userName?>'s protection and support, you too may build an army that will someday reign over all Chaos. If you accept this challenge, <br> <br> <center> <font style="font-size: 16pt"> <a href="register.dr?join=<?=$conf['race'][$us->race]['name']?>&uniqid=<?=$us->ID?>"><font style="font-size: 16pt">Join The War</font></a>! </font> </center> </center> <? } }else{ ?> <h1>Please Wait...</h1> You failed to correctly match the image! For your sanity, there is a mandatory "cooling down" period that you must go through before trying again. Please try again in a few minutes. <? } } elseif ($cgi['uniqid']){ $us=getUserByUniqId($cgi['uniqid']," ID, userName "); ?> <p> </p><CENTER> <center> If you reached this page via a link in an IRC or Chat channel, a message board or forum where the link to this page would be considered off topic, please close this page now. <p> <h3>Otherwise,</h3> <script language="JavaScript" type="text/javascript"> function doDisable(frm, val) { //frm.submit(); //return; for (var i=0; i<frm.elements.length; i++) { if (frm.elements[i].name == 'image_click_value' && frm.elements[i].value != val) frm.elements[i].disabled = true; } frm.submit(); }</script> <form action="recruit.dr" method="post" name="image_clickthrough_form"> <p>Click on the number shown in the image to proceed to <a href="stats.dr?id=<?=$us->ID?>"><?=$us->userName?></a>'s Recruitment Center <p> <img src="ads/recruit.img.dr?<? $SID=session_name()."=".session_id(); $SID; $number=rand(1,15); $_SESSION['number']=$number; ?>" alt="Click on #"> <p> <table border="0" cellspacing="0" cellpadding="6"> <tr>Please Close Your Adblocking Softwares </tr> <tr> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="1" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="2" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="3" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="4" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="5" name="image_click_value"></td> </tr> <tr> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="6" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="7" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="8" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="9" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="10" name="image_click_value"></td> </tr> <tr> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="11" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="12" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="13" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="14" name="image_click_value"></td> <td><input style="font-family: 'Century Schoolbook', 'Times New Roman', Serif; font-size: 24pt; height: 60; width: 60;" type="submit" value="15" name="image_click_value"></td> </tr> </table> <input type="hidden" name="hash2" value="<?= MD5($SID);?>"> <input type="hidden" name="uniqid" value="<?=$cgi['uniqid']?>"> </form> <p> <center> </center> <? } ?> </center> <P> <?php include "lib/class.footer.php"; ?> </CENTER></TD></TR></