<% countryy=request.form("country") datee=now() votee=request.form("voting") if countryy="" or datee="" or votee="" then %>
 
لرؤية نتائج استفتاء بلدك
 
 
اختر البلد   

 

الرئيسية

<% else 'addSQL= "insert into voting(add_date,country,vote) values('"&datee&"','"&countryy&"','"&votee&"') " ' ADO.execute(addSQL) selectSQL="select * from voting where country='"&countryy&"' " set rs=ADO.execute(selectSQL) if votee="agree" then agreee=rs("agree")+1 updateSQL= "update voting set add_date='"&datee&"' , country='"&countryy&"' , agree='"&agreee&"' where country='"&countryy&"' " ADO.execute(updateSQL) else disagreee=rs("disagree")+1 updateSQL= "update voting set add_date='"&datee&"' , country='"&countryy&"' , disagree='"&disagreee&"' where country='"&countryy&"' " ADO.execute(updateSQL) end if %>

<%response.write "thank you For Your Voting"%>

 

لرؤية نتائج استفتاء بلدك

 

لرؤية نتائج استفتاء العام

 <%=agree%><%=disagree%>

الرئيسية

<% end if%>