Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
<?php 
2
include "config.php";
3
 
4
if(!isset($name)){$name=0;}
5
 
6
$online=0;
7
$fs=refresh_online($name,1);
8
$online=count($fs);
9
 
10
if($online==0&&$clear_chat==1){
11
save_file($log_file,'',0);}
12
 
13
$frameset=1;
14
include "incl/header.inc";
15
?>
16
<script type="text/javascript">
17
<?php 
18
print "if(document.images){\n";
19
 
20
for($i=0;$i<count($pics);$i++){
21
$entry=explode("|",$pics[$i]);
22
if(isset($entry[4])&&strlen($entry[4])>3){
23
print "pca$i=new Image();pca$i.src='$skin_dir/$entry[0]'\n";
24
print "pcb$i=new Image();pcb$i.src='$skin_dir/$entry[4]'\n";
25
}}
26
for($i=0;$i<count($smilies);$i++){
27
$entry=explode("|",$smilies[$i]);
28
if(isset($entry[1])&&strlen($entry[1])>3){
29
print "smi$i=new Image();smi$i.src='$skin_dir/$entry[1]'\n";
30
}}
31
print "snd=new Image();snd.src='$skin_dir/sound.swf'\n";
32
print "}";?></script></head>
33
<frameset rows="<?php print $fset;?>" border="0">
34
<frame src="top.php" name="a" marginwidth="0" scrolling="no" marginheight="0" frameborder="0" noresize="noresize" />
35
<frame src="<?php if(isset($admin)){print "admin.php?r=$random";}else{print "login.php?r=$random";}?>" name="b" marginwidth="0" scrolling="auto" marginheight="0" frameborder="0" noresize="noresize" />
36
<frame src="bottom.php" name="c" marginwidth="0" scrolling="no" marginheight="0" frameborder="0" noresize="noresize" />
37
</frameset></html>