update codes
This commit is contained in:
parent
651e10d47e
commit
7fa0609ac5
10 changed files with 3972 additions and 3954 deletions
|
|
@ -1,4 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* need addon loader
|
||||
*/
|
||||
require_once __DIR__ . "/addon.loader.php";
|
||||
|
||||
/**
|
||||
* Addon Struct
|
||||
*/
|
||||
class Addon
|
||||
{
|
||||
public $name = "";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* item class
|
||||
*/
|
||||
require_once __DIR__ . "/item.class.php";
|
||||
|
||||
/**
|
||||
* status class
|
||||
*/
|
||||
// require_once __DIR__ . "/status.class.php";
|
||||
|
||||
class Character extends Module
|
||||
{
|
||||
protected $_rawdata;
|
||||
|
|
@ -160,7 +170,7 @@ class Character extends Module
|
|||
public static function exists($character_id)
|
||||
{
|
||||
global $g5;
|
||||
|
||||
|
||||
if (isset($g5["connect_db"]) && isset($g5["character_table"])) {
|
||||
$data = sql_fetch("SELECT ch.ch_name FROM {$g5['character_table']} ch WHERE ch.ch_id = '{$character_id}'");
|
||||
return !empty($data);
|
||||
|
|
|
|||
|
|
@ -9,11 +9,9 @@ $is_mine = $ch['mb_id'] == $character['mb_id'] ? true : false;
|
|||
if (!$in['in_id']) {
|
||||
echo "<p>아이템 보유 정보를 확인할 수 없습니다.</p>";
|
||||
} else {
|
||||
|
||||
if (defined('G5_THEME_PATH') && is_file(G5_THEME_PATH . "/inventory/item.skin.php")) {
|
||||
include G5_THEME_PATH . "/inventory/item.skin.php";
|
||||
} else {
|
||||
include G5_PATH . "/inventory/skin/item.skin.php";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
?>
|
||||
|
||||
<div class="info">
|
||||
?><div class="info">
|
||||
<div class="ui-thumb">
|
||||
<img src="<?= $in['it_img'] ?>" />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
?>
|
||||
|
||||
<div class="info">
|
||||
?><div class="info">
|
||||
<div class="ui-thumb">
|
||||
<img src="<?= $in['it_img'] ?>" />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
exit;
|
||||
?>
|
||||
|
||||
|
||||
<div class="info">
|
||||
<div class="ui-thumb">
|
||||
<img src="<?= $in['it_img'] ?>" />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
?>
|
||||
|
||||
|
||||
<ul class="inventory-list">
|
||||
?><ul class="inventory-list">
|
||||
<?php
|
||||
for ($i = 0; $i < count($inven_list); $i++) { ?>
|
||||
<li class="box-line bak">
|
||||
|
|
@ -22,11 +19,5 @@ if (!defined('_GNUBOARD_'))
|
|||
<?php } ?>
|
||||
</li>
|
||||
<?php }
|
||||
|
||||
if ($i == 0) {
|
||||
?>
|
||||
<li class="no-data">
|
||||
보유중인 아이템이 없습니다.
|
||||
</li>
|
||||
<?php } ?>
|
||||
if ($i == 0) {?><li class="no-data">보유중인 아이템이 없습니다.</li><?php } ?>
|
||||
</ul>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue