@@ -20,14 +20,14 @@ | |||||
if (!empty($fields)) { | if (!empty($fields)) { | ||||
$allowhtml = array('htmltext'); | $allowhtml = array('htmltext'); | ||||
$fields['sta'] = $fields['ifcheck'] == 1 ? '<span class="btn btn-success btn-sm">已审核</span>':'<span class="btn btn-danger btn-sm">未审核</span>'; | $fields['sta'] = $fields['ifcheck'] == 1 ? '<span class="btn btn-success btn-sm">已审核</span>':'<span class="btn btn-danger btn-sm">未审核</span>'; | ||||
echo '<tr bgcolor="#e9ecef"><td width="8%"><input type="checkbox" name="id[]" value="'.$fields['id'].'"></td><td width="8%"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">'.$fields['id'].'</a></td><td align="right">'.$fields['sta'].'<a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i></a></td></tr>'; | |||||
echo '<tr bgcolor="#e9ecef"><td width="8%"><input type="checkbox" name="id[]" value="'.$fields['id'].'"></td><td width="8%"><a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'">表单'.$fields['id'].'</a></td><td align="right">'.$fields['sta'].'<a href="diy_list.php?action=edit&diyid='.$diy->diyid.'&id='.$fields['id'].'" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i></a></td></tr>'; | |||||
foreach($fieldlist as $field=>$fielddata) | foreach($fieldlist as $field=>$fielddata) | ||||
{ | { | ||||
if ($fields[$field]=='') continue; | if ($fields[$field]=='') continue; | ||||
if (!in_array($fielddata[1],$allowhtml)) { | if (!in_array($fielddata[1],$allowhtml)) { | ||||
$fields[$field] = dede_htmlspecialchars($fields[$field]); | $fields[$field] = dede_htmlspecialchars($fields[$field]); | ||||
} | } | ||||
echo '<tr><td>'.$fielddata[0].'</td><td colspan="2">'.$fields[$field].'</td></tr>'; | |||||
echo '<tr><td colspan="2">'.$fielddata[0].'</td><td>'.$fields[$field].'</td></tr>'; | |||||
} | } | ||||
} else { | } else { | ||||
echo '<tr><td>暂无记录</td></tr>'; | echo '<tr><td>暂无记录</td></tr>'; | ||||
@@ -20,7 +20,7 @@ | |||||
<li class="breadcrumb-item"><a href="<?php echo $arcurl;?>">文件:<?php echo $title;?></a></li> | <li class="breadcrumb-item"><a href="<?php echo $arcurl;?>">文件:<?php echo $title;?></a></li> | ||||
</ol> | </ol> | ||||
</nav> | </nav> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#e9ecef">下载地址列表:</td> | <td bgcolor="#e9ecef">下载地址列表:</td> | ||||
</tr> | </tr> | ||||
@@ -23,7 +23,7 @@ | |||||
</nav> | </nav> | ||||
<form name="form1" method="post" action="flink.php"> | <form name="form1" method="post" action="flink.php"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td>网址:</td> | <td>网址:</td> | ||||
<td><input name="url" type="text" id="url" value="http://" size="30"></td> | <td><input name="url" type="text" id="url" value="http://" size="30"></td> | ||||
@@ -25,7 +25,7 @@ | |||||
<input type="hidden" name="action" value="post"> | <input type="hidden" name="action" value="post"> | ||||
<input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | <input type="hidden" name="diyid" value="<?php echo $diyid;?>"> | ||||
<input type="hidden" name="do" value="2"> | <input type="hidden" name="do" value="2"> | ||||
<table cellpadding="0" cellspacing="1" class="table my-3"> | |||||
<table class="table mb-0"> | |||||
<?php echo $postform;?> | <?php echo $postform;?> | ||||
<tr> | <tr> | ||||
<td align="center"> | <td align="center"> | ||||
@@ -22,7 +22,7 @@ | |||||
<input type="hidden" name="arcurl" value="<?php echo $arcurl;?>"> | <input type="hidden" name="arcurl" value="<?php echo $arcurl;?>"> | ||||
<input type="hidden" name="action" value="send"> | <input type="hidden" name="action" value="send"> | ||||
<input type="hidden" name="arcID" value="<?php echo $aid;?>"> | <input type="hidden" name="arcID" value="<?php echo $aid;?>"> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td width="160">好友邮箱:</td> | <td width="160">好友邮箱:</td> | ||||
<td><input name="email" type="text" class="form-control" id="email"></td> | <td><input name="email" type="text" class="form-control" id="email"></td> | ||||
@@ -16,7 +16,7 @@ | |||||
<li class="breadcrumb-item">页面:<a href="<?php echo $arcurl?>"><?php echo $arctitle;?></a></li> | <li class="breadcrumb-item">页面:<a href="<?php echo $arcurl?>"><?php echo $arctitle;?></a></li> | ||||
</ul> | </ul> | ||||
</nav> | </nav> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td> | <td> | ||||
<a href="<?php echo $nextlink;?>"><img src="<?php echo $src?>"></a> | <a href="<?php echo $nextlink;?>"><img src="<?php echo $src?>"></a> | ||||
@@ -21,7 +21,7 @@ | |||||
</ul> | </ul> | ||||
<span class="navbar-text"><a href="diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a></span> | <span class="navbar-text"><a href="diy.php?action=post&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">发布信息</a></span> | ||||
</nav> | </nav> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<?php | <?php | ||||
echo '<tbody>'; | echo '<tbody>'; | ||||
echo '<tr><td bgcolor="#f5f5f5">id'.$row['id'].'</td></tr>'; | echo '<tr><td bgcolor="#f5f5f5">id'.$row['id'].'</td></tr>'; | ||||
@@ -19,7 +19,7 @@ | |||||
<li class="breadcrumb-item">文档错误提示</li> | <li class="breadcrumb-item">文档错误提示</li> | ||||
</ul> | </ul> | ||||
</nav> | </nav> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td colspan="2"><?php echo $moremsg;?></td> | <td colspan="2"><?php echo $moremsg;?></td> | ||||
</tr> | </tr> | ||||
@@ -19,7 +19,7 @@ | |||||
<li class="breadcrumb-item">栏目错误提示</li> | <li class="breadcrumb-item">栏目错误提示</li> | ||||
</ul> | </ul> | ||||
</nav> | </nav> | ||||
<table class="table"> | |||||
<table class="table mb-0"> | |||||
<tr> | <tr> | ||||
<td colspan="2"><?php echo $moremsg;?></td> | <td colspan="2"><?php echo $moremsg;?></td> | ||||
</tr> | </tr> | ||||