<?php
/**
 * @subpackage  tcshortcodes plugin
*/
//no direct accees
defined ('_JEXEC') or die('resticted aceess');

if(!function_exists('divider_sc')){
	function divider_sc($atts, $content='') {
		extract(shtcode_atts(array(
					'margin_top'=>'18px',
					'margin_bottom'=>'18px',
					'border'=>0
				), $atts));
		return '<div class="divider clearfix" style="margin-top:' . $margin_top . '; margin-bottom:' . $margin_bottom . '; border-top:' . $border . ';"></div>';
	}
	add_shtcode('divider', 'divider_sc');
}
