Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Saimon Debeloto's Avatar
    Join Date: Jan:2004
    Location: In the Houses of The Holy
    Posts: 301

    <?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.

  2. #2
    a.k.a. Bibi Flower's Avatar
    Join Date: Aug:2006
    Location: Sofia, Bulgaria
    Posts: 562

    Code:
    var_dump($list);
    .
    $item.
    , , ...&Itemid=67"... :
    Code:
    &Itemid=<?php echo $item->id; ?>"
    , ?...

  3. #3
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    ($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|

  4. #4
    An Ocean Soul Guardian's Avatar
    Join Date: Jul:2001
    Location:
    Posts: 1,203
    <?php // no direct access
    defined('_JEXEC') or die('Restricted access');

    $list .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |