Out of range value for column 'user_views' at row 1 kaip reikia ? - WordPress, Shopify ir PHPFusion programuotojų bendruomenė

Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,959
Naujausias narys: Simbijanas

Naujausi straipsniai

Paskutiniai nariai

Audrius_17 2 savaitės
Reikalas 7 savaitės
Simbijanas14 savaitės
Karinacraft15 savaitės
Žmogus18 savaitės
Bruksnys22 savaitės
Darexs25 savaitės
Nepas25 savaitės
keistuole28 savaitės
Gizmis29 savaitės
Rytis39 savaitės
MaFetas43 savaitės
ozzWANTED44 savaitės
saulyzas46 savaitės
TOMIJUS47 savaitės
Jaunelis62 savaitės
lanis63 savaitės
And2s64 savaitės
Memento Mori68 savaitės
Quwqkibor71 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.211
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,547
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.

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up š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
kaip reikia.?
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Expert PHP, MySQL klausimai

Autorius: xDDD Peržiūrų: 1499      Spausdinti temą
2008 Gru. 24 18:12:28          1 žinutė iš 3
Spausdinti pranešimą
Gal galit pasakyt kaip reikia padaryt, kad headeryje kur yra naujiausi ir top siuntiniai persikeltu į kitą pusę.? Yra dešinėj o man reikia, kad būtų kairėj. Va theme.php


<?php

/*******************************/
/*
Mp3vision.in dizainas kurtas mrUndersky
Lithuanian PHP-fusion support www.webdnd.com
*/
/*****************************/

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "990";
$theme_width_l = "238";
$theme_width_r = "238";

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

echo "<br>
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' background='".THEME."images/header.jpg' height='348'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='80%'>
<tr valign='top'>
<td>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td align=center style='padding-left:540px; padding-top:36px;' height='348'>";


echo"<table width='410' align='left'>
<tr>
<td width='45%'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,13");
if (dbrows($result) != 0) {
echo "<table width='86%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bulletai.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='left'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}


echo "</td>
<td width='40%'>";

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



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


echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td width='990' align='center'><span style='font-size : 10px;font-weight : normal;color:#fff;padding-right:20px;'>Varikliukas: <a href='https://webdnd.com' target='_blank'>PHP-Fusion</a> | ... 2008 | <a href='...'>Sprendimas: ...</a></span></td>
</tr>
</table>";

}

function render_news($subject, $news, $info) {
global $aidlink,$item_type,$locale;

echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='newsmain'>$subject</td>
</tr>
</table>

<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td algin='center'>
<span style='font-size: 9px; padding-left: 20px;'>".showdate("shortdate", $info['news_date'])." - <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
if ($info['news_allow_comments'])
echo "<td align='center'><span style='font-size: 9px; padding-right: 20px;'>
<a href='naujienos.php?readmore=".$info['news_id']."' style='color:#d00602;'>Plačiau</a> -
Komentarų: [<a href='naujienos.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>]
</td></td>
</tr>
</table>
<hr>
<table>
<tr>
<td class='news-body'>
</span>$news</td>
</tr>
</table><br>\n";

}

function render_article($subject, $article, $info) {
global $aidlink,$item_type,$locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='newsmain' algin='center'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td algin='left'>
<span style='font-size: 10px; padding-left: 20px;'>".showdate("shortdate", $info['article_date'])." - <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo"<td align='center'><span style='font-size: 11px; padding-right: 20px;'> <a href='print.php?type=A&amp;item_id=".$info['article_id']."'' style='color:#d00602;'>Spausdinti</a>";
echo"</td></td>
</tr>
</table>
<hr>
<table>
<tr>";
echo "<span style='padding-left: 20px;'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</form>
</tr>
</table><br>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='66' height='53' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-center-main' align='center'>$title</td>";
echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='79' height='53' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";

echo "<td class='main-body'>\n";
}

function closetable() {

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

}

function openside($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='right'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='center' alt='' style='padding-left:11px;' onclick=\"javascript:flipBox('$boxname')\">$title</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

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

}


function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'></table>\n";
}
?>

2008 Gru. 24 18:12:40          2 žinutė iš 3
Spausdinti pranešimą
<?php

/*******************************/
/*
Mp3vision.in dizainas kurtas mrUndersky
Lithuanian PHP-fusion support www.webdnd.com
*/
/*****************************/

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

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "990";
$theme_width_l = "238";
$theme_width_r = "238";

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

echo "<br>
<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' background='".THEME."images/header.jpg' height='348'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='80%'>
<tr valign='top'>
<td>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td align=center style='padding-left:540px; padding-top:36px;' height='348'>";


echo"<table width='410' align='left'>
<tr>
<td width='45%'>";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,13");
if (dbrows($result) != 0) {
echo "<table width='86%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bulletai.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='left'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}


echo "</td>
<td width='40%'>";

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



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


echo "<table cellpadding='0' cellspacing='0' width='$theme_width'>";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td width='990' align='center'><span style='font-size : 10px;font-weight : normal;color:#fff;padding-right:20px;'>Varikliukas: <a href='https://webdnd.com' target='_blank'>PHP-Fusion</a> | ... 2008 | <a href='...'>Sprendimas: ...</a></span></td>
</tr>
</table>";

}

function render_news($subject, $news, $info) {
global $aidlink,$item_type,$locale;

echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td class='newsmain'>$subject</td>
</tr>
</table>

<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td algin='center'>
<span style='font-size: 9px; padding-left: 20px;'>".showdate("shortdate", $info['news_date'])." - <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
if ($info['news_allow_comments'])
echo "<td align='center'><span style='font-size: 9px; padding-right: 20px;'>
<a href='naujienos.php?readmore=".$info['news_id']."' style='color:#d00602;'>Plačiau</a> -
Komentarų: [<a href='naujienos.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>]
</td></td>
</tr>
</table>
<hr>
<table>
<tr>
<td class='news-body'>
</span>$news</td>
</tr>
</table><br>\n";

}

function render_article($subject, $article, $info) {
global $aidlink,$item_type,$locale;

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='newsmain' algin='center'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td algin='left'>
<span style='font-size: 10px; padding-left: 20px;'>".showdate("shortdate", $info['article_date'])." - <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo"<td align='center'><span style='font-size: 11px; padding-right: 20px;'> <a href='print.php?type=A&amp;item_id=".$info['article_id']."'' style='color:#d00602;'>Spausdinti</a>";
echo"</td></td>
</tr>
</table>
<hr>
<table>
<tr>";
echo "<span style='padding-left: 20px;'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</form>
</tr>
</table><br>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='66' height='53' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-center-main' align='center'>$title</td>";
echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='79' height='53' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";

echo "<td class='main-body'>\n";
}

function closetable() {

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

}

function openside($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='center'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

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

}

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

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain' align='right'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' align='center' alt='' style='padding-left:11px;' onclick=\"javascript:flipBox('$boxname')\">$title</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

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

}


function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'></table>\n";
}
?>


is 540 pasidaryk apie 20 ir bus kairej.


Redagavo --- 2008 Gru. 24 18:12:51
2008 Gru. 24 18:12:20          3 žinutė iš 3
Spausdinti pranešimą
Tuoj pabandysiu.
Nenusistato kur reikia trūksta gal žino pilną skaičių./

Peršokti į forumą: