Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: problema su straipsniu panele
Parašė Adriano· 2007 Bir. 25 19:06:26
#1
Man iskilo problema toke jog isiegeu latest_articles_panel ir poto pagrindiniam puslapi paspaudi ant to straipsnio ismeta taj kad nera tokio puslapio kas gali buti?
Parašė Adriano· 2007 Bir. 25 19:06:34
#2
sorry uz flooda bet labai reikia pagalbos
Parašė ozzWANTED· 2007 Bir. 25 19:06:40
#3
linkas greičiausiai blogas.
Parašė Adriano· 2007 Bir. 25 19:06:14
#4
pats pasiziek
http://futbolas.nkk.lt vidurine panele paskutiniai strapsniai pavadinta
Redagavo ozzWANTED· 2007 Bir. 25 19:06:44
Parašė souL· 2007 Bir. 25 19:06:40
#5
nu tai tau sako blogas linkas :|c|
Parašė Adriano· 2007 Bir. 25 19:06:10
#6
o kaip pataiisyti?
Parašė ozzWANTED· 2007 Bir. 25 19:06:38
#7
Atsidarai modą ir keiti adresus:
Yra:
Parašė Adriano· 2007 Bir. 25 19:06:27
#8
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| 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; }
openside($locale['023']);
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$result2 = dbquery("SELECT * FROM ".$db_prefix."article_cats WHERE article_cat_id='".$data['article_cat']."'");
$data2 = dbarray($result2);
$itemcat = $data2['article_cat_name'];
$itemsnippet = $data['article_snippet'];
$itemsnippet = stripslashes($itemsnippet);
$itemsubject = $data['article_subject'];
//$itemsubject = trimlink($data['article_subject'], 23);
echo "<table width='100%' cellpadding='0' cellspacing='0' class='scapmainrazdel'>
<tr>
<td class='tbl2'><nobr><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."article".$data['article_id'].".html' title='".$data['article_subject']."' class='side'><strong>$itemsubject</strong></a></nobr></td>
<td class='tbl2' align='right'><a href='".BASEDIR."articlecategory".$data['article_cat_id'].".html' title='$itemcat' class='side'><strong>$itemcat</strong></a></td></tr>
<tr><td class='tbl1' style='text-align:justify' colspan='2'>$itemsnippet</td></tr></table>";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
?>
Va niekur neradau tu eiluciu
Redagavo Adriano· 2007 Bir. 25 19:06:45
Parašė Adriano· 2007 Bir. 25 19:06:27
#9
?
Parašė Qrmiz· 2007 Bir. 25 19:06:46
#10
Cristiano7 parašė:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| 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; }
openside($locale['023']);
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$result2 = dbquery("SELECT * FROM ".$db_prefix."article_cats WHERE article_cat_id='".$data['article_cat']."'");
$data2 = dbarray($result2);
$itemcat = $data2['article_cat_name'];
$itemsnippet = $data['article_snippet'];
$itemsnippet = stripslashes($itemsnippet);
$itemsubject = $data['article_subject'];
//$itemsubject = trimlink($data['article_subject'], 23);
echo "<table width='100%' cellpadding='0' cellspacing='0' class='scapmainrazdel'>
<tr>
<td class='tbl2'><nobr><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."article".$data['article_id'].".html' title='".$data['article_subject']."' class='side'><strong>$itemsubject</strong></a></nobr></td>
<td class='tbl2' align='right'><a href='".BASEDIR."articlecategory".$data['article_cat_id'].".html' title='$itemcat' class='side'><strong>$itemcat</strong></a></td></tr>
<tr><td class='tbl1' style='text-align:justify' colspan='2'>$itemsnippet</td></tr></table>";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
?>
Va niekur neradau tu eiluciu
<a href='".BASEDIR."article".$data['article_id'].".html' title='".$data['article_subject']."' class='side'><strong>$itemsubject</strong></a>
keisk į
<a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'><strong>$itemsubject</strong></a>
ir:
<a href='".BASEDIR."articlecategory".$data['article_cat_id'].".html' title='$itemcat' class='side'><strong>$itemcat</strong></a>
keisk į
<a href='".BASEDIR."articles.php?cat_id=".$data['article_cat_id']."' title='$itemcat' class='side'><strong>$itemcat</strong></a>
Parašė ___· 2007 Bir. 25 19:06:53
#11
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| 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; }
openside($locale['023']);
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,5"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$result2 = dbquery("SELECT * FROM ".$db_prefix."article_cats WHERE article_cat_id='".$data['article_cat']."'");
$data2 = dbarray($result2);
$itemcat = $data2['article_cat_name'];
$itemsnippet = $data['article_snippet'];
$itemsnippet = stripslashes($itemsnippet);
$itemsubject = $data['article_subject'];
//$itemsubject = trimlink($data['article_subject'], 23);
echo "<table width='100%' cellpadding='0' cellspacing='0' class='scapmainrazdel'>
<tr>
<td class='tbl2'><nobr><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarcticle?cat_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'><strong>$itemsubject</strong></a></nobr></td>
<td class='tbl2' align='right'><a href='".BASEDIR."readarcticle?cat_id=".$data['article_cat_id']."' title='$itemcat' class='side'><strong>$itemcat</strong></a></td></tr>
<tr><td class='tbl1' style='text-align:justify' colspan='2'>$itemsnippet</td></tr></table>";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
?>
Gal taip, netikrinau :D
Parašė Adriano· 2007 Bir. 25 19:06:48
#12
o dekuj Qrmiz padejaj ;)