设为首页 收藏本站
登录 /立即注册 /找回密码

URPGs

快捷导航
  • 门户Portal
  • 论坛BBS
  • 群组Group
  • 导读Guide
  • 家园Space
  • 工具Tools
  • 广播Follow
  • 期刊Periodical
  • 排行榜Ranklist
  • 社区茶坊
  • pixlr图片编辑
  • 资源列表
  • photobucket
  • RMVA Lite [In English]
  • RM RTP
  • TryRUBY
  • RMXP+RMVX下载[VeryCD]
  • RMVA下载[66RPG]
搜索
  • 本版
  • 帖子
  • 用户
URPGs»论坛 › 站务 › 历史博物馆 › 【Ver6】【Beta1】~2013『暖春』签到贴~(4.01更新) ...
1 ...  464748495051525354... 60下一页
返回列表 发新帖
楼主: delv25

【Ver6】【Beta1】~2013『暖春』签到贴~(4.01更新)

 火...   [复制链接]
奖 48 银币 回复本帖可获得 1 银币奖励! 每人限 10 次(中奖概率 10%)
tjjlb
tjjlb 当前离线
积分
93
查看详细资料 窥视卡 雷达卡
发表于 2013-4-12 07:21:54 | 显示全部楼层
qd......

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 12c/12A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
lbq
lbq 当前离线
积分
199
查看详细资料 窥视卡 雷达卡
发表于 2013-4-12 05:18:49 | 显示全部楼层
各位好。。。。

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 12c/12A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
Egoizumu
Egoizumu 当前离线
积分
47
查看详细资料 窥视卡 雷达卡
发表于 2013-4-12 03:03:42 来自手机 | 显示全部楼层
我有那個audacity Unfriend掉一個和我有仇的人嗎?

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 12c/12A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
玖爺NT
玖爺NT 当前离线
积分
6
查看详细资料 窥视卡 雷达卡
发表于 2013-4-12 02:08:46 | 显示全部楼层
簽到嗚嗚嗚

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 12c/12A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
orzfly
orzfly 当前离线
积分
55
查看详细资料 窥视卡 雷达卡
发表于 2013-4-12 01:00:44 | 显示全部楼层
[code=php]<?php
/*
Plugin Name: Redirection
Plugin URI: http://urbangiraffe.com/plugins/redirection/
Description: Manage all your 301 redirects and monitor 404 errors
Version: 2.2.13
Author: John Godley
Author URI: http://urbangiraffe.com
============================================================================================================
This software is provided "as is" and any express or implied warranties, including, but not limited to, the
implied warranties of merchantibility and fitness for a particular purpose are disclaimed. In no event shall
the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or
consequential damages(including, but not limited to, procurement of substitute goods or services; loss of
use, data, or profits; or business interruption) however caused and on any theory of liability, whether in
contract, strict liability, or tort(including negligence or otherwise) arising in any way out of the use of
this software, even if advised of the possibility of such damage.

For full license details see license.txt
============================================================================================================
*/

include dirname( __FILE__ ).'/plugin.php';
include dirname( __FILE__ ).'/models/redirect.php';
include dirname( __FILE__ ).'/models/match.php';
include dirname( __FILE__ ).'/models/log.php';
include dirname( __FILE__ ).'/models/group.php';
include dirname( __FILE__ ).'/models/module.php';
include dirname( __FILE__ ).'/models/action.php';
include dirname( __FILE__ ).'/models/monitor.php';
include dirname( __FILE__ ).'/modules/wordpress.php';
include dirname( __FILE__ ).'/modules/404.php';

define( 'REDIRECTION_VERSION', '2.2' );

if ( class_exists( 'Redirection' ) )
        return;

class Redirection extends Redirection_Plugin {
        var $hasMatched = false;

        function Redirection() {
                $this->register_plugin( 'redirection', __FILE__ );

                if ( is_admin() ) {
                        $this->add_action( 'admin_menu' );
                        $this->add_action( 'load-tools_page_redirection', 'redirection_head' );
                        $this->add_action( 'init', 'inject' );

                        $this->register_activation( __FILE__ );
                        $this->register_plugin_settings( __FILE__ );

                        // Ajax functions
                        if ( defined( 'DOING_AJAX' ) ) {
                                include_once dirname( __FILE__ ).'/ajax.php';
                                $this->ajax = new RedirectionAjax();
                        }
                }
                else {
                        $this->update();

                        // Create a WordPress exporter and let it handle the load
                        $this->wp = new WordPress_Module();
                        $this->wp->start();

                        $this->error = new Error404_Module();
                        $this->error->start();
                }

                $this->monitor = new Red_Monitor( $this->get_options() );
        }

        function update() {
                $version = get_option( 'redirection_version' );

                if ( $version != REDIRECTION_VERSION ) {
                        include_once dirname( __FILE__ ).'/models/database.php';

                        $db = new RE_Database();
                        return $db->upgrade( $version, REDIRECTION_VERSION );
                }

                return true;
        }

        function activate() {
                if ( $this->update() === false ) {
                        $db = new RE_Database();
                        $db->remove( $version, REDIRECTION_VERSION );
            exit();
                }
        }

        function plugin_settings( $links ) {
                $settings_link = '<a href="tools.php?page='.basename( __FILE__ ).'">'.__( 'Settings', 'redirection' ).'</a>';
                array_unshift( $links, $settings_link );
                return $links;
        }

        function version() {
                $plugin_data = implode( '', file( __FILE__ ) );

                if ( preg_match( '|Version:(.*)|i', $plugin_data, $version ) )
                        return trim( $version[1] );
                return '';
        }

        function redirection_head() {
                wp_enqueue_script( 'redirection', plugin_dir_url( __FILE__ ).'js/redirection.js', array( 'jquery-form', 'jquery-ui-sortable' ), $this->version() );
                wp_enqueue_style( 'redirection', plugin_dir_url( __FILE__ ).'admin.css', $this->version() );

                wp_localize_script( 'redirection', 'Redirectioni10n', array(
                        'please_wait'  => __( 'Please wait...', 'redirection' ),
                        'type'         => 1,
                        'progress'     => '<img src="'.plugin_dir_url( __FILE__ ).'/images/progress.gif" alt="loading" width="50" height="16"/>',
                  'are_you_sure' => __( 'Are you sure?', 'redirection' ),
                        'none_select'  => __( 'No items have been selected', 'redirection' )
                ) );
        }

        function admin_menu() {
          add_management_page( __( "Redirection", 'redirection' ), __( "Redirection", 'redirection' ), "administrator", basename( __FILE__ ), array( &$this, "admin_screen" ) );
        }

        function admin_screen() {
          $this->update();

                // Decide what to do
                $sub = isset( $_GET['sub'] ) ? $_GET['sub'] : '';

                $options = $this->get_options();

                if ( isset($_GET['sub']) ) {
                        if ( $_GET['sub'] == 'log' )
                                return $this->admin_screen_log();
                  elseif ( $_GET['sub'] == 'options' )
                    return $this->admin_screen_options();
                  elseif ( $_GET['sub'] == 'process' )
                    return $this->admin_screen_process();
                  elseif ( $_GET['sub'] == 'groups' )
                                return $this->admin_groups( isset( $_GET['id'] ) ? intval( $_GET['id'] ) : 0 );
                        elseif ( $_GET['sub'] == 'modules' )
                                return $this->admin_screen_modules();
                        elseif ( $_GET['sub'] == 'support' )
                                return $this->render_admin('support');
                }

                return $this->admin_redirects( isset( $_GET['id'] ) ? intval( $_GET['id'] ) : 0 );
        }

        function admin_screen_modules() {
                if ( isset( $_POST['create'] ) && check_admin_referer( 'redirection-module_add' ) ) {
                        $data = stripslashes_deep( $_POST );

                        if ( ( $module = Red_Module::create( $data ) ) ) {
                                $moduleid = 0;
                                if ( isset( $_POST['module'] ) )
                                        $moduleid = intval( $_POST['module'] );

                                $this->render_message( __( 'Your module was successfully created', 'redirection' ) );
                                Red_Module::flush( $moduleid );
                        }
                        else
                                $this->render_error( __( 'Your module was not created - did you provide a name?', 'redirection' ) );
                }

                $options = $this->get_options();
                $this->render_admin( 'module_list', array( 'modules' => Red_Module::get_all(), 'module_types' => Red_Module::get_types(), 'token' => $options['token'] ) );
        }

        function get_options() {
                $options = get_option( 'redirection_options' );
                if ( $options === false )
                        $options = array();

                $defaults = array        (
                        'lookup'            => 'http://urbangiraffe.com/map/?from=redirection&amp;ip=',
                        'support'           => false,
                        'log_redirections'  => true,
                        'log_404s'          => true,
                        'expire'            => 0,
                        'token'             => '',
                        'monitor_new_posts' => false,
                        'monitor_post'      => 0,
                        'auto_target'       => '',
                );

                foreach ( $defaults AS $key => $value ) {
                        if ( !isset( $options[$key] ) )
                                $options[$key] = $value;
                }

                if ( $options['lookup'] == 'http://geomaplookup.cinnamonthoughts.org/?ip=' || $options['lookup'] == 'http://geomaplookup.net/?ip=' )
                        $options['lookup'] = 'http://urbangiraffe.com/map/?from=redirection&amp;ip=';

                return $options;
        }

        function inject() {
                $options = $this->get_options();

                if ( isset($_GET['token'] ) && isset( $_GET['page'] ) && isset( $_GET['sub'] ) && $_GET['token'] == $options['token'] && $_GET['page'] == 'tools.php?page=redirection.php' && in_array( $_GET['sub'], array( 'rss', 'xml', 'csv', 'apache' ) ) ) {
                        include dirname( __FILE__ ).'/models/file_io.php';

                        $exporter = new Red_FileIO;
                        if ( $exporter->export( $_GET['sub'] ) )
                                die();
                }
        }

        function admin_screen_options() {
                if ( isset( $_POST['update'] ) && check_admin_referer( 'redirection-update_options' ) ) {
                        $options['lookup']            = stripslashes( $_POST['lookup'] );
                        $options['monitor_post']      = stripslashes( $_POST['monitor_post'] );
//                        $options['monitor_category']  = stripslashes( $_POST['monitor_category'] );
                        $options['auto_target']       = stripslashes( $_POST['auto_target'] );
                        $options['support']           = isset( $_POST['support'] ) ? true : false;
                        $options['log_redirections']  = (bool) @ $_POST['log_redirections'];
                        $options['log_404s']          = (bool) @ $_POST['log_404s'];
                        $options['monitor_new_posts'] = isset( $_POST['monitor_new_posts'] ) ? true : false;
                        $options['expire']            = intval( $_POST['expire'] );
                        $options['token']             = stripslashes( $_POST['token'] );

                        if ( trim( $options['token'] ) == '' )
                                $options['token'] = md5( uniqid() );

                        update_option( 'redirection_options', $options );

                        $this->render_message( __( 'Your options were updated', 'redirection' ) );
                }
                elseif ( isset( $_POST['delete'] ) && check_admin_referer( 'redirection-delete_plugin' ) ) {
                        include dirname( __FILE__ ).'/models/database.php';

                        $db = new RE_Database;
                        $db->remove( __FILE__ );

                        $this->render_message( __( 'Redirection data has been deleted and the plugin disabled', 'redirection' ) );
                        return;
                }
                elseif ( isset( $_POST['import'] ) && check_admin_referer( 'redirection-import' ) ) {
                        include dirname( __FILE__ ).'/models/file_io.php';

                        $importer = new Red_FileIO;

                        $count = $importer->import( $_POST['group'], $_FILES['upload'] );
                        if ( $count > 0 )
                                $this->render_message( sprintf( _n( '%d redirection was successfully imported','%d redirections were successfully imported', $count, 'redirection' ), $count ) );
                        else
                                $this->render_message( __( 'No items were imported', 'redirection' ) );
                }

                $groups = Red_Group::get_for_select();
                $this->render_admin( 'options', array( 'options' => $this->get_options(), 'groups' => $groups ) );
        }

        function admin_screen_log() {
                include dirname( __FILE__ ).'/models/pager.php';

                if ( isset( $_POST['deleteall'] ) && check_admin_referer( 'redirection-process_logs' ) ) {
                        if ( isset( $_GET['module'] ) )
                                RE_Log::delete_all( array( 'module_id' => intval( $_GET['module'] ) ), new RE_Pager( $_GET, admin_url( add_query_arg( array( 'sub' => 'log' ), 'tools.php?page=redirection.php' ) ), 'created', 'DESC', 'log' ) );
                        else if (isset($_GET['group']))
                                RE_Log::delete_all( array( 'group_id' => intval( $_GET['group'] ) ), new RE_Pager( $_GET, admin_url( add_query_arg( array( 'sub' => 'log' ), 'tools.php?page=redirection.php' ) ), 'created', 'DESC', 'log' ) );
                        else
                                RE_Log::delete_all( array(), new RE_Pager( $_GET, admin_url( add_query_arg( array( 'sub' => 'log' ), 'tools.php?page=redirection.php' ) ), 'created', 'DESC', 'log' ) );

                        $this->render_message( __( 'Your logs have been deleted', 'redirection' ) );
                }

                $pager = new RE_Pager( $_GET, admin_url( add_query_arg( array( 'sub' => 'log' ), 'tools.php?page=redirection.php' ) ), 'created', 'DESC', 'log' );

                if ( isset( $_GET['module'] ) )
                        $logs = RE_Log::get_by_module( $pager, intval( $_GET['module'] ) );
                else if (isset($_GET['group']))
                        $logs = RE_Log::get_by_group( $pager, intval( $_GET['group'] ) );
                else if (isset($_GET['redirect']))
                        $logs = RE_Log::get_by_redirect( $pager, intval( $_GET['redirect'] ) );
                else
                        $logs = RE_Log::get( $pager );

                $options = $this->get_options();
                $this->render_admin( 'log', array( 'logs' => $logs, 'pager' => $pager, 'lookup' => $options['lookup'] ) );
        }

        function admin_groups( $module ) {
                include dirname( __FILE__ ).'/models/pager.php';

                if ( isset( $_POST['add'] ) && check_admin_referer( 'redirection-add_group' ) ) {
                        if ( Red_Group::create( stripslashes_deep( $_POST ) ) ) {
                                $this->render_message( __( 'Your group was added successfully', 'redirection' ) );
                                Red_Module::flush( $module );
                        }
                        else
                                $this->render_error( __( 'Please specify a group name', 'redirection' ) );
                }

                if ( $module == 0 )
                        $module = Red_Module::get_first_id();

                $pager = new RE_Pager( $_GET, admin_url( add_query_arg( array( 'sub' => 'groups' ), 'tools.php?page=redirection.php' ) ), 'position', 'ASC' );
                $items = Red_Group::get_all( $module, $pager );

          $this->render_admin( 'group_list', array( 'groups' => $items, 'pager' => $pager, 'modules' => Red_Module::get_for_select(), 'module' => Red_Module::get( $module ) ) );
        }

        function admin_redirects( $group ) {
                include dirname( __FILE__ ).'/models/pager.php';

                if ( $group == 0 )
                        $group = Red_Group::get_first_id();

                $pager = new RE_Pager( $_GET, admin_url( add_query_arg( array(), 'tools.php?page=redirection.php' ) ), 'position', 'ASC' );
                $items = Red_Item::get_by_group( $group, $pager );

          $this->render_admin( 'item_list', array( 'items' => $items, 'pager' => $pager, 'group' => Red_Group::get( $group ), 'groups' => Red_Group::get_for_select(), 'date_format' => get_option( 'date_format' ) ) );
        }

        function setMatched( $match ) {
                $this->hasMatched = $match;
        }

        function hasMatched() {
                return $this->hasMatched;
        }

        function locales() {
                $locales = array();
                if ( file_exists( dirname( __FILE__ ).'/readme.txt' ) ) {
                        $readme = file_get_contents( dirname( __FILE__ ).'/readme.txt' );

                        $start = strpos( $readme, __( 'Redirection is available in' ) );
                        $end   = strpos( $readme, '==', $start );
                        if ( $start !== false && $end !== false ) {
                                if ( preg_match_all( '/^\* (.*?) by (.*?)/m', substr( $readme, $start, $end ), $matches ) > 0 ) {
                                        $locales = $matches[1];
                                }
                        }

                        sort( $locales );
                }

                return $locales;
        }
}

// Instantiate the plugin
$redirection = new Redirection;
[/code]

评分

参与人数 1银币 +3 收起 理由
Sonic1997 + 3 12c/12A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
houyuxiaoyang
houyuxiaoyang 当前离线
积分
9
查看详细资料 窥视卡 雷达卡
发表于 2013-4-11 21:51:48 | 显示全部楼层
早……话说……真的是签到么

评分

参与人数 1银币 +1 收起 理由
Sonic1997 + 1 1c/2A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
satgo1546
satgo1546 当前离线
积分
201
查看详细资料 窥视卡 雷达卡
发表于 2013-4-11 18:35:36 | 显示全部楼层
【今日签到】
我给我同桌一张带广告的草稿纸=w=

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 11c/11A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
BS包仔
BS包仔 当前离线
积分
68
查看详细资料 窥视卡 雷达卡
发表于 2013-4-11 17:48:12 | 显示全部楼层
11c/11A
在语文老师和英语老师的逼迫下,感觉一星期比一星期快了,感觉就在几分钟前还在担心今天的两节语文课

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 11c/11A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
玖爺NT
玖爺NT 当前离线
积分
6
查看详细资料 窥视卡 雷达卡
发表于 2013-4-11 14:51:18 | 显示全部楼层

回帖奖励 +1 银币

簽到呱呱呱

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 11c/11A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
翎·仲秋
翎·仲秋 当前离线
积分
219
查看详细资料 窥视卡 雷达卡
发表于 2013-4-11 09:05:53 | 显示全部楼层
4.11签到

评分

参与人数 1银币 +2 收起 理由
Sonic1997 + 2 11c/11A

查看全部评分

回复 Like Dislike

使用道具 举报

  • 显身卡
下一页 »
1 ...  464748495051525354... 60下一页
返回列表 发新帖
高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

站点统计|Archiver|手机版|意见反馈[feedback]| URPGs RPG Maker 游戏制作讨论

GMT+8, 2025-7-1 16:49 , Processed in 0.030885 second(s), 19 queries .

Powered by Discuz! X3.5

© 2011-2019 URPGs (Discuz! X3.4 © 2001-2019 Comsenz Inc.)

积分 0, 距离下一级还需 积分
快速回复 返回顶部 返回列表