Last active
January 29, 2017 16:31
-
-
Save AWOLTheSquatch/f56d415f7ea1866755c7ce54bead2a02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$bg = array('Clean-Template-Header-01.png','Clean-Template-Header-02.png','Clean-Template-Header-03.png','Clean-Template-Header-04.png','Clean-Template-Header-05.png','Clean-Template-Header-06.png','Clean-Template-Header-07.png','Clean-Template-Header-08.png','Clean-Template-Header-09.png','Clean-Template-Header-10.png'); // array of filenames | |
$i = rand(0, count($bg)-1); // generate random number size of the array | |
$selectedBg = "$bg[$i]"; // set variable equal to which random filename was chosen | |
?> | |
<style> | |
<?php | |
include 'css/style.css'; | |
include 'key.php'; | |
?> | |
</style> | |
<head> | |
<title>AGNET - EVE - AWOLGamers.com</title> | |
<!-- Datatable code implemented --> | |
<link href="https://cdn.datatables.net/v/bs/jqc-1.12.4/dt-1.10.13/af-2.1.3/r-2.1.0/datatables.min.css" rel="stylesheet" type="text/css" /> | |
<link href="https://cdn.datatables.net/1.10.13/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jqc-1.12.4/dt-1.10.13/af-2.1.3/r-2.1.0/datatables.min.js"></script> | |
<!-- Script to target a table. Change the table name if you wish to target a different table --> | |
<script> | |
$(document).ready(function() { | |
$('table.sortingtabledisplay').DataTable(); | |
} ); | |
</script> | |
<link rel="shortcut icon" href="http://awolgamers.com/eve/favicon.ico" type="image/x-icon" /> | |
<!-- <meta http-equiv="refresh" content="10"> --> | |
<script type="text/javascript" src="js/clocks.js"></script> | |
<link rel="stylesheet" type="text/css" href="css/jquery.jscrollpane.css" media="all" /> | |
</head> | |
<?php | |
//echo"<div class='hr-top'></div>"; | |
/*<!-- Table Header -->*/ | |
print("<table cellspacing='0' width='97%' class='sortingtabledisplay' data-page-length='10'><thead><tr><font color='#111c23'>"); | |
print("<th colspan='9'></font><h1><center>Blueprint Original's</center></h1></th>"); | |
print("</tr><tr>"); | |
//print("<th><h3><center>ItemID</center></h3></th>"); | |
//print("<th><h3><center>LocationID</center></h3></th>"); | |
print("<th><h3><center>Icon</center></h3></th>"); | |
print("<th><h3><center>Item Name</center></h3></th>"); | |
//print("<th><h3><center>Status</center></h3></th>"); | |
//print("<th><h3><center>Quantity</center></h3></th>"); | |
print("<th><h3><center>Material Efficiency</center></h3></th>"); | |
print("<th><h3><center>Time Efficiency</center></h3></th>"); | |
print("<th><h3><center>Runs</center></h3></th>"); | |
print("</tr></thead>"); | |
/*<!-- Table Header -->*/ | |
foreach ($Blueprints_xml->result->rowset[0] as $blueprints) | |
{ | |
if (strpos($blueprints['quantity'],'-1') !== false) { | |
echo | |
/*<!-- Table Body -->*/ | |
print("<tbody>"); | |
print("<tr><td>"); | |
//print("".$blueprints['itemID'].""); | |
//print("</td><td>"); | |
//print("".$blueprints['locationID'].""); | |
//print("</td><td>"); | |
print("<center><img src='http://image.eveonline.com/Type/".$blueprints['typeID']."_64.png' alt='".$blueprints['typeName']."' title='".$blueprints['typeName']."'></center>"); | |
print("</td><td>"); | |
//print("<h3>".$blueprints['typeName']."</h3>"); | |
if (strpos($blueprints['quantity'],'-2') !== false) { | |
echo "<h3>".$blueprints['typeName']." Copy</h3>"; | |
} | |
else { | |
echo "<h3>".$blueprints['typeName']."</h3>"; | |
} | |
//print("</td><td>"); | |
//print("".$blueprints['flagID'].""); | |
/*if ($blueprints['flagID'] == 115) { | |
echo "<h3>Avalible</h3>"; | |
} | |
else { | |
if ($blueprints['flagID'] == 4) { | |
echo "<h3>In Use</h3>"; | |
} | |
else { | |
echo "<h3>Other</h3>"; | |
};};*/ | |
//print("</td><td>"); | |
//print("".$blueprints['quantity'].""); | |
print("</td><td>"); | |
print("<h3>".$blueprints['materialEfficiency']." %</h3>"); | |
print("</td><td>"); | |
print("<h3>".$blueprints['timeEfficiency']." %</h3>"); | |
print("</td><td>"); | |
//print("".$blueprints['runs'].""); | |
if (strpos($blueprints['runs'],'-1') !== false) { | |
echo '<img src="images/Infinity/Infinity_16.png" "width="16px" height="16" alt="Infinity" title="Infinity">'; | |
} | |
else { | |
echo "<h3>".$blueprints['runs']."</h3>"; | |
} | |
print("</td></tr>"); | |
/*<!-- Table Body -->*/ | |
; | |
} | |
else { | |
} | |
};//close loop | |
/*<!-- Table Footer -->*/ | |
print("<tr><tfoot>"); | |
//print("<th><h3><center>ItemID</center></h3></th>"); | |
//print("<th><h3><center>LocationID</center></h3></th>"); | |
print("<th><h3><center>Icon</center></h3></th>"); | |
print("<th><h3><center>Item Name</center></h3></th>"); | |
//print("<th><h3><center>Status</center></h3></th>"); | |
//print("<th><h3><center>Quantity</center></h3></th>"); | |
print("<th><h3><center>Material Efficiency</center></h3></th>"); | |
print("<th><h3><center>Time Efficiency</center></h3></th>"); | |
print("<th><h3><center>Runs</center></h3></th>"); | |
print("</tfoot>"); | |
/*<!-- Table Footer -->*/ | |
print("</td></tr></tbody></table>"); | |
//echo"<div class='hr-bottom'></div>"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment