Initial Push
commit
7d12b24708
|
@ -0,0 +1,22 @@
|
|||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
*.sln merge=union
|
||||
*.csproj merge=union
|
||||
*.vbproj merge=union
|
||||
*.fsproj merge=union
|
||||
*.dbproj merge=union
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
|
@ -0,0 +1,163 @@
|
|||
#################
|
||||
## Eclipse
|
||||
#################
|
||||
|
||||
*.pydevproject
|
||||
.project
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.classpath
|
||||
.settings/
|
||||
.loadpath
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# CDT-specific
|
||||
.cproject
|
||||
|
||||
# PDT-specific
|
||||
.buildpath
|
||||
|
||||
|
||||
#################
|
||||
## Visual Studio
|
||||
#################
|
||||
|
||||
## Ignore Visual Studio temporary files, build results, and
|
||||
## files generated by popular Visual Studio add-ons.
|
||||
|
||||
# User-specific files
|
||||
*.suo
|
||||
*.user
|
||||
*.sln.docstates
|
||||
|
||||
# Build results
|
||||
[Dd]ebug/
|
||||
[Rr]elease/
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ilk
|
||||
*.meta
|
||||
*.obj
|
||||
*.pch
|
||||
*.pdb
|
||||
*.pgc
|
||||
*.pgd
|
||||
*.rsp
|
||||
*.sbr
|
||||
*.tlb
|
||||
*.tli
|
||||
*.tlh
|
||||
*.tmp
|
||||
*.vspscc
|
||||
.builds
|
||||
*.dotCover
|
||||
|
||||
## TODO: If you have NuGet Package Restore enabled, uncomment this
|
||||
#packages/
|
||||
|
||||
# Visual C++ cache files
|
||||
ipch/
|
||||
*.aps
|
||||
*.ncb
|
||||
*.opensdf
|
||||
*.sdf
|
||||
|
||||
# Visual Studio profiler
|
||||
*.psess
|
||||
*.vsp
|
||||
|
||||
# ReSharper is a .NET coding add-in
|
||||
_ReSharper*
|
||||
|
||||
# Installshield output folder
|
||||
[Ee]xpress
|
||||
|
||||
# DocProject is a documentation generator add-in
|
||||
DocProject/buildhelp/
|
||||
DocProject/Help/*.HxT
|
||||
DocProject/Help/*.HxC
|
||||
DocProject/Help/*.hhc
|
||||
DocProject/Help/*.hhk
|
||||
DocProject/Help/*.hhp
|
||||
DocProject/Help/Html2
|
||||
DocProject/Help/html
|
||||
|
||||
# Click-Once directory
|
||||
publish
|
||||
|
||||
# Others
|
||||
[Bb]in
|
||||
[Oo]bj
|
||||
sql
|
||||
TestResults
|
||||
*.Cache
|
||||
ClientBin
|
||||
stylecop.*
|
||||
~$*
|
||||
*.dbmdl
|
||||
Generated_Code #added for RIA/Silverlight projects
|
||||
|
||||
# Backup & report files from converting an old project file to a newer
|
||||
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
||||
_UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
|
||||
|
||||
|
||||
############
|
||||
## Windows
|
||||
############
|
||||
|
||||
# Windows image file caches
|
||||
Thumbs.db
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
|
||||
#############
|
||||
## Python
|
||||
#############
|
||||
|
||||
*.py[co]
|
||||
|
||||
# Packages
|
||||
*.egg
|
||||
*.egg-info
|
||||
dist
|
||||
build
|
||||
eggs
|
||||
parts
|
||||
bin
|
||||
var
|
||||
sdist
|
||||
develop-eggs
|
||||
.installed.cfg
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
.coverage
|
||||
.tox
|
||||
|
||||
#Translations
|
||||
*.mo
|
||||
|
||||
#Mr Developer
|
||||
.mr.developer.cfg
|
||||
|
||||
# Mac crap
|
||||
.DS_Store
|
Binary file not shown.
After Width: | Height: | Size: 212 B |
Binary file not shown.
After Width: | Height: | Size: 201 B |
Binary file not shown.
After Width: | Height: | Size: 212 B |
Binary file not shown.
After Width: | Height: | Size: 201 B |
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
include "scripts/setup.php";
|
||||
|
||||
$page_title="Gallery";
|
||||
|
||||
include "scripts/pageheader.php";
|
||||
?>
|
Binary file not shown.
After Width: | Height: | Size: 622 B |
Binary file not shown.
After Width: | Height: | Size: 622 B |
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
include "scripts/setup.php";
|
||||
|
||||
$page_title="Welcome";
|
||||
|
||||
include "scripts/pageheader.php";
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo "<h1>Hello, ".$forum_user['username']."</h1>\n";
|
||||
|
||||
if (file_exists("files/player_".$forum_user['username'].".png")){
|
||||
echo "<img src=\"files/player_".$forum_user['username'].".png\" width=64 height=128 />";
|
||||
}else{
|
||||
echo "<img src=\"files/default_green.png\" width=64 height=128 />";
|
||||
}
|
||||
if (file_exists("files/player_".$forum_user['username']."_back.png")){
|
||||
echo "<img src=\"files/player_".$forum_user['username']."_back.png\" width=64 height=128 />";
|
||||
}else{
|
||||
echo "<img src=\"files/default_green_back.png\" width=64 height=128 />";
|
||||
}
|
||||
?>
|
||||
<p>
|
||||
<a href="gallery.php">Image from Gallery</a><br /><br />
|
||||
<a href="upload.php">Upload an image</a>
|
||||
</p>
|
||||
|
||||
<fieldset>
|
||||
<legend>Notice</legend>
|
||||
You will not be able to change your character texture on servers which do not have the mod by PilzAdam installed.<br />
|
||||
In those servers, all players will have the same character texture.
|
||||
</fieldset>
|
||||
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
body
|
||||
{
|
||||
font-family:"Arial",arial,arial;
|
||||
}
|
||||
|
||||
#userbar
|
||||
{
|
||||
color:#FFFFFF;
|
||||
}
|
||||
|
||||
#slogan
|
||||
{
|
||||
color:#FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
h1
|
||||
{
|
||||
margin:0;
|
||||
margin-bottom:.5em;
|
||||
}
|
||||
|
||||
a:link {color:#393939;}
|
||||
a:visited {color:#393939;}
|
||||
a:hover {color:#393939;}
|
||||
a:active {color:#393939;}
|
||||
.Wp-Artistic-Body-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Body-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Bullet-List-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 48.0px; text-align:left; font-weight:400; text-indent:-15.0px;
|
||||
}
|
||||
.Wp-Footer-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400;
|
||||
}
|
||||
.Wp-Header-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400;
|
||||
}
|
||||
.Wp-Header-and-Footer-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-1-P
|
||||
{
|
||||
margin:32.0px 0.0px 4.0px 0.0px; text-align:center; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-2-P
|
||||
{
|
||||
margin:20.0px 0.0px 4.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-3-P
|
||||
{
|
||||
margin:12.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-4-P
|
||||
{
|
||||
margin:20.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-5-P
|
||||
{
|
||||
margin:16.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Heading-6-P
|
||||
{
|
||||
margin:12.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Headings-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Indented-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 48.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Lists-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 24.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Normal-P
|
||||
{
|
||||
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Note-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Numbered-List-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 48.0px; text-align:left; font-weight:400; text-indent:-12.0px;
|
||||
}
|
||||
.Wp-Quote-P
|
||||
{
|
||||
margin:12.0px 48.0px 12.0px 48.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Strong-Quote-P
|
||||
{
|
||||
margin:12.0px 48.0px 12.0px 48.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Subtitle-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Table-Body-P
|
||||
{
|
||||
margin:0.0px 0.0px 12.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Title-P
|
||||
{
|
||||
margin:0.0px 0.0px 20.0px 0.0px; text-align:left; font-weight:400;
|
||||
}
|
||||
.Wp-Code-C
|
||||
{
|
||||
font-family:"Courier New", monospace;
|
||||
}
|
||||
.Wp-Default-Paragraph-Font-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif;
|
||||
}
|
||||
.Wp-Emphasis-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif; font-style:italic;
|
||||
}
|
||||
.Wp-Keyword-C
|
||||
{
|
||||
font-family:"Courier New", monospace; font-weight:700;
|
||||
}
|
||||
.Wp-Placeholder-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif;
|
||||
}
|
||||
.Wp-Reference-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif; font-variant:small-caps;
|
||||
}
|
||||
.Wp-Strong-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif; font-weight:700;
|
||||
}
|
||||
.Wp-Strong-Emphasis-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif; font-style:italic; font-weight:700;
|
||||
}
|
||||
.Wp-Strong-Reference-C
|
||||
{
|
||||
font-family:"Verdana", sans-serif; font-style:italic; font-weight:700; font-variant:small-caps;
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en-gb">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
|
||||
<meta name="Generator" content="Serif WebPlus X5 (13.0.3.029)">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
|
||||
<title><?php echo $page_title ?> - Minetest Characters</title>
|
||||
<meta name="keywords" content="">
|
||||
<meta name="author" content="Andrew Ward">
|
||||
<meta name="copyright" content="Copyright © to Andrew Ward">
|
||||
<meta http-equiv="Content-Language" content="en-gb">
|
||||
<meta name="robots" content="index,follow">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $serverpath;?>/mainstyle.css" />
|
||||
<!--<link rel="icon" href="favicon.ico" type="image/x-icon">-->
|
||||
</head>
|
||||
|
||||
|
||||
<body text="#000000" style="background-color:#ffffff; text-align:center; height:610px;">
|
||||
<div style="background-color:transparent;text-align:left;margin-left:auto;margin-right:auto;position:relative;width:900px;">
|
||||
|
||||
<!--The Header-->
|
||||
<img src="<?php echo $serverpath;?>/images/header.png" width="900" height="100" border="0" alt="" style="position:absolute;left:0px;top:0px;">
|
||||
|
||||
<div id="slogan" style="text-align:right;position:relative;left:200px;top:60px;width:400px;height=20px;">Upload or Choose a character texture</div>
|
||||
|
||||
<div id="userbar" style="text-align:right;position:relative;left:710px;top:55px;width:180px;height=30px;"><?php
|
||||
echo "<font color=\"#FFFFFF\"><u>".$forum_user['username']."</u></font></a>";
|
||||
?></div>
|
||||
|
||||
<div id="userbar" style="text-align:left;position:relative;left:10px;top:35px;width:180px;height=30px;"><?php
|
||||
echo "<a href=\"$serverpath/index.php\"><font color=\"#FFFFFF\"><u>Home</u></font></a>";
|
||||
|
||||
?></div>
|
||||
|
||||
<div style="position:relative;left:500px;top:70px;width:400px;text-align:right;">
|
||||
<form method="get" action="<?php echo $serverpath;?>/search.php">
|
||||
<input type="hidden" name="mode" value="sb">
|
||||
<input type="text" placeholder="search for something" name="id"> <input type="submit" value="Search">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--Content Div-->
|
||||
<div style="position:relative;left:5px;top:80px;width:900px;text-wrap: suppress;">
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
$serverpath="http://multa.bugs3.com/minetest/characters";
|
||||
$sql_url="mysql.serversfree.com"; // The URL to the MySql Server
|
||||
$sql_user="u372522788_admin"; // The username for the MySql Server
|
||||
$sql_pass="password"; // The password for the MySql Server
|
||||
|
||||
$handle = mysql_pconnect($sql_url,$sql_user,$sql_pass) or SQLerror("MySQL Database", "Error connecting to the MySQL database");
|
||||
|
||||
if (!$handle || $handle==0)
|
||||
SQLerror("MySQL Database", "Error connecting to the MySQL database");
|
||||
mysql_select_db("u372522788_minetest",$handle) or die("Error Switching DB");
|
||||
|
||||
define('FORUM_ROOT', '../../mtforum/');
|
||||
require FORUM_ROOT.'include/common.php';
|
||||
|
||||
if ($forum_user['username']=="Guest")
|
||||
header("location: ".FORUM_ROOT);
|
||||
|
||||
?>
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
include "scripts/setup.php";
|
||||
|
||||
$page_title="Upload a Texture";
|
||||
|
||||
include "scripts/pageheader.php";
|
||||
?>
|
||||
<h1>Texture Upload</h1>
|
||||
<form action="upload.php" method="post">
|
||||
<fieldset>
|
||||
<legend>Character Textures</legend>
|
||||
<i>Texture files must be 16x32 or to scale.</i><br />
|
||||
Front: <input type="file" name="front"><br />
|
||||
Back: <input type="file" name="front">
|
||||
</fieldset>
|
||||
|
||||
<p>
|
||||
<input type="checkbox" name="public">Add to the Public Gallery
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<fieldset>
|
||||
<legend>Only fill in if the above check box is ticked.</legend>
|
||||
Name of Character pack: <input type="text" name="name" /><br />
|
||||
Description:<br />
|
||||
<textarea name="desc" cols=125 rows=7>
|
||||
</textarea>
|
||||
</fieldset>
|
||||
</p>
|
||||
|
||||
<input type="submit" value="Upload">
|
||||
</form>
|
Loading…
Reference in New Issue