diff -r 000000000000 -r d970ebf37754 wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_preview.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_preview.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,289 @@ +path . '/pages/default_settings.php'); + +$title = $tname; +$catArray = array(); +$ccNumbers = array(); +foreach(explode('||',$tsettings) as $val) { + $expl = explode('::',$val); + $settings[$expl[0]] = $expl[1]; + if(substr($expl[0], 0, 8) == 'cat-name') { + $cc = get_cat_name(intval(substr($expl[0], 9))); + array_push ($catArray,$cc); + array_push ($ccNumbers, 0); + } +} +?> + + + + + + +
+ + $arr) { + $num = substr($key,4); + if($settings['cat-type'] == 'categories') { + $index = array_search($arr['categoryid'],$catArray); + $ccNumbers[$index]++; + $arr['dataid'] = ($ccNumbers[$index] < 10 ? '0'.$ccNumbers[$index] : $ccNumbers[$index]).'/'.$arr['categoryid']; + } + if($arr['start-item']) { + $start_item = $arr['dataid']; + + } + ?> + + + + +
data-description=""> + + + +

+ + Read more
'; } ?> +
+
+ + + +
+ + +
+ + +

+ +
+
+ +
+ + +