<?php //$listTask = $this->listTask; $configs = guruModelguruDays::getConfigs(); $full_image_size = $configs->days_fullpx; $full_image_proportional = $configs->days_f_prop; $thumb_image_size = $configs->days_thumbpx; $thumb_image_proportional = $configs->days_t_prop; $document = JFactory::getDocument(); $document->setTitle($day->metatitle); $document->setMetaData('keywords', $day->metakwd); $document->setMetaData('description', $day->metadesc); $guruHelper = new guruHelper(); // parsing the media - begin if ($configs->display_media == 1) { $the_media_object = guruModelguruDays::find_intro_media($day->id); $aheight = 0; $awidth = 0; $vheight = 0; $vwidth = 0; $media = ''; $no_plugin_for_code = 0; $the_media_order = 0; foreach ($the_media_object as $the_media) { if (isset($the_media)) { $the_media->code = stripslashes($the_media->code); if ($the_media->type == 'video') { $the_media_order++; if ($the_media->source == 'url' || $the_media->source == 'local') { if ($the_media->width == 0 || $the_media->height == 0) { $vheight = 300;