2010年2月25日木曜日

管理画面記事一覧表示 topiclist.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
<TITLE>{$maintitle}</TITLE>
</HEAD>
<BODY>
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
  <TBODY>
    <TR>
      <TD bgcolor="#336699" height="50" colspan="2">&nbsp;<B><FONT color="#ffffff" size="5">{$maintitle} 管理ツール</FONT></B></TD>
    </TR>
    <TR>
      <TD height="10" width="150" bgcolor="#3399cc" colspan="2"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
    </TR>
    <TR>
      <TD width="75%" valign="top" align="left" bgcolor="#ffffcc">
      <CENTER>
      <TABLE border="1" width="100%">
        <CAPTION><b>トピックの編集</b></CAPTION>
        <TBODY>
          <tr><td>保存日時</td><td>カテゴリ</td><td>トピックタイトル(編集)</td><td>削除</td>
<!-- {section name=tloop loop=$topics} --> /* Smartyでのループ */
          <TR>
    <!-- {if tloop < 40 }  -->/* ループ40以下の処理 */
            <TD>{$topics[tloop].postdatef}</TD> /* GETでの受け取り */
            <TD>{$topics[tloop].category}</TD>
     /* GETメソッドで渡ってきています */
            <TD><a href="edittopic.php?topicid={$topics[tloop].topicid}">{$topics[tloop].title}</a></TD>
    <!-- {else} --> /* ループ40以上の処理 */
            <TD></TD>
            <TD></TD>
            <TD><a href="topiclist.php?topicid={$topics[tloop].topicid}">次へ</a></TD>
    <!-- {/if} -->
        /* 記事の削除ON・OFF */
            <TD>{if $topics[tloop].fdelete == 1}ON{else}OFF{/if}</td>
          </TR>
<!-- {/section} -->
          <tr><td colspan=4>
      <FORM action="topiclist.php" method="POST">
      削除マークがあるトピックを本当に消す <INPUT type="submit" name="submit" value="削除実行"></FORM>
          </td></tr>
        </TBODY>
      </TABLE>
      </CENTER>
      </TD>
      <TD width="25%" bgcolor="#ffffcc" valign="top" align="left">
      <TABLE border="0" width="150" cellpadding="0" cellspacing="0">
        <TBODY>
          <TR>
            <TD align="center" height="20" bgcolor="#ffcc00"><B><a href="admin.php">管理HOME</a></B></TD>

          </TR>

          <TR>

            <TD align="center" width="150" height="5" bgcolor="#3399cc"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
          </TR>
          <TR>
            <TD align="center" height="20" bgcolor="#ffffff"><B><a href="viewsettings.php">設定変更</a></B></TD>
          </TR>
          <TR>
            <TD align="center" width="150" height="5" bgcolor="#3399cc"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
          </TR>
          <TR>
            <TD align="center" height="20" bgcolor="#ffffff"><B><a href="edittopic.php">新規トピック</a></B></TD>
          </TR>
          <TR>
            <TD align="center" width="150" height="5" bgcolor="#3399cc"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
          </TR>
          <TR>
            <TD align="center" height="20" bgcolor="#ffffff"><B><a href="topiclist.php">トピックスの管理</a></B></TD>
          </TR>
          <TR>
            <TD align="center" width="150" height="5" bgcolor="#3399cc"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
          </TR>
          <TR>
            <TD align="center" height="20" bgcolor="#ffffff"><B><a href="index.php">日記トップ</a></B></TD>
          </TR>
          <TR>
            <TD align="center" width="150" height="5" bgcolor="#3399cc"><IMG src="spacer.gif" width="1" height="1" border="0" alt=""></TD>
          </TR>
        </TBODY>
      </TABLE>
      </TD>
    </TR>
    <TR>
      <TD height="15" bgcolor="#336699">&nbsp;</TD>
      <TD bgcolor="#336699"></TD>
    </TR>
  </TBODY>
</TABLE>
</BODY>
</HTML>

0 件のコメント:

コメントを投稿