این کد امنیتی جدید برای دیتالایف دارای امنیت بالایی در مقابل برنامه های اسپمر هست و همچنین قابلیت پخش صدای حروف را نیز دارا می بشاد .
ابتدا فایل ضمیمه را دانلود کنید فایلا را در سایت خود قرار دهید.
1- فایل engine\modules\addnews.php را باز کنید و کد زیر را پیدا کنید
$tpl->set( '{sec_code}', "<span id=\"dle-captcha\"><img src=\"" . $path['path'] . "engine/modules/antibot.php\" alt=\"${lang['sec_image']}\" border=\"0\" alt=\"\" /><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a></span>" );
کد زیر را به جای کد بالایی قرار دهید
$tpl->set( '{sec_code}', "<div style=\"width: 430px; float: right; height: 90px\">
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
2- در همین فایل کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src="{$path['path']}engine/modules/antibot.php?rndval=' + rndval + '" border="0" width="120" height="50" alt="" /><br /><a onclick="reload(); return false;" href="#">{$lang['reload_code']}</a>';
این کد را با کد زیر جایگزین کنید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
3- فایل engine\modules\feedback.php را باز کرده و کد زیر را پیدا کنید
$tpl->set( '{code}', "<span id=\"dle-captcha\"><img src=\"" . $path['path'] . "engine/modules/antibot.php\" alt=\"{$lang['sec_image']}\" border=\"0\" /><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a></span>" );
کد زیررا به جای کد بالایی قرار دهید
$tpl->set( '{code}', "<div style=\"width: 430px; float: right; height: 90px\">
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
4- در همین فایل کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src="{$path['path']}engine/modules/antibot.php?rndval=' + rndval + '" border="0" width="120" height="50" alt="" /><br /><a onclick="reload(); return false;" href="#">{$lang['reload_code']}</a>';
کد زیر را به حای کد بالایی قرار دهید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
5- فایل engine\modules\lostpassword.php را باز کنید و کد زیر را پیدا کنید
$tpl->set( '{code}', "<span id=\"dle-captcha\"><img src=\"" . $path['path'] . "engine/modules/antibot.php\" alt=\"{$lang['sec_image']}\" border=\"0\" /><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a></span>" );
کد زیر را جایگزین کد بالایی کنید
$tpl->set( '{code}', "<div style=\"width: 430px; float: right; height: 90px\">
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $config['http_home_url'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.swf?audio=" .$config['http_home_url'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.swf?audio=" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $config['http_home_url'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $config['http_home_url'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.swf?audio=" .$config['http_home_url'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.swf?audio=" . $config['http_home_url'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $config['http_home_url'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
6- در همین فایل کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src="{$path['path']}engine/modules/antibot.php?rndval=' + rndval + '" border="0" width="120" height="50" alt="" /><br /><a onclick="reload(); return false;" href="#">{$lang['reload_code']}</a>';
کد زیر را به جای کد بالایی قرار دهید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
7- فایل engine\modules\register.php را باز کنید و کد زیر را پیدا کنید
$tpl->set( '{reg_code}', "<span id=\"dle-captcha\"><img src=\"" . $path['path'] . "engine/modules/antibot.php\" alt=\"{$lang['sec_image']}\" border=\"0\" /><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a>/span>" );
کد زیر را به جای کد بالایی قرار دهید
$tpl->set( '{reg_code}', "<div style=\"width: 430px; float: right; height: 90px\">
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
8- در همین فایل کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src="{$path['path']}engine/modules/antibot.php?rndval=' + rndval + '" border="0" width="120" height="50" alt="" /><br /><a onclick="reload(); return false;" href="#">{$lang['reload_code']}</a>';
کد زیر را به جای کد بالایی قرار دهید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
9- فایل engine\modules\show.full.php را باز کنید و کد زیر را پیدا کنید
$tpl->set( '{sec_code}', "<span id=\"dle-captcha\"><img src=\"" . $path['path'] . "engine/modules/antibot.php\" border=\"0\" alt=\"${lang['sec_image']}\" /><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a></span>" );
کد زیر را به جای کد بالایی قرار دهید
$tpl->set( '{sec_code}', "<div style=\"width: 430px; float: right; height: 90px\">
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
<img id=\"dle-captcha\" align=\"right\" style=\"padding-right: 5px; border: 0\" src=\"" . $path['path'] . "engine/modules/antibot/antibot.php?sid=md5(time())\" />
<object codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\" width=\"19\" height=\"19\" id=\"SecurImage_as3\" align=\"middle\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"false\" />
<param name=\"movie\" value=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" />
<param name=\"quality\" value=\"high\" />
<param name=\"bgcolor\" value=\"#ffffff\" />
<embed src=\"" . $path['path'] . "engine/modules/antibot/securimage_play.swf?audio=" . $path['path'] . "engine/modules/antibot/securimage_play.php&bgColor1=#777&bgColor2=#fff&iconColor=#000&roundedCorner=5\" quality=\"high\" bgcolor=\"#ffffff\" width=\"19\" height=\"19\" name=\"SecurImage_as3\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />
</object>
<br />
<!-- pass a session id to the query string of the script to prevent ie caching -->
<a tabindex=\"-1\" style=\"border-style: none\" href=\"#\" title=\"{$lang['reload_code']}\" onclick=\"reload (); return false\"><img src=\"" . $path['path'] . "engine/modules/antibot/images/refresh.gif\" alt=\"{$lang['reload_code']}\" border=\"0\" onclick=\"this.blur()\" align=\"bottom\" /></a>
</div>
<div style=\"clear: both\"></div>" );
10- در همین فایل کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src="{$path['path']}engine/modules/antibot.php?rndval=' + rndval + '" border="0" width="120" height="50" alt="" /><br /><a onclick="reload(); return false;" href="#">{$lang['reload_code']}</a>';
کد زیر را به جای کدی که پیدا کردید قرار دهید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
11- فایل engine\ajax\addcomments.php را باز کنید و کد زیر را پیدا کنید
document.getElementById('dle-captcha').innerHTML = '<img src=\"' + dle_root + 'engine/modules/antibot.php?rand=' + timeval + '\" border=0><br /><a onclick=\"reload(); return false;\" href=\"#\">{$lang['reload_code']}</a>';
کد زیر را به جای کد بالایی قرار دهید
document.getElementById('dle-captcha').src = '' + dle_root + 'engine/modules/antibot/antibot.php?sid=' + Math.random() + '; return false ';
توجه کنید در فایل engine\ajax\addcomments.php این کد دو بار قرار گرفته که باید هر دو بار جایگزین بشود
شما میتوانید هر کدام از قسمتها را که نمیخواهید کد امنیتی عوض بشود تغییر ندهید. اما اگر هر فایل را تغییر دادید باید هر دو مورد تغییر کند
برای تغییر بکگراند عکس فایل bg.png را در پوشه engine\antibot\images تغییر دهید
اگر مشکلی بود در خدمتم
دانلود
تصاویر