Ciode cleanup

This commit is contained in:
lopar 2019-01-10 00:49:46 +02:00
parent 263d21e712
commit a8a2e073e6
2 changed files with 20 additions and 11 deletions

View File

@ -39,26 +39,34 @@ db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `
height: 100%;
border: 0 solid;
}
.frametable {
height:100%;
width:100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border: 0 solid;
border-spacing: 0;
}
.frametd {
height: inherit;
padding: 0;
}
</style>
</head>
<body>
<table style="height:100%;width:100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border: 0 solid; border-spacing: 0;">
<table class="frametable">
<tr style="height: 25px;">
<td style="height: inherit; padding: 0;"><iframe id="header<?= mt_rand() ?>" class="FRAME" src="top_menu.php" scrolling="no" frameborder="0" name="frameheader"></iframe></td>
<td class="frametd"><iframe id="header<?= mt_rand() ?>" class="FRAME" src="top_menu.php" scrolling="no" frameborder="0" name="frameheader"></iframe></td>
</tr>
<tr style="height: 75%;">
<td style="height: inherit; padding: 0;"><iframe id="main<?= mt_rand() ?>" class="FRAME" src="main.php?top=<?= mt_rand() ?>" frameborder="0" name="framemain"></iframe></td>
<td class="frametd"><iframe id="main<?= mt_rand() ?>" class="FRAME" src="main.php?top=<?= mt_rand() ?>" frameborder="0" name="framemain"></iframe></td>
</tr>
<tr>
<td style="height: inherit; padding: 0;"><iframe id="chat<?= mt_rand() ?>" class="FRAME" src="chat.php" frameborder="0" name="framechat"></iframe></td>
<td class="frametd"><iframe id="chat<?= mt_rand() ?>" class="FRAME" src="chat.php" frameborder="0" name="framechat"></iframe></td>
</tr>
</table>
</body>
<!--<frameset rows="25, *" frameborder=0>-->
<!-- <frame src="top_menu.php" scrolling="no" noresize style="border-bottom: 1px solid silver;">-->
<!-- <frameset rows="75%, *">-->
<!-- <frame name="main" src="main.php?top=--><?//= mt_rand() ?><!--" style="border-bottom: 1px solid silver;">-->
<!-- <frame id="chat" name="chat" src="chat.php" scrolling="yes">-->
<!-- </frameset>-->
<!--</frameset>-->
</html>

View File

@ -27,6 +27,7 @@
</HEAD>
<body>
<div>
<button onClick="document.getElementsByName('framemain').src='/user_anketa.php'">Анкета</button>
<a href="/user_anketa.php" title="Анкета" target="framemain">Анкета</a>
<a href="/contacts.php" title="Контакты" target="framemain">Друзья</a>
<a href="/main.php?edit=1" title="Инвентарь" target="framemain">Инвентарь</a>