Navigation
Supportsider
Senest Online
flj 2 Dage
Henrik Bendtsen 1 Uge
helmuth 1 Uge
Niller 2 Uger
gittedl 2 Uger
snatur 3 Uger
DK57 4 Uger
HenningS 4 Uger
afoster 7 Uger
djumbo 8 Uger
Besøgende
Gæster online: 8

Brugere online: 0

Antal brugere: 179
Nyeste bruger: Michael Mogensen
Se indlæg
PHP-Fusion - Danmark » PHP-Fusion version 7 » MODs & Infusioner v7
 Udskriv debat
Tilføj stjerner til billeder
Jeppe
Jeg har en side, med de 100 nyeste billeder fra galleriet, men jeg kunne godt tænke mig at vurderingerne blev vist under hvert billede...



/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: viewthread.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";

if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }


$result = dbquery("SELECT panel_name FROM ".$db_prefix."panels WHERE panel_filename = 'latest_images_center_panel'");
if (dbrows($result) != 0) {
$data = dbarray($result);
$panel_name = $data['panel_name'];
}
openside("100 nyeste billeder fra alle kategorier");
echo "";
$result = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 0,100");
if (dbrows($result) != 0) {
$i=0;
while($data = dbarray($result)) {
$itemsubject = trimlink($data['photo_id'], 23);
$itemdescription = trimlink($data['photo_title'], 16);
if ($i % 4 == 0 && $i != 0) { echo "";}
echo "\n";
$i++;
}
} else {
}
echo "


$itemdescription
";
closeside();

require_once THEMES."templates/footer.php";
?>

En der kan være behjælpelig med dette? :)
Find piercingsmykker pÅ BodyMod.dk Shop
216 kroner doneret til PHP-Fusion Smile
 
http://www.bodymod.dk/
Spring til debat: