Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: E-CITY.TK (Rakinkit sia tema)

Parašė Qrmiz· 2007 Bir. 25 17:06:33
#13

Wantedboy parašė:
Del tu prisijungimu nesuprantu kuria vieta trinti subheader.php gal kas zino? va subheader failas:

<?php
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//LT\">
<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>
<head>
<script language='JavaScript'>
if (top.location != self.location) {top.location = self.location} </script>
<noscript> </head> <body></noscript><body>
<body bgcolor='$body_bg' text='$body_text'>\n";
if (iMEMBER) {
  echo "\n<center>";
 for ($i = 0; $i < 4; $i++) echo $image." <a href='".BASEDIR.$links[$i]."' class='side'> {$titles[$i]} </a>".($i != 3 ? $i == 3  : " ");
 echo "</center>\n";
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 if ($msg_count) echo "<b><a href='".BASEDIR."messages.php?folder=inbox' class='side'><center><b>Jûs gavote naujà þinutĀæ</b></center></a></b></center><br>\n";

 render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
} else {
 echo " <center><form name='loginform' method='post' action='".FUSION_SELF."'>Vartotojas: <input type='text' name='user_name' class='textbox' style='width:90px'>
Slaptaþodis: <input type='password' name='user_pass' class='textbox' style='width:90px'>
<input type='submit' name='login' value='Jungtis' class='button'></form></center>
<center><a href='".BASEDIR.$links[4]."'>{$titles[4]}</a> | <a href='".BASEDIR.$links[5]."'>{$titles[5]}</a></center>
";
 render_header("");

}


?>




Skaityt reik išmokt... :[