// nothing yet.... $item_id = $row99['item_id']; $item_name = $row99['item_name']; $item_value = $row99['item_value']; $item_date = $row99['item_date']; $raid_id = $row99['raid_id']; $raid_name = $row99['raid_name']; $text .= ' <tr class="row1"> <td width="70" nowrap="nowrap">' . strftime($pref['shortdate'], $item_date) . '</td> '; if ($pref['as_version']) { require_once e_PLUGIN . "armorystats/includes/config.php"; // they have armorystats.. make it an item link! $text .= ' <td width="50%"><a href="view_item.php?i=' . $item_id . '">' . getItemByName(stripslashes($item_name), e_PLUGIN . "e107dkp/view_item.php?i=" . $item_id) . '</a></td>'; } else { $text .= ' <td width="50%"><a href="view_item.php?i=' . $item_id . '">' . stripslashes($item_name) . '</a></td>'; } $text .= ' <td width="50%"><a href="view_raid.php?r=37">' . stripslashes($raid_name) . '</a></td> <td width="60" nowrap="nowrap" class="negative">' . $item_value . '</td> <td width="70" nowrap="nowrap" class="negative">0.00</td> </tr>'; } $text .= ' </table><br><br>'; } else { $text .= 'You do not have the correct permissions to view this character data<br>'; }
//Insert order summary for this item if (!$success) { array_push($purchaseFailed, $dbitem); } } if (count($purchaseFailed) > 0) { db_deleteOrder($dborder->id); } } else { $item = $item_arr->item; $output[] = '<tr>'; $output[] = '<td>' . $item->name . '</td>'; $output[] = '<td>' . $item->quantity . '</td>'; $output[] = '</tr>'; //Get item from store inventory ans save it in order summary $dbitem = getItemByName($item->name); $success = db_addOrderItem($dborder->id, $dbitem->id, $item->quantity, $item->price); //Insert order summary for this item if (!$success) { array_push($purchaseFailed, $dbitem); } } $output[] = '</tbody>'; $output[] = '</table>'; //Send Email to customer $buyer = db_getUserById($dborder->userid); // Buyer Information: added by JAM - 06/18/2012 $profile_fields = profile_user_record($dborder->userid); $data = new object(); $data->userfullname = fullname($buyer); $data->firstname = $buyer->firstname;
FROM ' . MPREFIX . DKPDB_TABLE_ITEMS . "\r\n WHERE raid_id='" . $raid . "'"; $sql99 = new db(); $sql99->db_Select_gen($query2); while ($row99 = $sql99->db_Fetch()) { $item_count = $row99['count(*)']; } $sql99->db_Select_gen($query); while ($row99 = $sql99->db_Fetch()) { $text .= ' <tr class="row2"> <td width="150" nowrap="nowrap"><a href="' . e_PLUGIN . 'e107dkp/view_member.php?n=' . $row99['item_buyer'] . '">' . $row99['item_buyer'] . '</a></td>'; if ($pref['as_version']) { require_once e_PLUGIN . "armorystats/includes/config.php"; // they have armorystats.. make it an item link! $text .= ' <td width="100%"><a href="view_item.php?i=' . $row99['item_id'] . '">' . getItemByName(stripslashes($row99['item_name']), e_PLUGIN . "e107dkp/view_item.php?i=" . $row99['item_id']) . '</a></td>'; } else { $text .= ' <td width="100%"><a href="view_item.php?i=' . $row99['item_id'] . '">' . stripslashes($row99['item_name']) . '</a></td>'; } $text .= ' <td width="60" class="negative">' . $row99['item_value'] . '</td> </tr>'; } $text .= ' <tr> <th colspan="3" class="footer">... found ' . $item_count . ' drop(s)</th> </tr> </table>'; // // Class distribution