Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- table.site {
- position: relative;
- }
- .column_side_td, .column_main_td {
- position: static;
- }
- table[module_id="32755843"] {
- position: absolute !important;
- top: -210px;
- left: 230px;
- width: 200px;
- margin-bottom: -300px;
- }
- table[module_id="32755843"] .modtitle {
- display: none;
- }
- table[module_id="32755843"] .modbody {
- padding: 10px;
- }
- .sitemain tbody tr .sitecol:first-child {
- position: relative;
- }
- .pagewrapper > [class~='site']:last-of-type {
- position: static !important;
- }
- .loggedout_class, .loggedin_class {
- background: transparent !important;
- }
- </style>
- <script>
- $(document).ready(function() {
- var str = $( "tr#module_body_32755843 td.modbody").html();
- if( str.indexOf("Bejelentkezve") != -1){
- $( "tr#module_body_32755843 td.modbody").addClass("loggedin_class");
- }
- else{
- var ujform = '<form class="bejelentkezes" action="./gindex.php" method="post" name="loginform" onsubmit="return CheckLogData()"> \
- <table> \
- <tbody> \
- <tr> \
- <td> \
- <input maxlength="32" name="ln" placeholder="Felhasználónév" type="text" /><br /> \
- <input maxlength="128" name="pw" placeholder="Jelszó" type="password" /> \
- </td> \
- <td> \
- <input type="submit" value="Bejelentkezés" /> \
- <input name="prt" type="Hidden" value="674362" /> \
- <input name="pg" type="Hidden" value="35209140" /> \
- </td> \
- <td> \
- <a class="regGomb" href="#">Regisztráció</a> \
- <a class="lostpwGomb" href="#">Elfelejtett jelszó</a> \
- </td> \
- </tr> \
- </tbody> \
- </table> \
- </form>';
- $( "tr#module_body_32755843 td.modbody").html(ujform).addClass("loggedout_class");
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement