91豆麻精品91久久久久久,中文在线资源,国产精品女视频,yw.139尤物在线精品视频

?
  歡迎訪問全國企業(yè)網(wǎng)站設(shè)計NO.1網(wǎng)站開發(fā)商平臺 付款方式
主頁 > 網(wǎng)站建設(shè) > 建站知識 > 織夢后臺自定義表單列表樣式美化修改

織夢后臺自定義表單列表樣式美化修改

POST TIME:2020-10-09

織夢有自定義表單功能,方便我們收集用戶信息。但是如果使用過這個功能的朋友就會知道,織夢這個自定義表單后臺列表樣式真的不好看。

 

我們修改后的樣式如下,看起來是不是更簡潔清爽了呢!

 

下面修改/你的網(wǎng)站后臺(默認dede)/templets/diy_list.htm文件,全部代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
 <title><?php echo $diy->name;?></title>
 <link rel="nofollow" href="css/base.css" rel="stylesheet" type="text/css" />
 </head>
 <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
 <div class="bodytitle">
     <div class="bodytitleleft"></div>
     <div class="bodytitletxt" style="padding-left:10px;"><?php echo $diy->name;?>內(nèi)容列表</div>
 </div>
 <form action="diy_list.php" method="post">
 <input type="hidden" name="diyid" value="<?php echo $diyid;?>" />
 <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
 <tr>
     <td colspan="3" height="28" background='images/tbg.gif'>
     <div style='float:left'>&nbsp;<a rel="nofollow" href='diy_main.php'><b>自定義表單管理</b></a> &gt; <b>內(nèi)容列表</b></div>
     <div style='float:right;padding-right:8px;'>
         <a rel="nofollow" href="../plus/diy.php?action=list&diyid=<?php echo $diy->diyid; ?>" target="_blank"><img src='images/gtk-tmp.png' align='left' title="預(yù)覽" alt="預(yù)覽" /><u>前臺預(yù)覽</u></a>
     </div>
     </td>
 </tr>
 <tr><td colspan="3" bgcolor="#ffffff">
 <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
 <tr style="text-align:center;background:#FDE48E;"><td>id</td><td>審核</td><td>姓名</td><td>QQ</td><td>電話</td><td>留言內(nèi)容</td><td>留言時間</td><td>操作</td></tr>
 <style>
 .msgfocus{ background:#F8FDE3;
 } .msgfocus:hover{ background:#D6EC7E;
 } </style>
 {dede:datalist} <?php
 if(!empty($fields))
 {$allowhtml = array('htmltext');
 $fields['sta'] = $fields['ifcheck'] == 1 ? '已審核' : '未審核'; ?>
  
 <tr style="text-align:center;" class="msgfocus"><td><input type="checkbox" name="id[]" value="<?php echo $fields['id']?>" class="np" /><?php echo $fields['id']?></td><td><?php echo $fields['sta']?></td><td><?php echo $fields['name']?></td><td><?php echo $fields['qq']?></td><td><?php echo $fields['tel']?></td><td style="width:50%;text-align:left;"><?php echo $fields['message']?></td><td><?php echo $fields['times']?></td><td><a rel="nofollow" href="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $fields['id']?>"><img src="images/feedback-edit.gif" border="0" width="45" height="18"></a></td></tr>
  
 <?php
 } else
 {    echo "<tr><td bgcolor="#ffffff">暫無記錄</td></tr>";
 } ?>
 {/dede:datalist} </table>
 </td></tr>
 <tr><td colspan="3" bgcolor="#ffffff">{dede:pagelist listsize=5 /}</td></tr>
 <tr>
 <td colspan="3" height='36' align="center" bgcolor="#F8FCF1">
     <label><input type="radio" name="action" value="check" class='np' />審核</label>
     <label><input type="radio" name="action" value="delete"  class='np' />刪除</label>
     &nbsp;&nbsp;     <input type="submit" name="submit" value="提交" class='np coolbg' />
 </td>
 </tr>
 </table>
 </form>
 </body>
 </html>

? 主站蜘蛛池模板: 平乐县| 措美县| 若尔盖县| 南汇区| 三明市| 上林县| 乾安县| 科尔| 周口市| 乌鲁木齐县| 高清| 钟山县| 汉中市| 成都市| 深水埗区| 沁阳市| 崇礼县| 钦州市| 永川市| 桐梓县| 惠东县| 高平市| 河东区| 巴东县| 加查县| 涡阳县| 仁寿县| 平舆县| 新野县| 巴南区| 博白县| 闵行区| 临江市| 巴林左旗| 衡阳县| 昭觉县| 枞阳县| 蒙城县| 云安县| 渭源县| 监利县|