Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
<?php 
2
include "config.php";
3
include "incl/header.inc";
4
 
5
$fs=open_file($log_file,1);
6
if(count($fs)>$keep_lines){
7
$store_lines='';
8
for($j=0;$j<$keep_lines;$j++){
9
$store_lines=$store_lines.$fs[$j]."\n";}
10
save_file($log_file,$store_lines,0);}
11
 
12
$online=0;
13
$fs=refresh_online(0,1);
14
$online=count($fs);
15
?>
16
</head><body class="y" onload="document.fms.name.focus()">
17
<form name="fms" action="frameset.php" method="post" target="_parent" onsubmit="<?php if($online>=$users_per_room){print 'document.fms.name.value=\'    \';';}?>if(document.fms.name.value.length<2){document.fms.name.value='';return false}">
18
<table align="center" width="260" class="t" cellpadding="0" cellspacing="0"><tr><td align="right" class="k">
19
<table width="100%" cellpadding="0" cellspacing="0"><tr><td class="f">
20
<table width="100%" cellpadding="8" cellspacing="1"><tr>
21
<td align="left" class="c"><?php print $lang[3];?></td></tr><tr><td align="center" class="a" nowrap="nowrap">
22
<?php print $lang[4];?>:
23
<input type="text" name="name" style="width:130px" maxlength="<?php print $username_length;?>" class="g" value="" />
24
<input type="submit" value=" <?php print $lang[6];?> " class="h" />
25
</td></tr></table></td></tr></table>
26
<?php print $lang[27].':'.$online;?>
27
</td></tr></table></form></body></html>