diff --git a/AdminPoll/Ajax/Redit.asp b/AdminPoll/Ajax/Redit.asp index 5133696..c4b4524 100644 --- a/AdminPoll/Ajax/Redit.asp +++ b/AdminPoll/Ajax/Redit.asp @@ -9,6 +9,8 @@ Dim r_position : r_position = Trim(Request("r_position")) Dim r_area : r_area = Request("r_area") Dim r_district : r_district = Request("r_district") Dim r_edu : r_edu = Trim(Request("r_edu")) +Dim new_r_phone : new_r_phone = Trim(Request("new_r_phone")) +Dim new_r_pass : new_r_pass = Trim(Request("new_r_pass")) Dim flag @@ -42,12 +44,18 @@ if gubun = "update" Then If r_area <> "NULL" Then SQL = SQL &" r_area = '"&r_area&"', "&VbcRlf End If - If r_district <> "" OR r_district <> "NULL" Then + If r_district <> "" AND r_district <> "NULL" Then SQL = SQL &" r_district = '"&r_district&"', "&VbcRlf End If If r_edu <> "NULL" Then SQL = SQL &" r_edu = '"&r_edu&"', "&VbcRlf End If + If new_r_phone <> "" AND new_r_phone <> "NULL" Then + SQL = SQL &" r_phone = dbo.base64_encode('"&new_r_phone&"'), "&VbcRlf + End If + If new_r_pass <> "" AND new_r_pass <> "NULL" Then + SQL = SQL &" r_pass = dbo.base64_encode('"&new_r_pass&"'), "&VbcRlf + End If SQL = SQL &" Udate = getDate() "&VbcRlf SQL = SQL &" where dbo.base64_decode(r_phone) = '"&r_phone&"'; "&VbcRlf flag = ExecuteSQL(SQL) diff --git a/AdminPoll/main/list.asp b/AdminPoll/main/list.asp index a9a6206..59918fe 100644 --- a/AdminPoll/main/list.asp +++ b/AdminPoll/main/list.asp @@ -66,6 +66,11 @@ @keyframes uploadLoadingSpin{ to { transform: rotate(360deg); } } + + .form-group input { + background-color:#fff!important; + color: #000!important; + }
@@ -111,6 +116,16 @@
+
+
+ + +
+
+
+ + +