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 2603
junglebook 2587
Disney2 2553
php-fusion-7-01-02 2518
Disney1 2471
mickey-pluto. 2453
Opgraderingspakke v... 2182
danish_locales_v7_1 2170
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 April
02.04 Bubbi (32)
02.04 quiki (42)
04.04 Thomas (53)
07.04 paulen (71)
11.04 jimtheknopf (41)
13.04 mflb83 (41)
14.04 pkpedersen (61)
14.04 egsvang (57)
15.04 ManHunterZ (66)
17.04 johnnysay (58)
17.04 danielp8240 (41)
25.04 Morten112vejen (33)
28.04 leif (85)
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: