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 2801
php-fusion-7-01-02 2791
junglebook 2776
Disney2 2762
Disney1 2680
mickey-pluto. 2672
danish_locales_v7_1 2393
Opgraderingspakke v... 2366
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
"Jag vill bara säga att (Assensvej) är jätte bra hemsida för nybörjare som kan få hjälp här,sen hemsidan är jätte fin med massa saker inne.....

God Jobb.......Admin ."

tedo
Reklame
Antispam
Se indlæg
Hvem er her? 1 gæst(er)
 Udskriv debat
Sidste nyt! element
assensvej
Sidste nyt! element

Download kildekode  Kode
openside("Sidste nyt!");
$result = dbquery(
"SELECT l.type AS type, l.id AS id, l.title AS title, MAX(l.mdate) AS mdate, fusion_users.user_name AS name FROM ".
"( ".
"SELECT 'PA' AS type, fusion_photos.album_id AS id, ".
"fusion_photos.photo_datestamp AS mdate, fusion_photo_albums.album_title AS title, fusion_photos.photo_user AS user_id ".
"FROM fusion_photos ".
"LEFT JOIN fusion_photo_albums ON fusion_photos.album_id=fusion_photo_albums.album_id ".
"UNION ".
"SELECT 'A' AS type , article_id AS id, article_datestamp AS mdate, article_subject as title, article_name AS user_id ".
"FROM fusion_articles ".
"UNION ".
"SELECT CONCAT('C', comment_type) AS type, comment_item_id AS id, comment_datestamp AS mdate, comment_message AS title, comment_name AS user_id ".
"FROM fusion_comments ".
"WHERE comment_type='A' OR comment_type='P' ".
") AS l ".
"LEFT JOIN fusion_users ON fusion_users.user_id=l.user_id ".
"GROUP BY l.type, l.id, l.user_id ".
"ORDER BY mdate DESC LIMIT 0,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result))
{
$id = $data['id'];
$titlelong = $data['title'];
$titleshort = trimlink($titlelong, 25);
$name = $data['name'];
switch ($data['type'])
{
case 'PA':
$link="photogallery.php?album_id=".$id;
$titlelong="Nye billeder: ".$titlelong." fra ".$name;
break;
case 'A':
$link="readarticle.php?article_id=".$id;
$titlelong="Ny artikel: ".$titlelong." fra ".$name;
break;
case 'CA':
$link="readarticle.php?article_id=".$id;
$titlelong="Ny kommentar til artikel: ".trimlink($titlelong, 50)." fra ".$name;
break;
case 'P':
$link="photogallery.php?photo_id=".$id;
$titlelong="Nyt billede: ".$titlelong." fra ".$name;
break;
case 'CP':
$link="photogallery.php?photo_id=".$id;
$titlelong="Ny kommentar til billede: ".trimlink($titlelong, 50)." fra ".$name;
break;
default:
$link="";
break;
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR.$link."' title='".$titlelong."' class='side'>$titleshort</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();


 
Spring til debat:
Lignende tråde
Debat Forum Svar Nyeste indlæg
2-i-et element i stedet for news.php på forsiden Kravlegården på Assensvej 8 28-05-2012 10:47
Hjælp til element igen :) Kravlegården på Assensvej 3 01-03-2012 12:12
Element til at annoncere/reklamere Kravlegården på Assensvej 42 08-02-2012 19:20
Element i venster side Kravlegården på Assensvej 4 24-01-2012 23:19
Seneste aktivitet element Tips og tricks,elementer mm v7 14 07-09-2011 23:09