Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Top 100 , naujausi 100

Parašė kefis· 2010 Rugp. 17 11:08:28
#1

Reikia ant v6 versijos top 100 siuntiniu, ir naujausiu siuntiniu 100. BEJE KAD TAS KODAS TIKTU I PRIDETINI PUSLAPY !! O NE I PRIDETI PANELE, nes ten lievai, tada atsiranda, sone suspausti... o kai idedu i prideti psl tai error. Taigi man reik veikancio, kuris veiktu i pridetini psl. ;)

Parašė kefis· 2010 Rugp. 17 13:08:46
#2

Kas nors turi? =/ Arba zino kur rasti? :|

Parašė iSoon· 2010 Rugp. 17 13:08:44
#3

http://phpfusion.lt/paneles

Parašė kefis· 2010 Rugp. 17 13:08:44
#4

Ieskojau nieko gero neradau, randu kur i panele reik ideti, o ne i prideti puslapi.. =/

Parašė Narysx· 2010 Rugp. 17 13:08:23
#5

susikurk failą top.php, įkelk į ftp ir į jį klijuok:

<?php

require_once "maincore.php";
require_once THEMES."templates/header.php";
openside("TOP siuntiniai");
$top = mysql_query("SELECT * from ".DB_DOWNLOADS." order by download_count DESC LIMIT 0,100");
$n=0;
while ($q = mysql_fetch_array($top))
{
$n++;
$download_id = $q['download_id'];
$download_title = $q['download_title'];
echo "$n <a href='downloads.php?page_id=$download_id'>$download_title</a><br>";
}
closeside();
require_once THEMES."templates/footer.php";

?>




tada eik saitas.lt/top.php

Redagavo Narysx· 2010 Rugp. 17 13:08:51

Parašė kefis· 2010 Rugp. 17 13:08:48
#6

Warning: require_once(themes/templates/header.php) [function.require-once]: failed to open stream: No such file or directory in /home/******/domains/****/public_html/topas.php on line 4

Fatal error: require_once() [function.require]: Failed opening required 'themes/templates/header.php' (include_path='.:/usr/local/lib/php') in /home/**/domains/**/public_html/topas.php on line 4

Parašė Anonimas.· 2010 Rugp. 17 13:08:23
#7

v7 versijai ten o pas tave v6.

Parašė kefis· 2010 Rugp. 17 13:08:57
#8

Nu tai sakau
Reikia ant v6 versijos top 100 siuntiniu, ir naujausiu siuntiniu 100. BEJE KAD TAS KODAS TIKTU I PRIDETINI PUSLAPY !! O NE I PRIDETI PANELE, nes ten lievai, tada atsiranda, sone suspausti... o kai idedu i prideti psl tai error. Taigi man reik veikancio, kuris veiktu i pridetini psl.merkia akį

Parašė Narysx· 2010 Rugp. 17 13:08:08
#9

Jei v6, tai:

<?php

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

openside("TOP siuntiniai");
$top = dbquery("SELECT * from ".$db_prefix."downloads order by download_count DESC LIMIT 0,100");
$n=0;
while ($q = dbarray($top))
{
$n++;
$download_id = $q['download_id'];
$download_title = $q['download_title'];
echo "$n <a href='downloads.php?page_id=$download_id'>$download_title</a><br>";
}
closeside();

require_once "side_right.php";
require_once "footer.php";

?>



Redagavo Narysx· 2010 Rugp. 17 14:08:41

Parašė kefis· 2010 Rugp. 17 13:08:27
#10

TOP siuntiniai

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/*****/domains/*****/public_html/topas.php on line 10

Parašė Narysx· 2010 Rugp. 17 13:08:42
#11

Atnaujinau pranešimą.

Parašė kefis· 2010 Rugp. 17 14:08:34
#12

TOP siuntiniai
Table '*****_**.db_prefixdownloads' doesn't existTable '******_**.db_prefixdownloads' doesn't exist

Parašė Narysx· 2010 Rugp. 17 14:08:04
#13

Dabar bus gerai. :D Kai seniai su v6 ką nors dariau, tai klaidų priveliu. :s

Parašė kefis· 2010 Rugp. 17 14:08:07
#14

Geras, o cia top 100? Ir dar jei gali padaryk, naujausi 100 :)
Bej tau jau +10 uz ta top 100 :)

Redagavo kefis· 2010 Rugp. 17 14:08:04

Parašė Narysx· 2010 Rugp. 17 14:08:47
#15

Taip, čia top 100 pagal parsisiuntimus. Dar pakeisk jį į šitą, rodys kiek atsisiuntė:

<?php

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

openside("TOP siuntiniai");
$top = dbquery("SELECT * from ".$db_prefix."downloads order by download_count DESC LIMIT 0,100");
$n=0;
while ($q = dbarray($top))
{
$n++;
$download_id = $q['download_id'];
$download_title = $q['download_title'];
$download_count = $q['download_count'];
echo "$n <a href='downloads.php?page_id=$download_id'>$download_title</a> - $download_count pars.<br>";
}
closeside();

require_once "side_right.php";
require_once "footer.php";

?>




o čia new 100:

<?php

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

openside("TOP siuntiniai");
$top = dbquery("SELECT * from ".$db_prefix."downloads order by download_datestamp DESC LIMIT 0,100");
$n=0;
while ($q = dbarray($top))
{
$n++;
$download_id = $q['download_id'];
$download_title = $q['download_title'];
echo "$n <a href='downloads.php?page_id=$download_id'>$download_title</a><br>";
}
closeside();

require_once "side_right.php";
require_once "footer.php";

?>



Parašė kefis· 2010 Rugp. 17 14:08:05
#16

Aciu. galite rakinti tema. ;)