summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/einstellungen.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/nonpublic/einstellungen.php')
-rwxr-xr-xwww-ssl/nonpublic/einstellungen.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php
index bb25b00b..48427766 100755
--- a/www-ssl/nonpublic/einstellungen.php
+++ b/www-ssl/nonpublic/einstellungen.php
@@ -1,8 +1,8 @@
<?PHP
$title = "Himmel";
$header = "Deine pers&ouml;nlichen Einstellungen";
-include ("./inc/header.php");
-include ("./inc/crypt.php");
+include ("../../includes/header.php");
+include ("../../includes/crypt.php");
if (!IsSet($_POST["action"]))
{
@@ -147,12 +147,12 @@ if (!IsSet($_POST["action"]))
echo "\t\t<tr>\n\t\t\t<td>". Get_Text(23). "<br></td>\n\t\t</tr>\n";
echo "\t\t<tr>\n";
echo "\t\t\t<td>\n";
- echo "\t\t\t\t<select name=\"eAvatar\" onChange=\"document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'\"".
- "onKeyup=\"document.avatar.src = './inc/avatar/avatar' + this.value + '.gif'\">\n";
- for ($i=1; file_exists("./inc/avatar/avatar$i.gif"); $i++ )
+ echo "\t\t\t\t<select name=\"eAvatar\" onChange=\"document.avatar.src = '/pic/avatar/avatar' + this.value + '.gif'\"".
+ "onKeyup=\"document.avatar.src = '/pic/avatar/avatar' + this.value + '.gif'\">\n";
+ for ($i=1; file_exists("/pic/avatar/avatar$i.gif"); $i++ )
echo "\t\t\t\t\t<option value=\"$i\"". ($_SESSION['Avatar'] == $i ? " selected":""). ">avatar$i</option>\n";
echo "\t\t\t\t</select>&nbsp;&nbsp;\n";
- echo "\t\t\t\t<img src=\"./inc/avatar/avatar". $_SESSION['Avatar']. ".gif\" name=\"avatar\" border=\"0\" align=\"top\">\n";
+ echo "\t\t\t\t<img src=\"/pic/avatar/avatar". $_SESSION['Avatar']. ".gif\" name=\"avatar\" border=\"0\" align=\"top\">\n";
echo "\t\t\t</td>\n\t\t</tr>\n";
echo "\t</table>\n";
echo "\t<input type=\"submit\" value=\"". Get_Text("save"),"\">\n";
@@ -306,5 +306,5 @@ case 'delPicture':
Break;
}
}
-include ("./inc/footer.php");
+include ("../../includes/footer.php");
?>