2012-09-21 03:34:38 +00:00
<! DOCTYPE html PUBLIC " -//W3C//DTD XHTML 1.0 Transitional//EN " " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd " >
< html xmlns = " http://www.w3.org/1999/xhtml " >
< head >
< meta http - equiv = " Content-Type " content = " text/html;charset=utf-8 " />
< meta name = " description " content = " Main page for UnProfessional Standards " />
< meta name = " keywords " content = " GAMA,UnPS,upstandards,unps-gama,gama-unps,unps,gama,davitech,davitodd " />
< meta name = " author " content = " David Todd " />
< script type = " text/javascript " >
var _gaq = _gaq || [];
_gaq . push ([ '_setAccount' , 'UA-24492597-1' ]);
_gaq . push ([ '_trackPageview' ]);
( function () {
var ga = document . createElement ( 'script' ); ga . type = 'text/javascript' ; ga . async = true ;
ga . src = ( 'https:' == document . location . protocol ? 'https://ssl' : 'http://www' ) + '.google-analytics.com/ga.js' ;
var s = document . getElementsByTagName ( 'script' )[ 0 ]; s . parentNode . insertBefore ( ga , s );
})();
</ script >
< link rel = " shortcut icon " type = " image/ico " href = " favicon.ico " />
< link rel = " shortcut icon " type = " image/x-icon " href = " favicon.ico " />
< title > UnProfessional Standards GAMATechnologies </ title >
< link rel = " stylesheet " href = " site.css " />
2012-09-29 09:01:28 +00:00
< script type = " text/javascript " >
function unhide ( divID ) {
var item = document . getElementById ( divID );
if ( item ) {
2012-09-29 09:13:02 +00:00
item . className = 'unhidden' ;
2012-09-29 09:01:28 +00:00
}
}
function hide ( divID ) {
var item = document . getElementById ( divID );
if ( item ) {
item . className = 'hidden' ;
}
}
</ script >
< style type = " text/css " >
. hidden { display : none ; }
. unhidden { display : block ; }
</ style >
2012-09-21 03:34:38 +00:00
</ head >
< body >
< div id = " container " >
< div id = " header " >
< a href = " http://unps-gama.tk " >
< img src = " http://unps-gama.tk/upload/Pictures/header.png " alt = " UnPS-GAMA Header logo " />
</ a >
</ div >
< div id = " navigation " >
< ul >
2012-10-12 08:36:34 +00:00
< li >< a href = " javascript:unhide('home');hide('about');hide('contact');hide('minecraft'); " > Home </ a ></ li >
< li >< a href = " javascript:unhide('about');hide('home');hide('contact');hide('minecraft'); " > About </ a ></ li >
2012-09-29 09:13:02 +00:00
< li >< a href = " http://unps-gama.tk/img/ " target = " img " > IMGShare </ a ></ li >
< li >< a href = " http://unps-gama.tk/fp/flatpress/ " target = " blog " > Personal Blog </ a ></ li >
< li >< a href = " http://unps-gama.tk/upload/index.php " target = " upload " > Uploads </ a ></ li >
< li >< a href = " http://unps-gama.tk/pox/ " target = " pox " > Proxy </ a ></ li >
< li >< a href = " https://github.com/alopexc0de/GAMA-Site " target = " _ghgama " > GitHub </ a ></ li >
2012-10-12 08:36:34 +00:00
< li >< a href = " javascript:unhide('contact');hide('home');hide('about');hide('minecraft'); " > Contact Us </ a ></ li >
2012-10-09 06:55:41 +00:00
< li >< a href = " http://unps-gama.tk/short " target = " _short " > URL Shortner </ a ></ li >
2012-10-12 08:36:34 +00:00
< li >< a href = " javascript:unhide('minecraft');hide('home');hide('about');hide('contact'); " > Minecraft </ a ></ li >
2012-09-21 03:34:38 +00:00
</ ul >
</ div >
< div id = " content-container1 " >
< div id = " content-container2 " >
< div id = " section-navigation " >
< ul >
< li >< h4 > Offered Services :</ h4 ></ li >
2012-09-29 09:13:02 +00:00
< li >< a href = " http://en.wikipedia.org/wiki/IRC " target = " irc " > IRC </ a > - unps - gama . tk : 6667 </ li >
< li >< a href = " http://teamspeak.com " target = " ts " > TeamSpeak </ a > - unps - gama . tk : 9987 </ li >
< li >< a href = " http://unps-gama.tk/img " target = " img " > Image Host </ a ></ li >
< li >< a href = " http://en.wikipedia.org/wiki/Secure_Shell " target = " ssh " > SSH Access </ a > - email < a href = " mailto:c0de@unps-gama.tk " > c0de </ a > for info </ li >
< li >< a href = " http://en.wikipedia.org/wiki/Email " target = " email " > EMail </ a > ( through SSH ) </ li >
< li >< a href = " http://en.wikipedia.org/wiki/Ftp " target = " ftp " > FTP </ a > ( through < a href = " http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol " target = " sftp " > SFTP </ a > ) </ li >
< li >< a href = " upload.html " target = " upload " > File Storage </ a > ( up to 20 MB ) </ li >
< li >< a href = " http://en.wikipedia.org/wiki/Proxy_server " target = " proxy " > Proxy </ a > at < a href = " http://unps-gama.tk/pox/ " target = " pox " > Pox </ a ></ li >
2012-10-09 06:55:41 +00:00
< li >< a href = " http://unps-gama.tk/short " target = " _short " > URL Shortner </ a ></ li >
2012-09-21 03:34:38 +00:00
</ ul >
</ div >
2012-09-29 09:01:28 +00:00
< div id = " content " >< div id = " home " class = " unhidden " >
2012-09-21 03:34:38 +00:00
< h2 >
UnProfessional Standards - GAMATechnologies | Home Page
</ h2 >< hr />
< p >
Hello and welcome to the newly designed UnPS - GAMA website ! The past week has mainly been spent upgrading my image share system , and it is nearly at completion . I have been absolutly dreading redesiging this page , but I decided today , September 13 th 2012 at 1500 EST , that I would finally get to work . I decided to start more from scratch and pull in the things that I wanted . Currently this is beta and not every page is done with formatting . Pages that I 'm happy with for now (aside for not having CSS2 or XHTML1 compliance) are the <a href="http://unps-gama.tk/404.html">404</a> page, and pretty much anything with the <a href="http://unps-gama.tk/img">image host</a>. Pages that I need to work on are the upload, contact us, and about pages so far. As of now, they' ll just redirect to the 404 page until I get to them .< br /> As I have placement tests for college today , I am trying to get as much done as I can before then , < strike > but it could be unlikely that I get the page uploaded and live until then .</ strike > I got it uploaded and debugged quickly . There are some alignment issues but good otherwise . Updates soon to follow .
</ p >< hr />
< p > ( Pulled from old index ) </ p >< h4 > Whoo ! We ' ve gone through our first actual hack !</ h4 >
< p > This page was defaced today , May 25 th at 8 : 18 am EST by Nightmare Team .
The page can still be accessed < a href = " index.php.hack " target = " unps-hack " > here </ a >
It was actually pretty fun , and I saw that it was a simple php upload exploit to change the way php worked on the system .
The person who pulled it off has not been banned from this server ( because of my hackerish side )
ciao - dc0de
2012-09-29 09:01:28 +00:00
</ p ></ div >
< div id = " about " class = " hidden " >
< h2 >
UnProfessional Standards - GAMATechnologies | About Us
</ h2 >< hr />
< p >
The way this works is fairly simple , what I do is I host web services . If you want to use me for anything , then feel free to contact me at < a href = " mailto:c0de@unps-gama.tk " > c0de </ a >. Most of what I offer is free for anyone , and I can terminate service for anybody , including to the point of not being able to access anything on the GAMA network . If I decide to terminate service however , I will compress any of your files and give you a link . The link is only good for ~ 48 hours before it will be deleted automatically . Services that I offer by default are listed to the left , these are free for anyone who wants to use them . Depending on your request I might be able to host other things though , just ask .
</ p >
</ div >
< div id = " contact " class = " hidden " >
< h2 >
UnProfessional Standards - GAMATechnologies | Contact Us
</ h2 >< hr />
< p > Hello , I 'm assuming that you want to contact me.</p><p>Here' s a list of ways ( listed in order of highest chance of reaching me to lowest ) :</ p >
< ul >
< li > Skype : < a href = " skype:alopexlagopus-c0de?chat " > alopexlagopus - c0de </ a ></ li >
< li > Facebook : < a href = " http://facebook.com/G1itch3D " target = " _fbgama " > G1itch3D </ a ></ li >
< li > Email : < a href = " mailto:c0de@unps-gama.tk " > c0de @ unps - gama . tk </ a ></ li >
< li > IRC : < a href = " irc:irc.unps-gama.tk#minecraft " > irc . unps - gama . tk </ a > #minecraft</li>
< li > TeamSpeak : < a href = " teamspeak:unps-gama.tk " > unps - gama . tk </ a > default channel </ li >
</ ul >
</ div >
2012-10-12 08:36:34 +00:00
< div id = " minecraft " class = " hidden " >
< h4 > Server Status :</ h4 >< br />
< table align = " center " >
< ? php
$ip = 'mc.unps-gama.tk' ;
$port = '36565' ;
$result = '' ;
$fp = fsockopen ( $ip , $port , $errno , $errstr , 5 ); // Socket for connecting to server
if ( ! $fp ) {
echo " <font color='red'>Unable to reach server</font> " ;
} else {
$out = " \xFE " ; // Hex needed for server info
fwrite ( $fp , $out );
while ( ! feof ( $fp )) {
$result .= fgets ( $fp , 128 );
}
fclose ( $fp );
// Remove extra spaces between characters
$result = str_replace ( " \x00 " , " " , $result );
$result = str_replace ( " \x1A " , " " , $result );
$result = str_replace ( " \xFF " , " " , $result );
$srvinfo = explode ( " \xA7 " , $result );
echo " <tr><td> \n " ;
echo " Server:<font color='red'> " . $ip . " </font> on port:<font color='blue'> " . $port . " </font> is: " ;
include ( 'testserver.php' );
$status = GetServerStatus ( $ip , $port );
if ( $status == " ONLINE " ) echo " <font color='green'> " . $status . " </font></td></tr> \n " ;
if ( $status == " OFFLINE " ) echo " <font color='red'> " . $status . " </font></td></tr> \n " ;
echo " <tr><td>motd: " . $srvinfo [ 0 ] . " </td></tr> \n " ;
echo " <tr><td>players online: " . $srvinfo [ 1 ] . " </td></tr> \n " ;
echo " <tr><td>max players: " . $srvinfo [ 2 ] . " </td></tr> \n " ;
}
?>
2012-10-17 00:30:13 +00:00
< tr >< td >< img src = " http://unps-gama.tk/mcimage.php " alt = " server status image " ></ td ></ tr >
< tr >< td >< form action = " 404.html " method = " get " >< p > Share this banner :</ p ></ td ></ tr >
< tr >< td >< p > Direct : </ p >< input type = " text " size = " 15 " value = " http://unps-gama.tk/mcimage.php " readonly /></ p ></ td ></ tr >
< tr >< td >< p > HTML : </ p >< input type = " text " size = " 50 " value = " <img src='http://unps-gama.tk/mcimage.php alt='UnPS-GAMA Minecraft server status image' /> " readonly /></ p ></ td ></ tr >
< tr >< td >< p > BBCode ( for forums ) : </ p >< input type = " text " size = " 30 " value = " [align=center][img]http://unps-gama.tk/mcimage.php[/img][/align] " readonly /></ p ></ form ></ td ></ tr >
2012-10-12 08:36:34 +00:00
</ table >< br />< hr />< br />
< ? php
$choice = '' ;
$map = '' ;
$uniqueid = '' ;
$voterip = '' ;
$random = rand ();
$path = " . " ; //shortening url storage folder
$pagepath = " http://ugama.tk/short/ " ;
$pagetitle = " Unps-gama.tk shortner " ;
if ( ! $_POST [ 'submit' ])
{
?>
< h4 > Poll - I 'm planing on doing a custom map for a short time, who votes yes, who votes no and if you' re yes tell me what map please </ h4 >
< form action = " index.php " method = " post " >
< p > Yes , put up a custom map for a short time < input type = " radio " name = " choice " value = " yes " /></ p >
< p > No , don ' t change the map < input type = " radio " name = " choice " value = " no " /></ p >
< p > Map to use ( optional ) : < input name = " map " type = " text " size = " 30 " value = " No map was supplied " /></ p >
< input type = " hidden " name = " uniqueid " value = " <?php echo $random ; ?> " />
< input type = " hidden " name = " voterip " value = " <?php echo $_SERVER['REMOTE_ADDR'] ; ?> " />
< input type = " submit " name = " submit " value = " submit " />
</ form >
< ? php
}
$choice = $_POST [ 'choice' ];
//$map = $_POST['map'];
$uniqueid = $_POST [ 'uniqueid' ];
$voterip = $_POST [ 'voterip' ];
if ( $_POST [ " submit " ])
{
if ( isset ( $_POST [ 'choice' ]) && isset ( $_POST [ 'uniqueid' ]) && isset ( $_POST [ 'voterip' ]) && $choice != " " && $uniqueid != " " && $voterip != " " )
{
if ( isset ( $_POST [ 'map' ])){
$map = $_POST [ 'map' ];
} else {
$map = " No Map was supplied " ;
}
$myFile = " poll.txt " ;
$fh = fopen ( $myFile , 'a' ) or die ( " can't open file " );
$stringData = " Voter: " . $uniqueid . " Of IP: " . $voterip . " , has voted " . $choice . " and their map is: " . $map . " . \n " ;
fwrite ( $fh , $stringData );
fclose ( $fh );
echo "
< script type = 'text/javascript' >
unhide ( 'minecraft' ); hide ( 'home' ); hide ( 'about' ); hide ( 'contact' );
</ script >
< h3 > Thanks for voting !</ h3 > " ;
//echo "Voter: ".$uniqueid." Of IP: ".$voterip.", has voted ".$choice." and their map is: ".$map."\r\n\r\n";
} if ( $choice == " " || $uniqueid == " " || $voterip == " " ){
echo "
< script type = 'text/javascript' >
unhide ( 'minecraft' ); hide ( 'home' ); hide ( 'about' ); hide ( 'contact' );
</ script >
< h1 > Something ' s not right here ... Try using the poll again </ h1 > " ;
}
}
?>
2012-10-02 08:01:47 +00:00
</ div >
2012-09-21 03:34:38 +00:00
</ div >
< div id = " aside " >
< script type = " text/javascript " ><!--
google_ad_client = " ca-pub-6762927271223365 " ;
/* Side ad unps1 */
google_ad_slot = " 3534639421 " ;
google_ad_width = 160 ;
google_ad_height = 90 ;
//-->
</ script >
< script type = " text/javascript "
src = " http://pagead2.googlesyndication.com/pagead/show_ads.js " >
</ script >< br />
< form action = " https://www.paypal.com/cgi-bin/webscr " method = " post " >
< input type = " hidden " name = " cmd " value = " _s-xclick " />
< input type = " hidden " name = " hosted_button_id " value = " JWBVWZ8XGM73W " />
< input type = " image " src = " https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif " name = " submit " alt = " PayPal - The safer, easier way to pay online! " />
< img alt = " " src = " https://www.paypalobjects.com/en_US/i/scr/pixel.gif " width = " 1 " height = " 1 " />
</ form >
< br />
< h3 >
Upload Files ( 20 MB limit )
</ h3 >
< p >
Files will automatically sort after 5 minutes . If you can ' t find your file , check < a href = " http://unps-gama.tk/upload/index.php " > Uploads </ a > for your files .
</ p >
< form enctype = " multipart/form-data " method = " post " action = " upload.php " >
< label for = " file " > Filename :</ label >
< input id = " file " type = " file " name = " file " />< br />
< input value = " Upload! " type = " submit " name = " submit " />
</ form >
2012-10-09 05:37:56 +00:00
< br />< h3 > Files currently on GAMA : </ h3 >
2012-09-21 03:34:38 +00:00
< ? php
2012-10-09 05:37:56 +00:00
//include 'preg_find.php';
//$files = preg_find('/./', './upload', PREG_FIND_RECURSIVE);
//foreach($files as $file) printf("<br />%s\n", $file);
include 'upload-list.php' ;
getDirectory ( " ./upload " );
2012-09-21 03:34:38 +00:00
?>
</ div >
< div id = " footer " >
< p >
< a href = " http://jigsaw.w3.org/css-validator/check/referer " >
< img style = " border:0;width:88px;height:31px " src = " http://jigsaw.w3.org/css-validator/images/vcss-blue " alt = " Valid CSS! " />
</ a >
< a href = " http://validator.w3.org/check?uri=referer " >
< img src = " http://www.w3.org/Icons/valid-xhtml10 " alt = " Valid XHTML 1.0 Transitional " height = " 31 " width = " 88 " />
</ a >
</ p >
2012-09-29 09:13:02 +00:00
< h5 > Everything availiable < a href = " https://github.com/alopexc0de/GAMA-Site " target = " _ghgama " > here </ a > on < a href = " https://github.com " > GitHub </ a ></ h5 >
2012-09-21 03:34:38 +00:00
< h5 > Copyright & copy ; UnPS - GAMATechnologies , 2012 - CSS Provided by : < a href = " http://www.maxdesign.com.au/articles/css-layouts/three-liquid/ " target = " maxdesign " > maxdesign </ a ></ h5 >
< h5 >
< ? php
$last_modified = filemtime ( " index.php " );
print ( " Last Modified " );
print ( date ( " m/j/y h:i:s a " , $last_modified ));
?>
< ? php
//displays the time / date a page was last accessed
echo " Last viewed on: " . date ( " m/d/Y h:i:s a " );
?> Server time.</h5>
</ div >
</ div >
</ div >
</ div >
</ body >
</ html >