織夢DedeCMS自訂表格單diy_list.htm

來源:互聯網
上載者:User

標籤:round   dtd   orm   padding   sharp   submit   content   sof   llb   

<!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 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‘> <a href=‘diy_main.php‘><b>自訂表格單管理</b></a> > <b>內容列表</b></div><div style=‘float:right;padding-right:8px;‘><a 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>{dede:datalist}<?php if(!empty($fields)){$allowhtml = array(‘htmltext‘);if($fields[‘ifcheck‘]==1){$fields[‘sta‘]=‘已審核‘;}elseif($fields[‘ifcheck‘] == 2){$fields[‘sta‘]=‘<span style="color:green;">無效</span>‘;}else{$fields[‘sta‘]=‘<span style="color:red;">未審核</span>‘;}//$fields[‘sta‘] = $fields[‘ifcheck‘] == 1 ? ‘已審核‘ : ‘<span style="color:red;">未審核</span>‘;    echo ‘<tr bgcolor="#F8FDE3"><td width="20%"><input type="checkbox" name="id[]" value="‘.$fields[‘id‘].‘" class="np" />id</td><td><a href="diy_list.php?action=edit&diyid=‘.$diy->diyid.‘&id=‘.$fields[‘id‘].‘">‘.$fields[‘id‘].‘</a>   狀態: ‘.$fields[‘sta‘].‘</td><td width="10%" align="center"><a href="diy_list.php?action=edit&diyid=‘.$diy->diyid.‘&id=‘.$fields[‘id‘].‘"><img src="images/feedback-edit.gif" border="0" width="45" height="18"></a></td></tr>‘;foreach($fieldlist as $field=>$fielddata){if($fields[$field]==‘‘) continue;if($fielddata[1]==‘img‘){$fields[$field] = "<a href=‘{$fields[$field]}‘ target=‘_blank‘><img src=‘images/channeladd.gif‘ border=‘0‘ /> 圖片附件</a>\r\n";}else if($fielddata[1]==‘addon‘){$fields[$field] = "<a href=‘{$fields[$field]}‘ target=‘_blank‘><img src=‘images/channeladd.gif‘ border=‘0‘ /> 其它附件</a>";}else if($fielddata[1]==‘datetime‘){$fields[$field] = GetDateTimeMk($fields[$field]);}else{if(!in_array($fielddata[1],$allowhtml)){$fields[$field] = dede_htmlspecialchars($fields[$field]);}}echo ‘<tr><td bgcolor="#ffffff" >‘.$fielddata[0].‘</td><td bgcolor="#ffffff" colspan="2">‘.$fields[$field].‘</td></tr>‘;}} else {echo "<tr><td bgcolor=\"#ffffff\">暫無記錄</td></tr>";}?>{/dede:datalist}<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="invalid" class=‘np‘ />無效</label><label><input type="radio" name="action" value="check" class=‘np‘ />審核</label><label><input type="radio" name="action" value="delete"  class=‘np‘ />刪除</label>  <input type="submit" name="submit" value="提交" class=‘np coolbg‘ /></td></tr></table></form></body></html>

  

織夢DedeCMS自訂表格單diy_list.htm

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.