Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 4 dienos
MaFetas 1 savaitė
TOMIJUS 1 savaitė
ozzWANTED 2 savaitės
Reikalas10 savaitės
Jaunelis17 savaitės
lanis17 savaitės
And2s18 savaitės
Memento Mori23 savaitės
Quwqkibor25 savaitės
asirija29 savaitės
tomeem31 savaitės
weberiz34 savaitės
mRokass37 savaitės
kartoonas38 savaitės
grunskiz41 savaitės
Bruksnys41 savaitės
illusion41 savaitės
ordo42 savaitės
Jurgaila43 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 18.191.27.78
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.

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

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Š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
Theme.php klaida
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: malybu Peržiūrų: 699      Spausdinti temą
2009 Bal. 16 15:04:07          1 žinutė iš 2
Spausdinti pranešimą
Sveiki idejau nauja theme ir apacioje meta theme.php klaida.

Sitokai klaida :

Fatal error: Call to undefined function get_microtime() in /home/login/webas.lt/themes/cia_theme/theme.php on line 98




Stai theme.php:


<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#ffffff";
$body_bg = "#FFFFFF";
$theme_width = "911";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {
global $theme_width,$locale,$data,$aidlink,$db_prefix;

echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr>

   <tr>
      <td colspan='11'
         background='".THEME."images/headeris.jpg' width='911' height='152' alt=''></td>
   </tr>
   <tr>

   </tr>
   <tr>
      <td colspan='11'
         background='".THEME."images/informacine.jpg' width='911' height='129' alt=''>
         <table align='left' width='240px' cellpadding='0' cellspacing='0'>";
         
         echo "</td><td></td><td style='padding-top: 18px; padding-left: 5px;' align='left' width='150'>";
         
   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
   if (dbrows($result) != 0) {
      echo "<table style='padding-left: 15px;' width='260' cellpadding='0' cellspacing='0'>";
      while ($data = dbarray($result)) {
                     $itemsubject = trimlink($data['download_title'], 30);
      echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";

   }

echo "</table>

<table align='left' width='222px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 35px;' align='right' width='120'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
   echo "<table width='275' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 30);
      echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
      <td align='right'>".$data['download_count']."</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>".$locale['004']."</center>\n";
}
echo "</table>

<table align='left' width='320px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 36px;' align='left' width='0'>";
$result = dbquery(
"SELECT tn.*, tc.*, user_id, user_name FROM ".$db_prefix."news tn
LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id
LEFT JOIN ".$db_prefix."news_cats tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().")
ORDER BY news_reads DESC LIMIT 0,7"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['news_subject'], 35);
echo "» <a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}




 
   echo "</td></tr></table></td></tr></table>";

echo "<table align='center' cellpadding='0' cellspacing='0' width='911px'>\n<tr>\n";

}
function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='911px' class='footer'>
<tr>
<td align='center' class='footer'>Varikliukas: <a href='http://www.php-fusion.co.uk' style='color:#cecece;'>PHP-Fusion</a> &nbsp;&nbsp; Sprendimas: <a href='http://www.tracklist.lt' style='color:#cecece;'>TrackList.LT</a><br><br>Puslap&#303; u&#382;krov&#279; per ".(get_microtime()-START_TIME)." sek.</td>
</tr>

</table>
</td>
</tr>
</table>\n";

echo "".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."";
}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>
<br>&#193;d&#235;jo: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#cecece;'><b>".$info['user_name']."</b></a> &nbsp; Data: ".showdate("%y.%m.%d", $info['news_date'])."<img src='".THEME."images/blank.gif' width='15' height='0'><a href='news.php?readmore=".$info['news_id']."' style='color:#9a9a9a;'><b>&#222;i&#251;r&#235;ti daugiau</b></a>";if ($info['news_allow_comments'])   echo "&nbsp; Komentar&#371;:&nbsp;<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Skait&#279;:&nbsp; ";   echo "".$info['news_reads'].$locale['044']."
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='474' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside_header($title) {
   
echo "<table align='center' cellpadding='center' cellspacing='0'>
<tr>
<td align='center'class='side-body-panel'>\n";

}

function closeside_header() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function openside_panel($title) {
   
echo "<table align='center' cellpadding='center' cellspacing='0' width='200'>
<tr>
<td class='side-body-panel'>\n";

}

function closeside_panel() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='200' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td width='180' class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>



2009 Bal. 16 15:04:34          2 žinutė iš 2
Spausdinti pranešimą
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#ffffff";
$body_bg = "#FFFFFF";
$theme_width = "911";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {
global $theme_width,$locale,$data,$aidlink,$db_prefix;

echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr>

   <tr>
      <td colspan='11'
         background='".THEME."images/headeris.jpg' width='911' height='152' alt=''></td>
   </tr>
   <tr>

   </tr>
   <tr>
      <td colspan='11'
         background='".THEME."images/informacine.jpg' width='911' height='129' alt=''>
         <table align='left' width='240px' cellpadding='0' cellspacing='0'>";
         
         echo "</td><td></td><td style='padding-top: 18px; padding-left: 5px;' align='left' width='150'>";
         
   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
   if (dbrows($result) != 0) {
      echo "<table style='padding-left: 15px;' width='260' cellpadding='0' cellspacing='0'>";
      while ($data = dbarray($result)) {
                     $itemsubject = trimlink($data['download_title'], 30);
      echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";

   }

echo "</table>

<table align='left' width='222px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 35px;' align='right' width='120'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
   echo "<table width='275' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 30);
      echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
      <td align='right'>".$data['download_count']."</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>".$locale['004']."</center>\n";
}
echo "</table>

<table align='left' width='320px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 36px;' align='left' width='0'>";
$result = dbquery(
"SELECT tn.*, tc.*, user_id, user_name FROM ".$db_prefix."news tn
LEFT JOIN ".$db_prefix."users tu ON tn.news_name=tu.user_id
LEFT JOIN ".$db_prefix."news_cats tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().")
ORDER BY news_reads DESC LIMIT 0,7"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['news_subject'], 35);
echo "» <a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}




 
   echo "</td></tr></table></td></tr></table>";

echo "<table align='center' cellpadding='0' cellspacing='0' width='911px'>\n<tr>\n";

}
function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='911px' class='footer'>
<tr>
<td align='center' class='footer'>Varikliukas: <a href='http://www.php-fusion.co.uk' style='color:#cecece;'>PHP-Fusion</a> &nbsp;&nbsp; Sprendimas: <a href='http://www.tracklist.lt' style='color:#cecece;'>TrackList.LT</a></td>
</tr>

</table>
</td>
</tr>
</table>\n";


}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>
<br>&#193;d&#235;jo: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' style='color:#cecece;'><b>".$info['user_name']."</b></a> &nbsp; Data: ".showdate("%y.%m.%d", $info['news_date'])."<img src='".THEME."images/blank.gif' width='15' height='0'><a href='news.php?readmore=".$info['news_id']."' style='color:#9a9a9a;'><b>&#222;i&#251;r&#235;ti daugiau</b></a>";if ($info['news_allow_comments'])   echo "&nbsp; Komentar&#371;:&nbsp;<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Skait&#279;:&nbsp; ";   echo "".$info['news_reads'].$locale['044']."
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='474' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside_header($title) {
   
echo "<table align='center' cellpadding='center' cellspacing='0'>
<tr>
<td align='center'class='side-body-panel'>\n";

}

function closeside_header() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function openside_panel($title) {
   
echo "<table align='center' cellpadding='center' cellspacing='0' width='200'>
<tr>
<td class='side-body-panel'>\n";

}

function closeside_panel() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='200' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td width='180' class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

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

}
?>




Adminas - ban'o laisvė
www.KIETEKAS.com
Redagavo MaFetas 2009 Bal. 16 15:04:18
Peršokti į forumą: