Autofix small errors
This commit is contained in:
+3
-3
@@ -100,7 +100,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
</TABLE>
|
||||
<script>
|
||||
function editcontact(login, comment) {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Редактировать контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Редактировать контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% align=center bgcolor=FFF6DD><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input type="hidden" name="friendedit" value="' + login + '">';
|
||||
s += '<input name="comment" value="' + comment + '" placeholder="Комментарий" style="width: 105px"> ';
|
||||
@@ -115,7 +115,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
}
|
||||
|
||||
function addcontact() {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><B>Добавить контакт</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><B>Добавить контакт</td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% bgcolor=FFF6DD align=center><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input name="friendadd" placeholder="Логин" style="width:105px"> ';
|
||||
s += '<input name="comment" placeholder="Комментарий" style="width:105px"></td></tr>';
|
||||
@@ -130,7 +130,7 @@ $contacts_list = db::c()->query('SELECT `friend`,`comment` FROM `friends` WHERE
|
||||
}
|
||||
|
||||
function removecontact() {
|
||||
var s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Удалить контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
let s = '<table width=250 bgcolor=CCC3AA><tr><td align=center><b>Удалить контакт</b></td><td width=20 align=right valign=top style="cursor: hand" onclick="closehint();"><b>x</td></tr><tr><td colspan=2>';
|
||||
s += '<table width=100% align=center bgcolor=FFF6DD><form action="contacts.php" method=POST>';
|
||||
s += '<tr><td><input name="friendremove" placeholder="Логин" style="width: 105px"> ';
|
||||
s += '<input type="submit" value="Удалить"></td></tr></form></table>';
|
||||
|
||||
Reference in New Issue
Block a user