OSDN Git Service

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@1020 1ca29b6e-896d...
[nucleus-jp/nucleus-plugins.git] / NP_TrackBack / branches / DOM-branch / trackback / japanese-utf8.templates / index.html
diff --git a/NP_TrackBack/branches/DOM-branch/trackback/japanese-utf8.templates/index.html b/NP_TrackBack/branches/DOM-branch/trackback/japanese-utf8.templates/index.html
new file mode 100644 (file)
index 0000000..15a2ce4
--- /dev/null
@@ -0,0 +1,34 @@
+<?php global $manager; ?>
+<h2>Overview of all items</h2>
+
+<?php if(count($blogs)): ?>
+
+<table>
+<?php while (list(,$blog) = each ($blogs)): ?>
+<?php if(count($blog['items'])): ?>
+       <thead>
+               <tr>
+                       <th>Blog: <?php echo htmlspecialchars($blog['bname']);?></th>
+                       <th>Total</th>
+                       <th>Action</th>
+               </tr>
+       </thead>
+       <tbody>
+               <?php while (list(,$item) = each ($blog['items'])): ?>
+               <tr onmouseover='focusRow(this);' onmouseout='blurRow(this);'>
+                       <td>
+                               <?php echo $item['ititle'];?>
+                       </td>
+                       <td>
+                               <?php echo htmlspecialchars($item['total']);?>
+                       </td>
+                       <td>
+                               <a href="<?php echo htmlspecialchars($manager->addTicketToUrl($CONF['PluginURL'].'trackback/index.php?action=list&id='.$item['inumber']),ENT_QUOTES);?>">Trackbacks</a>
+                       </td>
+               </tr>
+               <?php endwhile; ?>
+       </tbody>
+<?php endif; ?>
+<?php endwhile; ?>
+</table>
+<?php endif; ?>
\ No newline at end of file