国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > CMS > 織夢DEDE > 正文

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

2024-07-12 09:02:01
字體:
來源:轉載
供稿:網友

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

 

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

 

下面修改/你的網站后臺(默認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;?>內容列表</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>內容列表</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="預覽" alt="預覽" /><u>前臺預覽</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>留言內容</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>

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 来安县| 龙门县| 西华县| 兰溪市| 太仓市| 西宁市| 大余县| 阿瓦提县| 名山县| 融水| 聂荣县| 曲靖市| 大埔区| 镶黄旗| 周宁县| 东辽县| 大同县| 大兴区| 佛冈县| 沾化县| 宁蒗| 增城市| 万全县| 昆山市| 永川市| 仁化县| 江川县| 收藏| 彩票| 洛隆县| 黄浦区| 青铜峡市| 通海县| 云梦县| 杭州市| 深泽县| 甘南县| 大理市| 安阳市| 南澳县| 揭东县|