رفتن به مطلب

چگونه میشه حروف تصویر نصب کرد برای صفحه ورودی؟


Configer

پست های پیشنهاد شده

سلام دوستان

من میخواستم برای مقابله با ربات ها یه حروف تصویر بزارم به چت روم دوستم

ازسایت خود گوگل کد هاشو اختصاصی گرفتم ولی کار نکرد متاسفانه

ممنون میشم راهنمایی کنید

ادرس لینک ها تنها برای اعضای سایت قابل نمایش است.

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

الان من حروف تصویر رو گذاشتم فقط نیاز هست که توی لاگین جی اس قالب یه دستور نوشته بشه که

بدون تکمیل حروف تصویر اجازه ورود نده کسی هست کدشو بنویسه؟

اینم لاگین جی اس

 

function url(e) {   if ($url_type === "rewrite") {       return "/" + e + $rewrite_prefix;   } else if ($url_type === "i") {       return "?i=" + e.replace(/\//, "&");   }}function theme_url(e) {   if (e.substr(0, 6) !== "theme/") {       return "/theme/" + $theme + "/" + e;   } else {       return "/" + e;   }}function login(e) {   if (firstlogin === true) {       $("#password").val("");       $("#recaptcha").val("");       firstlogin = false;   }   var t = e.username.value;   if (t === "" || t === " ") {       $.msgAlert({           text: 'لطفا نام خود را وارد کنید'       });       return false;   }   $.ajax({       type: "POST",       url: url("ajax/login/multi"),       data: $(e).serialize(),       success: function (e) {           switch (e) {           case "ok":               top.location.href = url("chat");               break;           case "badname":               $.msgAlert({                   text:                   'این نام در لیست سیاه قرار دارد'               });               break;           case "benn":               $.msgAlert({                   text:                   'شما اجازه ورود به چتروم را ندارید'               });               break;           case "capacity":               $.msgAlert({                   text:                   'ظرفیت چت روم پر است'               });               break;           case "running":               $("#lay_pw").slideDown(1e3);               $("#lay_gender").slideUp(1e3);               break;           case "passwh":               $("#lay_pw").slideDown(1e3);               $("#lay_hide").slideDown(1e3);               $("#lay_gender").slideUp(1e3);               break;           case "pass":               $.msgAlert({                   text:                   'کلمه عبور اشتباه است'               });               break;           default:               $.msgAlert({                   text:                   e               });               break           }       }   });   return false;} (function (e) {   if (typeof define === "function" && define.amd) {       define(["jquery"], e);   } else {       e(jQuery);   }})(function (e) {   function t(e) {       return u.raw ? e: encodeURIComponent(e);   }   function n(e) {       return u.raw ? e: decodeURIComponent(e);   }   function r(e) {       return t(u.json ? JSON.stringify(e) : String(e));   }   function i(e) {       if (e.indexOf('"') === 0) {           e = e.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\");       }       try {           e = decodeURIComponent(e.replace(o, " "));       } catch(t) {           return;       }       try {           return u.json ? JSON.parse(e) : e;       } catch(t) {}   }   function s(t, n) {       var r = u.raw ? t: i(t);       return e.isFunction(n) ? n® : r;   }   var o = /\+/g;   var u = e.cookie = function (i, o, a) {       if (o !== undefined && !e.isFunction(o)) {           a = e.extend({},           u.defaults, a);           if (typeof a.expires === "number") {               var f = a.expires,               l = a.expires = new Date;               l.setDate(l.getDate() + f);           }           return document.cookie = [t(i), "=, r(o), a.expires ? "; expires=" + a.expires.toUTCString() : "", a.path ? "; path=" + a.path: "", a.domain ? "; domain=" + a.domain: "", a.secure ? "; secure": "].join("");       }       var c = i ? undefined: {};       var h = document.cookie ? document.cookie.split("; ") : [];       for (var p = 0, d = h.length; p < d; p++) {           var v = h[p].split("=");           var m = n(v.shift());           var g = v.join("=");           if (i && i === m) {               c = s(g, o);               break           }           if (!i && (g = s(g)) !== undefined) {               c[m] = g;           }       }       return c;   };   u.defaults = {};   e.removeCookie = function (t, n) {       if (e.cookie(t) !== undefined) {           e.cookie(t, "", e.extend({},           n, {               expires: -1           }));           return true;       }       return false;   };});var firstlogin = true,$url_type = "rewrite",$rewrite_prefix = "",$theme;$(document).ready(function () {   $.cookie.json = true;   $.ajax({       url: url("ajax/login.codes"),       dataType: "json",       success: function (e) {           for (var t = 0; t !== e.codes.length; t++) {               if (e.codes[t].location === "top") {                   $("body").prepend(e.codes[t].code);               } else if (e.codes[t].location === "bottom") {                   $("body").append(e.codes[t].code);               }           }           var n = false,           r = false;           for (var t = 0; t !== e.ads.length; t++) {               switch (e.ads[t].type) {               case "fixedbanner":                   var i;                   switch (e.ads[t].location) {                   case "top-right":                       i = "right:0;top:0";                       break;                   case "top-left":                       i = "left:0;top:0";                       break;                   case "bottom-left":                       i = "left:0;bottom:0";                       break;                   case "bottom-right":                       i = "right:0;bottom:0";                       break                   }                   var s = "";                   if (e.ads[t].inputs.closeable === "true") s = '<div style="height: 20px; line-height: 23px; background-color: #FFD8EA; cursor: pointer; text-align: center;font-size:11px" onclick="$(this).parent().hide();">بستن [x]</div>';                   var o = '<div id="ad-' + e.ads[t].id + '" style="position: fixed;' + i + ';background-color:transparent; z-index: 1000;">' + s + '<a target="_blank" href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=' + e.ads[t].url + '"><img src="' + theme_url(e.ads[t].inputs.banner) + '" border="0"></a></div>';                   $("body").append(o);                   $("&anchor=ad-" + e.ads[t].id + " img").load(function () {                       $(this).parent().parent().css({                           width: $(this).width() + "px",                           height: $(this).height() + 20 + "px"                       });                   });                   break;               case "popup":               case "newtab":                   if ($("#popuplink").length === 0) {                       var o = '<div id="popuplink" style="position: fixed;left:0;top:0;width:100%;height:100%;z-index:99999"></div>';                       $("body").append(o);                   }                   if (!$("#popuplink").attr("ads")) var u = new Array;                   else {                       var u = $("#popuplink").attr("ads");                       u = u.split(",");                   }                   u.push(t);                   $("#popuplink").attr("ads", u.join(","));                   $("#popuplink").one("click", function () {                       if (r === true) return false;                       r = true;                       var t = $.cookie("Dads");                       if (typeof t === "undefined") t = {};                       else if (typeof t === "string") {                           try {                               t = $.parseJSON(t);                           } catch(n) {                               t = {};                               t = $.cookie("Dads", "");                           }                       }                       var i = $(this).attr("ads");                       i = i.split(",");                       for (var s = 0; s !== i.length; s++) {                           var o = e.ads[i[s]];                           if (o.inputs.cockie !== 0) {                               if (typeof t["ad-" + o.id] !== "undefined") {                                   continue                               }                           }                           if (o.type === "popup") {                               window.open(o.url, "link" + o.id, "height=400,width=600,scrollbars=yes");                               window.focus();                           } else if (o.type === "newtab") {                               window.open(o.url, "_blank");                               window.focus();                           }                           if (o.inputs.cockie !== 0) {                               t["ad-" + o.id] = o.inputs.cockie;                           }                       }                       $("#popuplink").hide();                       $("#popuplink").remove();                       $.cookie("Dads", t);                   });                   break               }           }       }   });});

 

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

مهمان
این موضوع برای عدم ارسال قفل گردیده است.
×
×
  • اضافه کردن...