- 001
- 002
- 003
- 004
- 005
- 006
- 007
- 008
- 009
- 010
- 011
- 012
- 013
- 014
- 015
- 016
- 017
- 018
- 019
- 020
- 021
- 022
- 023
- 024
- 025
- 026
- 027
- 028
- 029
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 039
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 053
- 054
- 055
- 056
- 057
- 058
- 059
- 060
- 061
- 062
- 063
- 064
- 065
- 066
- 067
- 068
- 069
- 070
- 071
- 072
- 073
- 074
- 075
- 076
- 077
- 078
- 079
- 080
- 081
- 082
- 083
- 084
- 085
- 086
- 087
- 088
- 089
- 090
- 091
- 092
- 093
- 094
- 095
- 096
- 097
- 098
- 099
- 100
$rsm = mysql_query("select * from ussersmatrices where ID=$mid");
$arrm = mysql_fetch_array($rsm);
$forcedussersmatrix = $arrm[5];
$refbonus = $arrm[84];
$refbonuspaid = $arrm[83];
$payouttype = $arrm[6];
$btlevsbonus = $arrm[7];
$matchingbonus = $arrm[8];
$level1 = $arrm[9];
$level2 = $arrm[10];
$level3 = $arrm[11];
$level4 = $arrm[12];
$level5 = $arrm[13];
$level6 = $arrm[14];
$level7 = $arrm[15];
$level8 = $arrm[16];
$level9 = $arrm[17];
$level10 = $arrm[18];
$level1m = $arrm[19];
$level2m = $arrm[20];
$level3m = $arrm[21];
$level4m = $arrm[22];
$level5m = $arrm[23];
$level6m = $arrm[24];
$level7m = $arrm[25];
$level8m = $arrm[26];
$level9m = $arrm[27];
$level10m = $arrm[28];
$level1c = $arrm[29];
$level2c = $arrm[30];
$level3c = $arrm[31];
$level4c = $arrm[32];
$level5c = $arrm[33];
$level6c = $arrm[34];
$level7c = $arrm[35];
$level8c = $arrm[36];
$level9c = $arrm[37];
$level10c = $arrm[38];
$level1cm = $arrm[39];
$level2cm = $arrm[40];
$level3cm = $arrm[41];
$level4cm = $arrm[42];
$level5cm = $arrm[43];
$level6cm = $arrm[44];
$level7cm = $arrm[45];
$level8cm = $arrm[46];
$level9cm = $arrm[47];
$level10cm = $arrm[48];
$textcreditsentry = $arrm[49];
$bannercreditsentry = $arrm[50];
$textcreditscycle = $arrm[51];
$bannercreditscycle = $arrm[52];
$reentry = $arrm[53];
$reentrynum = $arrm[54];
$entry1 = $arrm[55];
$entry1num = $arrm[56];
$btlevsid1 = $arrm[57];
$entry2 = $arrm[58];
$entry2num = $arrm[59];
$btlevsid2 = $arrm[60];
$entry3 = $arrm[61];
$entry3num = $arrm[62];
$btlevsid3 = $arrm[63];
$entry4 = $arrm[64];
$entry4num = $arrm[65];
$btlevsid4 = $arrm[66];
$entry5 = $arrm[67];
$entry5num = $arrm[68];
$btlevsid5 = $arrm[69];
$welcomemail = $arrm[70];
$subject1 = stripslashes($arrm[71]);
$message1 = stripslashes($arrm[72]);
$eformat1 = $arrm[73];
$cyclemail = $arrm[74];
$subject2 = stripslashes($arrm[75]);
$message2 = stripslashes($arrm[76]);
$eformat2 = $arrm[77];
$cyclemailsponsor = $arrm[78];
$subject3 = stripslashes($arrm[79]);
$message3 = stripslashes($arrm[80]);
$eformat3 = $arrm[81];
$f1 = $forcedussersmatrix;
$f2 = $forcedussersmatrix * $forcedussersmatrix;
$f3 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f4 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f5 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f6 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f7 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f8 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f9 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
$f10 = $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix * $forcedussersmatrix;
if ($levels == 1) $fquery = "Level1<$forcedussersmatrix";
elseif ($levels == 2) $fquery = "Level2<$f2";
elseif ($levels == 3) $fquery = "Level3<$f3";
elseif ($levels == 4) $fquery = "Level4<$f4";
elseif ($levels == 5) $fquery = "Level5<$f5";
elseif ($levels == 6) $fquery = "Level6<$f6";
elseif ($levels == 7) $fquery = "Level7<$f7";
elseif ($levels == 8) $fquery = "Level8<$f8";
elseif ($levels == 9) $fquery = "Level9<$f9";