Annual meeting lottery software

Source: Internet
Author: User

Everyone should be idle when the Chinese New Year is approaching. At the request of a certain annual meeting, such a lucky draw software is required to implement the following functions:

1. You can set awards, first prize, second prize, and third prize ...... .

2. When you click a lucky draw, you can play a picture at random. The lottery is conducted in sequence.

3. the lottery is divided into multiple groups. Each group has different people and different awards. The winners cannot join the lottery.

4. For each group, if there are three in group A and three in group B, if Michael wins in group A, no one can win in group B.

5. Some personalized settings, such as personnel import, award hiding, background image, music configuration, full screen switching, etc.

Bytes -------------------------------------------------------------------------------------------------

So I downloaded a lucky draw software from the Internet and changed it into a software.

Due to the rush of time, there were not too many fancy interfaces and too many designs. There are three tables:

User: stores user information, including the ID, name, image, and GID fields.

Prize table (prize): stores award information, main fields such as ID, key, value, sort, count, and GID.

The prize group table (prizegroup) stores the information of the award group, the main field ID, name

 

The software idea is to use a timer to generate random numbers to generate names and images.

Ask me if you don't know. Software is another software decompiled, soCodeIf it is messy, it will not be uploaded.

Interface

Bytes --------------------------------------------------------------------------------------------------

The format of imported data is Excel. The first column is ID number, 1, 2, 3, 4, 5 .... The second column is name, Zhang San, Li Si .....

Imported images can be a single import or batch import, in the format of zhangsan.jpg and lisi.jpg ....

 

Software

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.