Skip to content

Instantly share code, notes, and snippets.

AWOLTheSquatch

Block or report user

Report or block AWOLTheSquatch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sql_al_dump.php
<?php
$servername = "address";
$username = "user";
$password = "pass";
$dbname = "eve";
try {
$conn = new PDO("mysql:host=".$servername.";dbname=".$dbname."", $username, $password);
// set the PDO error mode to exception
View includes.php
<?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';
?>
View tn_0_249.php and tn_250_449.php
<?php
//File name tn_0_249.php
//This is the lead API cache file
//This file deletes all the content in the TypeName.api file and places the first API cache into the file
header('Refresh: 60;'); //If API fetch fails or takes to long page will reload and try again
echo"Begaining Type Name 0-249 Update... ";
// Begain Type Name 0-249 Access Key
$TypeName_url = "http://api.eveonline.com/eve/TypeName.xml.aspx?ids=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,17
View TypeName.api
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="2">
<currentTime>2017-01-28 11:16:54</currentTime>
<result>
<rowset name="types" key="typeID" columns="typeID,typeName">
<row typeID="0" typeName="#System" />
<row typeID="1" typeName="Unknown Type" />
<row typeID="2" typeName="Corporation" />
<row typeID="3" typeName="Region" />
<row typeID="4" typeName="Constellation" />
@AWOLTheSquatch
AWOLTheSquatch / test.php
Created Jan 18, 2017
Add-names-to-Corp-Market-Orders
View test.php
<?php
// Begain MarketOrders Access Key
$MarketOrders_keyID="";
$MarketOrders_vcode="";
$MarketOrders_characterID="";
$MarketOrders_url = "http://api.eveonline.com/corp/MarketOrders.xml.aspx?flat=1&keyID=".$MarketOrders_keyID."&vcode=".$MarketOrders_vcode."&characterID=".$MarketOrders_characterID."";
$MarketOrders_file= file_get_contents($MarketOrders_url);
$MarketOrders_xml = simplexml_load_string($MarketOrders_file);
// End MarketOrders Access Key
View blueprint if
if (strpos($blueprints['flagID'],'4') === true) {
echo "<h3>In Use</h3>";
}
else {
if (strpos($blueprints['flagID'],'115') === true) {
echo "<h3>Available</h3>";
}
else {
};};
You can’t perform that action at this time.