Beispiel #1
0
<div class="wrap">
<style type="text/css">
h3 a,h2 a {font-size:80%;text-decoration:none;margin-left:10px;}
</style>

<?php 
wpr_get_versions();
?>
<h2><?php 
_e("WP Robot Campaigns", "wprobot");
?>
 <a href="?page=wpr-add"><?php 
_e("&rarr; Create Campaign", "wprobot");
?>
</a></h2>

	<?php 
$records = $wpdb->get_results("SELECT * FROM " . $wpr_table_campaigns . " ORDER BY id ASC");
if ($records) {
    ?>
	<form id="campaigns" method="post">	
<table class="widefat post fixed" cellspacing="0">	
	<thead>
		<tr>
			<th id="cb" class="manage-column column-cb check-column" style="" scope="col">
				<input type="checkbox"/>
			</th>
			<th id="name" class="manage-column column-name" style="" scope="col"><?php 
    _e("Name", "wprobot");
    ?>
</th>
<div class="wrap">
<style type="text/css">
h3 a,h2 a {font-size:80%;text-decoration:none;margin-left:10px;}
</style>

<?php wpr_get_versions(); ?>
<h2><?php _e("WP Robot Campaigns","wprobot") ?> <a href="?page=wpr-add"><?php _e("&rarr; Create Campaign","wprobot") ?></a></h2>

	<?php $records = $wpdb->get_results("SELECT * FROM " . $wpr_table_campaigns . " ORDER BY id ASC"); 
	if ($records) {
	?>
	<form id="campaigns" method="post">	
<table class="widefat post fixed" cellspacing="0">	
	<thead>
		<tr>
			<th id="cb" class="manage-column column-cb check-column" style="" scope="col">
				<input type="checkbox"/>
			</th>
			<th id="name" class="manage-column column-name" style="" scope="col"><?php _e("Name","wprobot") ?></th>
			<th id="title" class="manage-column column-title" style="" scope="col"><?php _e("Keywords","wprobot") ?></th>
			<th id="categories" class="manage-column column-categories" style="" scope="col"><?php _e("Categories","wprobot") ?></th>
			<th id="author" class="manage-column column-author" style="width:60px;" scope="col"><?php _e("Posts Created","wprobot") ?></th>			
			<th id="date" class="manage-column column-date" style="width:160px;" scope="col"><?php _e("Next Post","wprobot") ?></th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<th class="manage-column column-cb check-column" style="" scope="col"><input type="checkbox"/>
			</th>
			<th class="manage-column column-name" style="" scope="col"><?php _e("Name","wprobot") ?></th>
			<th class="manage-column column-title" style="" scope="col"><?php _e("Keywords","wprobot") ?></th>