with (window.frames['voc_rooms'].document) {
open("text/html", "");
write('<html><head><title>UserList</title>\n');
write('<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">\n');
write('<link rel="STYLESHEET" type="text/css" href="<?php echo $current_design?>style.css">\n');
write('</head><body bgcolor="#f1f1f1" text="#000000" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>\n');
write('<style>td { font-family: Verdana, Arial; font-size: 11px;}</style>\n');
write('<table width="100%" border="0" cellspacing="0" cellpadding="0">\n');
writeln('<form method="get" action="<?php echo $chat_url;?>who.php" target="voc_who"><tr><td align="center"');
if (photos == 1) {
writeln('<input type="hidden" name="photoss" value="yes">');
}
else {
writeln('<input type="hidden" name="photoss" value="no">');
}
writeln('<input type="hidden" name="session" value="<?php echo $session;?>">');
writeln('<b><?php echo $w_your_status;?>:</b><br><select name="update_status" class="input_button">');
write('<option value="<?php echo ONLINE;?>"');
if (<?php echo ONLINE;?> == user_status) write(' selected');
writeln('><?php echo $w_user_status[ONLINE];?></option>');
write('<option value="<?php echo AWAY;?>"');
if (<?php echo AWAY;?> == user_status) write(' selected');
writeln('><?php echo $w_user_status[AWAY];?></option>');
write('<option value="<?php echo NA;?>"');
if (<?php echo NA;?> == user_status) write(' selected');
writeln('><?php echo $w_user_status[NA];?></option>');
write('<option value="<?php echo DND;?>"');
if (<?php echo DND;?> == user_status) write(' selected');
writeln('><?php echo $w_user_status[DND];?></option>');
writeln('</select>');
writeln('<input type="submit" value="OK" class="input_button">');
writeln('</td></tr></form>');
// Invisibility
if(voc_powers == 1) {
writeln('<form method="get" action="<?php echo $chat_url;?>who.php" target="voc_who"><tr><td align="center" colspan="2">');
if (photos == 1) {
writeln('<input type="hidden" name="photoss" value="yes">');
}
else {
writeln('<input type="hidden" name="photoss" value="no">');
}
writeln('<input type="hidden" name="session" value="<?php echo $session;?>">');
writeln('<?php echo $w_invisibility; ?>: <select name="update_invis" class="input_button">');
write('<option value=1');
if (voc_invis == 1) write(' selected');
writeln('><?php echo $w_favor_yes; ?></option>');
write('<option value=0');
if (voc_invis == 0) write(' selected');
writeln('><?php echo $w_favor_no; ?></option>');
writeln('</select>');
writeln('<input type="submit" value="OK" class="input_button">');
writeln('</td></tr></form>');
}
write('</table></body></html>');
close();
}
}
// End of userlist manipulation