Автор Сообщение
Amro    
if ($usr['id'] < 1)
{
    $moremetas .= <script type=\"text/javascript\">
           addLoadEvent(sedjs.sedtabs({c:"sedtabs2", e:"click", s:"selected", d:0, f:false })); //первый таб
      </script>";
}
else {
    $moremetas .= <script type=\"text/javascript\">
           addLoadEvent(sedjs.sedtabs({c:"sedtabs2", e:"click", s:"selected", d:1, f:false })); //второй таб
      </script>";
}

 

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!


отредактировал(а) Amro: 12-11-14 21:14 GMT
Antony    

в итоге получилось как-то так

if ($usr['id'] < 1)
{
$morejavascript .= "
	var test = function(){sedjs.sedtabs({c:'indextabs', e:'click', s:'selected', d:0, f:false })}; addLoadEvent(test);"; //первый таб
}
else {
$morejavascript .= "
	var test = function(){sedjs.sedtabs({c:'indextabs', e:'click', s:'selected', d:1, f:false })}; addLoadEvent(test);"; //второй таб
}

 

Welcome to mother Russia: Putin, medvedi, matrioshka, balalayka, okhuenno!

scottheflin589    

Random Google results can occasionally lead to great blogs like this. You are performing a good job, and we share a lot of opinions. I also ended up on this website called https://www.wilmingtonsiding.com after searching for the high quality sidings for my house.

fritzsara5225    

Write more, that's all I have to say. Literally, it seems as though you relied on the video to make your point. You clearly know what youre talking about, why throw away your intelligence on just posting videos to your site when you could be giving us something enlightening to read? https://bouncehouseknoxvilletn.com