Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Subheader prisijungimas?

Parašė Jupiter· 2008 Kov. 25 02:03:24
#11

Štai čia yra subheader.php failas .Jį įkėliau į pagrindinę direktoriją.
<?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
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }

require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");

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='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";



if (!iMEMBER) {render_header("<a href='".BASEDIR."news.php'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."' align='left'></a>
<div align='right'>
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y'>".$locale['063']."
<input type='submit' name='login' value='Login' class='button'><br>
</form></div><div align='center'>Not a member? Please <a href='".BASEDIR."register.php'>REGISTER</a>        Lost your password? Click here for <a href='".BASEDIR."lostpassword.php'>LOST PASSWORD</a>
<br>
</div>\n");

}
if (iMEMBER) {render_header("<a href='".BASEDIR."news.php'><img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."' align='left'></a>

<div align='right'>
 


<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['081']."</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>".$locale['080']."</a><br>\n
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br>\n

</div>\n");
          if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])." <img src='".IMAGES."ani-arrow.gif' border='0'></a></b></center>\n";
}
?>




Pameginau katik ir į administration/... tenais sukelti , bet irgi nieko . Tai visus failus atstačiau į normlius .

Redagavo Jupiter· 2008 Kov. 25 02:03:12