<?php
if(!defined('GAME'))
{
 die();
}

$qst_hram = true;

if($u->room['file']=='ab/quest')
{
	
?>
	<style type="text/css"> 
	
	.pH3			{ COLOR: #8f0000;  FONT-FAMILY: Arial;  FONT-SIZE: 12pt;  FONT-WEIGHT: bold; }
	.class_ {
		font-weight: bold;
		color: #C5C5C5;
		cursor:pointer;
	}
	.class_st {
		font-weight: bold;
		color: #659BA3;
		cursor:pointer;
	}
	.class__ {
		font-weight: bold;
		color: #FFFFFF;
		cursor:pointer;
		background-color: #659BA3;
	}
	.class__st {
		font-weight: bold;
		color: #FFFFFF;
		cursor:pointer;
		background-color: #659BA3;
		font-size: 10px;
	}
	.class_old {
		font-weight: bold;
		color: #919191;
		cursor:pointer;
	}
	.class__old {
		font-weight: bold;
		color: #FFFFFF;
		cursor:pointer;
		background-color: #838383;
		font-size: 10px;
	}
	
	</style>
	<div id="hint3" style="visibility:hidden"></div>
	<? if(isset($_GET['r'])) { ?>
    <TABLE width="100%" cellspacing="0" cellpadding="0">
	<tr><td valign="top">
    <div align="center" class="pH3">Äîìèê Áàáóøêè </div>
    <div align="left"><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
	<td width="280" valign="top" align="right"><table align="right" cellpadding="0" cellspacing="0">
		<tr>
		  <td width="100%">&nbsp;</td>
		  <td><table  border="0" cellpadding="0" cellspacing="0">
			  <tr align="right" valign="top">
				<td><!-- -->
					<? echo $goLis; ?>
					<!-- -->
					<table border="0" cellspacing="0" cellpadding="0">
					  <tr>
						<td nowrap="nowrap"><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
							<tr>
							  <td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
							  <td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.421&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.421',1); ?>">Öåíòðàëüíàÿ ïëîùàäü</a></td>
							</tr>
						</table></td>
					  </tr>					  <tr>
						<td nowrap="nowrap">&nbsp;</td>
					  </tr>
				  </table></td>
			  </tr>
		  </table></td>
		</tr>
	  </table>
		<br /><br />
	  <input type="button" class="btn" value="Îáíîâèòü" onclick="location.href = '<? if(isset($_GET['r'])) { echo 'main.php?r='.floor($_GET['r']); }else{ echo 'main.php'; } ?>';" /><? if(isset($_GET['r'])){ ?> &nbsp; <input class="btn" type="button" value="Âåðíóòüñÿ" onclick="location.href = 'main.php';" /><? } ?><br><br>
	</td>
	</table>
	<div id="textgo" style="visibility:hidden;"></div>
    <?
    } 	
	if(!isset($_GET['r'])) {
		//Äèàëîãîâûé ïåðñ
?>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="250" valign="top"><? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; }  ?></td>
        <td width="230" valign="top" style="padding-top:19px;"><? include('modules_data/stats_loc.php'); ?></td>
        <td valign="top"><div align="right">
          <table  border="0" cellpadding="0" cellspacing="0">
            <tr align="right" valign="top">
              <td><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
                <table width="500" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><div style="position:relative; cursor: pointer;" id="ione"> <img src="https://img.new-combats.com/city/ap_bg13_1.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
                      <div id="buttons_on_image" style="cursor:pointer; font-weight:bold; color:#D8D8D8; font-size:10px;">&nbsp; <span onmousemove="this.runtimeStyle.color = 'white';" onmouseout="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('https://new-combats.com/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Ôîðóì</span> &nbsp; </div>
                      <script language="javascript" type="text/javascript">
                        <!--
                        if(document.getElementById('ione'))
                        {
                            document.getElementById('ione').appendChild(document.getElementById('buttons_on_image'));
                            document.getElementById('buttons_on_image').style.position = 'absolute';
                            document.getElementById('buttons_on_image').style.bottom = '8px';
                            document.getElementById('buttons_on_image').style.right = '23px';
                        }else{
                            document.getElementById('buttons_on_image').style.display = 'none';
                        }
                        -->
                        </script>
                      <div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
                      <div style="position: absolute; left: 191px; top: 12px; width: 75px; height: 68px; z-index: 94;"><img onclick="location.href='main.php?talk=24'" src="https://img.new-combats.com/city/1270_questya.png" width="120" height="220" class="aFilter" title="Äèàëîã ñ Ñòàðóõîé" /></div>
                      <div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
                      
                      
                      <div id="snow"></div>
                    <? echo $goline; ?> </div></td>
                  </tr>
                </table>
                <div style="display:none; height:0px " id="moveto"></div>
				<INPUT class="btn" onclick="window.open('/forum?read=974&rnd=1', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Ïîäñêàçêà äëÿ íîâè÷êîâ" style="color:red;" type="button">
                </small></div></td>
              <td><!-- <br /><span class="menutop"><nobr>Êîìíàòà äëÿ íîâè÷êîâ</nobr></span>--></td>
            </tr>
          </table>
          <small>
            <hr />
            <br />
            <strong>Âíèìàíèå!</strong> Íèêîãäà è íèêîìó íå ãîâîðèòå ïàðîëü îò ñâîåãî ïåðñîíàæà. Íå ââîäèòå ïàðîëü íà äðóãèõ ñàéòàõ, òèïà &quot;íîâûé ãîðîä&quot;, &quot;ëîòåðåÿ&quot;, &quot;òàì, ãäå âñå äàþò íà õàëÿâó&quot;. Ïàðîëü íå íóæåí íè ïàëàäèíàì, íè êëàíàì, íè àäìèíèñòðàöèè, <U>òîëüêî âçëîìùèêàì</U> äëÿ êðàæè âàøåãî ãåðîÿ.<br />
            <em>Àäìèíèñòðàöèÿ.</em></small> <br />
          <? echo $rowonmax; ?><br />
        </div></td>
      </tr>
    </table>

<?
	}elseif($_GET['r']==1){
}}?>