Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Problema su Maintence,php

Parašė sL1m· 2009 Spa. 12 20:10:11
#1

Reikalinga pagalba su maintenance.php , pradėjau tvarkyti ir nesigavo viena vieta kur įvesti Vardą ir Slaptažodį kaip padaryti kad viskas būtų normaliai.



Štai maintenance.php Codas:



<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
require_once "maincore.php";
include THEME."theme.php";

echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='shortcut icon' href='".BASEDIR."images/mp3life_maintenance.png'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<style type='text/css'>
.maintenance {
   background-image : url('/images/mp3life_maintenance.png');
   width : 400x;
   height : 200px;
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #161614;
}
</style>
</head>
<body>

<table align='center' cellpadding='0' cellspacing='0' width='400' height='650'>
<tr>
<td>
<table align='center' cellpadding='0' cellspacing='0' width='400' class='maintenance'>
<tr>

<td align='left' valign='bottom' style='padding-left:210px;padding-bottom:15px'>\n";
if (!iMEMBER) {
   echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='textbox' style='width:140px;height:20px' value='vardas' onFocus=\"if(this.value=='vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='vardas';}\"><br>
<input type='password' name='user_pass' class='textbox' style='width:140px;height:20px' value='slapta&#254;odis' onFocus=\"if(this.value=='slapta&#254;odis'){this.value='';}\" onBlur=\"if(this.value==''){this.value='slapta&#254;odis';}\"><br>

<input type='submit' name='login' style='width:90px;height:20px' value='Administracija' class='button-jungtis'>
</form>\n";
}
echo "<br><span style='color:white'></a><br><br>";



echo "</body>
</html>\n";

mysql_close();

ob_end_flush();
?>





Image:

http://v7.lt/show.php/13270_prob...