A lot of stuff
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
include "scripts/setup.php";
|
||||
|
||||
$page_title="Welcome";
|
||||
$page_links="<a onClick=\"javascript:use_cha();\"><u>Select current Skin</u></a>";
|
||||
|
||||
include "scripts/pageheader.php";
|
||||
?>
|
||||
|
||||
<script language="javascript">
|
||||
function use_cha(){
|
||||
document.write("URL: "+document.getElementById("bro").contentWindow.location.href);
|
||||
}
|
||||
</script>
|
||||
|
||||
<iframe id="bro" width="100%" height="580" src="http://minecraftskins.com/">
|
||||
</iframe>
|
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 907 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 948 B |
After Width: | Height: | Size: 619 B |
After Width: | Height: | Size: 755 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 745 B |
After Width: | Height: | Size: 812 B |
After Width: | Height: | Size: 471 B |
After Width: | Height: | Size: 416 B |
10
gallery.php
|
@ -9,6 +9,16 @@ echo "<h1>Gallery</h1>";
|
|||
|
||||
$query = $_GET['id'];
|
||||
$mode = $_GET['mode'];
|
||||
$type = $_GET['type'];
|
||||
|
||||
if (!$type)
|
||||
if (!$query && !$mode){
|
||||
echo "<a href=\"gallery.php?type=2d\">2d Character (Sprite)</a><br /><br /><!--<a href=\"gallery.php?type=3d\">-->3d Character <i>currently unavailable</i></a>";
|
||||
include "scripts/pagefooter.php";
|
||||
}else
|
||||
$type="2d";
|
||||
|
||||
|
||||
if (!$mode)
|
||||
$mode="tags";
|
||||
|
||||
|
|
24
index.php
|
@ -16,14 +16,14 @@ if ($forum_user['username']=="Guest"){
|
|||
echo "<h1>Hello, ".$forum_user['username']."</h1>\n";
|
||||
|
||||
$def=false;
|
||||
if (file_exists("files/".$forum_user['cha_front'].".png")){
|
||||
echo "<img src=\"files/".$forum_user['cha_front'].".png\" width=64 height=128 /> ";
|
||||
if ($forum_user['cha_back']!=""){
|
||||
echo "<img src=\"".$forum_user['cha_front'].".png\" width=64 height=128 alt=\"left\" /> ";
|
||||
}else{
|
||||
echo "<img src=\"files/default_texture.png\" width=64 height=128 /> ";
|
||||
$def=true;
|
||||
}
|
||||
if (file_exists("files/".$forum_user['cha_back'].".png")){
|
||||
echo "<img src=\"files/".$forum_user['cha_back'].".png\" width=64 height=128 />";
|
||||
if ($forum_user['cha_back']!=""){
|
||||
echo "<img src=\"".$forum_user['cha_back'].".png\" width=64 height=128 alt=\"right\" />";
|
||||
}else{
|
||||
echo "<img src=\"files/default_texture_back.png\" width=64 height=128 />";
|
||||
$def=true;
|
||||
|
@ -37,12 +37,24 @@ if ($def==true)
|
|||
<a href="upload.php">Upload an Avatar</a>
|
||||
</p>
|
||||
|
||||
<fieldset>
|
||||
<script>
|
||||
function hideNotice(){
|
||||
var element = document.getElementById("notice");
|
||||
var display ='none';
|
||||
element.style.display = display;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<fieldset id="notice">
|
||||
<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, which is dependant on the texture pack installed<br />
|
||||
<br />
|
||||
When you are on a server that has the mod installed, type <i>/register [your forum name]</i> to claim your avatar
|
||||
The mod does not currently download the player's avatar, but it will do soon.
|
||||
<!--When you are on a server that has the mod installed, type <i>/register [your forum name]</i> to claim your avatar-->
|
||||
<br /><br />
|
||||
<a onClick="javascript:hideNotice();"><u>Close</u></a>
|
||||
</fieldset>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -6,7 +6,7 @@ function SQLerror($title,$text){
|
|||
|
||||
session_start();
|
||||
|
||||
$serverpath="http://multa.bugs3.com/minetest/characters";
|
||||
$serverpath="http://multa.bugs3.com/minetest/website/avatar";
|
||||
$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
|
||||
|
@ -22,7 +22,7 @@ mysql_select_db($sql_db,$handle) or die("Error Switching DB");
|
|||
define('FORUM_QUIET_VISIT', 1);
|
||||
define('FORUM_TURN_OFF_MAINT', 1);
|
||||
define('FORUM_DISABLE_CSRF_CONFIRM', 1);
|
||||
define('FORUM_ROOT', '../../mtforum/');
|
||||
define('FORUM_ROOT', '../forum/');
|
||||
require FORUM_ROOT.'include/common.php';
|
||||
|
||||
function require_login($forum_user){
|
||||
|
|
|
@ -23,7 +23,7 @@ echo "<table width=\"900\"><tr><td>\n";
|
|||
echo "<table width=\"900\" bgcolor=\"#FFFFBD\"><tr><td width=\"100\">";
|
||||
|
||||
if ($forum_user['username']!="Guest")
|
||||
echo "<a href=\"change.php?f={$row[3]}&b={$row[3]}_back\">Use This</a>";
|
||||
echo "<a href=\"change.php?f=http://multa.bugs3.com/minetest/characters/files/{$row[3]}&b=http://multa.bugs3.com/minetest/characters/files/{$row[3]}_back\">Use This</a>";
|
||||
|
||||
echo "</td>\n";
|
||||
|
||||
|
|