foreach ($modules as $key => $module) {
$params = new mosParameters( $module->params );
if ($jwts_displaytype=="tabs"

{
echo '<div class="jwts_tabbertab" title="'.$module->title.'"><h2><a href="javascript
:void(null);" name="advtab">'.$module->title.'</a></h2>';
} elseif ($jwts_displaytype=="slides"

{
echo '<div class="jwts_title"><div class="jwts_title_left"><a href="javascript
:void(null);" title="Click to open!" class="jwts_title_text">'.$modul e->title.'</a></div></div><div class="jwts_slidewrapper"><div> ';
}
// Show/hide module title
if ($jwts_showmodtitle) {
echo '<div class="jwts_modtitle">'.$module->title.'</div>';
}
// Display each module content
if ((substr("$module->module",0,4))=='mod_'

{
// normal modules
if ($params->get('cache'

== 1 && $mosConfig_caching == 1) {
// module caching
$cache->call('modules_html::module2', $module, $params, $Itemid, $style, $my->gid );
} else {
modules_html::module2( $module, $params, $Itemid, $style, $count );
}
} else {
// custom or new modules
if ($params->get('cache'

== 1 && $mosConfig_caching == 1) {
// module caching
$cache->call('modules_html::module', $module, $params, $Itemid, $style, 0, $my->gid );
} else {
modules_html::module( $module, $params, $Itemid, $style );
}
}
if ($jwts_displaytype=="tabs"

{
echo '</div>';
} elseif ($jwts_displaytype=="slides"

{
echo '</div></div>';
}
}
?>
</div>
<div class="jwts_clr"></div>
علاقه مندی ها (Bookmarks)