Unified Captcha
This commit is contained in:
+2
-13
@@ -1,4 +1,4 @@
|
||||
const sml = new Array("p001", 18, 18, "p002", 15, 15, "p003", 22, 15, "p004", 15, 15, "p005", 20, 20, "p006", 31, 28, "p007", 15, 15,
|
||||
const sml = ["p001", 18, 18, "p002", 15, 15, "p003", 22, 15, "p004", 15, 15, "p005", 20, 20, "p006", 31, 28, "p007", 15, 15,
|
||||
"p008", 21, 22, "p009", 28, 24, "p010", 28, 21, "p011", 62, 28, "p012", 15, 21, "p013", 15, 19, "p014", 15, 15, "p015", 16, 16, "p016", 15, 15,
|
||||
"p017", 21, 15, "p018", 15, 21, "p019", 42, 23, "p020", 26, 25, "p021", 25, 27, "p022", 26, 26, "p023", 26, 27, "p024", 27, 22, "p025", 26, 28,
|
||||
"p026", 15, 15, "p027", 19, 17, "p028", 15, 18, "p029", 15, 15, "p030", 49, 18, "p031", 37, 15,
|
||||
@@ -17,7 +17,7 @@ const sml = new Array("p001", 18, 18, "p002", 15, 15, "p003", 22, 15, "p004", 15
|
||||
"p102", 31, 36, "p103", 30, 35, "p104", 32, 32, "p105", 45, 45, "p106", 50, 35, "p107", 45, 41,
|
||||
"p108", 31, 27, "p109", 44, 30, "p110", 29, 20, "p111", 29, 27, "p112", 29, 20, "p113", 29, 20, "p114", 51, 24,
|
||||
"p115", 43, 35, "p116", 45, 23, "p117", 36, 24, "p118", 51, 35, "p119", 41, 31, "p120", 29, 29,
|
||||
"p121", 32, 26, "p122", 40, 25, "p123", 37, 22, "p124", 40, 36, "p125", 38, 33, "p126", 23, 23, "p127", 33, 24, "p128", 30, 20);
|
||||
"p121", 32, 26, "p122", 40, 25, "p123", 37, 22, "p124", 40, 36, "p125", 38, 33, "p126", 23, 23, "p127", 33, 24, "p128", 30, 20];
|
||||
|
||||
let cb_id = 1,
|
||||
cb_date = {},
|
||||
@@ -105,17 +105,6 @@ function anrenameGo(id, val) {
|
||||
getUrl('main', `main.php?newanimal&rename=${id}&vvv=${val}`);
|
||||
}
|
||||
|
||||
|
||||
//Каптча на действия
|
||||
// 5
|
||||
function captcha(title, act) {
|
||||
win.add('captcha', `${title} `, '<center><small>Укажите код с картинки:</small><center><img style="margin-bottom:6px;display:inblock-line;" src="/show_reg_img/security3.php" width="70" height="20"><input style="width:80px; height:18px; margin:5px;" id="captchatext1" class="inpt2" type="text" value=""></center></center>', {
|
||||
'a1': `captchatext1($(\'#captchatext1\').val(),\'${act}\')`,
|
||||
'usewin': '$(\'#captchatext1\').focus()',
|
||||
'd': ''
|
||||
}, 3, 1, 'min-width:230px;');
|
||||
}
|
||||
|
||||
// 6
|
||||
function captchatext1(val, act) {
|
||||
getUrl('main', `${act}&cptch1=${val}`);
|
||||
|
||||
Reference in New Issue
Block a user