"Panou de administrare" pe o pagina
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 1 • Distribuiţi
"Panou de administrare" pe o pagina
Salut am vajut pe un forum ca cind dai la "Panou de administrare" si se iti apare asa:
Re: "Panou de administrare" pe o pagina
e un cod furat de la mine =))
este o pagina html
Pagina HTML
Codul JS
este o pagina html
Pagina HTML
- Cod:
<html><head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://a31411.demo.invisionpower.com/public/js/3rd_party/scriptaculous/scriptaculous-cache.js?ipbv=4b47b67a421e1e807dd653ccc7cebd72"></script>
<script type="text/javascript" src="http://a31411.demo.invisionpower.com/public/js/ipb.js?ipbv=4b47b67a421e1e807dd653ccc7cebd72&load="></script>
<script type="text/javascript">jQuery(function(d) {
jQuery('#hiddens').load('/ .copyright');
});
</script>
<script type="text/javascript">jQuery(function(d) {
var admincp = jQuery('#hiddens strong a').attr('href');
jQuery('.button[value="Log In"]').click(function(event) {
event.preventDefault();
window.location.assign("/admin/index.forum");
});
});</script>
<script type="text/javascript">jQuery('username').focus();
</script>
<title>D World Oficial: Log in</title></head><body><style>body {
background: #386E9A;
background: -moz-linear-gradient(top, #4A85B5 0%, #205889 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4A85B5), color-stop(100%,#205889));
height: auto !important;
}
#login {
width: 450px;
height: 220px;
background: white;
margin: 10% auto 0 auto;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 0px 0px 12px rgba(0,0,0,0.3);
-webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
position: relative;
padding: 10px;
}
#login_logo {
position: absolute;
top: -45px;
left: 0;
}
#login_controls {
margin: 0 auto;
position: absolute;
width: 100%;
bottom: 100px;
font-size: 16px;
}
#login_submit {
background: #E7EDF2;
border-top: 1px solid #D0DCE6;
padding: 20px 10px;
text-align: center;
position: absolute;
bottom: 0px;
left: 0;
right: 0;
-moz-border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}
#login_controls label {
display: block;
width: 33%;
color: #667078;
float: left;
clear: both;
margin-bottom: 12px;
text-align: right;
padding-right: 15px;
}
#login_controls input {
margin-bottom: 12px;
font-size: 14px;
width: 45%;
}
.textinput, .multitext, .input_text, .ipsTagBox_wrapper {
padding: 4px;
border-width: 1px;
border-style: solid;
border-top-color: #848484;
border-left-color: #C1C1C1;
border-right-color: #C1C1C1;
border-bottom-color: #E1E1E1;
background: white;
-moz-border-radius: 2px;
border-radius: 2px;
width: 350px;
}
#login_controls {
font-size: 16px;
}
#login_controls input {
margin-bottom: 12px;
font-size: 14px;
width: 45%;
}
.textinput, .multitext, .input_text, .ipsTagBox_wrapper {
padding: 4px;
border-width: 1px;
border-style: solid;
border-top-color: #848484;
border-left-color: #C1C1C1;
border-right-color: #C1C1C1;
border-bottom-color: #E1E1E1;
background: white;
-moz-border-radius: 2px;
border-radius: 2px;
width: 350px;
}
input, select, textarea {
font: normal 13px 'Helvetica Neue', helvetica, arial, sans-serif;
}
body {
font: normal 13px 'Helvetica Neue', helvetica, arial, sans-serif;
color: #4C4C4C;
}
.button, .realbutton {
padding: 5px 19px;
border: 0;
background: #363636;
color: white !important;
-moz-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
}</style><div id="hiddens" style="display: none;"></div>
<form action=" '+ admincp +' " method="post"><input type="hidden" name="qstring" id="qstring" value=""><div id="login" class=""><img src="http://a31411.demo.invisionpower.com/admin/skin_cp/images/login_logo.png" id="login_logo"><div id="login_controls"><label for="username">Username</label> <input type="text" size="20" id="username" name="username" value="" class="textinput"> <label for="password">Password</label> <input type="password" size="20" id="password" name="password" value="" class="textinput"></div><div id="login_submit"><input type="submit" class="button" value="Log In"></div></div></form></body></html>
Codul JS
- Cod:
$(function() {
$('.copyright').click(function(event) {
event.preventDefault();
window.open('h1-'); // Link pagina html
});
});
VeteraNNN- Membru activ
- Mesaje : 484
Varsta : 30
Localizare : Undeva in spatele tau !!
Data înscrierii : 28/10/2012
Mulțumiri : 0
Re: "Panou de administrare" pe o pagina
pentru ca e doar pentru phpbb3 adica asa lam test eu si eu il folosesc
PS: in loc de h1- pui linkul pagini tale html
Incearca asa
PS: in loc de h1- pui linkul pagini tale html
Incearca asa
- Cod:
$(function() {
$('.copyright').click(function(event) {
event.preventDefault();
window.open('h4-'); // Link pagina html
});
});
VeteraNNN- Membru activ
- Mesaje : 484
Varsta : 30
Localizare : Undeva in spatele tau !!
Data înscrierii : 28/10/2012
Mulțumiri : 0
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum