Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
zencart-clone
zencart-clone
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Browse Git: zencart_clone
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Developers (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[zencart-clone]
/
Unit4.pas
Diff of /Unit4.pas
Parent Directory
|
Revision Log
|
Patch
revision
11
by
yamat0jp
, Fri Jul 22 23:40:03 2016 UTC
revision
13
by
yamat0jp
, Tue Jul 26 09:17:38 2016 UTC
#
Line 97
begin
Line 97
begin
97
end;
end;
98
99
procedure TCartForm.IWButton1Click(Sender: TObject);
procedure TCartForm.IWButton1Click(Sender: TObject);
100
var
101
s: TUserForm;
102
begin
begin
103
if (UserSession.user_number <> 0) and
if (UserSession.user_number <> 0) and (IWGrid1.RowCount > 0) then
104
(DM.FDTable1.FieldByName('EMAIL').AsString = '') then
if DM.FDTable1.FieldByName('EMAIL').AsString = '' then
105
TUserForm.Create(WebApplication).Show;
begin
106
if IWGrid1.RowCount > 0 then
s := TUserForm.Create(WebApplication);
107
TPayForm.Create(WebApplication).Show;
s.pay := IWGrid1.RowCount>0;
108
s.Show;
109
end
110
else
111
TPayForm.Create(WebApplication).Show;
112
Release;
Release;
113
end;
end;
114
#
Line 121
begin
Line 127
begin
127
RecNo := ARow + 1;
RecNo := ARow + 1;
128
i := FieldByName('NUMBER').AsInteger;
i := FieldByName('NUMBER').AsInteger;
129
j := FieldByName('SERIAL').AsInteger;
j := FieldByName('SERIAL').AsInteger;
130
SQL.Clear;
Open('select * from cart_data');
SQL.Add('select * from cart_data');
Open;
131
if Locate('NUMBER;SERIAL', VarArrayOf([i, j]), []) = true then
if Locate('NUMBER;SERIAL', VarArrayOf([i, j]), []) = true then
132
Delete;
Delete;
133
end;
end;
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.11
changed lines
Added in v.13
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26