Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Entrada variables
- $ante = $_GET['ante'];
- $zona = $_GET['zona'];
- $img = $_GET['img'];
- $dial = $_GET['dial'];
- $lvl = $_GET['lvl'];
- $exp = $_GET['exp'];
- $next = $_GET['next'];
- $key = $_GET['key'];
- // Cambiar estado llaves
- if ( $key == "" ){
- }
- else {
- $camkey = "llaves/".$key.".txt";
- $ar=fopen("$camkey","w");
- fputs($ar,"1");
- fclose($ar);
- }
- // Inventario
- $llave = file_get_contents("llaves/1.txt");
- if ( $llave == "0"){
- $llave1 = "";
- }
- elseif ( $llave == "1"){
- $llave1 = "llave1";
- }
- $llave = file_get_contents("llaves/2.txt");
- if ( $llave == "0"){
- $llave2 = "";
- }
- elseif ( $llave == "1"){
- $llave2 = "llave2";
- }
- $llave = file_get_contents("llaves/3.txt");
- if ( $llave == "0"){
- $llave3 = "";
- }
- elseif ( $llave == "1"){
- $llave3 = "llave3";
- }
- $llave = file_get_contents("llaves/4.txt");
- if ( $llave == "0"){
- $llave4 = "";
- }
- elseif ( $llave == "1"){
- $llave4 = "llave4";
- }
- $llave = file_get_contents("llaves/5.txt");
- if ( $llave == "0"){
- $llave5 = "";
- }
- elseif ( $llave == "1"){
- $llave5 = "llave5";
- }
- ?>
- <style type="text/css">
- body
- {
- background-color:black;
- }
- #nmapa{
- color:white;
- }
- #imagen{
- background-image:url('<?php echo $zona; ?>/<?php echo $img; ?>');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #tamapa{
- border-spacing: 0;
- border-style: solid;
- border-width: 1px;
- border-color: white;
- overflow: hidden;
- }
- #champ{
- background-image:url('girl.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #aqui{
- background-image:url('aqui.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #visitado{
- background-image:url('visitado.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #llave1{
- background-image:url('llaves/1.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #llave2{
- background-image:url('llaves/2.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #llave3{
- background-image:url('llaves/3.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #llave4{
- background-image:url('llaves/4.gif');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- #llave5{
- background-image:url('llaves/5.png');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- }
- </style>
- <table border="0" width=100% height=100%>
- <tr >
- <td id="imagen" rowspan="3" colspan="3" height="280px">
- </td>
- <td width="25%" height="20%" valign="top">
- <iframe src='mapa.php?zona=<?php echo $zona; ?>&ante=<?php echo $ante; ?>' frameborder="0" style="width:100%;height:100%" scrolling="no"></iframe>
- </td>
- </tr>
- <tr>
- <td rowspan="2" >
- <center><table border=1 width=300 height=130>
- <tr height=65>
- <td id="champ" style="background-color:#08088A;" width=65></td>
- <td style="background-color:#08088A;">
- <div style="color:#F7819F;">Princesa Esa</div><div style="color:#F7819F;"><b>LVL:<?php echo $lvl; ?></b></div>
- </td>
- </tr>
- <tr height=65>
- <td colspan="2" style="background-color:#08088A;">
- <div><b style="float:left;color:#F7819F;">Exp. Points : <?php echo $exp; ?></b></div><div style="float:right;color:#F7819F;"><b>For Lev UP : <?php echo $next; ?></b></div>
- </td>
- </tr>
- </table></center>
- </td>
- </tr>
- <tr>
- </tr>
- <tr>
- <td rowspan="2" colspan="3"><iframe src='<?php echo $zona; ?>/<?php echo $dial; ?>.php' frameborder="0" style="width:100%;height:100%" scrolling="no"></iframe></td>
- <td>
- <center><p id="nmapa">Inventario</p></center>
- <center><table border="1" >
- <tr>
- <td width=32 height=32 id=<?php echo $llave1; ?>></td>
- <td width=32 height=32 id=<?php echo $llave2; ?>></td>
- <td width=32 height=32 id=<?php echo $llave3; ?>></td>
- </tr>
- <tr>
- <td width=32 height=32 id=<?php echo $llave4; ?>></td>
- <td width=32 height=32 id=<?php echo $llave5; ?>></td>
- <td width=32 height=32></td>
- </tr>
- <tr>
- <td width=32 height=32></td>
- <td width=32 height=32></td>
- <td width=32 height=32></td>
- </tr>
- <tr>
- <td width=32 height=32></td>
- <td width=32 height=32></td>
- <td width=32 height=32></td>
- </tr>
- </table></center>
- </td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement