Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VMSone
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Designerscripte
VMSone
Commits
38b762ee
Commit
38b762ee
authored
5 years ago
by
Joel Kuder
Browse files
Options
Downloads
Plain Diff
Merge branch 'patch-7' into 'dev-3.0'
Update paidmail.php See merge request
!10
parents
24246466
d49fbe5a
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!46
Release 3.0
,
!10
Update paidmail.php
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
adminforce/content/werbesystem/paidmail.php
+3
-1
3 additions, 1 deletion
adminforce/content/werbesystem/paidmail.php
with
3 additions
and
1 deletion
adminforce/content/werbesystem/paidmail.php
+
3
−
1
View file @
38b762ee
...
...
@@ -28,7 +28,9 @@ if ($_POST['versenden'] == 'Paidmail versenden!') {
$senden
=
sql
::
$db
->
query
(
"SELECT e.uid,e.emailadresse FROM
"
.
_VMS_
.
"_emaildaten e
LEFT JOIN "
.
_VMS_
.
"_kontodaten k ON k.uid=e.uid
WHERE (e.freigabe_fuer = '3' or e.freigabe_fuer = '2') AND k.status=1 ORDER BY RAND() LIMIT "
.
$_POST
[
'menge'
]
.
""
);
WHERE (e.freigabe_fuer = '3' or e.freigabe_fuer = '2') AND k.status=1 ORDER BY RAND() LIMIT :menge"
);
$senden
->
bindParam
(
':menge'
,
$_POST
[
'menge'
],
PDO
::
PARAM_INT
);
$senden
->
execute
();
while
(
$versendet
=
$senden
->
fetch
()
)
{
$sql
=
sql
::
$db
->
prepare
(
"INSERT INTO "
.
_VMS_
.
"_paidmails_empfaenger (uid,gueltig,tan,status,aufendhalt) VALUES (?,?,?,?,?)"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment