It would be great If MIKROTIK adds feature in USER MANAGER (UM)
of adding serial numbers with each ID, So that we can print voucher
with serial numbers, and can search ids by corresponding serial number.
I have customized the following vouchers but unable to add serial number.
I am working on MS ACCESS program to import ids passwds from .CSV file ,
then print it using my customized templates and add serial number to
each id and store it in its database to prevent Duplication, and also
add search function by serial. I will publish it soon.
First login to your user manager e.g http://192.168.2.1/userman
Now to use the template, goto Settings / Templates and in ROW section box, select all and delete , now paste the complete template in this box. and click on SAVE button.
Now we will add Batch Users (Add Users in Bulk).
Goto Users / Add / Batch Users. Select your desired options and click on ADD.
Now we will Generate Voucher file to print. (html format)
(See Following Image)
Click on DOWNLOAD AS FILE and click Generate. It will then download the vouchers.html file and you can print it.
Following is the Template Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>User Manager Voucher Page - By Syed Jahanzaib aacable@hotmail.com</title> <meta name="description" content="User Manager Voucher Page - By Syed Jahanzaib aacable@hotmail.com"> <meta name="Microsoft Theme" content="none, default"> </head> <body background="http://192.168.2.3/background_compass.gif" topmargin="5" leftmargin="5" style="background-attachment: fixed"> <table
style="color: black; font-size: 11px;" border="2" align="left"
width="286" height="300" cellspacing="0" cellpadding="0" id="table1">
<tr> <td colspan="2" height="69"> <p align="center"> <font size="1"> <img border="0" src="http://192.168.2.3/nae.jpg" width="107" height="67"></font></p> </td> </tr> <tr height="5px"> <td colspan="2"> <p align="center"><u><b><font color="#0000FF" size="3">Package: %u_actualProfileName%</font></b></u></td></tr> <tr> <font size="2" face="Arial"> <td> <p align="center"><font size="2" face="Arial Black">Price</font></td> </font> <td> <p align="center"><font size="2" face="Arial Black" color="#FF0000">%u_moneyPaid%</font></td> </tr> <tr> <td> <font size="2" face="Arial Black"> <p align="center">Prepaid time:</td> <td> <p
align="center"><font color="#FF0000" face="Arial Black"
size="2"><b>%u_timeLeft%</b></font></td> </tr> <tr> <td> <font size="2" face="Arial Black"> <p align="center">Login:</td> <td> <p align="center"><font color="#FF0000"><b> <font size="2" face="Arial Black">%u_username%</font></b></font></td> </tr> <tr> <font size="2" face="Arial"> <td> <p align="center"><font size="2" face="Arial Black">Password:</font></td> <td> <p align="center"> <font
face="Arial Black" color="#FF0000"><b><font
size="2">%u_password%</font></b></font></td>
</font> </tr> <tr height="20px"> <td colspan="2"> <p align="center"><b><u><font size="2" color="#0000FF">~ Howto Use This Voucher ~</font></u><font color="#008000" size="2"><u><br> </u></font></b><font size="2" color="#008000">Please open <a href="http://ftp.local">http://ftp.local</a> and download <br> aa-dialer.exe & install it. After installation its icon will appear on Desktop. Double click on it, and use the above mentioned ID and Password to connect to the internet .<br> </font><font size="2" face="Arial Black" color="#FF0000">This ID will expire in 30 days after its first usage.</font><font size="2" color="#008000"><br> </font><b><font
size="2">Thank You For Choosing
AA~Services</font></b></td></tr> <tr> <td colspan="2" align="right" height="50"> <p align="center"><b><font size="1">AA Network Services</font></b><font size="1"><br> Support : 92.333.3021909<br> Email aacable@hotmail.com<br> Web <a href="http://aacable.com">http://aacable.wordpress.com</a> </font></td> </tr> </table> </body> </html> |
0 comments:
Post a Comment