diff -r 000000000000 -r d970ebf37754 wp/wp-content/plugins/codecanyon-3027163-content-timeline-responsive-wordpress-plugin/pages/content_timeline_index.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_index.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,76 @@ +
+

Timelines + " class="add-new-h2">Add New +

+ + + + + + + + + + + + + + + + + + + + + + + + base_prefix; + + if($_GET['action'] == 'delete') { + $wpdb->query('DELETE FROM '. $prefix . 'ctimelines WHERE id = '.$_GET['id']); + } + $timelines = $wpdb->get_results("SELECT * FROM " . $prefix . "ctimelines ORDER BY id"); + if (count($timelines) == 0) { + echo ''. + ''. + ''; + } else { + $tname; + foreach ($timelines as $timeline) { + $tname = $timeline->name; + if(!$tname) { + $tname = 'Timeline #' . $timeline->id . ' (untitled)'; + } + echo ''. + ''. + ''. + '' . + ''. + ''; + } + } + ?> + + +
IDNameShortcodeActions
IDNameShortcodeActions
No timelines found.
' . $timeline->id . '' . ''.$tname.'' . ' [content_timeline id="' . $timeline->id . '"]' . 'Edit | '. + 'Delete'. + '
+
+ +

Step by step:

+ +
+
+ \ No newline at end of file