game/modules_data/location/quest.php

175 lines
7.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if (!defined('GAME')) {
die();
}
$qst_hram = true;
if ($u->room['file'] != 'quest') {
return;
} ?>
<style>
.pH3 {
COLOR: #8f0000;
FONT-FAMILY: Arial, serif;
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>
<?php if (isset($_GET['r'])) { ?>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div align="center" class="pH3">Домик Бабушки</div>
<div align="left"><?php 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><!-- -->
<?= $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="//img.new-combats.tech/i/move/links.gif" alt=""></td>
<td bgcolor="#D3D3D3" nowrap="nowrap">
<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.421&rnd=<?= $code; ?>';"
title="<?php 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 = '<?php if (isset($_GET['r'])) {
echo 'main.php?r=' . floor($_GET['r']);
} else {
echo 'main.php';
} ?>';"/><?php if (isset($_GET['r'])) { ?> &nbsp; <input class="btn" type="button" value="Вернуться" onclick="location.href = 'main.php';"/><?php } ?><br><br>
</td>
</table>
<div id="textgo" style="visibility:hidden;"></div>
<?php
}
if (isset($_GET['r'])) {
return;
}//Диалоговый перс
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" valign="top">
<?php $usee = $u->getInfoPers($u->info['id'], 0);
if ($usee) {
echo $usee[0];
} else {
echo 'information is lost.';
} ?></td>
<td width="230" valign="top" style="padding-top:19px;"><?php require_once('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>
<?= $re ? '<b style="color: red;">' . $re . '</b>' : '' ?>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div style="position:relative; cursor: pointer;" id="ione">
<img src="//img.new-combats.tech/city/ap_bg13_1.jpg" alt="" id="img_ione" style="border: 1px solid black;">
<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 <?php thisInfRm('1.180.0.323'); ?> src="//img.new-combats.tech/city/ap_exit.gif" class="aFilter" alt="">
</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="//img.new-combats.tech/city/1270_questya.png" class="aFilter" title="Диалог с Старухой" alt="">
</div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;">
<img <?php thisInfRm('1.180.0.11'); ?> src="//img.new-combats.tech/city/ap_exit.gif" width="57" height="26" class="aFilter" alt="">
</div>
<div id="snow"></div>
<?= $goline; ?>
</div>
</td>
</tr>
</table>
<div style="display:none; height:0" id="moveto"></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>