Results 1 to 4 of 4
Thread: <?php foreach - - !
Hybrid View
-
14th November 2008 17:09 #1
<?php foreach - - !
,
PHP MSQL, Joomla , PHP MSQl. , :
<?php // no direct access
/**
* @package RokLatestNews
* @copyright Copyright (C) 2007 RocketWerx. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
defined('_JEXEC') or die('Restricted access');
$doc = &JFactory::getDocument();
$doc->addScript(JURI::base() . 'modules/mod_rokcontentrotator/rokcontentrotator-1.2-compressed.js');
JHTML::_('behavior.mootools');
?>
<script type="text/javascript">
window.addEvent('domready', function() {
var crotator = new RokContentRotator({hover: <?php echo $params->get('click_title')==1 ? "true": "false"; ?>});
});
</script>
<div class="rok-content-rotator<?php echo $params->get('moduleclass_sfx'); ?>"><div class="rotator-2"><div
class="rotator-3"><div class="rotator-4">
<?php if ($params->get('show_title') == 1) :?><div class="rotator-title"><?php echo $module->title; ?></div><?php
endif; ?>
<ul>
<?php foreach ($list as $item) : ?>
<li>
<h2><a class="rok-content-rotator-link" href="index.php?option=com_content&view= article&id=31:copyright2&catid=13:rokcon tentrotator-items&Itemid=67"><?php echo $item->title; ?>[/url]</h2>
<div class="content">
<?php echo $item->introtext; ?>
</div>
</li>
<?php endforeach; ?>
</ul>
</div></div></div></div>
, , rokcontentrotator . <?php foreach . , <div class="rotator-2"><div class="rotator-3"><div class="rotator-4">.
.
, .
what was i and what was me, and perhaps was there i
All Epox R.I.P.
-
14th November 2008 21:28 #2
.Code:var_dump($list);
$item.
, , ...&Itemid=67"... :
, ?...Code:&Itemid=<?php echo $item->id; ?>"
-
15th November 2008 11:40 #3
($list) .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
15th November 2008 13:28 #4
<?php // no direct access
defined('_JEXEC') or die('Restricted access');
$list .




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in