if ($noaction == 0 && $enter != 1) {
print "<tr>\n";
print "<td>\n";
# &tabletop;
print "<table width=\"100%\" border=\"0\" cellspacing=\"$f_space\" cellpadding=\"0\">\n";
print "<tr>\n";
print "<td valign=top>\n";
&input('radio','mode','feed',' checked','餌をあげる<br>');
&input('radio','mode','pat','','なでる<br>');
&input('radio','mode','out','','外に出す');
print "</td>\n";
print "<td valign=top>\n";
&input('radio','mode','play','','遊ぶ<br>');
&input('radio','mode','hit','','しかる<br>');
# &input('radio','mode','owner','','飼い主ランキング');
print "</td>\n";
print "</tr>\n";
|
$goodbye = time - (60 * 60 * 24 * $goodbye);
$newlove = $love;
&openinuserdata('action');
&openoutuserdata;
$actionflag = 1; # 飼い主ランキングのリンクを表示
&bodybottom;
&footer;
|
print "<tr>\n";
print "<td colspan=\"2\">\n";
print "<div align=\"right\">\n";
&input('hidden','name',$FORM{'name'},'','');
&input('hidden','pass',$FORM{'pass'},'','');
&input('hidden','good',"$scheduledsr[$timeafter]$plusfeed",'','');
&input('hidden','bad',"$schedulednt[$timeafter]$minusfeed",'','');
&input('submit','','OK!','','<br>');
print "</div>\n";
&tablebottom;
} else { $actionflag = 1; } # ←ここですね!
&bodybottom;
&openoutpetdata;
&footer;
}
|
print "<tr>\n";
print "<td colspan=\"2\">\n";
print "<div align=\"right\">\n";
&input('hidden','name',$FORM{'name'},'','');
&input('hidden','pass',$FORM{'pass'},'','');
&input('hidden','good',"$scheduledsr[$timeafter]$plusfeed",'','');
&input('hidden','bad',"$schedulednt[$timeafter]$minusfeed",'','');
&input('submit','','OK!','','<br>');
print "</div>\n";
&tablebottom;
# } else { $actionflag = 1; }
}
$actionflag = 1;
&bodybottom;
&openoutpetdata;
&footer;
}
|
&input('radio','mode','play','','遊ぶ<br>');
&input('radio','mode','hit','','しかる<br>');
# &input('radio','mode','owner','','飼い主ランキング<br>');
# &input('radio','mode','owner1','','飼い主個人情報');
print "</td>\n";
print "</tr>\n";
|
# ------------------------- #
# Sub Body Bottom
# ボディ下部
# ------------------------- #
sub bodybottom {
print "</td>\n";
print "</tr>\n";
print "<tr>\n";
print "<td>\n";
print "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$barcolor\">\n";
print "<tr>\n";
print "<td valign=\"bottom\"><img src=\"$img$lbimg\" width=\"$ris\" height=\"$ris\"></td>\n";
print "<td><div align=\"center\">";
print "<a href=\"$backurl\" target=\"$backtarget\">[$backword]</a>\n" if $printback == 1;
print " <a href=\"$cgiurl?mode=owner&name=$FORM{'name'}&pass=$FORM{'pass'}\">[飼い主全体]</a>\n" if $actionflag == 1;
print " <a href=\"$cgiurl?mode=owner1&name=$FORM{'name'}&pass=$FORM{'pass'}\">[飼い主個人]</a>\n" if $actionflag == 1;
if ($FORM{'mode'} eq "owner" || $FORM{'mode'} eq "owner1") {
print " <a href=\"$cgiurl?mode=back&name=$FORM{'name'}&pass=$FORM{'pass'}\">[戻る]</a>\n";
}
elsif ($FORM{'mode'} ne "end") {
print " <a href=\"$cgiurl?mode=end\">[終了]</a>\n";
}
print "</div></td>";
print "<td valign=\"bottom\"><div align=\"right\"><img src=\"$img$rbimg\" width=\"$ris\" height=\"$ris\"></div></td>\n";
print "</tr>\n";
print "</table>\n";
print "</td>";
print "</tr>\n";
print "</form>\n";
print "</table>\n";
print "</div>\n";
}
|