Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
Gal kas turit tokia panele kaip kreivas.net ?
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Manau jis pats ją pasidarė, be to, labai paprasta tokią pasidaryt.
|
Paul McCartney
Narys
Kapitonas
Pranešimai: 757
Įstojęs: 2007 Lie. 19 14:07:24
|
Tai padaryk,akd paprasta,čia vaidini,kad moki tai ir padaryk,ir tuo tik parodai savo
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Už kokį gerą turiu daryt? Man daug yra paprastų dalykų, bet aš jų neprivalau daryt. Be to, jis klausė ar kas turit tokią panelę, todėl atsakiau, kad jis pats turbūt kūrė. Išvada tokia, kad vargu ar kas turės būtent tokią panelę. Taigi, nariui pasakiau tai, ką jis ir norėjo sužinot, o jei prašys, kad sukurčiau - td jau kitas klausimas.
Vienu žodžiu, esi apgailėtinas vaikas. Užauk.
|
Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
nekreip i ta mazvaiki demesio nesty ir padaryk ta panele, vis del to adminas esi turi kazka gero duoti nariams
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Lordcraft parašė:
nekreip i ta mazvaiki demesio nesty ir padaryk ta panele, vis del to adminas esi turi kazka gero duoti nariams
Tada lukterėk keletą minučių.
|
stygis
Narys
Generolas
Pranešimai: 970
Įstojęs: 2006 Gru. 10 12:12:02
|
seip čia woodoo-fusion variklis kažin ar bus tokia panele nebent pats kurtiai ir taikytai php-fusion
Balandžio 3d atsikėlęs iš numirusiųjų. |
Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
koks tau woodu-fusion? toks pat php-f tik ka nors pakeite koduose ir taip pasirase kad cia jo tvs
tokia panel galima pasidaryti bet as nemoku, turiu as ten is 2 ar 3 paneliu sulipdyta i viena bet vcia kaip matau jis kategorijas pasirinko is kur postina tas news.
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
opentable("Naujienu statistika");
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>\n";
echo "<td width='25%'>\n";
echo "<b>Top flash:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_reads DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "<br>\n";
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Top video:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_reads DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "<br>\n";
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Top foto:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_reads DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "<br>\n";
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Top jokes:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_reads DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "<br>\n";
echo "</td>\n";
echo "</tr><tr>\n";
echo "<td width='25%'>\n";
echo "<b>Naujausi flash:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Naujausi video:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Naujausios foto:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "</td>\n";
echo "<td width='25%'>\n";
echo "<b>Naujausi jokes:</b><br><br>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE news_cat='įrašyk kategorijos ID' AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,5");
while ($data = dbarray($result)) {
$title = $data['news_subject'];
$sh_title = $title;
$n_id = $data['news_id'];
$v_id = $data['news_reads'];
$comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");
$date = $data['news_datestamp'];
$n_date = showdate("%d-%m-%Y", $date);
echo "<a href='".THEME."news.php?readmore=$n_id'>".trimlink($sh_title,15)."<br>";
}
echo "</td>\n";
echo "</tr></table>\n";
closetable();
|
Gedi Minas
Narys
Terminatorius
Pranešimai: 1229
Įstojęs: 2005 Gru. 21 18:12:30
|
Ant greičio sudėjau, kur pažymėjau žaliai atitinkamai įrašyk naujienų kategorijų ID ir turėsi tokią panelę.
|
Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
va cia tai ko reikia. aciu
|
Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
reikia help! kai i themes.php irasau
<td valign='top'>";
include INFUSIONS."panel/menu.php";
echo "</div></td>
ismeta errorus:
http://img148.imageshack.us/img1...sdaei1.png
kame beda?
|
ibodom
Narys
Kapitonas
Pranešimai: 772
Įstojęs: 2008 Vas. 18 12:02:10
|
Gal div'o nereik? nes tik td darai?
|
Lordcraft
Narys
Generolas
Pranešimai: 930
Įstojęs: 2006 Rugs. 6 16:09:15
|
tai su tuo kodu viskas gerai bet su ta naujienu statistika kazkas blogai nes as turiu tokio panel ir man veikia kuo puikiausiai:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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; }
echo "<table width='100%'>
<tr>
<td width='25%'>";
openside("<center>Naujienos</center>");
$result = dbquery("SELECT * FROM ".$db_prefix."news WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."news.php?readmore=".$data['news_id']."' title='".$data['news_subject']."' class='side'>".trimlink($data['news_subject'], 23)."</a>
</td>
<td align='right'>".$data['news_reads']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='25%'>";
openside("<center>Naujausi siuntiniai</center>");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td><img src='".THEME."images/bullet.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 align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='25%'>";
openside("<center>Populeriausi pranesimai</center>");
$result = dbquery("
SELECT tf.forum_id, tt.thread_id, tt.thread_subject, COUNT(tp.post_id) as count_posts
FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."posts tp USING(thread_id)
WHERE ".groupaccess('forum_access')." GROUP BY thread_id ORDER BY count_posts DESC, thread_lastpost DESC LIMIT 5
");
if (dbrows($result) != 0) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['thread_subject'], 20);
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."' title='".$data['thread_subject']."' class='side'>$itemsubject</a>
</td>
<td align='right'>".$data['count_posts']."</td>
</tr>";
}
echo "</table>\n";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</td>
<td width='25%'>";
openside("<center>Atsitiktines nuorodos</center>");
if(dbcount("(*)", "money_links", "id > 0") > 0){
$snd = mktime(date("H"),date("i"),date("s"),date("m"),date("d"),date("Y"));
dbquery("DELETE FROM ".$db_prefix."money_links WHERE `galiojaiki` < '".$snd."'");
$sql = dbquery("SELECT * FROM ".$db_prefix."money_links ORDER BY RAND() LIMIT 5");
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($linkas = dbarray($sql)){
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'> <a href='".stripinput(htmlspecialchars($linkas[nuoroda]))."' class='side'>".stripinput(htmlspecialchars($linkas[tekstas]))."</a></td>
<td align='right'>".$data['weblink_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
</table>";
?>
|