Edit: Revamp using Ace editor (ace.c9.io).
This commit is contained in:
@@ -57,7 +57,6 @@ if (count($_POST)>0) {
|
||||
$sql .= "clip_order = '$clip_order' ";
|
||||
$sql .= "where clip_uuid = '$clip_uuid' ";
|
||||
$count = $db->exec(check_sql($sql));
|
||||
//echo "affected rows: ".$count;
|
||||
|
||||
//redirect the browser
|
||||
require_once "header.php";
|
||||
@@ -89,9 +88,8 @@ else {
|
||||
|
||||
//show the content
|
||||
require_once "header.php";
|
||||
echo "<div align='left'>";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
||||
echo "<tr class='border'>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td align=\"left\">\n";
|
||||
|
||||
echo "<form method='post' action=''>";
|
||||
@@ -125,9 +123,10 @@ else {
|
||||
echo " </tr>";
|
||||
|
||||
echo " <tr>";
|
||||
echo " <td colspan='2' align='right'>";
|
||||
echo " <input type='hidden' name='id' value='$clip_uuid'>";
|
||||
echo " <input type='submit' name='submit' value='Update'>";
|
||||
echo " <td align='left'><input type='button' value='".$text['button-back']."' onclick='history.back()'></td>";
|
||||
echo " <td align='right'>";
|
||||
echo " <input type='hidden' name='id' value='$clip_uuid'>";
|
||||
echo " <input type='submit' name='submit' value='Update'>";
|
||||
echo " </td>";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
@@ -136,7 +135,6 @@ else {
|
||||
echo " </td>";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
|
||||
require_once "footer.php";
|
||||
?>
|
||||
Reference in New Issue
Block a user