Forum gratuit: forum de suport al utilizatorilor Forumgratuit
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

script care redirectioneaza spre un link

Vezi subiectul anterior Vezi subiectul urmator In jos

Rezolvat script care redirectioneaza spre un link

Mesaj Scris de FilipGFX Sam Dec 28, 2019 9:07 pm

as vrea si eu cand apas pe buttonul "Conectare" si "Inregistrare" sa ma redirectioneze spre un link "ex: /login?connexion".
script care redirectioneaza spre un link I8Q3ejE

folosesc tema gamesource si cand dau pe acele butoane imi apare asa:

https://imgur.com/a/WSL5wJY

overall_header



Cod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
 <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
 <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
 <meta http-equiv="content-script-type" content="text/javascript" />
 <meta http-equiv="content-style-type" content="text/css" />
 <!-- BEGIN switch_compat_meta -->
 <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
 <!-- END switch_compat_meta -->
 <!-- BEGIN switch_canonical_url -->
 <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
 <!-- END switch_canonical_url -->
 {META_FAVICO}
 {META}
 {META_FB_LIKE}
 <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
 {T_HEAD_STYLESHEET}
 {CSS}
<link href="https://fonts.googleapis.com/css?family=Teko:400,500,600,700" rel="stylesheet">
     <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
        <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
       <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
      <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
          <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
    <link href='https://fonts.googleapis.com/css?family=Play' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
    <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
   <ink rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
     <script type="text/javascript" src="https://illiweb.com/rs3/34/frm/jquery/notif/FA.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Exo|Exo+2" rel="stylesheet">
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
 <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
 <script src="{JQUERY_PATH}" type="text/javascript"></script>
    <!-- BEGIN switch_recent_jquery -->
    <script src="{JS_DIR}jquery1.9/jquery-migrate-1.4.1.js" type="text/javascript"></script>
    <script src="{JQUERY_DIR}browser/v1.0/jquery.browser.min.js" type="text/javascript"></script>
    <script src="{JQUERY_DIR}support/jquery.support.js" type="text/javascript"></script>
    <!-- END switch_recent_jquery -->
 <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
    {RICH_SNIPPET_GOOGLE}

 <!-- BEGIN switch_fb_login -->
 <script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
 <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
 <!-- END switch_fb_login -->

 <!-- BEGIN switch_ticker -->
 <link type="text/css" rel="stylesheet" href="{JQUERY_DIR}ticker/ticker.css" />
 <script src="{JQUERY_DIR}ticker/ticker.js" type="text/javascript"></script>
 <!-- END switch_ticker -->

 <!-- BEGIN switch_ticker_new -->
 <script src="{JQUERY_DIR}jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
 <script type="text/javascript">//<![CDATA[
 /* Definir le sens de direction en fonction du panneau admin */
 var tickerDirParam = "{switch_ticker.DIRECTION}";
 var slid_vert = false;
 var auto_dir = 'next';
 var h_perso = parseInt({switch_ticker.HEIGHT});

 switch( tickerDirParam )
 {
 case 'top' :
 slid_vert = true;
 break;

 case 'left':
 break;

 case 'bottom':
 slid_vert = true;
 auto_dir = 'prev';
 break;

 case 'right':
 auto_dir = 'prev';
 break;

 default:
 slid_vert = true;
 }

 $(document).ready(function() {

 var width_max = $('ul#fa_ticker_content').width();
 var width_item = Math.floor(width_max / {switch_ticker.SIZE});

 if (width_max > 0)
 {
 $('#fa_ticker_content').css('display','block');

 $('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
 if ($(this).width() > width_item)
 {
 var ratio = $(this).width() / width_item;
 var new_height = Math.round($(this).height() / ratio);
 $(this).height(new_height).width(width_item);
 }
 });

 if (slid_vert)
 {
 var height_max = h_perso;

 $('ul#fa_ticker_content li').each( function () {
 if ($(this).height() > height_max)
 {
 height_max = $(this).height();
 }
 } );

 $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
 $('ul#fa_ticker_content li').height(height_max);
 }

 $('#fa_ticker_content').jcarousel({
 vertical: slid_vert,
 wrap: 'circular',
 auto: {switch_ticker.STOP_TIME},
 auto_direction: auto_dir,
 scroll: 1,
 size: {switch_ticker.SIZE},
 height_max: height_max,
 animation: {switch_ticker.SPEED}
 });
 }
 else
 {
 $('ul#fa_ticker_content li:not(:first)').css('display','none');
 $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
 }
 });
 //]]>
 </script>
 <!-- END switch_ticker_new -->

 <script type="text/javascript">
 //<![CDATA[
 jQuery().ready(function(){
 <!-- BEGIN switch_enable_pm_popup -->
 pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
 if(pm != null) { pm.focus(); }
 <!-- END switch_enable_pm_popup -->
 <!-- BEGIN switch_report_popup -->
 report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
 if(report != null) { report.focus(); }
 <!-- END switch_report_popup -->
 <!-- BEGIN switch_ticker -->
 $(window).load(function() {
 Ticker.start({
 height : {switch_ticker.HEIGHT},
 spacing : {switch_ticker.SPACING},
 speed : {switch_ticker.SPEED},
 direction : '{switch_ticker.DIRECTION}',
 pause : {switch_ticker.STOP_TIME}
 });
 });
 <!-- END switch_ticker -->
 });

 <!-- BEGIN switch_login_popup -->
 var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
 <!-- END switch_login_popup -->

 <!-- BEGIN switch_login_popup -->
 $(document).ready( function() {
 $(window).resize(function() {
 var windowWidth = document.documentElement.clientWidth;
 var popupWidth = $("#login_popup").width();
 var mypopup = $("#login_popup");

 $("#login_popup").css({
 "left": windowWidth/2 - popupWidth/2
 });
 });
 });
 <!-- END switch_login_popup -->
 //]]>
 </script>
 {GREETING_POPUP}
 <!-- BEGIN switch_ticker_new -->
 <style>
 .jcarousel-skin-tango .jcarousel-item {
 text-align:center;
 width: 10px;
 }

 .jcarousel-skin-tango .jcarousel-item-horizontal {
 margin-right: {switch_ticker.SPACING}px;
 }

 .jcarousel-skin-tango .jcarousel-item-vertical {
 margin-bottom: {switch_ticker.SPACING}px;
 }
 </style>
 <!-- END switch_ticker_new -->
 {HOSTING_JS}
    <!-- BEGIN google_analytics_code -->
    <script type="text/javascript">
        //<![CDATA[
        var _gaq = _gaq || [];
        _gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
        _gaq.push(["_trackPageview"]);
        _gaq.push(['_trackPageLoadTime']);

        <!-- BEGIN google_analytics_code_bis -->
        _gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
        _gaq.push(['b._trackPageview']);
        <!-- END google_analytics_code_bis -->

        (function() {
            var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
            ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
            var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
        })();
        //]]>
    </script>
    <!-- END google_analytics_code -->
</head>

<body>


 <!-- BEGIN switch_login_popup -->
 <div id="login_popup" class="module main" style="z-index: 10000 !important;">
 <div id="login_popup_title" class="main-head">
 <div class="h3">{SITENAME}</div>
 </div>
 <div class="main-content">
 {LOGIN_POPUP_MSG}
 <div id="login_popup_buttons">
 <form action="{S_LOGIN_ACTION}" method="get">
 <input type="submit" class="button2" value="{L_LOGIN}" />
 <input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
 <input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
 </form>
 </div>
 </div>
 </div>
 <!-- END switch_login_popup -->

 <a id="top" name="top" accesskey="t"></a>

  
  
<table class="headerbar" width="100%" border="0" cellpading="0" cellspacing="0">
    <tr>

      <td>
       <div id="pun-intro" class="clearfix">
   <a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" />
           <!-- BEGIN switch_desc -->
 <!-- END switch_desc -->
          </a>

 

 
 </div>
          <!-- BEGIN switch_user_logged_in -->
        <div class="pro" style="float: right">
            <a href="/profile?mode=editprofile" class="pro2">Profil</a>
  <a href="#" class="pro2" onclick="showhide(document.getElementById('notif_menu')); return false;"><span count-id="0"></span> Notificari</a>
  <div id="notif_menu" class="pro2" style="display:none;z-index:10000"><h4><left>Notifications</left> <right><a href="#">Marchează-le pe toate ca citite</a></right></h4><ul><li class="clearfix _noNotif">No notifications</li></ul><span class="notif_footer"><a href="#">Afişează-le pe toate</a></span></div>
 
        <a href="/privmsg?folder=inbox" class="inbox">{PRIVATE_MESSAGE_INFO}</a>
            <a href="/login?logout" class="pro2">                 Deconectare</a>
        </div>
          <!-- END switch_user_logged_in -->
      </td>
      </tr>
  <tr>
    <th align="left" style="text-align: left!important">

    <button class="w3-bar-item w3-button tablink w3-red" onclick="openCity(event,'whos')"><i class="fa fa-paper-plane"></i>Navigare</button>
    <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'activity')"><i class="fa fa-reorder"></i>Activitate</button>
    <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'suport')"><i class="fa fa-life-ring"></i>Suport</button>
         <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'download')"><i class="fa fa-tasks"></i>Proiecte</button>
    <div class="cautaree">
      <form action="/search" method="get">
      <input type="hidden" name="mode" value="searchbox">
     <input type="text" class="inputbox medium" name="search_keywords">
       <input type="hidden" name="tt" value="1">
         <input type="submit" class="button1" value="cautare"><input id="rposts" type="radio" name="show_results" value="posts">
           <label for="rposts">Mesaje</label>
           <input id="rtopics" type="radio" name="show_results" value="topics" checked="checked">
             <label for="rtopics">Subiecte</label>
        </form>
           </div>
      <!-- BEGIN switch_user_logged_out -->
      <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'login')"><i class="fa fa-key"></i>Conectare</button>
      <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'register')"><i class="fa fa-save"></i>Înregistrare</button>
   <!-- END switch_user_logged_out -->
 </th>
  </tr>
  <tr>
    <td>
<div id="whos" class="w3-container w3-border city">

  <a class="mainmenu" href="/" >Forum</a>
  <a class="mainmenu" href="/calendar" >Galerie</a>
    <a class="mainmenu" href="/faq" >Intrebari frecvente</a>
 <a class="mainmenu" href="/groups" >Grupuri</a>
</div>
      
  
  
<div id="activity" class="w3-container w3-border city" style="display:none">
<!-- BEGIN switch_user_logged_in -->
<div style="float: right"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
 <a href="{U_SEARCH_SELF}">Posturile mele</a>
 <a href="{U_MARK_READ}">Marcheaza tot ca citit</a>
  </div>
 <p>{LOGGED_AS}</p>
 <p>{LAST_VISIT_DATE}</p>  
 <p>Ai {.USER_POST} posturi pe forum</p>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->

  <p>{L_NOT_CONNECTED}  <div style="padding: 0px 6px!important"> </div>{L_LOGIN_REGISTER}</p>

<!-- END switch_user_logged_out -->

  </div>  
<div id="suport" class="w3-container w3-border city" style="display:none">

  <a href="/f6-support-forumgratuit">ForumGratuit</a>
    <a href="/f4-tehnologie">Tehnologie</a>
   <a href="/f93-gaming">Gaming</a>
  <a href="/f44-tutoriale">PhotoShop</a>
    
</div>
<!-- BEGIN switch_user_logged_out -->
      <div id="login" class="w3-container w3-border city" style="display:none">


<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
 
              
<label><span class="genmed">{L_USERNAME}:</span> <input class="" type="text" size="10" name="username" /></label> &nbsp;
<label><span class="genmed">{L_PASSWORD}:</span> <input class="" type="password" size="10" name="password"/></label> &nbsp;
 <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption" id="register_link" type="submit" name="login" value="{L_LOGIN}" />
 
 
 </form>

      </div>
            <div id="register" class="w3-container w3-border city" style="display:none">
// Simulate a mouse click:
              window.location.href = "/register";
// Simulate an HTTP redirect:
              window.location.replace("/register");
 
 
 </form>

      </div>
      <!-- END switch_user_logged_out -->
    
    
    
          <div id="download" class="w3-container w3-border city" style="display:none">
            <p> <a href="#">Counter-Strike 1.6 KIT</a> </p>
            <p> <a href="#">Oficial Radio Evict</a> </p>
            <p> <a href="#servere">Servere Oficiale</a> </p>
      </div>
    </td>
  </tr>


</table>
  

<script>
function openCity(evt, cityName) {
  var i, x, tablinks;
  x = document.getElementsByClassName("city");
  for (i = 0; i < x.length; i++) {
      x[i].style.display = "none";
  }
  tablinks = document.getElementsByClassName("tablink");
  for (i = 0; i < x.length; i++) {
      tablinks[i].className = tablinks[i].className.replace(" w3-red", "");
  }
  document.getElementById(cityName).style.display = "block";
  evt.currentTarget.className += " w3-red";
}
</script>
 <div class="minwidth_IE">
 <div class="layout_IE">
 <div class="container_IE">
 <div class="pun">
 
 

 <!-- BEGIN switch_ticker_new -->
 <div id="fa_ticker_block" style="padding-top:4px;">
 <div class="module main">
 <div class="main-content clearfix">
 <div id="fa_ticker_container">
 <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
 <!-- BEGIN ticker_row -->
 <li>{switch_ticker.ticker_row.ELEMENT}</li>
 <!-- END ticker_row -->
 </ul>
 </div>
 </div>
 </div>
 </div>
 <!-- END switch_ticker_new -->

 <!-- BEGIN switch_ticker -->
 <div id="fa_ticker_block" style="padding-top:4px;">
 <div class="module main">
 <div class="main-content clearfix">
 <div id="fa_ticker_container">
 <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
 <div class="fa_ticker_content">
 <!-- BEGIN ticker_row -->
 <div>{switch_ticker.ticker_row.ELEMENT}</div>
 <!-- END ticker_row -->
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 <!-- END switch_ticker -->

 <div id="page-body">
 <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
 <div id="outer-wrapper">
 <div id="wrapper">
 <div id="container">
 <div id="content">
 <div id="{ID_LEFT}">
 <!-- BEGIN giefmod_index1 -->
 {giefmod_index1.MODVAR}
 <!-- BEGIN saut -->
 <div style="height:{SPACE_ROW}px"></div>
 <!-- END saut -->
 <!-- END giefmod_index1 -->
 </div>
 <div id="main">
 <div id="main-content">

<!-- BEGIN html_validation -->
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
</body>
</html>
<!-- END html_validation -->
  
  <style>
@import url('https://fonts.googleapis.com/css?family=Exo|Exo+2');
@import url('https://fonts.googleapis.com/css?family=Teko:400,500,600,700');

</style>


Ultima editare efectuata de catre DauUna™ in Sam Dec 28, 2019 11:19 pm, editata de 1 ori
FilipGFX

FilipGFX
Membru Forumgratuit

Mesaje : 170
Varsta : 18
Localizare : Romania
Data înscrierii : 18/12/2016
Mulțumiri : 2
Opera punBB

https://tesloianu.forumgratuit.ro
FilipGFX a fost mulțumit de autorul acestui subiect.

Rezolvat Re: script care redirectioneaza spre un link

Mesaj Scris de Ionut2019 Sam Dec 28, 2019 9:34 pm

Cod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
 <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
 <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
 <meta http-equiv="content-script-type" content="text/javascript" />
 <meta http-equiv="content-style-type" content="text/css" />
 <!-- BEGIN switch_compat_meta -->
 <meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
 <!-- END switch_compat_meta -->
 <!-- BEGIN switch_canonical_url -->
 <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
 <!-- END switch_canonical_url -->
 {META_FAVICO}
 {META}
 {META_FB_LIKE}
 <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
 {T_HEAD_STYLESHEET}
 {CSS}
<link href="https://fonts.googleapis.com/css?family=Teko:400,500,600,700" rel="stylesheet">
    <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
        <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
      <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
      <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
          <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
    <link href='https://fonts.googleapis.com/css?family=Play' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
    <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
  <ink rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <script type="text/javascript" src="https://illiweb.com/rs3/34/frm/jquery/notif/FA.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Exo|Exo+2" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
 <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
 <script src="{JQUERY_PATH}" type="text/javascript"></script>
    <!-- BEGIN switch_recent_jquery -->
    <script src="{JS_DIR}jquery1.9/jquery-migrate-1.4.1.js" type="text/javascript"></script>
    <script src="{JQUERY_DIR}browser/v1.0/jquery.browser.min.js" type="text/javascript"></script>
    <script src="{JQUERY_DIR}support/jquery.support.js" type="text/javascript"></script>
    <!-- END switch_recent_jquery -->
 <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
    {RICH_SNIPPET_GOOGLE}

 <!-- BEGIN switch_fb_login -->
 <script src="https://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
 <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
 <!-- END switch_fb_login -->

 <!-- BEGIN switch_ticker -->
 <link type="text/css" rel="stylesheet" href="{JQUERY_DIR}ticker/ticker.css" />
 <script src="{JQUERY_DIR}ticker/ticker.js" type="text/javascript"></script>
 <!-- END switch_ticker -->

 <!-- BEGIN switch_ticker_new -->
 <script src="{JQUERY_DIR}jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
 <script type="text/javascript">//<![CDATA[
 /* Definir le sens de direction en fonction du panneau admin */
 var tickerDirParam = "{switch_ticker.DIRECTION}";
 var slid_vert = false;
 var auto_dir = 'next';
 var h_perso = parseInt({switch_ticker.HEIGHT});

 switch( tickerDirParam )
 {
 case 'top' :
 slid_vert = true;
 break;

 case 'left':
 break;

 case 'bottom':
 slid_vert = true;
 auto_dir = 'prev';
 break;

 case 'right':
 auto_dir = 'prev';
 break;

 default:
 slid_vert = true;
 }

 $(document).ready(function() {

 var width_max = $('ul#fa_ticker_content').width();
 var width_item = Math.floor(width_max / {switch_ticker.SIZE});

 if (width_max > 0)
 {
 $('#fa_ticker_content').css('display','block');

 $('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
 if ($(this).width() > width_item)
 {
 var ratio = $(this).width() / width_item;
 var new_height = Math.round($(this).height() / ratio);
 $(this).height(new_height).width(width_item);
 }
 });

 if (slid_vert)
 {
 var height_max = h_perso;

 $('ul#fa_ticker_content li').each( function () {
 if ($(this).height() > height_max)
 {
 height_max = $(this).height();
 }
 } );

 $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
 $('ul#fa_ticker_content li').height(height_max);
 }

 $('#fa_ticker_content').jcarousel({
 vertical: slid_vert,
 wrap: 'circular',
 auto: {switch_ticker.STOP_TIME},
 auto_direction: auto_dir,
 scroll: 1,
 size: {switch_ticker.SIZE},
 height_max: height_max,
 animation: {switch_ticker.SPEED}
 });
 }
 else
 {
 $('ul#fa_ticker_content li:not(:first)').css('display','none');
 $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
 }
 });
 //]]>
 </script>
 <!-- END switch_ticker_new -->

 <script type="text/javascript">
 //<![CDATA[
 jQuery().ready(function(){
 <!-- BEGIN switch_enable_pm_popup -->
 pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
 if(pm != null) { pm.focus(); }
 <!-- END switch_enable_pm_popup -->
 <!-- BEGIN switch_report_popup -->
 report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
 if(report != null) { report.focus(); }
 <!-- END switch_report_popup -->
 <!-- BEGIN switch_ticker -->
 $(window).load(function() {
 Ticker.start({
 height : {switch_ticker.HEIGHT},
 spacing : {switch_ticker.SPACING},
 speed : {switch_ticker.SPEED},
 direction : '{switch_ticker.DIRECTION}',
 pause : {switch_ticker.STOP_TIME}
 });
 });
 <!-- END switch_ticker -->
 });

 <!-- BEGIN switch_login_popup -->
 var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
 <!-- END switch_login_popup -->

 <!-- BEGIN switch_login_popup -->
 $(document).ready( function() {
 $(window).resize(function() {
 var windowWidth = document.documentElement.clientWidth;
 var popupWidth = $("#login_popup").width();
 var mypopup = $("#login_popup");

 $("#login_popup").css({
 "left": windowWidth/2 - popupWidth/2
 });
 });
 });
 <!-- END switch_login_popup -->
 //]]>
 </script>
 {GREETING_POPUP}
 <!-- BEGIN switch_ticker_new -->
 <style>
 .jcarousel-skin-tango .jcarousel-item {
 text-align:center;
 width: 10px;
 }

 .jcarousel-skin-tango .jcarousel-item-horizontal {
 margin-right: {switch_ticker.SPACING}px;
 }

 .jcarousel-skin-tango .jcarousel-item-vertical {
 margin-bottom: {switch_ticker.SPACING}px;
 }
 </style>
 <!-- END switch_ticker_new -->
 {HOSTING_JS}
    <!-- BEGIN google_analytics_code -->
    <script type="text/javascript">
        //<![CDATA[
        var _gaq = _gaq || [];
        _gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
        _gaq.push(["_trackPageview"]);
        _gaq.push(['_trackPageLoadTime']);

        <!-- BEGIN google_analytics_code_bis -->
        _gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
        _gaq.push(['b._trackPageview']);
        <!-- END google_analytics_code_bis -->

        (function() {
            var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
            ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
            var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
        })();
        //]]>
    </script>
    <!-- END google_analytics_code -->
</head>

<body>


 <!-- BEGIN switch_login_popup -->
 <div id="login_popup" class="module main" style="z-index: 10000 !important;">
 <div id="login_popup_title" class="main-head">
 <div class="h3">{SITENAME}</div>
 </div>
 <div class="main-content">
 {LOGIN_POPUP_MSG}
 <div id="login_popup_buttons">
 <form action="{S_LOGIN_ACTION}" method="get">
 <input type="submit" class="button2" value="{L_LOGIN}" />
 <input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
 <input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
 </form>
 </div>
 </div>
 </div>
 <!-- END switch_login_popup -->

 <a id="top" name="top" accesskey="t"></a>

 
 
<table class="headerbar" width="100%" border="0" cellpading="0" cellspacing="0">
    <tr>

      <td>
      <div id="pun-intro" class="clearfix">
  <a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" />
          <!-- BEGIN switch_desc -->
 <!-- END switch_desc -->
          </a>

 

 
 </div>
          <!-- BEGIN switch_user_logged_in -->
        <div class="pro" style="float: right">
            <a href="/profile?mode=editprofile" class="pro2">Profil</a>
  <a href="#" class="pro2" onclick="showhide(document.getElementById('notif_menu')); return false;"><span count-id="0"></span> Notificari</a>
  <div id="notif_menu" class="pro2" style="display:none;z-index:10000"><h4><left>Notifications</left> <right><a href="#">Marchează-le pe toate ca citite</a></right></h4><ul><li class="clearfix _noNotif">No notifications</li></ul><span class="notif_footer"><a href="#">Afişează-le pe toate</a></span></div>
 
        <a href="/privmsg?folder=inbox" class="inbox">{PRIVATE_MESSAGE_INFO}</a>
            <a href="/login?logout" class="pro2">                Deconectare</a>
        </div>
          <!-- END switch_user_logged_in -->
      </td>
      </tr>
  <tr>
    <th align="left" style="text-align: left!important">

    <button class="w3-bar-item w3-button tablink w3-red" onclick="openCity(event,'whos')"><i class="fa fa-paper-plane"></i>Navigare</button>
    <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'activity')"><i class="fa fa-reorder"></i>Activitate</button>
    <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'suport')"><i class="fa fa-life-ring"></i>Suport</button>
        <button class="w3-bar-item w3-button tablink" onclick="openCity(event,'download')"><i class="fa fa-tasks"></i>Proiecte</button>
    <div class="cautaree">
      <form action="/search" method="get">
      <input type="hidden" name="mode" value="searchbox">
    <input type="text" class="inputbox medium" name="search_keywords">
      <input type="hidden" name="tt" value="1">
        <input type="submit" class="button1" value="cautare"><input id="rposts" type="radio" name="show_results" value="posts">
          <label for="rposts">Mesaje</label>
          <input id="rtopics" type="radio" name="show_results" value="topics" checked="checked">
            <label for="rtopics">Subiecte</label>
        </form>
          </div>
      <!-- BEGIN switch_user_logged_out -->
      <button class="w3-bar-item w3-button tablink"><i class="fa fa-key"></i><a href="/login" rel="nofollow">Conectare</a></button>
      <button class="w3-bar-item w3-button tablink"><i class="fa fa-save"></i><a href="/register">Înregistrare</a></button>
  <!-- END switch_user_logged_out -->
 </th>
  </tr>
  <tr>
    <td>
<div id="whos" class="w3-container w3-border city">

  <a class="mainmenu" href="/" >Forum</a>
  <a class="mainmenu" href="/calendar" >Galerie</a>
    <a class="mainmenu" href="/faq" >Intrebari frecvente</a>
 <a class="mainmenu" href="/groups" >Grupuri</a>
</div>
   
 
 
<div id="activity" class="w3-container w3-border city" style="display:none">
<!-- BEGIN switch_user_logged_in -->
<div style="float: right"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
 <a href="{U_SEARCH_SELF}">Posturile mele</a>
 <a href="{U_MARK_READ}">Marcheaza tot ca citit</a>
  </div>
 <p>{LOGGED_AS}</p>
 <p>{LAST_VISIT_DATE}</p>
 <p>Ai {.USER_POST} posturi pe forum</p>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->

  <p>{L_NOT_CONNECTED}  <div style="padding: 0px 6px!important"> </div>{L_LOGIN_REGISTER}</p>

<!-- END switch_user_logged_out -->

  </div>
<div id="suport" class="w3-container w3-border city" style="display:none">

  <a href="/f6-support-forumgratuit">ForumGratuit</a>
    <a href="/f4-tehnologie">Tehnologie</a>
  <a href="/f93-gaming">Gaming</a>
  <a href="/f44-tutoriale">PhotoShop</a>
 
</div>
<!-- BEGIN switch_user_logged_out -->
      <div id="login" class="w3-container w3-border city" style="display:none">


<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
 
           
<label><span class="genmed">{L_USERNAME}:</span> <input class="" type="text" size="10" name="username" /></label>  
<label><span class="genmed">{L_PASSWORD}:</span> <input class="" 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> &nbsp;
{S_HIDDEN_FIELDS}<input class="mainoption" id="register_link" type="submit" name="login" value="{L_LOGIN}" />
 
 
 </form>

      </div>
            <div id="register" class="w3-container w3-border city" style="display:none">
// Simulate a mouse click:
              window.location.href = "/register";
// Simulate an HTTP redirect:
              window.location.replace("/register");
 
 
 </form>

      </div>
      <!-- END switch_user_logged_out -->
 
 
 
          <div id="download" class="w3-container w3-border city" style="display:none">
            <p> <a href="#">Counter-Strike 1.6 KIT</a> </p>
            <p> <a href="#">Oficial Radio Evict</a> </p>
            <p> <a href="#servere">Servere Oficiale</a> </p>
      </div>
    </td>
  </tr>


</table>
 

<script>
function openCity(evt, cityName) {
  var i, x, tablinks;
  x = document.getElementsByClassName("city");
  for (i = 0; i < x.length; i++) {
      x[i].style.display = "none";
  }
  tablinks = document.getElementsByClassName("tablink");
  for (i = 0; i < x.length; i++) {
      tablinks[i].className = tablinks[i].className.replace(" w3-red", "");
  }
  document.getElementById(cityName).style.display = "block";
  evt.currentTarget.className += " w3-red";
}
</script>
 <div class="minwidth_IE">
 <div class="layout_IE">
 <div class="container_IE">
 <div class="pun">
 
 

 <!-- BEGIN switch_ticker_new -->
 <div id="fa_ticker_block" style="padding-top:4px;">
 <div class="module main">
 <div class="main-content clearfix">
 <div id="fa_ticker_container">
 <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
 <!-- BEGIN ticker_row -->
 <li>{switch_ticker.ticker_row.ELEMENT}</li>
 <!-- END ticker_row -->
 </ul>
 </div>
 </div>
 </div>
 </div>
 <!-- END switch_ticker_new -->

 <!-- BEGIN switch_ticker -->
 <div id="fa_ticker_block" style="padding-top:4px;">
 <div class="module main">
 <div class="main-content clearfix">
 <div id="fa_ticker_container">
 <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
 <div class="fa_ticker_content">
 <!-- BEGIN ticker_row -->
 <div>{switch_ticker.ticker_row.ELEMENT}</div>
 <!-- END ticker_row -->
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 <!-- END switch_ticker -->

 <div id="page-body">
 <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
 <div id="outer-wrapper">
 <div id="wrapper">
 <div id="container">
 <div id="content">
 <div id="{ID_LEFT}">
 <!-- BEGIN giefmod_index1 -->
 {giefmod_index1.MODVAR}
 <!-- BEGIN saut -->
 <div style="height:{SPACE_ROW}px"></div>
 <!-- END saut -->
 <!-- END giefmod_index1 -->
 </div>
 <div id="main">
 <div id="main-content">

<!-- BEGIN html_validation -->
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
 </div>
</body>
</html>
<!-- END html_validation -->
 
  <style>
@import url('https://fonts.googleapis.com/css?family=Exo|Exo+2');
@import url('https://fonts.googleapis.com/css?family=Teko:400,500,600,700');

</style>
Ionut2019

Ionut2019
Membru nou

Mesaje : 7
Varsta : 24
Data înscrierii : 27/07/2019
Mulțumiri : 0
Google Chrome Invision

http://invisionpower.forumgratuit.ro/
Ionut2019 a fost mulțumit de autorul acestui subiect.

Rezolvat Re: script care redirectioneaza spre un link

Mesaj Scris de FilipGFX Sam Dec 28, 2019 9:46 pm

merge,dar nu mi place ca textul este albastru
script care redirectioneaza spre un link 2Qq4PIM

s-ar putea rezolva in alb ca si celelalte?
FilipGFX

FilipGFX
Membru Forumgratuit

Mesaje : 170
Varsta : 18
Localizare : Romania
Data înscrierii : 18/12/2016
Mulțumiri : 2
Opera punBB

https://tesloianu.forumgratuit.ro
FilipGFX a fost mulțumit de autorul acestui subiect.

Rezolvat Re: script care redirectioneaza spre un link

Mesaj Scris de Mihai Sam Dec 28, 2019 10:59 pm

Încercați acest cod:
Cod:
<button class="w3-bar-item w3-button tablink"><i class="fa fa-key"></i><a href="/login" rel="nofollow"><span style="color:#fff">Conectare</span></a></button>
și acest cod:
Cod:
<button class="w3-bar-item w3-button tablink"><i class="fa fa-save"></i><a href="/register"><span style="color:#fff">Înregistrare</span></a></button>


script care redirectioneaza spre un link Untit104
script care redirectioneaza spre un link KmYIBDv
script care redirectioneaza spre un link Scre1015 script care redirectioneaza spre un link 398 script care redirectioneaza spre un link 2209 script care redirectioneaza spre un link Scre1016 script care redirectioneaza spre un link Portoq16
Mesaje: 22907 ● Utilizatori: 18220 ● Ultimul membru: » Midori «
Mihai

Mihai
Administrator
Administrator

Mesaje : 1478
Varsta : 24
Localizare : București, România
Data înscrierii : 25/09/2014
Mulțumiri : 101
Google Chrome phpBB3

http://fgsuport.forumgratuit.ro
Mihai a fost mulțumit de autorul acestui subiect.

Rezolvat Re: script care redirectioneaza spre un link

Mesaj Scris de FilipGFX Sam Dec 28, 2019 11:19 pm

mersi !
FilipGFX

FilipGFX
Membru Forumgratuit

Mesaje : 170
Varsta : 18
Localizare : Romania
Data înscrierii : 18/12/2016
Mulțumiri : 2
Opera punBB

https://tesloianu.forumgratuit.ro
FilipGFX a fost mulțumit de autorul acestui subiect.

Rezolvat Re: script care redirectioneaza spre un link

Mesaj Scris de Mihai Mier Apr 01, 2020 2:21 am

topic rezolvat


script care redirectioneaza spre un link Untit104
script care redirectioneaza spre un link KmYIBDv
script care redirectioneaza spre un link Scre1015 script care redirectioneaza spre un link 398 script care redirectioneaza spre un link 2209 script care redirectioneaza spre un link Scre1016 script care redirectioneaza spre un link Portoq16
Mesaje: 22907 ● Utilizatori: 18220 ● Ultimul membru: » Midori «
Mihai

Mihai
Administrator
Administrator

Mesaje : 1478
Varsta : 24
Localizare : București, România
Data înscrierii : 25/09/2014
Mulțumiri : 101
Google Chrome phpBB3

http://fgsuport.forumgratuit.ro
Mihai a fost mulțumit de autorul acestui subiect.

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum