![]() |
@Velo: yeh, but sometimes this can be usefull to, if you just want to calculate some values (ppd directly in the template instead of the code)
|
Hmm... The 1.1 zip seems to be empty...
|
Updated :)
It downloads fine for me (and before it was fine too) |
Quote:
|
But phpinclude will be executed on any page of forum, and think that it is not good :)
|
Acully no. for example this would only be ran on index.php, The query it exucutes will only be done on that page, its ignored on all others.
PHP Code:
|
Nice Idea;)
@Anime-loo - Wouldn't "$DB_site->query" be better? Satan |
Yes. It is another way. But what if you need to execute some code inside some loop ? :) Think that for example calculating something different for each post on showthread.php must be impossible using phpinclude only...
|
Quote:
$query=$DB_site->query_frist |
also it's not good to expand the phpinclude template such a lot.
rembember it's loaded on everypage, also if everything is in an if-clause it has to be loaded and so on. |
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|