コード例 #1
0
ファイル: index.php プロジェクト: CraXyOW3/eve_cms
    		$wrt	.=	'<td rowspan="2" width="'.$size_cha.'"><a onclick="CCPEVE.showInfo(1377, '.$row['characterID'].')">'.ldimg($row['characterID'],'char','','kb_border').'</a></td>';
    		$wrt	.=	'<td class="font_s left">'.$row['characterName'].'</td>';
    		$wrt	.=	'<td rowspan="2" width="'.$size_crp.'" id="chartip"><span title="'.$row['corporationName'].'"><a name="'.$row['killid'].'" onclick="CCPEVE.showInfo(2, '.$row['corporationID'].')" style="cursor:hand;">'.ldimg($row['corporationID'],'corp','right','kb_border').'</a></span></td>';
    		$wrt	.=	'</tr>';
    		$wrt	.=	'<tr>';
    		$wrt	.=	'<td class="font_s right">'.$row['corporationName'].'</td>';
    		$wrt	.=	'</tr>';
    		$wrt	.=	'</table>';
    	$wrt	.=	'</td>';
    */
    $wrt .= '<td class="left font_s tcell' . $odder . '" width="20%" id="chartip"><span title="View Characterinfo"><a href="javascript:void(0)" onclick="CCPEVE.showInfo(1377, ' . $row['characterID'] . ')">' . ldimg($row['characterID'], 'char', 'left', 'kb_border') . '</a></span><span title="View Characterinfo"><a href="javascript:void(0)" onclick="CCPEVE.showInfo(1377, ' . $row['characterID'] . ')">' . $row['characterName'] . '</a></span></td>';
    $wrt .= '<td class="left font_s tcell' . $odder . '" width="20%" id="chartip"><span title="View Corporationinfo"><a href="javascript:void(0)" onclick="CCPEVE.showInfo(2, ' . $row['corporationID'] . ')">' . ldimg($row['corporationID'], 'corp', 'left', 'kb_border') . '</a></span><span title="View Corporationinfo"><a href="javascript:void(0)" onclick="CCPEVE.showInfo(2, ' . $row['corporationID'] . ')">' . $row['corporationName'] . '</a></span></td>';
    $wrt .= '<td class="font_s tcell' . $odder . '" width="20%"><a href="javascript:void(0)" onclick="CCPEVE.showInfo(5, ' . $row['sol_system'] . ')">' . $row_sys['ssname'] . '</a></td>';
    $wrt .= '<td class="font_s tcell' . $odder . '" width="10%">' . date('Y.i.d', strtotime($row['kill_time'])) . '<br />' . date('H:i', strtotime($row['kill_time'])) . '</td>';
    //$wrt	.=	'<td class="font_s tcell'.$odder.'" id="chartip"><span title="View Attackers"><a href="#" onclick="showUrlInDialog(\'includes/killboard/kb_view.php?mode=attackers&id='.$row['killid'].'\'); return false;">'.ldimg($G_corpID,'corp','','kb_border').'</a></span></td>';
    $wrt .= '<td class="font_s tcell' . $odder . '" width="10%" id="chartip"><span title="View Attackers"><a href="#" onclick="kbshow(\'Attackers\',\'attackers\',\'' . $row['killid'] . '\'); return false;">' . ldimg($G_corpID, 'corp', '', 'kb_border') . '</a></span></td>';
    $wrt .= '</tr>';
    $wrt .= '';
    $i++;
}
$wrt .= '</table>';
echo $wrt;
?>

<?php 
echo $pagination;
?>
<p>&nbsp;</p>
<p class="notice">Tips: Hovering Ship will show fitting dial, hovering shiptype will show list of fitting, hovering victim will show attackers.<br />
Clicking Ship icon will show ships type info, clicking ship type will show it's fitting, clicking victim will show char info, clicking corporation will show corp info.<br />
<a href="http://eve.battleclinic.com/killboard/combat_record.php?type=corp&name=Gung-Ho#kills" target="_blank">Our BattleClinic Killoard</a></p>
コード例 #2
0
ファイル: kb_view.php プロジェクト: CraXyOW3/eve_cms
    $wrt = '<table border="0" cellspacing="0" cellpadding="0" width="100%">';
    $wrt .= '<tr><th class="left ft_head font_m">Ship</th><th class="left ft_head font_m">Attacker</th><th class="left ft_head font_m">Damage</th></tr>';
    foreach ($att as $attacker) {
        //$dmgDone = number_format((double)$value['damageDone']);
        if ($evenOdd) {
            $odder = "even";
            $splitter = false;
        } else {
            $odder = "odd";
            $splitter = true;
        }
        $evenOdd = !$evenOdd;
        if ($attacker['fb'] == true) {
            $fb = '_fb';
        } else {
            $fb = '';
        }
        $wrt .= '<tr>';
        $wrt .= '<td class="left font_s tcell' . $odder . '">' . ldimg($attacker['ship'], 'type', 'left', 'kb_border' . $fb . '', '32') . '' . get_name($attacker['ship']) . '<br />' . get_name($attacker['wpn_id']) . '</td>';
        if (!empty($attacker['all_name'])) {
            $alli = '<a onclick="CCPEVE.showInfo(16159, ' . $attacker['all_id'] . ')" href="#">' . $attacker['all_name'] . '</a>';
        } else {
            $alli = '';
        }
        $wrt .= '<td class="left font_s tcell' . $odder . '">' . ldimg($attacker['plt_id'], 'char', 'left', 'kb_border' . $fb . '') . '<a onclick="CCPEVE.showInfo(1377, ' . $attacker['plt_id'] . ')" href="#">' . $attacker['plt_name'] . '</a><br /><a onclick="CCPEVE.showInfo(2, ' . $attacker['crp_id'] . ')" href="#">' . $attacker['crp_name'] . '</a><br />' . $alli . '</td>';
        $wrt .= '<td class="left font_s tcell' . $odder . '">' . number_format((double) $attacker['dmgdone']) . '<br />' . percent($attacker['dmgdone'], $perc['SUM(dmgdone)']) . '%</td>';
        $wrt .= '</tr>';
    }
    $wrt .= '</table>';
    echo $wrt;
}
コード例 #3
0
ファイル: index.php プロジェクト: CraXyOW3/eve_cms
     if (substr(dec2bin($row['char_role']), 0, 1) == 1) {
         $checkRole = 'Director';
     } else {
         $checkRole = 'Regular';
     }
 }
 $charLastTime = ceil((time() - strtotime($row['char_log_off'])) / 86400);
 if ($evenOdd) {
     $odder = "even";
 } else {
     $odder = "odd";
 }
 $evenOdd = !$evenOdd;
 $wrt .= '<td><table border="0" cellpadding="0" cellspacing="0" width="450">';
 $wrt .= '<tr>';
 $wrt .= '	<td class="tcell' . $odder . '" width="100" rowspan="5">' . ldimg($row['char_id'], 'char', '', 'border', '64', '64') . '<br /><a class="jTip" name="CorpRoles!" id="crprls' . $i . '" href="./includes/rolecheck.php?width=300&crprl=' . $row['char_role'] . '">' . $checkRole . '</a></td>';
 $wrt .= '	<td class="tright">Name</td>';
 $wrt .= '	<td class="tleft"><a href="#" onclick="CCPEVE.showInfo(1377, ' . $row['char_id'] . ')">' . $row['char_name'] . '</td>';
 $wrt .= '</tr>';
 $wrt .= '<tr>';
 $wrt .= '	<td class="tright" width="60">Location</td>';
 $wrt .= '	<td class="tleft"><a href="#<?php echo $charID; ?>" onclick="CCPEVE.showInfo(3867, ' . $row['char_loc'] . ')">' . trim_text($row['char_loc_name'], 35) . '</a></td>';
 $wrt .= '</tr>';
 $wrt .= '<tr>';
 $wrt .= '	<td class="tright">Ship</td>';
 $wrt .= '	<td class="tleft"><a href="#<?php echo $charID; ?>" onclick="CCPEVE.showInfo(' . $row['char_ship'] . ')">' . get_name($row['char_ship']) . '</a></td>';
 $wrt .= '</tr>';
 $wrt .= '<tr>';
 $wrt .= '	<td class="tright">Activity</td>';
 $wrt .= '	<td class="tleft">On: ' . $row['char_log_on'] . '<br />Off: ' . $row['char_log_off'] . '</td>';
 $wrt .= '</tr>';