Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del straipsniu
Parašė ChecK· 2008 Lie. 12 16:07:29
#1
Kaip padaryti kad pries mano straipsni atrsirastu paveisklelis :
www.cs-master.xz.lt/bullet.gif
Staip panele :
openside("cs Pamokos");
echo "<table><td height='70'>";
$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')." AND article_cat=1 ORDER BY article_datestamp DESC LIMIT 0,77"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 20);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></tr></table>";
closeside();
Parašė Žmogus· 2008 Lie. 12 16:07:40
#2
echo "<img src='www.cs-master.xz.lt/bullet.gif ' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
Parašė pgai· 2008 Lie. 12 16:07:09
#3
Tu apie tai?
openside(\"cs Pamokos\");
echo \"<table><td height=\'70\'>\";
$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\').\" AND article_cat=1 ORDER BY article_datestamp DESC LIMIT 0,77\"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data[\'article_subject\'], 20);
echo \"<img src=\'http://www.cs-master.xz.lt/bullet.gif\' alt=\'\'> <a href=\'\".BASEDIR.\"readarticle.php?article_id=\".$data[\'article_id\'].\"\' title=\'\".$data[\'article_subject\'].\"\' class=\'side\'>$itemsubject</a><br>\\n\";
}
} else {
echo \"<center>\".$locale[\'004\'].\"</center>\\n\";
}
echo \"</td></tr></table>\";
closeside();
?
Parašė ChecK· 2008 Lie. 12 16:07:31
#4
Pakeiciau kaip buvo shadow parases, viskas veikia ;)
Redagavo ChecK· 2008 Lie. 12 16:07:20
Parašė ChecK· 2008 Lie. 12 19:07:07
#5
Neveikia mano panele tokia :
openside("Cs Pamokos");
echo "<table><td height='70'>";
$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')." AND article_cat=1 ORDER BY article_datestamp DESC LIMIT 0,77"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 20);
echo "<img src='www.cs-master.xz.lt/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></tr></table>";
closeside();
Stai foto :
http://failai.in/P/1215874291_un...
Redagavo ChecK· 2008 Lie. 12 19:07:37
Parašė Dandžu· 2008 Lie. 12 19:07:54
#6
Va.
openside("Cs Pamokos");
echo "<table><tr><td height='70'>";
$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')." AND article_cat=1 ORDER BY article_datestamp DESC LIMIT 0,77"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 20);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></tr></table>";
closeside();