Example #1
0
        include dirname(__FILE__) . '/_title.php';
        ?>

			<?php 
        echo mvb_parse_content($description);
        ?>

			<a class="read-more" href="#">View all</a>

        <?php 
    } else {
        ?>

			<div class="twelve columns">
				<?php 
        echo mvb_parse_content($description);
        ?>
			</div>

        <?php 
    }
    ?>
		</div>


    <?php 
}
?>

	<script type="text/javascript">
		jQuery(document).ready(function ($) {
Example #2
0
					</script>
					<?php 
                break;
        }
        ?>
			<div class="fact-title"><?php 
        echo isset($item['title']) ? $item['title'] : '';
        ?>
</div>
			<div class="fact-subtitle"><?php 
        echo isset($item['subtitle']) ? $item['subtitle'] : '';
        ?>
</div>
		</div>
		
		<?php 
    }
    ?>
	</div>
	<?php 
}
?>

    <div class="content">
		<?php 
echo mvb_parse_content($description, true);
?>
	</div>

</div>
Example #3
0
    ?>
        <div class="block-title">
            <?php 
    echo mvb_parse_content($content, TRUE);
    ?>
        </div>
    <?php 
}
?>

    <?php 
if ($description) {
    ?>
        <div class="block-description">
            <?php 
    echo mvb_parse_content($description, TRUE);
    ?>
        </div>
    <?php 
}
?>


    <?php 
echo '</div>';
?>

    <?php 
if (!empty($link_url) && !empty($button_text)) {
    ?>
        <div class="three columns">
            echo '</a>';
        }
        ?>
                        </div>

                        <div class="subtitle"><?php 
        echo isset($panel['sub_title']) ? $panel['sub_title'] : '';
        ?>
</div>

                        <?php 
        if (isset($panel['content'])) {
            ?>
                            <div class="feat-block-content">
                                <?php 
            echo mvb_parse_content($panel['content'], TRUE);
            ?>
                            </div>
                        <?php 
        }
        ?>

                        <?php 
        if (isset($panel['read_more']) && $_link) {
            ?>

                            <a href="<?php 
            echo $_link;
            ?>
" class="read-more"><?php 
            echo isset($panel['read_more_text']) ? $panel['read_more_text'] : '';
Example #5
0
            <div class="avatar">

                <?php 
    $img = wp_get_attachment_url($image);
    $article_image = aq_resize($img, 80, 80, true);
    ?>
                <img src="<?php 
    echo $article_image;
    ?>
" alt="<?php 
    echo $main_title;
    ?>
">
            </div>
        <?php 
}
if ($name) {
    echo '<div class="block-title">' . $name . '</div>';
}
if ($client_job) {
    echo '<div class="dopinfo">' . $client_job . '</div>';
}
if ($description) {
    echo '<div class="text">' . mvb_parse_content($description) . '</div>';
}
?>

    </div>

</div>
Example #6
0
echo $unique_id;
?>
">
		<ul class="slides">
			<?php 
if (!empty($r_items)) {
    ?>
				<?php 
    foreach ($r_items as $item) {
        ?>
					<?php 
        if (!empty($item['content'])) {
            ?>
						<li class="text-list-item">
							<div class="text-list-item-wrap"><?php 
            echo mvb_parse_content($item['content'], true);
            ?>
</div>
						</li>
					<?php 
        }
        ?>
				<?php 
    }
    ?>
			<?php 
}
?>
		</ul>
		<?php 
echo DFD_Carousel::controls();
Example #7
0
				<?php 
if (!empty($title)) {
    ?>
					<span class="quote-author box-name"><?php 
    echo $title;
    ?>
</span>
				<?php 
}
if (!empty($subtitle)) {
    ?>
					<span class="quote-sub dopinfo"><?php 
    echo $subtitle;
    ?>
</span>
				<?php 
}
?>
			</div>
		</div>
		<div class="right">
			<blockquote>
				<?php 
echo mvb_parse_content($content);
?>
			</blockquote>
		</div>
	</div>

</div>
                echo $panel['sub_title'];
                ?>
</div>
					<?php 
            }
            ?>
				<?php 
        }
        ?>
			
                    <?php 
        if (!empty($panel['content'])) {
            ?>
                        <div class="content">
                            <?php 
            echo mvb_parse_content($panel['content'], true);
            ?>
                        </div>
                    <?php 
        }
        ?>

                </div>

            <?php 
    }
    ?>
        </div>
    <?php 
}
?>
Example #9
0
<div class="module module-message-boxes <?php 
echo !empty($css) ? $css : '';
?>
 <?php 
echo $cr_effect;
?>
" <?php 
echo $addition_css_styles;
?>
>

    <?php 
include dirname(__FILE__) . '/_title.php';
?>

    <div class="boxed-content <?php 
echo $box_style;
?>
">
        <?php 
echo $icon;
?>
 <?php 
echo mvb_parse_content($content, true);
?>
    </div>


</div>
Example #10
0
    /**
     * Add Textarea field
     *
     * @access public
     * @param string $field_name
     * @param array $field_options
     * @return string text field
     */
    public function __add_textarea($field_name, $options, $value)
    {
        ob_start();
        global $mvb_metro_factory;
        $value = mvb_base64_decode($value);
        ?>
        <?php 
        if (!isset($options['col_span'])) {
            ?>
<div class="clear"><!-- ~ --></div><?php 
        }
        ?>
        <label<?php 
        if (isset($options['col_span'])) {
            ?>
 class="<?php 
            echo $options['col_span'];
            ?>
"<?php 
        }
        ?>
><span><?php 
        echo $options['label'];
        ?>
:</span>

          <?php 
        if (isset($options['editor']) and $options['editor'] === TRUE) {
            ?>

			<?php 
            if (isset($options['insert_image']) and $options['insert_image'] === TRUE) {
                ?>
			<div class="mvb-editor-tools"></div>
			<?php 
            }
            ?>
			
			<textarea type="text" name="<?php 
            echo $field_name;
            ?>
" class="widefat mvb_textarea_with_editor bshaper_form_fields mvb_module_<?php 
            echo $field_name;
            ?>
 mvb_module_field<?php 
            if (isset($options['class'])) {
                ?>
 <?php 
                echo $options['class'];
            }
            ?>
"><?php 
            echo mvb_parse_content($value);
            ?>
</textarea>

          <?php 
        } else {
            ?>

            <textarea type="text" name="<?php 
            echo $field_name;
            ?>
" class="widefat bshaper_form_fields mvb_module_<?php 
            echo $field_name;
            ?>
 mvb_module_field<?php 
            if (isset($options['class'])) {
                ?>
 <?php 
                echo $options['class'];
            }
            ?>
"><?php 
            if ($field_name == 'content') {
                echo mvb_parse_content_html($value);
            } else {
                echo mvb_special_content($value, "\n");
            }
            ?>
</textarea>

          <?php 
        }
        ?>

          <?php 
        if (isset($options['help'])) {
            ?>
<span class="bshaper_helper_info"><?php 
            echo $options['help'];
            ?>
</span><?php 
        }
        ?>
        </label>
        <?php 
        return ob_get_clean();
    }
Example #11
0
        if (isset($item['client_job']) && $item['client_job']) {
            ?>
								<div class="subtitle"><?php 
            echo $item['client_job'];
            ?>
</div>
							<?php 
        }
        ?>
						</div>
					</div>
					<div class="clear"></div>
					<div>
						<blockquote>
							<?php 
        echo mvb_parse_content($item['content']);
        ?>
						</blockquote>
						<?php 
        if (!empty($_link)) {
            ?>
							<p class="text-center">
								<?php 
            echo DFD_HTML::read_more($_link);
            ?>
							</p>
						<?php 
        }
        ?>
					</div>
				</li>
Example #12
0
?>
    </dl>
    <ul class="tabs-content clearfix">
        <?php 
$i = 1;
?>
        <?php 
foreach ($r_items as $item) {
    ?>
            <li <?php 
    if ($i == '1') {
        ?>
 class="active"<?php 
    }
    ?>
 id="<?php 
    echo $unique_id . '_' . $i;
    ?>
Tab"><?php 
    echo mvb_parse_content($item['content'], TRUE);
    ?>
</li>
            <?php 
    $i++;
    ?>
        <?php 
}
?>
    </ul>
</div>