예제 #1
0
      
      		<!-- VOTE -->
      		<div class="vote-page">
      		
                <div class="page-desc-holder">
                    Refunding an item purchased from our store gives you back the full amount you paid.
                    <br/><br/>
                    The system requires your character to be online and the item must be in your character's bags.<br/>
                    You are allowed to use the Refund System 2 times a week.
                </div>
            
				<?php 
//Array storage for character data (less queries)
$characterData = array();
//Get the refundables
$res = ItemRefundSystem::GetRefundables();
?>
            	
                <div class="container_3 account-wide" align="center">
                    <div class="items">
                    
                    <?php 
if ($res) {
    while ($arr = $res->fetch()) {
        $GUID = $arr['character'];
        //Get the character data for this refund
        if (!isset($characterData[$GUID])) {
            $columns = array('name', 'class', 'level', 'race', 'gender');
            $characterData[$GUID] = $chars->getCharacterData($GUID, false, $columns);
            unset($columns);
        }