if (isset($user) && $webbrowser == true)
{
?><script>
function show()
{
$.ajax({
url: "/ajax/frend.ajax.php",
cache: false,
success: function(html){
$("#frends").html(html);
}
});
}
$(document).ready(function(){
show();
setInterval('show()',10000);
});
</script><div style="position:fixed; left: 10px; bottom:15px;" id="frends"></div><?
}
В HEAD ЧТО БЫ РОБИЛО
{
?><script>
function show()
{
$.ajax({
url: "/ajax/frend.ajax.php",
cache: false,
success: function(html){
$("#frends").html(html);
}
});
}
$(document).ready(function(){
show();
setInterval('show()',10000);
});
</script><div style="position:fixed; left: 10px; bottom:15px;" id="frends"></div><?
}
В HEAD ЧТО БЫ РОБИЛО