Файл: lg.php
Строк: 434
<script type="text/javascript" src="js/s5_box_hide_div.js"></script>
<div class="moduletable-s5_box">
<div class="s5boxhidden"><div id="s5box_three">
<div class="module">
<div>
<div>
<div>
<?
$user=$userdata['user'];
$sql=mysql_query("select*from ".$db_pref."users where user='$user'");
$row=mysql_fetch_array($sql);
if($matrix=='YES'){
$p1=$row['parent'];
$p2=$row['parent2'];
$p3=$row['parent3'];
$p4=$row['parent4'];
$p5=$row['parent5'];
$p6=$row['parent6'];
$p7=$row['parent7'];
$p8=$row['parent8'];
$p9=$row['parent9'];
$p10=$row['parent10'];
}
else
{
$p1=$row['parent'];
$p2=$row['parent2'];
$p3=$row['parent3'];
$p4=$row['parent4'];
$p5=$row['parent'];
$p6=$row['parent2'];
$p7=$row['parent3'];
$p8=$row['parent4'];
}
$sql=mysql_query("select*from ".$db_pref."users where user='$p1'");
$row=mysql_fetch_array($sql);
$email=$row['email'];
$sql1=mysql_query("select*from ".$db_pref."pays");
$row1=mysql_fetch_array($sql1);
$urovni=$row1['urovni'];
?>
<div align="center">
<div class="s5_mod_h3_l">
<div class="s5_mod_h3_r">
<div class="s5_mod_h3_m">
<h3 class="s5_mod_h3"><span class="s5_h3_first">
<?=$lang['kurators'];?>
</span></h3>
</div>
</div>
</div>
</div>
<TABLE class="form" width=95% height=100% border="0" align=center cellpadding="2" cellspacing="2">
<TR class="form_title" height=18 align=center>
<TD width=120><?=$lang['kurators1'];?></TD>
<TD width=150><?=$lang['kurators2'];?></TD>
<TD width=250>Skype</TD>
<TD width=250>ICQ</TD>
<TD width=250><?=$lang['kurators3'];?></TD>
<TD width=150><?=$lang['kurators4'];?></TD>
<TR onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height=18 align=center>
<TD>1</TD>
<TD><?=$p1;?></TD>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<TD><a href="mailto:<?=$email;?>"><?=$email;?></a></TD>
<TD><?=$lang['kurators1'];?>
<?=$row['rang'];?>
</TR>
<?if($mat>=2){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height=18 align=center>
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p2'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<TD>2</TD>
<TD><?=$p2;?></TD>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<TD><a href="mailto:<?=$email;?>">
<?=$email;?>
</a></TD>
<TD><?=$lang['kurators1'];?>
<?=$row['rang'];?>
</TR>
<?}if($mat>=3){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height=18 align=center>
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p3'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<TD>3</TD>
<TD><?=$p3;?></TD>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<TD><a href="mailto:<?=$email;?>">
<?=$email;?>
</a></TD>
<TD><?=$lang['kurators1'];?>
<?=$row['rang'];?>
</TR>
<?}if($mat>=4){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height=18 align=center>
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p4'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<TD>4</TD>
<TD><?=$p4;?></TD>
<TD>
<a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a>
</TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<TD><a href="mailto:<?=$email;?>">
<?=$email;?>
</a></TD>
<TD><?=$lang['kurators1'];?>
<?=$row['rang'];?>
</TD>
</TR>
<?}if($mat>=5){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p5'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">5</td>
<td align="center"><?=$p5;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}if($mat>=6){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p6'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">6</td>
<td align="center"><?=$p6;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}if($mat>=7){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p7'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">7</td>
<td align="center"><?=$p7;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}if($mat>=8){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p8'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">8</td>
<td align="center"><?=$p8;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}if($mat>=9){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p9'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">9</td>
<td align="center"><?=$p9;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}if($mat>=10){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" height="18" align="center">
<? $sql=mysql_query("select*from ".$db_pref."users where user='$p10'");
$row=mysql_fetch_array($sql);
$email=$row['email'];?>
<td align="center">10</td>
<td align="center"><?=$p10;?></td>
<TD><a href="skype:<?=$row['skype'];?>?chat"><?=$row['skype'];?></a></TD>
<TD><a href=""><?=$row['icq'];?></a></TD>
<td align="center"><a href="mailto:<?=$email;?>"><?=$email;?></a></td>
<td align="center"><?=$lang['kurators1'];?> <?=$row['rang'];?></td>
</tr>
<?}?>
</table>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="s5boxhidden">
<div id="s5box_one">
<div align="center">
<div class="s5_mod_h3_l">
<div class="s5_mod_h3_r">
<div class="s5_mod_h3_m">
<h3 class="s5_mod_h3"><span class="s5_h3_first">
<?=$lang['order_info'];?>
</span></h3>
</div>
</div>
</div>
</div>
<TABLE class="form" width=100% height=100% border="0" align=center cellpadding="5" cellspacing="2">
<TR class="form_title" height=18 align=center>
<TD width=90><?=$lang['order_info2'];?></td>
<TD width=150><?=$lang['order_info3'];?></td>
<TD width=120>Skype</td>
<TD width=120>E-mail</td>
<?if($sistem=="webmoney"){?>
<TD width=120><?=$lang['order_info4'];?></td>
<?}?>
<TD width=100><?=$lang['order_info5'];?></td>
<TD width=100><?=$lang['mail23'];?></td>
</tr>
<TR height=18 align=center>
<?
$sql=mysql_query("select*from ".$db_pref."neworders where name='$user'");
$row=mysql_fetch_array($sql);
$sname=$row['sname'];
$protect=$row['protect'];
$date=$row['date'];
$sistem_pay=$row['sistem_p'];
$sql=mysql_query("select*from ".$db_pref."users where user='$sname'");
$row=mysql_fetch_array($sql);
$email=$row['email'];
$skype=$row['skype'];
$icq=$row['icq'];
$wm=$row['wm'];
$alertpay_multi_p=$row['alertpay'];
$perfektmoney_multi_p=$row['perfektmoney'];
?>
<TD height="19"><?=$sname;?></td>
<TD height="19">
<?
if(($sistem=='multi') and ($sistem_pay==1)){
echo"<img src='images/l.ico' alt='' width='13' height='13' border='0' align='middle'> $wm";
}
elseif(($sistem=='multi') and ($sistem_pay==2)){
echo"<img src='images/a.ico' alt='' width='13' height='13' border='0' align='middle'> $alertpay_multi_p";
}
elseif(($sistem=='multi') and ($sistem_pay==3)){
echo"<img src='images/p.ico' alt='' width='13' height='13' border='0' align='middle'> $perfektmoney_multi_p";
}else{
echo"$wm";
}
?>
</TD>
<TD height="19"><?=$skype;?>
</TD>
<TD height="19"><?=$email;?>
</TD>
<?if($sistem=='webmoney'){?>
<TD height="19"><?=$protect;?>
</TD>
<?}?>
<TD height="19"><?=$date;?>
</TD>
<TD height="19">
<form method="post" action="account.php" name="del_order_Form">
<INPUT name="del_order" type="hidden" value="del_order">
</form>
<a href='javascript:document.del_order_Form.submit();' title=""><img align="middle" src="images/buttons/del.gif" alt="" width="22" height="18" border="0"></a>
</TD>
</TR>
<?if($sistem=='multi'){?>
<tr>
<td colspan="7"align="center" >
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div></div>
<img src="images/a.ico" alt="" width="18" height="18" border="0" align="middle"> = AlertPay
<img src="images/p.ico" alt="" width="18" height="18" border="0" align="middle"> = PerfektMoney
<img src="images/l.ico" alt="" width="18" height="18" border="0" align="middle"> = LibertyReserve
</TD>
</TR>
<?}?>
</table>
</div>
</div>
<div class="s5boxhidden"><div id="s5box_login">
<div class="module">
<div>
<div>
<div>
<h3><?=$lang['hader7'];?></h3>
<form action="login.php" method="post" name="loginForm" id="form-login" >
<fieldset class="input">
<table>
<tr>
<th align="center" >
<p id="form-login-username">
<label for="modlgn_username"><?=$lang['hader5'];?></label><br />
<input id="modlgn_username" type="text" name="login" class="inputbox" alt="username" size="18" />
</p>
</th>
<th align="center">
<p id="form-login-password">
<label for="modlgn_passwd"><?=$lang['hader6'];?></label><br />
<input id="modlgn_passwd" type="password" name="password" class="inputbox" size="18" alt="password" />
</p>
</th></tr><tr>
<th colspan align="left">
<a href="pass.php"><?=$lang['hader8'];?></a>
<br>
<a href="registr.php"><?=$lang['reg1'];?></a>
<br><br><input type="submit" name="Submit" class="button" value="..:: <?=$lang['hader7'];?> ::.." />
</fieldset>
<input type="hidden" name="not_attach_ip" value="12" />
<input type="hidden" name="status" value="" />
</th>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div></div>
<div class="s5boxhidden"><div id="s5box_register">
<div class="module">
<div>
<div>
<div>
<h3><?=$lang['reg1'];?></h3>
<?
$parent=$_COOKIE["parent"];
$sql1=mysql_query("select*from ".$db_pref."sysvals");
$row1=mysql_fetch_array($sql1);
$lang['profiles1']=str_replace("{wm}",$row1['currency'],$lang['profiles1']);
?>
<form METHOD=POST ACTION="registr.php">
<div style="float:left;width:108px;line-height:31px;">
<label for="name" id="namemsg">
<font color="red">*</font><?=$lang['reg2'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="10" class="inputbox" value="" size="40" id="name" name="login1"/>
</div>
<div style="clear:both;"></div>
<div style="float:left;width:108px;line-height:31px;">
<label for="email" id="email">
<font color="red">*</font><?=$lang['reg3'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="30" class="inputbox" value="" size="40" name="email" id="email"/>
</div>
<div style="clear:both;"></div>
<?
if($sistem=='webmoney'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="wm" id="wm">
<font color="red">*</font> <?=$lang['profiles1'];?>
</label>
</div>
<div style="float:left;">
<font color="gren"><b>+</b></FONT><input type="text" maxlength="13" class="inputbox" value="" size="39" id="liqpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<?}
if($sistem=='liqpay'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="red">*</font><?=$lang['profiles2'];?>
</label>
</div>
<div style="float:left;">
<font color="gren"><b>+</b></FONT><input type="text" maxlength="13" class="inputbox" value="" size="39" id="liqpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<?}
if($sistem=='alertpay'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="alertpay" id="alertpay">
<font color="red">*</font><?=$lang['profiles19'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="35" class="inputbox" value="" size="40" id="alertpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<?}
if($sistem=='liberty'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="red">*</font><?=$lang['profiles18'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="8" class="inputbox" value="<?=$row1['currency'];?>" size="40" id="liqpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<?}
if($sistem=='perfekt'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="red">*</font><?=$lang['profiles20'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="8" class="inputbox" value="<?=$row1['currency'];?>" size="40" id="liqpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<?}
if($sistem=='multi'){
?>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="green">*</font><?=$lang['profiles18'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="8" class="inputbox" value="<?//=$row1['currency'];?>" size="40" id="liqpay" name="wm"/>
</div>
<div style="clear:both;"></div>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="green">*</font><?=$lang['profiles19'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="35" class="inputbox" value="<?//=$row1['currency'];?>" size="40" id="liqpay" name="wm_li"/>
</div>
<div style="clear:both;"></div>
<div style="float:left;width:108px;line-height:31px;">
<label for="liqpay" id="liqpay">
<font color="green">*</font><?=$lang['profiles20'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="8" class="inputbox" value="<?//=$row1['currency'];?>" size="40" id="liqpay" name="wm_perf"/>
</div>
<div style="clear:both;"></div>
<?}?>
<div style="float:left;width:108px;line-height:31px;">
<label for="icq" id="icq">
<?=$lang['reg12'];?>
</label>
</div>
<div style="float:left;">
<input type="text" maxlength="20" class="inputbox" value="" size="40" name="icq" id="icq"/>
</div>
<div style="clear:both;"></div>
<div style="float:left;width:108px;line-height:31px;">
<label for="skype" id="skype">
<?=$lang['reg13'];?>
</label>
</div>
<div style="float:left;">
<input type="text" value="" size="40" name="skype" id="skype" class="inputbox"/>
</div>
<div style="clear:both;"></div>
<?if($no_ref=="NO"){?>
<div style="float:left;width:108px;line-height:31px;">
<label for="parent" id="parent">
<?=$lang['reg4'];?>
</label>
</div>
<div style="float:left;">
<input type="text"
<? if(isset($parent1)):?>
disabled value='<?=$_GET['ref'];?>'<?endif;?>
<? if(isset($parent)):echo "disabled value='$parent'";
endif;?>size="40" name="parent" id="parent" class="inputbox"/>
</div>
<?}?>
<div style="clear:both;"></div>
<div style="float:left;width:108px;line-height:31px;">
<label for="code" id="code">
<font color="red">*</font><?=$lang['reg5'];?>
</label>
</div>
<div style="float:left;">
<img src="turimg.php"> <input type="text" value="" size="29" name="code" id="code" class="inputbox required validate-passverify"/>
</div>
<div style="clear:both;"></div>
<div style="float:left;width:208px;line-height:31px;">
<label for="code" id="code">
<a href="rules.php" target="_blank"><b><?=$lang['reg8'];?></b></a> <input type="checkbox" name="rules"></label>
</div>
<div style="clear:both;"></div>
<?=$lang['reg7'];?>
<?
if($sistem=='multi'){
echo"<BR>".$lang['reg36']."";
}?>
<br/><br/>
<button type="submit" name="submit" class="button validate"> ..::<?=$lang['reg1'];?>::.. </button>
<button type="reset" class="button validate"> ..::<?=$lang['reg6'];?>::.. </button>
</div>
</div>
</div>
</div>
</div>
</div>