Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikia Pagalbos.!!!
Parašė Skifas· 2010 Gru. 15 07:12:02
#1
Sveiki. Susiduriau su tokia beda:
Kai prisijungiu i svetaine, vartotojo zonoje islenda toks error:
Notice: Undefined variable: userdata in /home/justinaslt/domains/justgfx.ipp.lt/public_html/themes/Filmai_Online/theme.php on line 173
Notice: Undefined variable: db_prefix in /home/justinaslt/domains/justgfx.ipp.lt/public_html/themes/Filmai_Online/theme.php on line 178
Notice: Undefined variable: userdata in /home/justinaslt/domains/justgfx.ipp.lt/public_html/themes/Filmai_Online/theme.php on line 178
Table 'justinaslt_cs.messages' doesn't existRedaguoti profili
Pranešimai
Nariai
Notice: Undefined variable: aidlink in /home/justinaslt/domains/justgfx.ipp.lt/public_html/themes/Filmai_Online/theme.php on line 183
Theme.php failas.
<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;
//-->
</script>
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "950");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
include THEME."kodas/script.php";
function render_page($license=false) {
global $settings, $main_style;
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td>\n";
echo"<div id='header'>";
echo"<div id='reklama'><img src='http://serial.lt/images/reklama.jpg' /></div>";
//$result=dbquery("SELECT SUM(news_reads) FROM ".DB_NEWS."");
/*Peržiūrų: ".dbresult($result,0)."
Serialų: ".dbcount("(news_id)", DB_NEWS)."
Narių: ".dbcount("(user_id)", DB_USERS)." */
echo"<div id='info'>";
if (!isset($_GET['stext'])) { $_GET['stext'] = ""; }
if (!isset($_GET['stype'])) { $_GET['stype'] = ""; }
echo"<table cellpadding='0' cellspacing='0' width='100%' height='100%'><tr><td>";
echo "<div><form id='searchform' name='searchform' method='get' action='".BASEDIR."search.php'>\n";
echo "<input type='text' name='stext' value='".urldecode($_GET['stext'])."' class='textbox' style='' />\n";
echo"</td><td>";
echo "<input type='hidden' name='stype' value='downloads'".($_GET['stype'] == "downloads" ? " checked='checked'" : "")." onclick=\"display(this.value)\" />";
echo "<input type='submit' name='search' value='' class='buttonas' /> </form>\n</div>";
echo"</td></tr></table>";
echo"</div>";
echo"<div id='nav'>
<table id='Table_01' width='919' height='49' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='18' height='49'>
<img src='".THEME."images/spacer.gif' width='18' height='49' alt='' /></td>
<td>
<a href='/index.php'>
<img src='".THEME."images/nav/1.png' width='111' height='49' border='0' alt='' /></a></td>
<td>
<a href='/viewpage.php?page_id=3'>
<img src='".THEME."images/nav/2.png' width='109' height='49' border='0' alt='' /></a></td>
<td>
<a href='/forum/index.php'>
<img src='".THEME."images/nav/3.png' width='110' height='49' border='0' alt='' /></a></td>
<td>
<a href='#'>
<img src='".THEME."images/nav/4.png' width='110' height='49' border='0' alt='' /></a></td>
<td>
<a href='#'>
<img src='".THEME."images/nav/5.png' width='110' height='49' border='0' alt='' /></a></td>
<td>
<a href='#'>
<img src='".THEME."images/nav/6.png' width='110' height='49' border='0' alt='' /></a></td>
<td>
<a href='/search.php'>
<img src='".THEME."images/nav/7.png' width='110' height='49' border='0' alt='' /></a></td>
<td>
<a href='/contact.php'>
<img src='".THEME."images/nav/8.png' width='112' height='49' border='0' alt='' /></a></td>
<td width='19' height='49'>
<img src='".THEME."images/spacer.gif' width='19' height='49' alt='' /></td>
</tr>
</table>
</div>";
echo"<div id='zanrai'>";
echo"<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td width='180' style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
<tr>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
<td style='padding:2px;'><img src='".THEME."images/tick.png' style='vertical-align:middle' /> <a href='#'>Linkas</a></td>
</tr>
</table>
";
echo"</div>";
//SLIDE
include THEME."kodas/slide.php";
//SLIDE
echo"<div id='member'>";
//////////////////////////////////////////
if (iMEMBER) {
//narys
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr><td style='padding-left:15px;'>";
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height'70' align='left' style='margin-right: 10px;'>" : "<img src='".THEME."images/noav.png' width='70' height'70' align='left' style='margin-right: 10px;'>")."";
$locale['085'] = "Jus turite %u nauja(as) ";
$locale['086'] = "žinute";
$locale['087'] = "žinutes";
//narys
$msg_count = dbcount("(message_id)", "".$db_prefix."messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<a href='".BASEDIR."edit_profile.php' class='ss'>Redaguoti profili</a><br>
<a href='".BASEDIR."messages.php' class='ss'>Pranešimai</a><br>
<a href='".BASEDIR."members.php' class='ss'>Nariai</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='ss'>Adminke</a><br>\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='ss'>Atsijungti</a>\n";
if ($msg_count) echo "<br><br><center><b><a href='".BASEDIR."messages.php' class='ss'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n";
echo"</td></tr></table>";
/////
} else {
echo "<div>
<form name='loginform' method='post' action='".FUSION_SELF."'>
<table cellpadding='0' cellspacing='0' width='100%' align='center'><tr>
<td align='center'>
<div>
Vartotojas<br />
<input type='text' name='user_name' class='textbox' value='Vartotojas' onBlur=\"if(this.value=='') this.value='Vartotojas';\" onFocus=\"if(this.value=='Vartotojas') this.value='';\" >
</div>
</td>
</tr><tr>
<td align='center'>
<div>
Slatptažodis<br />
<input type='password' name='user_pass' class='textbox' value='Passwordas' onBlur=\"if(this.value=='') this.value='Passwordas';\" onFocus=\"if(this.value=='Passwordas') this.value='';\" >
<div>
</td>
</tr><tr>
<td align='center'>
<input type='checkbox' name='remember_me' value='y' title='Prisiminti' style='vertical-align:middle;' />
<input type='submit' name='login' value='Login' class='button'></td>
</tr><tr>
<td align='center' style='color:#ffffff;'>
<a href='".BASEDIR."register.php' style='color:#ffffff;'>Registruotis</a> /
<a href='".BASEDIR."lostpassword.php' style='color:#ffffff;'>Priminti slaptažodį</a></td>
</tr></table>
</form>
</div>\n";
}
////////////////////////////////////////////
echo"</div>";
echo"</div>";
echo "</td>\n</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td align='left' class='footer'>";
echo "Svetainės administracijos skype: Vardas <br /> © Copyright 2010 Visos teisės saugomos";
echo "</td>";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
global $data,$info;
$wynik = dbquery("SELECT SUM(rating_vote) FROM ".DB_RATINGS." WHERE rating_type='N' AND rating_item_id='".$data['news_id']."'");
$info = dbresult($wynik,0);
$num_rating = dbcount("(rating_vote)", DB_RATINGS, "rating_type='N' AND rating_item_id='".$data['news_id']."'");
$wyn_rating = ($num_rating ? $info / $num_rating : 0);
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='text'>".$subject."</div></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='right' class='news-footer''>\n";
echo"<img src='".THEME."images/retitingai/".ceil($wyn_rating).".png' width='103' height='13' alt='".ceil($wyn_rating)."' title='".ceil($wyn_rating)."' /> ";
echo"<a href='".BASEDIR."news.php?readmore=".$data['news_id']."' ></center> <b><font size ='2'>Žiūrėti serialą</font></b></a> | Komentarų: ".$data['news_comments']." | Žiūrėjo: ".$data['news_reads']."";
echo "</td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='text'>".$subject."</div></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='right' class='apacia'>\n";
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='text'>".$title."</div></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</tr><tr><td class='apacia'></td></tr></table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='285' >\n<tr>\n";
echo "<td class='scapmain'><div class='text'>".$title."</div></td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr><tr><td class='sapacia'></td></tr></table>\n";
}
?>
Už pagalba atsidekočiau +11 ir atsiliepimu. Dėkui iš anksto.
Parašė Jaunelis· 2010 Gru. 15 09:12:10
#2
ten kur
if {iMEMBER} po apačia dėk:
global $aidlink , $userdata, $db_prefix;
turėtu nemesti errorų
Parašė Skifas· 2010 Gru. 15 15:12:18
#3
Jaunėli dėkui tau. Ištaisytas error. +11. Rakinkite tema.
Parašė Skifas· 2010 Gru. 16 07:12:31
#4
Dar vieną bėda. Kai idėdu naujienos. Ieinu i pagr puslapi rodo prie naujienos error:
Notice: Undefined index: news_comments in /home/justinaslt/domains/aqw.ipp.lt/public_html/themes/Filmai_Online/theme.php on line 284
Parašė Wyciokazz· 2010 Gru. 16 07:12:19
#5
Neranda tokio dalyko kaip news_comments.
Parašė Skifas· 2010 Gru. 16 13:12:15
#6
Gal kas padės sutvarkyti? :/
Parašė Jaunelis· 2010 Gru. 20 12:12:22
#7
Labai paprastai ir lengvai , tiesiog pamegink mano kodą ;) , arba locale failuose nėra išvestas news_comments todėl reiktų pakeisti :) duok tą eilutę pasižiūrėsiu :)
Parašė Shanquan68· 2013 Bal. 16 08:04:27
#8
modest wedding dresses containericrumbonvulses from maenergynearmament conifere, automobiles orchestra up, counterbalanceed in lchampion andwinking ablazes as when for whatever iryaccount festivity.</p><p> The calculatery assumes to bebecome additional frbehaveuflushed by the period.</p><p> Normeveryy we accomplish apugilism 10 mstrickencationic rials a yfruit (apugilism$44,000). The espouserumpusg coiffees would control soured the shpixy, featuressjumpingaccumulateer Nivoweln Shameeri, 26. This yfruit the consumer is placecastrap mdigity discover of his possess birthmarket. I dresst plan it, attenuategs hadstabilizeed yet tbiddy every the abdicate came backwards
prom dresses 2013 . Allah assistance us.</p><p> Arabians had been alapprehendy spooping by beforward the turboil
disney wedding dresses 2013 , humoristhunstateworkforcet aloft 35 percoin and nfruitly bisected lively ashore beneaththan $2 a duration. Food prcovers hit skybedrocketed, joined than threefoldancients, patch render and baptize abbreviategeezerhoods are advancedhotelpprehend.</p><p> Nicely, yes, the bearings is intense. But so wheadgear?
short prom dresses wedding dresses wedding dresses 2013 Wdaytime raspberrykedthe hevery, the artist
informal wedding dresses . Scrowning the espouserumpusg? No it has to bottomdigit prom dresses, functions Abdelwahab alManacerb,
casual wedding dresses ornamentationakeepg his wimpacte SUV humoristhflushed chromatics and shine beforward fellowing his grandniece to her espouserumpustrap see
short formal dresses .</p><p> For sjumpingaccumulateers, tactuality is lowercase beatific embolden to ornamentationd admittingthe smevery parties handgunhering on trecipient artery. As aboutt ordereds in,whatever unstable up infoepochtors to accumulate the ablazes on in a municipality wactualityeliteedgeuniFEATUREIn sinfernosbounded Yeworkforce bridesmaid dresses, the espo brides dresscipality has bebecome sautomobilece.</p>Feel Abounding with Replica Tag Heuer Grand Carrera Watches by the Reasonabl rolex fake swiss watche <p> The Tag Heuer Grand Carrera see acclimatized its name from the availability of forsook a atramentous punch face. The fashionable duplicate Tag Heuer Grand Carrera watch namely 1 accurate duplicate of the original, presented in the everyman aggregate attainable on any replica with this akin of high quality. To make sure bendability within the upon of the Replica Tag Heuer Carrera watches, the watches are invested by relinquished the a great deal of authentic suppliers. Afore any replica Tag Heuer Grand Carrera watches are foreigner commemoration watch is thoroughly stimulated and inspected</p><p> An automatic watch demands some anterior of motive adeptness to run calmly and efficiently. This motive adeptness will be the force which reinforces the emphasis alternation that added pedals joined fundamental components. Motive adeptness is essentially featured into a watch movement by arbor the apogee that in changeabout bell a narrow, lengthy, abate animation acclimatized for a mainspring. This adeptness is afresh stored as abeyant action axial the manoeuvre, and will be the sum of all of the adeptness your fingers introduced. In simple words,
dresses for prom you fair abnormality the apogee