Navigacija

Vartotojų tinkle

Prisijungusių svečių: 316
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

MaFetas 2 savaitės
ozzWANTED 3 savaitės
saulyzas 5 savaitės
TOMIJUS 6 savaitės
Reikalas15 savaitės
Jaunelis21 savaitės
lanis22 savaitės
And2s23 savaitės
Memento Mori27 savaitės
Quwqkibor30 savaitės
asirija34 savaitės
tomeem36 savaitės
weberiz39 savaitės
mRokass41 savaitės
kartoonas43 savaitės
grunskiz45 savaitės
Bruksnys46 savaitės
illusion46 savaitės
ordo47 savaitės
Jurgaila48 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.139.93.242
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Fatal error subheader.php
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: MekaniK Peržiūrų: 2012      Spausdinti temą
2008 Lap. 10 19:11:46          1 žinutė iš 4
Spausdinti pranešimą
Sveiki. Man iskilo viena beda. Susikuriau tema ir imeciau i ftp. Kai nustaciau tema puslapyje ismete error'a:
Fatal error: require_once() [function.require]: Failed opening required 'themes/Party/theme.php' (include_path='.:') in /home/xetti/pr.xz.lt/new/subheader.php on line 14
Noreciau suzinoti kame reples.

Va subheader.php ir theme.php jei reikia:


<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fu...
+----------------------------------------------------+
| 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";

render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
?>







Theme.php

<?


$body_text = "#ffffff";
$body_bg = "#121212";
$theme_width = "987";
$theme_width_l = "217";
$theme_width_r = "217";

function render_header($header_content) {

global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;


echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"987\" align=\"center\">
<tr>
   <td style=\"background-image: url('".THEME."images/v2_02.jpg'); border: 0; height: 41; padding-bottom: 1; padding-left: 5; padding-right: 5; padding-top: 1; width: 977\">
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"977\">
<tr>
   <td align=\"left\"><font color=\"#a0ca10\">Sveiki atvyke i <b>PartyRadija</b></font>  |  ";
   if(iGUEST){
echo"<font color=\"#a0ca10\"><img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."register.php'>Registruotis
";
}else{
echo"<font color=\"#a0ca10\"><img src='".THEME."images/bullet.gif' alt=''><a href='".BASEDIR."edit_profile.php' class='side'>Keisti profili</a> <img src='".THEME."images/bullet.gif' alt=''
<a href='".BASEDIR."messages.php' class='side'>Zinutes</a>";
}
 
echo "   
   
   
   </td>
   
</tr>
</table>
   
   
   
   </td>
</tr>
<tr>
   <td>
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"987\">
<tr>
   <td width=\"693\"><img src=\"".THEME."images/header1.jpg\" width=\"693\" height=\"237\" border=\"0\" alt=\"[Rozmiar: 112731 bajtów]\"></td>
   <td style=\"background-image: url('".THEME."images/radijas.jpg'); border: 0; height: 237; padding-bottom: 50; padding-left: 5; padding-right: 5; padding-top: 20; width: 212\">
";
   
echo "
</td>
   <td width=\"82\"><img src=\"".THEME."images/v2_07.jpg\" width=\"82\" height=\"237\" border=\"0\" alt=\"[Rozmiar: 10260 bajtów]\"></td>
</tr>
</table>
   </td>
</tr>
<tr>
   <td width=\"987\">
   <img src=\"".THEME."images/v2_08.jpg\" border=\"0\" width=\"987\" height=\"48\" alt=\"\" usemap=\"#menu\" />
<map name=\"menu\">
<area shape=\"circ\" coords=\"64,23,50\" href=\"".BASEDIR."news.php\" />
<area shape=\"circ\" coords=\"175,21,55\" href=\"".BASEDIR."forum/index.php\" />
<area shape=\"circ\" coords=\"299,23,58\" href=\"".BASEDIR."photogallery.php\" />
<area shape=\"circ\" coords=\"415,24,52\" href=\"".BASEDIR."weblinks.php\" />
<area shape=\"circ\" coords=\"531,24,54\" href=\"".BASEDIR."search.php\" />
<area shape=\"circ\" coords=\"652,23,55\" href=\"".BASEDIR."news.php\" />
<area shape=\"circ\" coords=\"772,24,47\" href=\"".BASEDIR."contact.php\" />
<area shape=\"circ\" coords=\"891,23,54\" href=\"".BASEDIR."team2.php\" />
</map>

   </td>
</tr>
<tr>
   <td>
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"987\">
<tr>
";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_25.jpg'); border: 0; height: 55; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 5; width: 987\">
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"950\">
<tr>
   <td align=\"left\">Design by <a href=\"skype:moroz-?chat\" target=\"_blank\">MekaniK </a>| Varikliukas : <a href=\"http://php-fusion.co.uk\">Php-Fusion</a></td>
   <td align=\"right\">Visos teisės saugomos $copy 2008</td>
</tr>
</table>
   </td>
</tr>
</table>";


}

function render_news($subject, $news, $info) {

global $locale,$settings;

   
echo "
   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"550\">
<tr>
   <td style=\"background-image: url('".THEME."images/panele.jpg'); border: 0; height: 39; padding-bottom: 6; padding-left: 25; padding-right: 10; padding-top: 5; width: 550\"><b>$subject</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_18.jpg'); border: 0; height: 5; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 5; width: 550\">$news</td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_21.jpg'); border: 0; height: 24; padding-bottom: 2; padding-left: 10; padding-right: 10; padding-top: 5; width: 550\">
   <table width=\"100%\"><tr><td>
   
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td>".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &#183;\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &#183;
".$info['news_reads'].$locale['044']."
</td></tr>
   </table>
   
   </td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;
echo "   <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"550\">
<tr>
   <td style=\"background-image: url('".THEME."images/panele.jpg'); border: 0; height: 39; padding-bottom: 6; padding-left: 25; padding-right: 10; padding-top: 5; width: 550\"><b>$subject</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_18.jpg'); border: 0; height: 5; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 5; width: 550\">$article</td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_21.jpg'); border: 0; height: 24; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 6; width: 550\"><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."
</td>
<td align='right' class='infobar'>
<a href='articlecomments.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> &#183;
".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a></td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"550\">
<tr>
   <td style=\"background-image: url('".THEME."images/panele.jpg'); border: 0; height: 39; padding-bottom: 6; padding-left: 25; padding-right: 10; padding-top: 5; width: 550\"><b>$title</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_18.jpg'); border: 0; height: 5; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 5; width: 550\">\n";

}




function closetable() {

echo "</td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_21.jpg'); border: 0; height: 24; padding-bottom: 5; padding-left: 10; padding-right: 10; padding-top: 6; width: 550\"></td>
</tr>
</table>\n";

}

function openside($title) {

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"218\">
<tr>
   <td style=\"background-image: url('".THEME."images/panele.jpg'); border: 0; height: 38; padding-bottom: 5; padding-left: 15; padding-right: 5; padding-top: 5; width: 218\"><b>$title</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_16.jpg'); border: 0; height: 5; padding-bottom: 2; padding-left: 5; padding-right: 5; padding-top: 2; width: 218\">\n";

}

function closeside() {

echo "</td>
</tr>
<tr>
   <td><img src=\"".THEME."images/v2_22.jpg\" width=\"218\" height=\"14\" border=\"0\"></td>
</tr>
</table>\n";
tablebreak();

}

function openside2($title) {

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"300\">
<tr>
   <td style=\"background-image: url('".THEME."images/panele.jpg'); border: 0; height: 38; padding-bottom: 5; padding-left: 15; padding-right: 5; padding-top: 5; width: 300\"><b>$title</b></td>
</tr>
<tr>
   <td style=\"background-image: url('".THEME."images/v2_16.jpg'); border: 0; height: 5; padding-bottom: 2; padding-left: 5; padding-right: 5; padding-top: 2; width: 300\">\n";

}

function closeside2() {

echo "</td>
</tr>
<tr>
   <td><img src=\"".THEME."images/v2_22.jpg\" width=\"300\" height=\"14\" border=\"0\"></td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$open="on") {

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();

}

function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}

function closesidel() {
echo "</td>
</tr>
</table>\n";
}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='0'></td></tr>
</table>\n";

}
?>





2008 Lap. 10 19:11:16          2 žinutė iš 4
Spausdinti pranešimą
theme.php failo neranda.
2008 Lap. 10 19:11:17          3 žinutė iš 4
Spausdinti pranešimą
Bandyk ... require_once ".THEME."theme.php";

2008 Lap. 10 19:11:49          4 žinutė iš 4
Spausdinti pranešimą
Dekui šypsosi Dabar viskas veikia
Peršokti į forumą: