コード例 #1
0
ファイル: pvp.php プロジェクト: Sajaki/wowroster_dev
<?php

/**
 * WoWRoster.net WoWRoster
 *
 * Displays character information
 *
 *
 * @copyright  2002-2011 WoWRoster.net
 * @license    http://www.gnu.org/licenses/gpl.html   Licensed under the GNU General Public License v3. * @package    PvPLog
*/
if (!defined('IN_ROSTER')) {
    exit('Detected invalid access to this file!');
}
include_once $addon['inc_dir'] . 'pvp.lib.php';
$roster->output['title'] = sprintf($roster->locale->act['pvplog'], $roster->data['name']);
// Check for start for pvp log data
$start = isset($_GET['start']) ? $_GET['start'] > 0 ? $_GET['start'] : 0 : 0;
// Get pvp table/recipe sort mode
$sort = isset($_GET['s']) ? $_GET['s'] : '';
// Set <html><title> and <form action=""> and $char_url
$char_url = '&amp;a=c:' . $roster->data['member_id'];
$char_page = show_pvp2('PvP', 'char-' . $addon['basename'] . '-pvp' . $char_url, $sort, $start);
echo $char_page;
$roster->tpl->set_handle('body', $addon['basename'] . '/char.html');
$roster->tpl->display('body');
コード例 #2
0
ファイル: duel.php プロジェクト: reddragon010/wowroster-rge
<?php

/**
 * WoWRoster.net WoWRoster
 *
 * Displays character information
 *
 * LICENSE: Licensed under the Creative Commons
 *          "Attribution-NonCommercial-ShareAlike 2.5" license
 *
 * @copyright  2002-2008 WoWRoster.net
 * @license    http://creativecommons.org/licenses/by-nc-sa/2.5   Creative Commons "Attribution-NonCommercial-ShareAlike 2.5"
 * @version    SVN: $Id: duel.php 1791 2008-06-15 16:59:24Z Zanix $
 * @link       http://www.wowroster.net
 * @package    PvPLog
*/
if (!defined('IN_ROSTER')) {
    exit('Detected invalid access to this file!');
}
include_once $addon['inc_dir'] . 'pvp.lib.php';
$roster->output['title'] = sprintf($roster->locale->act['duellog'], $roster->data['name']);
// Check for start for pvp log data
$start = isset($_GET['start']) ? $_GET['start'] > 0 ? $_GET['start'] : 0 : 0;
// Get pvp table/recipe sort mode
$sort = isset($_GET['s']) ? $_GET['s'] : '';
// Set <html><title> and <form action=""> and $char_url
$char_url = '&amp;a=c:' . $roster->data['member_id'];
$char_page = show_pvp2('Duel', 'char-' . $addon['basename'] . '-duels' . $char_url, $sort, $start);
echo $char_page;
$roster->tpl->set_handle('body', $addon['basename'] . '/char.html');
$roster->tpl->display('body');
コード例 #3
0
ファイル: bg.php プロジェクト: reddragon010/wowroster-rge
<?php

/**
 * WoWRoster.net WoWRoster
 *
 * Displays character information
 *
 * LICENSE: Licensed under the Creative Commons
 *          "Attribution-NonCommercial-ShareAlike 2.5" license
 *
 * @copyright  2002-2008 WoWRoster.net
 * @license    http://creativecommons.org/licenses/by-nc-sa/2.5   Creative Commons "Attribution-NonCommercial-ShareAlike 2.5"
 * @version    SVN: $Id: bg.php 1791 2008-06-15 16:59:24Z Zanix $
 * @link       http://www.wowroster.net
 * @package    PvPLog
*/
if (!defined('IN_ROSTER')) {
    exit('Detected invalid access to this file!');
}
include_once $addon['inc_dir'] . 'pvp.lib.php';
$roster->output['title'] = sprintf($roster->locale->act['bglog'], $roster->data['name']);
// Check for start for pvp log data
$start = isset($_GET['start']) ? $_GET['start'] > 0 ? $_GET['start'] : 0 : 0;
// Get pvp table/recipe sort mode
$sort = isset($_GET['s']) ? $_GET['s'] : '';
// Set <html><title> and <form action=""> and $char_url
$char_url = '&amp;a=c:' . $roster->data['member_id'];
$char_page = show_pvp2('BG', 'char-' . $addon['basename'] . '-bg' . $char_url, $sort, $start);
echo $char_page;
$roster->tpl->set_handle('body', $addon['basename'] . '/char.html');
$roster->tpl->display('body');