Файл: index.php
Строк: 476
<?
$urlpage='Главная страница';
include("header.php");
?>
<?
if($flash==YES){
?>
<div align="center" id="s5_right_above_body_3">
<div id="s5_right_above_body_3_inner">
<div class="module_round_box">
<div>
<div>
<div>
<?php if ($pretext != "") { ?>
<div class="s5_mod_h3_l">
<div class="s5_mod_h3_r">
<div class="s5_mod_h3_m">
<h3 align="center" class="s5_mod_h3"><span class="s5_h3_first">
<?=$pretext;?>
</span></h3>
</div>
</div>
</div>
<?php } ?>
<script type="text/javascript" src="mediaplayer/library/script.js"></script>
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
'width', '<?php echo $f_width ?>',
'height', '<?php echo $f_height ?>',
'src', '<?php if ($f_lightdark == "dark") { ?>videoPlayer<?php } ?><?php if ($f_lightdark == "light") { ?>videoPlayerLight<?php } ?>',
'quality', 'high',
'pluginspname', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'false',
'loop', 'true',
'scale', 'showall',
'wmode', 'opaque',
'devicefont', 'false',
'id', 'videoPlayer',
'bgcolor', '#<?php echo $f_mpbgcolor ?>',
'name', 'videoPlayer',
'menu', 'true',
'allowFullScreen', 'true',
'allowScriptAccess','sameDomain',
'FlashVars','playlistURL=playlist.xml',
'movie', 'http://<?=$_SERVER[HTTP_HOST];?>/mediaplayer/<?php if ($f_lightdark == "dark") { ?>videoPlayer<?php } ?><?php if ($f_lightdark == "light") { ?>videoPlayerLight<?php } ?>',
'salign', ''
); //end AC code
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="<?php echo $f_width ?>" height="<?php echo $f_height ?>" id="videoPlayer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://<?=$_SERVER[HTTP_HOST];?>/modules/mod_s5_mediaplayer/<?php if ($f_lightdark == "dark") { ?>videoPlayer.swf<?php } ?><?php if ($f_lightdark == "light") { ?>videoPlayerLight.swf<?php } ?>" />
<param name="quality" value="high" />
<param name="FlashVars" value="playlistURL=playlist.xml" />
<param name="bgcolor" value="#<?php echo $f_mpbgcolor ?>" />
<script type="text/javascript">//<![CDATA[
document.write('<embed src="http://<?=$_SERVER[HTTP_HOST];?>/modules/mod_s5_mediaplayer/<?php if ($f_lightdark == "dark") { ?>videoPlayer.swf<?php } ?><?php if ($f_lightdark == "light") { ?>videoPlayerLight.swf<?php } ?>" quality="high" FlashVars="playlistURL=playlist.xml" bgcolor="#<?php echo $f_mpbgcolor ?>" width="<?php echo $f_width ?>" height="<?php echo $f_height ?>" name="videoPlayer" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspname="http://www.adobe.com/go/getflashplayer" />');
//]]></script>
</object>
</noscript>
</div>
</div>
</div>
</div>
</div>
</div>
<?
}
?>
<?if($no_ref=="YES"){?>
<table width="95%" class="form"><tr><th>
<p align="center">
<span class="s5_h3_first">
Следующий на очереди участник который получит автоматически реферала:
</span>
<br>
<br>
<?
echo$parent= registr_matrix($parent);
?>
</p>
</th></tr></table>
<br>
<?}?>
<div class="s5_mod_h3_l">
<div class="s5_mod_h3_r">
<div class="s5_mod_h3_m">
<h3 align="center" class="s5_mod_h3">
<span class="s5_h3_first">
<?=$lang['index5'];?>
</span></h3>
</div>
</div>
</div>
<?
require ("inc/connect.inc.php");
$sql=mysql_query("select*from ".$db_pref."sysvals");
$row1=mysql_fetch_array($sql);
$currency=$row1['currency'];
$sql2=mysql_query("select*from ".$db_pref."pays");
$row=mysql_fetch_array($sql2);
// $db_connect->connect();
$tabla = mysql_query("SELECT * FROM ".$db_pref."text_index WHERE lang='$text' ORDER BY sort ASC limit 10");
while ($registro = mysql_fetch_array($tabla)) {
$index=$registro['text_index'];
$index=str_replace("{sitename}",$row['name_title'],$index);
$index=str_replace("{exchange}",$money,$index);
$index=str_replace("{pay}",$row['pay'],$index);
?>
<TABLE width=95% align=center cellPadding=0 cellSpacing=0><TBODY>
<TR><TD width='1%'><IMG src='images/1.png' width=14 height=14 border=0></TD><TD width='96%' background='images/5.png'></TD><TD width='1%'><IMG src='images/3.png' width=14 height=14 border=0></TD></TR>
<TR><TD background='images/4.png'></TD>
<TD background='images/10.png'>
<?=$index;?>
</TD>
<TD background='images/6.png'> </TD>
</TR><TR><TD><IMG src='images/8.png' width=14 height=14 border=0></TD><TD background='images/2.png'></TD><TD><IMG src='images/9.png' width=14 height=14 border=0></TD></TR>
</TBODY></TABLE>
<?}?>
<br>
<!--
<a name="rek"></a>
<?
if(in_array(@$_COOKIE['langu'], array('ru','lv','en'))):
{
include('language/marketing-'.$_COOKIE["langu"].'.php');
}
else:
include('language/marketing-'.$deflangu.'.php');
endif;
?>
-->
<div align="center">
<?
if($matrix=="YES"){
?>
<table class="form6" width="95%" border="0" align="center" cellpadding="0" cellspacing="3">
<tr class="form_title">
<td align="center" class="tableheader"><?=$lang['account4'];?></td>
<td align="center" class="tableheader"><?=$lang['index2'];?></td>
<td align="center" class="tableheader"><?=$lang['account8'];?></td>
<td align="center" class="tableheader"><?=$lang['index'];?></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" >
<td class="form3" align="center">1.</td>
<td class="form3" align="center"><?=$row['pay'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult1";?> <small><?=$money;?></small></td>
</tr>
<?if($mat>=2){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" >
<td class="form3" align="center">2.</td>
<td class="form3" align="center"><?=$row['pay2'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref2;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult2";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=3){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">3.</td>
<td class="form3" align="center"><?=$row['pay3'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref3;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult3";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=4){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">4.</td>
<td class="form3" align="center"><?=$row['pay4'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref4;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult4";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=5){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">5.</td>
<td class="form3" align="center"><?=$row['pay5'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref5;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult5";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=6){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">6.</td>
<td class="form3" align="center"><?=$row['pay6'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref6;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult6";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=7){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">7.</td>
<td class="form3" align="center"><?=$row['pay7'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref7;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult7";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=8){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">8.</td>
<td class="form3" align="center"><?=$row['pay8'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref8;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult8";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=9){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">9.</td>
<td class="form3" align="center"><?=$row['pay9'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref9;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult9";?> <small><?=$money;?></small></td>
</tr>
<?}if($mat>=10){?>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">10.</td>
<td class="form3" align="center"><?=$row['pay10'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref10;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult10";?> <small><?=$money;?></small></td>
</tr>
<?}?>
<tr class="form_title">
<td align="right" colspan="4"><i><?=$lang['index3'];?>:</i> <font color="gren"><? echo "$total";?> <small><?=$money;?></small></font> </td>
</tr>
</table>
<?
}else{
?>
<table class="form6" width="95%" border="0" align="center" cellpadding="0" cellspacing="3">
<tr class="form_title">
<td align="center" class="tableheader"><?=$lang['account4'];?></td>
<td align="center" class="tableheader"><?=$lang['index2'];?></td>
<td align="center" class="tableheader"><?=$lang['account8'];?></td>
<td align="center" class="tableheader"><?=$lang['index'];?></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" >
<td class="form3" align="center">1.</td>
<td class="form3" align="center"><?=$row['pay'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult1";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';" >
<td class="form3" align="center">2.</td>
<td class="form3" align="center"><?=$row['pay2'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref2;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult2";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">3.</td>
<td class="form3" align="center"><?=$row['pay3'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref3;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult3";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">4.</td>
<td class="form3" align="center"><?=$row['pay4'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref4;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult4";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">5.</td>
<td class="form3" align="center"><?=$row['pay5'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult5";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">6.</td>
<td class="form3" align="center"><?=$row['pay6'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref2;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult6";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">7.</td>
<td class="form3" align="center"><?=$row['pay7'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref3;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult7";?> <small><?=$money;?></small></td>
</tr>
<tr onMouseOver="this.style.background='#000000';" onMouseOut="this.style.background='';">
<td class="form3" align="center">8.</td>
<td class="form3" align="center"><?=$row['pay8'];?> <small><?=$money;?></small></td>
<td class="form3" align="center"><?=$mat_ref4;?> - <?=$lang['index1'];?>.</td>
<td class="form3" align="center"><? echo "$rezult8";?> <small><?=$money;?></small></td>
</tr>
<tr class="form_title">
<td align="right" colspan="4"><i><?=$lang['index3'];?>:</i> <font color="gren"><? echo "$total";?> <small><?=$money;?></small></font> </td>
</tr>
</table>
<?}?>
<br>
<table width="95%" class="form"><tr><th> <div class="<?=$moduletable;?>">
<p align="center"><?=$lang['index4'];?></p></div> </th></tr></table>
</div>
<?
include("footer.php");
?>