|
@@ -7,8 +7,6 @@ |
|
|
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> |
|
|
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> |
|
|
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> |
|
|
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> |
|
|
<link rel="stylesheet" href="../static/web/css/admin.css"> |
|
|
<link rel="stylesheet" href="../static/web/css/admin.css"> |
|
|
<script src="../static/web/js/jquery.min.js"></script> |
|
|
|
|
|
<script src="../static/web/js/bootstrap.min.js"></script> |
|
|
|
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2"> |
|
|
<form name="form1" method="post" enctype="multipart/form-data" action="diy_list.php?action=edit&diyid=<?php echo $diy->diyid ?>&id=<?php echo $row['id'] ?>&do=2"> |
|
@@ -26,7 +24,7 @@ |
|
|
if ($row[$field]=='') continue; |
|
|
if ($row[$field]=='') continue; |
|
|
if (!in_array($fielddata[1],$allowhtml)) { |
|
|
if (!in_array($fielddata[1],$allowhtml)) { |
|
|
$row[$field] = dede_htmlspecialchars($row[$field]); |
|
|
$row[$field] = dede_htmlspecialchars($row[$field]); |
|
|
$row[$field] = "<input type='text' name='".$field."' value='".$row[$field]."'>"; |
|
|
|
|
|
|
|
|
$row[$field] = "<textarea name='".$field."' class='admin-textarea-xl'>$row[$field]</textarea>"; |
|
|
} |
|
|
} |
|
|
echo '<tr><td width="260">'.$fielddata[0].':'.'</td><td>'.$row[$field].'</td></tr>'; |
|
|
echo '<tr><td width="260">'.$fielddata[0].':'.'</td><td>'.$row[$field].'</td></tr>'; |
|
|
$formfields .= $formfields == ''? $field.','.$fielddata[1] : ';'.$field.','.$fielddata[1]; |
|
|
$formfields .= $formfields == ''? $field.','.$fielddata[1] : ';'.$field.','.$fielddata[1]; |
|
|