Original Module More or Less for Zend-Loto Lottery.

The original Module More or Less for the Zend-Loto lottery from the author.

The user specifies the size of the bet, the chance of winning, selects a gap of more or less.

A number is generated in advance from 0 to 99,999.

If the number is within the range that he chooses, then wins.

If he loses, then part of the money goes to the cashier, part to his three sponsors (referrers) and the admin.

The module has its own cashier, which does not work in the negative.

That is, if the cashier does not have enough money to win, then the user loses so that the cashier replenishes.

There is a win sound.

There is a switch to the mobile version.

The list of recent games is scrolled and updated without reloading the page.

It is possible to show the chance of winning in the form of strips and just numbers.

It is possible to show and hide game numbers.

It is possible to show and hide how much the user has earned.

In your personal account you can see how much you set and won.

In the admin there are statistics on this module.

Installation instructions in the archive.

Module settings:

$ ms_items = 15; // HOW MANY LAST GAMES TO DISPLAY

$ ms_nstyle = 1; // 1 - SHOW THE NUMBER OF LAST GAMES. 0 - DO NOT SHOW

$ ms_cstyle = 0; // HOW TO DISPLAY THE CHANCE IN LAST GAMES. 0 - STRIP. 1 - NUMBERS

$ ms_bstyle = 4; // HOW MUCH SIGNS AFTER THE PARTIAL SHOW IN THE BALANCE. 2 or 4

$ ms_rstyle = 1; // 1 - DISPLAY HOW MUCH EARNED. 0 - NO

$ ms_limit = 5000; // IF THE BET IS MORE THAN THIS SUM, THEN WILL BE LOST. 0 - DISABLE

$ ms_small = 25; // MINIMUM CHANGE PERCENT (FULL NUMBERS FROM 1 TO 99)

$ ms_big = 85; // MAXIMUM PERCENT CHANCE (WHOLE NUMBERS FROM 1 TO 99)

$ ms_min = 0.01; // MINIMUM BET FROM 0.01 AND ABOVE

$ ms_max = 1500.00; // MAXIMUM BET FROM 0.01 AND ABOVE

$ ms_admin = 12; // HOW MUCH PERCENTAGES FROM THE AMOUNT LOST GOES TO ADMIN

$ ms_r_1 = 5; // HOW MUCH INTEREST FROM THE SUM OF LOST GOES TO THE REFINER (SPONSOR) OF THE 1ST LEVEL

$ ms_r_2 = 2; // HOW MUCH INTEREST FROM THE SUM OF LOST GOES TO THE REFINEREE (SPONSOR) OF THE 2nd LEVEL

$ ms_r_3 = 1; // HOW MUCH INTEREST FROM THE SUM OF LOST GOES TO THE REFINEREE (SPONSOR) OF THE 3rd LEVEL