Witam wszystkich, jest to moj pierwszy post na Waszym forum
Sciagnolem skrypt Photo_Rating - skrypt oceniania zdjec
Zaintalowalem go na serwerze w home.pl "busines serwer"
nromalna trona mi funkcjonuje poprawnie problem pojawia ie gdy chce wejsc do panelu adminitratora po wpianiu adreu :
http://www.jakasstrona.com/adminpowinno mi sie pokazac okno logowania adminitratora a u mnie nic tylko biala trona
Proze o pomoc
Myle ze to jet jaki problem z plikiem index.php w katalogu admin
Oto on:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="stylesheet.css" type="text/css">
<title>Control Panel</title>
<script language="JavaScript">
<!--
function checkifvalid(){
if (window.document.myform.username.value=="")
{
alert("please enter your user name!");
window.document.myform.username.focus();
return false;
}
if (window.document.myform.lpassword.value=="")
{
alert("please enter your password!");
window.document.myform.lpassword.focus();
return false;
}
return true;
}
</script>
</head>
<script language="JavaScript">
<?php
{
if($error=="wu")print("alert('Invalid Username and password!');"); if($error=="lo")print("alert('Your session has expired!');"); }
?>
</script>
</head>
<body leftmargin="0" rightmargin="0" bottommargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FCFAF7" text="#000000" >
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="41">
<tr>
<td width="150%" bgcolor="#000000" height="1"></td>
</tr>
<tr >
<td width="100%" align="left" valign="bottom" bgcolor="#FFFFFF" class="topheader" >
Control Panel </td>
</tr>
</table>
</div>
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1">
<img border="0" src="transparent.gif" width="1" height="200"></td>
<td width="100%" valign="top" align="center"><br>
<br>
<br>
<br>
<table width="33%" height="45%" cellpadding="0" cellspacing="0" class="mytable">
<tr>
<td><div align="center">
<table border="0" width="100%" height="100%">
<form method="post" name="myform" action="adminhome.php" onsubmit="javascript: return checkifvalid();">
<tr >
<td class="header" width="100%" height="19" colspan="2">Login</td>
</tr>
<tr>
<td width="50%" height="19"><font face="Verdana" size="2">User
Name</font></td>
<td width="50%" height="19"><input type="text" name="username" size="20"></td>
</tr>
<tr>
<td width="50%" height="19"><font face="Verdana" size="2">Password</font></td>
<td width="50%" height="19"><input name="lpassword" type="password" id="lpassword" size="20"></td>
</tr>
<tr>
<td width="100%" colspan="2" height="17"> <p align="center">
<input type="submit" value="Submit" name="B1">
</td>
</tr>
</form>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
Ten post edytował lucek1 29.12.2005, 18:41:55