Plugin Directory

Changeset 412513


Ignore:
Timestamp:
07/20/2011 12:14:01 PM (15 years ago)
Author:
q409640976
Message:

add en

Location:
clickchina/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • clickchina/trunk/clickchina.php

    r412340 r412513  
    22/**
    33 * @author liming and ƮҶѰÃÎ
    4  * help.txt
     4 * readme.txt
    55 */
    66
     
    1414header("Cache-Control: no-cache, must-revalidate");
    1515header("Pragma: no-cache");
    16 $click = imagecreatefrompng('click.png');
     16//$liulanqi="L_".$_SERVER['HTTP_USER_AGENT'];
     17//¸ù¾ÝÓû§ÓïÑÔÅжÏÑéÖ¤ÂëÓïÑÔ
     18$lang = "l".$_SERVER['HTTP_ACCEPT_LANGUAGE'];
     19if(strpos($lang,"zh"))
     20    $click = imagecreatefrompng('click.png');
     21else
     22    $click = imagecreatefrompng('click_en.png');
    1723$im = imagecreate(200, 100);
    1824$click_type = rand(0, 3); //Ëæ»úÑ¡Ôñ×î´ó/×îСÊý×Ö»òΨһ×Öĸ»òÊý×Ö
     
    115121}
    116122$_SESSION['verifysession'] = isset($xp_true['xy'])?$xp_true['xy']:'';
     123//echo $lang;
    117124//setcookie('test', json_encode($xp_true));
    118125
  • clickchina/trunk/run.php

    r412340 r412513  
    22/*
    33Plugin Name: clickchina
    4 Plugin URI: http://jishigu.com
    5 Description: 按照clickcha的思路开发的,点击图形提交评论的评论验证插件。但是不必连接指定的服务器,速度更快,没有广告(According to "Clickcha",Click on the Right picture to submit Reviews,but,it's Open source,and not need to connect to other servers,so it's Faster,And no Ads)
     4Plugin URI: http://jishigu.com/2163.html
     5Description: 点击图形提交评论(仿wp-Clickcha),防止垃圾评论插件,思路新颖,使用简单。不必连接指定服务器,速度更快,没有广告(According to "Clickcha",Click on the Right picture to submit Reviews,to prevent spam comments,it's Open source,and not need to connect to other servers,so it's Faster,And no Ads)
    66Version: 1.0
    77Author: liming
Note: See TracChangeset for help on using the changeset viewer.