Script generalitati
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
Re: Script generalitati
Buna ziua,
- Cod:
<div class="welcomeblock clearfix">
<!--start: header_welcomeblock_guest-->
<div class="block_login_form">
<form action="/login" method="post">
<input type="text" class="textbox" name="username" size="25" maxlength="30" value="Utilizator" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value == '') { this.value='Username'; }" /> <input type="password" class="textbox" name="password" size="25" value="Parola" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value == '') { this.value='Password'; }" /> <input type="submit" class="button" name="submit" value="Login" />
<div style="padding:2px 0px;">
<label title="Conectare automata"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" />Conectare automata</label>
</div><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="" />
</form>
</div>
<div class="guest_message">
<span style="font-size:12px;">Bine ai (re)venit, {USERNAME} !</span><br /><span class="smalltext">CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT</span></div>
<!--end: header_welcomeblock_guest-->
</div><style>
.welcomeblock {
background-color: #2a2a2a !important;
color: white !important;
border: 1px solid #1F1E1E!important;
border-radius: 3px;
font-size: 11px;
padding: 5px 10px!important;
text-shadow: 0 1px 0 #000!important;
height: 75px !important;
}
.welcomeblock .block_login_form {
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/av_zpsa7ba7db8.png)!important;
background-position: left center!important;
background-repeat: no-repeat;
background-size: 42px 42px;
border-right: 1px solid #0a0a0a!important;
box-shadow: 1px 0 0 0 rgba(255,255,255,0.110);
padding-bottom: 40px;
padding-left: 55px;
width: 445px;
}
.welcomeblock .guest_message {
padding-left: 56px;
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/warn_zps50b6b913.png);
background-position: left center;
background-size: 42px 42px;
background-repeat: no-repeat;
margin-left: 510px;
overflow-wrap: break-word;
word-wrap: break-word;
float: none;
}
.guest_message {
position: relative;
top: -60px !important;
}
</style>
Re: Script generalitati
Postati va rog template-ul index_body.
Re: Script generalitati
Poftim,
- Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->
<!-- BEGIN message_admin_index -->
<div class="main">
<!-- BEGIN message_admin_titre -->
<div class="main-head">
<h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div id="pun-announcement">
<p>{message_admin_index.message_admin_txt.MES_TXT}</p>
</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<div class="statistici">
<table align="center" border="0" cellpadding="1" cellspacing="10">
<tbody><tr>
<td width="70%" style="border-right: 1px solid #373737; padding-right: 10px;"><div class="whoison-img"><p style="border-bottom: 1px solid #373737; padding: 10px; font-size: 14px; margin-top: -20px;"><img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" /><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></p></div>{TOTAL_USERS_ONLINE}<br/>{LOGGED_IN_USER_LIST}{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}<br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{L_CONNECTED_MEMBERS}</p><br/><p style="padding: 5px; margin-top: 0px;"><div align="center">{LEGEND} : {GROUP_LEGEND}</div></p></td>
<td width="30%"><p style="border-bottom: 1px solid #373737; padding: 5px; font-size: 14px; margin-top: -5px;">Statisticile Forumului</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{TOTAL_POSTS}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{TOTAL_USERS}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{NEWEST_USER}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{RECORD_USERS}</p></td>
</tr>
</tbody></table></div>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
<!-- BEGIN switch_legend -->
<ul id="pun-legend">
<li>
<img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /> {L_NEW_POSTS}
<img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /> {L_NO_NEW_POSTS}
<img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /> {L_FORUM_LOCKED}
</li>
</ul>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
Re: Script generalitati
Inlocuiti template-ul actual cu acesta:
- Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<div class="welcomeblock clearfix">
<!--start: header_welcomeblock_guest-->
<div class="block_login_form">
<form action="/login" method="post">
<input type="text" class="textbox" name="username" size="25" maxlength="30" value="Utilizator" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value == '') { this.value='Username'; }" /> <input type="password" class="textbox" name="password" size="25" value="Parola" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value == '') { this.value='Password'; }" /> <input type="submit" class="button" name="submit" value="Login" />
<div style="padding:2px 0px;">
<label title="Conectare automata"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" />Conectare automata</label>
</div><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="" />
</form>
</div>
<div class="guest_message">
<span style="font-size:12px;">Bine ai (re)venit, {USERNAME} !</span><br /><span class="smalltext">CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT</span></div>
<!--end: header_welcomeblock_guest-->
</div><style>
.welcomeblock {
background-color: #2a2a2a !important;
color: white !important;
border: 1px solid #1F1E1E!important;
border-radius: 3px;
font-size: 11px;
padding: 5px 10px!important;
text-shadow: 0 1px 0 #000!important;
height: 75px !important;
}
.welcomeblock .block_login_form {
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/av_zpsa7ba7db8.png)!important;
background-position: left center!important;
background-repeat: no-repeat;
background-size: 42px 42px;
border-right: 1px solid #0a0a0a!important;
box-shadow: 1px 0 0 0 rgba(255,255,255,0.110);
padding-bottom: 40px;
padding-left: 55px;
width: 445px;
}
.welcomeblock .guest_message {
padding-left: 56px;
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/warn_zps50b6b913.png);
background-position: left center;
background-size: 42px 42px;
background-repeat: no-repeat;
margin-left: 510px;
overflow-wrap: break-word;
word-wrap: break-word;
float: none;
}
.guest_message {
position: relative;
top: -60px !important;
}
</style>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<div class="welcomeblock clearfix">
<!--start: header_welcomeblock_guest-->
<div class="block_login_form">
<form action="/login" method="post">
<input type="text" class="textbox" name="username" size="25" maxlength="30" value="Utilizator" onfocus="if(this.value == 'Username') { this.value=''; }" onblur="if(this.value == '') { this.value='Username'; }" /> <input type="password" class="textbox" name="password" size="25" value="Parola" onfocus="if(this.value == 'Password') { this.value=''; }" onblur="if(this.value == '') { this.value='Password'; }" /> <input type="submit" class="button" name="submit" value="Login" />
<div style="padding:2px 0px;">
<label title="Conectare automata"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" />Conectare automata</label>
</div><input type="hidden" name="action" value="do_login" /><input type="hidden" name="url" value="" />
</form>
</div>
<div class="guest_message">
<span style="font-size:12px;">Bine ai (re)venit, {USERNAME} !</span><br /><span class="smalltext">CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT CONTINUT</span></div>
<!--end: header_welcomeblock_guest-->
</div><style>
.welcomeblock {
background-color: #2a2a2a !important;
color: white !important;
border: 1px solid #1F1E1E!important;
border-radius: 3px;
font-size: 11px;
padding: 5px 10px!important;
text-shadow: 0 1px 0 #000!important;
height: 75px !important;
}
.welcomeblock .block_login_form {
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/av_zpsa7ba7db8.png)!important;
background-position: left center!important;
background-repeat: no-repeat;
background-size: 42px 42px;
border-right: 1px solid #0a0a0a!important;
box-shadow: 1px 0 0 0 rgba(255,255,255,0.110);
padding-bottom: 40px;
padding-left: 55px;
width: 445px;
}
.welcomeblock .guest_message {
padding-left: 56px;
background-image: url(http://i1280.photobucket.com/albums/a484/llg-cstrike/warn_zps50b6b913.png);
background-position: left center;
background-size: 42px 42px;
background-repeat: no-repeat;
margin-left: 510px;
overflow-wrap: break-word;
word-wrap: break-word;
float: none;
}
.guest_message {
position: relative;
top: -60px !important;
}
</style>
<!-- END switch_user_logged_out -->
<!-- BEGIN message_admin_index -->
<div class="main">
<!-- BEGIN message_admin_titre -->
<div class="main-head">
<h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div id="pun-announcement">
<p>{message_admin_index.message_admin_txt.MES_TXT}</p>
</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<div class="statistici">
<table align="center" border="0" cellpadding="1" cellspacing="10">
<tbody><tr>
<td width="70%" style="border-right: 1px solid #373737; padding-right: 10px;"><div class="whoison-img"><p style="border-bottom: 1px solid #373737; padding: 10px; font-size: 14px; margin-top: -20px;"><img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" /><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></p></div>{TOTAL_USERS_ONLINE}<br/>{LOGGED_IN_USER_LIST}{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}<br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{L_CONNECTED_MEMBERS}</p><br/><p style="padding: 5px; margin-top: 0px;"><div align="center">{LEGEND} : {GROUP_LEGEND}</div></p></td>
<td width="30%"><p style="border-bottom: 1px solid #373737; padding: 5px; font-size: 14px; margin-top: -5px;">Statisticile Forumului</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{TOTAL_POSTS}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{TOTAL_USERS}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{NEWEST_USER}</p><br/><p style="border-bottom: 1px solid #373737; padding: 5px; margin-top: -5px;">{RECORD_USERS}</p></td>
</tr>
</tbody></table></div>
<!-- BEGIN switch_chatbox_activate -->
<div id="onlinechat">
<p class="page-bottom">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</p>
</div>
<!-- END switch_chatbox_activate -->
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form main-box center">
<label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>
<label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>
<label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
<!-- BEGIN switch_legend -->
<ul id="pun-legend">
<li>
<img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /> {L_NEW_POSTS}
<img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /> {L_NO_NEW_POSTS}
<img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /> {L_FORUM_LOCKED}
</li>
</ul>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
Re: Script generalitati
Cu placere.
Subiecte similare
» Script generalitati
» Script generalitati
» Script in generalitati
» Cerere script generalitati
» Cerere script generalitati
» Script generalitati
» Script in generalitati
» Cerere script generalitati
» Cerere script generalitati
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