chiark / gitweb /
wip sort out Midnights
[ypp-sc-tools.db-test.git] / yarrg / web / profitable_trades
old mode 100755 (executable)
new mode 100644 (file)
index 6aab676..16e45b6
@@ -23,24 +23,12 @@ my $sth=$dbh->prepare(
 
 $sth->execute();
 </%perl>
-<table frame=box rules=all>
-<tr><td>commod</td><td>buy island</td><td>buy stall</td><td>buy price</td><td>buy quantity</td><td>sell island</td><td>sell stall</td><td>sell price</td><td>sell qty</td></tr>
-% my @row;
-% while (@row=$sth->fetchrow_array) {
-<tr>
-% foreach my $cell (@row) {
-<td>
-<% $cell %>
-</td>
-% }
-</tr>
-% }
-</table>
+<& dumptable, sth => $sth &>
 
 </BODY>
 </HTML>
 
 <%init>
 use CommodsWeb;
-my $dbh= dbw_connect('Midnight');
+my $dbh= dbw_connect('Cerulean');
 </%init>