Din Menu
Fra fotoalbummet...

Nyeste artikler
> Billede ind i profil
> Optimer tabler i dat...
> Total Commander
> Redirect en side
> Mods / Infusion op p...
Downloads
SE ALLE DOWNLOADS...
Nye downloads
SurrealExperience 17
Luxury Yachts 10
Glare in Dark 66
AS-AppStore 36
AS-Global 20
AS-yellow_star 24
Hitman Games Zone 19
AS-Football 23
AS-Christmas 40
JuleCountdown til c... 20
Top 5 downloads
buzzlightyear 2804
php-fusion-7-01-02 2793
junglebook 2778
Disney2 2767
Disney1 2683
mickey-pluto. 2675
danish_locales_v7_1 2395
Opgraderingspakke v... 2368
Themes-phpfusion.dk
Facebook
Facebook

Pernille

statistik
Screenshots DB
Total Images: 796
Latest Images









statistik
Fra fotoalbummet...

Connect via Facebook
Connect via Facebook
Select your language
Danish Language Danish   English Language English
Fødselsdage i November
07.11 esig (61)
08.11 coldice (29)
14.11 Scorpion4Life (47)
15.11 DJ Tidzse (30)
17.11 ekate7 (49)
19.11 Kimse (64)
20.11 Brusher (49)
20.11 FogWelt (49)
24.11 SiteMaster (53)
26.11 kiko2611 (59)
26.11 kiko26 (59)
28.11 Micke Tyson (56)
Tilfældig Billede
Udtalelser fra brugerne
"SUPER SIDE

Jeg undrer mig bare over at jeg ikke har stødt på den før...... Dumme mig."

Teamtwilight
Reklame
Antispam
Se indlæg
Hvem er her? 1 gæst(er)
 Udskriv debat
download_plus_panel
J_K_NIELSEN
hejsa jeg vil lige høre om der skul være den der kun hjælpe mig har et lille poblem
den panel jeg har vil jeg gerne ha at jeg også kun bruge den til pro download panel

da download_plus_panel er til download.php

hvor maget skal jeg ratte i den for den også kan bruges til pro download panel

jeg køre php fusion v7.02.06


Download kildekode  Kode
<?php
// PHP-Fusion Content Management System
// Copyright © 2002 - 2008 Nick Jones
// http://www.php-fusion.co.uk/
// ------------------------------------
// Infusion: Download Plus Panel
// Displays the X amount of popular and latest downloads with total number of files, categories
// and number of overall downloaded files from your phpfusion site.
// Author: John Kirchner
// Web: http://www.programmingsource.net
// ------------------------------------
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

//Enter a number to display the top X/latest X/recent rated amount of downloads.
$topx = "5";
$lastx = "5";
$ratex = "5";
openside('Download Plus Stats', 'on');

if ($topx == "0" and $lastx == "0" and $ratex == "0") {
echo "All options are set to 0, make changes in the download_plus_panel.php file!";
}

if ($topx == "0") {
echo "";
} else {
echo "<center><font size='2' color='#FFFFFF'>Top $topx Downloads</font></center>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td align='left'><font size='1' color='#990000'>File</font></td>
<td align='right'><font size='1' color='#990000'>Hits</font></td></tr></table>
";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,$topx");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 15);
      echo "<tr>\n<td class='small'><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'><font size='1'>$itemsubject</font></a></td>\n
      <td align='right'>".$data['download_count']."</td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>No downloads added yet.</center>\n";
}
}

if ($lastx == "0") {
echo "";
} else {
echo "<br><center><font size='2' color='#FFFFFF'>$lastx Recently Added</font></center>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td align='left'><font size='1' color='#990000'>File</font></td>
<td align='right'><font size='1' color='#990000'>Date</font></td></tr></table>
";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,$lastx");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 15);
      $dateadded = date('n-j-y', $data['download_datestamp']);
      echo "<tr>\n<td class='small' align='left'><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'><font size='1'>$itemsubject</font></a></td>
<td align='right' width='25%'>$dateadded</td>\n</tr>\n";

   }
   echo "</table>";
} else {
   echo "<center>No new downloads added yet.</center>\n";
}
}

if ($ratex == "0") {
echo "";
} else {
echo "<br><center><font size='2' color='#FFFFFF'>$ratex Recently Rated</font></center>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td align='left'><font size='1' color='#990000'>File</font></td>
<td align='right'><font size='1' color='#990000'>Rating</font></td></tr></table>
";
$result = dbquery("SELECT * FROM ".$db_prefix."ratings WHERE rating_type='D' ORDER BY rating_vote DESC LIMIT 0,$ratex");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   while($data = dbarray($result)) {

$result2 = dbquery("SELECT * FROM ".$db_prefix."downloads WHERE download_id=".$data['rating_item_id']."");
$data2 = dbarray($result2);
$filename = $data2['download_title'];
$fileid = $data2['download_id'];
$filecat = $data2['download_cat'];
$itemsubject = trimlink($filename, 15);
$rating = $data['rating_vote'];
if ($rating == "5") { $rating = "Awesome!";}
if ($rating == "4") { $rating = "VeryGood";}
if ($rating == "3") { $rating = "Good";}
if ($rating == "2") { $rating = "Average";}
if ($rating == "1") { $rating = "Poor";}
      echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=$filecat&download_id=$fileid' title='$filename' class='side'><font size='1'>$itemsubject</font></a></td>\n
      <td align='right' width='25%'><font size='1'>$rating</font></td>\n</tr>\n";
   }
   echo "</table>";
} else {
   echo "<center>No downloads rated yet.</center>\n";
}
}

//get category and file totals
echo "<hr>";
$sql1 = dbquery("SELECT * FROM ".DB_DOWNLOAD_CATS." WHERE ".groupaccess('download_cat_access')."");
$rowcount = dbrows($sql1);
$sql2 = dbquery("SELECT * FROM ".DB_DOWNLOADS." WHERE ".groupaccess('download_access')."");
$rowcount2 = dbrows($sql2);

$sql3 = dbquery("SELECT *, SUM(download_count) FROM ".$db_prefix."downloads");
while($row = dbarray($sql3))
{
$dlcount = $row['SUM(download_count)'];
}
      echo "<font color='#990000'>$rowcount</font> categories.<br>";
   echo "<font color='#990000'>$rowcount2</font> downloadable files.<br>";
   echo "<font color='#990000'>$dlcount</font> total download hits.<br>";

closeside();
?>




er det mulig og lave så den her også kan arbejde med pro download panel vil bare lige høre
da jeg både bruger
download.php og pro download panel på siden

vil bare lige høre

HILSEN J_K_NIELSEN:)
J_K_NIELSEN tilknyttede følgende billede:fil:
Du har ikke lov til at se downloads i denne debat.
 
Web
Spring til debat: