Changeset 98

Show
Ignore:
Timestamp:
11/28/06 19:04:41 (14 years ago)
Author:
exi
Message:

Added EVE-Dev logo to about page.
Fix an issue with the error jpg in the siggen.
Made item values align right in the item_values mod.
Adding sqldata for the installer. However, this is not Kali data.

Location:
dev
Files:
55 added
4 modified

Legend:

Unmodified
Added
Removed
  • dev/common/about.php

    r92 r98  
    1111// Remember to share any modifications to the EVE-Dev Killboard. 
    1212$html .= "This is the EVE Development Network Killboard running version 1.2, created for <a href=\"http://www.eve-online.com/\">EVE Online</a> corporations and alliances.<br/>Based on the EVE-Killboard created by <a href=\"mailto:rig0r@eve-killboard.net\">rig0r</a> it is now developed and maintained by the <a href=\"http://www.eve-dev.net/\">EVE-Dev</a> group.<br/>All EVE graphics and data used are property of <a href=\"http://www.ccpgames.com/\">CCP</a>.<br/><br/>"; 
    13  
    1413$qry = new DBQuery(); 
    1514$qry->execute("select count(*) as cnt from kb3_kills"); 
     
    3029// $html .= "<div class=block-header2>Killboard stats</div>"; 
    3130$html .= "This killboard currently contains: <b>" . number_format($kills, 0, ',', '.') . "</b> killmails, <b>" . number_format($items, 0, ',', '.') . "</b> destroyed items, <b>" . number_format($pilots, 0, ',', '.') . "</b> pilots, <b>" . number_format($corps, 0, ',', '.') . "</b> corporations and <b>" . number_format($alliances, 0, ',', '.') . "</b> alliances.<br><br>"; 
     31$html .= '<a href="http://www.eve-dev.net/" target="_blank"><img src="http://www.eve-dev.net/e107_images/evedev_button.png" border="0"/></a><br/><br/>'; 
    3232 
    3333$html .= "<div class=block-header2>Portraits</div>"; 
  • dev/mods/item_values/kill_detail.php

    r96 r98  
    223223 
    224224                } 
    225                 if($page->isAdmin()) { 
     225                if ($page->isAdmin()) 
     226        { 
    226227                        $html .="<form method=post id=".$value." name=". $value ." action= >"; 
    227                         $html .= "<td class=kb-table-cell colspan=1><b>$value</b>"; 
     228                        $html .= "<td class=kb-table-cell colspan=1 align=right><b>$value</b>"; 
    228229                        $html .= "<input checked='checked' name='IID' value="  . $item->getID() .  " type='hidden'></td>"; // Hidden Item Id Indicator 
    229230 
     
    234235                        $html .= "<td class=kb-table-cell colspan=1><input type='submit' name='submit' value='Update' class='comment-button'></td>"; 
    235236                        $html .="</form>"; 
    236                 } else { 
    237                         $html .= "<td class=kb-table-cell colspan=1><b>$Formatted</b>"; 
     237                } 
     238        else 
     239        { 
     240                        $html .= "<td class=kb-table-cell colspan=1 align=right><b>$Formatted</b>"; 
    238241                } 
    239242                $html .= "</tr>"; 
     
    245248    $html .= "<td class=kb-table-cell colspan=2 align=right><b>" . "Total Module Loss:" . "</b></td>"; 
    246249 
    247     if ($TotalValue > 0) { 
    248  
     250    if ($TotalValue > 0) 
     251    { 
    249252                $Formatted = number_format($TotalValue,2); 
    250  
    251253        } 
    252254        //Get Ship Value 
  • dev/mods/item_values/settings.php

    r97 r98  
    1414{ 
    1515 
     16if (true) 
     17{ 
    1618    //http://eve-central.com/home/marketstat_xml.html?typeid= 
    1719    $html = "Querying Database for Ship Item Numbers<br>"; 
     
    3436        usleep(200); 
    3537    } 
    36     $html = "Finished"; 
    37  
    38 if (false) 
     38    $html .= "Finished"; 
     39} 
     40else 
    3941{ 
    4042    // this is a BAD idea for users 
     
    5860        $updateSQL = "UPDATE kb3_items SET itm_value ='" . $pdata['market_stat']['avg_sell_price'] . "' WHERE itm_id = '" . $row['itm_id'] ."'"; 
    5961        $uqry->execute($updateSQL); 
    60         usleep(200); 
     62        usleep(300); 
    6163    } 
    6264    $html .= "Finished"; 
  • dev/mods/signature_generator/sig.php

    r87 r98  
    1010if (!$plt_id = $_GET['i']) 
    1111{ 
    12     header('location: error.jpg'); 
     12    header('Location: mods/signature_generator/error.jpg'); 
    1313    exit; 
    1414} 
     
    2121if (!$pilot->exists()) 
    2222{ 
    23     header('Location: error.jpg'); 
     23    header('Location: mods/signature_generator/error.jpg'); 
    2424    exit; 
    2525} 
     
    3030if (ALLIANCE_ID && $alliance->getID() != ALLIANCE_ID) 
    3131{ 
    32     header('Location: error.jpg'); 
     32    header('Location: mods/signature_generator/error.jpg'); 
    3333    exit; 
    3434} 
    3535elseif (CORP_ID && $corp->getID() != CORP_ID) 
    3636{ 
    37     header('Location: error.jpg'); 
     37    header('Location: mods/signature_generator/error.jpg'); 
    3838    exit; 
    3939} 
     
    6464if (!is_dir('mods/signature_generator/signatures/'.$sig_name)) 
    6565{ 
    66     header('Location: error.jpg'); 
     66    header('Location: mods/signature_generator/error.jpg'); 
    6767    exit; 
    6868}