still removing old static shit
297
gb/index.php
@@ -1,297 +0,0 @@
|
||||
<HTML><HEAD><TITLE>WWW.ROCK.RU - <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
|
||||
<META content="text/html; charset=windows-1251" http-equiv=Content-Type>
|
||||
<META content=no-cache http-equiv=pragma>
|
||||
<META content=no-cache http-equiv=cache-control>
|
||||
<META
|
||||
content="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD>, rock, hard rock, rock'n'roll, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>3, MP3, mp3, AC/DC, Aerosmith, Alice In Chains, Bon Jovi, Faith no more, Gary Moore, Guns 'n' Roses, Iron Maiden, Joe Satriani, Judas Priest, Kiss, Marylin Manson, Megadeth, Metallica, Nirvana, Offspring, Rage Against The Machine, Rammstein, Red Hot Chili Peppers, Scorpions, SoundGarden, Van Halen, ZZ Top"
|
||||
name=keywords>
|
||||
<LINK
|
||||
href="http://www.rock.ru/style.css" rel=STYLESHEET type=TEXT/CSS>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
if( parseInt( navigator.appVersion ) >= 3 ) compat = true;
|
||||
if(compat)
|
||||
{
|
||||
I1 = new Image;
|
||||
I1.src="http://www.rock.ru/IMG/logo1.gif";
|
||||
I1_1 = new Image;
|
||||
I1_1.src="http://www.rock.ru/IMG/logo1s.gif";
|
||||
I2 = new Image;
|
||||
I2.src="http://www.rock.ru/IMG/logo2.gif";
|
||||
I2_2 = new Image;
|
||||
I2_2.src="http://www.rock.ru/IMG/logo2s.gif";
|
||||
I3 = new Image;
|
||||
I3.src="http://www.rock.ru/IMG/logo3.gif";
|
||||
I3_3 = new Image;
|
||||
I3_3.src="http://www.rock.ru/IMG/logo3s.gif";
|
||||
I4 = new Image;
|
||||
I4.src="http://www.rock.ru/IMG/logo4.gif";
|
||||
I4_4 = new Image;
|
||||
I4_4.src="http://www.rock.ru/IMG/logo4s.gif";
|
||||
I5 = new Image;
|
||||
I5.src="http://www.rock.ru/IMG/logo5.gif";
|
||||
I5_5 = new Image;
|
||||
I5_5.src="http://www.rock.ru/IMG/logo5s.gif";
|
||||
I6 = new Image;
|
||||
I6.src="http://www.rock.ru/IMG/logo6.gif";
|
||||
I6_6 = new Image;
|
||||
I6_6.src="http://www.rock.ru/IMG/logo6s.gif";
|
||||
I7 = new Image;
|
||||
I7.src="http://www.rock.ru/IMG/logo7.gif";
|
||||
I7_7 = new Image;
|
||||
I7_7.src="http://www.rock.ru/IMG/logo7s.gif";
|
||||
|
||||
}
|
||||
function SetImg(Name,Img)
|
||||
{
|
||||
if(compat)
|
||||
{
|
||||
document.images[Name].src=eval(Img+'.src');
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
|
||||
<BODY bgColor=#000000 onload=" " onmouseover="">
|
||||
<table align=center border=0 cellspacing=0 cellpadding=0 width=700>
|
||||
<tr>
|
||||
<td><IMG SRC="/IMG/logotop.gif" WIDTH="700" HEIGHT="88" BORDER="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><table border=0 cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td><A HREF="http://www.rock.ru/index.php" ONMOUSEOVER="SetImg('logo1','I1_1')" ONMOUSEOUT="SetImg('logo1','I1')"><IMG SRC="/IMG/logo1.gif" ALT="<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WIDTH="94" HEIGHT="28" BORDER="0" name="logo1"></a></td>
|
||||
<td><A HREF="http://www.rock.ru/about.html" ONMOUSEOVER="SetImg('logo2','I2_2')" ONMOUSEOUT="SetImg('logo2','I2')"><IMG SRC="/IMG/logo2.gif" ALT="<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>" WIDTH="85" HEIGHT="28" BORDER="0" name="logo2"></a></td>
|
||||
<td><A HREF="http://www.rock.ru/autors.html" ONMOUSEOVER="SetImg('logo3','I3_3')" ONMOUSEOUT="SetImg('logo3','I3')"><IMG SRC="/IMG/logo3.gif" ALT="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" WIDTH="87" HEIGHT="28" BORDER="0" name="logo3"></a></td>
|
||||
<td><A HREF="http://www.rock.ru/mail.html" ONMOUSEOVER="SetImg('logo4','I4_4')" ONMOUSEOUT="SetImg('logo4','I4')"><IMG SRC="/IMG/logo4.gif" ALT="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>" WIDTH="73" HEIGHT="28" BORDER="0" name="logo4"></a></td>
|
||||
<td><A HREF="http://www.rock.ru/cgi-bin/ikonboard/ikonboard.cgi" ONMOUSEOVER="SetImg('logo5','I5_5')" ONMOUSEOUT="SetImg('logo5','I5')"><IMG SRC="/IMG/logo5.gif" ALT="<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>" WIDTH="79" HEIGHT="28" BORDER="0" name="logo5"></a></td>
|
||||
<td><A HREF="http://www.rock.ru/rockchat.html" ONMOUSEOVER="SetImg('logo6','I6_6')" ONMOUSEOUT="SetImg('logo6','I6')"><IMG SRC="/IMG/logo6.gif" ALT="<EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD>" WIDTH="48" HEIGHT="28" BORDER="0" name="logo6"></td>
|
||||
<td><A HREF="http://www.rock.ru/gb/index.php" ONMOUSEOVER="SetImg('logo7','I7_7')" ONMOUSEOUT="SetImg('logo7','I7')"><IMG SRC="/IMG/logo7.gif" ALT="<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>" WIDTH="98" HEIGHT="28" BORDER="0" name="logo7"></td>
|
||||
<td><IMG SRC="/IMG/logoright.gif" WIDTH="136" HEIGHT="28" BORDER="0"></td></tr>
|
||||
</table></td></tr>
|
||||
<tr>
|
||||
<td><IMG SRC="/IMG/linetop.gif" WIDTH="700" HEIGHT="18" BORDER="0"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><table align=left border=0 cellspacing=0 cellpadding=0 WIDTH="151">
|
||||
<tr>
|
||||
<td background="/IMG/bgleftmenu.gif" width=151 vAlign=top>
|
||||
<TABLE background="/IMG/hand.gif" border=0 height=100% cellPadding=0 cellSpacing=0 width=151>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD class=menuheader height=20><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >>> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/news.shtml';"
|
||||
onmouseout="background='/IMG/1.gif'"
|
||||
onmouseover="background='/IMG/1s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/news.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A>
|
||||
</TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/afisha.shtml';"
|
||||
onmouseout="background='/IMG/2.gif'"
|
||||
onmouseover="background='/IMG/2s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/afisha.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/interviews.shtml';"
|
||||
onmouseout="background='/IMG/3.gif'"
|
||||
onmouseover="background='/IMG/3s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/interviews.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/reviews.shtml';"
|
||||
onmouseout="background='/IMG/4.gif'"
|
||||
onmouseover="background='/IMG/4s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/reviews.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/articles.shtml';"
|
||||
onmouseout="background='/IMG/5.gif'"
|
||||
onmouseover="background='/IMG/5s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/articles.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/distribution.shtml';"
|
||||
onmouseout="background='/IMG/6.gif'"
|
||||
onmouseover="background='/IMG/6s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/distribution.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/concerts.shtml';"
|
||||
onmouseout="background='/IMG/7.gif'"
|
||||
onmouseover="background='/IMG/7s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/concerts.shtml"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menuheader height=20><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >>> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/legends.html';"
|
||||
onmouseout="background='/IMG/9.gif'"
|
||||
onmouseover="background='/IMG/9s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/legends.html"><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD></A>
|
||||
</TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/hard.html';"
|
||||
onmouseout="background='/IMG/10.gif'"
|
||||
onmouseover="background='/IMG/10s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/hard.html"><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/rusrock.html';"
|
||||
onmouseout="background='/IMG/11.gif'"
|
||||
onmouseover="background='/IMG/11s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/rusrock.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD></A>
|
||||
</TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/mp3.html';"
|
||||
onmouseout="background='/IMG/12.gif'"
|
||||
onmouseover="background='/IMG/12s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/mp3.html">MP3 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/younggrups.html';"
|
||||
onmouseout="background='/IMG/13.gif'"
|
||||
onmouseover="background='/IMG/13s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/younggrups.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menuheader height=20><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >>> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/links.html';"
|
||||
onmouseout="background='/IMG/15.gif'"
|
||||
onmouseover="background='/IMG/15s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/links.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/cgi-bin/topsites/topsites.cgi';"
|
||||
onmouseout="background='/IMG/16.gif'"
|
||||
onmouseover="background='/IMG/16s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/cgi-bin/topsites/topsites.cgi"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/funny.html';"
|
||||
onmouseout="background='/IMG/16.gif'"
|
||||
onmouseover="background='/IMG/16s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/funny.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/webmasters.html';"
|
||||
onmouseout="background='/IMG/18.gif'"
|
||||
onmouseover="background='/IMG/18s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/webmasters.html"><EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A>
|
||||
</TD></A></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.open('http://www.pleer.ru/'); return false;"
|
||||
onmouseout="background='/IMG/19.gif'"
|
||||
onmouseover="background='/IMG/19s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.pleer.ru/" target=_blank>Mp3-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>)</A></TD></TR>
|
||||
<TR>
|
||||
<TD class=menuheader height=20><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >>> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/mail.html';"
|
||||
onmouseout="background='/IMG/22.gif'"
|
||||
onmouseover="background='/IMG/22s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/mail.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.sinor.ru/~rock/cgi-bin/ikonboard/ikonboard.cgi';"
|
||||
onmouseout="background='/IMG/23.gif'"
|
||||
onmouseover="background='/IMG/23s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/cgi-bin/ikonboard/ikonboard.cgi"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onmouseout="background='/IMG/23.gif'"
|
||||
onmouseover="background='/IMG/23s.gif'"> <A class=menulink
|
||||
href="http://www.rock.ru/rockchat.html"><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD class=menucell height=20
|
||||
onclick="window.location='http://www.rock.ru/gb/index.php';"
|
||||
onmouseout="background='/IMG/23.gif'"
|
||||
onmouseover="background='/IMG/23s.gif'"
|
||||
style="CURSOR: hand"> <A class=menulink
|
||||
href="http://www.rock.ru/gb/index.php"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A> </TD></TR>
|
||||
<TR>
|
||||
<TD vAlign=top class=menucellmiddle height=100 background="IMG/bgleftmenu.gif">
|
||||
<!--begin of Top100-->
|
||||
<a href="http://top100.rambler.ru/top100/">
|
||||
<img src="http://counter.rambler.ru/top100.cnt?259915"
|
||||
alt="Rambler's Top100" width=1 height=1 border=0></a>
|
||||
<!--end of Top100 code-->
|
||||
<Center> <!--begin of Top100 logo-->
|
||||
<a href="http://top100.rambler.ru/top100/">
|
||||
<img src="http://top100-images.rambler.ru/top100/banner-88x31-rambler-black2.gif"
|
||||
alt="Rambler's Top100" width=88 height=31 border=0></a>
|
||||
<!--end of Top100 logo --><br>
|
||||
<a href=http://musiccounter.ru >
|
||||
<img src=http://musiccounter.ru/hit.pl?id=3501&style=3 height=40 width=88
|
||||
border=0></a>
|
||||
</center></TD></TR>
|
||||
<TR>
|
||||
<TD class=menucelldown height=100% background="/IMG/bgleftmenu.gif">
|
||||
</TD></TR>
|
||||
</TBODY></TABLE></td>
|
||||
<td bgcolor=#404040>
|
||||
<table border=0 width=540 height=100%>
|
||||
<tr>
|
||||
<td vAlign=top> <DIV align=left>
|
||||
<TABLE align=center border=0 cellPadding=0 cellSpacing=0
|
||||
width="95%">
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD>
|
||||
<br>
|
||||
|
||||
<font color=#ffffff><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.</font>
|
||||
|
||||
<FONT class=text>
|
||||
<P><hr size=1 color=black>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD> <A HREF="mailto:rock@rock.ru"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></A>
|
||||
<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>.
|
||||
|
||||
<P ALIGN="right"><strong>Old Rocker</srtong></P>
|
||||
</FONT>
|
||||
<BR></DIV></TD></TR></TBODY></TABLE>
|
||||
</DIV></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td bgcolor=#1F1F1F width=9><table border=0 width=9><tr><td></td></tr></table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<center><B><FONT FACE="Verdana" SIZE=-2 COLOR="#B4B4B4">Copyright © 2001-2002.<br>
|
||||
<EFBFBD><EFBFBD><EFBFBD>-<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <A HREF="http://rocklive.by.ru">Rozanov Oleg</A>(Old Rocker)</FONT>
|
||||
</B></center>
|
||||
<P ALIGN="Center"><FONT class=text2><B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></B></FONT><br>
|
||||
<a href=http://musicclub.ru/bx/click.cgi?id=260?pg=0011001001 target=_top>
|
||||
<img src=http://musicclub.ru/bx/banner.cgi?id=260?pg=0011001001 width=468
|
||||
height=60 border=0></a>
|
||||
</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
test
|
||||
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
include("inc_common.php");
|
||||
include($ld_engine_path."rooms_get_list.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
$messages_to_show = array();
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
set_variable("cause");
|
||||
set_variable("toBan");
|
||||
set_variable("kill_time");
|
||||
set_variable("action");
|
||||
|
||||
if ($current_user->user_class<1) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
include($file_path."designes/".$design."/admin.php");
|
||||
exit;
|
||||
?>
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($ld_engine_path."rooms_get_list.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
$messages_to_show = array();
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
|
||||
if ($current_user->user_class<1) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$admin_navi = array();
|
||||
if ($current_user->user_class & ADM_MARRY) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_MARRY], "link"=>$chat_url."admin_work.php?op=marry&session=".$session);
|
||||
if ($current_user->user_class & ADM_BAN) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_BAN], "link"=>$chat_url."admin_work.php?op=ban&session=".$session);
|
||||
if ($current_user->user_class & ADM_UN_BAN) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_UN_BAN], "link"=>$chat_url."admin_work.php?op=unban&session=".$session);
|
||||
if ($current_user->user_class & ADM_CHANGE_TOPIC) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_CHANGE_TOPIC], "link"=>$chat_url."admin_work.php?op=topic&session=".$session);
|
||||
if ($current_user->user_class & ADM_CREATE_ROOMS) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_CREATE_ROOMS], "link"=>$chat_url."admin_work.php?op=rooms&session=".$session);
|
||||
if ($current_user->user_class & ADM_EDIT_USERS) $admin_navi[count($admin_navi)] = array("title"=>$w_adm_level[ADM_EDIT_USERS], "link"=>$chat_url."admin_work.php?op=user&session=".$session);
|
||||
include($file_path."designes/".$design."/admin_navi.php");
|
||||
?>
|
||||
@@ -1,839 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($ld_engine_path."rooms_get_list.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
$messages_to_show = array();
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
set_variable("op");
|
||||
if ($current_user->user_class<1) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
if (($current_user->user_class & ADM_BAN) && $op == "") $op = "ban";
|
||||
|
||||
switch ($op) {
|
||||
case "ban":
|
||||
if (!($current_user->user_class & ADM_BAN)) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = $w_select_nick.": <form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"do_ban\">".
|
||||
"<table border=\"0\">";
|
||||
$allowed_to_view_ip = $current_user->user_class & ADM_VIEW_IP;
|
||||
if(count($room_ids)>1){
|
||||
for($kk=0;$kk<count($room_ids);$kk++){
|
||||
$html_to_out .= "<tr><td colspan=\"2\">$w_in_room <b>".$rooms[$room_ids[$kk]]["title"]."</b></td></tr>\n";
|
||||
for ($i=0; $i<count($users); $i++){
|
||||
$data = explode("\t", $users[$i]);
|
||||
if ($data[10] == $room_ids[$kk]) {
|
||||
$name = $data[0];
|
||||
$ip = ($allowed_to_view_ip) ? ", ".str_replace("\n","",$data[USER_IP]): "";
|
||||
$html_to_out .= "<tr><td><input type=\"radio\" name=\"toBan\" value=\"$name\"></td><td>$name$ip</td></tr>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}else{
|
||||
for ($i=0; $i<count($users); $i++){
|
||||
$data = explode("\t", $users[$i]);
|
||||
$name = $data[0];
|
||||
$ip = ($allowed_to_view_ip) ? ", ".str_replace("\n","",$data[USER_IP]): "";
|
||||
$html_to_out .= "<tr><td><input type=\"radio\" name=\"toBan\" value=\"$name\"></td><td>$name$ip</td></tr>\n";
|
||||
}
|
||||
}
|
||||
$html_to_out .= "</table><br>".$w_admin_action.": <select name=\"action\" class=\"input\">".
|
||||
"<option value=1>$w_admin_alert</option>".
|
||||
"<option value=2>$w_admin_kill</option>";
|
||||
if ($current_user->user_class & ADM_IP_BAN) $html_to_out .= "<option value=3>$w_admin_ip_kill</option>";
|
||||
if ($current_user->user_class & ADM_BAN_BY_BROWSERHASH) $html_to_out .= "<option value=4>$w_admin_browserhash_kill</option>";
|
||||
if ($current_user->user_class & ADM_BAN_BY_SUBNET) $html_to_out .= "<option value=5>$w_admin_subnet_kill</option>";
|
||||
$html_to_out .= "</select><br>".$w_kill_time.": <select name=\"kill_time\" class=\"input\">";
|
||||
for ($i=0;$i<count($sw_times);$i++)
|
||||
$html_to_out .= "<option value=\"$i\">".$sw_times[$i]["name"]."</option>";
|
||||
$html_to_out .= "</select><br>".$w_admin_reason.": <input type=\"text\" name=\"cause\" class=\"input\">".
|
||||
"<br><input type=\"submit\" value=\"$w_admin_ban\" class=\"input\">".
|
||||
"</form>";
|
||||
break;//end of ban
|
||||
case "do_ban":
|
||||
set_variable("cause");
|
||||
set_variable("toBan");
|
||||
set_variable("kill_time");
|
||||
set_variable("action");
|
||||
if (!($current_user->user_class & ADM_BAN)) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$flood_protection = 0;
|
||||
$def_color = $registered_colors[$default_color][1];
|
||||
if($toBan !="") {
|
||||
//for compatible with old engine
|
||||
$nameToBan = $toBan;
|
||||
#list($nameToBan, $ipToBan) = explode(":", $toBan);
|
||||
for ($i=0;$i<count($users);$i++) {
|
||||
//list($ban_nickname, $unused, $unused, $unused, $unused, $ban_user_id, $unused, $ban_user_ip, $unused, $unused, $ban_room,$unused, $ban_canon_n, $unused, $unused, $unused)
|
||||
// = explode("\t", $users[$i]);
|
||||
$banuser_array = explode("\t", $users[$i], USER_TOTALFIELDS);
|
||||
if (strcmp($banuser_array[USER_NICKNAME], $toBan) == 0) {
|
||||
$tmp_admin_rights = $current_user->user_class;
|
||||
if ($banuser_array[USER_REGID]) {
|
||||
//fake is_regist to load user-data
|
||||
$is_regist = $banuser_array[USER_REGID];
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
//current user now contains user to ban
|
||||
if (($current_user->user_class > 0) && !($tmp_admin_rights & ADM_BAN_MODERATORS)){
|
||||
$error_text = "$w_adm_cannot_ban_mod";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
$cause = htmlspecialchars($cause);
|
||||
if ($action == 1) {
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$banuser_array[USER_ROOM],
|
||||
MESG_FROM=>"",
|
||||
MESG_FROMWOTAGS=>"",
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_FROMAVATAR=>"",
|
||||
MESG_TO=>"",
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>"",
|
||||
MESG_BODY=>"<font color=\"$def_color\">".str_replace("#",$cause,str_replace("*", $cu_array[USER_NICKNAME],str_replace("~", $toBan,$sw_alert_text)))."</font>");
|
||||
}
|
||||
$to_ban = array();
|
||||
if ($action >1) {
|
||||
$to_ban[0] = "un|".$banuser_array[USER_CANONNICK];
|
||||
$to_ban[1] = "ch|".$banuser_array[USER_COOKIE];
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$banuser_array[USER_ROOM],
|
||||
MESG_FROM=>"",
|
||||
MESG_FROMWOTAGS=>"",
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_FROMAVATAR=>"",
|
||||
MESG_TO=>"",
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>"",
|
||||
MESG_BODY=>"<font color=\"$def_color\">".str_replace("$",$sw_times[$kill_time]["name"],str_replace("#",$cause,str_replace("*", $cu_array[USER_NICKNAME],str_replace("~", $toBan,$sw_kill_text))))."</font>");
|
||||
|
||||
if ($logging_ban) {
|
||||
include_once($data_path."engine/files/log_message.php");
|
||||
log_ban($cu_array[USER_NICKNAME],
|
||||
$banuser_array[USER_CANONNICK],
|
||||
$banuser_array[USER_IP],
|
||||
$banuser_array[USER_ROOM], $cause);
|
||||
}
|
||||
if ($action == 3 && ($tmp_admin_rights & ADM_IP_BAN))
|
||||
$to_ban[] = "ip|".$banuser_array[USER_IP];
|
||||
if ($action == 4 && ($tmp_admin_rights & ADM_BAN_BY_BROWSERHASH)) {
|
||||
$to_ban[] = "bh|".$banuser_array[USER_BROWSERHASH];
|
||||
//not good, but I don't know a better way
|
||||
$to_ban[] = "ip|".$banuser_array[USER_IP];
|
||||
}
|
||||
if ($action == 5 && ($tmp_admin_rights & ADM_BAN_BY_SUBNET))
|
||||
$to_ban[] = "sn|".substr($banuser_array[USER_IP], 0 , strrpos($banuser_array[USER_IP],".")) ;
|
||||
if (count($to_ban)>0) {
|
||||
include($ld_engine_path."admin.php");
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
include($engine_path."messages_put.php");
|
||||
}
|
||||
header("location: admin_work.php?session=$session&op=ban");
|
||||
exit;
|
||||
break;//end of do ban
|
||||
case "unban":
|
||||
if (!($current_user->user_class & ADM_UN_BAN)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = $w_adm_banned_now."<table border=\"1\"><tr><td>$w_adm_nick_or_ip</td><td>$w_adm_ban_until</td><td></td></tr>";
|
||||
include_once($ld_engine_path."ban_check.php");
|
||||
$banned_users = get_all_bans();
|
||||
for ($i=0;$i<count($banned_users);$i++) {
|
||||
$html_to_out .= "<tr><td>".$banned_users[$i]["who"]."</td><td>".date("d M y H:i:s",$banned_users[$i]["until"])."</td><td><a href=\"admin_work.php?session=$session&op=do_unban&to_unban=".urlencode($banned_users[$i]["who"])."\">$w_adm_unban</td></tr>";
|
||||
}
|
||||
$html_to_out .="</table>";
|
||||
break;
|
||||
case "do_unban":
|
||||
if (!($current_user->user_class & ADM_UN_BAN)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
include_once($ld_engine_path."ban_check.php");
|
||||
set_variable("to_unban");
|
||||
unban(urldecode($to_unban));
|
||||
if ($logging_ban) {include_once($data_path."engine/files/log_message.php"); log_unban($user_name, $to_unban);}
|
||||
header("location: admin_work.php?session=$session&op=unban");
|
||||
exit;
|
||||
break;
|
||||
case "topic":
|
||||
if (!($current_user->user_class & ADM_CHANGE_TOPIC)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"change_topic\">".
|
||||
"<input type=\"hidden\" name=\"room_to_change\" value=\"$room_id\">".
|
||||
"$w_topic: <input type=\"text\" name=\"topic\" value=\"".str_replace("\"",""",$rooms[$room_id]["topic"])."\" class=\"input\"><br>".
|
||||
"<input type=\"submit\" value=\"$w_update\" class=\"input\"></form>";
|
||||
break;
|
||||
case "change_topic":
|
||||
if (!($current_user->user_class & ADM_CHANGE_TOPIC)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("room_to_change");
|
||||
$room_to_change = intval($room_to_change);
|
||||
set_variable("topic");
|
||||
$room_to_change = intval($room_to_change);
|
||||
include_once($ld_engine_path."rooms_operations.php");
|
||||
$new_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$topic))));
|
||||
change_topic($room_to_change, $new_topic);
|
||||
$messages_to_show = array();
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$room_to_change,
|
||||
MESG_FROM=>"",
|
||||
MESG_FROMWOTAGS=>"",
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_FROMAVATAR=>"",
|
||||
MESG_TO=>"",
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>"",
|
||||
MESG_BODY=>"<font color=\"$def_color\">".str_replace("#",$new_topic,str_replace("*", $user_name,$sw_set_topic_text))."</font>");
|
||||
|
||||
include($engine_path."messages_put.php");
|
||||
header("location: admin_work.php?session=$session&op=topic");
|
||||
exit;
|
||||
break;
|
||||
case "rooms":
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = $w_list_of_rooms.":<table border=\"1\">".
|
||||
"<tr><td>$w_room_name</td><td>$w_topic</td><td></td></tr>";
|
||||
|
||||
for ($i=0;$i<count($room_ids);$i++) {
|
||||
$html_to_out .= "<tr><td>".$rooms[$room_ids[$i]]["title"]."</td><td>".$rooms[$room_ids[$i]]["topic"]."</td>".
|
||||
"<td><a href=\"admin_work.php?session=$session&op=edit_room&room_to_change=".$room_ids[$i]."\" class=\"jsnavi\">$w_edit</a> | ".
|
||||
"<a href=\"admin_work.php?session=$session&op=delete_room&room_to_change=".$room_ids[$i]."\" class=\"jsnavi\">$w_delete</a></td></tr>";
|
||||
}
|
||||
$html_to_out .= "</table><br><br><a href=\"admin_work.php?session=$session&op=add_room_form\" class=\"jsnavi\">$w_adm_add_room</a>";
|
||||
break;
|
||||
case "delete_room":
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("room_to_change");
|
||||
$room_to_change = intval($room_to_change);
|
||||
include_once($ld_engine_path."rooms_operations.php");
|
||||
room_delete($room_to_change);
|
||||
header("location: admin_work.php?session=$session&op=rooms");
|
||||
exit;
|
||||
break;
|
||||
|
||||
|
||||
case "add_room_form":
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"add_room\">".
|
||||
"<table border=\"0\">".
|
||||
"<tr><td>$w_room_name:</td><td><input type=\"text\" name=\"room_name\" class=\"input\" size=\"20\"></td></tr>".
|
||||
"<tr><td>$w_topic:</td><td><input type=\"text\" name=\"room_topic\" class=\"input\" size=\"50\"></td></tr>".
|
||||
"<tr><td>$w_adm_room_design:</td><td><select name=\"room_design\" class=\"input\">";
|
||||
$handle = opendir($file_path."/designes/");
|
||||
while (false !== ($tmp_file = readdir($handle)))
|
||||
if ($tmp_file!="." and $tmp_file != "..")
|
||||
$all_designes[] = $tmp_file;
|
||||
closedir($handle);
|
||||
$html_to_out .= "<option value=\"\">None</option>\n";
|
||||
for ($des_i = 0; $des_i<count($all_designes);$des_i++)
|
||||
$html_to_out .= "<option value=\"".$all_designes[$des_i]."\">".$all_designes[$des_i]."</option>\n";
|
||||
|
||||
$html_to_out .= "</select></td></tr>".
|
||||
"<tr><td>$w_bot_name:</td><td><input type=\"text\" name=\"room_bot\" value=\"".str_replace("\"",""",$w_rob_name)."\" class=\"input\" size=\"20\"></td></tr>".
|
||||
"<tr><td colspan=\"2\"><input type=\"submit\" value=\"$w_update\" class=\"input\"></td></tr>".
|
||||
"</table></form>";
|
||||
break;
|
||||
case "edit_room":
|
||||
set_variable("room_to_change");
|
||||
$room_to_change = intval($room_to_change);
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = "";
|
||||
for ($i=0;$i<count($room_ids);$i++)
|
||||
if ($room_ids[$i] == $room_to_change) {
|
||||
$html_to_out .= "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"update_room\">".
|
||||
"<input type=\"hidden\" name=\"room_to_change\" value=\"".$room_ids[$i]."\">".
|
||||
"<table border=\"0\">".
|
||||
"<tr><td>$w_room_name:</td><td><input type=\"text\" name=\"room_name\" value=\"".str_replace("\"",""",$rooms[$room_ids[$i]]["title"])."\" class=\"input\" size=\"20\"></td></tr>".
|
||||
"<tr><td>$w_topic:</td><td><input type=\"text\" name=\"room_topic\" value=\"".str_replace("\"",""",$rooms[$room_ids[$i]]["topic"])."\" class=\"input\" size=\"50\"></td></tr>".
|
||||
"<tr><td>$w_adm_room_design:</td><td><select name=\"room_design\" class=\"input\">";
|
||||
$handle = opendir($file_path."/designes/");
|
||||
while (false !== ($tmp_file = readdir($handle)))
|
||||
if ($tmp_file!="." and $tmp_file != "..")
|
||||
$all_designes[] = $tmp_file;
|
||||
closedir($handle);
|
||||
$html_to_out .= "<option value=\"\">None</option>\n";
|
||||
for ($des_i = 0; $des_i<count($all_designes);$des_i++) {
|
||||
$html_to_out .= "<option value=\"".$all_designes[$des_i]."\"";
|
||||
if ($all_designes[$des_i] == $rooms[$room_ids[$i]]["design"]) $html_to_out .= " selected";
|
||||
$html_to_out .= ">".$all_designes[$des_i]."</option>\n";
|
||||
}
|
||||
|
||||
$html_to_out .= "</select></td></tr>".
|
||||
"<tr><td>$w_bot_name:</td><td><input type=\"text\" name=\"room_bot\" value=\"".str_replace("\"",""",$rooms[$room_ids[$i]]["bot"])."\" class=\"input\" size=\"20\"></td></tr>".
|
||||
"<tr><td colspan=\"2\"><input type=\"submit\" value=\"$w_update\" class=\"input\"></td></tr>".
|
||||
"</table></form>";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "update_room":
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("room_to_change");
|
||||
$room_to_change = intval($room_to_change);
|
||||
set_variable("room_name");
|
||||
$room_name = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_name))));
|
||||
set_variable("room_topic");
|
||||
$room_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_topic))));
|
||||
set_variable("room_design");
|
||||
$room_design = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_design))));
|
||||
set_variable("room_bot");
|
||||
$room_bot = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_bot))));
|
||||
include_once($ld_engine_path."rooms_operations.php");
|
||||
room_update($room_to_change,$room_name,$room_topic,$room_design,$room_bot);
|
||||
header("location: admin_work.php?session=$session&op=edit_room&room_to_change=$room_to_change");
|
||||
exit;
|
||||
break;
|
||||
case "add_room":
|
||||
if (!($current_user->user_class & ADM_CREATE_ROOMS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("room_name");
|
||||
$room_name = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_name))));
|
||||
set_variable("room_topic");
|
||||
$room_topic = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_topic))));
|
||||
set_variable("room_design");
|
||||
$room_design = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_design))));
|
||||
set_variable("room_bot");
|
||||
$room_bot = htmlspecialchars(str_replace("\r"," ",str_replace("\n"," ",str_replace("\t"," ",$room_bot))));
|
||||
include_once($ld_engine_path."rooms_operations.php");
|
||||
room_add($room_name,$room_topic,$room_design,$room_bot);
|
||||
header("location: admin_work.php?session=$session&op=rooms");
|
||||
exit;
|
||||
break;
|
||||
case "user":
|
||||
if (!($current_user->user_class & ADM_EDIT_USERS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"user_search\">".
|
||||
"<table border=\"0\"><tr><td valign=\"middle\">".
|
||||
$w_enter_nick.": <input type=\"text\" name=\"user_to_search\" class=\"input\"> </td>".
|
||||
"<td valign=\"middle\">".
|
||||
"<input type=\"submit\" value=\"".$w_search_button."\" class=\"input\">".
|
||||
"</td></tr></table>\n</form>";
|
||||
break;
|
||||
case "user_search":
|
||||
if (!($current_user->user_class & ADM_EDIT_USERS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("user_to_search");
|
||||
$u_ids = array();
|
||||
include($ld_engine_path."users_search.php");
|
||||
$html_to_out = "";
|
||||
if (count($u_ids)) {
|
||||
$html_to_out .= "$w_search_results<br>";
|
||||
for ($i=0;$i<count($u_ids);$i++)
|
||||
$html_to_out .= "<a href=\"admin_work.php?op=user_edit&user_id=".$u_ids[$i]."&session=$session\">".htmlspecialchars($u_names[$i])."</a>".
|
||||
" -- <a href=\"javascript:if (confirm('".$w_sure_user_delete."')) {document.location.href='admin_work.php?op=user_delete&user_id=".$u_ids[$i]."&session=$session';}\">".$w_delete."</a><br>\n";
|
||||
} else
|
||||
$html_to_out .= str_replace("~",""<b>".$user_to_search."</b>"",$w_search_no_found);
|
||||
break;
|
||||
case "user_delete":
|
||||
if (!($current_user->user_class & ADM_EDIT_USERS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("user_id");
|
||||
$user_ids = array();
|
||||
$user_ids[0] = $user_id;
|
||||
include_once($ld_engine_path."admin_work.php");
|
||||
users_delete($user_ids);
|
||||
for ($i=0;$i<count($user_ids);$i++) {
|
||||
@unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".big.jpg");
|
||||
@unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".big.gif");
|
||||
@unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".jpg");
|
||||
@unlink($file_path."photos/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".gif");
|
||||
@unlink($data_path."board/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".msg");
|
||||
@unlink($data_path."users/".floor($user_ids[$i]/2000)."/".$user_ids[$i].".user");
|
||||
}
|
||||
$html_to_out = $w_user_deleted;
|
||||
break;
|
||||
|
||||
case "user_edit":
|
||||
if (!($current_user->user_class & ADM_EDIT_USERS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("user_id");
|
||||
$is_regist = $user_id;
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
$html_to_out = "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"user_update\">".
|
||||
"<input type=\"hidden\" name=\"user_id\" value=\"$user_id\">".
|
||||
$current_user->nickname ."</b>:<br>".
|
||||
"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">".
|
||||
"<tr><td><input type=checkbox name=\"showGroup1\"".
|
||||
(($current_user->show_group_1 == 1) ? " checked":"").
|
||||
"> ".$w_show_data."<table border=\"0\">".
|
||||
"<tr><td>".$w_surname.": </td><td><input type=\"text\" size=\"15\" name=\"surname\" value=\"".$current_user->surname."\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_name.": </td><td><input type=\"text\" size=\"15\" name=\"firstname\" value=\"".$current_user->firstname."\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_birthday.": </td><td><select name=\"day\" class=\"input\"><option value=\"\">--</option>";
|
||||
for ($i=1; $i<32; $i++) {
|
||||
$html_to_out .= "<option";
|
||||
if ($i == $current_user->b_day) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$i\n";
|
||||
}
|
||||
$html_to_out .= "</select> / <select name=\"month\" class=\"input\"><option value=\"\">--</option>";
|
||||
for ($i=1; $i<13; $i++) {
|
||||
$html_to_out .= "<option";
|
||||
if ($i == $current_user->b_month) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$i\n";
|
||||
}
|
||||
$html_to_out .= "</select> / <select name=\"year\" class=\"input\"><option value=\"\">--</option>";
|
||||
for ($i=1950; $i<2001; $i++) {
|
||||
$html_to_out .= "<option";
|
||||
if ($i == $current_user->b_year) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$i\n";
|
||||
}
|
||||
$html_to_out .= "</select></td></tr>".
|
||||
"<tr><td>".$w_city.": </td><td><input type=\"text\" name=\"city\" size=\"10\" value=\"".$current_user->city."\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_gender.": </td><td><select name=\"sex\" class=\"input\">";
|
||||
$sex = $current_user->sex;
|
||||
$html_to_out .= "<option value=0";
|
||||
if ($sex == 0) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$w_unknown</option>\n<option value=1";
|
||||
if ($sex == 1) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$w_male</option>\n<option value=2";
|
||||
if ($sex == 2) $html_to_out .= " selected";
|
||||
$html_to_out .= ">$w_female</option>\n</select></td></tr>\n";
|
||||
$html_to_out .= "<tr><td>$w_small_photo: </td><td>";
|
||||
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.gif";
|
||||
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
||||
if ($pic_name == "") {
|
||||
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".big.jpg";
|
||||
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
||||
}
|
||||
$big_picture = $pic_name;
|
||||
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".gif";
|
||||
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
||||
if ($pic_name == "") {
|
||||
$pic_name = "" . floor($is_regist/2000) . "/" . $is_regist . ".jpg";
|
||||
if (!file_exists($file_path."photos/$pic_name")) $pic_name="";
|
||||
}
|
||||
$small_picture = $pic_name;
|
||||
if ($small_picture != "")
|
||||
$html_to_out .= "<img src=\"photos/$small_picture\"><br><input type=\"checkbox\" name=\"sm_del\">$w_check_for_delete<br>";
|
||||
$html_to_out .= "<tr><td>$w_big_photo: </td><td>";
|
||||
if ($big_picture != "") {
|
||||
$html_to_out .= "<img src=\"photos/$big_picture\"><br>";
|
||||
$html_to_out .= "<input type=\"checkbox\" name=\"big_del\">$w_check_for_delete<br>";
|
||||
}
|
||||
$html_to_out .= "<tr><td>".$w_addit_info.": </td><td>".
|
||||
"<textarea name=\"comments\" rows=\"10\" cols=\"30\" class=\"input\">".str_replace("<br>","\n",$current_user->about).
|
||||
"</textarea></td></tr>".
|
||||
"</table></td></tr>".
|
||||
"<tr><td> </td></tr>".
|
||||
"<tr><td>".
|
||||
"<input type=checkbox name=\"showGroup2\"".
|
||||
(($current_user->show_group_2 == 1) ? " checked":"").
|
||||
"> ".$w_show_data."<br>".
|
||||
"<table border=\"0\">".
|
||||
"<tr><td>".$w_email.": </td><td><input type=\"text\" size=\"15\" name=\"email\" value=\"".$current_user->email."\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_homepage.": </td><td><input type=\"text\" size=\"15\" name=\"url\" value=\"".$current_user->url."\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_icq.": </td><td><input type=\"text\" size=\"15\" name=\"icquin\" value=\"".$current_user->icquin."\" class=\"input\"></td></tr>".
|
||||
"</table></td></tr><tr><td> </td></tr>";
|
||||
if($web_indicator){
|
||||
$html_to_out .= "<tr><td><table><tr><td>".
|
||||
"<input type=\"checkbox\" name=\"enable_web_indicator\"".
|
||||
(($current_user->enable_web_indicator) ? " checked":"").
|
||||
"> ".$w_web_indicator."</td></tr>".
|
||||
"<tr><td>".str_replace("~","<img src=\"".$chat_url."user_status.php?".$is_regist."\" border=\"0\" alt=\"chat status\">",$w_web_indicator_code)."</td></tr>".
|
||||
"<tr><td align=\"center\"><textarea class=\"input\" rows=\"5\" cols=\"40\">".
|
||||
"<a href=\"".$chat_url."\" target=\"_blank\"><img src=\"".$chat_url."user_status.php?".$is_regist."\" border=\"0\" alt=\"chat status\"></a>".
|
||||
"</textarea></td></tr>".
|
||||
"</table></td></tr>".
|
||||
"<tr><td> </td></tr>";
|
||||
}
|
||||
$html_to_out .= "<tr><td><table border=\"0\">".
|
||||
"<tr><td colspan=\"2\">".$w_if_wanna_change_password."</td></tr>".
|
||||
"<tr><td>".$w_new_password.": </td><td><input type=\"password\" name=\"passwd1\" class=\"input\"></td></tr>".
|
||||
"<tr><td>".$w_confirm_password.": </td><td><input type=\"password\" name=\"passwd2\" class=\"input\"></td></tr>".
|
||||
"</table></td></tr>".
|
||||
"<tr><td> </td></tr>".
|
||||
"</table><br>".
|
||||
"<input type=\"submit\" value=\"".$w_update."\" class=\"input\">".
|
||||
"</form>";
|
||||
break;
|
||||
case "user_update":
|
||||
if (!($current_user->user_class & ADM_EDIT_USERS)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
set_variable("user_id");
|
||||
$is_regist = $user_id;
|
||||
set_variable("surname");
|
||||
set_variable("firstname");
|
||||
set_variable("city");
|
||||
set_variable("comments");
|
||||
set_variable("email");
|
||||
set_variable("url");
|
||||
set_variable("icquin");
|
||||
set_variable("day");
|
||||
set_variable("month");
|
||||
set_variable("year");
|
||||
set_variable("sex");
|
||||
set_variable("passwd1");
|
||||
set_variable("passwd2");
|
||||
set_variable("showGroup1");
|
||||
set_variable("showGroup2");
|
||||
set_variable("sm_del");
|
||||
set_variable("big_del");
|
||||
set_variable("enable_web_indicator");
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
|
||||
$info_message = "";
|
||||
$html_to_out = "";
|
||||
$passwd1 = str_replace("\t","",$passwd1);
|
||||
if ( (!$passwd1) or ($passwd1 != $passwd2) )
|
||||
$html_to_out .= "$w_pas_not_changed.<br>\n";
|
||||
else {
|
||||
$html_to_out .= "$w_pas_changed.<br>\n";
|
||||
$current_user->password = md5($passwd1);
|
||||
}
|
||||
if ($showGroup1 == "on") $current_user->show_group_1=1; else $current_user->show_group_1 = 0;
|
||||
if ($showGroup2 == "on") $current_user->show_group_2=1; else $current_user->show_group_2=0;
|
||||
$current_user->enable_web_indicator = ($enable_web_indicator == "on") ? 1 : 0;
|
||||
|
||||
$pic_name = "" . $is_regist . ".big.gif";
|
||||
if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name="";
|
||||
if ($pic_name == "")
|
||||
{
|
||||
$pic_name = "" . $is_regist . ".big.jpg";
|
||||
if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name="";
|
||||
}
|
||||
$big_picture = $pic_name;
|
||||
$pic_name = "" . $is_regist . ".gif";
|
||||
if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name="";
|
||||
if ($pic_name == "")
|
||||
{
|
||||
$pic_name = "". $is_regist . ".jpg";
|
||||
if (!file_exists($file_path."photos/".floor($is_regist/2000)."/$pic_name")) $pic_name="";
|
||||
}
|
||||
$small_picture = $pic_name;
|
||||
|
||||
|
||||
if ($big_del == "on") {
|
||||
if ($big_picture != "") @unlink($file_path."photos/".floor($is_regist/2000)."/".$big_picture);
|
||||
}
|
||||
if ($sm_del == "on") {
|
||||
if ($small_picture != "") @unlink($file_path."photos/".floor($is_regist/2000)."/".$small_picture);
|
||||
}
|
||||
|
||||
$current_user->surname = htmlspecialchars($surname);
|
||||
$current_user->firstname = htmlspecialchars($firstname);
|
||||
$current_user->city = htmlspecialchars($city);
|
||||
$current_user->about = htmlspecialchars($comments);
|
||||
$current_user->about = str_replace("\n","<br>", $current_user->about);
|
||||
$current_user->email = htmlspecialchars($email);
|
||||
$current_user->url = htmlspecialchars($url);
|
||||
$current_user->icquin = htmlspecialchars($icquin);
|
||||
$current_user->b_day = intval($day);
|
||||
$current_user->b_month = intval($month);
|
||||
$current_user->b_year = intval($year);
|
||||
$current_user->sex = intval($sex);
|
||||
include($ld_engine_path."user_info_update.php");
|
||||
$html_to_out .= $info_message;
|
||||
|
||||
break;
|
||||
|
||||
case "do_marriage":
|
||||
if (!($current_user->user_class & ADM_MARRY)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$PriestName = $current_user->nickname;
|
||||
set_variable("marrWho");
|
||||
set_variable("marrWith");
|
||||
|
||||
if($marrWho != "" and $marrWith != "" and $marrWho != $marrWith) {
|
||||
$marrWho = intval(trim($marrWho));
|
||||
$marrWith = intval(trim($marrWith));
|
||||
|
||||
//previously married?
|
||||
$is_regist = $marrWho;
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
if($current_user->married_with != "") {
|
||||
$error_text = "<b>".$current_user->nickname."</b> <20> <b>".$current_user->married_with."</b> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!!!";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$JustMarried1 = $current_user->nickname;
|
||||
$is_regist = $marrWith;
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
if($current_user->married_with != "") {
|
||||
$error_text = "<b>".$current_user->nickname."</b> <20> <b>".$current_user->married_with."</b> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$JustMarried2 = $current_user->nickname;
|
||||
|
||||
$is_regist = $marrWho;
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
$current_user->married_with = $JustMarried2;
|
||||
include($ld_engine_path."user_info_update.php");
|
||||
|
||||
$is_regist = $marrWith;
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
$current_user->married_with = $JustMarried1;
|
||||
include($ld_engine_path."user_info_update.php");
|
||||
|
||||
$html_to_out .= $info_message;
|
||||
|
||||
$MsgToPass = $sw_just_married;
|
||||
$MsgToPass = str_replace("~", $JustMarried1, $MsgToPass);
|
||||
$MsgToPass = str_replace("#", $JustMarried2, $MsgToPass);
|
||||
|
||||
$w_rob_name = $rooms[$room_id]["bot"];
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$room_id,
|
||||
MESG_FROM=>$w_rob_name,
|
||||
MESG_FROMWOTAGS=>$w_rob_name,
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_TO=>"",
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>"",
|
||||
MESG_BODY=>"<span class=ha><font color=\"$def_color\"><b>".$MsgToPass."</b></font></span>");
|
||||
|
||||
$MsgToPass = $sw_just_married_adm;
|
||||
$MsgToPass = str_replace("~", $JustMarried1, $MsgToPass);
|
||||
$MsgToPass = str_replace("#", $JustMarried2, $MsgToPass);
|
||||
$MsgToPass = str_replace("*", $PriestName, $MsgToPass);
|
||||
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$banuser_array[USER_ROOM],
|
||||
MESG_FROM=>$sw_usr_adm_link,
|
||||
MESG_FROMWOTAGS=>$sw_usr_adm_link,
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_TO=>$sw_usr_adm_link,
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>0,
|
||||
MESG_BODY=>"<font color=\"$def_color\">$MsgToPass</font>");
|
||||
|
||||
include($engine_path."messages_put.php");
|
||||
//to user's private log
|
||||
fWrite($MsgToPass, $marrWho, "");
|
||||
fWrite($MsgToPass, $marrWith, "");
|
||||
// to moder's private log
|
||||
fWrite($MsgToPass, $cu_array[USER_REGID], "");
|
||||
|
||||
}
|
||||
else {
|
||||
$error_text = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
break;
|
||||
case "marry":
|
||||
if (!($current_user->user_class & ADM_MARRY)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
$html_to_out = "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"do_marriage\">\n".
|
||||
"<b>$w_marry_pan:</b><br>".
|
||||
"$w_marry_who <select name=marrWho class=input>\n";
|
||||
$marrSelect = "";
|
||||
for ($i=0; $i<count($users); $i++){
|
||||
$data = explode("\t", $users[$i]);
|
||||
if(($data[USER_ROOM] == $room_id) and ($data[USER_REGID])) {
|
||||
if(intval($data[USER_INVISIBLE]) and ($current_user->user_class & ADM_MARRY)) {}
|
||||
else {
|
||||
$name = $data[0];
|
||||
$marrSelect .= "<option value=\"".$data[USER_REGID]."\">".$name."</option>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
$html_to_out .= $marrSelect;
|
||||
$html_to_out .= "</select>\n";
|
||||
$html_to_out .= "$w_marry_with <select name=marrWith class=\"input\">\n";
|
||||
$html_to_out .= $marrSelect;
|
||||
$html_to_out .= "</select>\n";
|
||||
$html_to_out .= "<input type=submit value=\"OK\" class=\"input\">";
|
||||
$html_to_out .= "</form>";
|
||||
$html_to_out .= "<form method=\"post\" action=\"admin_work.php\">".
|
||||
"<input type=\"hidden\" name=\"session\" value=\"$session\">".
|
||||
"<input type=\"hidden\" name=\"op\" value=\"do_un_marriage\">\n".
|
||||
"<b>$w_unmarry_pan:</b><br>".
|
||||
"$w_marry_who <select name=marrWho class=\"input\">\n";
|
||||
$html_to_out .= $marrSelect;
|
||||
$html_to_out .= "</select>\n";
|
||||
$html_to_out .= "<input type=submit value=\"OK\" class=\"input\">";
|
||||
$html_to_out .= "</form>";
|
||||
break;
|
||||
|
||||
case "do_un_marriage":
|
||||
set_variable("marrWho");
|
||||
if (!($current_user->user_class & ADM_MARRY)) {
|
||||
$error_text = $w_adm_no_permission;
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$html_to_out = "";
|
||||
|
||||
$PriestName = $current_user->nickname;
|
||||
|
||||
$is_regist = $marrWho;
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
if($current_user->married_with == "") {
|
||||
$error_text = "<b>".$current_user->nickname."</b> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$user_to_search = $current_user->married_with;
|
||||
$Nick1 = $current_user->nickname;
|
||||
//unmarrying first one
|
||||
$current_user->married_with = "";
|
||||
include($ld_engine_path."user_info_update.php");
|
||||
|
||||
// try to locate and unmarry the second user
|
||||
$u_ids = array();
|
||||
include($ld_engine_path."users_search.php");
|
||||
$html_to_out = "";
|
||||
if (count($u_ids)) {
|
||||
$IsFound = 0;
|
||||
for($j = 0; $j < count($u_ids); $j++) {
|
||||
if(strcasecmp(trim($u_names[$j]), $user_to_search) == 0){
|
||||
|
||||
$is_regist = $u_ids[$j];
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
$Nick2 = $current_user->nickname;
|
||||
$current_user->married_with = "";
|
||||
include($ld_engine_path."user_info_update.php");
|
||||
|
||||
$MsgToPass = $sw_no_married;
|
||||
$MsgToPass = str_replace("~", $Nick1, $MsgToPass);
|
||||
$MsgToPass = str_replace("#", $Nick2, $MsgToPass);
|
||||
|
||||
$w_rob_name = $rooms[$room_id]["bot"];
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$room_id,
|
||||
MESG_FROM=>$w_rob_name,
|
||||
MESG_FROMWOTAGS=>$w_rob_name,
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_TO=>"",
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>"",
|
||||
MESG_BODY=>"<span class=ha><font color=\"$def_color\"><b>".$MsgToPass."</b></font></span>");
|
||||
|
||||
$MsgToPass = $sw_no_married_adm;
|
||||
$MsgToPass = str_replace("~", $Nick1, $MsgToPass);
|
||||
$MsgToPass = str_replace("#", $Nick2, $MsgToPass);
|
||||
$MsgToPass = str_replace("*", $PriestName, $MsgToPass);
|
||||
|
||||
$messages_to_show[] = array(MESG_TIME=>my_time(),
|
||||
MESG_ROOM=>$banuser_array[USER_ROOM],
|
||||
MESG_FROM=>$sw_usr_adm_link,
|
||||
MESG_FROMWOTAGS=>$sw_usr_adm_link,
|
||||
MESG_FROMSESSION=>"",
|
||||
MESG_FROMID=>0,
|
||||
MESG_TO=>$sw_usr_adm_link,
|
||||
MESG_TOSESSION=>"",
|
||||
MESG_TOID=>0,
|
||||
MESG_BODY=>"<font color=\"$def_color\">$MsgToPass</font>");
|
||||
|
||||
include($engine_path."messages_put.php");
|
||||
//to user's private log
|
||||
fWrite($MsgToPass, $marrWho, "");
|
||||
fWrite($MsgToPass, $is_regist, "");
|
||||
// to moder's private log
|
||||
fWrite($MsgToPass, $cu_array[USER_REGID], "");
|
||||
|
||||
$IsFound = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!$IsFound) $html_to_out .= str_replace("~",""<b>".$user_to_search."</b>"",$w_search_no_found);
|
||||
|
||||
|
||||
} else $html_to_out .= str_replace("~",""<b>".$user_to_search."</b>"",$w_search_no_found);
|
||||
|
||||
$html_to_out = $MsgToPass;
|
||||
|
||||
break;
|
||||
}
|
||||
include($file_path."designes/".$design."/output_page.php");
|
||||
?>
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
include($ld_engine_path."board_alerter.php");
|
||||
|
||||
include($file_path."designes/".$design."/alerter.php");
|
||||
?>
|
||||
@@ -1,42 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
include("inc_user_class.php");
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
|
||||
if ($current_user->user_class<1) {
|
||||
$error_text = "$w_no_admin_rights";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
include_once($ld_engine_path."premoderation.php");
|
||||
set_variable("op");
|
||||
set_variable("id");
|
||||
$id = intval($id);
|
||||
$wait_mesg = array();
|
||||
switch($op) {
|
||||
case "ap":
|
||||
$wait_mesg = premoder_approve($id);
|
||||
break;
|
||||
case "dec":
|
||||
$wait_mesg = premoder_decline($id);
|
||||
break;
|
||||
default:
|
||||
$wait_mesg = premoder_get();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$html_to_out = "Total:".count($wait_mesg)." -- <a href=\"approve.php?session=".$session."\">refresh</a><br>";
|
||||
|
||||
$until = (count($wait_mesg)>10)?10:count($wait_mesg);
|
||||
$html_to_out .= "<table border=\"1\"><tr><td>from</td><td>to</td><td>message</td><td>Appr</td><td>decl</td></tr>";
|
||||
for ($i=0; $i<$until;$i++) {
|
||||
$html_to_out .= "<tr><td>".$wait_mesg[$i][MESG_FROMWOTAGS]."</td><td>".$wait_mesg[$i][MESG_TO]."</td>".
|
||||
"<td>".$wait_mesg[$i][MESG_BODY]."</td><td><a href=\"approve.php?op=ap&session=".$session."&id=".$wait_mesg[$i][MESG_ID]."\">Ap</a></td>".
|
||||
"<td><a href=\"approve.php?op=dec&session=".$session."&id=".$wait_mesg[$i][MESG_ID]."\">X</a></td></tr>\n";
|
||||
}
|
||||
$html_to_out .= "</table>";
|
||||
include($file_path."designes/".$design."/output_page.php");
|
||||
?>
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
set_variable("mess_to_del");
|
||||
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include($ld_engine_path."board_delete.php");
|
||||
|
||||
header("Location: board_list.php?session=$session");
|
||||
?>
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include($ld_engine_path."board_get_messages.php");
|
||||
|
||||
include($file_path."designes/".$design."/board_list.php");
|
||||
?>
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
include("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
set_variable("message");
|
||||
set_variable("subject");
|
||||
set_variable("send_to_id");
|
||||
$send_to_id = intval($send_to_id);
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$message = htmlspecialchars($message);
|
||||
$message = str_replace("\n","<br>",$message);
|
||||
$message = str_replace("\r","",$message);
|
||||
$message = str_replace("\t"," ",$message);
|
||||
$message = str_replace(" "," ",$message);
|
||||
|
||||
$subject = str_replace("\t"," ",$subject);
|
||||
|
||||
if (function_exists('preg_replace')){
|
||||
$message = preg_replace("/[0-9a-f]{32}/", "1234", $message);
|
||||
$subject = preg_replace("/[0-9a-f]{32}/", "1234", $subject);
|
||||
}
|
||||
|
||||
$info_message = "";
|
||||
|
||||
include($ld_engine_path."board_post_message.php");
|
||||
|
||||
include($file_path."designes/".$design."/board_post.php");
|
||||
?>
|
||||
@@ -1,49 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
set_variable("message_id");
|
||||
set_variable("send_to");
|
||||
set_variable("send_to_id");
|
||||
$send_to_id = intval($send_to_id);
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$u_ids = array();
|
||||
$u_names = array();
|
||||
$tmp_body = "";
|
||||
$tmp_subject = "";
|
||||
|
||||
$info_message = "";
|
||||
|
||||
if($message_id == "") {
|
||||
if ($send_to!="") {
|
||||
$user_to_search = $send_to;
|
||||
include($ld_engine_path."users_search.php");
|
||||
if (!count($u_ids)) $info_message = "<b>".str_replace("~",""<b>".htmlspecialchars($send_to)."</b>"",$w_search_no_found)."</b><br>";
|
||||
}
|
||||
if ($send_to_id!="") {
|
||||
include("inc_user_class.php");
|
||||
$ttt = $is_regist;
|
||||
$is_regist = $send_to_id; #fake again :(
|
||||
include($ld_engine_path."users_get_object.php");
|
||||
$u_ids[] = $is_regist;
|
||||
$is_regist = $ttt;
|
||||
$u_names[] = $current_user->nickname;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$board_operation = "reply";
|
||||
$id = $message_id;
|
||||
include($ld_engine_path."board_process_message.php");
|
||||
$u_ids[] = $board_message["from_id"];
|
||||
$u_names[] = $board_message["from"];
|
||||
$tmp_body = str_replace("<br>","\n",$board_message["body"]);
|
||||
$tmp_body = "\n\n_______ ".str_replace("~", $board_message["from"], $w_user_wrote)." ______\n$tmp_body";
|
||||
$tmp_subject = str_replace("\"",""","Re: ".$board_message["subject"]);
|
||||
}
|
||||
|
||||
include($file_path."designes/".$design."/board_send.php");
|
||||
?>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
include($engine_path."users_get_list.php");
|
||||
set_variable("id");
|
||||
|
||||
if (!$exists) {
|
||||
$error_text = "$w_no_user";
|
||||
include($file_path."designes/".$design."/error_page.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
$board_operation = "view";
|
||||
include($ld_engine_path."board_process_message.php");
|
||||
|
||||
include($file_path."designes/".$design."/board_view.php");
|
||||
?>
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
set_variable("key");
|
||||
set_variable("op");
|
||||
$html_to_out = "";
|
||||
$error = 0;
|
||||
if ($op =="change") {
|
||||
set_variable("password");
|
||||
set_variable("password2");
|
||||
if (strlen($password <1)) {
|
||||
$html_to_out .= "<b>".$w_incorrect_password."</b><br><br>";
|
||||
$error = 1;
|
||||
}else if (strcmp($password,$password2)!=0) {
|
||||
$html_to_out .= "<b>".$w_password_mismatch."</b><br><br>";
|
||||
$error = 1;
|
||||
} else {
|
||||
include($ld_engine_path."password_reminder.php");
|
||||
$er = update_password($password, $key);
|
||||
if ($er == "") {
|
||||
$html_to_out .= "<b>".$w_pas_changed."</b><br><br><a href=\"".$chat_url."\">".$w_login_button."</a>";
|
||||
require($file_path."designes/".$default_design."/output_page.php");
|
||||
exit();
|
||||
} else $html_to_out .= "<b>".$er."</b><br><br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$html_to_out .= "<b>".$w_pr_title."</b>
|
||||
<form method=\"post\" action=\"".$chat_url."change_password.php\">
|
||||
<input type=\"hidden\" name=\"key\" value=\"".$key."\">
|
||||
<input type=\"hidden\" name=\"op\" value=\"change\">
|
||||
<table>
|
||||
<tr><td>".$w_new_password.": </td><td><input type=\"password\" name=\"password\" class=\"input\"></td></tr>
|
||||
<tr><td>".$w_confirm_password.": </td><td><input type=\"password\" name=\"password2\" class=\"input\"></td></tr>
|
||||
<tr><td></td><td><input type=\"submit\" value=\"".$w_update."\" class=\"input\"></td></tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
require($file_path."designes/".$default_design."/output_page.php");
|
||||
?>
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
#to determine design:
|
||||
include($engine_path."users_get_list.php");
|
||||
|
||||
|
||||
include($file_path."designes/".$design."/comments.php");
|
||||
?>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
require_once("inc_common.php");
|
||||
#for determining design:
|
||||
include($engine_path."users_get_list.php");
|
||||
set_variable("name");
|
||||
set_variable("email");
|
||||
set_variable("comment");
|
||||
|
||||
$name = urlencode($name);
|
||||
// \@ is in admin_mail for perl
|
||||
$success = mail(str_replace("\\@","@",$admin_mail), "comments from chat",
|
||||
"From: $name\nEMail: $email\n--------\n$comment\n",
|
||||
"From: <$email>\nReturn-Path: $admin_mail\n
|
||||
Content-Type: text/plain;\n".
|
||||
"Content-type: text/plain; ".(($charset!="") ? "charset=".$charset:"" )."\n".
|
||||
"Content-Transfer-Encoding: 8bit");
|
||||
if ($success) $info_message = $w_feed_sent_ok;
|
||||
else $info_message = $w_feed_error;
|
||||
include($file_path."designes/".$design."/comments_send.php");
|
||||
?>
|
||||
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 158 B |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 584 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 998 B |
|
Before Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 908 B |
|
Before Width: | Height: | Size: 385 B |
|
Before Width: | Height: | Size: 419 B |
|
Before Width: | Height: | Size: 163 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 94 B |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 331 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 922 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 939 B |
|
Before Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 884 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 851 B |
|
Before Width: | Height: | Size: 222 B |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 378 B |
|
Before Width: | Height: | Size: 284 B |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 593 B |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 725 B |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 587 B |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 379 B |
|
Before Width: | Height: | Size: 871 B |
|
Before Width: | Height: | Size: 375 B |
|
Before Width: | Height: | Size: 275 B |
|
Before Width: | Height: | Size: 234 B |
|
Before Width: | Height: | Size: 452 B |
|
Before Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 915 B |
|
Before Width: | Height: | Size: 222 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 819 B |
|
Before Width: | Height: | Size: 877 B |
|
Before Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,2 +0,0 @@
|
||||
just to be shure that this directory will be created by UnPack-progra
|
||||
You can remove this file
|
||||
|
Before Width: | Height: | Size: 338 B |